From ff6670f5569179dd5c0321268c7c12c2195baee8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 25 Mar 2022 17:48:41 +0000 Subject: [PATCH 1/2] feat: new Bytes and File types: POWERPOINT and EXCEL PiperOrigin-RevId: 437260831 Source-Link: https://github.com/googleapis/googleapis/commit/3c34a4075b81b318b68d1a100a13fd0f8db55c87 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a4035213e686b96afc3ed66d0d04328e4ffbd4d1 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTQwMzUyMTNlNjg2Yjk2YWZjM2VkNjZkMGQwNDMyOGU0ZmZiZDRkMSJ9 --- .../google/privacy/dlp/v2/DlpServiceGrpc.java | 4574 ------ .../google/cloud/dlp/v2/DlpServiceClient.java | 80 +- .../cloud/dlp/v2/DlpServiceSettings.java | 22 +- .../google/cloud/dlp/v2/gapic_metadata.json | 0 .../com/google/cloud/dlp/v2/package-info.java | 0 .../cloud/dlp/v2/stub/DlpServiceStub.java | 0 .../dlp/v2/stub/DlpServiceStubSettings.java | 57 +- .../stub/GrpcDlpServiceCallableFactory.java | 0 .../cloud/dlp/v2/stub/GrpcDlpServiceStub.java | 1 + .../cloud/dlp/v2/DlpServiceClientTest.java | 0 .../google/cloud/dlp/v2/MockDlpService.java | 0 .../cloud/dlp/v2/MockDlpServiceImpl.java | 0 .../google/privacy/dlp/v2/DlpServiceGrpc.java | 3496 ++++ .../com/google/privacy/dlp/v2/Action.java | 2608 ++- .../privacy/dlp/v2/ActionOrBuilder.java | 87 +- .../dlp/v2/ActivateJobTriggerRequest.java | 339 +- .../ActivateJobTriggerRequestOrBuilder.java | 31 + .../dlp/v2/AnalyzeDataSourceRiskDetails.java | 13603 +++++----------- ...AnalyzeDataSourceRiskDetailsOrBuilder.java | 210 +- .../google/privacy/dlp/v2/BigQueryField.java | 411 +- .../dlp/v2/BigQueryFieldOrBuilder.java | 34 +- .../google/privacy/dlp/v2/BigQueryKey.java | 356 +- .../privacy/dlp/v2/BigQueryKeyOrBuilder.java | 29 +- .../privacy/dlp/v2/BigQueryOptions.java | 958 +- .../dlp/v2/BigQueryOptionsOrBuilder.java | 88 +- .../google/privacy/dlp/v2/BigQueryTable.java | 456 +- .../dlp/v2/BigQueryTableOrBuilder.java | 45 +- .../google/privacy/dlp/v2/BoundingBox.java | 357 +- .../privacy/dlp/v2/BoundingBoxOrBuilder.java | 30 +- .../privacy/dlp/v2/BucketingConfig.java | 955 +- .../dlp/v2/BucketingConfigOrBuilder.java | 36 +- .../privacy/dlp/v2/ByteContentItem.java | 481 +- .../dlp/v2/ByteContentItemOrBuilder.java | 27 +- .../privacy/dlp/v2/CancelDlpJobRequest.java | 329 +- .../dlp/v2/CancelDlpJobRequestOrBuilder.java | 29 + .../privacy/dlp/v2/CharacterMaskConfig.java | 512 +- .../dlp/v2/CharacterMaskConfigOrBuilder.java | 51 +- .../google/privacy/dlp/v2/CharsToIgnore.java | 561 +- .../dlp/v2/CharsToIgnoreOrBuilder.java | 48 +- .../privacy/dlp/v2/CloudStorageFileSet.java | 301 +- .../dlp/v2/CloudStorageFileSetOrBuilder.java | 27 +- .../privacy/dlp/v2/CloudStorageOptions.java | 1094 +- .../dlp/v2/CloudStorageOptionsOrBuilder.java | 55 +- .../privacy/dlp/v2/CloudStoragePath.java | 301 +- .../dlp/v2/CloudStoragePathOrBuilder.java | 27 +- .../dlp/v2/CloudStorageRegexFileSet.java | 547 +- .../v2/CloudStorageRegexFileSetOrBuilder.java | 67 +- .../java/com/google/privacy/dlp/v2/Color.java | 325 +- .../google/privacy/dlp/v2/ColorOrBuilder.java | 27 +- .../com/google/privacy/dlp/v2/Container.java | 783 +- .../privacy/dlp/v2/ContainerOrBuilder.java | 80 +- .../google/privacy/dlp/v2/ContentItem.java | 581 +- .../privacy/dlp/v2/ContentItemOrBuilder.java | 46 +- .../privacy/dlp/v2/ContentLocation.java | 952 +- .../dlp/v2/ContentLocationOrBuilder.java | 76 +- .../google/privacy/dlp/v2/ContentOption.java | 84 +- .../v2/CreateDeidentifyTemplateRequest.java | 649 +- ...ateDeidentifyTemplateRequestOrBuilder.java | 73 +- .../privacy/dlp/v2/CreateDlpJobRequest.java | 739 +- .../dlp/v2/CreateDlpJobRequestOrBuilder.java | 69 +- .../dlp/v2/CreateInspectTemplateRequest.java | 646 +- ...CreateInspectTemplateRequestOrBuilder.java | 73 +- .../dlp/v2/CreateJobTriggerRequest.java | 646 +- .../v2/CreateJobTriggerRequestOrBuilder.java | 73 +- .../dlp/v2/CreateStoredInfoTypeRequest.java | 646 +- .../CreateStoredInfoTypeRequestOrBuilder.java | 73 +- .../dlp/v2/CryptoDeterministicConfig.java | 525 +- .../CryptoDeterministicConfigOrBuilder.java | 42 +- .../privacy/dlp/v2/CryptoHashConfig.java | 328 +- .../dlp/v2/CryptoHashConfigOrBuilder.java | 26 +- .../com/google/privacy/dlp/v2/CryptoKey.java | 582 +- .../privacy/dlp/v2/CryptoKeyOrBuilder.java | 42 +- .../dlp/v2/CryptoReplaceFfxFpeConfig.java | 965 +- .../CryptoReplaceFfxFpeConfigOrBuilder.java | 93 +- .../google/privacy/dlp/v2/CustomInfoType.java | 4759 ++---- .../dlp/v2/CustomInfoTypeOrBuilder.java | 85 +- .../google/privacy/dlp/v2/DatastoreKey.java | 308 +- .../privacy/dlp/v2/DatastoreKeyOrBuilder.java | 26 +- .../privacy/dlp/v2/DatastoreOptions.java | 427 +- .../dlp/v2/DatastoreOptionsOrBuilder.java | 34 +- .../privacy/dlp/v2/DateShiftConfig.java | 530 +- .../dlp/v2/DateShiftConfigOrBuilder.java | 40 +- .../com/google/privacy/dlp/v2/DateTime.java | 778 +- .../privacy/dlp/v2/DateTimeOrBuilder.java | 48 +- .../privacy/dlp/v2/DeidentifyConfig.java | 670 +- .../dlp/v2/DeidentifyConfigOrBuilder.java | 54 +- .../dlp/v2/DeidentifyContentRequest.java | 839 +- .../v2/DeidentifyContentRequestOrBuilder.java | 78 +- .../dlp/v2/DeidentifyContentResponse.java | 428 +- .../DeidentifyContentResponseOrBuilder.java | 34 +- .../privacy/dlp/v2/DeidentifyTemplate.java | 837 +- .../dlp/v2/DeidentifyTemplateName.java | 22 + .../dlp/v2/DeidentifyTemplateOrBuilder.java | 87 +- .../v2/DeleteDeidentifyTemplateRequest.java | 345 +- ...eteDeidentifyTemplateRequestOrBuilder.java | 33 + .../privacy/dlp/v2/DeleteDlpJobRequest.java | 329 +- .../dlp/v2/DeleteDlpJobRequestOrBuilder.java | 29 + .../dlp/v2/DeleteInspectTemplateRequest.java | 342 +- ...DeleteInspectTemplateRequestOrBuilder.java | 33 + .../dlp/v2/DeleteJobTriggerRequest.java | 339 +- .../v2/DeleteJobTriggerRequestOrBuilder.java | 31 + .../dlp/v2/DeleteStoredInfoTypeRequest.java | 342 +- .../DeleteStoredInfoTypeRequestOrBuilder.java | 33 + .../google/privacy/dlp/v2/DlpContentName.java | 0 .../com/google/privacy/dlp/v2/DlpJob.java | 1270 +- .../com/google/privacy/dlp/v2/DlpJobName.java | 0 .../privacy/dlp/v2/DlpJobOrBuilder.java | 107 +- .../com/google/privacy/dlp/v2/DlpJobType.java | 82 +- .../com/google/privacy/dlp/v2/DlpProto.java | 3089 ++++ .../com/google/privacy/dlp/v2/DlpStorage.java | 543 + .../privacy/dlp/v2/DocumentLocation.java | 262 +- .../dlp/v2/DocumentLocationOrBuilder.java | 20 + .../com/google/privacy/dlp/v2/EntityId.java | 308 +- .../privacy/dlp/v2/EntityIdOrBuilder.java | 26 +- .../java/com/google/privacy/dlp/v2/Error.java | 447 +- .../google/privacy/dlp/v2/ErrorOrBuilder.java | 45 +- .../privacy/dlp/v2/ExcludeInfoTypes.java | 370 +- .../dlp/v2/ExcludeInfoTypesOrBuilder.java | 37 +- .../google/privacy/dlp/v2/ExclusionRule.java | 647 +- .../dlp/v2/ExclusionRuleOrBuilder.java | 48 +- .../com/google/privacy/dlp/v2/FieldId.java | 294 +- .../privacy/dlp/v2/FieldIdOrBuilder.java | 29 + .../privacy/dlp/v2/FieldTransformation.java | 860 +- .../dlp/v2/FieldTransformationOrBuilder.java | 81 +- .../com/google/privacy/dlp/v2/FileType.java | 164 +- .../com/google/privacy/dlp/v2/Finding.java | 1500 +- .../privacy/dlp/v2/FindingOrBuilder.java | 150 +- .../privacy/dlp/v2/FinishDlpJobRequest.java | 329 +- .../dlp/v2/FinishDlpJobRequestOrBuilder.java | 29 + .../dlp/v2/FixedSizeBucketingConfig.java | 539 +- .../v2/FixedSizeBucketingConfigOrBuilder.java | 55 +- .../dlp/v2/GetDeidentifyTemplateRequest.java | 342 +- ...GetDeidentifyTemplateRequestOrBuilder.java | 33 + .../privacy/dlp/v2/GetDlpJobRequest.java | 329 +- .../dlp/v2/GetDlpJobRequestOrBuilder.java | 29 + .../dlp/v2/GetInspectTemplateRequest.java | 339 +- .../GetInspectTemplateRequestOrBuilder.java | 33 + .../privacy/dlp/v2/GetJobTriggerRequest.java | 329 +- .../dlp/v2/GetJobTriggerRequestOrBuilder.java | 31 + .../dlp/v2/GetStoredInfoTypeRequest.java | 339 +- .../v2/GetStoredInfoTypeRequestOrBuilder.java | 33 + .../privacy/dlp/v2/HybridContentItem.java | 418 +- .../dlp/v2/HybridContentItemOrBuilder.java | 34 +- .../privacy/dlp/v2/HybridFindingDetails.java | 762 +- .../dlp/v2/HybridFindingDetailsOrBuilder.java | 72 +- .../dlp/v2/HybridInspectDlpJobRequest.java | 437 +- .../HybridInspectDlpJobRequestOrBuilder.java | 43 +- .../v2/HybridInspectJobTriggerRequest.java | 443 +- ...bridInspectJobTriggerRequestOrBuilder.java | 43 +- .../privacy/dlp/v2/HybridInspectResponse.java | 228 +- .../v2/HybridInspectResponseOrBuilder.java | 9 + .../dlp/v2/HybridInspectStatistics.java | 346 +- .../v2/HybridInspectStatisticsOrBuilder.java | 27 +- .../google/privacy/dlp/v2/HybridOptions.java | 780 +- .../dlp/v2/HybridOptionsOrBuilder.java | 85 +- .../google/privacy/dlp/v2/ImageLocation.java | 366 +- .../dlp/v2/ImageLocationOrBuilder.java | 36 +- .../com/google/privacy/dlp/v2/InfoType.java | 373 +- .../privacy/dlp/v2/InfoTypeDescription.java | 591 +- .../dlp/v2/InfoTypeDescriptionOrBuilder.java | 63 +- .../privacy/dlp/v2/InfoTypeOrBuilder.java | 36 +- .../google/privacy/dlp/v2/InfoTypeStats.java | 355 +- .../dlp/v2/InfoTypeStatsOrBuilder.java | 29 +- .../privacy/dlp/v2/InfoTypeSupportedBy.java | 77 +- .../dlp/v2/InfoTypeTransformations.java | 1189 +- .../v2/InfoTypeTransformationsOrBuilder.java | 58 + .../google/privacy/dlp/v2/InspectConfig.java | 2135 +-- .../dlp/v2/InspectConfigOrBuilder.java | 131 +- .../privacy/dlp/v2/InspectContentRequest.java | 653 +- .../v2/InspectContentRequestOrBuilder.java | 61 +- .../dlp/v2/InspectContentResponse.java | 331 +- .../v2/InspectContentResponseOrBuilder.java | 26 +- .../dlp/v2/InspectDataSourceDetails.java | 1540 +- .../v2/InspectDataSourceDetailsOrBuilder.java | 46 +- .../privacy/dlp/v2/InspectJobConfig.java | 652 +- .../dlp/v2/InspectJobConfigOrBuilder.java | 62 +- .../google/privacy/dlp/v2/InspectResult.java | 403 +- .../dlp/v2/InspectResultOrBuilder.java | 40 +- .../privacy/dlp/v2/InspectTemplate.java | 837 +- .../privacy/dlp/v2/InspectTemplateName.java | 22 + .../dlp/v2/InspectTemplateOrBuilder.java | 87 +- .../google/privacy/dlp/v2/InspectionRule.java | 548 +- .../dlp/v2/InspectionRuleOrBuilder.java | 37 +- .../privacy/dlp/v2/InspectionRuleSet.java | 518 +- .../dlp/v2/InspectionRuleSetOrBuilder.java | 55 +- .../com/google/privacy/dlp/v2/JobTrigger.java | 2055 +-- .../google/privacy/dlp/v2/JobTriggerName.java | 0 .../privacy/dlp/v2/JobTriggerOrBuilder.java | 178 +- .../java/com/google/privacy/dlp/v2/Key.java | 959 +- .../google/privacy/dlp/v2/KeyOrBuilder.java | 44 +- .../google/privacy/dlp/v2/KindExpression.java | 298 +- .../dlp/v2/KindExpressionOrBuilder.java | 29 + .../privacy/dlp/v2/KmsWrappedCryptoKey.java | 337 +- .../dlp/v2/KmsWrappedCryptoKeyOrBuilder.java | 30 +- .../dlp/v2/LargeCustomDictionaryConfig.java | 593 +- .../LargeCustomDictionaryConfigOrBuilder.java | 42 +- .../dlp/v2/LargeCustomDictionaryStats.java | 272 +- .../LargeCustomDictionaryStatsOrBuilder.java | 19 + .../com/google/privacy/dlp/v2/Likelihood.java | 111 +- .../v2/ListDeidentifyTemplatesRequest.java | 618 +- ...stDeidentifyTemplatesRequestOrBuilder.java | 65 +- .../v2/ListDeidentifyTemplatesResponse.java | 449 +- ...tDeidentifyTemplatesResponseOrBuilder.java | 45 +- .../privacy/dlp/v2/ListDlpJobsRequest.java | 735 +- .../dlp/v2/ListDlpJobsRequestOrBuilder.java | 80 +- .../privacy/dlp/v2/ListDlpJobsResponse.java | 454 +- .../dlp/v2/ListDlpJobsResponseOrBuilder.java | 46 +- .../privacy/dlp/v2/ListInfoTypesRequest.java | 540 +- .../dlp/v2/ListInfoTypesRequestOrBuilder.java | 54 +- .../privacy/dlp/v2/ListInfoTypesResponse.java | 375 +- .../v2/ListInfoTypesResponseOrBuilder.java | 36 +- .../dlp/v2/ListInspectTemplatesRequest.java | 615 +- .../ListInspectTemplatesRequestOrBuilder.java | 65 +- .../dlp/v2/ListInspectTemplatesResponse.java | 453 +- ...ListInspectTemplatesResponseOrBuilder.java | 45 +- .../dlp/v2/ListJobTriggersRequest.java | 744 +- .../v2/ListJobTriggersRequestOrBuilder.java | 80 +- .../dlp/v2/ListJobTriggersResponse.java | 460 +- .../v2/ListJobTriggersResponseOrBuilder.java | 45 +- .../dlp/v2/ListStoredInfoTypesRequest.java | 612 +- .../ListStoredInfoTypesRequestOrBuilder.java | 65 +- .../dlp/v2/ListStoredInfoTypesResponse.java | 456 +- .../ListStoredInfoTypesResponseOrBuilder.java | 45 +- .../com/google/privacy/dlp/v2/Location.java | 653 +- .../google/privacy/dlp/v2/LocationName.java | 0 .../privacy/dlp/v2/LocationOrBuilder.java | 60 +- .../com/google/privacy/dlp/v2/Manual.java | 215 +- .../privacy/dlp/v2/ManualOrBuilder.java | 9 + .../google/privacy/dlp/v2/MatchingType.java | 89 +- .../privacy/dlp/v2/MetadataLocation.java | 420 +- .../dlp/v2/MetadataLocationOrBuilder.java | 32 +- .../google/privacy/dlp/v2/MetadataType.java | 75 +- .../dlp/v2/OrganizationLocationName.java | 0 .../privacy/dlp/v2/OrganizationName.java | 0 .../privacy/dlp/v2/OutputStorageConfig.java | 533 +- .../dlp/v2/OutputStorageConfigOrBuilder.java | 32 +- .../google/privacy/dlp/v2/PartitionId.java | 376 +- .../privacy/dlp/v2/PartitionIdOrBuilder.java | 36 +- .../dlp/v2/PrimitiveTransformation.java | 1826 +-- .../v2/PrimitiveTransformationOrBuilder.java | 147 +- .../google/privacy/dlp/v2/PrivacyMetric.java | 7179 +++----- .../dlp/v2/PrivacyMetricOrBuilder.java | 120 +- .../google/privacy/dlp/v2/ProjectName.java | 0 .../com/google/privacy/dlp/v2/QuasiId.java | 701 +- .../privacy/dlp/v2/QuasiIdOrBuilder.java | 63 +- .../com/google/privacy/dlp/v2/QuoteInfo.java | 364 +- .../privacy/dlp/v2/QuoteInfoOrBuilder.java | 26 +- .../java/com/google/privacy/dlp/v2/Range.java | 286 +- .../google/privacy/dlp/v2/RangeOrBuilder.java | 29 + .../privacy/dlp/v2/RecordCondition.java | 1826 +-- .../dlp/v2/RecordConditionOrBuilder.java | 26 +- .../com/google/privacy/dlp/v2/RecordKey.java | 607 +- .../privacy/dlp/v2/RecordKeyOrBuilder.java | 48 +- .../google/privacy/dlp/v2/RecordLocation.java | 513 +- .../dlp/v2/RecordLocationOrBuilder.java | 42 +- .../privacy/dlp/v2/RecordSuppression.java | 328 +- .../dlp/v2/RecordSuppressionOrBuilder.java | 26 +- .../privacy/dlp/v2/RecordTransformations.java | 489 +- .../v2/RecordTransformationsOrBuilder.java | 51 +- .../google/privacy/dlp/v2/RedactConfig.java | 218 +- .../privacy/dlp/v2/RedactConfigOrBuilder.java | 9 + .../privacy/dlp/v2/RedactImageRequest.java | 1480 +- .../dlp/v2/RedactImageRequestOrBuilder.java | 97 +- .../privacy/dlp/v2/RedactImageResponse.java | 435 +- .../dlp/v2/RedactImageResponseOrBuilder.java | 38 +- .../dlp/v2/ReidentifyContentRequest.java | 867 +- .../v2/ReidentifyContentRequestOrBuilder.java | 86 +- .../dlp/v2/ReidentifyContentResponse.java | 428 +- .../ReidentifyContentResponseOrBuilder.java | 34 +- .../privacy/dlp/v2/RelationalOperator.java | 115 +- .../dlp/v2/ReplaceDictionaryConfig.java | 398 +- .../v2/ReplaceDictionaryConfigOrBuilder.java | 26 +- .../privacy/dlp/v2/ReplaceValueConfig.java | 315 +- .../dlp/v2/ReplaceValueConfigOrBuilder.java | 26 +- .../dlp/v2/ReplaceWithInfoTypeConfig.java | 235 +- .../ReplaceWithInfoTypeConfigOrBuilder.java | 9 + .../privacy/dlp/v2/RiskAnalysisJobConfig.java | 579 +- .../v2/RiskAnalysisJobConfigOrBuilder.java | 53 +- .../com/google/privacy/dlp/v2/Schedule.java | 363 +- .../privacy/dlp/v2/ScheduleOrBuilder.java | 26 +- .../privacy/dlp/v2/StatisticalTable.java | 1221 +- .../dlp/v2/StatisticalTableOrBuilder.java | 90 +- .../google/privacy/dlp/v2/StorageConfig.java | 1396 +- .../dlp/v2/StorageConfigOrBuilder.java | 56 +- .../privacy/dlp/v2/StorageMetadataLabel.java | 287 +- .../dlp/v2/StorageMetadataLabelOrBuilder.java | 21 + .../google/privacy/dlp/v2/StoredInfoType.java | 527 +- .../privacy/dlp/v2/StoredInfoTypeConfig.java | 762 +- .../dlp/v2/StoredInfoTypeConfigOrBuilder.java | 63 +- .../privacy/dlp/v2/StoredInfoTypeName.java | 22 + .../dlp/v2/StoredInfoTypeOrBuilder.java | 53 +- .../privacy/dlp/v2/StoredInfoTypeState.java | 91 +- .../privacy/dlp/v2/StoredInfoTypeStats.java | 386 +- .../dlp/v2/StoredInfoTypeStatsOrBuilder.java | 26 +- .../privacy/dlp/v2/StoredInfoTypeVersion.java | 739 +- .../v2/StoredInfoTypeVersionOrBuilder.java | 67 +- .../com/google/privacy/dlp/v2/StoredType.java | 388 +- .../privacy/dlp/v2/StoredTypeOrBuilder.java | 35 +- .../java/com/google/privacy/dlp/v2/Table.java | 879 +- .../google/privacy/dlp/v2/TableLocation.java | 259 +- .../dlp/v2/TableLocationOrBuilder.java | 21 +- .../google/privacy/dlp/v2/TableOptions.java | 362 +- .../privacy/dlp/v2/TableOptionsOrBuilder.java | 36 +- .../google/privacy/dlp/v2/TableOrBuilder.java | 56 +- .../google/privacy/dlp/v2/TimePartConfig.java | 377 +- .../dlp/v2/TimePartConfigOrBuilder.java | 24 +- .../dlp/v2/TransformationErrorHandling.java | 1209 +- .../TransformationErrorHandlingOrBuilder.java | 52 +- .../dlp/v2/TransformationOverview.java | 499 +- .../v2/TransformationOverviewOrBuilder.java | 51 +- .../privacy/dlp/v2/TransformationSummary.java | 1467 +- .../v2/TransformationSummaryOrBuilder.java | 83 +- .../privacy/dlp/v2/TransientCryptoKey.java | 301 +- .../dlp/v2/TransientCryptoKeyOrBuilder.java | 27 +- .../privacy/dlp/v2/UnwrappedCryptoKey.java | 258 +- .../dlp/v2/UnwrappedCryptoKeyOrBuilder.java | 19 + .../v2/UpdateDeidentifyTemplateRequest.java | 537 +- ...ateDeidentifyTemplateRequestOrBuilder.java | 51 +- .../dlp/v2/UpdateInspectTemplateRequest.java | 534 +- ...UpdateInspectTemplateRequestOrBuilder.java | 51 +- .../dlp/v2/UpdateJobTriggerRequest.java | 534 +- .../v2/UpdateJobTriggerRequestOrBuilder.java | 51 +- .../dlp/v2/UpdateStoredInfoTypeRequest.java | 534 +- .../UpdateStoredInfoTypeRequestOrBuilder.java | 51 +- .../java/com/google/privacy/dlp/v2/Value.java | 908 +- .../google/privacy/dlp/v2/ValueFrequency.java | 347 +- .../dlp/v2/ValueFrequencyOrBuilder.java | 29 +- .../google/privacy/dlp/v2/ValueOrBuilder.java | 81 +- .../proto/google/privacy/dlp/v2/dlp.proto | 46 +- .../proto/google/privacy/dlp/v2/storage.proto | 154 +- .../ActivateJobTriggerRequestOrBuilder.java | 56 - .../dlp/v2/CancelDlpJobRequestOrBuilder.java | 54 - ...eteDeidentifyTemplateRequestOrBuilder.java | 58 - .../dlp/v2/DeleteDlpJobRequestOrBuilder.java | 54 - ...DeleteInspectTemplateRequestOrBuilder.java | 58 - .../v2/DeleteJobTriggerRequestOrBuilder.java | 56 - .../DeleteStoredInfoTypeRequestOrBuilder.java | 58 - .../com/google/privacy/dlp/v2/DlpProto.java | 3448 ---- .../com/google/privacy/dlp/v2/DlpStorage.java | 625 - .../dlp/v2/DocumentLocationOrBuilder.java | 39 - .../privacy/dlp/v2/FieldIdOrBuilder.java | 50 - .../dlp/v2/FinishDlpJobRequestOrBuilder.java | 54 - ...GetDeidentifyTemplateRequestOrBuilder.java | 58 - .../dlp/v2/GetDlpJobRequestOrBuilder.java | 54 - .../GetInspectTemplateRequestOrBuilder.java | 58 - .../dlp/v2/GetJobTriggerRequestOrBuilder.java | 56 - .../v2/GetStoredInfoTypeRequestOrBuilder.java | 58 - .../v2/HybridInspectResponseOrBuilder.java | 24 - .../v2/InfoTypeTransformationsOrBuilder.java | 97 - .../dlp/v2/KindExpressionOrBuilder.java | 50 - .../LargeCustomDictionaryStatsOrBuilder.java | 38 - .../privacy/dlp/v2/ManualOrBuilder.java | 24 - .../google/privacy/dlp/v2/RangeOrBuilder.java | 51 - .../privacy/dlp/v2/RedactConfigOrBuilder.java | 24 - .../ReplaceWithInfoTypeConfigOrBuilder.java | 24 - .../dlp/v2/StorageMetadataLabelOrBuilder.java | 38 - .../dlp/v2/UnwrappedCryptoKeyOrBuilder.java | 38 - 357 files changed, 51345 insertions(+), 88044 deletions(-) delete mode 100644 grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java (99%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java (97%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/package-info.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java (97%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java (99%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java (100%) create mode 100644 owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Action.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java (62%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java (53%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java (86%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java (61%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java (57%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java (59%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java (80%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java (81%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java (50%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java (87%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java (50%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java (77%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Color.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java (54%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Container.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java (80%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentItem.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java (86%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentOption.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java (83%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java (92%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java (57%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java (87%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java (90%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java (56%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java (81%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateTime.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java (86%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java (96%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJob.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java (83%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java (67%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/EntityId.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java (59%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Error.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java (80%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java (81%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java (80%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FieldId.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FileType.java (77%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Finding.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java (85%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java (86%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java (57%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java (66%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java (57%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java (67%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java (63%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java (83%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoType.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java (61%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java (84%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java (83%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java (55%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java (77%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectResult.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java (96%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Key.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java (85%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KindExpression.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java (58%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java (81%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java (67%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Likelihood.java (66%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java (84%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java (63%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java (64%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java (84%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Location.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LocationName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java (83%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Manual.java (67%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MatchingType.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MetadataType.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java (87%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PartitionId.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java (56%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java (82%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ProjectName.java (100%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuasiId.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java (81%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java (59%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Range.java (69%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java (58%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordKey.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java (64%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java (67%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java (85%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java (56%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Schedule.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java (74%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java (54%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java (80%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java (96%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java (73%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java (79%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java (88%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredType.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Table.java (76%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableLocation.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java (54%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableOptions.java (78%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java (54%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java (61%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java (56%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java (71%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java (62%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java (75%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java (87%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java (69%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java (68%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java (65%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java (69%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Value.java (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java (70%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java (60%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java (80%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/proto/google/privacy/dlp/v2/dlp.proto (99%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/proto/google/privacy/dlp/v2/storage.proto (97%) delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java diff --git a/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java b/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java deleted file mode 100644 index 6f4b5922..00000000 --- a/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java +++ /dev/null @@ -1,4574 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.privacy.dlp.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
- * to detect the presence of Personally Identifiable Information (PII) and other
- * privacy-sensitive data in user-supplied, unstructured data streams, like text
- * blocks or images.
- * The service also includes methods for sensitive data redaction and
- * scheduling of data scans on Google Cloud Platform based data sets.
- * To learn more about concepts and find how-to guides see
- * https://cloud.google.com/dlp/docs/.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/privacy/dlp/v2/dlp.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DlpServiceGrpc { - - private DlpServiceGrpc() {} - - public static final String SERVICE_NAME = "google.privacy.dlp.v2.DlpService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.InspectContentRequest, - com.google.privacy.dlp.v2.InspectContentResponse> - getInspectContentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InspectContent", - requestType = com.google.privacy.dlp.v2.InspectContentRequest.class, - responseType = com.google.privacy.dlp.v2.InspectContentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.InspectContentRequest, - com.google.privacy.dlp.v2.InspectContentResponse> - getInspectContentMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.InspectContentRequest, - com.google.privacy.dlp.v2.InspectContentResponse> - getInspectContentMethod; - if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { - DlpServiceGrpc.getInspectContentMethod = - getInspectContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InspectContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectContentResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("InspectContent")) - .build(); - } - } - } - return getInspectContentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.RedactImageRequest, - com.google.privacy.dlp.v2.RedactImageResponse> - getRedactImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RedactImage", - requestType = com.google.privacy.dlp.v2.RedactImageRequest.class, - responseType = com.google.privacy.dlp.v2.RedactImageResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.RedactImageRequest, - com.google.privacy.dlp.v2.RedactImageResponse> - getRedactImageMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.RedactImageRequest, - com.google.privacy.dlp.v2.RedactImageResponse> - getRedactImageMethod; - if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { - DlpServiceGrpc.getRedactImageMethod = - getRedactImageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RedactImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.RedactImageRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.RedactImageResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("RedactImage")) - .build(); - } - } - } - return getRedactImageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeidentifyContentRequest, - com.google.privacy.dlp.v2.DeidentifyContentResponse> - getDeidentifyContentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeidentifyContent", - requestType = com.google.privacy.dlp.v2.DeidentifyContentRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyContentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeidentifyContentRequest, - com.google.privacy.dlp.v2.DeidentifyContentResponse> - getDeidentifyContentMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeidentifyContentRequest, - com.google.privacy.dlp.v2.DeidentifyContentResponse> - getDeidentifyContentMethod; - if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { - DlpServiceGrpc.getDeidentifyContentMethod = - getDeidentifyContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeidentifyContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyContentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyContentResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("DeidentifyContent")) - .build(); - } - } - } - return getDeidentifyContentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ReidentifyContentRequest, - com.google.privacy.dlp.v2.ReidentifyContentResponse> - getReidentifyContentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReidentifyContent", - requestType = com.google.privacy.dlp.v2.ReidentifyContentRequest.class, - responseType = com.google.privacy.dlp.v2.ReidentifyContentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ReidentifyContentRequest, - com.google.privacy.dlp.v2.ReidentifyContentResponse> - getReidentifyContentMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ReidentifyContentRequest, - com.google.privacy.dlp.v2.ReidentifyContentResponse> - getReidentifyContentMethod; - if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { - DlpServiceGrpc.getReidentifyContentMethod = - getReidentifyContentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReidentifyContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ReidentifyContentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ReidentifyContentResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("ReidentifyContent")) - .build(); - } - } - } - return getReidentifyContentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListInfoTypesRequest, - com.google.privacy.dlp.v2.ListInfoTypesResponse> - getListInfoTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInfoTypes", - requestType = com.google.privacy.dlp.v2.ListInfoTypesRequest.class, - responseType = com.google.privacy.dlp.v2.ListInfoTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListInfoTypesRequest, - com.google.privacy.dlp.v2.ListInfoTypesResponse> - getListInfoTypesMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListInfoTypesRequest, - com.google.privacy.dlp.v2.ListInfoTypesResponse> - getListInfoTypesMethod; - if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { - DlpServiceGrpc.getListInfoTypesMethod = - getListInfoTypesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInfoTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInfoTypesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListInfoTypes")) - .build(); - } - } - } - return getListInfoTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getCreateInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInspectTemplate", - requestType = com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.InspectTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getCreateInspectTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getCreateInspectTemplateMethod; - if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) - == null) { - DlpServiceGrpc.getCreateInspectTemplateMethod = - getCreateInspectTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("CreateInspectTemplate")) - .build(); - } - } - } - return getCreateInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getUpdateInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInspectTemplate", - requestType = com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.InspectTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getUpdateInspectTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getUpdateInspectTemplateMethod; - if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) - == null) { - DlpServiceGrpc.getUpdateInspectTemplateMethod = - getUpdateInspectTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("UpdateInspectTemplate")) - .build(); - } - } - } - return getUpdateInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getGetInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInspectTemplate", - requestType = com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.InspectTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getGetInspectTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate> - getGetInspectTemplateMethod; - if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { - DlpServiceGrpc.getGetInspectTemplateMethod = - getGetInspectTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetInspectTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("GetInspectTemplate")) - .build(); - } - } - } - return getGetInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListInspectTemplatesRequest, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse> - getListInspectTemplatesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInspectTemplates", - requestType = com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, - responseType = com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListInspectTemplatesRequest, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse> - getListInspectTemplatesMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListInspectTemplatesRequest, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse> - getListInspectTemplatesMethod; - if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) - == null) { - DlpServiceGrpc.getListInspectTemplatesMethod = - getListInspectTemplatesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListInspectTemplates")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("ListInspectTemplates")) - .build(); - } - } - } - return getListInspectTemplatesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, com.google.protobuf.Empty> - getDeleteInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInspectTemplate", - requestType = com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, com.google.protobuf.Empty> - getDeleteInspectTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, com.google.protobuf.Empty> - getDeleteInspectTemplateMethod; - if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) - == null) { - DlpServiceGrpc.getDeleteInspectTemplateMethod = - getDeleteInspectTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("DeleteInspectTemplate")) - .build(); - } - } - } - return getDeleteInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getCreateDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getCreateDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getCreateDeidentifyTemplateMethod; - if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) - == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) - == null) { - DlpServiceGrpc.getCreateDeidentifyTemplateMethod = - getCreateDeidentifyTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("CreateDeidentifyTemplate")) - .build(); - } - } - } - return getCreateDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getUpdateDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getUpdateDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getUpdateDeidentifyTemplateMethod; - if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) - == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) - == null) { - DlpServiceGrpc.getUpdateDeidentifyTemplateMethod = - getUpdateDeidentifyTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("UpdateDeidentifyTemplate")) - .build(); - } - } - } - return getUpdateDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getGetDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getGetDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate> - getGetDeidentifyTemplateMethod; - if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) - == null) { - DlpServiceGrpc.getGetDeidentifyTemplateMethod = - getGetDeidentifyTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("GetDeidentifyTemplate")) - .build(); - } - } - } - return getGetDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> - getListDeidentifyTemplatesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDeidentifyTemplates", - requestType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, - responseType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> - getListDeidentifyTemplatesMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> - getListDeidentifyTemplatesMethod; - if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) - == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) - == null) { - DlpServiceGrpc.getListDeidentifyTemplatesMethod = - getListDeidentifyTemplatesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListDeidentifyTemplates")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("ListDeidentifyTemplates")) - .build(); - } - } - } - return getListDeidentifyTemplatesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, com.google.protobuf.Empty> - getDeleteDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, com.google.protobuf.Empty> - getDeleteDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, com.google.protobuf.Empty> - getDeleteDeidentifyTemplateMethod; - if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) - == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) - == null) { - DlpServiceGrpc.getDeleteDeidentifyTemplateMethod = - getDeleteDeidentifyTemplateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("DeleteDeidentifyTemplate")) - .build(); - } - } - } - return getDeleteDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getCreateJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJobTrigger", - requestType = com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.JobTrigger.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getCreateJobTriggerMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getCreateJobTriggerMethod; - if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { - DlpServiceGrpc.getCreateJobTriggerMethod = - getCreateJobTriggerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateJobTriggerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("CreateJobTrigger")) - .build(); - } - } - } - return getCreateJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getUpdateJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJobTrigger", - requestType = com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.JobTrigger.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getUpdateJobTriggerMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getUpdateJobTriggerMethod; - if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { - DlpServiceGrpc.getUpdateJobTriggerMethod = - getUpdateJobTriggerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("UpdateJobTrigger")) - .build(); - } - } - } - return getUpdateJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, - com.google.privacy.dlp.v2.HybridInspectResponse> - getHybridInspectJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "HybridInspectJobTrigger", - requestType = com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, - com.google.privacy.dlp.v2.HybridInspectResponse> - getHybridInspectJobTriggerMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, - com.google.privacy.dlp.v2.HybridInspectResponse> - getHybridInspectJobTriggerMethod; - if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) - == null) { - synchronized (DlpServiceGrpc.class) { - if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) - == null) { - DlpServiceGrpc.getHybridInspectJobTriggerMethod = - getHybridInspectJobTriggerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "HybridInspectJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("HybridInspectJobTrigger")) - .build(); - } - } - } - return getHybridInspectJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getGetJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJobTrigger", - requestType = com.google.privacy.dlp.v2.GetJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.JobTrigger.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getGetJobTriggerMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> - getGetJobTriggerMethod; - if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { - DlpServiceGrpc.getGetJobTriggerMethod = - getGetJobTriggerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetJobTrigger")) - .build(); - } - } - } - return getGetJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListJobTriggersRequest, - com.google.privacy.dlp.v2.ListJobTriggersResponse> - getListJobTriggersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobTriggers", - requestType = com.google.privacy.dlp.v2.ListJobTriggersRequest.class, - responseType = com.google.privacy.dlp.v2.ListJobTriggersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListJobTriggersRequest, - com.google.privacy.dlp.v2.ListJobTriggersResponse> - getListJobTriggersMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListJobTriggersRequest, - com.google.privacy.dlp.v2.ListJobTriggersResponse> - getListJobTriggersMethod; - if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { - DlpServiceGrpc.getListJobTriggersMethod = - getListJobTriggersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobTriggers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListJobTriggersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListJobTriggersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("ListJobTriggers")) - .build(); - } - } - } - return getListJobTriggersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty> - getDeleteJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJobTrigger", - requestType = com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty> - getDeleteJobTriggerMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty> - getDeleteJobTriggerMethod; - if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { - DlpServiceGrpc.getDeleteJobTriggerMethod = - getDeleteJobTriggerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("DeleteJobTrigger")) - .build(); - } - } - } - return getDeleteJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> - getActivateJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ActivateJobTrigger", - requestType = com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.DlpJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> - getActivateJobTriggerMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> - getActivateJobTriggerMethod; - if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { - DlpServiceGrpc.getActivateJobTriggerMethod = - getActivateJobTriggerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ActivateJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("ActivateJobTrigger")) - .build(); - } - } - } - return getActivateJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> - getCreateDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDlpJob", - requestType = com.google.privacy.dlp.v2.CreateDlpJobRequest.class, - responseType = com.google.privacy.dlp.v2.DlpJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> - getCreateDlpJobMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> - getCreateDlpJobMethod; - if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { - DlpServiceGrpc.getCreateDlpJobMethod = - getCreateDlpJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateDlpJob")) - .build(); - } - } - } - return getCreateDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListDlpJobsRequest, - com.google.privacy.dlp.v2.ListDlpJobsResponse> - getListDlpJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDlpJobs", - requestType = com.google.privacy.dlp.v2.ListDlpJobsRequest.class, - responseType = com.google.privacy.dlp.v2.ListDlpJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListDlpJobsRequest, - com.google.privacy.dlp.v2.ListDlpJobsResponse> - getListDlpJobsMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListDlpJobsRequest, - com.google.privacy.dlp.v2.ListDlpJobsResponse> - getListDlpJobsMethod; - if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { - DlpServiceGrpc.getListDlpJobsMethod = - getListDlpJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDlpJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDlpJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDlpJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListDlpJobs")) - .build(); - } - } - } - return getListDlpJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> - getGetDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDlpJob", - requestType = com.google.privacy.dlp.v2.GetDlpJobRequest.class, - responseType = com.google.privacy.dlp.v2.DlpJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> - getGetDlpJobMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> - getGetDlpJobMethod; - if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { - DlpServiceGrpc.getGetDlpJobMethod = - getGetDlpJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetDlpJob")) - .build(); - } - } - } - return getGetDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty> - getDeleteDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDlpJob", - requestType = com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty> - getDeleteDlpJobMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty> - getDeleteDlpJobMethod; - if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { - DlpServiceGrpc.getDeleteDlpJobMethod = - getDeleteDlpJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteDlpJob")) - .build(); - } - } - } - return getDeleteDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty> - getCancelDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelDlpJob", - requestType = com.google.privacy.dlp.v2.CancelDlpJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty> - getCancelDlpJobMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty> - getCancelDlpJobMethod; - if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { - DlpServiceGrpc.getCancelDlpJobMethod = - getCancelDlpJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CancelDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CancelDlpJob")) - .build(); - } - } - } - return getCancelDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getCreateStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateStoredInfoType", - requestType = com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, - responseType = com.google.privacy.dlp.v2.StoredInfoType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getCreateStoredInfoTypeMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getCreateStoredInfoTypeMethod; - if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) - == null) { - DlpServiceGrpc.getCreateStoredInfoTypeMethod = - getCreateStoredInfoTypeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("CreateStoredInfoType")) - .build(); - } - } - } - return getCreateStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getUpdateStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateStoredInfoType", - requestType = com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, - responseType = com.google.privacy.dlp.v2.StoredInfoType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getUpdateStoredInfoTypeMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getUpdateStoredInfoTypeMethod; - if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) - == null) { - DlpServiceGrpc.getUpdateStoredInfoTypeMethod = - getUpdateStoredInfoTypeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("UpdateStoredInfoType")) - .build(); - } - } - } - return getUpdateStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getGetStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetStoredInfoType", - requestType = com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, - responseType = com.google.privacy.dlp.v2.StoredInfoType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getGetStoredInfoTypeMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType> - getGetStoredInfoTypeMethod; - if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { - DlpServiceGrpc.getGetStoredInfoTypeMethod = - getGetStoredInfoTypeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("GetStoredInfoType")) - .build(); - } - } - } - return getGetStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> - getListStoredInfoTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListStoredInfoTypes", - requestType = com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, - responseType = com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> - getListStoredInfoTypesMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> - getListStoredInfoTypesMethod; - if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { - DlpServiceGrpc.getListStoredInfoTypesMethod = - getListStoredInfoTypesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListStoredInfoTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("ListStoredInfoTypes")) - .build(); - } - } - } - return getListStoredInfoTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, com.google.protobuf.Empty> - getDeleteStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteStoredInfoType", - requestType = com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, com.google.protobuf.Empty> - getDeleteStoredInfoTypeMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, com.google.protobuf.Empty> - getDeleteStoredInfoTypeMethod; - if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) - == null) { - DlpServiceGrpc.getDeleteStoredInfoTypeMethod = - getDeleteStoredInfoTypeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("DeleteStoredInfoType")) - .build(); - } - } - } - return getDeleteStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, - com.google.privacy.dlp.v2.HybridInspectResponse> - getHybridInspectDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "HybridInspectDlpJob", - requestType = com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, - responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, - com.google.privacy.dlp.v2.HybridInspectResponse> - getHybridInspectDlpJobMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, - com.google.privacy.dlp.v2.HybridInspectResponse> - getHybridInspectDlpJobMethod; - if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { - DlpServiceGrpc.getHybridInspectDlpJobMethod = - getHybridInspectDlpJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "HybridInspectDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DlpServiceMethodDescriptorSupplier("HybridInspectDlpJob")) - .build(); - } - } - } - return getHybridInspectDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty> - getFinishDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FinishDlpJob", - requestType = com.google.privacy.dlp.v2.FinishDlpJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty> - getFinishDlpJobMethod() { - io.grpc.MethodDescriptor< - com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty> - getFinishDlpJobMethod; - if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { - DlpServiceGrpc.getFinishDlpJobMethod = - getFinishDlpJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinishDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.FinishDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("FinishDlpJob")) - .build(); - } - } - } - return getFinishDlpJobMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DlpServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DlpServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceStub(channel, callOptions); - } - }; - return DlpServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DlpServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DlpServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceBlockingStub(channel, callOptions); - } - }; - return DlpServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DlpServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DlpServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceFutureStub(channel, callOptions); - } - }; - return DlpServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public abstract static class DlpServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public void inspectContent( - com.google.privacy.dlp.v2.InspectContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInspectContentMethod(), responseObserver); - } - - /** - * - * - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void redactImage( - com.google.privacy.dlp.v2.RedactImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRedactImageMethod(), responseObserver); - } - - /** - * - * - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void deidentifyContent( - com.google.privacy.dlp.v2.DeidentifyContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeidentifyContentMethod(), responseObserver); - } - - /** - * - * - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public void reidentifyContent( - com.google.privacy.dlp.v2.ReidentifyContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReidentifyContentMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public void listInfoTypes( - com.google.privacy.dlp.v2.ListInfoTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInfoTypesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void createInspectTemplate( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInspectTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void updateInspectTemplate( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInspectTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void getInspectTemplate( - com.google.privacy.dlp.v2.GetInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInspectTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void listInspectTemplates( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInspectTemplatesMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void deleteInspectTemplate( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInspectTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void createDeidentifyTemplate( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDeidentifyTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void updateDeidentifyTemplate( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDeidentifyTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void getDeidentifyTemplate( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDeidentifyTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void listDeidentifyTemplates( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDeidentifyTemplatesMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void deleteDeidentifyTemplate( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDeidentifyTemplateMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void createJobTrigger( - com.google.privacy.dlp.v2.CreateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateJobTriggerMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void updateJobTrigger( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateJobTriggerMethod(), responseObserver); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public void hybridInspectJobTrigger( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getHybridInspectJobTriggerMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void getJobTrigger( - com.google.privacy.dlp.v2.GetJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetJobTriggerMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void listJobTriggers( - com.google.privacy.dlp.v2.ListJobTriggersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListJobTriggersMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void deleteJobTrigger( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteJobTriggerMethod(), responseObserver); - } - - /** - * - * - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public void activateJobTrigger( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getActivateJobTriggerMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void createDlpJob( - com.google.privacy.dlp.v2.CreateDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDlpJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void listDlpJobs( - com.google.privacy.dlp.v2.ListDlpJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDlpJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void getDlpJob( - com.google.privacy.dlp.v2.GetDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDlpJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void deleteDlpJob( - com.google.privacy.dlp.v2.DeleteDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDlpJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void cancelDlpJob( - com.google.privacy.dlp.v2.CancelDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelDlpJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void createStoredInfoType( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateStoredInfoTypeMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void updateStoredInfoType( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateStoredInfoTypeMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void getStoredInfoType( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetStoredInfoTypeMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void listStoredInfoTypes( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListStoredInfoTypesMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void deleteStoredInfoType( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteStoredInfoTypeMethod(), responseObserver); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public void hybridInspectDlpJob( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getHybridInspectDlpJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public void finishDlpJob( - com.google.privacy.dlp.v2.FinishDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFinishDlpJobMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getInspectContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.InspectContentRequest, - com.google.privacy.dlp.v2.InspectContentResponse>( - this, METHODID_INSPECT_CONTENT))) - .addMethod( - getRedactImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.RedactImageRequest, - com.google.privacy.dlp.v2.RedactImageResponse>(this, METHODID_REDACT_IMAGE))) - .addMethod( - getDeidentifyContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeidentifyContentRequest, - com.google.privacy.dlp.v2.DeidentifyContentResponse>( - this, METHODID_DEIDENTIFY_CONTENT))) - .addMethod( - getReidentifyContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ReidentifyContentRequest, - com.google.privacy.dlp.v2.ReidentifyContentResponse>( - this, METHODID_REIDENTIFY_CONTENT))) - .addMethod( - getListInfoTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListInfoTypesRequest, - com.google.privacy.dlp.v2.ListInfoTypesResponse>( - this, METHODID_LIST_INFO_TYPES))) - .addMethod( - getCreateInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate>( - this, METHODID_CREATE_INSPECT_TEMPLATE))) - .addMethod( - getUpdateInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate>( - this, METHODID_UPDATE_INSPECT_TEMPLATE))) - .addMethod( - getGetInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate>( - this, METHODID_GET_INSPECT_TEMPLATE))) - .addMethod( - getListInspectTemplatesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListInspectTemplatesRequest, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse>( - this, METHODID_LIST_INSPECT_TEMPLATES))) - .addMethod( - getDeleteInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_INSPECT_TEMPLATE))) - .addMethod( - getCreateDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate>( - this, METHODID_CREATE_DEIDENTIFY_TEMPLATE))) - .addMethod( - getUpdateDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate>( - this, METHODID_UPDATE_DEIDENTIFY_TEMPLATE))) - .addMethod( - getGetDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate>( - this, METHODID_GET_DEIDENTIFY_TEMPLATE))) - .addMethod( - getListDeidentifyTemplatesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>( - this, METHODID_LIST_DEIDENTIFY_TEMPLATES))) - .addMethod( - getDeleteDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_DEIDENTIFY_TEMPLATE))) - .addMethod( - getCreateJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateJobTriggerRequest, - com.google.privacy.dlp.v2.JobTrigger>(this, METHODID_CREATE_JOB_TRIGGER))) - .addMethod( - getUpdateJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateJobTriggerRequest, - com.google.privacy.dlp.v2.JobTrigger>(this, METHODID_UPDATE_JOB_TRIGGER))) - .addMethod( - getHybridInspectJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, - com.google.privacy.dlp.v2.HybridInspectResponse>( - this, METHODID_HYBRID_INSPECT_JOB_TRIGGER))) - .addMethod( - getGetJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetJobTriggerRequest, - com.google.privacy.dlp.v2.JobTrigger>(this, METHODID_GET_JOB_TRIGGER))) - .addMethod( - getListJobTriggersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListJobTriggersRequest, - com.google.privacy.dlp.v2.ListJobTriggersResponse>( - this, METHODID_LIST_JOB_TRIGGERS))) - .addMethod( - getDeleteJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB_TRIGGER))) - .addMethod( - getActivateJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ActivateJobTriggerRequest, - com.google.privacy.dlp.v2.DlpJob>(this, METHODID_ACTIVATE_JOB_TRIGGER))) - .addMethod( - getCreateDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateDlpJobRequest, - com.google.privacy.dlp.v2.DlpJob>(this, METHODID_CREATE_DLP_JOB))) - .addMethod( - getListDlpJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListDlpJobsRequest, - com.google.privacy.dlp.v2.ListDlpJobsResponse>(this, METHODID_LIST_DLP_JOBS))) - .addMethod( - getGetDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob>( - this, METHODID_GET_DLP_JOB))) - .addMethod( - getDeleteDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_DLP_JOB))) - .addMethod( - getCancelDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty>( - this, METHODID_CANCEL_DLP_JOB))) - .addMethod( - getCreateStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType>( - this, METHODID_CREATE_STORED_INFO_TYPE))) - .addMethod( - getUpdateStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType>( - this, METHODID_UPDATE_STORED_INFO_TYPE))) - .addMethod( - getGetStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType>( - this, METHODID_GET_STORED_INFO_TYPE))) - .addMethod( - getListStoredInfoTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse>( - this, METHODID_LIST_STORED_INFO_TYPES))) - .addMethod( - getDeleteStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_STORED_INFO_TYPE))) - .addMethod( - getHybridInspectDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, - com.google.privacy.dlp.v2.HybridInspectResponse>( - this, METHODID_HYBRID_INSPECT_DLP_JOB))) - .addMethod( - getFinishDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty>( - this, METHODID_FINISH_DLP_JOB))) - .build(); - } - } - - /** - * - * - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static final class DlpServiceStub extends io.grpc.stub.AbstractAsyncStub { - private DlpServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DlpServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public void inspectContent( - com.google.privacy.dlp.v2.InspectContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInspectContentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void redactImage( - com.google.privacy.dlp.v2.RedactImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRedactImageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void deidentifyContent( - com.google.privacy.dlp.v2.DeidentifyContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public void reidentifyContent( - com.google.privacy.dlp.v2.ReidentifyContentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public void listInfoTypes( - com.google.privacy.dlp.v2.ListInfoTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void createInspectTemplate( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void updateInspectTemplate( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void getInspectTemplate( - com.google.privacy.dlp.v2.GetInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void listInspectTemplates( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void deleteInspectTemplate( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void createDeidentifyTemplate( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void updateDeidentifyTemplate( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void getDeidentifyTemplate( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void listDeidentifyTemplates( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void deleteDeidentifyTemplate( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void createJobTrigger( - com.google.privacy.dlp.v2.CreateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void updateJobTrigger( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public void hybridInspectJobTrigger( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void getJobTrigger( - com.google.privacy.dlp.v2.GetJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void listJobTriggers( - com.google.privacy.dlp.v2.ListJobTriggersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void deleteJobTrigger( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public void activateJobTrigger( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void createDlpJob( - com.google.privacy.dlp.v2.CreateDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void listDlpJobs( - com.google.privacy.dlp.v2.ListDlpJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void getDlpJob( - com.google.privacy.dlp.v2.GetDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void deleteDlpJob( - com.google.privacy.dlp.v2.DeleteDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void cancelDlpJob( - com.google.privacy.dlp.v2.CancelDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void createStoredInfoType( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void updateStoredInfoType( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void getStoredInfoType( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void listStoredInfoTypes( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void deleteStoredInfoType( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public void hybridInspectDlpJob( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public void finishDlpJob( - com.google.privacy.dlp.v2.FinishDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static final class DlpServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DlpServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DlpServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public com.google.privacy.dlp.v2.InspectContentResponse inspectContent( - com.google.privacy.dlp.v2.InspectContentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInspectContentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.privacy.dlp.v2.RedactImageResponse redactImage( - com.google.privacy.dlp.v2.RedactImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRedactImageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyContentResponse deidentifyContent( - com.google.privacy.dlp.v2.DeidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeidentifyContentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ReidentifyContentResponse reidentifyContent( - com.google.privacy.dlp.v2.ReidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReidentifyContentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListInfoTypesResponse listInfoTypes( - com.google.privacy.dlp.v2.ListInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInfoTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.InspectTemplate createInspectTemplate( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInspectTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.InspectTemplate updateInspectTemplate( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInspectTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate( - com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInspectTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListInspectTemplatesResponse listInspectTemplates( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInspectTemplatesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteInspectTemplate( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInspectTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyTemplate createDeidentifyTemplate( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyTemplate updateDeidentifyTemplate( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse listDeidentifyTemplates( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDeidentifyTemplatesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.protobuf.Empty deleteDeidentifyTemplate( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.JobTrigger createJobTrigger( - com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobTriggerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.JobTrigger updateJobTrigger( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobTriggerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectJobTrigger( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getHybridInspectJobTriggerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.JobTrigger getJobTrigger( - com.google.privacy.dlp.v2.GetJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobTriggerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListJobTriggersResponse listJobTriggers( - com.google.privacy.dlp.v2.ListJobTriggersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobTriggersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteJobTrigger( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobTriggerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public com.google.privacy.dlp.v2.DlpJob activateJobTrigger( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getActivateJobTriggerMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.privacy.dlp.v2.DlpJob createDlpJob( - com.google.privacy.dlp.v2.CreateDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDlpJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListDlpJobsResponse listDlpJobs( - com.google.privacy.dlp.v2.ListDlpJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDlpJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.DlpJob getDlpJob( - com.google.privacy.dlp.v2.GetDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDlpJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteDlpJob( - com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDlpJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.protobuf.Empty cancelDlpJob( - com.google.privacy.dlp.v2.CancelDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelDlpJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.StoredInfoType createStoredInfoType( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.StoredInfoType updateStoredInfoType( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoType( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse listStoredInfoTypes( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListStoredInfoTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteStoredInfoType( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getHybridInspectDlpJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public com.google.protobuf.Empty finishDlpJob( - com.google.privacy.dlp.v2.FinishDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFinishDlpJobMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static final class DlpServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DlpServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.InspectContentResponse> - inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInspectContentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.RedactImageResponse> - redactImage(com.google.privacy.dlp.v2.RedactImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRedactImageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.DeidentifyContentResponse> - deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ReidentifyContentResponse> - reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ListInfoTypesResponse> - listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.InspectTemplate> - createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.InspectTemplate> - updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.InspectTemplate> - getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ListInspectTemplatesResponse> - listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.DeidentifyTemplate> - createDeidentifyTemplate( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.DeidentifyTemplate> - updateDeidentifyTemplate( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.DeidentifyTemplate> - getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> - listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDeidentifyTemplate( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.HybridInspectResponse> - hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ListJobTriggersResponse> - listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ListDlpJobsResponse> - listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.StoredInfoType> - createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.StoredInfoType> - updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.StoredInfoType> - getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> - listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.privacy.dlp.v2.HybridInspectResponse> - hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_INSPECT_CONTENT = 0; - private static final int METHODID_REDACT_IMAGE = 1; - private static final int METHODID_DEIDENTIFY_CONTENT = 2; - private static final int METHODID_REIDENTIFY_CONTENT = 3; - private static final int METHODID_LIST_INFO_TYPES = 4; - private static final int METHODID_CREATE_INSPECT_TEMPLATE = 5; - private static final int METHODID_UPDATE_INSPECT_TEMPLATE = 6; - private static final int METHODID_GET_INSPECT_TEMPLATE = 7; - private static final int METHODID_LIST_INSPECT_TEMPLATES = 8; - private static final int METHODID_DELETE_INSPECT_TEMPLATE = 9; - private static final int METHODID_CREATE_DEIDENTIFY_TEMPLATE = 10; - private static final int METHODID_UPDATE_DEIDENTIFY_TEMPLATE = 11; - private static final int METHODID_GET_DEIDENTIFY_TEMPLATE = 12; - private static final int METHODID_LIST_DEIDENTIFY_TEMPLATES = 13; - private static final int METHODID_DELETE_DEIDENTIFY_TEMPLATE = 14; - private static final int METHODID_CREATE_JOB_TRIGGER = 15; - private static final int METHODID_UPDATE_JOB_TRIGGER = 16; - private static final int METHODID_HYBRID_INSPECT_JOB_TRIGGER = 17; - private static final int METHODID_GET_JOB_TRIGGER = 18; - private static final int METHODID_LIST_JOB_TRIGGERS = 19; - private static final int METHODID_DELETE_JOB_TRIGGER = 20; - private static final int METHODID_ACTIVATE_JOB_TRIGGER = 21; - private static final int METHODID_CREATE_DLP_JOB = 22; - private static final int METHODID_LIST_DLP_JOBS = 23; - private static final int METHODID_GET_DLP_JOB = 24; - private static final int METHODID_DELETE_DLP_JOB = 25; - private static final int METHODID_CANCEL_DLP_JOB = 26; - private static final int METHODID_CREATE_STORED_INFO_TYPE = 27; - private static final int METHODID_UPDATE_STORED_INFO_TYPE = 28; - private static final int METHODID_GET_STORED_INFO_TYPE = 29; - private static final int METHODID_LIST_STORED_INFO_TYPES = 30; - private static final int METHODID_DELETE_STORED_INFO_TYPE = 31; - private static final int METHODID_HYBRID_INSPECT_DLP_JOB = 32; - private static final int METHODID_FINISH_DLP_JOB = 33; - - 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 DlpServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DlpServiceImplBase 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_INSPECT_CONTENT: - serviceImpl.inspectContent( - (com.google.privacy.dlp.v2.InspectContentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_REDACT_IMAGE: - serviceImpl.redactImage( - (com.google.privacy.dlp.v2.RedactImageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DEIDENTIFY_CONTENT: - serviceImpl.deidentifyContent( - (com.google.privacy.dlp.v2.DeidentifyContentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_REIDENTIFY_CONTENT: - serviceImpl.reidentifyContent( - (com.google.privacy.dlp.v2.ReidentifyContentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_INFO_TYPES: - serviceImpl.listInfoTypes( - (com.google.privacy.dlp.v2.ListInfoTypesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_INSPECT_TEMPLATE: - serviceImpl.createInspectTemplate( - (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_INSPECT_TEMPLATE: - serviceImpl.updateInspectTemplate( - (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_INSPECT_TEMPLATE: - serviceImpl.getInspectTemplate( - (com.google.privacy.dlp.v2.GetInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_INSPECT_TEMPLATES: - serviceImpl.listInspectTemplates( - (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_INSPECT_TEMPLATE: - serviceImpl.deleteInspectTemplate( - (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DEIDENTIFY_TEMPLATE: - serviceImpl.createDeidentifyTemplate( - (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_DEIDENTIFY_TEMPLATE: - serviceImpl.updateDeidentifyTemplate( - (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DEIDENTIFY_TEMPLATE: - serviceImpl.getDeidentifyTemplate( - (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DEIDENTIFY_TEMPLATES: - serviceImpl.listDeidentifyTemplates( - (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>) - responseObserver); - break; - case METHODID_DELETE_DEIDENTIFY_TEMPLATE: - serviceImpl.deleteDeidentifyTemplate( - (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_JOB_TRIGGER: - serviceImpl.createJobTrigger( - (com.google.privacy.dlp.v2.CreateJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_JOB_TRIGGER: - serviceImpl.updateJobTrigger( - (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_HYBRID_INSPECT_JOB_TRIGGER: - serviceImpl.hybridInspectJobTrigger( - (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_JOB_TRIGGER: - serviceImpl.getJobTrigger( - (com.google.privacy.dlp.v2.GetJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOB_TRIGGERS: - serviceImpl.listJobTriggers( - (com.google.privacy.dlp.v2.ListJobTriggersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_JOB_TRIGGER: - serviceImpl.deleteJobTrigger( - (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ACTIVATE_JOB_TRIGGER: - serviceImpl.activateJobTrigger( - (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DLP_JOB: - serviceImpl.createDlpJob( - (com.google.privacy.dlp.v2.CreateDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DLP_JOBS: - serviceImpl.listDlpJobs( - (com.google.privacy.dlp.v2.ListDlpJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_DLP_JOB: - serviceImpl.getDlpJob( - (com.google.privacy.dlp.v2.GetDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DLP_JOB: - serviceImpl.deleteDlpJob( - (com.google.privacy.dlp.v2.DeleteDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_DLP_JOB: - serviceImpl.cancelDlpJob( - (com.google.privacy.dlp.v2.CancelDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_STORED_INFO_TYPE: - serviceImpl.createStoredInfoType( - (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_STORED_INFO_TYPE: - serviceImpl.updateStoredInfoType( - (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_STORED_INFO_TYPE: - serviceImpl.getStoredInfoType( - (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_STORED_INFO_TYPES: - serviceImpl.listStoredInfoTypes( - (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_STORED_INFO_TYPE: - serviceImpl.deleteStoredInfoType( - (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_HYBRID_INSPECT_DLP_JOB: - serviceImpl.hybridInspectDlpJob( - (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_FINISH_DLP_JOB: - serviceImpl.finishDlpJob( - (com.google.privacy.dlp.v2.FinishDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class DlpServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DlpServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DlpService"); - } - } - - private static final class DlpServiceFileDescriptorSupplier - extends DlpServiceBaseDescriptorSupplier { - DlpServiceFileDescriptorSupplier() {} - } - - private static final class DlpServiceMethodDescriptorSupplier - extends DlpServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DlpServiceMethodDescriptorSupplier(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 (DlpServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DlpServiceFileDescriptorSupplier()) - .addMethod(getInspectContentMethod()) - .addMethod(getRedactImageMethod()) - .addMethod(getDeidentifyContentMethod()) - .addMethod(getReidentifyContentMethod()) - .addMethod(getListInfoTypesMethod()) - .addMethod(getCreateInspectTemplateMethod()) - .addMethod(getUpdateInspectTemplateMethod()) - .addMethod(getGetInspectTemplateMethod()) - .addMethod(getListInspectTemplatesMethod()) - .addMethod(getDeleteInspectTemplateMethod()) - .addMethod(getCreateDeidentifyTemplateMethod()) - .addMethod(getUpdateDeidentifyTemplateMethod()) - .addMethod(getGetDeidentifyTemplateMethod()) - .addMethod(getListDeidentifyTemplatesMethod()) - .addMethod(getDeleteDeidentifyTemplateMethod()) - .addMethod(getCreateJobTriggerMethod()) - .addMethod(getUpdateJobTriggerMethod()) - .addMethod(getHybridInspectJobTriggerMethod()) - .addMethod(getGetJobTriggerMethod()) - .addMethod(getListJobTriggersMethod()) - .addMethod(getDeleteJobTriggerMethod()) - .addMethod(getActivateJobTriggerMethod()) - .addMethod(getCreateDlpJobMethod()) - .addMethod(getListDlpJobsMethod()) - .addMethod(getGetDlpJobMethod()) - .addMethod(getDeleteDlpJobMethod()) - .addMethod(getCancelDlpJobMethod()) - .addMethod(getCreateStoredInfoTypeMethod()) - .addMethod(getUpdateStoredInfoTypeMethod()) - .addMethod(getGetStoredInfoTypeMethod()) - .addMethod(getListStoredInfoTypesMethod()) - .addMethod(getDeleteStoredInfoTypeMethod()) - .addMethod(getHybridInspectDlpJobMethod()) - .addMethod(getFinishDlpJobMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java similarity index 99% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java index e6fea7af..298a93fd 100644 --- a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java +++ b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java @@ -131,13 +131,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -5152,11 +5152,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListInspectTemplatesPagedResponse extends AbstractPagedListResponse< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, - InspectTemplate, - ListInspectTemplatesPage, - ListInspectTemplatesFixedSizeCollection> { + ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, + ListInspectTemplatesPage, ListInspectTemplatesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -5177,9 +5174,7 @@ private ListInspectTemplatesPagedResponse(ListInspectTemplatesPage page) { public static class ListInspectTemplatesPage extends AbstractPage< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, - InspectTemplate, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, ListInspectTemplatesPage> { private ListInspectTemplatesPage( @@ -5212,11 +5207,8 @@ public ApiFuture createPageAsync( public static class ListInspectTemplatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, - InspectTemplate, - ListInspectTemplatesPage, - ListInspectTemplatesFixedSizeCollection> { + ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, + ListInspectTemplatesPage, ListInspectTemplatesFixedSizeCollection> { private ListInspectTemplatesFixedSizeCollection( List pages, int collectionSize) { @@ -5236,11 +5228,8 @@ protected ListInspectTemplatesFixedSizeCollection createCollection( public static class ListDeidentifyTemplatesPagedResponse extends AbstractPagedListResponse< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, - DeidentifyTemplate, - ListDeidentifyTemplatesPage, - ListDeidentifyTemplatesFixedSizeCollection> { + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, + ListDeidentifyTemplatesPage, ListDeidentifyTemplatesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -5262,9 +5251,7 @@ private ListDeidentifyTemplatesPagedResponse(ListDeidentifyTemplatesPage page) { public static class ListDeidentifyTemplatesPage extends AbstractPage< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, - DeidentifyTemplate, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, ListDeidentifyTemplatesPage> { private ListDeidentifyTemplatesPage( @@ -5300,11 +5287,8 @@ public ApiFuture createPageAsync( public static class ListDeidentifyTemplatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, - DeidentifyTemplate, - ListDeidentifyTemplatesPage, - ListDeidentifyTemplatesFixedSizeCollection> { + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, + ListDeidentifyTemplatesPage, ListDeidentifyTemplatesFixedSizeCollection> { private ListDeidentifyTemplatesFixedSizeCollection( List pages, int collectionSize) { @@ -5324,10 +5308,7 @@ protected ListDeidentifyTemplatesFixedSizeCollection createCollection( public static class ListJobTriggersPagedResponse extends AbstractPagedListResponse< - ListJobTriggersRequest, - ListJobTriggersResponse, - JobTrigger, - ListJobTriggersPage, + ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { public static ApiFuture createAsync( @@ -5377,10 +5358,7 @@ public ApiFuture createPageAsync( public static class ListJobTriggersFixedSizeCollection extends AbstractFixedSizeCollection< - ListJobTriggersRequest, - ListJobTriggersResponse, - JobTrigger, - ListJobTriggersPage, + ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { private ListJobTriggersFixedSizeCollection( @@ -5401,10 +5379,7 @@ protected ListJobTriggersFixedSizeCollection createCollection( public static class ListDlpJobsPagedResponse extends AbstractPagedListResponse< - ListDlpJobsRequest, - ListDlpJobsResponse, - DlpJob, - ListDlpJobsPage, + ListDlpJobsRequest, ListDlpJobsResponse, DlpJob, ListDlpJobsPage, ListDlpJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5451,10 +5426,7 @@ public ApiFuture createPageAsync( public static class ListDlpJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDlpJobsRequest, - ListDlpJobsResponse, - DlpJob, - ListDlpJobsPage, + ListDlpJobsRequest, ListDlpJobsResponse, DlpJob, ListDlpJobsPage, ListDlpJobsFixedSizeCollection> { private ListDlpJobsFixedSizeCollection(List pages, int collectionSize) { @@ -5474,11 +5446,8 @@ protected ListDlpJobsFixedSizeCollection createCollection( public static class ListStoredInfoTypesPagedResponse extends AbstractPagedListResponse< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, - StoredInfoType, - ListStoredInfoTypesPage, - ListStoredInfoTypesFixedSizeCollection> { + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, + ListStoredInfoTypesPage, ListStoredInfoTypesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -5499,9 +5468,7 @@ private ListStoredInfoTypesPagedResponse(ListStoredInfoTypesPage page) { public static class ListStoredInfoTypesPage extends AbstractPage< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, - StoredInfoType, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, ListStoredInfoTypesPage> { private ListStoredInfoTypesPage( @@ -5534,11 +5501,8 @@ public ApiFuture createPageAsync( public static class ListStoredInfoTypesFixedSizeCollection extends AbstractFixedSizeCollection< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, - StoredInfoType, - ListStoredInfoTypesPage, - ListStoredInfoTypesFixedSizeCollection> { + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, + ListStoredInfoTypesPage, ListStoredInfoTypesFixedSizeCollection> { private ListStoredInfoTypesFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java similarity index 97% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java index 6ab59419..bcbe3136 100644 --- a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java +++ b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java @@ -31,6 +31,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dlp.v2.stub.DlpServiceStubSettings; @@ -96,9 +97,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -170,8 +171,7 @@ public UnaryCallSettings listInfoTy /** Returns the object with the settings used for calls to listInspectTemplates. */ public PagedCallSettings< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return ((DlpServiceStubSettings) getStubSettings()).listInspectTemplatesSettings(); @@ -202,8 +202,7 @@ public UnaryCallSettings deleteInspectTempl /** Returns the object with the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return ((DlpServiceStubSettings) getStubSettings()).listDeidentifyTemplatesSettings(); @@ -465,8 +464,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listInspectTemplates. */ public PagedCallSettings.Builder< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return getStubSettingsBuilder().listInspectTemplatesSettings(); @@ -498,8 +496,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return getStubSettingsBuilder().listDeidentifyTemplatesSettings(); @@ -599,8 +596,7 @@ public UnaryCallSettings.Builder cancelDlpJobSetting /** Returns the builder for the settings used for calls to listStoredInfoTypes. */ public PagedCallSettings.Builder< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings() { return getStubSettingsBuilder().listStoredInfoTypesSettings(); diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json similarity index 100% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java similarity index 100% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java similarity index 100% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java similarity index 97% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java index fa2701e1..4a87525f 100644 --- a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java +++ b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java @@ -111,9 +111,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -157,8 +157,7 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getInspectTemplateSettings; private final PagedCallSettings< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings @@ -170,8 +169,7 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getDeidentifyTemplateSettings; private final PagedCallSettings< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings @@ -251,8 +249,7 @@ public Iterable extractResources( ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate> LIST_DEIDENTIFY_TEMPLATES_PAGE_STR_DESC = new PagedListDescriptor< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate>() { @Override public String emptyToken() { @@ -408,13 +405,11 @@ public Iterable extractResources(ListStoredInfoTypesResponse pay }; private static final PagedListResponseFactory< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> LIST_INSPECT_TEMPLATES_PAGE_STR_FACT = new PagedListResponseFactory< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -432,13 +427,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> LIST_DEIDENTIFY_TEMPLATES_PAGE_STR_FACT = new PagedListResponseFactory< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -448,8 +441,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate> pageContext = PageContext.create( @@ -496,8 +488,7 @@ public ApiFuture getFuturePagedResponse( ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> LIST_STORED_INFO_TYPES_PAGE_STR_FACT = new PagedListResponseFactory< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -560,8 +551,7 @@ public UnaryCallSettings listInfoTy /** Returns the object with the settings used for calls to listInspectTemplates. */ public PagedCallSettings< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return listInspectTemplatesSettings; @@ -592,8 +582,7 @@ public UnaryCallSettings deleteInspectTempl /** Returns the object with the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return listDeidentifyTemplatesSettings; @@ -841,8 +830,7 @@ public static class Builder extends StubSettings.Builder getInspectTemplateSettings; private final PagedCallSettings.Builder< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings.Builder @@ -854,8 +842,7 @@ public static class Builder extends StubSettings.Builder getDeidentifyTemplateSettings; private final PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings.Builder @@ -888,8 +875,7 @@ public static class Builder extends StubSettings.Builder getStoredInfoTypeSettings; private final PagedCallSettings.Builder< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings; private final UnaryCallSettings.Builder @@ -1352,8 +1338,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listInspectTemplates. */ public PagedCallSettings.Builder< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return listInspectTemplatesSettings; @@ -1385,8 +1370,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return listDeidentifyTemplatesSettings; @@ -1486,8 +1470,7 @@ public UnaryCallSettings.Builder cancelDlpJobSetting /** Returns the builder for the settings used for calls to listStoredInfoTypes. */ public PagedCallSettings.Builder< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings() { return listStoredInfoTypesSettings; diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java similarity index 100% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java similarity index 99% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java index 13c67c62..de23f7f7 100644 --- a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java +++ b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java @@ -84,6 +84,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java b/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java similarity index 100% rename from google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java rename to owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java diff --git a/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java b/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java similarity index 100% rename from google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java rename to owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java diff --git a/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java b/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java similarity index 100% rename from google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java rename to owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java diff --git a/owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java new file mode 100644 index 00000000..050f9aa7 --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java @@ -0,0 +1,3496 @@ +package com.google.privacy.dlp.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+ * to detect the presence of Personally Identifiable Information (PII) and other
+ * privacy-sensitive data in user-supplied, unstructured data streams, like text
+ * blocks or images.
+ * The service also includes methods for sensitive data redaction and
+ * scheduling of data scans on Google Cloud Platform based data sets.
+ * To learn more about concepts and find how-to guides see
+ * https://cloud.google.com/dlp/docs/.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/privacy/dlp/v2/dlp.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DlpServiceGrpc { + + private DlpServiceGrpc() {} + + public static final String SERVICE_NAME = "google.privacy.dlp.v2.DlpService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getInspectContentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InspectContent", + requestType = com.google.privacy.dlp.v2.InspectContentRequest.class, + responseType = com.google.privacy.dlp.v2.InspectContentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInspectContentMethod() { + io.grpc.MethodDescriptor getInspectContentMethod; + if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { + DlpServiceGrpc.getInspectContentMethod = getInspectContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InspectContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectContentResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("InspectContent")) + .build(); + } + } + } + return getInspectContentMethod; + } + + private static volatile io.grpc.MethodDescriptor getRedactImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RedactImage", + requestType = com.google.privacy.dlp.v2.RedactImageRequest.class, + responseType = com.google.privacy.dlp.v2.RedactImageResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRedactImageMethod() { + io.grpc.MethodDescriptor getRedactImageMethod; + if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { + DlpServiceGrpc.getRedactImageMethod = getRedactImageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RedactImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.RedactImageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.RedactImageResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("RedactImage")) + .build(); + } + } + } + return getRedactImageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeidentifyContentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeidentifyContent", + requestType = com.google.privacy.dlp.v2.DeidentifyContentRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyContentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeidentifyContentMethod() { + io.grpc.MethodDescriptor getDeidentifyContentMethod; + if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { + DlpServiceGrpc.getDeidentifyContentMethod = getDeidentifyContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeidentifyContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyContentResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeidentifyContent")) + .build(); + } + } + } + return getDeidentifyContentMethod; + } + + private static volatile io.grpc.MethodDescriptor getReidentifyContentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReidentifyContent", + requestType = com.google.privacy.dlp.v2.ReidentifyContentRequest.class, + responseType = com.google.privacy.dlp.v2.ReidentifyContentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReidentifyContentMethod() { + io.grpc.MethodDescriptor getReidentifyContentMethod; + if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { + DlpServiceGrpc.getReidentifyContentMethod = getReidentifyContentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReidentifyContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ReidentifyContentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ReidentifyContentResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ReidentifyContent")) + .build(); + } + } + } + return getReidentifyContentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInfoTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInfoTypes", + requestType = com.google.privacy.dlp.v2.ListInfoTypesRequest.class, + responseType = com.google.privacy.dlp.v2.ListInfoTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInfoTypesMethod() { + io.grpc.MethodDescriptor getListInfoTypesMethod; + if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { + DlpServiceGrpc.getListInfoTypesMethod = getListInfoTypesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInfoTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInfoTypesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListInfoTypes")) + .build(); + } + } + } + return getListInfoTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInspectTemplate", + requestType = com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.InspectTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInspectTemplateMethod() { + io.grpc.MethodDescriptor getCreateInspectTemplateMethod; + if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) == null) { + DlpServiceGrpc.getCreateInspectTemplateMethod = getCreateInspectTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateInspectTemplate")) + .build(); + } + } + } + return getCreateInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInspectTemplate", + requestType = com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.InspectTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInspectTemplateMethod() { + io.grpc.MethodDescriptor getUpdateInspectTemplateMethod; + if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) == null) { + DlpServiceGrpc.getUpdateInspectTemplateMethod = getUpdateInspectTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateInspectTemplate")) + .build(); + } + } + } + return getUpdateInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInspectTemplate", + requestType = com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.InspectTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInspectTemplateMethod() { + io.grpc.MethodDescriptor getGetInspectTemplateMethod; + if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { + DlpServiceGrpc.getGetInspectTemplateMethod = getGetInspectTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetInspectTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetInspectTemplate")) + .build(); + } + } + } + return getGetInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInspectTemplatesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInspectTemplates", + requestType = com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, + responseType = com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInspectTemplatesMethod() { + io.grpc.MethodDescriptor getListInspectTemplatesMethod; + if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) == null) { + DlpServiceGrpc.getListInspectTemplatesMethod = getListInspectTemplatesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInspectTemplates")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListInspectTemplates")) + .build(); + } + } + } + return getListInspectTemplatesMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInspectTemplate", + requestType = com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInspectTemplateMethod() { + io.grpc.MethodDescriptor getDeleteInspectTemplateMethod; + if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) == null) { + DlpServiceGrpc.getDeleteInspectTemplateMethod = getDeleteInspectTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteInspectTemplate")) + .build(); + } + } + } + return getDeleteInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor getCreateDeidentifyTemplateMethod; + if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) == null) { + DlpServiceGrpc.getCreateDeidentifyTemplateMethod = getCreateDeidentifyTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateDeidentifyTemplate")) + .build(); + } + } + } + return getCreateDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor getUpdateDeidentifyTemplateMethod; + if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) == null) { + DlpServiceGrpc.getUpdateDeidentifyTemplateMethod = getUpdateDeidentifyTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateDeidentifyTemplate")) + .build(); + } + } + } + return getUpdateDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor getGetDeidentifyTemplateMethod; + if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) == null) { + DlpServiceGrpc.getGetDeidentifyTemplateMethod = getGetDeidentifyTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetDeidentifyTemplate")) + .build(); + } + } + } + return getGetDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDeidentifyTemplatesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDeidentifyTemplates", + requestType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, + responseType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDeidentifyTemplatesMethod() { + io.grpc.MethodDescriptor getListDeidentifyTemplatesMethod; + if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) == null) { + DlpServiceGrpc.getListDeidentifyTemplatesMethod = getListDeidentifyTemplatesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeidentifyTemplates")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListDeidentifyTemplates")) + .build(); + } + } + } + return getListDeidentifyTemplatesMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor getDeleteDeidentifyTemplateMethod; + if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) == null) { + DlpServiceGrpc.getDeleteDeidentifyTemplateMethod = getDeleteDeidentifyTemplateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteDeidentifyTemplate")) + .build(); + } + } + } + return getDeleteDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJobTrigger", + requestType = com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.JobTrigger.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateJobTriggerMethod() { + io.grpc.MethodDescriptor getCreateJobTriggerMethod; + if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { + DlpServiceGrpc.getCreateJobTriggerMethod = getCreateJobTriggerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateJobTrigger")) + .build(); + } + } + } + return getCreateJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJobTrigger", + requestType = com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.JobTrigger.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateJobTriggerMethod() { + io.grpc.MethodDescriptor getUpdateJobTriggerMethod; + if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { + DlpServiceGrpc.getUpdateJobTriggerMethod = getUpdateJobTriggerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateJobTrigger")) + .build(); + } + } + } + return getUpdateJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor getHybridInspectJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "HybridInspectJobTrigger", + requestType = com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getHybridInspectJobTriggerMethod() { + io.grpc.MethodDescriptor getHybridInspectJobTriggerMethod; + if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) == null) { + DlpServiceGrpc.getHybridInspectJobTriggerMethod = getHybridInspectJobTriggerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "HybridInspectJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("HybridInspectJobTrigger")) + .build(); + } + } + } + return getHybridInspectJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJobTrigger", + requestType = com.google.privacy.dlp.v2.GetJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.JobTrigger.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobTriggerMethod() { + io.grpc.MethodDescriptor getGetJobTriggerMethod; + if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { + DlpServiceGrpc.getGetJobTriggerMethod = getGetJobTriggerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetJobTrigger")) + .build(); + } + } + } + return getGetJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobTriggersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobTriggers", + requestType = com.google.privacy.dlp.v2.ListJobTriggersRequest.class, + responseType = com.google.privacy.dlp.v2.ListJobTriggersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobTriggersMethod() { + io.grpc.MethodDescriptor getListJobTriggersMethod; + if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { + DlpServiceGrpc.getListJobTriggersMethod = getListJobTriggersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobTriggers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListJobTriggersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListJobTriggersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListJobTriggers")) + .build(); + } + } + } + return getListJobTriggersMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJobTrigger", + requestType = com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteJobTriggerMethod() { + io.grpc.MethodDescriptor getDeleteJobTriggerMethod; + if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { + DlpServiceGrpc.getDeleteJobTriggerMethod = getDeleteJobTriggerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteJobTrigger")) + .build(); + } + } + } + return getDeleteJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor getActivateJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ActivateJobTrigger", + requestType = com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.DlpJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getActivateJobTriggerMethod() { + io.grpc.MethodDescriptor getActivateJobTriggerMethod; + if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { + DlpServiceGrpc.getActivateJobTriggerMethod = getActivateJobTriggerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ActivateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ActivateJobTrigger")) + .build(); + } + } + } + return getActivateJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDlpJob", + requestType = com.google.privacy.dlp.v2.CreateDlpJobRequest.class, + responseType = com.google.privacy.dlp.v2.DlpJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDlpJobMethod() { + io.grpc.MethodDescriptor getCreateDlpJobMethod; + if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { + DlpServiceGrpc.getCreateDlpJobMethod = getCreateDlpJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateDlpJob")) + .build(); + } + } + } + return getCreateDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDlpJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDlpJobs", + requestType = com.google.privacy.dlp.v2.ListDlpJobsRequest.class, + responseType = com.google.privacy.dlp.v2.ListDlpJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDlpJobsMethod() { + io.grpc.MethodDescriptor getListDlpJobsMethod; + if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { + DlpServiceGrpc.getListDlpJobsMethod = getListDlpJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDlpJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDlpJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDlpJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListDlpJobs")) + .build(); + } + } + } + return getListDlpJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDlpJob", + requestType = com.google.privacy.dlp.v2.GetDlpJobRequest.class, + responseType = com.google.privacy.dlp.v2.DlpJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDlpJobMethod() { + io.grpc.MethodDescriptor getGetDlpJobMethod; + if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { + DlpServiceGrpc.getGetDlpJobMethod = getGetDlpJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetDlpJob")) + .build(); + } + } + } + return getGetDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDlpJob", + requestType = com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDlpJobMethod() { + io.grpc.MethodDescriptor getDeleteDlpJobMethod; + if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { + DlpServiceGrpc.getDeleteDlpJobMethod = getDeleteDlpJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteDlpJob")) + .build(); + } + } + } + return getDeleteDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelDlpJob", + requestType = com.google.privacy.dlp.v2.CancelDlpJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelDlpJobMethod() { + io.grpc.MethodDescriptor getCancelDlpJobMethod; + if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { + DlpServiceGrpc.getCancelDlpJobMethod = getCancelDlpJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CancelDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CancelDlpJob")) + .build(); + } + } + } + return getCancelDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateStoredInfoType", + requestType = com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, + responseType = com.google.privacy.dlp.v2.StoredInfoType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateStoredInfoTypeMethod() { + io.grpc.MethodDescriptor getCreateStoredInfoTypeMethod; + if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) == null) { + DlpServiceGrpc.getCreateStoredInfoTypeMethod = getCreateStoredInfoTypeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateStoredInfoType")) + .build(); + } + } + } + return getCreateStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateStoredInfoType", + requestType = com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, + responseType = com.google.privacy.dlp.v2.StoredInfoType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateStoredInfoTypeMethod() { + io.grpc.MethodDescriptor getUpdateStoredInfoTypeMethod; + if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) == null) { + DlpServiceGrpc.getUpdateStoredInfoTypeMethod = getUpdateStoredInfoTypeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateStoredInfoType")) + .build(); + } + } + } + return getUpdateStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetStoredInfoType", + requestType = com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, + responseType = com.google.privacy.dlp.v2.StoredInfoType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetStoredInfoTypeMethod() { + io.grpc.MethodDescriptor getGetStoredInfoTypeMethod; + if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { + DlpServiceGrpc.getGetStoredInfoTypeMethod = getGetStoredInfoTypeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetStoredInfoType")) + .build(); + } + } + } + return getGetStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor getListStoredInfoTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListStoredInfoTypes", + requestType = com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, + responseType = com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListStoredInfoTypesMethod() { + io.grpc.MethodDescriptor getListStoredInfoTypesMethod; + if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { + DlpServiceGrpc.getListStoredInfoTypesMethod = getListStoredInfoTypesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStoredInfoTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListStoredInfoTypes")) + .build(); + } + } + } + return getListStoredInfoTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteStoredInfoType", + requestType = com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteStoredInfoTypeMethod() { + io.grpc.MethodDescriptor getDeleteStoredInfoTypeMethod; + if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) == null) { + DlpServiceGrpc.getDeleteStoredInfoTypeMethod = getDeleteStoredInfoTypeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteStoredInfoType")) + .build(); + } + } + } + return getDeleteStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor getHybridInspectDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "HybridInspectDlpJob", + requestType = com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, + responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getHybridInspectDlpJobMethod() { + io.grpc.MethodDescriptor getHybridInspectDlpJobMethod; + if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { + DlpServiceGrpc.getHybridInspectDlpJobMethod = getHybridInspectDlpJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "HybridInspectDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("HybridInspectDlpJob")) + .build(); + } + } + } + return getHybridInspectDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getFinishDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FinishDlpJob", + requestType = com.google.privacy.dlp.v2.FinishDlpJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFinishDlpJobMethod() { + io.grpc.MethodDescriptor getFinishDlpJobMethod; + if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { + DlpServiceGrpc.getFinishDlpJobMethod = getFinishDlpJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinishDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.FinishDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("FinishDlpJob")) + .build(); + } + } + } + return getFinishDlpJobMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DlpServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DlpServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceStub(channel, callOptions); + } + }; + return DlpServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DlpServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DlpServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceBlockingStub(channel, callOptions); + } + }; + return DlpServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DlpServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DlpServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceFutureStub(channel, callOptions); + } + }; + return DlpServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static abstract class DlpServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public void inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInspectContentMethod(), responseObserver); + } + + /** + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void redactImage(com.google.privacy.dlp.v2.RedactImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRedactImageMethod(), responseObserver); + } + + /** + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeidentifyContentMethod(), responseObserver); + } + + /** + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public void reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReidentifyContentMethod(), responseObserver); + } + + /** + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public void listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInfoTypesMethod(), responseObserver); + } + + /** + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInspectTemplateMethod(), responseObserver); + } + + /** + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInspectTemplateMethod(), responseObserver); + } + + /** + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInspectTemplateMethod(), responseObserver); + } + + /** + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInspectTemplatesMethod(), responseObserver); + } + + /** + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInspectTemplateMethod(), responseObserver); + } + + /** + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void createDeidentifyTemplate(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeidentifyTemplateMethod(), responseObserver); + } + + /** + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void updateDeidentifyTemplate(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDeidentifyTemplateMethod(), responseObserver); + } + + /** + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeidentifyTemplateMethod(), responseObserver); + } + + /** + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeidentifyTemplatesMethod(), responseObserver); + } + + /** + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void deleteDeidentifyTemplate(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeidentifyTemplateMethod(), responseObserver); + } + + /** + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobTriggerMethod(), responseObserver); + } + + /** + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobTriggerMethod(), responseObserver); + } + + /** + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public void hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHybridInspectJobTriggerMethod(), responseObserver); + } + + /** + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobTriggerMethod(), responseObserver); + } + + /** + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobTriggersMethod(), responseObserver); + } + + /** + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobTriggerMethod(), responseObserver); + } + + /** + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public void activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getActivateJobTriggerMethod(), responseObserver); + } + + /** + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDlpJobMethod(), responseObserver); + } + + /** + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDlpJobsMethod(), responseObserver); + } + + /** + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDlpJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDlpJobMethod(), responseObserver); + } + + /** + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDlpJobMethod(), responseObserver); + } + + /** + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateStoredInfoTypeMethod(), responseObserver); + } + + /** + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateStoredInfoTypeMethod(), responseObserver); + } + + /** + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStoredInfoTypeMethod(), responseObserver); + } + + /** + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListStoredInfoTypesMethod(), responseObserver); + } + + /** + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStoredInfoTypeMethod(), responseObserver); + } + + /** + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public void hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHybridInspectDlpJobMethod(), responseObserver); + } + + /** + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public void finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinishDlpJobMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getInspectContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.InspectContentRequest, + com.google.privacy.dlp.v2.InspectContentResponse>( + this, METHODID_INSPECT_CONTENT))) + .addMethod( + getRedactImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.RedactImageRequest, + com.google.privacy.dlp.v2.RedactImageResponse>( + this, METHODID_REDACT_IMAGE))) + .addMethod( + getDeidentifyContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeidentifyContentRequest, + com.google.privacy.dlp.v2.DeidentifyContentResponse>( + this, METHODID_DEIDENTIFY_CONTENT))) + .addMethod( + getReidentifyContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ReidentifyContentRequest, + com.google.privacy.dlp.v2.ReidentifyContentResponse>( + this, METHODID_REIDENTIFY_CONTENT))) + .addMethod( + getListInfoTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListInfoTypesRequest, + com.google.privacy.dlp.v2.ListInfoTypesResponse>( + this, METHODID_LIST_INFO_TYPES))) + .addMethod( + getCreateInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate>( + this, METHODID_CREATE_INSPECT_TEMPLATE))) + .addMethod( + getUpdateInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate>( + this, METHODID_UPDATE_INSPECT_TEMPLATE))) + .addMethod( + getGetInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate>( + this, METHODID_GET_INSPECT_TEMPLATE))) + .addMethod( + getListInspectTemplatesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListInspectTemplatesRequest, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse>( + this, METHODID_LIST_INSPECT_TEMPLATES))) + .addMethod( + getDeleteInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_INSPECT_TEMPLATE))) + .addMethod( + getCreateDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate>( + this, METHODID_CREATE_DEIDENTIFY_TEMPLATE))) + .addMethod( + getUpdateDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate>( + this, METHODID_UPDATE_DEIDENTIFY_TEMPLATE))) + .addMethod( + getGetDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate>( + this, METHODID_GET_DEIDENTIFY_TEMPLATE))) + .addMethod( + getListDeidentifyTemplatesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>( + this, METHODID_LIST_DEIDENTIFY_TEMPLATES))) + .addMethod( + getDeleteDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DEIDENTIFY_TEMPLATE))) + .addMethod( + getCreateJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateJobTriggerRequest, + com.google.privacy.dlp.v2.JobTrigger>( + this, METHODID_CREATE_JOB_TRIGGER))) + .addMethod( + getUpdateJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateJobTriggerRequest, + com.google.privacy.dlp.v2.JobTrigger>( + this, METHODID_UPDATE_JOB_TRIGGER))) + .addMethod( + getHybridInspectJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, + com.google.privacy.dlp.v2.HybridInspectResponse>( + this, METHODID_HYBRID_INSPECT_JOB_TRIGGER))) + .addMethod( + getGetJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetJobTriggerRequest, + com.google.privacy.dlp.v2.JobTrigger>( + this, METHODID_GET_JOB_TRIGGER))) + .addMethod( + getListJobTriggersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListJobTriggersRequest, + com.google.privacy.dlp.v2.ListJobTriggersResponse>( + this, METHODID_LIST_JOB_TRIGGERS))) + .addMethod( + getDeleteJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteJobTriggerRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB_TRIGGER))) + .addMethod( + getActivateJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, + com.google.privacy.dlp.v2.DlpJob>( + this, METHODID_ACTIVATE_JOB_TRIGGER))) + .addMethod( + getCreateDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateDlpJobRequest, + com.google.privacy.dlp.v2.DlpJob>( + this, METHODID_CREATE_DLP_JOB))) + .addMethod( + getListDlpJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListDlpJobsRequest, + com.google.privacy.dlp.v2.ListDlpJobsResponse>( + this, METHODID_LIST_DLP_JOBS))) + .addMethod( + getGetDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetDlpJobRequest, + com.google.privacy.dlp.v2.DlpJob>( + this, METHODID_GET_DLP_JOB))) + .addMethod( + getDeleteDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteDlpJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DLP_JOB))) + .addMethod( + getCancelDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CancelDlpJobRequest, + com.google.protobuf.Empty>( + this, METHODID_CANCEL_DLP_JOB))) + .addMethod( + getCreateStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType>( + this, METHODID_CREATE_STORED_INFO_TYPE))) + .addMethod( + getUpdateStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType>( + this, METHODID_UPDATE_STORED_INFO_TYPE))) + .addMethod( + getGetStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType>( + this, METHODID_GET_STORED_INFO_TYPE))) + .addMethod( + getListStoredInfoTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse>( + this, METHODID_LIST_STORED_INFO_TYPES))) + .addMethod( + getDeleteStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_STORED_INFO_TYPE))) + .addMethod( + getHybridInspectDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, + com.google.privacy.dlp.v2.HybridInspectResponse>( + this, METHODID_HYBRID_INSPECT_DLP_JOB))) + .addMethod( + getFinishDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.FinishDlpJobRequest, + com.google.protobuf.Empty>( + this, METHODID_FINISH_DLP_JOB))) + .build(); + } + } + + /** + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static final class DlpServiceStub extends io.grpc.stub.AbstractAsyncStub { + private DlpServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DlpServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceStub(channel, callOptions); + } + + /** + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public void inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInspectContentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void redactImage(com.google.privacy.dlp.v2.RedactImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRedactImageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public void reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public void listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void createDeidentifyTemplate(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void updateDeidentifyTemplate(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void deleteDeidentifyTemplate(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public void hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public void activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public void hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public void finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static final class DlpServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DlpServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DlpServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectContentResponse inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInspectContentMethod(), getCallOptions(), request); + } + + /** + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.privacy.dlp.v2.RedactImageResponse redactImage(com.google.privacy.dlp.v2.RedactImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRedactImageMethod(), getCallOptions(), request); + } + + /** + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyContentResponse deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeidentifyContentMethod(), getCallOptions(), request); + } + + /** + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ReidentifyContentResponse reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReidentifyContentMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListInfoTypesResponse listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInfoTypesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectTemplate createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInspectTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectTemplate updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInspectTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInspectTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListInspectTemplatesResponse listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInspectTemplatesMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInspectTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyTemplate createDeidentifyTemplate(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyTemplate updateDeidentifyTemplate(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDeidentifyTemplatesMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.protobuf.Empty deleteDeidentifyTemplate(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.JobTrigger createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobTriggerMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.JobTrigger updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobTriggerMethod(), getCallOptions(), request); + } + + /** + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getHybridInspectJobTriggerMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.JobTrigger getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobTriggerMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListJobTriggersResponse listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobTriggersMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobTriggerMethod(), getCallOptions(), request); + } + + /** + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getActivateJobTriggerMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDlpJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListDlpJobsResponse listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDlpJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDlpJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDlpJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.protobuf.Empty cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelDlpJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.StoredInfoType createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.StoredInfoType updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListStoredInfoTypesMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getHybridInspectDlpJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public com.google.protobuf.Empty finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFinishDlpJobMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static final class DlpServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private DlpServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DlpServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture inspectContent( + com.google.privacy.dlp.v2.InspectContentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInspectContentMethod(), getCallOptions()), request); + } + + /** + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture redactImage( + com.google.privacy.dlp.v2.RedactImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRedactImageMethod(), getCallOptions()), request); + } + + /** + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deidentifyContent( + com.google.privacy.dlp.v2.DeidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), request); + } + + /** + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture reidentifyContent( + com.google.privacy.dlp.v2.ReidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInfoTypes( + com.google.privacy.dlp.v2.ListInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInspectTemplate( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInspectTemplate( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInspectTemplate( + com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInspectTemplates( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInspectTemplate( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDeidentifyTemplate( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDeidentifyTemplate( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDeidentifyTemplate( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDeidentifyTemplates( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDeidentifyTemplate( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createJobTrigger( + com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateJobTrigger( + com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), request); + } + + /** + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture hybridInspectJobTrigger( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJobTrigger( + com.google.privacy.dlp.v2.GetJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobTriggers( + com.google.privacy.dlp.v2.ListJobTriggersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJobTrigger( + com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), request); + } + + /** + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDlpJob( + com.google.privacy.dlp.v2.CreateDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDlpJobs( + com.google.privacy.dlp.v2.ListDlpJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDlpJob( + com.google.privacy.dlp.v2.GetDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDlpJob( + com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelDlpJob( + com.google.privacy.dlp.v2.CancelDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createStoredInfoType( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateStoredInfoType( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getStoredInfoType( + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listStoredInfoTypes( + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteStoredInfoType( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture hybridInspectDlpJob( + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture finishDlpJob( + com.google.privacy.dlp.v2.FinishDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_INSPECT_CONTENT = 0; + private static final int METHODID_REDACT_IMAGE = 1; + private static final int METHODID_DEIDENTIFY_CONTENT = 2; + private static final int METHODID_REIDENTIFY_CONTENT = 3; + private static final int METHODID_LIST_INFO_TYPES = 4; + private static final int METHODID_CREATE_INSPECT_TEMPLATE = 5; + private static final int METHODID_UPDATE_INSPECT_TEMPLATE = 6; + private static final int METHODID_GET_INSPECT_TEMPLATE = 7; + private static final int METHODID_LIST_INSPECT_TEMPLATES = 8; + private static final int METHODID_DELETE_INSPECT_TEMPLATE = 9; + private static final int METHODID_CREATE_DEIDENTIFY_TEMPLATE = 10; + private static final int METHODID_UPDATE_DEIDENTIFY_TEMPLATE = 11; + private static final int METHODID_GET_DEIDENTIFY_TEMPLATE = 12; + private static final int METHODID_LIST_DEIDENTIFY_TEMPLATES = 13; + private static final int METHODID_DELETE_DEIDENTIFY_TEMPLATE = 14; + private static final int METHODID_CREATE_JOB_TRIGGER = 15; + private static final int METHODID_UPDATE_JOB_TRIGGER = 16; + private static final int METHODID_HYBRID_INSPECT_JOB_TRIGGER = 17; + private static final int METHODID_GET_JOB_TRIGGER = 18; + private static final int METHODID_LIST_JOB_TRIGGERS = 19; + private static final int METHODID_DELETE_JOB_TRIGGER = 20; + private static final int METHODID_ACTIVATE_JOB_TRIGGER = 21; + private static final int METHODID_CREATE_DLP_JOB = 22; + private static final int METHODID_LIST_DLP_JOBS = 23; + private static final int METHODID_GET_DLP_JOB = 24; + private static final int METHODID_DELETE_DLP_JOB = 25; + private static final int METHODID_CANCEL_DLP_JOB = 26; + private static final int METHODID_CREATE_STORED_INFO_TYPE = 27; + private static final int METHODID_UPDATE_STORED_INFO_TYPE = 28; + private static final int METHODID_GET_STORED_INFO_TYPE = 29; + private static final int METHODID_LIST_STORED_INFO_TYPES = 30; + private static final int METHODID_DELETE_STORED_INFO_TYPE = 31; + private static final int METHODID_HYBRID_INSPECT_DLP_JOB = 32; + private static final int METHODID_FINISH_DLP_JOB = 33; + + 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 DlpServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DlpServiceImplBase 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_INSPECT_CONTENT: + serviceImpl.inspectContent((com.google.privacy.dlp.v2.InspectContentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REDACT_IMAGE: + serviceImpl.redactImage((com.google.privacy.dlp.v2.RedactImageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DEIDENTIFY_CONTENT: + serviceImpl.deidentifyContent((com.google.privacy.dlp.v2.DeidentifyContentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REIDENTIFY_CONTENT: + serviceImpl.reidentifyContent((com.google.privacy.dlp.v2.ReidentifyContentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INFO_TYPES: + serviceImpl.listInfoTypes((com.google.privacy.dlp.v2.ListInfoTypesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSPECT_TEMPLATE: + serviceImpl.createInspectTemplate((com.google.privacy.dlp.v2.CreateInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSPECT_TEMPLATE: + serviceImpl.updateInspectTemplate((com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSPECT_TEMPLATE: + serviceImpl.getInspectTemplate((com.google.privacy.dlp.v2.GetInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSPECT_TEMPLATES: + serviceImpl.listInspectTemplates((com.google.privacy.dlp.v2.ListInspectTemplatesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSPECT_TEMPLATE: + serviceImpl.deleteInspectTemplate((com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DEIDENTIFY_TEMPLATE: + serviceImpl.createDeidentifyTemplate((com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DEIDENTIFY_TEMPLATE: + serviceImpl.updateDeidentifyTemplate((com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DEIDENTIFY_TEMPLATE: + serviceImpl.getDeidentifyTemplate((com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DEIDENTIFY_TEMPLATES: + serviceImpl.listDeidentifyTemplates((com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DEIDENTIFY_TEMPLATE: + serviceImpl.deleteDeidentifyTemplate((com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_JOB_TRIGGER: + serviceImpl.createJobTrigger((com.google.privacy.dlp.v2.CreateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB_TRIGGER: + serviceImpl.updateJobTrigger((com.google.privacy.dlp.v2.UpdateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_HYBRID_INSPECT_JOB_TRIGGER: + serviceImpl.hybridInspectJobTrigger((com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB_TRIGGER: + serviceImpl.getJobTrigger((com.google.privacy.dlp.v2.GetJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOB_TRIGGERS: + serviceImpl.listJobTriggers((com.google.privacy.dlp.v2.ListJobTriggersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB_TRIGGER: + serviceImpl.deleteJobTrigger((com.google.privacy.dlp.v2.DeleteJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ACTIVATE_JOB_TRIGGER: + serviceImpl.activateJobTrigger((com.google.privacy.dlp.v2.ActivateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DLP_JOB: + serviceImpl.createDlpJob((com.google.privacy.dlp.v2.CreateDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DLP_JOBS: + serviceImpl.listDlpJobs((com.google.privacy.dlp.v2.ListDlpJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DLP_JOB: + serviceImpl.getDlpJob((com.google.privacy.dlp.v2.GetDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DLP_JOB: + serviceImpl.deleteDlpJob((com.google.privacy.dlp.v2.DeleteDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_DLP_JOB: + serviceImpl.cancelDlpJob((com.google.privacy.dlp.v2.CancelDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_STORED_INFO_TYPE: + serviceImpl.createStoredInfoType((com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_STORED_INFO_TYPE: + serviceImpl.updateStoredInfoType((com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_STORED_INFO_TYPE: + serviceImpl.getStoredInfoType((com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_STORED_INFO_TYPES: + serviceImpl.listStoredInfoTypes((com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_STORED_INFO_TYPE: + serviceImpl.deleteStoredInfoType((com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_HYBRID_INSPECT_DLP_JOB: + serviceImpl.hybridInspectDlpJob((com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FINISH_DLP_JOB: + serviceImpl.finishDlpJob((com.google.privacy.dlp.v2.FinishDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DlpServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DlpServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DlpService"); + } + } + + private static final class DlpServiceFileDescriptorSupplier + extends DlpServiceBaseDescriptorSupplier { + DlpServiceFileDescriptorSupplier() {} + } + + private static final class DlpServiceMethodDescriptorSupplier + extends DlpServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DlpServiceMethodDescriptorSupplier(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 (DlpServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DlpServiceFileDescriptorSupplier()) + .addMethod(getInspectContentMethod()) + .addMethod(getRedactImageMethod()) + .addMethod(getDeidentifyContentMethod()) + .addMethod(getReidentifyContentMethod()) + .addMethod(getListInfoTypesMethod()) + .addMethod(getCreateInspectTemplateMethod()) + .addMethod(getUpdateInspectTemplateMethod()) + .addMethod(getGetInspectTemplateMethod()) + .addMethod(getListInspectTemplatesMethod()) + .addMethod(getDeleteInspectTemplateMethod()) + .addMethod(getCreateDeidentifyTemplateMethod()) + .addMethod(getUpdateDeidentifyTemplateMethod()) + .addMethod(getGetDeidentifyTemplateMethod()) + .addMethod(getListDeidentifyTemplatesMethod()) + .addMethod(getDeleteDeidentifyTemplateMethod()) + .addMethod(getCreateJobTriggerMethod()) + .addMethod(getUpdateJobTriggerMethod()) + .addMethod(getHybridInspectJobTriggerMethod()) + .addMethod(getGetJobTriggerMethod()) + .addMethod(getListJobTriggersMethod()) + .addMethod(getDeleteJobTriggerMethod()) + .addMethod(getActivateJobTriggerMethod()) + .addMethod(getCreateDlpJobMethod()) + .addMethod(getListDlpJobsMethod()) + .addMethod(getGetDlpJobMethod()) + .addMethod(getDeleteDlpJobMethod()) + .addMethod(getCancelDlpJobMethod()) + .addMethod(getCreateStoredInfoTypeMethod()) + .addMethod(getUpdateStoredInfoTypeMethod()) + .addMethod(getGetStoredInfoTypeMethod()) + .addMethod(getListStoredInfoTypesMethod()) + .addMethod(getDeleteStoredInfoTypeMethod()) + .addMethod(getHybridInspectDlpJobMethod()) + .addMethod(getFinishDlpJobMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index 0899a8a0..d6a8b879 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A task to execute on the completion of a job.
  * See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Action}
  */
-public final class Action extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Action extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action)
     ActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Action.newBuilder() to construct.
   private Action(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Action() {}
+  private Action() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Action();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Action(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,182 +53,145 @@ private Action(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.Action.SaveFindings.Builder subBuilder = null;
-              if (actionCase_ == 1) {
-                subBuilder = ((com.google.privacy.dlp.v2.Action.SaveFindings) action_).toBuilder();
-              }
-              action_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Action.SaveFindings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) action_);
-                action_ = subBuilder.buildPartial();
-              }
-              actionCase_ = 1;
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.Action.SaveFindings.Builder subBuilder = null;
+            if (actionCase_ == 1) {
+              subBuilder = ((com.google.privacy.dlp.v2.Action.SaveFindings) action_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder subBuilder = null;
-              if (actionCase_ == 2) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_).toBuilder();
-              }
-              action_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Action.PublishToPubSub.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_);
-                action_ = subBuilder.buildPartial();
-              }
-              actionCase_ = 2;
-              break;
+            action_ =
+                input.readMessage(com.google.privacy.dlp.v2.Action.SaveFindings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) action_);
+              action_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder subBuilder = null;
-              if (actionCase_ == 3) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_).toBuilder();
-              }
-              action_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
-                action_ = subBuilder.buildPartial();
-              }
-              actionCase_ = 3;
-              break;
+            actionCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder subBuilder = null;
+            if (actionCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_).toBuilder();
             }
-          case 42:
-            {
-              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder
-                  subBuilder = null;
-              if (actionCase_ == 5) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_)
-                        .toBuilder();
-              }
-              action_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_);
-                action_ = subBuilder.buildPartial();
-              }
-              actionCase_ = 5;
-              break;
+            action_ =
+                input.readMessage(com.google.privacy.dlp.v2.Action.PublishToPubSub.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_);
+              action_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder subBuilder = null;
-              if (actionCase_ == 8) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_).toBuilder();
-              }
-              action_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Action.JobNotificationEmails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
-                action_ = subBuilder.buildPartial();
-              }
-              actionCase_ = 8;
-              break;
+            actionCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder subBuilder = null;
+            if (actionCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_).toBuilder();
             }
-          case 74:
-            {
-              com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder subBuilder = null;
-              if (actionCase_ == 9) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_).toBuilder();
-              }
-              action_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Action.PublishToStackdriver.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_);
-                action_ = subBuilder.buildPartial();
-              }
-              actionCase_ = 9;
-              break;
+            action_ =
+                input.readMessage(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
+              action_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            actionCase_ = 3;
+            break;
+          }
+          case 42: {
+            com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder subBuilder = null;
+            if (actionCase_ == 5) {
+              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_).toBuilder();
+            }
+            action_ =
+                input.readMessage(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_);
+              action_ = subBuilder.buildPartial();
+            }
+            actionCase_ = 5;
+            break;
+          }
+          case 66: {
+            com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder subBuilder = null;
+            if (actionCase_ == 8) {
+              subBuilder = ((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_).toBuilder();
+            }
+            action_ =
+                input.readMessage(com.google.privacy.dlp.v2.Action.JobNotificationEmails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
+              action_ = subBuilder.buildPartial();
+            }
+            actionCase_ = 8;
+            break;
+          }
+          case 74: {
+            com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder subBuilder = null;
+            if (actionCase_ == 9) {
+              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_).toBuilder();
             }
+            action_ =
+                input.readMessage(com.google.privacy.dlp.v2.Action.PublishToStackdriver.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_);
+              action_ = subBuilder.buildPartial();
+            }
+            actionCase_ = 9;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Action_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class);
   }
 
-  public interface SaveFindingsOrBuilder
-      extends
+  public interface SaveFindingsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.SaveFindings)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - * * @return The outputConfig. */ com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig(); /** - * - * *
      * Location to store findings outside of DLP.
      * 
@@ -254,8 +201,6 @@ public interface SaveFindingsOrBuilder com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder(); } /** - * - * *
    * If set, the detailed findings will be persisted to the specified
    * OutputStorageConfig. Only a single instance of this action can be
@@ -265,29 +210,30 @@ public interface SaveFindingsOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings}
    */
-  public static final class SaveFindings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SaveFindings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.SaveFindings)
       SaveFindingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SaveFindings.newBuilder() to construct.
     private SaveFindings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private SaveFindings() {}
+    private SaveFindings() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SaveFindings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private SaveFindings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -306,67 +252,59 @@ private SaveFindings(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.OutputStorageConfig.Builder subBuilder = null;
-                if (outputConfig_ != null) {
-                  subBuilder = outputConfig_.toBuilder();
-                }
-                outputConfig_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.OutputStorageConfig.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(outputConfig_);
-                  outputConfig_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.OutputStorageConfig.Builder subBuilder = null;
+              if (outputConfig_ != null) {
+                subBuilder = outputConfig_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              outputConfig_ = input.readMessage(com.google.privacy.dlp.v2.OutputStorageConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputConfig_);
+                outputConfig_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.SaveFindings.class,
-              com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
+              com.google.privacy.dlp.v2.Action.SaveFindings.class, com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
     }
 
     public static final int OUTPUT_CONFIG_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.OutputStorageConfig outputConfig_;
     /**
-     *
-     *
      * 
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -374,25 +312,18 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - * * @return The outputConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
      * Location to store findings outside of DLP.
      * 
@@ -405,7 +336,6 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (outputConfig_ != null) { output.writeMessage(1, getOutputConfig()); } @@ -431,7 +362,8 @@ public int getSerializedSize() { size = 0; if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -441,17 +373,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.privacy.dlp.v2.Action.SaveFindings)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Action.SaveFindings other = - (com.google.privacy.dlp.v2.Action.SaveFindings) obj; + com.google.privacy.dlp.v2.Action.SaveFindings other = (com.google.privacy.dlp.v2.Action.SaveFindings) obj; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -473,94 +405,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Action.SaveFindings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.Action.SaveFindings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Action.SaveFindings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -570,8 +496,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * If set, the detailed findings will be persisted to the specified
      * OutputStorageConfig. Only a single instance of this action can be
@@ -581,24 +505,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.SaveFindings)
         com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.SaveFindings.class,
-                com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
+                com.google.privacy.dlp.v2.Action.SaveFindings.class, com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.SaveFindings.newBuilder()
@@ -606,15 +527,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -628,9 +550,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
       }
 
       @java.lang.Override
@@ -649,8 +571,7 @@ public com.google.privacy.dlp.v2.Action.SaveFindings build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.SaveFindings buildPartial() {
-        com.google.privacy.dlp.v2.Action.SaveFindings result =
-            new com.google.privacy.dlp.v2.Action.SaveFindings(this);
+        com.google.privacy.dlp.v2.Action.SaveFindings result = new com.google.privacy.dlp.v2.Action.SaveFindings(this);
         if (outputConfigBuilder_ == null) {
           result.outputConfig_ = outputConfig_;
         } else {
@@ -664,41 +585,38 @@ public com.google.privacy.dlp.v2.Action.SaveFindings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.SaveFindings) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -706,8 +624,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.SaveFindings other) {
-        if (other == com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance()) return this;
         if (other.hasOutputConfig()) {
           mergeOutputConfig(other.getOutputConfig());
         }
@@ -742,47 +659,34 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.OutputStorageConfig outputConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.OutputStorageConfig,
-              com.google.privacy.dlp.v2.OutputStorageConfig.Builder,
-              com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>
-          outputConfigBuilder_;
+          com.google.privacy.dlp.v2.OutputStorageConfig, com.google.privacy.dlp.v2.OutputStorageConfig.Builder, com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder> outputConfigBuilder_;
       /**
-       *
-       *
        * 
        * Location to store findings outside of DLP.
        * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
        * Location to store findings outside of DLP.
        * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - * * @return The outputConfig. */ public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -803,8 +707,6 @@ public Builder setOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig val return this; } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -823,8 +725,6 @@ public Builder setOutputConfig( return this; } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -835,9 +735,7 @@ public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig v if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -849,8 +747,6 @@ public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig v return this; } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -869,8 +765,6 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -878,13 +772,11 @@ public Builder clearOutputConfig() { * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; */ public com.google.privacy.dlp.v2.OutputStorageConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -895,14 +787,11 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
        * Location to store findings outside of DLP.
        * 
@@ -910,22 +799,18 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.OutputStorageConfig, - com.google.privacy.dlp.v2.OutputStorageConfig.Builder, - com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder> + com.google.privacy.dlp.v2.OutputStorageConfig, com.google.privacy.dlp.v2.OutputStorageConfig.Builder, com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.OutputStorageConfig, - com.google.privacy.dlp.v2.OutputStorageConfig.Builder, - com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.OutputStorageConfig, com.google.privacy.dlp.v2.OutputStorageConfig.Builder, com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -938,12 +823,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.SaveFindings) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.SaveFindings) private static final com.google.privacy.dlp.v2.Action.SaveFindings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.SaveFindings(); } @@ -952,16 +837,16 @@ public static com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SaveFindings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SaveFindings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SaveFindings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SaveFindings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,16 +861,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PublishToPubSubOrBuilder - extends + public interface PublishToPubSubOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToPubSub) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -994,13 +877,10 @@ public interface PublishToPubSubOrBuilder
      * 
* * string topic = 1; - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -1009,14 +889,12 @@ public interface PublishToPubSubOrBuilder
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); } /** - * - * *
    * Publish a message into given Pub/Sub topic when DlpJob has completed. The
    * message contains a single field, `DlpJobName`, which is equal to the
@@ -1027,31 +905,31 @@ public interface PublishToPubSubOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub}
    */
-  public static final class PublishToPubSub extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PublishToPubSub extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishToPubSub)
       PublishToPubSubOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PublishToPubSub.newBuilder() to construct.
     private PublishToPubSub(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PublishToPubSub() {
       topic_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PublishToPubSub();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PublishToPubSub(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1070,52 +948,47 @@ private PublishToPubSub(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                topic_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              topic_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishToPubSub.class,
-              com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishToPubSub.class, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
     }
 
     public static final int TOPIC_FIELD_NUMBER = 1;
     private volatile java.lang.Object topic_;
     /**
-     *
-     *
      * 
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -1124,7 +997,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -1133,15 +1005,14 @@ 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; } } /** - * - * *
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -1150,15 +1021,16 @@ public java.lang.String getTopic() {
      * 
* * 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 { @@ -1167,7 +1039,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1179,7 +1050,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1203,15 +1075,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.privacy.dlp.v2.Action.PublishToPubSub)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Action.PublishToPubSub other = - (com.google.privacy.dlp.v2.Action.PublishToPubSub) obj; + com.google.privacy.dlp.v2.Action.PublishToPubSub other = (com.google.privacy.dlp.v2.Action.PublishToPubSub) obj; - if (!getTopic().equals(other.getTopic())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1231,93 +1103,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishToPubSub prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1327,8 +1193,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Publish a message into given Pub/Sub topic when DlpJob has completed. The
      * message contains a single field, `DlpJobName`, which is equal to the
@@ -1339,24 +1203,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishToPubSub)
         com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishToPubSub.class,
-                com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishToPubSub.class, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.PublishToPubSub.newBuilder()
@@ -1364,15 +1225,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1382,9 +1244,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
       }
 
       @java.lang.Override
@@ -1403,8 +1265,7 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishToPubSub buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishToPubSub result =
-            new com.google.privacy.dlp.v2.Action.PublishToPubSub(this);
+        com.google.privacy.dlp.v2.Action.PublishToPubSub result = new com.google.privacy.dlp.v2.Action.PublishToPubSub(this);
         result.topic_ = topic_;
         onBuilt();
         return result;
@@ -1414,41 +1275,38 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.PublishToPubSub) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1456,8 +1314,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToPubSub other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance()) return this;
         if (!other.getTopic().isEmpty()) {
           topic_ = other.topic_;
           onChanged();
@@ -1481,8 +1338,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.Action.PublishToPubSub) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishToPubSub) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1494,8 +1350,6 @@ public Builder mergeFrom(
 
       private java.lang.Object topic_ = "";
       /**
-       *
-       *
        * 
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1504,13 +1358,13 @@ public Builder mergeFrom(
        * 
* * 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; @@ -1519,8 +1373,6 @@ public java.lang.String getTopic() { } } /** - * - * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1529,14 +1381,15 @@ public java.lang.String getTopic() {
        * 
* * 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 { @@ -1544,8 +1397,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1554,22 +1405,20 @@ public com.google.protobuf.ByteString getTopicBytes() {
        * 
* * string topic = 1; - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1578,18 +1427,15 @@ public Builder setTopic(java.lang.String value) {
        * 
* * string topic = 1; - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1598,21 +1444,20 @@ public Builder clearTopic() {
        * 
* * string topic = 1; - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1625,12 +1470,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishToPubSub) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToPubSub) private static final com.google.privacy.dlp.v2.Action.PublishToPubSub DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishToPubSub(); } @@ -1639,16 +1484,16 @@ public static com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PublishToPubSub parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PublishToPubSub(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PublishToPubSub parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PublishToPubSub(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1663,15 +1508,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PublishSummaryToCsccOrBuilder - extends + public interface PublishSummaryToCsccOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishSummaryToCscc) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Publish the result summary of a DlpJob to the Cloud Security
    * Command Center (CSCC Alpha).
@@ -1687,29 +1531,30 @@ public interface PublishSummaryToCsccOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc}
    */
-  public static final class PublishSummaryToCscc extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PublishSummaryToCscc extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
       PublishSummaryToCsccOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PublishSummaryToCscc.newBuilder() to construct.
     private PublishSummaryToCscc(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private PublishSummaryToCscc() {}
+    private PublishSummaryToCscc() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PublishSummaryToCscc();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PublishSummaryToCscc(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1728,42 +1573,39 @@ private PublishSummaryToCscc(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class,
-              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1775,7 +1617,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -1793,13 +1636,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.privacy.dlp.v2.Action.PublishSummaryToCscc)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other =
-          (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) obj;
+      com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other = (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1818,94 +1660,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.Action.PublishSummaryToCscc prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1915,8 +1750,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Publish the result summary of a DlpJob to the Cloud Security
      * Command Center (CSCC Alpha).
@@ -1932,24 +1765,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
         com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class,
-                com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.newBuilder()
@@ -1957,15 +1787,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1973,9 +1804,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
       }
 
       @java.lang.Override
@@ -1994,8 +1825,7 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishSummaryToCscc result =
-            new com.google.privacy.dlp.v2.Action.PublishSummaryToCscc(this);
+        com.google.privacy.dlp.v2.Action.PublishSummaryToCscc result = new com.google.privacy.dlp.v2.Action.PublishSummaryToCscc(this);
         onBuilt();
         return result;
       }
@@ -2004,41 +1834,38 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.PublishSummaryToCscc) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2046,8 +1873,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -2067,8 +1893,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2077,7 +1902,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2090,12 +1914,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
     private static final com.google.privacy.dlp.v2.Action.PublishSummaryToCscc DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishSummaryToCscc();
     }
@@ -2104,16 +1928,16 @@ public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PublishSummaryToCscc parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new PublishSummaryToCscc(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PublishSummaryToCscc parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PublishSummaryToCscc(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2128,15 +1952,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface PublishFindingsToCloudDataCatalogOrBuilder
-      extends
+  public interface PublishFindingsToCloudDataCatalogOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Publish findings of a DlpJob to Data Catalog. Labels summarizing the
    * results of the DlpJob will be applied to the entry for the resource scanned
@@ -2152,31 +1975,30 @@ public interface PublishFindingsToCloudDataCatalogOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog}
    */
-  public static final class PublishFindingsToCloudDataCatalog
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PublishFindingsToCloudDataCatalog extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
       PublishFindingsToCloudDataCatalogOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PublishFindingsToCloudDataCatalog.newBuilder() to construct.
-    private PublishFindingsToCloudDataCatalog(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private PublishFindingsToCloudDataCatalog(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private PublishFindingsToCloudDataCatalog() {}
+    private PublishFindingsToCloudDataCatalog() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PublishFindingsToCloudDataCatalog();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PublishFindingsToCloudDataCatalog(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2195,42 +2017,39 @@ private PublishFindingsToCloudDataCatalog(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class,
-              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2242,7 +2061,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -2260,13 +2080,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other =
-          (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) obj;
+      com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other = (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2285,95 +2104,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2383,8 +2194,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Publish findings of a DlpJob to Data Catalog. Labels summarizing the
      * results of the DlpJob will be applied to the entry for the resource scanned
@@ -2400,41 +2209,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
         com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class,
-                com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
       }
 
-      // Construct using
-      // com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder()
+      // Construct using com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2442,16 +2248,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-          getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-            .getDefaultInstance();
+      public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -2465,8 +2269,7 @@ public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog build(
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog result =
-            new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog(this);
+        com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog result = new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog(this);
         onBuilt();
         return result;
       }
@@ -2475,53 +2278,46 @@ public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) {
-          return mergeFrom(
-              (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other) {
-        if (other
-            == com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other) {
+        if (other == com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -2541,9 +2337,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2552,7 +2346,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2565,32 +2358,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
-    private static final com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog();
     }
 
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PublishFindingsToCloudDataCatalog parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new PublishFindingsToCloudDataCatalog(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PublishFindingsToCloudDataCatalog parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PublishFindingsToCloudDataCatalog(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2602,19 +2393,17 @@ public com.google.protobuf.Parser getParserFo
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface JobNotificationEmailsOrBuilder
-      extends
+  public interface JobNotificationEmailsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.JobNotificationEmails)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Enable email notification to project owners and editors on jobs's
    * completion/failure.
@@ -2622,29 +2411,30 @@ public interface JobNotificationEmailsOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails}
    */
-  public static final class JobNotificationEmails extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class JobNotificationEmails extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.JobNotificationEmails)
       JobNotificationEmailsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use JobNotificationEmails.newBuilder() to construct.
     private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private JobNotificationEmails() {}
+    private JobNotificationEmails() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new JobNotificationEmails();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private JobNotificationEmails(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2663,42 +2453,39 @@ private JobNotificationEmails(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.JobNotificationEmails.class,
-              com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
+              com.google.privacy.dlp.v2.Action.JobNotificationEmails.class, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2710,7 +2497,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -2728,13 +2516,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.privacy.dlp.v2.Action.JobNotificationEmails)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.JobNotificationEmails other =
-          (com.google.privacy.dlp.v2.Action.JobNotificationEmails) obj;
+      com.google.privacy.dlp.v2.Action.JobNotificationEmails other = (com.google.privacy.dlp.v2.Action.JobNotificationEmails) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2753,94 +2540,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.Action.JobNotificationEmails prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.JobNotificationEmails prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2850,8 +2630,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Enable email notification to project owners and editors on jobs's
      * completion/failure.
@@ -2859,24 +2637,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.JobNotificationEmails)
         com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.JobNotificationEmails.class,
-                com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
+                com.google.privacy.dlp.v2.Action.JobNotificationEmails.class, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder()
@@ -2884,15 +2659,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2900,9 +2676,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
       }
 
       @java.lang.Override
@@ -2921,8 +2697,7 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.JobNotificationEmails buildPartial() {
-        com.google.privacy.dlp.v2.Action.JobNotificationEmails result =
-            new com.google.privacy.dlp.v2.Action.JobNotificationEmails(this);
+        com.google.privacy.dlp.v2.Action.JobNotificationEmails result = new com.google.privacy.dlp.v2.Action.JobNotificationEmails(this);
         onBuilt();
         return result;
       }
@@ -2931,41 +2706,38 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.JobNotificationEmails) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2973,8 +2745,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.JobNotificationEmails other) {
-        if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -2994,8 +2765,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3004,7 +2774,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3017,12 +2786,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.JobNotificationEmails)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.JobNotificationEmails)
     private static final com.google.privacy.dlp.v2.Action.JobNotificationEmails DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.JobNotificationEmails();
     }
@@ -3031,16 +2800,16 @@ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public JobNotificationEmails parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new JobNotificationEmails(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public JobNotificationEmails parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new JobNotificationEmails(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3055,15 +2824,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface PublishToStackdriverOrBuilder
-      extends
+  public interface PublishToStackdriverOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToStackdriver)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
    * will publish a metric to stack driver on each infotype requested and
@@ -3073,29 +2841,30 @@ public interface PublishToStackdriverOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver}
    */
-  public static final class PublishToStackdriver extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PublishToStackdriver extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishToStackdriver)
       PublishToStackdriverOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PublishToStackdriver.newBuilder() to construct.
     private PublishToStackdriver(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private PublishToStackdriver() {}
+    private PublishToStackdriver() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PublishToStackdriver();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PublishToStackdriver(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3114,42 +2883,39 @@ private PublishToStackdriver(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishToStackdriver.class,
-              com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishToStackdriver.class, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3161,7 +2927,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -3179,13 +2946,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.privacy.dlp.v2.Action.PublishToStackdriver)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.PublishToStackdriver other =
-          (com.google.privacy.dlp.v2.Action.PublishToStackdriver) obj;
+      com.google.privacy.dlp.v2.Action.PublishToStackdriver other = (com.google.privacy.dlp.v2.Action.PublishToStackdriver) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -3204,94 +2970,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.Action.PublishToStackdriver prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishToStackdriver prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3301,8 +3060,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
      * will publish a metric to stack driver on each infotype requested and
@@ -3312,24 +3069,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishToStackdriver)
         com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishToStackdriver.class,
-                com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishToStackdriver.class, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder()
@@ -3337,15 +3091,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3353,9 +3108,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
       }
 
       @java.lang.Override
@@ -3374,8 +3129,7 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishToStackdriver buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishToStackdriver result =
-            new com.google.privacy.dlp.v2.Action.PublishToStackdriver(this);
+        com.google.privacy.dlp.v2.Action.PublishToStackdriver result = new com.google.privacy.dlp.v2.Action.PublishToStackdriver(this);
         onBuilt();
         return result;
       }
@@ -3384,41 +3138,38 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.PublishToStackdriver) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3426,8 +3177,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToStackdriver other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -3447,8 +3197,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.Action.PublishToStackdriver) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishToStackdriver) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3457,7 +3206,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3470,12 +3218,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishToStackdriver)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToStackdriver)
     private static final com.google.privacy.dlp.v2.Action.PublishToStackdriver DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishToStackdriver();
     }
@@ -3484,16 +3232,16 @@ public static com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PublishToStackdriver parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new PublishToStackdriver(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PublishToStackdriver parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PublishToStackdriver(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3508,14 +3256,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int actionCase_ = 0;
   private java.lang.Object action_;
-
   public enum ActionCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SAVE_FINDINGS(1),
     PUB_SUB(2),
@@ -3525,7 +3272,6 @@ public enum ActionCase
     PUBLISH_TO_STACKDRIVER(9),
     ACTION_NOT_SET(0);
     private final int value;
-
     private ActionCase(int value) {
       this.value = value;
     }
@@ -3541,44 +3287,34 @@ public static ActionCase valueOf(int value) {
 
     public static ActionCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return SAVE_FINDINGS;
-        case 2:
-          return PUB_SUB;
-        case 3:
-          return PUBLISH_SUMMARY_TO_CSCC;
-        case 5:
-          return PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG;
-        case 8:
-          return JOB_NOTIFICATION_EMAILS;
-        case 9:
-          return PUBLISH_TO_STACKDRIVER;
-        case 0:
-          return ACTION_NOT_SET;
-        default:
-          return null;
+        case 1: return SAVE_FINDINGS;
+        case 2: return PUB_SUB;
+        case 3: return PUBLISH_SUMMARY_TO_CSCC;
+        case 5: return PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG;
+        case 8: return JOB_NOTIFICATION_EMAILS;
+        case 9: return PUBLISH_TO_STACKDRIVER;
+        case 0: return ACTION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ActionCase getActionCase() {
-    return ActionCase.forNumber(actionCase_);
+  public ActionCase
+  getActionCase() {
+    return ActionCase.forNumber(
+        actionCase_);
   }
 
   public static final int SAVE_FINDINGS_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - * * @return Whether the saveFindings field is set. */ @java.lang.Override @@ -3586,26 +3322,21 @@ public boolean hasSaveFindings() { return actionCase_ == 1; } /** - * - * *
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - * * @return The saveFindings. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; } return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); } /** - * - * *
    * Save resulting findings in a provided location.
    * 
@@ -3615,21 +3346,18 @@ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { @java.lang.Override public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; } return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); } public static final int PUB_SUB_FIELD_NUMBER = 2; /** - * - * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - * * @return Whether the pubSub field is set. */ @java.lang.Override @@ -3637,26 +3365,21 @@ public boolean hasPubSub() { return actionCase_ == 2; } /** - * - * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - * * @return The pubSub. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; } return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); } /** - * - * *
    * Publish a notification to a pubsub topic.
    * 
@@ -3666,21 +3389,18 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; } return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); } public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER = 3; /** - * - * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - * * @return Whether the publishSummaryToCscc field is set. */ @java.lang.Override @@ -3688,26 +3408,21 @@ public boolean hasPublishSummaryToCscc() { return actionCase_ == 3; } /** - * - * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - * * @return The publishSummaryToCscc. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() { if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; } return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); } /** - * - * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
@@ -3715,26 +3430,20 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder - getPublishSummaryToCsccOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder() { if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; } return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); } public static final int PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER = 5; /** - * - * *
    * Publish findings to Cloud Datahub.
    * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; * @return Whether the publishFindingsToCloudDataCatalog field is set. */ @java.lang.Override @@ -3742,57 +3451,43 @@ public boolean hasPublishFindingsToCloudDataCatalog() { return actionCase_ == 5; } /** - * - * *
    * Publish findings to Cloud Datahub.
    * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; * @return The publishFindingsToCloudDataCatalog. */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - getPublishFindingsToCloudDataCatalog() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog() { if (actionCase_ == 5) { - return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; + return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } /** - * - * *
    * Publish findings to Cloud Datahub.
    * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder - getPublishFindingsToCloudDataCatalogOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder() { if (actionCase_ == 5) { - return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; + return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER = 8; /** - * - * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - * * @return Whether the jobNotificationEmails field is set. */ @java.lang.Override @@ -3800,27 +3495,22 @@ public boolean hasJobNotificationEmails() { return actionCase_ == 8; } /** - * - * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - * * @return The jobNotificationEmails. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() { if (actionCase_ == 8) { - return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; } return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); } /** - * - * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
@@ -3829,24 +3519,20 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
    * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
-      getJobNotificationEmailsOrBuilder() {
+  public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder() {
     if (actionCase_ == 8) {
-      return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
+       return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
     }
     return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
   }
 
   public static final int PUBLISH_TO_STACKDRIVER_FIELD_NUMBER = 9;
   /**
-   *
-   *
    * 
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - * * @return Whether the publishToStackdriver field is set. */ @java.lang.Override @@ -3854,26 +3540,21 @@ public boolean hasPublishToStackdriver() { return actionCase_ == 9; } /** - * - * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - * * @return The publishToStackdriver. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() { if (actionCase_ == 9) { - return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; } return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); } /** - * - * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
@@ -3881,16 +3562,14 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdr * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder - getPublishToStackdriverOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder() { if (actionCase_ == 9) { - return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; } return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3902,7 +3581,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (actionCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); } @@ -3913,8 +3593,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); } if (actionCase_ == 5) { - output.writeMessage( - 5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); + output.writeMessage(5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); } if (actionCase_ == 8) { output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); @@ -3932,34 +3611,28 @@ public int getSerializedSize() { size = 0; if (actionCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); } if (actionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); } if (actionCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); } if (actionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); } if (actionCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); } if (actionCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3969,7 +3642,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.privacy.dlp.v2.Action)) { return super.equals(obj); @@ -3979,23 +3652,28 @@ public boolean equals(final java.lang.Object obj) { if (!getActionCase().equals(other.getActionCase())) return false; switch (actionCase_) { case 1: - if (!getSaveFindings().equals(other.getSaveFindings())) return false; + if (!getSaveFindings() + .equals(other.getSaveFindings())) return false; break; case 2: - if (!getPubSub().equals(other.getPubSub())) return false; + if (!getPubSub() + .equals(other.getPubSub())) return false; break; case 3: - if (!getPublishSummaryToCscc().equals(other.getPublishSummaryToCscc())) return false; + if (!getPublishSummaryToCscc() + .equals(other.getPublishSummaryToCscc())) return false; break; case 5: if (!getPublishFindingsToCloudDataCatalog() .equals(other.getPublishFindingsToCloudDataCatalog())) return false; break; case 8: - if (!getJobNotificationEmails().equals(other.getJobNotificationEmails())) return false; + if (!getJobNotificationEmails() + .equals(other.getJobNotificationEmails())) return false; break; case 9: - if (!getPublishToStackdriver().equals(other.getPublishToStackdriver())) return false; + if (!getPublishToStackdriver() + .equals(other.getPublishToStackdriver())) return false; break; case 0: default: @@ -4044,103 +3722,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Action parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Action parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Action parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Action parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Action parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action 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.privacy.dlp.v2.Action parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Action parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Action prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 task to execute on the completion of a job.
    * See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
@@ -4148,23 +3820,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action)
       com.google.privacy.dlp.v2.ActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.class,
-              com.google.privacy.dlp.v2.Action.Builder.class);
+              com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.Action.newBuilder()
@@ -4172,15 +3842,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4190,9 +3861,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Action_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_descriptor;
     }
 
     @java.lang.Override
@@ -4263,39 +3934,38 @@ public com.google.privacy.dlp.v2.Action buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Action) {
-        return mergeFrom((com.google.privacy.dlp.v2.Action) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Action)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4305,40 +3975,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.Action other) {
       if (other == com.google.privacy.dlp.v2.Action.getDefaultInstance()) return this;
       switch (other.getActionCase()) {
-        case SAVE_FINDINGS:
-          {
-            mergeSaveFindings(other.getSaveFindings());
-            break;
-          }
-        case PUB_SUB:
-          {
-            mergePubSub(other.getPubSub());
-            break;
-          }
-        case PUBLISH_SUMMARY_TO_CSCC:
-          {
-            mergePublishSummaryToCscc(other.getPublishSummaryToCscc());
-            break;
-          }
-        case PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG:
-          {
-            mergePublishFindingsToCloudDataCatalog(other.getPublishFindingsToCloudDataCatalog());
-            break;
-          }
-        case JOB_NOTIFICATION_EMAILS:
-          {
-            mergeJobNotificationEmails(other.getJobNotificationEmails());
-            break;
-          }
-        case PUBLISH_TO_STACKDRIVER:
-          {
-            mergePublishToStackdriver(other.getPublishToStackdriver());
-            break;
-          }
-        case ACTION_NOT_SET:
-          {
-            break;
-          }
+        case SAVE_FINDINGS: {
+          mergeSaveFindings(other.getSaveFindings());
+          break;
+        }
+        case PUB_SUB: {
+          mergePubSub(other.getPubSub());
+          break;
+        }
+        case PUBLISH_SUMMARY_TO_CSCC: {
+          mergePublishSummaryToCscc(other.getPublishSummaryToCscc());
+          break;
+        }
+        case PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG: {
+          mergePublishFindingsToCloudDataCatalog(other.getPublishFindingsToCloudDataCatalog());
+          break;
+        }
+        case JOB_NOTIFICATION_EMAILS: {
+          mergeJobNotificationEmails(other.getJobNotificationEmails());
+          break;
+        }
+        case PUBLISH_TO_STACKDRIVER: {
+          mergePublishToStackdriver(other.getPublishToStackdriver());
+          break;
+        }
+        case ACTION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -4368,12 +4031,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int actionCase_ = 0;
     private java.lang.Object action_;
-
-    public ActionCase getActionCase() {
-      return ActionCase.forNumber(actionCase_);
+    public ActionCase
+        getActionCase() {
+      return ActionCase.forNumber(
+          actionCase_);
     }
 
     public Builder clearAction() {
@@ -4383,20 +4046,15 @@ public Builder clearAction() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Action.SaveFindings,
-            com.google.privacy.dlp.v2.Action.SaveFindings.Builder,
-            com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder>
-        saveFindingsBuilder_;
+        com.google.privacy.dlp.v2.Action.SaveFindings, com.google.privacy.dlp.v2.Action.SaveFindings.Builder, com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder> saveFindingsBuilder_;
     /**
-     *
-     *
      * 
      * Save resulting findings in a provided location.
      * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - * * @return Whether the saveFindings field is set. */ @java.lang.Override @@ -4404,14 +4062,11 @@ public boolean hasSaveFindings() { return actionCase_ == 1; } /** - * - * *
      * Save resulting findings in a provided location.
      * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - * * @return The saveFindings. */ @java.lang.Override @@ -4429,8 +4084,6 @@ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { } } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4451,8 +4104,6 @@ public Builder setSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings val return this; } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4471,8 +4122,6 @@ public Builder setSaveFindings( return this; } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4481,13 +4130,10 @@ public Builder setSaveFindings( */ public Builder mergeSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings value) { if (saveFindingsBuilder_ == null) { - if (actionCase_ == 1 - && action_ != com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.Action.SaveFindings.newBuilder( - (com.google.privacy.dlp.v2.Action.SaveFindings) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 1 && + action_ != com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.Action.SaveFindings.newBuilder((com.google.privacy.dlp.v2.Action.SaveFindings) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4502,8 +4148,6 @@ public Builder mergeSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings v return this; } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4527,8 +4171,6 @@ public Builder clearSaveFindings() { return this; } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4539,8 +4181,6 @@ public com.google.privacy.dlp.v2.Action.SaveFindings.Builder getSaveFindingsBuil return getSaveFindingsFieldBuilder().getBuilder(); } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4559,8 +4199,6 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB } } /** - * - * *
      * Save resulting findings in a provided location.
      * 
@@ -4568,44 +4206,32 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.SaveFindings, - com.google.privacy.dlp.v2.Action.SaveFindings.Builder, - com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder> + com.google.privacy.dlp.v2.Action.SaveFindings, com.google.privacy.dlp.v2.Action.SaveFindings.Builder, com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder> getSaveFindingsFieldBuilder() { if (saveFindingsBuilder_ == null) { if (!(actionCase_ == 1)) { action_ = com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); } - saveFindingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.SaveFindings, - com.google.privacy.dlp.v2.Action.SaveFindings.Builder, - com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder>( + saveFindingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.SaveFindings, com.google.privacy.dlp.v2.Action.SaveFindings.Builder, com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder>( (com.google.privacy.dlp.v2.Action.SaveFindings) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 1; - onChanged(); - ; + onChanged();; return saveFindingsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToPubSub, - com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, - com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> - pubSubBuilder_; + com.google.privacy.dlp.v2.Action.PublishToPubSub, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> pubSubBuilder_; /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - * * @return Whether the pubSub field is set. */ @java.lang.Override @@ -4613,14 +4239,11 @@ public boolean hasPubSub() { return actionCase_ == 2; } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - * * @return The pubSub. */ @java.lang.Override @@ -4638,8 +4261,6 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { } } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4660,8 +4281,6 @@ public Builder setPubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) return this; } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4680,8 +4299,6 @@ public Builder setPubSub( return this; } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4690,13 +4307,10 @@ public Builder setPubSub( */ public Builder mergePubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) { if (pubSubBuilder_ == null) { - if (actionCase_ == 2 - && action_ != com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.Action.PublishToPubSub.newBuilder( - (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 2 && + action_ != com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.Action.PublishToPubSub.newBuilder((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4711,8 +4325,6 @@ public Builder mergePubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub valu return this; } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4736,8 +4348,6 @@ public Builder clearPubSub() { return this; } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4748,8 +4358,6 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder getPubSubBuilder return getPubSubFieldBuilder().getBuilder(); } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4768,8 +4376,6 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil } } /** - * - * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4777,44 +4383,32 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToPubSub, - com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, - com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> + com.google.privacy.dlp.v2.Action.PublishToPubSub, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> getPubSubFieldBuilder() { if (pubSubBuilder_ == null) { if (!(actionCase_ == 2)) { action_ = com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); } - pubSubBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToPubSub, - com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, - com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder>( + pubSubBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToPubSub, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 2; - onChanged(); - ; + onChanged();; return pubSubBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, - com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> - publishSummaryToCsccBuilder_; + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> publishSummaryToCsccBuilder_; /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - * * @return Whether the publishSummaryToCscc field is set. */ @java.lang.Override @@ -4822,14 +4416,11 @@ public boolean hasPublishSummaryToCscc() { return actionCase_ == 3; } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - * * @return The publishSummaryToCscc. */ @java.lang.Override @@ -4847,16 +4438,13 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo } } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ - public Builder setPublishSummaryToCscc( - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { + public Builder setPublishSummaryToCscc(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { if (publishSummaryToCsccBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4870,8 +4458,6 @@ public Builder setPublishSummaryToCscc( return this; } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4890,25 +4476,18 @@ public Builder setPublishSummaryToCscc( return this; } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ - public Builder mergePublishSummaryToCscc( - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { + public Builder mergePublishSummaryToCscc(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { if (publishSummaryToCsccBuilder_ == null) { - if (actionCase_ == 3 - && action_ - != com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.newBuilder( - (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 3 && + action_ != com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.newBuilder((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4923,8 +4502,6 @@ public Builder mergePublishSummaryToCscc( return this; } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4948,21 +4525,16 @@ public Builder clearPublishSummaryToCscc() { return this; } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ - public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder - getPublishSummaryToCsccBuilder() { + public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder getPublishSummaryToCsccBuilder() { return getPublishSummaryToCsccFieldBuilder().getBuilder(); } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4970,8 +4542,7 @@ public Builder clearPublishSummaryToCscc() { * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder - getPublishSummaryToCsccOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder() { if ((actionCase_ == 3) && (publishSummaryToCsccBuilder_ != null)) { return publishSummaryToCsccBuilder_.getMessageOrBuilder(); } else { @@ -4982,8 +4553,6 @@ public Builder clearPublishSummaryToCscc() { } } /** - * - * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4991,46 +4560,32 @@ public Builder clearPublishSummaryToCscc() { * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, - com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> getPublishSummaryToCsccFieldBuilder() { if (publishSummaryToCsccBuilder_ == null) { if (!(actionCase_ == 3)) { action_ = com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); } - publishSummaryToCsccBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, - com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder>( + publishSummaryToCsccBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 3; - onChanged(); - ; + onChanged();; return publishSummaryToCsccBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> - publishFindingsToCloudDataCatalogBuilder_; + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> publishFindingsToCloudDataCatalogBuilder_; /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; * @return Whether the publishFindingsToCloudDataCatalog field is set. */ @java.lang.Override @@ -5038,48 +4593,35 @@ public boolean hasPublishFindingsToCloudDataCatalog() { return actionCase_ == 5; } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; * @return The publishFindingsToCloudDataCatalog. */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - getPublishFindingsToCloudDataCatalog() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog() { if (publishFindingsToCloudDataCatalogBuilder_ == null) { if (actionCase_ == 5) { return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - .getDefaultInstance(); + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } else { if (actionCase_ == 5) { return publishFindingsToCloudDataCatalogBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - .getDefaultInstance(); + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ - public Builder setPublishFindingsToCloudDataCatalog( - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { + public Builder setPublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { if (publishFindingsToCloudDataCatalogBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5093,19 +4635,14 @@ public Builder setPublishFindingsToCloudDataCatalog( return this; } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ public Builder setPublishFindingsToCloudDataCatalog( - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder - builderForValue) { + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder builderForValue) { if (publishFindingsToCloudDataCatalogBuilder_ == null) { action_ = builderForValue.build(); onChanged(); @@ -5116,28 +4653,18 @@ public Builder setPublishFindingsToCloudDataCatalog( return this; } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ - public Builder mergePublishFindingsToCloudDataCatalog( - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { + public Builder mergePublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { if (publishFindingsToCloudDataCatalogBuilder_ == null) { - if (actionCase_ == 5 - && action_ - != com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - .getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder( - (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 5 && + action_ != com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5152,15 +4679,11 @@ public Builder mergePublishFindingsToCloudDataCatalog( return this; } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ public Builder clearPublishFindingsToCloudDataCatalog() { if (publishFindingsToCloudDataCatalogBuilder_ == null) { @@ -5179,97 +4702,68 @@ public Builder clearPublishFindingsToCloudDataCatalog() { return this; } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder - getPublishFindingsToCloudDataCatalogBuilder() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder getPublishFindingsToCloudDataCatalogBuilder() { return getPublishFindingsToCloudDataCatalogFieldBuilder().getBuilder(); } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder - getPublishFindingsToCloudDataCatalogOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder() { if ((actionCase_ == 5) && (publishFindingsToCloudDataCatalogBuilder_ != null)) { return publishFindingsToCloudDataCatalogBuilder_.getMessageOrBuilder(); } else { if (actionCase_ == 5) { return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - .getDefaultInstance(); + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } } /** - * - * *
      * Publish findings to Cloud Datahub.
      * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> getPublishFindingsToCloudDataCatalogFieldBuilder() { if (publishFindingsToCloudDataCatalogBuilder_ == null) { if (!(actionCase_ == 5)) { - action_ = - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - .getDefaultInstance(); + action_ = com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } - publishFindingsToCloudDataCatalogBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder>( + publishFindingsToCloudDataCatalogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 5; - onChanged(); - ; + onChanged();; return publishFindingsToCloudDataCatalogBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.JobNotificationEmails, - com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, - com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> - jobNotificationEmailsBuilder_; + com.google.privacy.dlp.v2.Action.JobNotificationEmails, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> jobNotificationEmailsBuilder_; /** - * - * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
      * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - * * @return Whether the jobNotificationEmails field is set. */ @java.lang.Override @@ -5277,15 +4771,12 @@ public boolean hasJobNotificationEmails() { return actionCase_ == 8; } /** - * - * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
      * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - * * @return The jobNotificationEmails. */ @java.lang.Override @@ -5303,8 +4794,6 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification } } /** - * - * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5312,8 +4801,7 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
      *
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
-    public Builder setJobNotificationEmails(
-        com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
+    public Builder setJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
       if (jobNotificationEmailsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5327,8 +4815,6 @@ public Builder setJobNotificationEmails(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5348,8 +4834,6 @@ public Builder setJobNotificationEmails(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5357,17 +4841,12 @@ public Builder setJobNotificationEmails(
      *
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
-    public Builder mergeJobNotificationEmails(
-        com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
+    public Builder mergeJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
       if (jobNotificationEmailsBuilder_ == null) {
-        if (actionCase_ == 8
-            && action_
-                != com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) {
-          action_ =
-              com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder(
-                      (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (actionCase_ == 8 &&
+            action_ != com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) {
+          action_ = com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_)
+              .mergeFrom(value).buildPartial();
         } else {
           action_ = value;
         }
@@ -5382,8 +4861,6 @@ public Builder mergeJobNotificationEmails(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5408,8 +4885,6 @@ public Builder clearJobNotificationEmails() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5417,13 +4892,10 @@ public Builder clearJobNotificationEmails() {
      *
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
-    public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder
-        getJobNotificationEmailsBuilder() {
+    public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder getJobNotificationEmailsBuilder() {
       return getJobNotificationEmailsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5432,8 +4904,7 @@ public Builder clearJobNotificationEmails() {
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
-        getJobNotificationEmailsOrBuilder() {
+    public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder() {
       if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) {
         return jobNotificationEmailsBuilder_.getMessageOrBuilder();
       } else {
@@ -5444,8 +4915,6 @@ public Builder clearJobNotificationEmails() {
       }
     }
     /**
-     *
-     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -5454,44 +4923,32 @@ public Builder clearJobNotificationEmails() {
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Action.JobNotificationEmails,
-            com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
-            com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>
+        com.google.privacy.dlp.v2.Action.JobNotificationEmails, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> 
         getJobNotificationEmailsFieldBuilder() {
       if (jobNotificationEmailsBuilder_ == null) {
         if (!(actionCase_ == 8)) {
           action_ = com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
         }
-        jobNotificationEmailsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.Action.JobNotificationEmails,
-                com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
-                com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>(
+        jobNotificationEmailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.Action.JobNotificationEmails, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>(
                 (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_,
                 getParentForChildren(),
                 isClean());
         action_ = null;
       }
       actionCase_ = 8;
-      onChanged();
-      ;
+      onChanged();;
       return jobNotificationEmailsBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Action.PublishToStackdriver,
-            com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder,
-            com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>
-        publishToStackdriverBuilder_;
+        com.google.privacy.dlp.v2.Action.PublishToStackdriver, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> publishToStackdriverBuilder_;
     /**
-     *
-     *
      * 
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - * * @return Whether the publishToStackdriver field is set. */ @java.lang.Override @@ -5499,14 +4956,11 @@ public boolean hasPublishToStackdriver() { return actionCase_ == 9; } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - * * @return The publishToStackdriver. */ @java.lang.Override @@ -5524,16 +4978,13 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdr } } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ - public Builder setPublishToStackdriver( - com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { + public Builder setPublishToStackdriver(com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { if (publishToStackdriverBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5547,8 +4998,6 @@ public Builder setPublishToStackdriver( return this; } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5567,25 +5016,18 @@ public Builder setPublishToStackdriver( return this; } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ - public Builder mergePublishToStackdriver( - com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { + public Builder mergePublishToStackdriver(com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { if (publishToStackdriverBuilder_ == null) { - if (actionCase_ == 9 - && action_ - != com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder( - (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 9 && + action_ != com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5600,8 +5042,6 @@ public Builder mergePublishToStackdriver( return this; } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5625,21 +5065,16 @@ public Builder clearPublishToStackdriver() { return this; } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ - public com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder - getPublishToStackdriverBuilder() { + public com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder getPublishToStackdriverBuilder() { return getPublishToStackdriverFieldBuilder().getBuilder(); } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5647,8 +5082,7 @@ public Builder clearPublishToStackdriver() { * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder - getPublishToStackdriverOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder() { if ((actionCase_ == 9) && (publishToStackdriverBuilder_ != null)) { return publishToStackdriverBuilder_.getMessageOrBuilder(); } else { @@ -5659,8 +5093,6 @@ public Builder clearPublishToStackdriver() { } } /** - * - * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5668,32 +5100,26 @@ public Builder clearPublishToStackdriver() { * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToStackdriver, - com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, - com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> + com.google.privacy.dlp.v2.Action.PublishToStackdriver, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> getPublishToStackdriverFieldBuilder() { if (publishToStackdriverBuilder_ == null) { if (!(actionCase_ == 9)) { action_ = com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); } - publishToStackdriverBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToStackdriver, - com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, - com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>( + publishToStackdriverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToStackdriver, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 9; - onChanged(); - ; + onChanged();; return publishToStackdriverBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5703,12 +5129,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action) private static final com.google.privacy.dlp.v2.Action DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action(); } @@ -5717,16 +5143,16 @@ public static com.google.privacy.dlp.v2.Action getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Action parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Action(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Action parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Action(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5741,4 +5167,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java similarity index 78% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java index b0179083..6375a7b5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ActionOrBuilder - extends +public interface ActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - * * @return Whether the saveFindings field is set. */ boolean hasSaveFindings(); /** - * - * *
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - * * @return The saveFindings. */ com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings(); /** - * - * *
    * Save resulting findings in a provided location.
    * 
@@ -59,32 +35,24 @@ public interface ActionOrBuilder com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder(); /** - * - * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - * * @return Whether the pubSub field is set. */ boolean hasPubSub(); /** - * - * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - * * @return The pubSub. */ com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub(); /** - * - * *
    * Publish a notification to a pubsub topic.
    * 
@@ -94,32 +62,24 @@ public interface ActionOrBuilder com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder(); /** - * - * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - * * @return Whether the publishSummaryToCscc field is set. */ boolean hasPublishSummaryToCscc(); /** - * - * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - * * @return The publishSummaryToCscc. */ com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc(); /** - * - * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
@@ -129,77 +89,53 @@ public interface ActionOrBuilder com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder(); /** - * - * *
    * Publish findings to Cloud Datahub.
    * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; * @return Whether the publishFindingsToCloudDataCatalog field is set. */ boolean hasPublishFindingsToCloudDataCatalog(); /** - * - * *
    * Publish findings to Cloud Datahub.
    * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; * @return The publishFindingsToCloudDataCatalog. */ - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - getPublishFindingsToCloudDataCatalog(); + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog(); /** - * - * *
    * Publish findings to Cloud Datahub.
    * 
* - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; */ - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder - getPublishFindingsToCloudDataCatalogOrBuilder(); + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder(); /** - * - * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - * * @return Whether the jobNotificationEmails field is set. */ boolean hasJobNotificationEmails(); /** - * - * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - * * @return The jobNotificationEmails. */ com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails(); /** - * - * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
@@ -207,36 +143,27 @@ public interface ActionOrBuilder
    *
    * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
    */
-  com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
-      getJobNotificationEmailsOrBuilder();
+  com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - * * @return Whether the publishToStackdriver field is set. */ boolean hasPublishToStackdriver(); /** - * - * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - * * @return The publishToStackdriver. */ com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver(); /** - * - * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java index 42375bc6..61855ec3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for ActivateJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest} */ -public final class ActivateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ActivateJobTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest) ActivateJobTriggerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ActivateJobTriggerRequest.newBuilder() to construct. private ActivateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ActivateJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ActivateJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ActivateJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private ActivateJobTriggerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ActivateJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ActivateJobTriggerRequest other = - (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) obj; + com.google.privacy.dlp.v2.ActivateJobTriggerRequest other = (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ActivateJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ActivateJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest) com.google.privacy.dlp.v2.ActivateJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ActivateJobTriggerRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ActivateJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = - new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(this); + com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ActivateJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ActivateJobTriggerRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ActivateJobTriggerRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ActivateJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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; @@ -511,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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 { @@ -536,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) private static final com.google.privacy.dlp.v2.ActivateJobTriggerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(); } @@ -630,16 +571,16 @@ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActivateJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ActivateJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActivateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ActivateJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java new file mode 100644 index 00000000..0b4eeaa4 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface ActivateJobTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ActivateJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java similarity index 62% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java index 53f358f8..45d09f4b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Result of a risk analysis operation request.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails} */ -public final class AnalyzeDataSourceRiskDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalyzeDataSourceRiskDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) AnalyzeDataSourceRiskDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalyzeDataSourceRiskDetails.newBuilder() to construct. private AnalyzeDataSourceRiskDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnalyzeDataSourceRiskDetails() {} + private AnalyzeDataSourceRiskDetails() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalyzeDataSourceRiskDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnalyzeDataSourceRiskDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,271 +52,184 @@ private AnalyzeDataSourceRiskDetails( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null; - if (requestedPrivacyMetric_ != null) { - subBuilder = requestedPrivacyMetric_.toBuilder(); - } - requestedPrivacyMetric_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedPrivacyMetric_); - requestedPrivacyMetric_ = subBuilder.buildPartial(); - } + case 10: { + com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null; + if (requestedPrivacyMetric_ != null) { + subBuilder = requestedPrivacyMetric_.toBuilder(); + } + requestedPrivacyMetric_ = input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedPrivacyMetric_); + requestedPrivacyMetric_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (requestedSourceTable_ != null) { + subBuilder = requestedSourceTable_.toBuilder(); + } + requestedSourceTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedSourceTable_); + requestedSourceTable_ = subBuilder.buildPartial(); } - case 18: - { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (requestedSourceTable_ != null) { - subBuilder = requestedSourceTable_.toBuilder(); - } - requestedSourceTable_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedSourceTable_); - requestedSourceTable_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder subBuilder = null; + if (resultCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder - subBuilder = null; - if (resultCase_ == 3) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_) - .toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 3; - break; + result_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); + result_ = subBuilder.buildPartial(); } - case 34: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder - subBuilder = null; - if (resultCase_ == 4) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_) - .toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 4; - break; + resultCase_ = 3; + break; + } + case 34: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder subBuilder = null; + if (resultCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_).toBuilder(); } - case 42: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder - subBuilder = null; - if (resultCase_ == 5) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) - result_) - .toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) - result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 5; - break; + result_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); + result_ = subBuilder.buildPartial(); } - case 50: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder - subBuilder = null; - if (resultCase_ == 6) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) - result_) - .toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) - result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 6; - break; + resultCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder subBuilder = null; + if (resultCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_).toBuilder(); } - case 58: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder - subBuilder = null; - if (resultCase_ == 7) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_) - .toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 7; - break; + result_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); + result_ = subBuilder.buildPartial(); } - case 74: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder - subBuilder = null; - if (resultCase_ == 9) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult) - result_) - .toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult) - result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 9; - break; + resultCase_ = 5; + break; + } + case 50: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder subBuilder = null; + if (resultCase_ == 6) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_).toBuilder(); } - case 82: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder - subBuilder = null; - if (requestedOptions_ != null) { - subBuilder = requestedOptions_.toBuilder(); - } - requestedOptions_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedOptions_); - requestedOptions_ = subBuilder.buildPartial(); - } - - break; + result_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); + result_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resultCase_ = 6; + break; + } + case 58: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder subBuilder = null; + if (resultCase_ == 7) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_).toBuilder(); + } + result_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 7; + break; + } + case 74: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder subBuilder = null; + if (resultCase_ == 9) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_).toBuilder(); + } + result_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 9; + break; + } + case 82: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder subBuilder = null; + if (requestedOptions_ != null) { + subBuilder = requestedOptions_.toBuilder(); + } + requestedOptions_ = input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedOptions_); + requestedOptions_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); } - public interface NumericalStatsResultOrBuilder - extends + public interface NumericalStatsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; - * * @return The minValue. */ com.google.privacy.dlp.v2.Value getMinValue(); /** - * - * *
      * Minimum value appearing in the column.
      * 
@@ -342,32 +239,24 @@ public interface NumericalStatsResultOrBuilder com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder(); /** - * - * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; - * * @return The maxValue. */ com.google.privacy.dlp.v2.Value getMaxValue(); /** - * - * *
      * Maximum value appearing in the column.
      * 
@@ -377,8 +266,6 @@ public interface NumericalStatsResultOrBuilder com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder(); /** - * - * *
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -386,10 +273,9 @@ public interface NumericalStatsResultOrBuilder
      *
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
-    java.util.List getQuantileValuesList();
+    java.util.List 
+        getQuantileValuesList();
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -399,8 +285,6 @@ public interface NumericalStatsResultOrBuilder
      */
     com.google.privacy.dlp.v2.Value getQuantileValues(int index);
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -410,8 +294,6 @@ public interface NumericalStatsResultOrBuilder
      */
     int getQuantileValuesCount();
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -419,11 +301,9 @@ public interface NumericalStatsResultOrBuilder
      *
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
-    java.util.List
+    java.util.List 
         getQuantileValuesOrBuilderList();
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -431,42 +311,41 @@ public interface NumericalStatsResultOrBuilder
      *
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
-    com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index);
+    com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Result of the numerical stats computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult} */ - public static final class NumericalStatsResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NumericalStatsResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) NumericalStatsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericalStatsResult.newBuilder() to construct. private NumericalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericalStatsResult() { quantileValues_ = 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 NumericalStatsResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NumericalStatsResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -486,59 +365,55 @@ private NumericalStatsResult( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (minValue_ != null) { - subBuilder = minValue_.toBuilder(); - } - minValue_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(minValue_); - minValue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (minValue_ != null) { + subBuilder = minValue_.toBuilder(); + } + minValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(minValue_); + minValue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (maxValue_ != null) { - subBuilder = maxValue_.toBuilder(); - } - maxValue_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maxValue_); - maxValue_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (maxValue_ != null) { + subBuilder = maxValue_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quantileValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quantileValues_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; + maxValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maxValue_); + maxValue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quantileValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } + quantileValues_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_); @@ -547,34 +422,27 @@ private NumericalStatsResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value minValue_; /** - * - * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -582,14 +450,11 @@ public boolean hasMinValue() { return minValue_ != null; } /** - * - * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; - * * @return The minValue. */ @java.lang.Override @@ -597,8 +462,6 @@ public com.google.privacy.dlp.v2.Value getMinValue() { return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_; } /** - * - * *
      * Minimum value appearing in the column.
      * 
@@ -613,14 +476,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.Value maxValue_; /** - * - * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -628,14 +488,11 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** - * - * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; - * * @return The maxValue. */ @java.lang.Override @@ -643,8 +500,6 @@ public com.google.privacy.dlp.v2.Value getMaxValue() { return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_; } /** - * - * *
      * Maximum value appearing in the column.
      * 
@@ -659,8 +514,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() { public static final int QUANTILE_VALUES_FIELD_NUMBER = 4; private java.util.List quantileValues_; /** - * - * *
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -673,8 +526,6 @@ public java.util.List getQuantileValuesList() {
       return quantileValues_;
     }
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -683,13 +534,11 @@ public java.util.List getQuantileValuesList() {
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getQuantileValuesOrBuilderList() {
       return quantileValues_;
     }
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -702,8 +551,6 @@ public int getQuantileValuesCount() {
       return quantileValues_.size();
     }
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -716,8 +563,6 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
       return quantileValues_.get(index);
     }
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -726,12 +571,12 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
+        int index) {
       return quantileValues_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -743,7 +588,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (minValue_ != null) {
         output.writeMessage(1, getMinValue());
       }
@@ -763,13 +609,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (minValue_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getMinValue());
       }
       if (maxValue_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMaxValue());
       }
       for (int i = 0; i < quantileValues_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, quantileValues_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, quantileValues_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -779,24 +628,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)) {
+      if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other =
-          (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) obj;
+      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) obj;
 
       if (hasMinValue() != other.hasMinValue()) return false;
       if (hasMinValue()) {
-        if (!getMinValue().equals(other.getMinValue())) return false;
+        if (!getMinValue()
+            .equals(other.getMinValue())) return false;
       }
       if (hasMaxValue() != other.hasMaxValue()) return false;
       if (hasMaxValue()) {
-        if (!getMaxValue().equals(other.getMaxValue())) return false;
+        if (!getMaxValue()
+            .equals(other.getMaxValue())) return false;
       }
-      if (!getQuantileValuesList().equals(other.getQuantileValuesList())) return false;
+      if (!getQuantileValuesList()
+          .equals(other.getQuantileValuesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -825,101 +675,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -929,52 +766,45 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Result of the numerical stats computation.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuantileValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1000,22 +830,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = - buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1023,10 +850,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResu } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult(this); int from_bitField0_ = bitField0_; if (minValueBuilder_ == null) { result.minValue_ = minValue_; @@ -1055,55 +880,46 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1128,10 +944,9 @@ public Builder mergeFrom( quantileValuesBuilder_ = null; quantileValues_ = other.quantileValues_; bitField0_ = (bitField0_ & ~0x00000001); - quantileValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuantileValuesFieldBuilder() - : null; + quantileValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuantileValuesFieldBuilder() : null; } else { quantileValuesBuilder_.addAllMessages(other.quantileValues_); } @@ -1152,14 +967,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parsedMessage = - null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1168,52 +980,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.privacy.dlp.v2.Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - minValueBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> minValueBuilder_; /** - * - * *
        * Minimum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value min_value = 1; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return minValueBuilder_ != null || minValue_ != null; } /** - * - * *
        * Minimum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value min_value = 1; - * * @return The minValue. */ public com.google.privacy.dlp.v2.Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_; } else { return minValueBuilder_.getMessage(); } } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1234,15 +1032,14 @@ public Builder setMinValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value min_value = 1; */ - public Builder setMinValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setMinValue( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); onChanged(); @@ -1253,8 +1050,6 @@ public Builder setMinValue(com.google.privacy.dlp.v2.Value.Builder builderForVal return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1265,9 +1060,7 @@ public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) { if (minValueBuilder_ == null) { if (minValue_ != null) { minValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(minValue_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(minValue_).mergeFrom(value).buildPartial(); } else { minValue_ = value; } @@ -1279,8 +1072,6 @@ public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1299,8 +1090,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1308,13 +1097,11 @@ public Builder clearMinValue() { * .google.privacy.dlp.v2.Value min_value = 1; */ public com.google.privacy.dlp.v2.Value.Builder getMinValueBuilder() { - + onChanged(); return getMinValueFieldBuilder().getBuilder(); } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1325,14 +1112,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_; } } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1340,17 +1124,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { * .google.privacy.dlp.v2.Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getMinValue(), getParentForChildren(), isClean()); + minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getMinValue(), + getParentForChildren(), + isClean()); minValue_ = null; } return minValueBuilder_; @@ -1358,47 +1139,34 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { private com.google.privacy.dlp.v2.Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - maxValueBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> maxValueBuilder_; /** - * - * *
        * Maximum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value max_value = 2; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return maxValueBuilder_ != null || maxValue_ != null; } /** - * - * *
        * Maximum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value max_value = 2; - * * @return The maxValue. */ public com.google.privacy.dlp.v2.Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1419,15 +1187,14 @@ public Builder setMaxValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value max_value = 2; */ - public Builder setMaxValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setMaxValue( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); onChanged(); @@ -1438,8 +1205,6 @@ public Builder setMaxValue(com.google.privacy.dlp.v2.Value.Builder builderForVal return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1450,9 +1215,7 @@ public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) { if (maxValueBuilder_ == null) { if (maxValue_ != null) { maxValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(maxValue_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(maxValue_).mergeFrom(value).buildPartial(); } else { maxValue_ = value; } @@ -1464,8 +1227,6 @@ public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1484,8 +1245,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1493,13 +1252,11 @@ public Builder clearMaxValue() { * .google.privacy.dlp.v2.Value max_value = 2; */ public com.google.privacy.dlp.v2.Value.Builder getMaxValueBuilder() { - + onChanged(); return getMaxValueFieldBuilder().getBuilder(); } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1510,14 +1267,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_; } } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1525,42 +1279,32 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() { * .google.privacy.dlp.v2.Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getMaxValue(), getParentForChildren(), isClean()); + maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getMaxValue(), + getParentForChildren(), + isClean()); maxValue_ = null; } return maxValueBuilder_; } private java.util.List quantileValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuantileValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quantileValues_ = - new java.util.ArrayList(quantileValues_); + quantileValues_ = new java.util.ArrayList(quantileValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - quantileValuesBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quantileValuesBuilder_; /** - * - * *
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1576,8 +1320,6 @@ public java.util.List getQuantileValuesList() {
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1593,8 +1335,6 @@ public int getQuantileValuesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1610,8 +1350,6 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1619,7 +1357,8 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public Builder setQuantileValues(int index, com.google.privacy.dlp.v2.Value value) {
+      public Builder setQuantileValues(
+          int index, com.google.privacy.dlp.v2.Value value) {
         if (quantileValuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1633,8 +1372,6 @@ public Builder setQuantileValues(int index, com.google.privacy.dlp.v2.Value valu
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1654,8 +1391,6 @@ public Builder setQuantileValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1677,8 +1412,6 @@ public Builder addQuantileValues(com.google.privacy.dlp.v2.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1686,7 +1419,8 @@ public Builder addQuantileValues(com.google.privacy.dlp.v2.Value value) {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public Builder addQuantileValues(int index, com.google.privacy.dlp.v2.Value value) {
+      public Builder addQuantileValues(
+          int index, com.google.privacy.dlp.v2.Value value) {
         if (quantileValuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1700,8 +1434,6 @@ public Builder addQuantileValues(int index, com.google.privacy.dlp.v2.Value valu
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1709,7 +1441,8 @@ public Builder addQuantileValues(int index, com.google.privacy.dlp.v2.Value valu
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public Builder addQuantileValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+      public Builder addQuantileValues(
+          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
         if (quantileValuesBuilder_ == null) {
           ensureQuantileValuesIsMutable();
           quantileValues_.add(builderForValue.build());
@@ -1720,8 +1453,6 @@ public Builder addQuantileValues(com.google.privacy.dlp.v2.Value.Builder builder
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1741,8 +1472,6 @@ public Builder addQuantileValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1754,7 +1483,8 @@ public Builder addAllQuantileValues(
           java.lang.Iterable values) {
         if (quantileValuesBuilder_ == null) {
           ensureQuantileValuesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quantileValues_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, quantileValues_);
           onChanged();
         } else {
           quantileValuesBuilder_.addAllMessages(values);
@@ -1762,8 +1492,6 @@ public Builder addAllQuantileValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1782,8 +1510,6 @@ public Builder clearQuantileValues() {
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1802,8 +1528,6 @@ public Builder removeQuantileValues(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1811,12 +1535,11 @@ public Builder removeQuantileValues(int index) {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(int index) {
+      public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(
+          int index) {
         return getQuantileValuesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1824,16 +1547,14 @@ public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(int inde
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
+          int index) {
         if (quantileValuesBuilder_ == null) {
-          return quantileValues_.get(index);
-        } else {
+          return quantileValues_.get(index);  } else {
           return quantileValuesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1841,8 +1562,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int i
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public java.util.List
-          getQuantileValuesOrBuilderList() {
+      public java.util.List 
+           getQuantileValuesOrBuilderList() {
         if (quantileValuesBuilder_ != null) {
           return quantileValuesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1850,8 +1571,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int i
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1860,12 +1579,10 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int i
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
       public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder() {
-        return getQuantileValuesFieldBuilder()
-            .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
+        return getQuantileValuesFieldBuilder().addBuilder(
+            com.google.privacy.dlp.v2.Value.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1873,13 +1590,12 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder() {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(int index) {
-        return getQuantileValuesFieldBuilder()
-            .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
+      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(
+          int index) {
+        return getQuantileValuesFieldBuilder().addBuilder(
+            index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1887,22 +1603,16 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(int inde
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public java.util.List
-          getQuantileValuesBuilderList() {
+      public java.util.List 
+           getQuantileValuesBuilderList() {
         return getQuantileValuesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.Value,
-              com.google.privacy.dlp.v2.Value.Builder,
-              com.google.privacy.dlp.v2.ValueOrBuilder>
+          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
           getQuantileValuesFieldBuilder() {
         if (quantileValuesBuilder_ == null) {
-          quantileValuesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.privacy.dlp.v2.Value,
-                  com.google.privacy.dlp.v2.Value.Builder,
-                  com.google.privacy.dlp.v2.ValueOrBuilder>(
+          quantileValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                   quantileValues_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -1911,7 +1621,6 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(int inde
         }
         return quantileValuesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1924,33 +1633,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
-    private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult();
+      DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult();
     }
 
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public NumericalStatsResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new NumericalStatsResult(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public NumericalStatsResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new NumericalStatsResult(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1962,123 +1668,92 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CategoricalStatsResultOrBuilder
-      extends
+  public interface CategoricalStatsResultOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket> + java.util.List getValueFrequencyHistogramBucketsList(); /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - getValueFrequencyHistogramBuckets(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index); /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ int getValueFrequencyHistogramBucketsCount(); /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder> + java.util.List getValueFrequencyHistogramBucketsOrBuilderList(); /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder - getValueFrequencyHistogramBucketsOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder( + int index); } /** - * - * *
    * Result of the categorical stats computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult} */ - public static final class CategoricalStatsResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CategoricalStatsResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) CategoricalStatsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CategoricalStatsResult.newBuilder() to construct. private CategoricalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CategoricalStatsResult() { valueFrequencyHistogramBuckets_ = 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 CategoricalStatsResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CategoricalStatsResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2098,108 +1773,85 @@ private CategoricalStatsResult( case 0: done = true; break; - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .CategoricalStatsResult.CategoricalStatsHistogramBucket>(); - mutable_bitField0_ |= 0x00000001; - } - valueFrequencyHistogramBuckets_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(), - extensionRegistry)); - break; + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + valueFrequencyHistogramBuckets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + valueFrequencyHistogramBuckets_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = - java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder.class); } - public interface CategoricalStatsHistogramBucketOrBuilder - extends + public interface CategoricalStatsHistogramBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Lower bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_lower_bound = 1; - * * @return The valueFrequencyLowerBound. */ long getValueFrequencyLowerBound(); /** - * - * *
        * Upper bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_upper_bound = 2; - * * @return The valueFrequencyUpperBound. */ long getValueFrequencyUpperBound(); /** - * - * *
        * Total number of values in this bucket.
        * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ long getBucketSize(); /** - * - * *
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2207,10 +1859,9 @@ public interface CategoricalStatsHistogramBucketOrBuilder
        *
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
-      java.util.List getBucketValuesList();
+      java.util.List 
+          getBucketValuesList();
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2220,8 +1871,6 @@ public interface CategoricalStatsHistogramBucketOrBuilder
        */
       com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index);
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2231,8 +1880,6 @@ public interface CategoricalStatsHistogramBucketOrBuilder
        */
       int getBucketValuesCount();
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2240,11 +1887,9 @@ public interface CategoricalStatsHistogramBucketOrBuilder
        *
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
-      java.util.List
+      java.util.List 
           getBucketValuesOrBuilderList();
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2252,58 +1897,51 @@ public interface CategoricalStatsHistogramBucketOrBuilder
        *
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
-      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(int index);
+      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
+          int index);
 
       /**
-       *
-       *
        * 
        * Total number of distinct values in this bucket.
        * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ long getBucketValueCount(); } /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} */ - public static final class CategoricalStatsHistogramBucket - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CategoricalStatsHistogramBucket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) CategoricalStatsHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CategoricalStatsHistogramBucket.newBuilder() to construct. - private CategoricalStatsHistogramBucket( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CategoricalStatsHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CategoricalStatsHistogramBucket() { bucketValues_ = 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 CategoricalStatsHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CategoricalStatsHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2323,52 +1961,49 @@ private CategoricalStatsHistogramBucket( case 0: done = true; break; - case 8: - { - valueFrequencyLowerBound_ = input.readInt64(); - break; - } - case 16: - { - valueFrequencyUpperBound_ = input.readInt64(); - break; - } - case 24: - { - bucketSize_ = input.readInt64(); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - bucketValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); - break; - } - case 40: - { - bucketValueCount_ = input.readInt64(); - break; + case 8: { + + valueFrequencyLowerBound_ = input.readInt64(); + break; + } + case 16: { + + valueFrequencyUpperBound_ = input.readInt64(); + break; + } + case 24: { + + bucketSize_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bucketValues_.add( + input.readMessage(com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); + break; + } + case 40: { + + bucketValueCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -2377,35 +2012,27 @@ private CategoricalStatsHistogramBucket( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class); } public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1; private long valueFrequencyLowerBound_; /** - * - * *
        * Lower bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_lower_bound = 1; - * * @return The valueFrequencyLowerBound. */ @java.lang.Override @@ -2416,14 +2043,11 @@ public long getValueFrequencyLowerBound() { public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2; private long valueFrequencyUpperBound_; /** - * - * *
        * Upper bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_upper_bound = 2; - * * @return The valueFrequencyUpperBound. */ @java.lang.Override @@ -2434,14 +2058,11 @@ public long getValueFrequencyUpperBound() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private long bucketSize_; /** - * - * *
        * Total number of values in this bucket.
        * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ @java.lang.Override @@ -2452,8 +2073,6 @@ public long getBucketSize() { public static final int BUCKET_VALUES_FIELD_NUMBER = 4; private java.util.List bucketValues_; /** - * - * *
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2466,8 +2085,6 @@ public java.util.List getBucketValuesL
         return bucketValues_;
       }
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2476,13 +2093,11 @@ public java.util.List getBucketValuesL
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
       @java.lang.Override
-      public java.util.List
+      public java.util.List 
           getBucketValuesOrBuilderList() {
         return bucketValues_;
       }
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2495,8 +2110,6 @@ public int getBucketValuesCount() {
         return bucketValues_.size();
       }
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2509,8 +2122,6 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
         return bucketValues_.get(index);
       }
       /**
-       *
-       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2519,21 +2130,19 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
+          int index) {
         return bucketValues_.get(index);
       }
 
       public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5;
       private long bucketValueCount_;
       /**
-       *
-       *
        * 
        * Total number of distinct values in this bucket.
        * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ @java.lang.Override @@ -2542,7 +2151,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2554,7 +2162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueFrequencyLowerBound_ != 0L) { output.writeInt64(1, valueFrequencyLowerBound_); } @@ -2580,21 +2189,24 @@ public int getSerializedSize() { size = 0; if (valueFrequencyLowerBound_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(1, valueFrequencyLowerBound_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, valueFrequencyLowerBound_); } if (valueFrequencyUpperBound_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(2, valueFrequencyUpperBound_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, valueFrequencyUpperBound_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2604,26 +2216,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket) - obj; - - if (getValueFrequencyLowerBound() != other.getValueFrequencyLowerBound()) return false; - if (getValueFrequencyUpperBound() != other.getValueFrequencyUpperBound()) return false; - if (getBucketSize() != other.getBucketSize()) return false; - if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) obj; + + if (getValueFrequencyLowerBound() + != other.getValueFrequencyLowerBound()) return false; + if (getValueFrequencyUpperBound() + != other.getValueFrequencyUpperBound()) return false; + if (getBucketSize() + != other.getBucketSize()) return false; + if (!getBucketValuesList() + .equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() + != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2636,133 +2245,108 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getValueFrequencyLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getValueFrequencyLowerBound()); hash = (37 * hash) + VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getValueFrequencyUpperBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getValueFrequencyUpperBound()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2772,55 +2356,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2842,26 +2416,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2869,14 +2436,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket(this); int from_bitField0_ = bitField0_; result.valueFrequencyLowerBound_ = valueFrequencyLowerBound_; result.valueFrequencyUpperBound_ = valueFrequencyUpperBound_; @@ -2899,60 +2460,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()) return this; if (other.getValueFrequencyLowerBound() != 0L) { setValueFrequencyLowerBound(other.getValueFrequencyLowerBound()); } @@ -2980,10 +2527,9 @@ public Builder mergeFrom( bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBucketValuesFieldBuilder() - : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBucketValuesFieldBuilder() : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -3007,16 +2553,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3025,19 +2566,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private long valueFrequencyLowerBound_; + private long valueFrequencyLowerBound_ ; /** - * - * *
          * Lower bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_lower_bound = 1; - * * @return The valueFrequencyLowerBound. */ @java.lang.Override @@ -3045,51 +2582,42 @@ public long getValueFrequencyLowerBound() { return valueFrequencyLowerBound_; } /** - * - * *
          * Lower bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_lower_bound = 1; - * * @param value The valueFrequencyLowerBound to set. * @return This builder for chaining. */ public Builder setValueFrequencyLowerBound(long value) { - + valueFrequencyLowerBound_ = value; onChanged(); return this; } /** - * - * *
          * Lower bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_lower_bound = 1; - * * @return This builder for chaining. */ public Builder clearValueFrequencyLowerBound() { - + valueFrequencyLowerBound_ = 0L; onChanged(); return this; } - private long valueFrequencyUpperBound_; + private long valueFrequencyUpperBound_ ; /** - * - * *
          * Upper bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_upper_bound = 2; - * * @return The valueFrequencyUpperBound. */ @java.lang.Override @@ -3097,51 +2625,42 @@ public long getValueFrequencyUpperBound() { return valueFrequencyUpperBound_; } /** - * - * *
          * Upper bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_upper_bound = 2; - * * @param value The valueFrequencyUpperBound to set. * @return This builder for chaining. */ public Builder setValueFrequencyUpperBound(long value) { - + valueFrequencyUpperBound_ = value; onChanged(); return this; } /** - * - * *
          * Upper bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_upper_bound = 2; - * * @return This builder for chaining. */ public Builder clearValueFrequencyUpperBound() { - + valueFrequencyUpperBound_ = 0L; onChanged(); return this; } - private long bucketSize_; + private long bucketSize_ ; /** - * - * *
          * Total number of values in this bucket.
          * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ @java.lang.Override @@ -3149,61 +2668,48 @@ public long getBucketSize() { return bucketSize_; } /** - * - * *
          * Total number of values in this bucket.
          * 
* * int64 bucket_size = 3; - * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** - * - * *
          * Total number of values in this bucket.
          * 
* * int64 bucket_size = 3; - * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } private java.util.List bucketValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList(bucketValues_); + bucketValues_ = new java.util.ArrayList(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, - com.google.privacy.dlp.v2.ValueFrequency.Builder, - com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> - bucketValuesBuilder_; + com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> bucketValuesBuilder_; /** - * - * *
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3219,8 +2725,6 @@ public java.util.List getBucketValuesL
           }
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3236,8 +2740,6 @@ public int getBucketValuesCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3253,8 +2755,6 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
           }
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3262,7 +2762,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public Builder setBucketValues(int index, com.google.privacy.dlp.v2.ValueFrequency value) {
+        public Builder setBucketValues(
+            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
           if (bucketValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -3276,8 +2777,6 @@ public Builder setBucketValues(int index, com.google.privacy.dlp.v2.ValueFrequen
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3297,8 +2796,6 @@ public Builder setBucketValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3320,8 +2817,6 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.ValueFrequency value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3329,7 +2824,8 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.ValueFrequency value) {
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public Builder addBucketValues(int index, com.google.privacy.dlp.v2.ValueFrequency value) {
+        public Builder addBucketValues(
+            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
           if (bucketValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -3343,8 +2839,6 @@ public Builder addBucketValues(int index, com.google.privacy.dlp.v2.ValueFrequen
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3364,8 +2858,6 @@ public Builder addBucketValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3385,8 +2877,6 @@ public Builder addBucketValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3398,7 +2888,8 @@ public Builder addAllBucketValues(
             java.lang.Iterable values) {
           if (bucketValuesBuilder_ == null) {
             ensureBucketValuesIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(
+                values, bucketValues_);
             onChanged();
           } else {
             bucketValuesBuilder_.addAllMessages(values);
@@ -3406,8 +2897,6 @@ public Builder addAllBucketValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3426,8 +2915,6 @@ public Builder clearBucketValues() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3446,8 +2933,6 @@ public Builder removeBucketValues(int index) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3455,12 +2940,11 @@ public Builder removeBucketValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(int index) {
+        public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(
+            int index) {
           return getBucketValuesFieldBuilder().getBuilder(index);
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3471,14 +2955,11 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(i
         public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
             int index) {
           if (bucketValuesBuilder_ == null) {
-            return bucketValues_.get(index);
-          } else {
+            return bucketValues_.get(index);  } else {
             return bucketValuesBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3486,8 +2967,8 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public java.util.List
-            getBucketValuesOrBuilderList() {
+        public java.util.List 
+             getBucketValuesOrBuilderList() {
           if (bucketValuesBuilder_ != null) {
             return bucketValuesBuilder_.getMessageOrBuilderList();
           } else {
@@ -3495,8 +2976,6 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
           }
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3505,12 +2984,10 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
         public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder() {
-          return getBucketValuesFieldBuilder()
-              .addBuilder(com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
+          return getBucketValuesFieldBuilder().addBuilder(
+              com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3518,13 +2995,12 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder()
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(int index) {
-          return getBucketValuesFieldBuilder()
-              .addBuilder(index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
+        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(
+            int index) {
+          return getBucketValuesFieldBuilder().addBuilder(
+              index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3532,22 +3008,16 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(i
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public java.util.List
-            getBucketValuesBuilderList() {
+        public java.util.List 
+             getBucketValuesBuilderList() {
           return getBucketValuesFieldBuilder().getBuilderList();
         }
-
         private com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.ValueFrequency,
-                com.google.privacy.dlp.v2.ValueFrequency.Builder,
-                com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
+            com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> 
             getBucketValuesFieldBuilder() {
           if (bucketValuesBuilder_ == null) {
-            bucketValuesBuilder_ =
-                new com.google.protobuf.RepeatedFieldBuilderV3<
-                    com.google.privacy.dlp.v2.ValueFrequency,
-                    com.google.privacy.dlp.v2.ValueFrequency.Builder,
-                    com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
+            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
                     bucketValues_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -3557,16 +3027,13 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(i
           return bucketValuesBuilder_;
         }
 
-        private long bucketValueCount_;
+        private long bucketValueCount_ ;
         /**
-         *
-         *
          * 
          * Total number of distinct values in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ @java.lang.Override @@ -3574,41 +3041,34 @@ public long getBucketValueCount() { return bucketValueCount_; } /** - * - * *
          * Total number of distinct values in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** - * - * *
          * Total number of distinct values in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3621,36 +3081,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .CategoricalStatsResult.CategoricalStatsHistogramBucket - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CategoricalStatsHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CategoricalStatsHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CategoricalStatsHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3662,107 +3116,73 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket> - valueFrequencyHistogramBuckets_; + private java.util.List valueFrequencyHistogramBuckets_; /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket> - getValueFrequencyHistogramBucketsList() { + public java.util.List getValueFrequencyHistogramBucketsList() { return valueFrequencyHistogramBuckets_; } /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder> + public java.util.List getValueFrequencyHistogramBucketsOrBuilderList() { return valueFrequencyHistogramBuckets_; } /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ @java.lang.Override public int getValueFrequencyHistogramBucketsCount() { return valueFrequencyHistogramBuckets_.size(); } /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - getValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) { return valueFrequencyHistogramBuckets_.get(index); } /** - * - * *
      * Histogram of value frequencies in the column.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder - getValueFrequencyHistogramBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder( + int index) { return valueFrequencyHistogramBuckets_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3774,7 +3194,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < valueFrequencyHistogramBuckets_.size(); i++) { output.writeMessage(5, valueFrequencyHistogramBuckets_.get(i)); } @@ -3788,9 +3209,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < valueFrequencyHistogramBuckets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, valueFrequencyHistogramBuckets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, valueFrequencyHistogramBuckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3800,15 +3220,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) obj; if (!getValueFrequencyHistogramBucketsList() .equals(other.getValueFrequencyHistogramBucketsList())) return false; @@ -3832,101 +3249,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3936,53 +3340,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Result of the categorical stats computation.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getValueFrequencyHistogramBucketsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3996,22 +3392,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = - buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4019,15 +3412,12 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(this); int from_bitField0_ = bitField0_; if (valueFrequencyHistogramBucketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = - java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); bitField0_ = (bitField0_ & ~0x00000001); } result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBuckets_; @@ -4042,56 +3432,46 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance()) return this; if (valueFrequencyHistogramBucketsBuilder_ == null) { if (!other.valueFrequencyHistogramBuckets_.isEmpty()) { if (valueFrequencyHistogramBuckets_.isEmpty()) { @@ -4110,13 +3490,11 @@ public Builder mergeFrom( valueFrequencyHistogramBucketsBuilder_ = null; valueFrequencyHistogramBuckets_ = other.valueFrequencyHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); - valueFrequencyHistogramBucketsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValueFrequencyHistogramBucketsFieldBuilder() - : null; + valueFrequencyHistogramBucketsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValueFrequencyHistogramBucketsFieldBuilder() : null; } else { - valueFrequencyHistogramBucketsBuilder_.addAllMessages( - other.valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBucketsBuilder_.addAllMessages(other.valueFrequencyHistogramBuckets_); } } } @@ -4135,14 +3513,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4151,48 +3526,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket> - valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList(); - + private java.util.List valueFrequencyHistogramBuckets_ = + java.util.Collections.emptyList(); private void ensureValueFrequencyHistogramBucketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket>(valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBuckets_ = new java.util.ArrayList(valueFrequencyHistogramBuckets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder> - valueFrequencyHistogramBucketsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> valueFrequencyHistogramBucketsBuilder_; /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket> - getValueFrequencyHistogramBucketsList() { + public java.util.List getValueFrequencyHistogramBucketsList() { if (valueFrequencyHistogramBucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); } else { @@ -4200,15 +3555,11 @@ private void ensureValueFrequencyHistogramBucketsIsMutable() { } } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public int getValueFrequencyHistogramBucketsCount() { if (valueFrequencyHistogramBucketsBuilder_ == null) { @@ -4218,19 +3569,13 @@ public int getValueFrequencyHistogramBucketsCount() { } } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - getValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) { if (valueFrequencyHistogramBucketsBuilder_ == null) { return valueFrequencyHistogramBuckets_.get(index); } else { @@ -4238,21 +3583,14 @@ public int getValueFrequencyHistogramBucketsCount() { } } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder setValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) { if (valueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4266,21 +3604,14 @@ public Builder setValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder setValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); valueFrequencyHistogramBuckets_.set(index, builderForValue.build()); @@ -4291,20 +3622,13 @@ public Builder setValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public Builder addValueFrequencyHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - value) { + public Builder addValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) { if (valueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4318,21 +3642,14 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder addValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) { if (valueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4346,20 +3663,14 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder addValueFrequencyHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); valueFrequencyHistogramBuckets_.add(builderForValue.build()); @@ -4370,21 +3681,14 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder addValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); valueFrequencyHistogramBuckets_.add(index, builderForValue.build()); @@ -4395,22 +3699,14 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder addAllValueFrequencyHistogramBuckets( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket> - values) { + java.lang.Iterable values) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -4422,15 +3718,11 @@ public Builder addAllValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder clearValueFrequencyHistogramBuckets() { if (valueFrequencyHistogramBucketsBuilder_ == null) { @@ -4443,15 +3735,11 @@ public Builder clearValueFrequencyHistogramBuckets() { return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ public Builder removeValueFrequencyHistogramBuckets(int index) { if (valueFrequencyHistogramBucketsBuilder_ == null) { @@ -4464,57 +3752,39 @@ public Builder removeValueFrequencyHistogramBuckets(int index) { return this; } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder - getValueFrequencyHistogramBucketsBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder getValueFrequencyHistogramBucketsBuilder( + int index) { return getValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index); } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder - getValueFrequencyHistogramBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder( + int index) { if (valueFrequencyHistogramBucketsBuilder_ == null) { - return valueFrequencyHistogramBuckets_.get(index); - } else { + return valueFrequencyHistogramBuckets_.get(index); } else { return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder> - getValueFrequencyHistogramBucketsOrBuilderList() { + public java.util.List + getValueFrequencyHistogramBucketsOrBuilderList() { if (valueFrequencyHistogramBucketsBuilder_ != null) { return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilderList(); } else { @@ -4522,79 +3792,45 @@ public Builder removeValueFrequencyHistogramBuckets(int index) { } } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder - addValueFrequencyHistogramBucketsBuilder() { - return getValueFrequencyHistogramBucketsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder() { + return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()); } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder - addValueFrequencyHistogramBucketsBuilder(int index) { - return getValueFrequencyHistogramBucketsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder( + int index) { + return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()); } /** - * - * *
        * Histogram of value frequencies in the column.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder> - getValueFrequencyHistogramBucketsBuilderList() { + public java.util.List + getValueFrequencyHistogramBucketsBuilderList() { return getValueFrequencyHistogramBucketsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> getValueFrequencyHistogramBucketsFieldBuilder() { if (valueFrequencyHistogramBucketsBuilder_ == null) { - valueFrequencyHistogramBucketsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .CategoricalStatsHistogramBucketOrBuilder>( + valueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>( valueFrequencyHistogramBuckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4603,7 +3839,6 @@ public Builder removeValueFrequencyHistogramBuckets(int index) { } return valueFrequencyHistogramBucketsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4616,34 +3851,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .CategoricalStatsResult - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CategoricalStatsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CategoricalStatsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CategoricalStatsResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4655,123 +3886,92 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface KAnonymityResultOrBuilder - extends + public interface KAnonymityResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket> + java.util.List getEquivalenceClassHistogramBucketsList(); /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - getEquivalenceClassHistogramBuckets(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index); /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ int getEquivalenceClassHistogramBucketsCount(); /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder> + java.util.List getEquivalenceClassHistogramBucketsOrBuilderList(); /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder - getEquivalenceClassHistogramBucketsOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder( + int index); } /** - * - * *
    * Result of the k-anonymity computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult} */ - public static final class KAnonymityResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class KAnonymityResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) KAnonymityResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityResult.newBuilder() to construct. private KAnonymityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KAnonymityResult() { equivalenceClassHistogramBuckets_ = 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 KAnonymityResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KAnonymityResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4791,69 +3991,55 @@ private KAnonymityResult( case 0: done = true; break; - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket>(); - mutable_bitField0_ |= 0x00000001; - } - equivalenceClassHistogramBuckets_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.parser(), - extensionRegistry)); - break; + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + equivalenceClassHistogramBuckets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + equivalenceClassHistogramBuckets_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = - java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder.class); } - public interface KAnonymityEquivalenceClassOrBuilder - extends + public interface KAnonymityEquivalenceClassOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4862,10 +4048,9 @@ public interface KAnonymityEquivalenceClassOrBuilder
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List getQuasiIdsValuesList();
+      java.util.List 
+          getQuasiIdsValuesList();
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4876,8 +4061,6 @@ public interface KAnonymityEquivalenceClassOrBuilder
        */
       com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4888,8 +4071,6 @@ public interface KAnonymityEquivalenceClassOrBuilder
        */
       int getQuasiIdsValuesCount();
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4898,11 +4079,9 @@ public interface KAnonymityEquivalenceClassOrBuilder
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List
+      java.util.List 
           getQuasiIdsValuesOrBuilderList();
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4911,59 +4090,52 @@ public interface KAnonymityEquivalenceClassOrBuilder
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);
+      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
+          int index);
 
       /**
-       *
-       *
        * 
        * Size of the equivalence class, for example number of rows with the
        * above set of values.
        * 
* * int64 equivalence_class_size = 2; - * * @return The equivalenceClassSize. */ long getEquivalenceClassSize(); } /** - * - * *
      * The set of columns' values that share the same ldiversity value
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} */ - public static final class KAnonymityEquivalenceClass - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class KAnonymityEquivalenceClass extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) KAnonymityEquivalenceClassOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityEquivalenceClass.newBuilder() to construct. - private KAnonymityEquivalenceClass( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private KAnonymityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KAnonymityEquivalenceClass() { quasiIdsValues_ = 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 KAnonymityEquivalenceClass(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KAnonymityEquivalenceClass( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4983,36 +4155,34 @@ private KAnonymityEquivalenceClass( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIdsValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 16: - { - equivalenceClassSize_ = input.readInt64(); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + quasiIdsValues_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + case 16: { + + equivalenceClassSize_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -5021,29 +4191,22 @@ private KAnonymityEquivalenceClass( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** - * - * *
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -5057,8 +4220,6 @@ public java.util.List getQuasiIdsValuesList() {
         return quasiIdsValues_;
       }
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -5068,13 +4229,11 @@ public java.util.List getQuasiIdsValuesList() {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public java.util.List
+      public java.util.List 
           getQuasiIdsValuesOrBuilderList() {
         return quasiIdsValues_;
       }
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -5088,8 +4247,6 @@ public int getQuasiIdsValuesCount() {
         return quasiIdsValues_.size();
       }
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -5103,8 +4260,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
         return quasiIdsValues_.get(index);
       }
       /**
-       *
-       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -5114,22 +4269,20 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
+          int index) {
         return quasiIdsValues_.get(index);
       }
 
       public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
       private long equivalenceClassSize_;
       /**
-       *
-       *
        * 
        * Size of the equivalence class, for example number of rows with the
        * above set of values.
        * 
* * int64 equivalence_class_size = 2; - * * @return The equivalenceClassSize. */ @java.lang.Override @@ -5138,7 +4291,6 @@ public long getEquivalenceClassSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5150,7 +4302,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -5167,11 +4320,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIdsValues_.get(i)); } if (equivalenceClassSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, equivalenceClassSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, equivalenceClassSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5181,23 +4335,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass) - obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) obj; - if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; - if (getEquivalenceClassSize() != other.getEquivalenceClassSize()) return false; + if (!getQuasiIdsValuesList() + .equals(other.getQuasiIdsValuesList())) return false; + if (getEquivalenceClassSize() + != other.getEquivalenceClassSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5214,123 +4362,95 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEquivalenceClassSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEquivalenceClassSize()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5340,55 +4460,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The set of columns' values that share the same ldiversity value
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5404,26 +4514,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5431,14 +4534,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -5458,60 +4555,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -5530,10 +4613,9 @@ public Builder mergeFrom( quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsValuesFieldBuilder() - : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsValuesFieldBuilder() : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -5557,16 +4639,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5575,29 +4652,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = - new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; /** - * - * *
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5614,8 +4683,6 @@ public java.util.List getQuasiIdsValuesList() {
           }
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5632,8 +4699,6 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5650,8 +4715,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
           }
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5660,7 +4723,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder setQuasiIdsValues(
+            int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -5674,8 +4738,6 @@ public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5696,8 +4758,6 @@ public Builder setQuasiIdsValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5720,8 +4780,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5730,7 +4788,8 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder addQuasiIdsValues(
+            int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -5744,8 +4803,6 @@ public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5754,7 +4811,8 @@ public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+        public Builder addQuasiIdsValues(
+            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
             quasiIdsValues_.add(builderForValue.build());
@@ -5765,8 +4823,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builder
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5787,8 +4843,6 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5801,7 +4855,8 @@ public Builder addAllQuasiIdsValues(
             java.lang.Iterable values) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(
+                values, quasiIdsValues_);
             onChanged();
           } else {
             quasiIdsValuesBuilder_.addAllMessages(values);
@@ -5809,8 +4864,6 @@ public Builder addAllQuasiIdsValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5830,8 +4883,6 @@ public Builder clearQuasiIdsValues() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5851,8 +4902,6 @@ public Builder removeQuasiIdsValues(int index) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5861,12 +4910,11 @@ public Builder removeQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
+        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
+            int index) {
           return getQuasiIdsValuesFieldBuilder().getBuilder(index);
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5875,16 +4923,14 @@ public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int inde
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
+        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
+            int index) {
           if (quasiIdsValuesBuilder_ == null) {
-            return quasiIdsValues_.get(index);
-          } else {
+            return quasiIdsValues_.get(index);  } else {
             return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5893,8 +4939,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List
-            getQuasiIdsValuesOrBuilderList() {
+        public java.util.List 
+             getQuasiIdsValuesOrBuilderList() {
           if (quasiIdsValuesBuilder_ != null) {
             return quasiIdsValuesBuilder_.getMessageOrBuilderList();
           } else {
@@ -5902,8 +4948,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
           }
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5913,12 +4957,10 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
         public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
-          return getQuasiIdsValuesFieldBuilder()
-              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
+          return getQuasiIdsValuesFieldBuilder().addBuilder(
+              com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5927,13 +4969,12 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
-          return getQuasiIdsValuesFieldBuilder()
-              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
+        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
+            int index) {
+          return getQuasiIdsValuesFieldBuilder().addBuilder(
+              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5942,22 +4983,16 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List
-            getQuasiIdsValuesBuilderList() {
+        public java.util.List 
+             getQuasiIdsValuesBuilderList() {
           return getQuasiIdsValuesFieldBuilder().getBuilderList();
         }
-
         private com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Value,
-                com.google.privacy.dlp.v2.Value.Builder,
-                com.google.privacy.dlp.v2.ValueOrBuilder>
+            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
             getQuasiIdsValuesFieldBuilder() {
           if (quasiIdsValuesBuilder_ == null) {
-            quasiIdsValuesBuilder_ =
-                new com.google.protobuf.RepeatedFieldBuilderV3<
-                    com.google.privacy.dlp.v2.Value,
-                    com.google.privacy.dlp.v2.Value.Builder,
-                    com.google.privacy.dlp.v2.ValueOrBuilder>(
+            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                     quasiIdsValues_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -5967,17 +5002,14 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
           return quasiIdsValuesBuilder_;
         }
 
-        private long equivalenceClassSize_;
+        private long equivalenceClassSize_ ;
         /**
-         *
-         *
          * 
          * Size of the equivalence class, for example number of rows with the
          * above set of values.
          * 
* * int64 equivalence_class_size = 2; - * * @return The equivalenceClassSize. */ @java.lang.Override @@ -5985,43 +5017,36 @@ public long getEquivalenceClassSize() { return equivalenceClassSize_; } /** - * - * *
          * Size of the equivalence class, for example number of rows with the
          * above set of values.
          * 
* * int64 equivalence_class_size = 2; - * * @param value The equivalenceClassSize to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSize(long value) { - + equivalenceClassSize_ = value; onChanged(); return this; } /** - * - * *
          * Size of the equivalence class, for example number of rows with the
          * above set of values.
          * 
* * int64 equivalence_class_size = 2; - * * @return This builder for chaining. */ public Builder clearEquivalenceClassSize() { - + equivalenceClassSize_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6034,36 +5059,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KAnonymityEquivalenceClass parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityEquivalenceClass(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KAnonymityEquivalenceClass parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KAnonymityEquivalenceClass(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6075,183 +5094,137 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface KAnonymityHistogramBucketOrBuilder - extends + public interface KAnonymityHistogramBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Lower bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_lower_bound = 1; - * * @return The equivalenceClassSizeLowerBound. */ long getEquivalenceClassSizeLowerBound(); /** - * - * *
        * Upper bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_upper_bound = 2; - * * @return The equivalenceClassSizeUpperBound. */ long getEquivalenceClassSizeUpperBound(); /** - * - * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ long getBucketSize(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass> + java.util.List getBucketValuesList(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ int getBucketValuesCount(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder> + java.util.List getBucketValuesOrBuilderList(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder - getBucketValuesOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder( + int index); /** - * - * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ long getBucketValueCount(); } /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} */ - public static final class KAnonymityHistogramBucket - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class KAnonymityHistogramBucket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) KAnonymityHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityHistogramBucket.newBuilder() to construct. private KAnonymityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KAnonymityHistogramBucket() { bucketValues_ = 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 KAnonymityHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KAnonymityHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6271,56 +5244,49 @@ private KAnonymityHistogramBucket( case 0: done = true; break; - case 8: - { - equivalenceClassSizeLowerBound_ = input.readInt64(); - break; - } - case 16: - { - equivalenceClassSizeUpperBound_ = input.readInt64(); - break; - } - case 24: - { - bucketSize_ = input.readInt64(); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass>(); - mutable_bitField0_ |= 0x00000001; - } - bucketValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.parser(), - extensionRegistry)); - break; - } - case 40: - { - bucketValueCount_ = input.readInt64(); - break; + case 8: { + + equivalenceClassSizeLowerBound_ = input.readInt64(); + break; + } + case 16: { + + equivalenceClassSizeUpperBound_ = input.readInt64(); + break; + } + case 24: { + + bucketSize_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bucketValues_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.parser(), extensionRegistry)); + break; + } + case 40: { + + bucketValueCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -6329,35 +5295,27 @@ private KAnonymityHistogramBucket( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder.class); } public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER = 1; private long equivalenceClassSizeLowerBound_; /** - * - * *
        * Lower bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_lower_bound = 1; - * * @return The equivalenceClassSizeLowerBound. */ @java.lang.Override @@ -6368,14 +5326,11 @@ public long getEquivalenceClassSizeLowerBound() { public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER = 2; private long equivalenceClassSizeUpperBound_; /** - * - * *
        * Upper bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_upper_bound = 2; - * * @return The equivalenceClassSizeUpperBound. */ @java.lang.Override @@ -6386,14 +5341,11 @@ public long getEquivalenceClassSizeUpperBound() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private long bucketSize_; /** - * - * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ @java.lang.Override @@ -6402,113 +5354,78 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 4; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass> - bucketValues_; + private java.util.List bucketValues_; /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass> - getBucketValuesList() { + public java.util.List getBucketValuesList() { return bucketValues_; } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder> + public java.util.List getBucketValuesOrBuilderList() { return bucketValues_; } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index) { return bucketValues_.get(index); } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder( + int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5; private long bucketValueCount_; /** - * - * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ @java.lang.Override @@ -6517,7 +5434,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6529,7 +5445,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (equivalenceClassSizeLowerBound_ != 0L) { output.writeInt64(1, equivalenceClassSizeLowerBound_); } @@ -6555,23 +5472,24 @@ public int getSerializedSize() { size = 0; if (equivalenceClassSizeLowerBound_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, equivalenceClassSizeLowerBound_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, equivalenceClassSizeLowerBound_); } if (equivalenceClassSizeUpperBound_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, equivalenceClassSizeUpperBound_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, equivalenceClassSizeUpperBound_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6581,28 +5499,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket) - obj; - - if (getEquivalenceClassSizeLowerBound() != other.getEquivalenceClassSizeLowerBound()) - return false; - if (getEquivalenceClassSizeUpperBound() != other.getEquivalenceClassSizeUpperBound()) - return false; - if (getBucketSize() != other.getBucketSize()) return false; - if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) obj; + + if (getEquivalenceClassSizeLowerBound() + != other.getEquivalenceClassSizeLowerBound()) return false; + if (getEquivalenceClassSizeUpperBound() + != other.getEquivalenceClassSizeUpperBound()) return false; + if (getBucketSize() + != other.getBucketSize()) return false; + if (!getBucketValuesList() + .equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() + != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6615,137 +5528,108 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getEquivalenceClassSizeLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEquivalenceClassSizeLowerBound()); hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getEquivalenceClassSizeUpperBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEquivalenceClassSizeUpperBound()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6755,55 +5639,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -6825,26 +5699,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6852,14 +5719,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket(this); int from_bitField0_ = bitField0_; result.equivalenceClassSizeLowerBound_ = equivalenceClassSizeLowerBound_; result.equivalenceClassSizeUpperBound_ = equivalenceClassSizeUpperBound_; @@ -6882,60 +5743,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()) return this; if (other.getEquivalenceClassSizeLowerBound() != 0L) { setEquivalenceClassSizeLowerBound(other.getEquivalenceClassSizeLowerBound()); } @@ -6963,10 +5810,9 @@ public Builder mergeFrom( bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBucketValuesFieldBuilder() - : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBucketValuesFieldBuilder() : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -6990,16 +5836,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7008,19 +5849,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private long equivalenceClassSizeLowerBound_; + private long equivalenceClassSizeLowerBound_ ; /** - * - * *
          * Lower bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_lower_bound = 1; - * * @return The equivalenceClassSizeLowerBound. */ @java.lang.Override @@ -7028,51 +5865,42 @@ public long getEquivalenceClassSizeLowerBound() { return equivalenceClassSizeLowerBound_; } /** - * - * *
          * Lower bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_lower_bound = 1; - * * @param value The equivalenceClassSizeLowerBound to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSizeLowerBound(long value) { - + equivalenceClassSizeLowerBound_ = value; onChanged(); return this; } /** - * - * *
          * Lower bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_lower_bound = 1; - * * @return This builder for chaining. */ public Builder clearEquivalenceClassSizeLowerBound() { - + equivalenceClassSizeLowerBound_ = 0L; onChanged(); return this; } - private long equivalenceClassSizeUpperBound_; + private long equivalenceClassSizeUpperBound_ ; /** - * - * *
          * Upper bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_upper_bound = 2; - * * @return The equivalenceClassSizeUpperBound. */ @java.lang.Override @@ -7080,51 +5908,42 @@ public long getEquivalenceClassSizeUpperBound() { return equivalenceClassSizeUpperBound_; } /** - * - * *
          * Upper bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_upper_bound = 2; - * * @param value The equivalenceClassSizeUpperBound to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSizeUpperBound(long value) { - + equivalenceClassSizeUpperBound_ = value; onChanged(); return this; } /** - * - * *
          * Upper bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_upper_bound = 2; - * * @return This builder for chaining. */ public Builder clearEquivalenceClassSizeUpperBound() { - + equivalenceClassSizeUpperBound_ = 0L; onChanged(); return this; } - private long bucketSize_; + private long bucketSize_ ; /** - * - * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ @java.lang.Override @@ -7132,81 +5951,56 @@ public long getBucketSize() { return bucketSize_; } /** - * - * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; - * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** - * - * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; - * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass> - bucketValues_ = java.util.Collections.emptyList(); - + private java.util.List bucketValues_ = + java.util.Collections.emptyList(); private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass>(bucketValues_); + bucketValues_ = new java.util.ArrayList(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder> - bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> bucketValuesBuilder_; /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass> - getBucketValuesList() { + public java.util.List getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -7214,16 +6008,12 @@ private void ensureBucketValuesIsMutable() { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -7233,20 +6023,14 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -7254,22 +6038,15 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7283,22 +6060,15 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -7309,21 +6079,14 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - value) { + public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7337,22 +6100,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7366,21 +6122,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -7391,22 +6141,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -7417,26 +6160,19 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder addAllBucketValues( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass> - values) { + java.lang.Iterable values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -7444,16 +6180,12 @@ public Builder addAllBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -7466,16 +6198,12 @@ public Builder clearBucketValues() { return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -7488,60 +6216,42 @@ public Builder removeBucketValues(int index) { return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder - getBucketValuesBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder getBucketValuesBuilder( + int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder( + int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); - } else { + return bucketValues_.get(index); } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder> - getBucketValuesOrBuilderList() { + public java.util.List + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -7549,82 +6259,48 @@ public Builder removeBucketValues(int index) { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder - addBucketValuesBuilder() { - return getBucketValuesFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder() { + return getBucketValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()); } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder - addBucketValuesBuilder(int index) { - return getBucketValuesFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder( + int index) { + return getBucketValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()); } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder> - getBucketValuesBuilderList() { + public java.util.List + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClass.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityEquivalenceClassOrBuilder>( + bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7634,16 +6310,13 @@ public Builder removeBucketValues(int index) { return bucketValuesBuilder_; } - private long bucketValueCount_; + private long bucketValueCount_ ; /** - * - * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ @java.lang.Override @@ -7651,41 +6324,34 @@ public long getBucketValueCount() { return bucketValueCount_; } /** - * - * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** - * - * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7698,36 +6364,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KAnonymityHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KAnonymityHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KAnonymityHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7739,107 +6399,73 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket> - equivalenceClassHistogramBuckets_; + private java.util.List equivalenceClassHistogramBuckets_; /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket> - getEquivalenceClassHistogramBucketsList() { + public java.util.List getEquivalenceClassHistogramBucketsList() { return equivalenceClassHistogramBuckets_; } /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder> + public java.util.List getEquivalenceClassHistogramBucketsOrBuilderList() { return equivalenceClassHistogramBuckets_; } /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ @java.lang.Override public int getEquivalenceClassHistogramBucketsCount() { return equivalenceClassHistogramBuckets_.size(); } /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - getEquivalenceClassHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) { return equivalenceClassHistogramBuckets_.get(index); } /** - * - * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder - getEquivalenceClassHistogramBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder( + int index) { return equivalenceClassHistogramBuckets_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7851,7 +6477,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < equivalenceClassHistogramBuckets_.size(); i++) { output.writeMessage(5, equivalenceClassHistogramBuckets_.get(i)); } @@ -7865,9 +6492,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < equivalenceClassHistogramBuckets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, equivalenceClassHistogramBuckets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, equivalenceClassHistogramBuckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7877,14 +6503,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) obj; if (!getEquivalenceClassHistogramBucketsList() .equals(other.getEquivalenceClassHistogramBucketsList())) return false; @@ -7909,95 +6533,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8007,52 +6623,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Result of the k-anonymity computation.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEquivalenceClassHistogramBucketsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8066,22 +6675,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = - buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8089,21 +6695,17 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult b } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(this); int from_bitField0_ = bitField0_; if (equivalenceClassHistogramBucketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = - java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); bitField0_ = (bitField0_ & ~0x00000001); } result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBuckets_; } else { - result.equivalenceClassHistogramBuckets_ = - equivalenceClassHistogramBucketsBuilder_.build(); + result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBucketsBuilder_.build(); } onBuilt(); return result; @@ -8113,54 +6715,46 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance()) return this; if (equivalenceClassHistogramBucketsBuilder_ == null) { if (!other.equivalenceClassHistogramBuckets_.isEmpty()) { if (equivalenceClassHistogramBuckets_.isEmpty()) { @@ -8179,13 +6773,11 @@ public Builder mergeFrom( equivalenceClassHistogramBucketsBuilder_ = null; equivalenceClassHistogramBuckets_ = other.equivalenceClassHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); - equivalenceClassHistogramBucketsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEquivalenceClassHistogramBucketsFieldBuilder() - : null; + equivalenceClassHistogramBucketsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEquivalenceClassHistogramBucketsFieldBuilder() : null; } else { - equivalenceClassHistogramBucketsBuilder_.addAllMessages( - other.equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBucketsBuilder_.addAllMessages(other.equivalenceClassHistogramBuckets_); } } } @@ -8204,14 +6796,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parsedMessage = - null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8220,48 +6809,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket> - equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList(); - + private java.util.List equivalenceClassHistogramBuckets_ = + java.util.Collections.emptyList(); private void ensureEquivalenceClassHistogramBucketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket>(equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBuckets_ = new java.util.ArrayList(equivalenceClassHistogramBuckets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder> - equivalenceClassHistogramBucketsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> equivalenceClassHistogramBucketsBuilder_; /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket> - getEquivalenceClassHistogramBucketsList() { + public java.util.List getEquivalenceClassHistogramBucketsList() { if (equivalenceClassHistogramBucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); } else { @@ -8269,15 +6838,11 @@ private void ensureEquivalenceClassHistogramBucketsIsMutable() { } } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public int getEquivalenceClassHistogramBucketsCount() { if (equivalenceClassHistogramBucketsBuilder_ == null) { @@ -8287,19 +6852,13 @@ public int getEquivalenceClassHistogramBucketsCount() { } } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - getEquivalenceClassHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) { if (equivalenceClassHistogramBucketsBuilder_ == null) { return equivalenceClassHistogramBuckets_.get(index); } else { @@ -8307,21 +6866,14 @@ public int getEquivalenceClassHistogramBucketsCount() { } } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder setEquivalenceClassHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) { if (equivalenceClassHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8334,22 +6886,15 @@ public Builder setEquivalenceClassHistogramBuckets( } return this; } - /** - * - * + /** *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder setEquivalenceClassHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); equivalenceClassHistogramBuckets_.set(index, builderForValue.build()); @@ -8360,20 +6905,13 @@ public Builder setEquivalenceClassHistogramBuckets( return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public Builder addEquivalenceClassHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - value) { + public Builder addEquivalenceClassHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) { if (equivalenceClassHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8387,21 +6925,14 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder addEquivalenceClassHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) { if (equivalenceClassHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8415,20 +6946,14 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder addEquivalenceClassHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); equivalenceClassHistogramBuckets_.add(builderForValue.build()); @@ -8439,21 +6964,14 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder addEquivalenceClassHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); equivalenceClassHistogramBuckets_.add(index, builderForValue.build()); @@ -8464,22 +6982,14 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder addAllEquivalenceClassHistogramBuckets( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket> - values) { + java.lang.Iterable values) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -8491,15 +7001,11 @@ public Builder addAllEquivalenceClassHistogramBuckets( return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder clearEquivalenceClassHistogramBuckets() { if (equivalenceClassHistogramBucketsBuilder_ == null) { @@ -8512,15 +7018,11 @@ public Builder clearEquivalenceClassHistogramBuckets() { return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ public Builder removeEquivalenceClassHistogramBuckets(int index) { if (equivalenceClassHistogramBucketsBuilder_ == null) { @@ -8533,57 +7035,39 @@ public Builder removeEquivalenceClassHistogramBuckets(int index) { return this; } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder - getEquivalenceClassHistogramBucketsBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder getEquivalenceClassHistogramBucketsBuilder( + int index) { return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilder(index); } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder - getEquivalenceClassHistogramBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder( + int index) { if (equivalenceClassHistogramBucketsBuilder_ == null) { - return equivalenceClassHistogramBuckets_.get(index); - } else { + return equivalenceClassHistogramBuckets_.get(index); } else { return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder> - getEquivalenceClassHistogramBucketsOrBuilderList() { + public java.util.List + getEquivalenceClassHistogramBucketsOrBuilderList() { if (equivalenceClassHistogramBucketsBuilder_ != null) { return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilderList(); } else { @@ -8591,79 +7075,45 @@ public Builder removeEquivalenceClassHistogramBuckets(int index) { } } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder - addEquivalenceClassHistogramBucketsBuilder() { - return getEquivalenceClassHistogramBucketsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder() { + return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()); } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder - addEquivalenceClassHistogramBucketsBuilder(int index) { - return getEquivalenceClassHistogramBucketsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder( + int index) { + return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()); } /** - * - * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder> - getEquivalenceClassHistogramBucketsBuilderList() { + public java.util.List + getEquivalenceClassHistogramBucketsBuilderList() { return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> getEquivalenceClassHistogramBucketsFieldBuilder() { if (equivalenceClassHistogramBucketsBuilder_ == null) { - equivalenceClassHistogramBucketsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .KAnonymityHistogramBucketOrBuilder>( + equivalenceClassHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>( equivalenceClassHistogramBuckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -8672,7 +7122,6 @@ public Builder removeEquivalenceClassHistogramBuckets(int index) { } return equivalenceClassHistogramBucketsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8685,33 +7134,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KAnonymityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KAnonymityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KAnonymityResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8723,123 +7169,92 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LDiversityResultOrBuilder - extends + public interface LDiversityResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket> + java.util.List getSensitiveValueFrequencyHistogramBucketsList(); /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - getSensitiveValueFrequencyHistogramBuckets(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index); /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ int getSensitiveValueFrequencyHistogramBucketsCount(); /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder> + java.util.List getSensitiveValueFrequencyHistogramBucketsOrBuilderList(); /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder - getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder( + int index); } /** - * - * *
    * Result of the l-diversity computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult} */ - public static final class LDiversityResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class LDiversityResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) LDiversityResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityResult.newBuilder() to construct. private LDiversityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LDiversityResult() { sensitiveValueFrequencyHistogramBuckets_ = 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 LDiversityResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LDiversityResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8859,69 +7274,55 @@ private LDiversityResult( case 0: done = true; break; - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket>(); - mutable_bitField0_ |= 0x00000001; - } - sensitiveValueFrequencyHistogramBuckets_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.parser(), - extensionRegistry)); - break; + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sensitiveValueFrequencyHistogramBuckets_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = - java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder.class); } - public interface LDiversityEquivalenceClassOrBuilder - extends + public interface LDiversityEquivalenceClassOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -8929,10 +7330,9 @@ public interface LDiversityEquivalenceClassOrBuilder
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List getQuasiIdsValuesList();
+      java.util.List 
+          getQuasiIdsValuesList();
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -8942,8 +7342,6 @@ public interface LDiversityEquivalenceClassOrBuilder
        */
       com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -8953,8 +7351,6 @@ public interface LDiversityEquivalenceClassOrBuilder
        */
       int getQuasiIdsValuesCount();
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -8962,11 +7358,9 @@ public interface LDiversityEquivalenceClassOrBuilder
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List
+      java.util.List 
           getQuasiIdsValuesOrBuilderList();
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -8974,47 +7368,39 @@ public interface LDiversityEquivalenceClassOrBuilder
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);
+      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
+          int index);
 
       /**
-       *
-       *
        * 
        * Size of the k-anonymity equivalence class.
        * 
* * int64 equivalence_class_size = 2; - * * @return The equivalenceClassSize. */ long getEquivalenceClassSize(); /** - * - * *
        * Number of distinct sensitive values in this equivalence class.
        * 
* * int64 num_distinct_sensitive_values = 3; - * * @return The numDistinctSensitiveValues. */ long getNumDistinctSensitiveValues(); /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - java.util.List getTopSensitiveValuesList(); + java.util.List + getTopSensitiveValuesList(); /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9023,8 +7409,6 @@ public interface LDiversityEquivalenceClassOrBuilder */ com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index); /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9033,49 +7417,40 @@ public interface LDiversityEquivalenceClassOrBuilder */ int getTopSensitiveValuesCount(); /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - java.util.List + java.util.List getTopSensitiveValuesOrBuilderList(); /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(int index); + com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder( + int index); } /** - * - * *
      * The set of columns' values that share the same ldiversity value.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} */ - public static final class LDiversityEquivalenceClass - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class LDiversityEquivalenceClass extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) LDiversityEquivalenceClassOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityEquivalenceClass.newBuilder() to construct. - private LDiversityEquivalenceClass( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LDiversityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LDiversityEquivalenceClass() { quasiIdsValues_ = java.util.Collections.emptyList(); topSensitiveValues_ = java.util.Collections.emptyList(); @@ -9083,15 +7458,16 @@ private LDiversityEquivalenceClass() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LDiversityEquivalenceClass(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LDiversityEquivalenceClass( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9111,53 +7487,48 @@ private LDiversityEquivalenceClass( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIdsValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 16: - { - equivalenceClassSize_ = input.readInt64(); - break; - } - case 24: - { - numDistinctSensitiveValues_ = input.readInt64(); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - topSensitiveValues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - topSensitiveValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); - break; + quasiIdsValues_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + case 16: { + + equivalenceClassSize_ = input.readInt64(); + break; + } + case 24: { + + numDistinctSensitiveValues_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + topSensitiveValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + topSensitiveValues_.add( + input.readMessage(com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -9169,29 +7540,22 @@ private LDiversityEquivalenceClass( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** - * - * *
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -9204,8 +7568,6 @@ public java.util.List getQuasiIdsValuesList() {
         return quasiIdsValues_;
       }
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -9214,13 +7576,11 @@ public java.util.List getQuasiIdsValuesList() {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public java.util.List
+      public java.util.List 
           getQuasiIdsValuesOrBuilderList() {
         return quasiIdsValues_;
       }
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -9233,8 +7593,6 @@ public int getQuasiIdsValuesCount() {
         return quasiIdsValues_.size();
       }
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -9247,8 +7605,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
         return quasiIdsValues_.get(index);
       }
       /**
-       *
-       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -9257,21 +7613,19 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
+          int index) {
         return quasiIdsValues_.get(index);
       }
 
       public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
       private long equivalenceClassSize_;
       /**
-       *
-       *
        * 
        * Size of the k-anonymity equivalence class.
        * 
* * int64 equivalence_class_size = 2; - * * @return The equivalenceClassSize. */ @java.lang.Override @@ -9282,14 +7636,11 @@ public long getEquivalenceClassSize() { public static final int NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER = 3; private long numDistinctSensitiveValues_; /** - * - * *
        * Number of distinct sensitive values in this equivalence class.
        * 
* * int64 num_distinct_sensitive_values = 3; - * * @return The numDistinctSensitiveValues. */ @java.lang.Override @@ -9300,8 +7651,6 @@ public long getNumDistinctSensitiveValues() { public static final int TOP_SENSITIVE_VALUES_FIELD_NUMBER = 4; private java.util.List topSensitiveValues_; /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9313,8 +7662,6 @@ public java.util.List getTopSensitiveV return topSensitiveValues_; } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9322,13 +7669,11 @@ public java.util.List getTopSensitiveV * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ @java.lang.Override - public java.util.List + public java.util.List getTopSensitiveValuesOrBuilderList() { return topSensitiveValues_; } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9340,8 +7685,6 @@ public int getTopSensitiveValuesCount() { return topSensitiveValues_.size(); } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9353,8 +7696,6 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) return topSensitiveValues_.get(index); } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9368,7 +7709,6 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9380,7 +7720,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -9403,21 +7744,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIdsValues_.get(i)); } if (equivalenceClassSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, equivalenceClassSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, equivalenceClassSize_); } if (numDistinctSensitiveValues_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 3, numDistinctSensitiveValues_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, numDistinctSensitiveValues_); } for (int i = 0; i < topSensitiveValues_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, topSensitiveValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, topSensitiveValues_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9427,25 +7767,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass) - obj; - - if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; - if (getEquivalenceClassSize() != other.getEquivalenceClassSize()) return false; - if (getNumDistinctSensitiveValues() != other.getNumDistinctSensitiveValues()) return false; - if (!getTopSensitiveValuesList().equals(other.getTopSensitiveValuesList())) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) obj; + + if (!getQuasiIdsValuesList() + .equals(other.getQuasiIdsValuesList())) return false; + if (getEquivalenceClassSize() + != other.getEquivalenceClassSize()) return false; + if (getNumDistinctSensitiveValues() + != other.getNumDistinctSensitiveValues()) return false; + if (!getTopSensitiveValuesList() + .equals(other.getTopSensitiveValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9462,9 +7798,11 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEquivalenceClassSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEquivalenceClassSize()); hash = (37 * hash) + NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNumDistinctSensitiveValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNumDistinctSensitiveValues()); if (getTopSensitiveValuesCount() > 0) { hash = (37 * hash) + TOP_SENSITIVE_VALUES_FIELD_NUMBER; hash = (53 * hash) + getTopSensitiveValuesList().hashCode(); @@ -9474,117 +7812,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9594,56 +7903,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The set of columns' values that share the same ldiversity value.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); getTopSensitiveValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9667,26 +7966,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9694,14 +7986,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -9731,60 +8017,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -9803,10 +8075,9 @@ public Builder mergeFrom( quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsValuesFieldBuilder() - : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsValuesFieldBuilder() : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -9836,10 +8107,9 @@ public Builder mergeFrom( topSensitiveValuesBuilder_ = null; topSensitiveValues_ = other.topSensitiveValues_; bitField0_ = (bitField0_ & ~0x00000002); - topSensitiveValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTopSensitiveValuesFieldBuilder() - : null; + topSensitiveValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTopSensitiveValuesFieldBuilder() : null; } else { topSensitiveValuesBuilder_.addAllMessages(other.topSensitiveValues_); } @@ -9860,16 +8130,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9878,29 +8143,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = - new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; /** - * - * *
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -9916,8 +8173,6 @@ public java.util.List getQuasiIdsValuesList() {
           }
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -9933,8 +8188,6 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -9950,8 +8203,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
           }
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -9959,7 +8210,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder setQuasiIdsValues(
+            int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -9973,8 +8225,6 @@ public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -9994,8 +8244,6 @@ public Builder setQuasiIdsValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10017,8 +8265,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10026,7 +8272,8 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder addQuasiIdsValues(
+            int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -10040,8 +8287,6 @@ public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10049,7 +8294,8 @@ public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+        public Builder addQuasiIdsValues(
+            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
             quasiIdsValues_.add(builderForValue.build());
@@ -10060,8 +8306,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builder
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10081,8 +8325,6 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10094,7 +8336,8 @@ public Builder addAllQuasiIdsValues(
             java.lang.Iterable values) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(
+                values, quasiIdsValues_);
             onChanged();
           } else {
             quasiIdsValuesBuilder_.addAllMessages(values);
@@ -10102,8 +8345,6 @@ public Builder addAllQuasiIdsValues(
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10122,8 +8363,6 @@ public Builder clearQuasiIdsValues() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10142,8 +8381,6 @@ public Builder removeQuasiIdsValues(int index) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10151,12 +8388,11 @@ public Builder removeQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
+        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
+            int index) {
           return getQuasiIdsValuesFieldBuilder().getBuilder(index);
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10164,16 +8400,14 @@ public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int inde
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
+        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
+            int index) {
           if (quasiIdsValuesBuilder_ == null) {
-            return quasiIdsValues_.get(index);
-          } else {
+            return quasiIdsValues_.get(index);  } else {
             return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10181,8 +8415,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List
-            getQuasiIdsValuesOrBuilderList() {
+        public java.util.List 
+             getQuasiIdsValuesOrBuilderList() {
           if (quasiIdsValuesBuilder_ != null) {
             return quasiIdsValuesBuilder_.getMessageOrBuilderList();
           } else {
@@ -10190,8 +8424,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
           }
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10200,12 +8432,10 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
         public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
-          return getQuasiIdsValuesFieldBuilder()
-              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
+          return getQuasiIdsValuesFieldBuilder().addBuilder(
+              com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10213,13 +8443,12 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
-          return getQuasiIdsValuesFieldBuilder()
-              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
+        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
+            int index) {
+          return getQuasiIdsValuesFieldBuilder().addBuilder(
+              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -10227,22 +8456,16 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List
-            getQuasiIdsValuesBuilderList() {
+        public java.util.List 
+             getQuasiIdsValuesBuilderList() {
           return getQuasiIdsValuesFieldBuilder().getBuilderList();
         }
-
         private com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Value,
-                com.google.privacy.dlp.v2.Value.Builder,
-                com.google.privacy.dlp.v2.ValueOrBuilder>
+            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
             getQuasiIdsValuesFieldBuilder() {
           if (quasiIdsValuesBuilder_ == null) {
-            quasiIdsValuesBuilder_ =
-                new com.google.protobuf.RepeatedFieldBuilderV3<
-                    com.google.privacy.dlp.v2.Value,
-                    com.google.privacy.dlp.v2.Value.Builder,
-                    com.google.privacy.dlp.v2.ValueOrBuilder>(
+            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
                     quasiIdsValues_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -10252,16 +8475,13 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
           return quasiIdsValuesBuilder_;
         }
 
-        private long equivalenceClassSize_;
+        private long equivalenceClassSize_ ;
         /**
-         *
-         *
          * 
          * Size of the k-anonymity equivalence class.
          * 
* * int64 equivalence_class_size = 2; - * * @return The equivalenceClassSize. */ @java.lang.Override @@ -10269,51 +8489,42 @@ public long getEquivalenceClassSize() { return equivalenceClassSize_; } /** - * - * *
          * Size of the k-anonymity equivalence class.
          * 
* * int64 equivalence_class_size = 2; - * * @param value The equivalenceClassSize to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSize(long value) { - + equivalenceClassSize_ = value; onChanged(); return this; } /** - * - * *
          * Size of the k-anonymity equivalence class.
          * 
* * int64 equivalence_class_size = 2; - * * @return This builder for chaining. */ public Builder clearEquivalenceClassSize() { - + equivalenceClassSize_ = 0L; onChanged(); return this; } - private long numDistinctSensitiveValues_; + private long numDistinctSensitiveValues_ ; /** - * - * *
          * Number of distinct sensitive values in this equivalence class.
          * 
* * int64 num_distinct_sensitive_values = 3; - * * @return The numDistinctSensitiveValues. */ @java.lang.Override @@ -10321,70 +8532,55 @@ public long getNumDistinctSensitiveValues() { return numDistinctSensitiveValues_; } /** - * - * *
          * Number of distinct sensitive values in this equivalence class.
          * 
* * int64 num_distinct_sensitive_values = 3; - * * @param value The numDistinctSensitiveValues to set. * @return This builder for chaining. */ public Builder setNumDistinctSensitiveValues(long value) { - + numDistinctSensitiveValues_ = value; onChanged(); return this; } /** - * - * *
          * Number of distinct sensitive values in this equivalence class.
          * 
* * int64 num_distinct_sensitive_values = 3; - * * @return This builder for chaining. */ public Builder clearNumDistinctSensitiveValues() { - + numDistinctSensitiveValues_ = 0L; onChanged(); return this; } private java.util.List topSensitiveValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTopSensitiveValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - topSensitiveValues_ = - new java.util.ArrayList( - topSensitiveValues_); + topSensitiveValues_ = new java.util.ArrayList(topSensitiveValues_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, - com.google.privacy.dlp.v2.ValueFrequency.Builder, - com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> - topSensitiveValuesBuilder_; + com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> topSensitiveValuesBuilder_; /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - public java.util.List - getTopSensitiveValuesList() { + public java.util.List getTopSensitiveValuesList() { if (topSensitiveValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(topSensitiveValues_); } else { @@ -10392,8 +8588,6 @@ private void ensureTopSensitiveValuesIsMutable() { } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10408,8 +8602,6 @@ public int getTopSensitiveValuesCount() { } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10424,8 +8616,6 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10447,8 +8637,6 @@ public Builder setTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10467,8 +8655,6 @@ public Builder setTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10489,8 +8675,6 @@ public Builder addTopSensitiveValues(com.google.privacy.dlp.v2.ValueFrequency va return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10512,8 +8696,6 @@ public Builder addTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10532,8 +8714,6 @@ public Builder addTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10552,8 +8732,6 @@ public Builder addTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10564,7 +8742,8 @@ public Builder addAllTopSensitiveValues( java.lang.Iterable values) { if (topSensitiveValuesBuilder_ == null) { ensureTopSensitiveValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topSensitiveValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, topSensitiveValues_); onChanged(); } else { topSensitiveValuesBuilder_.addAllMessages(values); @@ -10572,8 +8751,6 @@ public Builder addAllTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10591,8 +8768,6 @@ public Builder clearTopSensitiveValues() { return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10610,8 +8785,6 @@ public Builder removeTopSensitiveValues(int index) { return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10623,8 +8796,6 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBui return getTopSensitiveValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10634,22 +8805,19 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBui public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder( int index) { if (topSensitiveValuesBuilder_ == null) { - return topSensitiveValues_.get(index); - } else { + return topSensitiveValues_.get(index); } else { return topSensitiveValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - public java.util.List - getTopSensitiveValuesOrBuilderList() { + public java.util.List + getTopSensitiveValuesOrBuilderList() { if (topSensitiveValuesBuilder_ != null) { return topSensitiveValuesBuilder_.getMessageOrBuilderList(); } else { @@ -10657,8 +8825,6 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10666,12 +8832,10 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder() { - return getTopSensitiveValuesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); + return getTopSensitiveValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10680,34 +8844,26 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBui */ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder( int index) { - return getTopSensitiveValuesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); + return getTopSensitiveValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - public java.util.List - getTopSensitiveValuesBuilderList() { + public java.util.List + getTopSensitiveValuesBuilderList() { return getTopSensitiveValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, - com.google.privacy.dlp.v2.ValueFrequency.Builder, - com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> + com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> getTopSensitiveValuesFieldBuilder() { if (topSensitiveValuesBuilder_ == null) { - topSensitiveValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, - com.google.privacy.dlp.v2.ValueFrequency.Builder, - com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>( + topSensitiveValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>( topSensitiveValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -10716,7 +8872,6 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBui } return topSensitiveValuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10729,36 +8884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityEquivalenceClass parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityEquivalenceClass(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityEquivalenceClass parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityEquivalenceClass(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10770,185 +8919,139 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LDiversityHistogramBucketOrBuilder - extends + public interface LDiversityHistogramBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Lower bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_lower_bound = 1; - * * @return The sensitiveValueFrequencyLowerBound. */ long getSensitiveValueFrequencyLowerBound(); /** - * - * *
        * Upper bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_upper_bound = 2; - * * @return The sensitiveValueFrequencyUpperBound. */ long getSensitiveValueFrequencyUpperBound(); /** - * - * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ long getBucketSize(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass> + java.util.List getBucketValuesList(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ int getBucketValuesCount(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder> + java.util.List getBucketValuesOrBuilderList(); /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder - getBucketValuesOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder( + int index); /** - * - * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ long getBucketValueCount(); } /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} */ - public static final class LDiversityHistogramBucket - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class LDiversityHistogramBucket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) LDiversityHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityHistogramBucket.newBuilder() to construct. private LDiversityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LDiversityHistogramBucket() { bucketValues_ = 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 LDiversityHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LDiversityHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10968,56 +9071,49 @@ private LDiversityHistogramBucket( case 0: done = true; break; - case 8: - { - sensitiveValueFrequencyLowerBound_ = input.readInt64(); - break; - } - case 16: - { - sensitiveValueFrequencyUpperBound_ = input.readInt64(); - break; - } - case 24: - { - bucketSize_ = input.readInt64(); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass>(); - mutable_bitField0_ |= 0x00000001; - } - bucketValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.parser(), - extensionRegistry)); - break; - } - case 40: - { - bucketValueCount_ = input.readInt64(); - break; + case 8: { + + sensitiveValueFrequencyLowerBound_ = input.readInt64(); + break; + } + case 16: { + + sensitiveValueFrequencyUpperBound_ = input.readInt64(); + break; + } + case 24: { + + bucketSize_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bucketValues_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.parser(), extensionRegistry)); + break; + } + case 40: { + + bucketValueCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -11026,36 +9122,28 @@ private LDiversityHistogramBucket( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder.class); } public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1; private long sensitiveValueFrequencyLowerBound_; /** - * - * *
        * Lower bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_lower_bound = 1; - * * @return The sensitiveValueFrequencyLowerBound. */ @java.lang.Override @@ -11066,15 +9154,12 @@ public long getSensitiveValueFrequencyLowerBound() { public static final int SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2; private long sensitiveValueFrequencyUpperBound_; /** - * - * *
        * Upper bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_upper_bound = 2; - * * @return The sensitiveValueFrequencyUpperBound. */ @java.lang.Override @@ -11085,14 +9170,11 @@ public long getSensitiveValueFrequencyUpperBound() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private long bucketSize_; /** - * - * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ @java.lang.Override @@ -11101,113 +9183,78 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 4; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass> - bucketValues_; + private java.util.List bucketValues_; /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass> - getBucketValuesList() { + public java.util.List getBucketValuesList() { return bucketValues_; } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder> + public java.util.List getBucketValuesOrBuilderList() { return bucketValues_; } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index) { return bucketValues_.get(index); } /** - * - * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder( + int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5; private long bucketValueCount_; /** - * - * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ @java.lang.Override @@ -11216,7 +9263,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11228,7 +9274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sensitiveValueFrequencyLowerBound_ != 0L) { output.writeInt64(1, sensitiveValueFrequencyLowerBound_); } @@ -11254,23 +9301,24 @@ public int getSerializedSize() { size = 0; if (sensitiveValueFrequencyLowerBound_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, sensitiveValueFrequencyLowerBound_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, sensitiveValueFrequencyLowerBound_); } if (sensitiveValueFrequencyUpperBound_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, sensitiveValueFrequencyUpperBound_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, sensitiveValueFrequencyUpperBound_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11280,28 +9328,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket) - obj; - - if (getSensitiveValueFrequencyLowerBound() != other.getSensitiveValueFrequencyLowerBound()) - return false; - if (getSensitiveValueFrequencyUpperBound() != other.getSensitiveValueFrequencyUpperBound()) - return false; - if (getBucketSize() != other.getBucketSize()) return false; - if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) obj; + + if (getSensitiveValueFrequencyLowerBound() + != other.getSensitiveValueFrequencyLowerBound()) return false; + if (getSensitiveValueFrequencyUpperBound() + != other.getSensitiveValueFrequencyUpperBound()) return false; + if (getBucketSize() + != other.getBucketSize()) return false; + if (!getBucketValuesList() + .equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() + != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11314,137 +9357,108 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getSensitiveValueFrequencyLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSensitiveValueFrequencyLowerBound()); hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getSensitiveValueFrequencyUpperBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSensitiveValueFrequencyUpperBound()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11454,55 +9468,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -11524,26 +9528,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11551,14 +9548,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket(this); int from_bitField0_ = bitField0_; result.sensitiveValueFrequencyLowerBound_ = sensitiveValueFrequencyLowerBound_; result.sensitiveValueFrequencyUpperBound_ = sensitiveValueFrequencyUpperBound_; @@ -11581,60 +9572,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()) return this; if (other.getSensitiveValueFrequencyLowerBound() != 0L) { setSensitiveValueFrequencyLowerBound(other.getSensitiveValueFrequencyLowerBound()); } @@ -11662,10 +9639,9 @@ public Builder mergeFrom( bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBucketValuesFieldBuilder() - : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBucketValuesFieldBuilder() : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -11689,16 +9665,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11707,20 +9678,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private long sensitiveValueFrequencyLowerBound_; + private long sensitiveValueFrequencyLowerBound_ ; /** - * - * *
          * Lower bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_lower_bound = 1; - * * @return The sensitiveValueFrequencyLowerBound. */ @java.lang.Override @@ -11728,54 +9695,45 @@ public long getSensitiveValueFrequencyLowerBound() { return sensitiveValueFrequencyLowerBound_; } /** - * - * *
          * Lower bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_lower_bound = 1; - * * @param value The sensitiveValueFrequencyLowerBound to set. * @return This builder for chaining. */ public Builder setSensitiveValueFrequencyLowerBound(long value) { - + sensitiveValueFrequencyLowerBound_ = value; onChanged(); return this; } /** - * - * *
          * Lower bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_lower_bound = 1; - * * @return This builder for chaining. */ public Builder clearSensitiveValueFrequencyLowerBound() { - + sensitiveValueFrequencyLowerBound_ = 0L; onChanged(); return this; } - private long sensitiveValueFrequencyUpperBound_; + private long sensitiveValueFrequencyUpperBound_ ; /** - * - * *
          * Upper bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_upper_bound = 2; - * * @return The sensitiveValueFrequencyUpperBound. */ @java.lang.Override @@ -11783,53 +9741,44 @@ public long getSensitiveValueFrequencyUpperBound() { return sensitiveValueFrequencyUpperBound_; } /** - * - * *
          * Upper bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_upper_bound = 2; - * * @param value The sensitiveValueFrequencyUpperBound to set. * @return This builder for chaining. */ public Builder setSensitiveValueFrequencyUpperBound(long value) { - + sensitiveValueFrequencyUpperBound_ = value; onChanged(); return this; } /** - * - * *
          * Upper bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_upper_bound = 2; - * * @return This builder for chaining. */ public Builder clearSensitiveValueFrequencyUpperBound() { - + sensitiveValueFrequencyUpperBound_ = 0L; onChanged(); return this; } - private long bucketSize_; + private long bucketSize_ ; /** - * - * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; - * * @return The bucketSize. */ @java.lang.Override @@ -11837,81 +9786,56 @@ public long getBucketSize() { return bucketSize_; } /** - * - * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; - * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** - * - * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; - * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass> - bucketValues_ = java.util.Collections.emptyList(); - + private java.util.List bucketValues_ = + java.util.Collections.emptyList(); private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass>(bucketValues_); + bucketValues_ = new java.util.ArrayList(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder> - bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder> bucketValuesBuilder_; /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass> - getBucketValuesList() { + public java.util.List getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -11919,16 +9843,12 @@ private void ensureBucketValuesIsMutable() { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -11938,20 +9858,14 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -11959,22 +9873,15 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11988,22 +9895,15 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -12014,21 +9914,14 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - value) { + public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12042,22 +9935,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12071,21 +9957,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -12095,23 +9975,16 @@ public Builder addBucketValues( } return this; } - /** - * - * + /** *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -12122,26 +9995,19 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder addAllBucketValues( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass> - values) { + java.lang.Iterable values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -12149,16 +10015,12 @@ public Builder addAllBucketValues( return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -12171,16 +10033,12 @@ public Builder clearBucketValues() { return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -12193,60 +10051,42 @@ public Builder removeBucketValues(int index) { return this; } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder - getBucketValuesBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder getBucketValuesBuilder( + int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder( + int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); - } else { + return bucketValues_.get(index); } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder> - getBucketValuesOrBuilderList() { + public java.util.List + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -12254,82 +10094,48 @@ public Builder removeBucketValues(int index) { } } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder - addBucketValuesBuilder() { - return getBucketValuesFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder() { + return getBucketValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()); } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder - addBucketValuesBuilder(int index) { - return getBucketValuesFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder( + int index) { + return getBucketValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()); } /** - * - * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder> - getBucketValuesBuilderList() { + public java.util.List + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClass.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityEquivalenceClassOrBuilder>( + bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -12339,16 +10145,13 @@ public Builder removeBucketValues(int index) { return bucketValuesBuilder_; } - private long bucketValueCount_; + private long bucketValueCount_ ; /** - * - * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @return The bucketValueCount. */ @java.lang.Override @@ -12356,41 +10159,34 @@ public long getBucketValueCount() { return bucketValueCount_; } /** - * - * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** - * - * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; - * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12403,36 +10199,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12444,107 +10234,73 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket> - sensitiveValueFrequencyHistogramBuckets_; + private java.util.List sensitiveValueFrequencyHistogramBuckets_; /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket> - getSensitiveValueFrequencyHistogramBucketsList() { + public java.util.List getSensitiveValueFrequencyHistogramBucketsList() { return sensitiveValueFrequencyHistogramBuckets_; } /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder> + public java.util.List getSensitiveValueFrequencyHistogramBucketsOrBuilderList() { return sensitiveValueFrequencyHistogramBuckets_; } /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ @java.lang.Override public int getSensitiveValueFrequencyHistogramBucketsCount() { return sensitiveValueFrequencyHistogramBuckets_.size(); } /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - getSensitiveValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index) { return sensitiveValueFrequencyHistogramBuckets_.get(index); } /** - * - * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder - getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder( + int index) { return sensitiveValueFrequencyHistogramBuckets_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12556,7 +10312,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < sensitiveValueFrequencyHistogramBuckets_.size(); i++) { output.writeMessage(5, sensitiveValueFrequencyHistogramBuckets_.get(i)); } @@ -12570,9 +10327,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sensitiveValueFrequencyHistogramBuckets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, sensitiveValueFrequencyHistogramBuckets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, sensitiveValueFrequencyHistogramBuckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12582,14 +10338,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) obj; if (!getSensitiveValueFrequencyHistogramBucketsList() .equals(other.getSensitiveValueFrequencyHistogramBucketsList())) return false; @@ -12614,95 +10368,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12712,52 +10458,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Result of the l-diversity computation.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getSensitiveValueFrequencyHistogramBucketsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12771,22 +10510,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = - buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12794,22 +10530,17 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult b } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(this); int from_bitField0_ = bitField0_; if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = - java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); bitField0_ = (bitField0_ & ~0x00000001); } - result.sensitiveValueFrequencyHistogramBuckets_ = - sensitiveValueFrequencyHistogramBuckets_; + result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBuckets_; } else { - result.sensitiveValueFrequencyHistogramBuckets_ = - sensitiveValueFrequencyHistogramBucketsBuilder_.build(); + result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBucketsBuilder_.build(); } onBuilt(); return result; @@ -12819,64 +10550,54 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance()) return this; if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (!other.sensitiveValueFrequencyHistogramBuckets_.isEmpty()) { if (sensitiveValueFrequencyHistogramBuckets_.isEmpty()) { - sensitiveValueFrequencyHistogramBuckets_ = - other.sensitiveValueFrequencyHistogramBuckets_; + sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); - sensitiveValueFrequencyHistogramBuckets_.addAll( - other.sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_.addAll(other.sensitiveValueFrequencyHistogramBuckets_); } onChanged(); } @@ -12885,16 +10606,13 @@ public Builder mergeFrom( if (sensitiveValueFrequencyHistogramBucketsBuilder_.isEmpty()) { sensitiveValueFrequencyHistogramBucketsBuilder_.dispose(); sensitiveValueFrequencyHistogramBucketsBuilder_ = null; - sensitiveValueFrequencyHistogramBuckets_ = - other.sensitiveValueFrequencyHistogramBuckets_; + sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); - sensitiveValueFrequencyHistogramBucketsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSensitiveValueFrequencyHistogramBucketsFieldBuilder() - : null; + sensitiveValueFrequencyHistogramBucketsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSensitiveValueFrequencyHistogramBucketsFieldBuilder() : null; } else { - sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages( - other.sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages(other.sensitiveValueFrequencyHistogramBuckets_); } } } @@ -12913,14 +10631,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parsedMessage = - null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12929,48 +10644,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket> - sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList(); - + private java.util.List sensitiveValueFrequencyHistogramBuckets_ = + java.util.Collections.emptyList(); private void ensureSensitiveValueFrequencyHistogramBucketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket>(sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList(sensitiveValueFrequencyHistogramBuckets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder> - sensitiveValueFrequencyHistogramBucketsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder> sensitiveValueFrequencyHistogramBucketsBuilder_; /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket> - getSensitiveValueFrequencyHistogramBucketsList() { + public java.util.List getSensitiveValueFrequencyHistogramBucketsList() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); } else { @@ -12978,15 +10673,11 @@ private void ensureSensitiveValueFrequencyHistogramBucketsIsMutable() { } } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public int getSensitiveValueFrequencyHistogramBucketsCount() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { @@ -12996,19 +10687,13 @@ public int getSensitiveValueFrequencyHistogramBucketsCount() { } } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - getSensitiveValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { return sensitiveValueFrequencyHistogramBuckets_.get(index); } else { @@ -13016,21 +10701,14 @@ public int getSensitiveValueFrequencyHistogramBucketsCount() { } } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder setSensitiveValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13044,46 +10722,31 @@ public Builder setSensitiveValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder setSensitiveValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); sensitiveValueFrequencyHistogramBuckets_.set(index, builderForValue.build()); onChanged(); } else { - sensitiveValueFrequencyHistogramBucketsBuilder_.setMessage( - index, builderForValue.build()); + sensitiveValueFrequencyHistogramBucketsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public Builder addSensitiveValueFrequencyHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - value) { + public Builder addSensitiveValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13097,21 +10760,14 @@ public Builder addSensitiveValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder addSensitiveValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13125,20 +10781,14 @@ public Builder addSensitiveValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder addSensitiveValueFrequencyHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); sensitiveValueFrequencyHistogramBuckets_.add(builderForValue.build()); @@ -13149,48 +10799,32 @@ public Builder addSensitiveValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder addSensitiveValueFrequencyHistogramBuckets( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); sensitiveValueFrequencyHistogramBuckets_.add(index, builderForValue.build()); onChanged(); } else { - sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage( - index, builderForValue.build()); + sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder addAllSensitiveValueFrequencyHistogramBuckets( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket> - values) { + java.lang.Iterable values) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -13202,15 +10836,11 @@ public Builder addAllSensitiveValueFrequencyHistogramBuckets( return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder clearSensitiveValueFrequencyHistogramBuckets() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { @@ -13223,15 +10853,11 @@ public Builder clearSensitiveValueFrequencyHistogramBuckets() { return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { @@ -13244,57 +10870,39 @@ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { return this; } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder - getSensitiveValueFrequencyHistogramBucketsBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder getSensitiveValueFrequencyHistogramBucketsBuilder( + int index) { return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index); } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder - getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder( + int index) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { - return sensitiveValueFrequencyHistogramBuckets_.get(index); - } else { + return sensitiveValueFrequencyHistogramBuckets_.get(index); } else { return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder> - getSensitiveValueFrequencyHistogramBucketsOrBuilderList() { + public java.util.List + getSensitiveValueFrequencyHistogramBucketsOrBuilderList() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ != null) { return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilderList(); } else { @@ -13302,79 +10910,45 @@ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { } } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder - addSensitiveValueFrequencyHistogramBucketsBuilder() { - return getSensitiveValueFrequencyHistogramBucketsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder() { + return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()); } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder - addSensitiveValueFrequencyHistogramBucketsBuilder(int index) { - return getSensitiveValueFrequencyHistogramBucketsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder( + int index) { + return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()); } /** - * - * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder> - getSensitiveValueFrequencyHistogramBucketsBuilderList() { + public java.util.List + getSensitiveValueFrequencyHistogramBucketsBuilderList() { return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder> getSensitiveValueFrequencyHistogramBucketsFieldBuilder() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { - sensitiveValueFrequencyHistogramBucketsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .LDiversityHistogramBucketOrBuilder>( + sensitiveValueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>( sensitiveValueFrequencyHistogramBuckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -13383,7 +10957,6 @@ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { } return sensitiveValueFrequencyHistogramBucketsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13396,33 +10969,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13434,20 +11004,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface KMapEstimationResultOrBuilder - extends + public interface KMapEstimationResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13459,17 +11026,11 @@ public interface KMapEstimationResultOrBuilder
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket> + java.util.List getKMapEstimationHistogramList(); /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13481,16 +11042,10 @@ public interface KMapEstimationResultOrBuilder
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - getKMapEstimationHistogram(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index); /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13502,14 +11057,10 @@ public interface KMapEstimationResultOrBuilder
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ int getKMapEstimationHistogramCount(); /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13521,18 +11072,11 @@ public interface KMapEstimationResultOrBuilder
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder> + java.util.List getKMapEstimationHistogramOrBuilderList(); /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13544,17 +11088,12 @@ public interface KMapEstimationResultOrBuilder
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder - getKMapEstimationHistogramOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder( + int index); } /** - * - * *
    * Result of the reidentifiability analysis. Note that these results are an
    * estimation, not exact values.
@@ -13562,31 +11101,31 @@ public interface KMapEstimationResultOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult}
    */
-  public static final class KMapEstimationResult extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class KMapEstimationResult extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
       KMapEstimationResultOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use KMapEstimationResult.newBuilder() to construct.
     private KMapEstimationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private KMapEstimationResult() {
       kMapEstimationHistogram_ = 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 KMapEstimationResult();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private KMapEstimationResult(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13606,79 +11145,64 @@ private KMapEstimationResult(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  kMapEstimationHistogram_ =
-                      new java.util.ArrayList<
-                          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
-                              .KMapEstimationResult.KMapEstimationHistogramBucket>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                kMapEstimationHistogram_.add(
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                            .KMapEstimationHistogramBucket.parser(),
-                        extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                kMapEstimationHistogram_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              kMapEstimationHistogram_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
-          kMapEstimationHistogram_ =
-              java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
+          kMapEstimationHistogram_ = java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
         }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class,
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder
-                  .class);
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder.class);
     }
 
-    public interface KMapEstimationQuasiIdValuesOrBuilder
-        extends
+    public interface KMapEstimationQuasiIdValuesOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List getQuasiIdsValuesList(); + java.util.List + getQuasiIdsValuesList(); /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13687,8 +11211,6 @@ public interface KMapEstimationQuasiIdValuesOrBuilder */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13697,77 +11219,66 @@ public interface KMapEstimationQuasiIdValuesOrBuilder */ int getQuasiIdsValuesCount(); /** - * - * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List + java.util.List getQuasiIdsValuesOrBuilderList(); /** - * - * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index); + com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( + int index); /** - * - * *
        * The estimated anonymity for these quasi-identifier values.
        * 
* * int64 estimated_anonymity = 2; - * * @return The estimatedAnonymity. */ long getEstimatedAnonymity(); } /** - * - * *
      * A tuple of values for the quasi-identifier columns.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} */ - public static final class KMapEstimationQuasiIdValues - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class KMapEstimationQuasiIdValues extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) KMapEstimationQuasiIdValuesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KMapEstimationQuasiIdValues.newBuilder() to construct. - private KMapEstimationQuasiIdValues( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private KMapEstimationQuasiIdValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KMapEstimationQuasiIdValues() { quasiIdsValues_ = 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 KMapEstimationQuasiIdValues(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KMapEstimationQuasiIdValues( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13787,36 +11298,34 @@ private KMapEstimationQuasiIdValues( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIdsValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 16: - { - estimatedAnonymity_ = input.readInt64(); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + quasiIdsValues_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + case 16: { + + estimatedAnonymity_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -13825,29 +11334,22 @@ private KMapEstimationQuasiIdValues( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13859,8 +11361,6 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13868,13 +11368,11 @@ public java.util.List getQuasiIdsValuesList() { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQuasiIdsValuesOrBuilderList() { return quasiIdsValues_; } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13886,8 +11384,6 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13899,8 +11395,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13908,21 +11402,19 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( + int index) { return quasiIdsValues_.get(index); } public static final int ESTIMATED_ANONYMITY_FIELD_NUMBER = 2; private long estimatedAnonymity_; /** - * - * *
        * The estimated anonymity for these quasi-identifier values.
        * 
* * int64 estimated_anonymity = 2; - * * @return The estimatedAnonymity. */ @java.lang.Override @@ -13931,7 +11423,6 @@ public long getEstimatedAnonymity() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13943,7 +11434,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -13960,11 +11452,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIdsValues_.get(i)); } if (estimatedAnonymity_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, estimatedAnonymity_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, estimatedAnonymity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13974,23 +11467,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues) - obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) obj; - if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; - if (getEstimatedAnonymity() != other.getEstimatedAnonymity()) return false; + if (!getQuasiIdsValuesList() + .equals(other.getQuasiIdsValuesList())) return false; + if (getEstimatedAnonymity() + != other.getEstimatedAnonymity()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14007,123 +11494,95 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + ESTIMATED_ANONYMITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedAnonymity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedAnonymity()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14133,55 +11592,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A tuple of values for the quasi-identifier columns.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14197,26 +11646,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14224,14 +11666,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -14251,60 +11687,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -14323,10 +11745,9 @@ public Builder mergeFrom( quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsValuesFieldBuilder() - : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsValuesFieldBuilder() : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -14350,16 +11771,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14368,29 +11784,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = - new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14405,8 +11813,6 @@ public java.util.List getQuasiIdsValuesList() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14421,8 +11827,6 @@ public int getQuasiIdsValuesCount() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14437,15 +11841,14 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { } } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { + public Builder setQuasiIdsValues( + int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14459,8 +11862,6 @@ public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14479,8 +11880,6 @@ public Builder setQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14501,15 +11900,14 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { + public Builder addQuasiIdsValues( + int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14523,15 +11921,14 @@ public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu return this; } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addQuasiIdsValues( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); quasiIdsValues_.add(builderForValue.build()); @@ -14542,8 +11939,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builder return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14562,8 +11957,6 @@ public Builder addQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14574,7 +11967,8 @@ public Builder addAllQuasiIdsValues( java.lang.Iterable values) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quasiIdsValues_); onChanged(); } else { quasiIdsValuesBuilder_.addAllMessages(values); @@ -14582,8 +11976,6 @@ public Builder addAllQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14601,8 +11993,6 @@ public Builder clearQuasiIdsValues() { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14620,44 +12010,39 @@ public Builder removeQuasiIdsValues(int index) { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) { + public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder( + int index) { return getQuasiIdsValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( + int index) { if (quasiIdsValuesBuilder_ == null) { - return quasiIdsValues_.get(index); - } else { + return quasiIdsValues_.get(index); } else { return quasiIdsValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesOrBuilderList() { + public java.util.List + getQuasiIdsValuesOrBuilderList() { if (quasiIdsValuesBuilder_ != null) { return quasiIdsValuesBuilder_.getMessageOrBuilderList(); } else { @@ -14665,8 +12050,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14674,47 +12057,38 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() { - return getQuasiIdsValuesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance()); + return getQuasiIdsValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) { - return getQuasiIdsValuesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); + public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder( + int index) { + return getQuasiIdsValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesBuilderList() { + public java.util.List + getQuasiIdsValuesBuilderList() { return getQuasiIdsValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getQuasiIdsValuesFieldBuilder() { if (quasiIdsValuesBuilder_ == null) { - quasiIdsValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( + quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( quasiIdsValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -14724,16 +12098,13 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde return quasiIdsValuesBuilder_; } - private long estimatedAnonymity_; + private long estimatedAnonymity_ ; /** - * - * *
          * The estimated anonymity for these quasi-identifier values.
          * 
* * int64 estimated_anonymity = 2; - * * @return The estimatedAnonymity. */ @java.lang.Override @@ -14741,41 +12112,34 @@ public long getEstimatedAnonymity() { return estimatedAnonymity_; } /** - * - * *
          * The estimated anonymity for these quasi-identifier values.
          * 
* * int64 estimated_anonymity = 2; - * * @param value The estimatedAnonymity to set. * @return This builder for chaining. */ public Builder setEstimatedAnonymity(long value) { - + estimatedAnonymity_ = value; onChanged(); return this; } /** - * - * *
          * The estimated anonymity for these quasi-identifier values.
          * 
* * int64 estimated_anonymity = 2; - * * @return This builder for chaining. */ public Builder clearEstimatedAnonymity() { - + estimatedAnonymity_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14788,36 +12152,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .KMapEstimationResult.KMapEstimationQuasiIdValues - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationQuasiIdValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationQuasiIdValues(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationQuasiIdValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationQuasiIdValues(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14829,150 +12187,106 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface KMapEstimationHistogramBucketOrBuilder - extends + public interface KMapEstimationHistogramBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Always positive.
        * 
* * int64 min_anonymity = 1; - * * @return The minAnonymity. */ long getMinAnonymity(); /** - * - * *
        * Always greater than or equal to min_anonymity.
        * 
* * int64 max_anonymity = 2; - * * @return The maxAnonymity. */ long getMaxAnonymity(); /** - * - * *
        * Number of records within these anonymity bounds.
        * 
* * int64 bucket_size = 5; - * * @return The bucketSize. */ long getBucketSize(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues> + java.util.List getBucketValuesList(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ int getBucketValuesCount(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder> + java.util.List getBucketValuesOrBuilderList(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder - getBucketValuesOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( + int index); /** - * - * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; - * * @return The bucketValueCount. */ long getBucketValueCount(); } /** - * - * *
      * A KMapEstimationHistogramBucket message with the following values:
      *   min_anonymity: 3
@@ -14984,36 +12298,33 @@ public interface KMapEstimationHistogramBucketOrBuilder
      * corresponds to the number of uniquely identifiable records.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} */ - public static final class KMapEstimationHistogramBucket - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class KMapEstimationHistogramBucket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) KMapEstimationHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KMapEstimationHistogramBucket.newBuilder() to construct. - private KMapEstimationHistogramBucket( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private KMapEstimationHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KMapEstimationHistogramBucket() { bucketValues_ = 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 KMapEstimationHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KMapEstimationHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15033,56 +12344,49 @@ private KMapEstimationHistogramBucket( case 0: done = true; break; - case 8: - { - minAnonymity_ = input.readInt64(); - break; - } - case 16: - { - maxAnonymity_ = input.readInt64(); - break; - } - case 40: - { - bucketSize_ = input.readInt64(); - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .KMapEstimationResult.KMapEstimationQuasiIdValues>(); - mutable_bitField0_ |= 0x00000001; - } - bucketValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .KMapEstimationResult.KMapEstimationQuasiIdValues.parser(), - extensionRegistry)); - break; - } - case 56: - { - bucketValueCount_ = input.readInt64(); - break; + case 8: { + + minAnonymity_ = input.readInt64(); + break; + } + case 16: { + + maxAnonymity_ = input.readInt64(); + break; + } + case 40: { + + bucketSize_ = input.readInt64(); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bucketValues_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.parser(), extensionRegistry)); + break; + } + case 56: { + + bucketValueCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -15091,35 +12395,27 @@ private KMapEstimationHistogramBucket( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder.class); } public static final int MIN_ANONYMITY_FIELD_NUMBER = 1; private long minAnonymity_; /** - * - * *
        * Always positive.
        * 
* * int64 min_anonymity = 1; - * * @return The minAnonymity. */ @java.lang.Override @@ -15130,14 +12426,11 @@ public long getMinAnonymity() { public static final int MAX_ANONYMITY_FIELD_NUMBER = 2; private long maxAnonymity_; /** - * - * *
        * Always greater than or equal to min_anonymity.
        * 
* * int64 max_anonymity = 2; - * * @return The maxAnonymity. */ @java.lang.Override @@ -15148,14 +12441,11 @@ public long getMaxAnonymity() { public static final int BUCKET_SIZE_FIELD_NUMBER = 5; private long bucketSize_; /** - * - * *
        * Number of records within these anonymity bounds.
        * 
* * int64 bucket_size = 5; - * * @return The bucketSize. */ @java.lang.Override @@ -15164,113 +12454,78 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 6; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues> - bucketValues_; + private java.util.List bucketValues_; /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues> - getBucketValuesList() { + public java.util.List getBucketValuesList() { return bucketValues_; } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder> + public java.util.List getBucketValuesOrBuilderList() { return bucketValues_; } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index) { return bucketValues_.get(index); } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( + int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 7; private long bucketValueCount_; /** - * - * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; - * * @return The bucketValueCount. */ @java.lang.Override @@ -15279,7 +12534,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15291,7 +12545,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minAnonymity_ != 0L) { output.writeInt64(1, minAnonymity_); } @@ -15317,19 +12572,24 @@ public int getSerializedSize() { size = 0; if (minAnonymity_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, minAnonymity_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, minAnonymity_); } if (maxAnonymity_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxAnonymity_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, maxAnonymity_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15339,26 +12599,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket) - obj; - - if (getMinAnonymity() != other.getMinAnonymity()) return false; - if (getMaxAnonymity() != other.getMaxAnonymity()) return false; - if (getBucketSize() != other.getBucketSize()) return false; - if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) obj; + + if (getMinAnonymity() + != other.getMinAnonymity()) return false; + if (getMaxAnonymity() + != other.getMaxAnonymity()) return false; + if (getBucketSize() + != other.getBucketSize()) return false; + if (!getBucketValuesList() + .equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() + != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15371,133 +12628,108 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_ANONYMITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinAnonymity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinAnonymity()); hash = (37 * hash) + MAX_ANONYMITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxAnonymity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxAnonymity()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15507,8 +12739,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A KMapEstimationHistogramBucket message with the following values:
        *   min_anonymity: 3
@@ -15520,49 +12750,41 @@ protected Builder newBuilderForType(
        * corresponds to the number of uniquely identifiable records.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -15584,26 +12806,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15611,14 +12826,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket(this); int from_bitField0_ = bitField0_; result.minAnonymity_ = minAnonymity_; result.maxAnonymity_ = maxAnonymity_; @@ -15641,60 +12850,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()) return this; if (other.getMinAnonymity() != 0L) { setMinAnonymity(other.getMinAnonymity()); } @@ -15722,10 +12917,9 @@ public Builder mergeFrom( bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBucketValuesFieldBuilder() - : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBucketValuesFieldBuilder() : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -15749,16 +12943,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15767,19 +12956,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private long minAnonymity_; + private long minAnonymity_ ; /** - * - * *
          * Always positive.
          * 
* * int64 min_anonymity = 1; - * * @return The minAnonymity. */ @java.lang.Override @@ -15787,51 +12972,42 @@ public long getMinAnonymity() { return minAnonymity_; } /** - * - * *
          * Always positive.
          * 
* * int64 min_anonymity = 1; - * * @param value The minAnonymity to set. * @return This builder for chaining. */ public Builder setMinAnonymity(long value) { - + minAnonymity_ = value; onChanged(); return this; } /** - * - * *
          * Always positive.
          * 
* * int64 min_anonymity = 1; - * * @return This builder for chaining. */ public Builder clearMinAnonymity() { - + minAnonymity_ = 0L; onChanged(); return this; } - private long maxAnonymity_; + private long maxAnonymity_ ; /** - * - * *
          * Always greater than or equal to min_anonymity.
          * 
* * int64 max_anonymity = 2; - * * @return The maxAnonymity. */ @java.lang.Override @@ -15839,51 +13015,42 @@ public long getMaxAnonymity() { return maxAnonymity_; } /** - * - * *
          * Always greater than or equal to min_anonymity.
          * 
* * int64 max_anonymity = 2; - * * @param value The maxAnonymity to set. * @return This builder for chaining. */ public Builder setMaxAnonymity(long value) { - + maxAnonymity_ = value; onChanged(); return this; } /** - * - * *
          * Always greater than or equal to min_anonymity.
          * 
* * int64 max_anonymity = 2; - * * @return This builder for chaining. */ public Builder clearMaxAnonymity() { - + maxAnonymity_ = 0L; onChanged(); return this; } - private long bucketSize_; - /** - * - * + private long bucketSize_ ; + /** *
          * Number of records within these anonymity bounds.
          * 
* * int64 bucket_size = 5; - * * @return The bucketSize. */ @java.lang.Override @@ -15891,81 +13058,56 @@ public long getBucketSize() { return bucketSize_; } /** - * - * *
          * Number of records within these anonymity bounds.
          * 
* * int64 bucket_size = 5; - * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** - * - * *
          * Number of records within these anonymity bounds.
          * 
* * int64 bucket_size = 5; - * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues> - bucketValues_ = java.util.Collections.emptyList(); - + private java.util.List bucketValues_ = + java.util.Collections.emptyList(); private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues>(bucketValues_); + bucketValues_ = new java.util.ArrayList(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder> - bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder> bucketValuesBuilder_; /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues> - getBucketValuesList() { + public java.util.List getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -15973,16 +13115,12 @@ private void ensureBucketValuesIsMutable() { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -15992,20 +13130,14 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -16013,22 +13145,15 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16042,22 +13167,15 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -16068,21 +13186,14 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - value) { + public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16096,22 +13207,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16125,21 +13229,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -16150,22 +13248,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -16176,26 +13267,19 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder addAllBucketValues( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues> - values) { + java.lang.Iterable values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -16203,16 +13287,12 @@ public Builder addAllBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -16225,16 +13305,12 @@ public Builder clearBucketValues() { return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -16247,60 +13323,42 @@ public Builder removeBucketValues(int index) { return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder - getBucketValuesBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder getBucketValuesBuilder( + int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( + int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); - } else { + return bucketValues_.get(index); } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder> - getBucketValuesOrBuilderList() { + public java.util.List + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -16308,82 +13366,48 @@ public Builder removeBucketValues(int index) { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder - addBucketValuesBuilder() { - return getBucketValuesFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder() { + return getBucketValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()); } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder - addBucketValuesBuilder(int index) { - return getBucketValuesFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder( + int index) { + return getBucketValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()); } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder> - getBucketValuesBuilderList() { + public java.util.List + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValues.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationQuasiIdValuesOrBuilder>( + bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -16393,16 +13417,13 @@ public Builder removeBucketValues(int index) { return bucketValuesBuilder_; } - private long bucketValueCount_; + private long bucketValueCount_ ; /** - * - * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; - * * @return The bucketValueCount. */ @java.lang.Override @@ -16410,41 +13431,34 @@ public long getBucketValueCount() { return bucketValueCount_; } /** - * - * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; - * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** - * - * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; - * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16457,36 +13471,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .KMapEstimationResult.KMapEstimationHistogramBucket - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16498,21 +13506,15 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int K_MAP_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket> - kMapEstimationHistogram_; + private java.util.List kMapEstimationHistogram_; /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -16524,20 +13526,13 @@ public com.google.protobuf.Parser getParserForTyp
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket> - getKMapEstimationHistogramList() { + public java.util.List getKMapEstimationHistogramList() { return kMapEstimationHistogram_; } /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -16549,21 +13544,14 @@ public com.google.protobuf.Parser getParserForTyp
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder> + public java.util.List getKMapEstimationHistogramOrBuilderList() { return kMapEstimationHistogram_; } /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -16575,17 +13563,13 @@ public com.google.protobuf.Parser getParserForTyp
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ @java.lang.Override public int getKMapEstimationHistogramCount() { return kMapEstimationHistogram_.size(); } /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -16597,19 +13581,13 @@ public int getKMapEstimationHistogramCount() {
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - getKMapEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index) { return kMapEstimationHistogram_.get(index); } /** - * - * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -16621,19 +13599,15 @@ public int getKMapEstimationHistogramCount() {
      * larger than 10.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder - getKMapEstimationHistogramOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder( + int index) { return kMapEstimationHistogram_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16645,7 +13619,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < kMapEstimationHistogram_.size(); i++) { output.writeMessage(1, kMapEstimationHistogram_.get(i)); } @@ -16659,9 +13634,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < kMapEstimationHistogram_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, kMapEstimationHistogram_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, kMapEstimationHistogram_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16671,17 +13645,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) obj; - if (!getKMapEstimationHistogramList().equals(other.getKMapEstimationHistogramList())) - return false; + if (!getKMapEstimationHistogramList() + .equals(other.getKMapEstimationHistogramList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16702,101 +13674,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16806,8 +13765,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Result of the reidentifiability analysis. Note that these results are an
      * estimation, not exact values.
@@ -16815,44 +13772,39 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
         com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class,
-                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder
-                    .class);
+                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder.class);
       }
 
-      // Construct using
-      // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder()
+      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getKMapEstimationHistogramFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -16866,22 +13818,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-          getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-            .getDefaultInstance();
+      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult build() {
-        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result =
-            buildPartial();
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -16889,15 +13838,12 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-          buildPartial() {
-        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result =
-            new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(this);
+      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult buildPartial() {
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(this);
         int from_bitField0_ = bitField0_;
         if (kMapEstimationHistogramBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
-            kMapEstimationHistogram_ =
-                java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
+            kMapEstimationHistogram_ = java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
             bitField0_ = (bitField0_ & ~0x00000001);
           }
           result.kMapEstimationHistogram_ = kMapEstimationHistogram_;
@@ -16912,55 +13858,46 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) {
-          return mergeFrom(
-              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) other);
+        if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) {
+          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other) {
-        if (other
-            == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other) {
+        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance()) return this;
         if (kMapEstimationHistogramBuilder_ == null) {
           if (!other.kMapEstimationHistogram_.isEmpty()) {
             if (kMapEstimationHistogram_.isEmpty()) {
@@ -16979,10 +13916,9 @@ public Builder mergeFrom(
               kMapEstimationHistogramBuilder_ = null;
               kMapEstimationHistogram_ = other.kMapEstimationHistogram_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              kMapEstimationHistogramBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getKMapEstimationHistogramFieldBuilder()
-                      : null;
+              kMapEstimationHistogramBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getKMapEstimationHistogramFieldBuilder() : null;
             } else {
               kMapEstimationHistogramBuilder_.addAllMessages(other.kMapEstimationHistogram_);
             }
@@ -17003,14 +13939,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parsedMessage =
-            null;
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -17019,36 +13952,21 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List<
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                  .KMapEstimationHistogramBucket>
-          kMapEstimationHistogram_ = java.util.Collections.emptyList();
-
+      private java.util.List kMapEstimationHistogram_ =
+        java.util.Collections.emptyList();
       private void ensureKMapEstimationHistogramIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          kMapEstimationHistogram_ =
-              new java.util.ArrayList<
-                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                      .KMapEstimationHistogramBucket>(kMapEstimationHistogram_);
+          kMapEstimationHistogram_ = new java.util.ArrayList(kMapEstimationHistogram_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                  .KMapEstimationHistogramBucket,
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                  .KMapEstimationHistogramBucket.Builder,
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
-                  .KMapEstimationHistogramBucketOrBuilder>
-          kMapEstimationHistogramBuilder_;
+          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder> kMapEstimationHistogramBuilder_;
 
       /**
-       *
-       *
        * 
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17060,14 +13978,9 @@ private void ensureKMapEstimationHistogramIsMutable() {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket> - getKMapEstimationHistogramList() { + public java.util.List getKMapEstimationHistogramList() { if (kMapEstimationHistogramBuilder_ == null) { return java.util.Collections.unmodifiableList(kMapEstimationHistogram_); } else { @@ -17075,8 +13988,6 @@ private void ensureKMapEstimationHistogramIsMutable() { } } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17088,9 +13999,7 @@ private void ensureKMapEstimationHistogramIsMutable() {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public int getKMapEstimationHistogramCount() { if (kMapEstimationHistogramBuilder_ == null) { @@ -17100,8 +14009,6 @@ public int getKMapEstimationHistogramCount() { } } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17113,13 +14020,9 @@ public int getKMapEstimationHistogramCount() {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - getKMapEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index) { if (kMapEstimationHistogramBuilder_ == null) { return kMapEstimationHistogram_.get(index); } else { @@ -17127,8 +14030,6 @@ public int getKMapEstimationHistogramCount() { } } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17140,15 +14041,10 @@ public int getKMapEstimationHistogramCount() {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder setKMapEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) { if (kMapEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17162,8 +14058,6 @@ public Builder setKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17175,15 +14069,10 @@ public Builder setKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder setKMapEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); kMapEstimationHistogram_.set(index, builderForValue.build()); @@ -17194,8 +14083,6 @@ public Builder setKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17207,14 +14094,9 @@ public Builder setKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public Builder addKMapEstimationHistogram( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - value) { + public Builder addKMapEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) { if (kMapEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17228,8 +14110,6 @@ public Builder addKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17241,15 +14121,10 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder addKMapEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) { if (kMapEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17263,8 +14138,6 @@ public Builder addKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17276,14 +14149,10 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder addKMapEstimationHistogram( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); kMapEstimationHistogram_.add(builderForValue.build()); @@ -17294,8 +14163,6 @@ public Builder addKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17307,15 +14174,10 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder addKMapEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); kMapEstimationHistogram_.add(index, builderForValue.build()); @@ -17326,8 +14188,6 @@ public Builder addKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17339,19 +14199,14 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder addAllKMapEstimationHistogram( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket> - values) { + java.lang.Iterable values) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kMapEstimationHistogram_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kMapEstimationHistogram_); onChanged(); } else { kMapEstimationHistogramBuilder_.addAllMessages(values); @@ -17359,8 +14214,6 @@ public Builder addAllKMapEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17372,9 +14225,7 @@ public Builder addAllKMapEstimationHistogram(
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder clearKMapEstimationHistogram() { if (kMapEstimationHistogramBuilder_ == null) { @@ -17387,8 +14238,6 @@ public Builder clearKMapEstimationHistogram() { return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17400,9 +14249,7 @@ public Builder clearKMapEstimationHistogram() {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ public Builder removeKMapEstimationHistogram(int index) { if (kMapEstimationHistogramBuilder_ == null) { @@ -17415,8 +14262,6 @@ public Builder removeKMapEstimationHistogram(int index) { return this; } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17428,18 +14273,13 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder - getKMapEstimationHistogramBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder getKMapEstimationHistogramBuilder( + int index) { return getKMapEstimationHistogramFieldBuilder().getBuilder(index); } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17451,22 +14291,16 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder - getKMapEstimationHistogramOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder( + int index) { if (kMapEstimationHistogramBuilder_ == null) { - return kMapEstimationHistogram_.get(index); - } else { + return kMapEstimationHistogram_.get(index); } else { return kMapEstimationHistogramBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17478,15 +14312,10 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder> - getKMapEstimationHistogramOrBuilderList() { + public java.util.List + getKMapEstimationHistogramOrBuilderList() { if (kMapEstimationHistogramBuilder_ != null) { return kMapEstimationHistogramBuilder_.getMessageOrBuilderList(); } else { @@ -17494,8 +14323,6 @@ public Builder removeKMapEstimationHistogram(int index) { } } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17507,21 +14334,13 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder - addKMapEstimationHistogramBuilder() { - return getKMapEstimationHistogramFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addKMapEstimationHistogramBuilder() { + return getKMapEstimationHistogramFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()); } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17533,22 +14352,14 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder - addKMapEstimationHistogramBuilder(int index) { - return getKMapEstimationHistogramFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addKMapEstimationHistogramBuilder( + int index) { + return getKMapEstimationHistogramFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()); } /** - * - * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -17560,34 +14371,18 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder> - getKMapEstimationHistogramBuilderList() { + public java.util.List + getKMapEstimationHistogramBuilderList() { return getKMapEstimationHistogramFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder> getKMapEstimationHistogramFieldBuilder() { if (kMapEstimationHistogramBuilder_ == null) { - kMapEstimationHistogramBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .KMapEstimationHistogramBucketOrBuilder>( + kMapEstimationHistogramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>( kMapEstimationHistogram_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -17596,7 +14391,6 @@ public Builder removeKMapEstimationHistogram(int index) { } return kMapEstimationHistogramBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17609,33 +14403,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17647,20 +14438,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeltaPresenceEstimationResultOrBuilder - extends + public interface DeltaPresenceEstimationResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17672,17 +14460,11 @@ public interface DeltaPresenceEstimationResultOrBuilder
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket> + java.util.List getDeltaPresenceEstimationHistogramList(); /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17694,16 +14476,10 @@ public interface DeltaPresenceEstimationResultOrBuilder
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - getDeltaPresenceEstimationHistogram(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDeltaPresenceEstimationHistogram(int index); /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17715,14 +14491,10 @@ public interface DeltaPresenceEstimationResultOrBuilder
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ int getDeltaPresenceEstimationHistogramCount(); /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17734,18 +14506,11 @@ public interface DeltaPresenceEstimationResultOrBuilder
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder> + java.util.List getDeltaPresenceEstimationHistogramOrBuilderList(); /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17757,52 +14522,44 @@ public interface DeltaPresenceEstimationResultOrBuilder
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder - getDeltaPresenceEstimationHistogramOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder getDeltaPresenceEstimationHistogramOrBuilder( + int index); } /** - * - * *
    * Result of the δ-presence computation. Note that these results are an
    * estimation, not exact values.
    * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} */ - public static final class DeltaPresenceEstimationResult - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeltaPresenceEstimationResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) DeltaPresenceEstimationResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeltaPresenceEstimationResult.newBuilder() to construct. - private DeltaPresenceEstimationResult( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeltaPresenceEstimationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeltaPresenceEstimationResult() { deltaPresenceEstimationHistogram_ = 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 DeltaPresenceEstimationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeltaPresenceEstimationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17822,82 +14579,64 @@ private DeltaPresenceEstimationResult( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket>(); - mutable_bitField0_ |= 0x00000001; - } - deltaPresenceEstimationHistogram_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deltaPresenceEstimationHistogram_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + deltaPresenceEstimationHistogram_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = - java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogram_ = java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder.class); } - public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder - extends + public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List getQuasiIdsValuesList(); + java.util.List + getQuasiIdsValuesList(); /** - * - * *
        * The quasi-identifier values.
        * 
@@ -17906,8 +14645,6 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** - * - * *
        * The quasi-identifier values.
        * 
@@ -17916,30 +14653,25 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder */ int getQuasiIdsValuesCount(); /** - * - * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List + java.util.List getQuasiIdsValuesOrBuilderList(); /** - * - * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index); + com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( + int index); /** - * - * *
        * The estimated probability that a given individual sharing these
        * quasi-identifier values is in the dataset. This value, typically called
@@ -17952,48 +14684,42 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder
        * 
* * double estimated_probability = 2; - * * @return The estimatedProbability. */ double getEstimatedProbability(); } /** - * - * *
      * A tuple of values for the quasi-identifier columns.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} */ - public static final class DeltaPresenceEstimationQuasiIdValues - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeltaPresenceEstimationQuasiIdValues extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) DeltaPresenceEstimationQuasiIdValuesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeltaPresenceEstimationQuasiIdValues.newBuilder() to construct. - private DeltaPresenceEstimationQuasiIdValues( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeltaPresenceEstimationQuasiIdValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeltaPresenceEstimationQuasiIdValues() { quasiIdsValues_ = 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 DeltaPresenceEstimationQuasiIdValues(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeltaPresenceEstimationQuasiIdValues( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18013,36 +14739,34 @@ private DeltaPresenceEstimationQuasiIdValues( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIdsValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 17: - { - estimatedProbability_ = input.readDouble(); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + quasiIdsValues_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + case 17: { + + estimatedProbability_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -18051,29 +14775,22 @@ private DeltaPresenceEstimationQuasiIdValues( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18085,8 +14802,6 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18094,13 +14809,11 @@ public java.util.List getQuasiIdsValuesList() { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQuasiIdsValuesOrBuilderList() { return quasiIdsValues_; } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18112,8 +14825,6 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18125,8 +14836,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18134,15 +14843,14 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( + int index) { return quasiIdsValues_.get(index); } public static final int ESTIMATED_PROBABILITY_FIELD_NUMBER = 2; private double estimatedProbability_; /** - * - * *
        * The estimated probability that a given individual sharing these
        * quasi-identifier values is in the dataset. This value, typically called
@@ -18155,7 +14863,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i
        * 
* * double estimated_probability = 2; - * * @return The estimatedProbability. */ @java.lang.Override @@ -18164,7 +14871,6 @@ public double getEstimatedProbability() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18176,7 +14882,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -18193,11 +14900,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIdsValues_.get(i)); } if (estimatedProbability_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, estimatedProbability_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, estimatedProbability_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18207,24 +14915,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) obj; - if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; + if (!getQuasiIdsValuesList() + .equals(other.getQuasiIdsValuesList())) return false; if (java.lang.Double.doubleToLongBits(getEstimatedProbability()) - != java.lang.Double.doubleToLongBits(other.getEstimatedProbability())) return false; + != java.lang.Double.doubleToLongBits( + other.getEstimatedProbability())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -18241,126 +14943,95 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + ESTIMATED_PROBABILITY_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEstimatedProbability())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEstimatedProbability())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18370,56 +15041,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A tuple of values for the quasi-identifier columns.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -18435,27 +15095,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18463,14 +15115,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -18490,61 +15136,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -18563,10 +15194,9 @@ public Builder mergeFrom( quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsValuesFieldBuilder() - : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsValuesFieldBuilder() : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -18590,16 +15220,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18608,29 +15233,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = - new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18645,8 +15262,6 @@ public java.util.List getQuasiIdsValuesList() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18661,8 +15276,6 @@ public int getQuasiIdsValuesCount() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18677,15 +15290,14 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { } } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { + public Builder setQuasiIdsValues( + int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18699,8 +15311,6 @@ public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18719,8 +15329,6 @@ public Builder setQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18741,15 +15349,14 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { + public Builder addQuasiIdsValues( + int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18763,15 +15370,14 @@ public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu return this; } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addQuasiIdsValues( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); quasiIdsValues_.add(builderForValue.build()); @@ -18782,8 +15388,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builder return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18802,8 +15406,6 @@ public Builder addQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18814,7 +15416,8 @@ public Builder addAllQuasiIdsValues( java.lang.Iterable values) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quasiIdsValues_); onChanged(); } else { quasiIdsValuesBuilder_.addAllMessages(values); @@ -18822,8 +15425,6 @@ public Builder addAllQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18841,8 +15442,6 @@ public Builder clearQuasiIdsValues() { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18860,44 +15459,39 @@ public Builder removeQuasiIdsValues(int index) { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) { + public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder( + int index) { return getQuasiIdsValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( + int index) { if (quasiIdsValuesBuilder_ == null) { - return quasiIdsValues_.get(index); - } else { + return quasiIdsValues_.get(index); } else { return quasiIdsValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesOrBuilderList() { + public java.util.List + getQuasiIdsValuesOrBuilderList() { if (quasiIdsValuesBuilder_ != null) { return quasiIdsValuesBuilder_.getMessageOrBuilderList(); } else { @@ -18905,8 +15499,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18914,47 +15506,38 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() { - return getQuasiIdsValuesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance()); + return getQuasiIdsValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) { - return getQuasiIdsValuesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); + public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder( + int index) { + return getQuasiIdsValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** - * - * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesBuilderList() { + public java.util.List + getQuasiIdsValuesBuilderList() { return getQuasiIdsValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getQuasiIdsValuesFieldBuilder() { if (quasiIdsValuesBuilder_ == null) { - quasiIdsValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( + quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( quasiIdsValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -18964,10 +15547,8 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde return quasiIdsValuesBuilder_; } - private double estimatedProbability_; + private double estimatedProbability_ ; /** - * - * *
          * The estimated probability that a given individual sharing these
          * quasi-identifier values is in the dataset. This value, typically called
@@ -18980,7 +15561,6 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int inde
          * 
* * double estimated_probability = 2; - * * @return The estimatedProbability. */ @java.lang.Override @@ -18988,8 +15568,6 @@ public double getEstimatedProbability() { return estimatedProbability_; } /** - * - * *
          * The estimated probability that a given individual sharing these
          * quasi-identifier values is in the dataset. This value, typically called
@@ -19002,19 +15580,16 @@ public double getEstimatedProbability() {
          * 
* * double estimated_probability = 2; - * * @param value The estimatedProbability to set. * @return This builder for chaining. */ public Builder setEstimatedProbability(double value) { - + estimatedProbability_ = value; onChanged(); return this; } /** - * - * *
          * The estimated probability that a given individual sharing these
          * quasi-identifier values is in the dataset. This value, typically called
@@ -19027,16 +15602,14 @@ public Builder setEstimatedProbability(double value) {
          * 
* * double estimated_probability = 2; - * * @return This builder for chaining. */ public Builder clearEstimatedProbability() { - + estimatedProbability_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19049,36 +15622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeltaPresenceEstimationQuasiIdValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeltaPresenceEstimationQuasiIdValues(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeltaPresenceEstimationQuasiIdValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeltaPresenceEstimationQuasiIdValues(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19090,150 +15657,106 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeltaPresenceEstimationHistogramBucketOrBuilder - extends + public interface DeltaPresenceEstimationHistogramBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Between 0 and 1.
        * 
* * double min_probability = 1; - * * @return The minProbability. */ double getMinProbability(); /** - * - * *
        * Always greater than or equal to min_probability.
        * 
* * double max_probability = 2; - * * @return The maxProbability. */ double getMaxProbability(); /** - * - * *
        * Number of records within these probability bounds.
        * 
* * int64 bucket_size = 5; - * * @return The bucketSize. */ long getBucketSize(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues> + java.util.List getBucketValuesList(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getBucketValues(int index); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ int getBucketValuesCount(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> + java.util.List getBucketValuesOrBuilderList(); /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder - getBucketValuesOrBuilder(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( + int index); /** - * - * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; - * * @return The bucketValueCount. */ long getBucketValueCount(); } /** - * - * *
      * A DeltaPresenceEstimationHistogramBucket message with the following
      * values:
@@ -19246,36 +15769,33 @@ public interface DeltaPresenceEstimationHistogramBucketOrBuilder
      * the dataset.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} */ - public static final class DeltaPresenceEstimationHistogramBucket - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeltaPresenceEstimationHistogramBucket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) DeltaPresenceEstimationHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeltaPresenceEstimationHistogramBucket.newBuilder() to construct. - private DeltaPresenceEstimationHistogramBucket( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeltaPresenceEstimationHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeltaPresenceEstimationHistogramBucket() { bucketValues_ = 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 DeltaPresenceEstimationHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeltaPresenceEstimationHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19295,58 +15815,49 @@ private DeltaPresenceEstimationHistogramBucket( case 0: done = true; break; - case 9: - { - minProbability_ = input.readDouble(); - break; - } - case 17: - { - maxProbability_ = input.readDouble(); - break; - } - case 40: - { - bucketSize_ = input.readInt64(); - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues>(); - mutable_bitField0_ |= 0x00000001; - } - bucketValues_.add( - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - .parser(), - extensionRegistry)); - break; - } - case 56: - { - bucketValueCount_ = input.readInt64(); - break; + case 9: { + + minProbability_ = input.readDouble(); + break; + } + case 17: { + + maxProbability_ = input.readDouble(); + break; + } + case 40: { + + bucketSize_ = input.readInt64(); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bucketValues_.add( + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.parser(), extensionRegistry)); + break; + } + case 56: { + + bucketValueCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -19355,35 +15866,27 @@ private DeltaPresenceEstimationHistogramBucket( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder.class); } public static final int MIN_PROBABILITY_FIELD_NUMBER = 1; private double minProbability_; /** - * - * *
        * Between 0 and 1.
        * 
* * double min_probability = 1; - * * @return The minProbability. */ @java.lang.Override @@ -19394,14 +15897,11 @@ public double getMinProbability() { public static final int MAX_PROBABILITY_FIELD_NUMBER = 2; private double maxProbability_; /** - * - * *
        * Always greater than or equal to min_probability.
        * 
* * double max_probability = 2; - * * @return The maxProbability. */ @java.lang.Override @@ -19412,14 +15912,11 @@ public double getMaxProbability() { public static final int BUCKET_SIZE_FIELD_NUMBER = 5; private long bucketSize_; /** - * - * *
        * Number of records within these probability bounds.
        * 
* * int64 bucket_size = 5; - * * @return The bucketSize. */ @java.lang.Override @@ -19428,113 +15925,78 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 6; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues> - bucketValues_; + private java.util.List bucketValues_; /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues> - getBucketValuesList() { + public java.util.List getBucketValuesList() { return bucketValues_; } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> + public java.util.List getBucketValuesOrBuilderList() { return bucketValues_; } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getBucketValues(int index) { return bucketValues_.get(index); } /** - * - * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( + int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 7; private long bucketValueCount_; /** - * - * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; - * * @return The bucketValueCount. */ @java.lang.Override @@ -19543,7 +16005,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19555,7 +16016,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minProbability_ != 0D) { output.writeDouble(1, minProbability_); } @@ -19581,19 +16043,24 @@ public int getSerializedSize() { size = 0; if (minProbability_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, minProbability_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, minProbability_); } if (maxProbability_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, maxProbability_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, maxProbability_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -19603,28 +16070,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) obj; if (java.lang.Double.doubleToLongBits(getMinProbability()) - != java.lang.Double.doubleToLongBits(other.getMinProbability())) return false; + != java.lang.Double.doubleToLongBits( + other.getMinProbability())) return false; if (java.lang.Double.doubleToLongBits(getMaxProbability()) - != java.lang.Double.doubleToLongBits(other.getMaxProbability())) return false; - if (getBucketSize() != other.getBucketSize()) return false; - if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() != other.getBucketValueCount()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxProbability())) return false; + if (getBucketSize() + != other.getBucketSize()) return false; + if (!getBucketValuesList() + .equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() + != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19637,139 +16101,108 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_PROBABILITY_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMinProbability())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMinProbability())); hash = (37 * hash) + MAX_PROBABILITY_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxProbability())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxProbability())); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -19779,8 +16212,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A DeltaPresenceEstimationHistogramBucket message with the following
        * values:
@@ -19793,50 +16224,41 @@ protected Builder newBuilderForType(
        * the dataset.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder - .class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -19858,27 +16280,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19886,14 +16300,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(this); int from_bitField0_ = bitField0_; result.minProbability_ = minProbability_; result.maxProbability_ = maxProbability_; @@ -19916,61 +16324,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance()) return this; if (other.getMinProbability() != 0D) { setMinProbability(other.getMinProbability()); } @@ -19998,10 +16391,9 @@ public Builder mergeFrom( bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBucketValuesFieldBuilder() - : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBucketValuesFieldBuilder() : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -20025,16 +16417,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20043,19 +16430,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private double minProbability_; + private double minProbability_ ; /** - * - * *
          * Between 0 and 1.
          * 
* * double min_probability = 1; - * * @return The minProbability. */ @java.lang.Override @@ -20063,51 +16446,42 @@ public double getMinProbability() { return minProbability_; } /** - * - * *
          * Between 0 and 1.
          * 
* * double min_probability = 1; - * * @param value The minProbability to set. * @return This builder for chaining. */ public Builder setMinProbability(double value) { - + minProbability_ = value; onChanged(); return this; } /** - * - * *
          * Between 0 and 1.
          * 
* * double min_probability = 1; - * * @return This builder for chaining. */ public Builder clearMinProbability() { - + minProbability_ = 0D; onChanged(); return this; } - private double maxProbability_; + private double maxProbability_ ; /** - * - * *
          * Always greater than or equal to min_probability.
          * 
* * double max_probability = 2; - * * @return The maxProbability. */ @java.lang.Override @@ -20115,51 +16489,42 @@ public double getMaxProbability() { return maxProbability_; } /** - * - * *
          * Always greater than or equal to min_probability.
          * 
* * double max_probability = 2; - * * @param value The maxProbability to set. * @return This builder for chaining. */ public Builder setMaxProbability(double value) { - + maxProbability_ = value; onChanged(); return this; } /** - * - * *
          * Always greater than or equal to min_probability.
          * 
* * double max_probability = 2; - * * @return This builder for chaining. */ public Builder clearMaxProbability() { - + maxProbability_ = 0D; onChanged(); return this; } - private long bucketSize_; + private long bucketSize_ ; /** - * - * *
          * Number of records within these probability bounds.
          * 
* * int64 bucket_size = 5; - * * @return The bucketSize. */ @java.lang.Override @@ -20167,82 +16532,56 @@ public long getBucketSize() { return bucketSize_; } /** - * - * *
          * Number of records within these probability bounds.
          * 
* * int64 bucket_size = 5; - * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** - * - * *
          * Number of records within these probability bounds.
          * 
* * int64 bucket_size = 5; - * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues> - bucketValues_ = java.util.Collections.emptyList(); - + private java.util.List bucketValues_ = + java.util.Collections.emptyList(); private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues>( - bucketValues_); + bucketValues_ = new java.util.ArrayList(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder> - bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> bucketValuesBuilder_; /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues> - getBucketValuesList() { + public java.util.List getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -20250,16 +16589,12 @@ private void ensureBucketValuesIsMutable() { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -20269,20 +16604,14 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -20290,22 +16619,15 @@ public int getBucketValuesCount() { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20319,22 +16641,15 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder setBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -20345,21 +16660,14 @@ public Builder setBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - value) { + public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20373,22 +16681,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20402,21 +16703,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -20427,22 +16722,15 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder addBucketValues( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -20453,26 +16741,19 @@ public Builder addBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder addAllBucketValues( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues> - values) { + java.lang.Iterable values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -20480,16 +16761,12 @@ public Builder addAllBucketValues( return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -20502,16 +16779,12 @@ public Builder clearBucketValues() { return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -20524,61 +16797,42 @@ public Builder removeBucketValues(int index) { return this; } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder - getBucketValuesBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder getBucketValuesBuilder( + int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder - getBucketValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( + int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); - } else { + return bucketValues_.get(index); } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder> - getBucketValuesOrBuilderList() { + public java.util.List + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -20586,85 +16840,48 @@ public Builder removeBucketValues(int index) { } } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder - addBucketValuesBuilder() { - return getBucketValuesFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - .getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder addBucketValuesBuilder() { + return getBucketValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance()); } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder - addBucketValuesBuilder(int index) { - return getBucketValuesFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues - .getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder addBucketValuesBuilder( + int index) { + return getBucketValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance()); } /** - * - * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder> - getBucketValuesBuilderList() { + public java.util.List + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValues.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - .DeltaPresenceEstimationQuasiIdValuesOrBuilder>( + bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -20674,16 +16891,13 @@ public Builder removeBucketValues(int index) { return bucketValuesBuilder_; } - private long bucketValueCount_; + private long bucketValueCount_ ; /** - * - * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; - * * @return The bucketValueCount. */ @java.lang.Override @@ -20691,41 +16905,34 @@ public long getBucketValueCount() { return bucketValueCount_; } /** - * - * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; - * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** - * - * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; - * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20738,37 +16945,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeltaPresenceEstimationHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeltaPresenceEstimationHistogramBucket(input, extensionRegistry); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeltaPresenceEstimationHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeltaPresenceEstimationHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20780,21 +16980,15 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DELTA_PRESENCE_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket> - deltaPresenceEstimationHistogram_; + private java.util.List deltaPresenceEstimationHistogram_; /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -20806,20 +17000,13 @@ public com.google.protobuf.Parser getPar
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket> - getDeltaPresenceEstimationHistogramList() { + public java.util.List getDeltaPresenceEstimationHistogramList() { return deltaPresenceEstimationHistogram_; } /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -20831,21 +17018,14 @@ public com.google.protobuf.Parser getPar
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder> + public java.util.List getDeltaPresenceEstimationHistogramOrBuilderList() { return deltaPresenceEstimationHistogram_; } /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -20857,17 +17037,13 @@ public com.google.protobuf.Parser getPar
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ @java.lang.Override public int getDeltaPresenceEstimationHistogramCount() { return deltaPresenceEstimationHistogram_.size(); } /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -20879,19 +17055,13 @@ public int getDeltaPresenceEstimationHistogramCount() {
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - getDeltaPresenceEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDeltaPresenceEstimationHistogram(int index) { return deltaPresenceEstimationHistogram_.get(index); } /** - * - * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -20903,19 +17073,15 @@ public int getDeltaPresenceEstimationHistogramCount() {
      * nor larger or equal to 0.4.
      * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder - getDeltaPresenceEstimationHistogramOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder getDeltaPresenceEstimationHistogramOrBuilder( + int index) { return deltaPresenceEstimationHistogram_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -20927,7 +17093,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < deltaPresenceEstimationHistogram_.size(); i++) { output.writeMessage(1, deltaPresenceEstimationHistogram_.get(i)); } @@ -20941,9 +17108,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deltaPresenceEstimationHistogram_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, deltaPresenceEstimationHistogram_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, deltaPresenceEstimationHistogram_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -20953,16 +17119,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) obj; if (!getDeltaPresenceEstimationHistogramList() .equals(other.getDeltaPresenceEstimationHistogramList())) return false; @@ -20986,114 +17148,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -21103,56 +17239,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Result of the δ-presence computation. Note that these results are an
      * estimation, not exact values.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDeltaPresenceEstimationHistogramFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -21166,23 +17292,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21190,23 +17312,17 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult(this); int from_bitField0_ = bitField0_; if (deltaPresenceEstimationHistogramBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = - java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogram_ = java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); bitField0_ = (bitField0_ & ~0x00000001); } result.deltaPresenceEstimationHistogram_ = deltaPresenceEstimationHistogram_; } else { - result.deltaPresenceEstimationHistogram_ = - deltaPresenceEstimationHistogramBuilder_.build(); + result.deltaPresenceEstimationHistogram_ = deltaPresenceEstimationHistogramBuilder_.build(); } onBuilt(); return result; @@ -21216,57 +17332,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance()) return this; if (deltaPresenceEstimationHistogramBuilder_ == null) { if (!other.deltaPresenceEstimationHistogram_.isEmpty()) { if (deltaPresenceEstimationHistogram_.isEmpty()) { @@ -21285,13 +17390,11 @@ public Builder mergeFrom( deltaPresenceEstimationHistogramBuilder_ = null; deltaPresenceEstimationHistogram_ = other.deltaPresenceEstimationHistogram_; bitField0_ = (bitField0_ & ~0x00000001); - deltaPresenceEstimationHistogramBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDeltaPresenceEstimationHistogramFieldBuilder() - : null; + deltaPresenceEstimationHistogramBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDeltaPresenceEstimationHistogramFieldBuilder() : null; } else { - deltaPresenceEstimationHistogramBuilder_.addAllMessages( - other.deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogramBuilder_.addAllMessages(other.deltaPresenceEstimationHistogram_); } } } @@ -21310,14 +17413,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21326,37 +17426,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket> - deltaPresenceEstimationHistogram_ = java.util.Collections.emptyList(); - + private java.util.List deltaPresenceEstimationHistogram_ = + java.util.Collections.emptyList(); private void ensureDeltaPresenceEstimationHistogramIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket>( - deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogram_ = new java.util.ArrayList(deltaPresenceEstimationHistogram_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder> - deltaPresenceEstimationHistogramBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder> deltaPresenceEstimationHistogramBuilder_; /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21368,14 +17452,9 @@ private void ensureDeltaPresenceEstimationHistogramIsMutable() {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket> - getDeltaPresenceEstimationHistogramList() { + public java.util.List getDeltaPresenceEstimationHistogramList() { if (deltaPresenceEstimationHistogramBuilder_ == null) { return java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); } else { @@ -21383,8 +17462,6 @@ private void ensureDeltaPresenceEstimationHistogramIsMutable() { } } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21396,9 +17473,7 @@ private void ensureDeltaPresenceEstimationHistogramIsMutable() {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public int getDeltaPresenceEstimationHistogramCount() { if (deltaPresenceEstimationHistogramBuilder_ == null) { @@ -21408,8 +17483,6 @@ public int getDeltaPresenceEstimationHistogramCount() { } } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21421,13 +17494,9 @@ public int getDeltaPresenceEstimationHistogramCount() {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - getDeltaPresenceEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDeltaPresenceEstimationHistogram(int index) { if (deltaPresenceEstimationHistogramBuilder_ == null) { return deltaPresenceEstimationHistogram_.get(index); } else { @@ -21435,8 +17504,6 @@ public int getDeltaPresenceEstimationHistogramCount() { } } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21448,15 +17515,10 @@ public int getDeltaPresenceEstimationHistogramCount() {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder setDeltaPresenceEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket value) { if (deltaPresenceEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21470,8 +17532,6 @@ public Builder setDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21483,15 +17543,10 @@ public Builder setDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder setDeltaPresenceEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder builderForValue) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); deltaPresenceEstimationHistogram_.set(index, builderForValue.build()); @@ -21502,8 +17557,6 @@ public Builder setDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21515,14 +17568,9 @@ public Builder setDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public Builder addDeltaPresenceEstimationHistogram( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - value) { + public Builder addDeltaPresenceEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket value) { if (deltaPresenceEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21536,8 +17584,6 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21549,15 +17595,10 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder addDeltaPresenceEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket - value) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket value) { if (deltaPresenceEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21571,8 +17612,6 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21584,14 +17623,10 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder addDeltaPresenceEstimationHistogram( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder builderForValue) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); deltaPresenceEstimationHistogram_.add(builderForValue.build()); @@ -21602,8 +17637,6 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21615,15 +17648,10 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder addDeltaPresenceEstimationHistogram( - int index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder builderForValue) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); deltaPresenceEstimationHistogram_.add(index, builderForValue.build()); @@ -21634,8 +17662,6 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21647,16 +17673,10 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder addAllDeltaPresenceEstimationHistogram( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket> - values) { + java.lang.Iterable values) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -21668,8 +17688,6 @@ public Builder addAllDeltaPresenceEstimationHistogram( return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21681,9 +17699,7 @@ public Builder addAllDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder clearDeltaPresenceEstimationHistogram() { if (deltaPresenceEstimationHistogramBuilder_ == null) { @@ -21696,8 +17712,6 @@ public Builder clearDeltaPresenceEstimationHistogram() { return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21709,9 +17723,7 @@ public Builder clearDeltaPresenceEstimationHistogram() {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ public Builder removeDeltaPresenceEstimationHistogram(int index) { if (deltaPresenceEstimationHistogramBuilder_ == null) { @@ -21724,8 +17736,6 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) { return this; } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21737,18 +17747,13 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder - getDeltaPresenceEstimationHistogramBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder getDeltaPresenceEstimationHistogramBuilder( + int index) { return getDeltaPresenceEstimationHistogramFieldBuilder().getBuilder(index); } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21760,22 +17765,16 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder - getDeltaPresenceEstimationHistogramOrBuilder(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder getDeltaPresenceEstimationHistogramOrBuilder( + int index) { if (deltaPresenceEstimationHistogramBuilder_ == null) { - return deltaPresenceEstimationHistogram_.get(index); - } else { + return deltaPresenceEstimationHistogram_.get(index); } else { return deltaPresenceEstimationHistogramBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21787,16 +17786,10 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder> - getDeltaPresenceEstimationHistogramOrBuilderList() { + public java.util.List + getDeltaPresenceEstimationHistogramOrBuilderList() { if (deltaPresenceEstimationHistogramBuilder_ != null) { return deltaPresenceEstimationHistogramBuilder_.getMessageOrBuilderList(); } else { @@ -21804,8 +17797,6 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) { } } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21817,21 +17808,13 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder - addDeltaPresenceEstimationHistogramBuilder() { - return getDeltaPresenceEstimationHistogramFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder addDeltaPresenceEstimationHistogramBuilder() { + return getDeltaPresenceEstimationHistogramFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21843,22 +17826,14 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder - addDeltaPresenceEstimationHistogramBuilder(int index) { - return getDeltaPresenceEstimationHistogramFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder addDeltaPresenceEstimationHistogramBuilder( + int index) { + return getDeltaPresenceEstimationHistogramFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); } /** - * - * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -21870,35 +17845,18 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; */ - public java.util.List< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder> - getDeltaPresenceEstimationHistogramBuilderList() { + public java.util.List + getDeltaPresenceEstimationHistogramBuilderList() { return getDeltaPresenceEstimationHistogramFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder> getDeltaPresenceEstimationHistogramFieldBuilder() { if (deltaPresenceEstimationHistogramBuilder_ == null) { - deltaPresenceEstimationHistogramBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - .DeltaPresenceEstimationHistogramBucketOrBuilder>( + deltaPresenceEstimationHistogramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder>( deltaPresenceEstimationHistogram_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -21907,7 +17865,6 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) { } return deltaPresenceEstimationHistogramBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21920,36 +17877,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeltaPresenceEstimationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeltaPresenceEstimationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeltaPresenceEstimationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeltaPresenceEstimationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21961,44 +17912,35 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RequestedRiskAnalysisOptionsOrBuilder - extends + public interface RequestedRiskAnalysisOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; - * * @return Whether the jobConfig field is set. */ boolean hasJobConfig(); /** - * - * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; - * * @return The jobConfig. */ com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig(); /** - * - * *
      * The job config for the risk job.
      * 
@@ -22008,40 +17950,36 @@ public interface RequestedRiskAnalysisOptionsOrBuilder com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBuilder(); } /** - * - * *
    * Risk analysis options.
    * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} */ - public static final class RequestedRiskAnalysisOptions - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RequestedRiskAnalysisOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) RequestedRiskAnalysisOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RequestedRiskAnalysisOptions.newBuilder() to construct. - private RequestedRiskAnalysisOptions( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RequestedRiskAnalysisOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RequestedRiskAnalysisOptions() {} + private RequestedRiskAnalysisOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RequestedRiskAnalysisOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RequestedRiskAnalysisOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22060,70 +17998,59 @@ private RequestedRiskAnalysisOptions( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null; - if (jobConfig_ != null) { - subBuilder = jobConfig_.toBuilder(); - } - jobConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobConfig_); - jobConfig_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null; + if (jobConfig_ != null) { + subBuilder = jobConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + jobConfig_ = input.readMessage(com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobConfig_); + jobConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder.class); } public static final int JOB_CONFIG_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.RiskAnalysisJobConfig jobConfig_; /** - * - * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; - * * @return Whether the jobConfig field is set. */ @java.lang.Override @@ -22131,25 +18058,18 @@ public boolean hasJobConfig() { return jobConfig_ != null; } /** - * - * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; - * * @return The jobConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig() { - return jobConfig_ == null - ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() - : jobConfig_; + return jobConfig_ == null ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() : jobConfig_; } /** - * - * *
      * The job config for the risk job.
      * 
@@ -22162,7 +18082,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22174,7 +18093,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (jobConfig_ != null) { output.writeMessage(1, getJobConfig()); } @@ -22188,7 +18108,8 @@ public int getSerializedSize() { size = 0; if (jobConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getJobConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -22198,19 +18119,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)) { + if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) obj; if (hasJobConfig() != other.hasJobConfig()) return false; if (hasJobConfig()) { - if (!getJobConfig().equals(other.getJobConfig())) return false; + if (!getJobConfig() + .equals(other.getJobConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -22232,114 +18151,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -22349,53 +18242,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Risk analysis options.
      * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} + * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.newBuilder() + // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -22409,23 +18293,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = - buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -22433,11 +18313,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions( - this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(this); if (jobConfigBuilder_ == null) { result.jobConfig_ = jobConfig_; } else { @@ -22451,57 +18328,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) { - return mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) - other); + if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) { + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - other) { - if (other - == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other) { + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance()) return this; if (other.hasJobConfig()) { mergeJobConfig(other.getJobConfig()); } @@ -22520,14 +18386,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -22539,47 +18402,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.RiskAnalysisJobConfig jobConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, - com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> - jobConfigBuilder_; + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> jobConfigBuilder_; /** - * - * *
        * The job config for the risk job.
        * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; - * * @return Whether the jobConfig field is set. */ public boolean hasJobConfig() { return jobConfigBuilder_ != null || jobConfig_ != null; } /** - * - * *
        * The job config for the risk job.
        * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; - * * @return The jobConfig. */ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig() { if (jobConfigBuilder_ == null) { - return jobConfig_ == null - ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() - : jobConfig_; + return jobConfig_ == null ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() : jobConfig_; } else { return jobConfigBuilder_.getMessage(); } } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22600,8 +18450,6 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22620,8 +18468,6 @@ public Builder setJobConfig( return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22632,9 +18478,7 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig va if (jobConfigBuilder_ == null) { if (jobConfig_ != null) { jobConfig_ = - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder(jobConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder(jobConfig_).mergeFrom(value).buildPartial(); } else { jobConfig_ = value; } @@ -22646,8 +18490,6 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig va return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22666,8 +18508,6 @@ public Builder clearJobConfig() { return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22675,13 +18515,11 @@ public Builder clearJobConfig() { * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; */ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder getJobConfigBuilder() { - + onChanged(); return getJobConfigFieldBuilder().getBuilder(); } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22692,14 +18530,11 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu if (jobConfigBuilder_ != null) { return jobConfigBuilder_.getMessageOrBuilder(); } else { - return jobConfig_ == null - ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() - : jobConfig_; + return jobConfig_ == null ? + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() : jobConfig_; } } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22707,22 +18542,18 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, - com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> getJobConfigFieldBuilder() { if (jobConfigBuilder_ == null) { - jobConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, - com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>( - getJobConfig(), getParentForChildren(), isClean()); + jobConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>( + getJobConfig(), + getParentForChildren(), + isClean()); jobConfig_ = null; } return jobConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22735,35 +18566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptions - getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestedRiskAnalysisOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestedRiskAnalysisOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestedRiskAnalysisOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RequestedRiskAnalysisOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -22775,18 +18601,16 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resultCase_ = 0; private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NUMERICAL_STATS_RESULT(3), CATEGORICAL_STATS_RESULT(4), @@ -22796,7 +18620,6 @@ public enum ResultCase DELTA_PRESENCE_ESTIMATION_RESULT(9), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -22812,45 +18635,35 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 3: - return NUMERICAL_STATS_RESULT; - case 4: - return CATEGORICAL_STATS_RESULT; - case 5: - return K_ANONYMITY_RESULT; - case 6: - return L_DIVERSITY_RESULT; - case 7: - return K_MAP_ESTIMATION_RESULT; - case 9: - return DELTA_PRESENCE_ESTIMATION_RESULT; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 3: return NUMERICAL_STATS_RESULT; + case 4: return CATEGORICAL_STATS_RESULT; + case 5: return K_ANONYMITY_RESULT; + case 6: return L_DIVERSITY_RESULT; + case 7: return K_MAP_ESTIMATION_RESULT; + case 9: return DELTA_PRESENCE_ESTIMATION_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 REQUESTED_PRIVACY_METRIC_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_; /** - * - * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; - * * @return Whether the requestedPrivacyMetric field is set. */ @java.lang.Override @@ -22858,25 +18671,18 @@ public boolean hasRequestedPrivacyMetric() { return requestedPrivacyMetric_ != null; } /** - * - * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; - * * @return The requestedPrivacyMetric. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() { - return requestedPrivacyMetric_ == null - ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() - : requestedPrivacyMetric_; + return requestedPrivacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_; } /** - * - * *
    * Privacy metric to compute.
    * 
@@ -22891,14 +18697,11 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri public static final int REQUESTED_SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_; /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; - * * @return Whether the requestedSourceTable field is set. */ @java.lang.Override @@ -22906,25 +18709,18 @@ public boolean hasRequestedSourceTable() { return requestedSourceTable_ != null; } /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; - * * @return The requestedSourceTable. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() { - return requestedSourceTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : requestedSourceTable_; + return requestedSourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_; } /** - * - * *
    * Input dataset to compute metrics over.
    * 
@@ -22938,16 +18734,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO public static final int NUMERICAL_STATS_RESULT_FIELD_NUMBER = 3; /** - * - * *
    * Numerical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; * @return Whether the numericalStatsResult field is set. */ @java.lang.Override @@ -22955,60 +18746,42 @@ public boolean hasNumericalStatsResult() { return resultCase_ == 3; } /** - * - * *
    * Numerical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; * @return The numericalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - getNumericalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult() { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); } /** - * - * *
    * Numerical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder - getNumericalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); } public static final int CATEGORICAL_STATS_RESULT_FIELD_NUMBER = 4; /** - * - * *
    * Categorical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; * @return Whether the categoricalStatsResult field is set. */ @java.lang.Override @@ -23016,62 +18789,42 @@ public boolean hasCategoricalStatsResult() { return resultCase_ == 4; } /** - * - * *
    * Categorical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; * @return The categoricalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - getCategoricalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult() { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); } /** - * - * *
    * Categorical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder - getCategoricalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); } public static final int K_ANONYMITY_RESULT_FIELD_NUMBER = 5; /** - * - * *
    * K-anonymity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; * @return Whether the kAnonymityResult field is set. */ @java.lang.Override @@ -23079,60 +18832,42 @@ public boolean hasKAnonymityResult() { return resultCase_ == 5; } /** - * - * *
    * K-anonymity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; * @return The kAnonymityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - getKAnonymityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult() { if (resultCase_ == 5) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); } /** - * - * *
    * K-anonymity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder - getKAnonymityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() { if (resultCase_ == 5) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); } public static final int L_DIVERSITY_RESULT_FIELD_NUMBER = 6; /** - * - * *
    * L-divesity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; * @return Whether the lDiversityResult field is set. */ @java.lang.Override @@ -23140,60 +18875,42 @@ public boolean hasLDiversityResult() { return resultCase_ == 6; } /** - * - * *
    * L-divesity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; * @return The lDiversityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - getLDiversityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult() { if (resultCase_ == 6) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); } /** - * - * *
    * L-divesity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder - getLDiversityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder() { if (resultCase_ == 6) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); } public static final int K_MAP_ESTIMATION_RESULT_FIELD_NUMBER = 7; /** - * - * *
    * K-map result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; * @return Whether the kMapEstimationResult field is set. */ @java.lang.Override @@ -23201,60 +18918,42 @@ public boolean hasKMapEstimationResult() { return resultCase_ == 7; } /** - * - * *
    * K-map result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; * @return The kMapEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - getKMapEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult() { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); } /** - * - * *
    * K-map result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder - getKMapEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder() { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); } public static final int DELTA_PRESENCE_ESTIMATION_RESULT_FIELD_NUMBER = 9; /** - * - * *
    * Delta-presence result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; * @return Whether the deltaPresenceEstimationResult field is set. */ @java.lang.Override @@ -23262,65 +18961,43 @@ public boolean hasDeltaPresenceEstimationResult() { return resultCase_ == 9; } /** - * - * *
    * Delta-presence result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; * @return The deltaPresenceEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - getDeltaPresenceEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDeltaPresenceEstimationResult() { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); } /** - * - * *
    * Delta-presence result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResultOrBuilder - getDeltaPresenceEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder() { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); } public static final int REQUESTED_OPTIONS_FIELD_NUMBER = 10; - private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - requestedOptions_; + private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requestedOptions_; /** - * - * *
    * The configuration used for this job.
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; * @return Whether the requestedOptions field is set. */ @java.lang.Override @@ -23328,46 +19005,30 @@ public boolean hasRequestedOptions() { return requestedOptions_ != null; } /** - * - * *
    * The configuration used for this job.
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; * @return The requestedOptions. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - getRequestedOptions() { - return requestedOptions_ == null - ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .getDefaultInstance() - : requestedOptions_; + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getRequestedOptions() { + return requestedOptions_ == null ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance() : requestedOptions_; } /** - * - * *
    * The configuration used for this job.
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptionsOrBuilder - getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder getRequestedOptionsOrBuilder() { return getRequestedOptions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23379,7 +19040,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requestedPrivacyMetric_ != null) { output.writeMessage(1, getRequestedPrivacyMetric()); } @@ -23387,31 +19049,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, getRequestedSourceTable()); } if (resultCase_ == 3) { - output.writeMessage( - 3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); + output.writeMessage(3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); } if (resultCase_ == 4) { - output.writeMessage( - 4, - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); + output.writeMessage(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); } if (resultCase_ == 5) { - output.writeMessage( - 5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); + output.writeMessage(5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); } if (resultCase_ == 6) { - output.writeMessage( - 6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); + output.writeMessage(6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); } if (resultCase_ == 7) { - output.writeMessage( - 7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); + output.writeMessage(7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); } if (resultCase_ == 9) { - output.writeMessage( - 9, - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - result_); + output.writeMessage(9, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_); } if (requestedOptions_ != null) { output.writeMessage(10, getRequestedOptions()); @@ -23426,53 +19079,40 @@ public int getSerializedSize() { size = 0; if (requestedPrivacyMetric_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequestedPrivacyMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRequestedPrivacyMetric()); } if (requestedSourceTable_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestedSourceTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestedSourceTable()); } if (resultCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); } if (resultCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); } if (resultCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); } if (resultCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); } if (resultCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); } if (resultCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_); } if (requestedOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRequestedOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getRequestedOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -23482,46 +19122,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) obj; if (hasRequestedPrivacyMetric() != other.hasRequestedPrivacyMetric()) return false; if (hasRequestedPrivacyMetric()) { - if (!getRequestedPrivacyMetric().equals(other.getRequestedPrivacyMetric())) return false; + if (!getRequestedPrivacyMetric() + .equals(other.getRequestedPrivacyMetric())) return false; } if (hasRequestedSourceTable() != other.hasRequestedSourceTable()) return false; if (hasRequestedSourceTable()) { - if (!getRequestedSourceTable().equals(other.getRequestedSourceTable())) return false; + if (!getRequestedSourceTable() + .equals(other.getRequestedSourceTable())) return false; } if (hasRequestedOptions() != other.hasRequestedOptions()) return false; if (hasRequestedOptions()) { - if (!getRequestedOptions().equals(other.getRequestedOptions())) return false; + if (!getRequestedOptions() + .equals(other.getRequestedOptions())) return false; } if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 3: - if (!getNumericalStatsResult().equals(other.getNumericalStatsResult())) return false; + if (!getNumericalStatsResult() + .equals(other.getNumericalStatsResult())) return false; break; case 4: - if (!getCategoricalStatsResult().equals(other.getCategoricalStatsResult())) return false; + if (!getCategoricalStatsResult() + .equals(other.getCategoricalStatsResult())) return false; break; case 5: - if (!getKAnonymityResult().equals(other.getKAnonymityResult())) return false; + if (!getKAnonymityResult() + .equals(other.getKAnonymityResult())) return false; break; case 6: - if (!getLDiversityResult().equals(other.getLDiversityResult())) return false; + if (!getLDiversityResult() + .equals(other.getLDiversityResult())) return false; break; case 7: - if (!getKMapEstimationResult().equals(other.getKMapEstimationResult())) return false; + if (!getKMapEstimationResult() + .equals(other.getKMapEstimationResult())) return false; break; case 9: - if (!getDeltaPresenceEstimationResult().equals(other.getDeltaPresenceEstimationResult())) - return false; + if (!getDeltaPresenceEstimationResult() + .equals(other.getDeltaPresenceEstimationResult())) return false; break; case 0: default: @@ -23583,127 +19230,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Result of a risk analysis operation request.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); } // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.newBuilder() @@ -23711,15 +19348,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -23747,9 +19385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; } @java.lang.Override @@ -23768,8 +19406,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails build() { @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result = - new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(this); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(this); if (requestedPrivacyMetricBuilder_ == null) { result.requestedPrivacyMetric_ = requestedPrivacyMetric_; } else { @@ -23836,39 +19473,38 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) other); + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)other); } else { super.mergeFrom(other); return this; @@ -23876,8 +19512,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) return this; if (other.hasRequestedPrivacyMetric()) { mergeRequestedPrivacyMetric(other.getRequestedPrivacyMetric()); } @@ -23888,40 +19523,33 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails mergeRequestedOptions(other.getRequestedOptions()); } switch (other.getResultCase()) { - case NUMERICAL_STATS_RESULT: - { - mergeNumericalStatsResult(other.getNumericalStatsResult()); - break; - } - case CATEGORICAL_STATS_RESULT: - { - mergeCategoricalStatsResult(other.getCategoricalStatsResult()); - break; - } - case K_ANONYMITY_RESULT: - { - mergeKAnonymityResult(other.getKAnonymityResult()); - break; - } - case L_DIVERSITY_RESULT: - { - mergeLDiversityResult(other.getLDiversityResult()); - break; - } - case K_MAP_ESTIMATION_RESULT: - { - mergeKMapEstimationResult(other.getKMapEstimationResult()); - break; - } - case DELTA_PRESENCE_ESTIMATION_RESULT: - { - mergeDeltaPresenceEstimationResult(other.getDeltaPresenceEstimationResult()); - break; - } - case RESULT_NOT_SET: - { - break; - } + case NUMERICAL_STATS_RESULT: { + mergeNumericalStatsResult(other.getNumericalStatsResult()); + break; + } + case CATEGORICAL_STATS_RESULT: { + mergeCategoricalStatsResult(other.getCategoricalStatsResult()); + break; + } + case K_ANONYMITY_RESULT: { + mergeKAnonymityResult(other.getKAnonymityResult()); + break; + } + case L_DIVERSITY_RESULT: { + mergeLDiversityResult(other.getLDiversityResult()); + break; + } + case K_MAP_ESTIMATION_RESULT: { + mergeKMapEstimationResult(other.getKMapEstimationResult()); + break; + } + case DELTA_PRESENCE_ESTIMATION_RESULT: { + mergeDeltaPresenceEstimationResult(other.getDeltaPresenceEstimationResult()); + break; + } + case RESULT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -23942,8 +19570,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23952,12 +19579,12 @@ public Builder mergeFrom( } return this; } - private int resultCase_ = 0; private java.lang.Object result_; - - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public Builder clearResult() { @@ -23967,49 +19594,37 @@ public Builder clearResult() { return this; } + private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, - com.google.privacy.dlp.v2.PrivacyMetric.Builder, - com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> - requestedPrivacyMetricBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> requestedPrivacyMetricBuilder_; /** - * - * *
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; - * * @return Whether the requestedPrivacyMetric field is set. */ public boolean hasRequestedPrivacyMetric() { return requestedPrivacyMetricBuilder_ != null || requestedPrivacyMetric_ != null; } /** - * - * *
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; - * * @return The requestedPrivacyMetric. */ public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() { if (requestedPrivacyMetricBuilder_ == null) { - return requestedPrivacyMetric_ == null - ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() - : requestedPrivacyMetric_; + return requestedPrivacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_; } else { return requestedPrivacyMetricBuilder_.getMessage(); } } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24030,8 +19645,6 @@ public Builder setRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24050,8 +19663,6 @@ public Builder setRequestedPrivacyMetric( return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24062,9 +19673,7 @@ public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetr if (requestedPrivacyMetricBuilder_ == null) { if (requestedPrivacyMetric_ != null) { requestedPrivacyMetric_ = - com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(requestedPrivacyMetric_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(requestedPrivacyMetric_).mergeFrom(value).buildPartial(); } else { requestedPrivacyMetric_ = value; } @@ -24076,8 +19685,6 @@ public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetr return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24096,8 +19703,6 @@ public Builder clearRequestedPrivacyMetric() { return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24105,13 +19710,11 @@ public Builder clearRequestedPrivacyMetric() { * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; */ public com.google.privacy.dlp.v2.PrivacyMetric.Builder getRequestedPrivacyMetricBuilder() { - + onChanged(); return getRequestedPrivacyMetricFieldBuilder().getBuilder(); } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24122,14 +19725,11 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri if (requestedPrivacyMetricBuilder_ != null) { return requestedPrivacyMetricBuilder_.getMessageOrBuilder(); } else { - return requestedPrivacyMetric_ == null - ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() - : requestedPrivacyMetric_; + return requestedPrivacyMetric_ == null ? + com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_; } } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24137,17 +19737,14 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, - com.google.privacy.dlp.v2.PrivacyMetric.Builder, - com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> getRequestedPrivacyMetricFieldBuilder() { if (requestedPrivacyMetricBuilder_ == null) { - requestedPrivacyMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, - com.google.privacy.dlp.v2.PrivacyMetric.Builder, - com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( - getRequestedPrivacyMetric(), getParentForChildren(), isClean()); + requestedPrivacyMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( + getRequestedPrivacyMetric(), + getParentForChildren(), + isClean()); requestedPrivacyMetric_ = null; } return requestedPrivacyMetricBuilder_; @@ -24155,47 +19752,34 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - requestedSourceTableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> requestedSourceTableBuilder_; /** - * - * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; - * * @return Whether the requestedSourceTable field is set. */ public boolean hasRequestedSourceTable() { return requestedSourceTableBuilder_ != null || requestedSourceTable_ != null; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; - * * @return The requestedSourceTable. */ public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() { if (requestedSourceTableBuilder_ == null) { - return requestedSourceTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : requestedSourceTable_; + return requestedSourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_; } else { return requestedSourceTableBuilder_.getMessage(); } } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24216,8 +19800,6 @@ public Builder setRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable v return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24236,8 +19818,6 @@ public Builder setRequestedSourceTable( return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24248,9 +19828,7 @@ public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable if (requestedSourceTableBuilder_ == null) { if (requestedSourceTable_ != null) { requestedSourceTable_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(requestedSourceTable_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(requestedSourceTable_).mergeFrom(value).buildPartial(); } else { requestedSourceTable_ = value; } @@ -24262,8 +19840,6 @@ public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24282,8 +19858,6 @@ public Builder clearRequestedSourceTable() { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24291,13 +19865,11 @@ public Builder clearRequestedSourceTable() { * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getRequestedSourceTableBuilder() { - + onChanged(); return getRequestedSourceTableFieldBuilder().getBuilder(); } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24308,14 +19880,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO if (requestedSourceTableBuilder_ != null) { return requestedSourceTableBuilder_.getMessageOrBuilder(); } else { - return requestedSourceTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : requestedSourceTable_; + return requestedSourceTable_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_; } } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24323,38 +19892,27 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getRequestedSourceTableFieldBuilder() { if (requestedSourceTableBuilder_ == null) { - requestedSourceTableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getRequestedSourceTable(), getParentForChildren(), isClean()); + requestedSourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getRequestedSourceTable(), + getParentForChildren(), + isClean()); requestedSourceTable_ = null; } return requestedSourceTableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> - numericalStatsResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> numericalStatsResultBuilder_; /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; * @return Whether the numericalStatsResult field is set. */ @java.lang.Override @@ -24362,49 +19920,35 @@ public boolean hasNumericalStatsResult() { return resultCase_ == 3; } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; * @return The numericalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - getNumericalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult() { if (numericalStatsResultBuilder_ == null) { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); } else { if (resultCase_ == 3) { return numericalStatsResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); } } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ - public Builder setNumericalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { + public Builder setNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { if (numericalStatsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -24418,19 +19962,14 @@ public Builder setNumericalStatsResult( return this; } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ public Builder setNumericalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder builderForValue) { if (numericalStatsResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -24441,30 +19980,18 @@ public Builder setNumericalStatsResult( return this; } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ - public Builder mergeNumericalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { + public Builder mergeNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { if (numericalStatsResultBuilder_ == null) { - if (resultCase_ == 3 - && result_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance()) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 3 && + result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance()) { + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -24479,15 +20006,11 @@ public Builder mergeNumericalStatsResult( return this; } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ public Builder clearNumericalStatsResult() { if (numericalStatsResultBuilder_ == null) { @@ -24506,101 +20029,67 @@ public Builder clearNumericalStatsResult() { return this; } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder - getNumericalStatsResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder getNumericalStatsResultBuilder() { return getNumericalStatsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder - getNumericalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() { if ((resultCase_ == 3) && (numericalStatsResultBuilder_ != null)) { return numericalStatsResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); } } /** - * - * *
      * Numerical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> getNumericalStatsResultFieldBuilder() { if (numericalStatsResultBuilder_ == null) { if (!(resultCase_ == 3)) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - .getDefaultInstance(); - } - numericalStatsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .NumericalStatsResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) - result_, + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + } + numericalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 3; - onChanged(); - ; + onChanged();; return numericalStatsResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> - categoricalStatsResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> categoricalStatsResultBuilder_; /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; * @return Whether the categoricalStatsResult field is set. */ @java.lang.Override @@ -24608,49 +20097,35 @@ public boolean hasCategoricalStatsResult() { return resultCase_ == 4; } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; * @return The categoricalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - getCategoricalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult() { if (categoricalStatsResultBuilder_ == null) { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); } else { if (resultCase_ == 4) { return categoricalStatsResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); } } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ - public Builder setCategoricalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { + public Builder setCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { if (categoricalStatsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -24664,19 +20139,14 @@ public Builder setCategoricalStatsResult( return this; } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ public Builder setCategoricalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder builderForValue) { if (categoricalStatsResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -24687,31 +20157,18 @@ public Builder setCategoricalStatsResult( return this; } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ - public Builder mergeCategoricalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { + public Builder mergeCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { if (categoricalStatsResultBuilder_ == null) { - if (resultCase_ == 4 - && result_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance()) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .CategoricalStatsResult) - result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 4 && + result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance()) { + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -24726,15 +20183,11 @@ public Builder mergeCategoricalStatsResult( return this; } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ public Builder clearCategoricalStatsResult() { if (categoricalStatsResultBuilder_ == null) { @@ -24753,102 +20206,67 @@ public Builder clearCategoricalStatsResult() { return this; } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder - getCategoricalStatsResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder getCategoricalStatsResultBuilder() { return getCategoricalStatsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder - getCategoricalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() { if ((resultCase_ == 4) && (categoricalStatsResultBuilder_ != null)) { return categoricalStatsResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); } } /** - * - * *
      * Categorical stats result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> getCategoricalStatsResultFieldBuilder() { if (categoricalStatsResultBuilder_ == null) { if (!(resultCase_ == 4)) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .getDefaultInstance(); - } - categoricalStatsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .CategoricalStatsResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - result_, + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + } + categoricalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 4; - onChanged(); - ; + onChanged();; return categoricalStatsResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> - kAnonymityResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> kAnonymityResultBuilder_; /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; * @return Whether the kAnonymityResult field is set. */ @java.lang.Override @@ -24856,48 +20274,35 @@ public boolean hasKAnonymityResult() { return resultCase_ == 5; } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; * @return The kAnonymityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - getKAnonymityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult() { if (kAnonymityResultBuilder_ == null) { if (resultCase_ == 5) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); } else { if (resultCase_ == 5) { return kAnonymityResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); } } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ - public Builder setKAnonymityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { + public Builder setKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { if (kAnonymityResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -24911,19 +20316,14 @@ public Builder setKAnonymityResult( return this; } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ public Builder setKAnonymityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder builderForValue) { if (kAnonymityResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -24934,29 +20334,18 @@ public Builder setKAnonymityResult( return this; } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ - public Builder mergeKAnonymityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { + public Builder mergeKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { if (kAnonymityResultBuilder_ == null) { - if (resultCase_ == 5 - && result_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance()) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) - result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 5 && + result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance()) { + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -24971,15 +20360,11 @@ public Builder mergeKAnonymityResult( return this; } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ public Builder clearKAnonymityResult() { if (kAnonymityResultBuilder_ == null) { @@ -24998,98 +20383,67 @@ public Builder clearKAnonymityResult() { return this; } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder - getKAnonymityResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder getKAnonymityResultBuilder() { return getKAnonymityResultFieldBuilder().getBuilder(); } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder - getKAnonymityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() { if ((resultCase_ == 5) && (kAnonymityResultBuilder_ != null)) { return kAnonymityResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 5) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); } } /** - * - * *
      * K-anonymity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> getKAnonymityResultFieldBuilder() { if (kAnonymityResultBuilder_ == null) { if (!(resultCase_ == 5)) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult - .getDefaultInstance(); - } - kAnonymityResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder>( + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + } + kAnonymityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder>( (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 5; - onChanged(); - ; + onChanged();; return kAnonymityResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> - lDiversityResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> lDiversityResultBuilder_; /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; * @return Whether the lDiversityResult field is set. */ @java.lang.Override @@ -25097,48 +20451,35 @@ public boolean hasLDiversityResult() { return resultCase_ == 6; } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; * @return The lDiversityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - getLDiversityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult() { if (lDiversityResultBuilder_ == null) { if (resultCase_ == 6) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); } else { if (resultCase_ == 6) { return lDiversityResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); } } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ - public Builder setLDiversityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { + public Builder setLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { if (lDiversityResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25152,19 +20493,14 @@ public Builder setLDiversityResult( return this; } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ public Builder setLDiversityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder builderForValue) { if (lDiversityResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -25175,29 +20511,18 @@ public Builder setLDiversityResult( return this; } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ - public Builder mergeLDiversityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { + public Builder mergeLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { if (lDiversityResultBuilder_ == null) { - if (resultCase_ == 6 - && result_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance()) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) - result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 6 && + result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance()) { + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -25212,15 +20537,11 @@ public Builder mergeLDiversityResult( return this; } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ public Builder clearLDiversityResult() { if (lDiversityResultBuilder_ == null) { @@ -25239,98 +20560,67 @@ public Builder clearLDiversityResult() { return this; } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder - getLDiversityResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder getLDiversityResultBuilder() { return getLDiversityResultFieldBuilder().getBuilder(); } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder - getLDiversityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder() { if ((resultCase_ == 6) && (lDiversityResultBuilder_ != null)) { return lDiversityResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 6) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); } } /** - * - * *
      * L-divesity result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> getLDiversityResultFieldBuilder() { if (lDiversityResultBuilder_ == null) { if (!(resultCase_ == 6)) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult - .getDefaultInstance(); - } - lDiversityResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder>( + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + } + lDiversityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder>( (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 6; - onChanged(); - ; + onChanged();; return lDiversityResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> - kMapEstimationResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> kMapEstimationResultBuilder_; /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; * @return Whether the kMapEstimationResult field is set. */ @java.lang.Override @@ -25338,49 +20628,35 @@ public boolean hasKMapEstimationResult() { return resultCase_ == 7; } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; * @return The kMapEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - getKMapEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult() { if (kMapEstimationResultBuilder_ == null) { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); } else { if (resultCase_ == 7) { return kMapEstimationResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); } } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ - public Builder setKMapEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { + public Builder setKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { if (kMapEstimationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25394,19 +20670,14 @@ public Builder setKMapEstimationResult( return this; } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ public Builder setKMapEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder builderForValue) { if (kMapEstimationResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -25417,30 +20688,18 @@ public Builder setKMapEstimationResult( return this; } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ - public Builder mergeKMapEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { + public Builder mergeKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { if (kMapEstimationResultBuilder_ == null) { - if (resultCase_ == 7 - && result_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance()) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 7 && + result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance()) { + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -25455,15 +20714,11 @@ public Builder mergeKMapEstimationResult( return this; } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ public Builder clearKMapEstimationResult() { if (kMapEstimationResultBuilder_ == null) { @@ -25482,103 +20737,67 @@ public Builder clearKMapEstimationResult() { return this; } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder - getKMapEstimationResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder getKMapEstimationResultBuilder() { return getKMapEstimationResultFieldBuilder().getBuilder(); } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder - getKMapEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder() { if ((resultCase_ == 7) && (kMapEstimationResultBuilder_ != null)) { return kMapEstimationResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); } } /** - * - * *
      * K-map result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> getKMapEstimationResultFieldBuilder() { if (kMapEstimationResultBuilder_ == null) { if (!(resultCase_ == 7)) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - .getDefaultInstance(); - } - kMapEstimationResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .KMapEstimationResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - result_, + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); + } + kMapEstimationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 7; - onChanged(); - ; + onChanged();; return kMapEstimationResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResultOrBuilder> - deltaPresenceEstimationResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder> deltaPresenceEstimationResultBuilder_; /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; * @return Whether the deltaPresenceEstimationResult field is set. */ @java.lang.Override @@ -25586,51 +20805,35 @@ public boolean hasDeltaPresenceEstimationResult() { return resultCase_ == 9; } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; * @return The deltaPresenceEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - getDeltaPresenceEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDeltaPresenceEstimationResult() { if (deltaPresenceEstimationResultBuilder_ == null) { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); } else { if (resultCase_ == 9) { return deltaPresenceEstimationResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); } } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ - public Builder setDeltaPresenceEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - value) { + public Builder setDeltaPresenceEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult value) { if (deltaPresenceEstimationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25644,19 +20847,14 @@ public Builder setDeltaPresenceEstimationResult( return this; } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ public Builder setDeltaPresenceEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder builderForValue) { if (deltaPresenceEstimationResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -25667,32 +20865,18 @@ public Builder setDeltaPresenceEstimationResult( return this; } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ - public Builder mergeDeltaPresenceEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - value) { + public Builder mergeDeltaPresenceEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult value) { if (deltaPresenceEstimationResultBuilder_ == null) { - if (resultCase_ == 9 - && result_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult.getDefaultInstance()) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult) - result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 9 && + result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance()) { + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -25707,15 +20891,11 @@ public Builder mergeDeltaPresenceEstimationResult( return this; } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ public Builder clearDeltaPresenceEstimationResult() { if (deltaPresenceEstimationResultBuilder_ == null) { @@ -25734,155 +20914,96 @@ public Builder clearDeltaPresenceEstimationResult() { return this; } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder - getDeltaPresenceEstimationResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder getDeltaPresenceEstimationResultBuilder() { return getDeltaPresenceEstimationResultFieldBuilder().getBuilder(); } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResultOrBuilder - getDeltaPresenceEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder() { if ((resultCase_ == 9) && (deltaPresenceEstimationResultBuilder_ != null)) { return deltaPresenceEstimationResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult) - result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); } } /** - * - * *
      * Delta-presence result
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder> getDeltaPresenceEstimationResultFieldBuilder() { if (deltaPresenceEstimationResultBuilder_ == null) { if (!(resultCase_ == 9)) { - result_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .getDefaultInstance(); - } - deltaPresenceEstimationResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .DeltaPresenceEstimationResult) - result_, + result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + } + deltaPresenceEstimationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 9; - onChanged(); - ; + onChanged();; return deltaPresenceEstimationResultBuilder_; } - private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - requestedOptions_; + private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requestedOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptionsOrBuilder> - requestedOptionsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder> requestedOptionsBuilder_; /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; * @return Whether the requestedOptions field is set. */ public boolean hasRequestedOptions() { return requestedOptionsBuilder_ != null || requestedOptions_ != null; } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; * @return The requestedOptions. */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - getRequestedOptions() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getRequestedOptions() { if (requestedOptionsBuilder_ == null) { - return requestedOptions_ == null - ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .getDefaultInstance() - : requestedOptions_; + return requestedOptions_ == null ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance() : requestedOptions_; } else { return requestedOptionsBuilder_.getMessage(); } } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ - public Builder setRequestedOptions( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { + public Builder setRequestedOptions(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { if (requestedOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -25896,19 +21017,14 @@ public Builder setRequestedOptions( return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ public Builder setRequestedOptions( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder - builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder builderForValue) { if (requestedOptionsBuilder_ == null) { requestedOptions_ = builderForValue.build(); onChanged(); @@ -25919,25 +21035,17 @@ public Builder setRequestedOptions( return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ - public Builder mergeRequestedOptions( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { + public Builder mergeRequestedOptions(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { if (requestedOptionsBuilder_ == null) { if (requestedOptions_ != null) { requestedOptions_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .newBuilder(requestedOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.newBuilder(requestedOptions_).mergeFrom(value).buildPartial(); } else { requestedOptions_ = value; } @@ -25949,15 +21057,11 @@ public Builder mergeRequestedOptions( return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ public Builder clearRequestedOptions() { if (requestedOptionsBuilder_ == null) { @@ -25971,80 +21075,55 @@ public Builder clearRequestedOptions() { return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder - getRequestedOptionsBuilder() { - + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder getRequestedOptionsBuilder() { + onChanged(); return getRequestedOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptionsOrBuilder - getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder getRequestedOptionsOrBuilder() { if (requestedOptionsBuilder_ != null) { return requestedOptionsBuilder_.getMessageOrBuilder(); } else { - return requestedOptions_ == null - ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .getDefaultInstance() - : requestedOptions_; + return requestedOptions_ == null ? + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance() : requestedOptions_; } } /** - * - * *
      * The configuration used for this job.
      * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptionsOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder> getRequestedOptionsFieldBuilder() { if (requestedOptionsBuilder_ == null) { - requestedOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - .Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails - .RequestedRiskAnalysisOptionsOrBuilder>( - getRequestedOptions(), getParentForChildren(), isClean()); + requestedOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder>( + getRequestedOptions(), + getParentForChildren(), + isClean()); requestedOptions_ = null; } return requestedOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -26054,12 +21133,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(); } @@ -26068,16 +21147,16 @@ public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeDataSourceRiskDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeDataSourceRiskDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeDataSourceRiskDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeDataSourceRiskDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -26092,4 +21171,6 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java similarity index 53% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java index f5e1f212..b1515cac 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface AnalyzeDataSourceRiskDetailsOrBuilder - extends +public interface AnalyzeDataSourceRiskDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; - * * @return Whether the requestedPrivacyMetric field is set. */ boolean hasRequestedPrivacyMetric(); /** - * - * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; - * * @return The requestedPrivacyMetric. */ com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric(); /** - * - * *
    * Privacy metric to compute.
    * 
@@ -59,32 +35,24 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetricOrBuilder(); /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; - * * @return Whether the requestedSourceTable field is set. */ boolean hasRequestedSourceTable(); /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; - * * @return The requestedSourceTable. */ com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable(); /** - * - * *
    * Input dataset to compute metrics over.
    * 
@@ -94,303 +62,193 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableOrBuilder(); /** - * - * *
    * Numerical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; * @return Whether the numericalStatsResult field is set. */ boolean hasNumericalStatsResult(); /** - * - * *
    * Numerical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; * @return The numericalStatsResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult - getNumericalStatsResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult(); /** - * - * *
    * Numerical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder - getNumericalStatsResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder(); /** - * - * *
    * Categorical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; * @return Whether the categoricalStatsResult field is set. */ boolean hasCategoricalStatsResult(); /** - * - * *
    * Categorical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; * @return The categoricalStatsResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult - getCategoricalStatsResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult(); /** - * - * *
    * Categorical stats result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder - getCategoricalStatsResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder(); /** - * - * *
    * K-anonymity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; * @return Whether the kAnonymityResult field is set. */ boolean hasKAnonymityResult(); /** - * - * *
    * K-anonymity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; * @return The kAnonymityResult. */ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult(); /** - * - * *
    * K-anonymity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder - getKAnonymityResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder(); /** - * - * *
    * L-divesity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; * @return Whether the lDiversityResult field is set. */ boolean hasLDiversityResult(); /** - * - * *
    * L-divesity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; * @return The lDiversityResult. */ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult(); /** - * - * *
    * L-divesity result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder - getLDiversityResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder(); /** - * - * *
    * K-map result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; * @return Whether the kMapEstimationResult field is set. */ boolean hasKMapEstimationResult(); /** - * - * *
    * K-map result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; * @return The kMapEstimationResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult - getKMapEstimationResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult(); /** - * - * *
    * K-map result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder - getKMapEstimationResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder(); /** - * - * *
    * Delta-presence result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; * @return Whether the deltaPresenceEstimationResult field is set. */ boolean hasDeltaPresenceEstimationResult(); /** - * - * *
    * Delta-presence result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; * @return The deltaPresenceEstimationResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult - getDeltaPresenceEstimationResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDeltaPresenceEstimationResult(); /** - * - * *
    * Delta-presence result
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder - getDeltaPresenceEstimationResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder(); /** - * - * *
    * The configuration used for this job.
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; * @return Whether the requestedOptions field is set. */ boolean hasRequestedOptions(); /** - * - * *
    * The configuration used for this job.
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; * @return The requestedOptions. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions - getRequestedOptions(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getRequestedOptions(); /** - * - * *
    * The configuration used for this job.
    * 
* - * - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; - * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder - getRequestedOptionsOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder getRequestedOptionsOrBuilder(); public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ResultCase getResultCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java index 3af7d804..b98eb30d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Message defining a field of a BigQuery table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryField} */ -public final class BigQueryField extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryField) BigQueryFieldOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryField.newBuilder() to construct. private BigQueryField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BigQueryField() {} + private BigQueryField() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,82 +52,72 @@ private BigQueryField( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (table_ != null) { - subBuilder = table_.toBuilder(); - } - table_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(table_); - table_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (table_ != null) { + subBuilder = table_.toBuilder(); + } + table_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(table_); + table_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } - - break; + field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryField.class, - com.google.privacy.dlp.v2.BigQueryField.Builder.class); + com.google.privacy.dlp.v2.BigQueryField.class, com.google.privacy.dlp.v2.BigQueryField.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.BigQueryTable table_; /** - * - * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ @java.lang.Override @@ -151,14 +125,11 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ @java.lang.Override @@ -166,8 +137,6 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } /** - * - * *
    * Source table of the field.
    * 
@@ -182,14 +151,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { public static final int FIELD_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId field_; /** - * - * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return Whether the field field is set. */ @java.lang.Override @@ -197,14 +163,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return The field. */ @java.lang.Override @@ -212,8 +175,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
    * Designated field in the BigQuery table.
    * 
@@ -226,7 +187,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (table_ != null) { output.writeMessage(1, getTable()); } @@ -255,10 +216,12 @@ public int getSerializedSize() { size = 0; if (table_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTable()); } if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getField()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,7 +231,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.privacy.dlp.v2.BigQueryField)) { return super.equals(obj); @@ -277,11 +240,13 @@ public boolean equals(final java.lang.Object obj) { if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -307,127 +272,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BigQueryField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.BigQueryField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message defining a field of a BigQuery table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryField} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryField) com.google.privacy.dlp.v2.BigQueryFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryField.class, - com.google.privacy.dlp.v2.BigQueryField.Builder.class); + com.google.privacy.dlp.v2.BigQueryField.class, com.google.privacy.dlp.v2.BigQueryField.Builder.class); } // Construct using com.google.privacy.dlp.v2.BigQueryField.newBuilder() @@ -435,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -463,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; } @java.lang.Override @@ -484,8 +441,7 @@ public com.google.privacy.dlp.v2.BigQueryField build() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryField buildPartial() { - com.google.privacy.dlp.v2.BigQueryField result = - new com.google.privacy.dlp.v2.BigQueryField(this); + com.google.privacy.dlp.v2.BigQueryField result = new com.google.privacy.dlp.v2.BigQueryField(this); if (tableBuilder_ == null) { result.table_ = table_; } else { @@ -504,39 +460,38 @@ public com.google.privacy.dlp.v2.BigQueryField buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BigQueryField) { - return mergeFrom((com.google.privacy.dlp.v2.BigQueryField) other); + return mergeFrom((com.google.privacy.dlp.v2.BigQueryField)other); } else { super.mergeFrom(other); return this; @@ -582,47 +537,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.BigQueryTable table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - tableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_; /** - * - * *
      * Source table of the field.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** - * - * *
      * Source table of the field.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (tableBuilder_ == null) { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** - * - * *
      * Source table of the field.
      * 
@@ -643,15 +585,14 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Source table of the field.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; */ - public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setTable( + com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); @@ -662,8 +603,6 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderF return this; } /** - * - * *
      * Source table of the field.
      * 
@@ -674,9 +613,7 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -688,8 +625,6 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Source table of the field.
      * 
@@ -708,8 +643,6 @@ public Builder clearTable() { return this; } /** - * - * *
      * Source table of the field.
      * 
@@ -717,13 +650,11 @@ public Builder clearTable() { * .google.privacy.dlp.v2.BigQueryTable table = 1; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { - + onChanged(); return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Source table of the field.
      * 
@@ -734,14 +665,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } } /** - * - * *
      * Source table of the field.
      * 
@@ -749,17 +677,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { * .google.privacy.dlp.v2.BigQueryTable table = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; @@ -767,33 +692,24 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; /** - * - * *
      * Designated field in the BigQuery table.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -804,8 +720,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -826,15 +740,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -845,8 +758,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -857,7 +768,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -869,8 +780,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -889,8 +798,6 @@ public Builder clearField() { return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -898,13 +805,11 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -915,12 +820,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -928,24 +832,21 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -955,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryField) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryField) private static final com.google.privacy.dlp.v2.BigQueryField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryField(); } @@ -969,16 +870,16 @@ public static com.google.privacy.dlp.v2.BigQueryField getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryField(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryField(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,4 +894,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java index 34331213..3bac0119 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryFieldOrBuilder - extends +public interface BigQueryFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryField) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** - * - * *
    * Source table of the field.
    * 
@@ -59,32 +35,24 @@ public interface BigQueryFieldOrBuilder com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); /** - * - * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
    * Designated field in the BigQuery table.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java index df9bce7b..0d3311e6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Row key for identifying a record in BigQuery table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryKey} */ -public final class BigQueryKey extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryKey extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryKey) BigQueryKeyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryKey.newBuilder() to construct. private BigQueryKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BigQueryKey() {} + private BigQueryKey() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryKey(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,72 +52,64 @@ private BigQueryKey( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (tableReference_ != null) { - subBuilder = tableReference_.toBuilder(); - } - tableReference_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableReference_); - tableReference_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (tableReference_ != null) { + subBuilder = tableReference_.toBuilder(); } - case 16: - { - rowNumber_ = input.readInt64(); - break; + tableReference_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableReference_); + tableReference_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + rowNumber_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryKey.class, - com.google.privacy.dlp.v2.BigQueryKey.Builder.class); + com.google.privacy.dlp.v2.BigQueryKey.class, com.google.privacy.dlp.v2.BigQueryKey.Builder.class); } public static final int TABLE_REFERENCE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.BigQueryTable tableReference_; /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return Whether the tableReference field is set. */ @java.lang.Override @@ -141,25 +117,18 @@ public boolean hasTableReference() { return tableReference_ != null; } /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return The tableReference. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { - return tableReference_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : tableReference_; + return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; } /** - * - * *
    * Complete BigQuery table reference.
    * 
@@ -174,8 +143,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild public static final int ROW_NUMBER_FIELD_NUMBER = 2; private long rowNumber_; /** - * - * *
    * Row number inferred at the time the table was scanned. This value is
    * nondeterministic, cannot be queried, and may be null for inspection
@@ -185,7 +152,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
    * 
* * int64 row_number = 2; - * * @return The rowNumber. */ @java.lang.Override @@ -194,7 +160,6 @@ public long getRowNumber() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -223,10 +189,12 @@ public int getSerializedSize() { size = 0; if (tableReference_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTableReference()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTableReference()); } if (rowNumber_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowNumber_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, rowNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,7 +204,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.privacy.dlp.v2.BigQueryKey)) { return super.equals(obj); @@ -245,9 +213,11 @@ public boolean equals(final java.lang.Object obj) { if (hasTableReference() != other.hasTableReference()) return false; if (hasTableReference()) { - if (!getTableReference().equals(other.getTableReference())) return false; + if (!getTableReference() + .equals(other.getTableReference())) return false; } - if (getRowNumber() != other.getRowNumber()) return false; + if (getRowNumber() + != other.getRowNumber()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,132 +234,125 @@ public int hashCode() { hash = (53 * hash) + getTableReference().hashCode(); } hash = (37 * hash) + ROW_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryKey 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.privacy.dlp.v2.BigQueryKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Row key for identifying a record in BigQuery table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryKey} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryKey) com.google.privacy.dlp.v2.BigQueryKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryKey.class, - com.google.privacy.dlp.v2.BigQueryKey.Builder.class); + com.google.privacy.dlp.v2.BigQueryKey.class, com.google.privacy.dlp.v2.BigQueryKey.Builder.class); } // Construct using com.google.privacy.dlp.v2.BigQueryKey.newBuilder() @@ -397,15 +360,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; } @java.lang.Override @@ -442,8 +406,7 @@ public com.google.privacy.dlp.v2.BigQueryKey build() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKey buildPartial() { - com.google.privacy.dlp.v2.BigQueryKey result = - new com.google.privacy.dlp.v2.BigQueryKey(this); + com.google.privacy.dlp.v2.BigQueryKey result = new com.google.privacy.dlp.v2.BigQueryKey(this); if (tableReferenceBuilder_ == null) { result.tableReference_ = tableReference_; } else { @@ -458,39 +421,38 @@ public com.google.privacy.dlp.v2.BigQueryKey buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BigQueryKey) { - return mergeFrom((com.google.privacy.dlp.v2.BigQueryKey) other); + return mergeFrom((com.google.privacy.dlp.v2.BigQueryKey)other); } else { super.mergeFrom(other); return this; @@ -536,47 +498,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.BigQueryTable tableReference_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - tableReferenceBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableReferenceBuilder_; /** - * - * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return tableReferenceBuilder_ != null || tableReference_ != null; } /** - * - * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return The tableReference. */ public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : tableReference_; + return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -597,8 +546,6 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -617,8 +564,6 @@ public Builder setTableReference( return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -629,9 +574,7 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value if (tableReferenceBuilder_ == null) { if (tableReference_ != null) { tableReference_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_).mergeFrom(value).buildPartial(); } else { tableReference_ = value; } @@ -643,8 +586,6 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -663,8 +604,6 @@ public Builder clearTableReference() { return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -672,13 +611,11 @@ public Builder clearTableReference() { * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableReferenceBuilder() { - + onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -689,14 +626,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : tableReference_; + return tableReference_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; } } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -704,26 +638,21 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTableReference(), getParentForChildren(), isClean()); + tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTableReference(), + getParentForChildren(), + isClean()); tableReference_ = null; } return tableReferenceBuilder_; } - private long rowNumber_; + private long rowNumber_ ; /** - * - * *
      * Row number inferred at the time the table was scanned. This value is
      * nondeterministic, cannot be queried, and may be null for inspection
@@ -733,7 +662,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
      * 
* * int64 row_number = 2; - * * @return The rowNumber. */ @java.lang.Override @@ -741,8 +669,6 @@ public long getRowNumber() { return rowNumber_; } /** - * - * *
      * Row number inferred at the time the table was scanned. This value is
      * nondeterministic, cannot be queried, and may be null for inspection
@@ -752,19 +678,16 @@ public long getRowNumber() {
      * 
* * int64 row_number = 2; - * * @param value The rowNumber to set. * @return This builder for chaining. */ public Builder setRowNumber(long value) { - + rowNumber_ = value; onChanged(); return this; } /** - * - * *
      * Row number inferred at the time the table was scanned. This value is
      * nondeterministic, cannot be queried, and may be null for inspection
@@ -774,18 +697,17 @@ public Builder setRowNumber(long value) {
      * 
* * int64 row_number = 2; - * * @return This builder for chaining. */ public Builder clearRowNumber() { - + rowNumber_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,12 +717,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryKey) private static final com.google.privacy.dlp.v2.BigQueryKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryKey(); } @@ -809,16 +731,16 @@ public static com.google.privacy.dlp.v2.BigQueryKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,4 +755,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java index 3d0909dd..57154373 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryKeyOrBuilder - extends +public interface BigQueryKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return Whether the tableReference field is set. */ boolean hasTableReference(); /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return The tableReference. */ com.google.privacy.dlp.v2.BigQueryTable getTableReference(); /** - * - * *
    * Complete BigQuery table reference.
    * 
@@ -59,8 +35,6 @@ public interface BigQueryKeyOrBuilder com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuilder(); /** - * - * *
    * Row number inferred at the time the table was scanned. This value is
    * nondeterministic, cannot be queried, and may be null for inspection
@@ -70,7 +44,6 @@ public interface BigQueryKeyOrBuilder
    * 
* * int64 row_number = 2; - * * @return The rowNumber. */ long getRowNumber(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java index 4be1abc8..35f45e3d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Options defining BigQuery table and row identifiers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryOptions} */ -public final class BigQueryOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryOptions) BigQueryOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryOptions.newBuilder() to construct. private BigQueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryOptions() { identifyingFields_ = java.util.Collections.emptyList(); sampleMethod_ = 0; @@ -46,15 +28,16 @@ private BigQueryOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,82 +57,76 @@ private BigQueryOptions( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (tableReference_ != null) { - subBuilder = tableReference_.toBuilder(); - } - tableReference_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableReference_); - tableReference_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - identifyingFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + case 10: { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (tableReference_ != null) { + subBuilder = tableReference_.toBuilder(); } - case 24: - { - rowsLimit_ = input.readInt64(); - break; + tableReference_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableReference_); + tableReference_ = subBuilder.buildPartial(); } - case 32: - { - int rawValue = input.readEnum(); - sampleMethod_ = rawValue; - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - excludedFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - excludedFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identifyingFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 48: - { - rowsLimitPercent_ = input.readInt32(); - break; + identifyingFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + case 24: { + + rowsLimit_ = input.readInt64(); + break; + } + case 32: { + int rawValue = input.readEnum(); + + sampleMethod_ = rawValue; + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + excludedFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 58: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - includedFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - includedFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + excludedFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + case 48: { + + rowsLimitPercent_ = input.readInt32(); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + includedFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + includedFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { identifyingFields_ = java.util.Collections.unmodifiableList(identifyingFields_); @@ -164,25 +141,20 @@ private BigQueryOptions( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryOptions.class, - com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); + com.google.privacy.dlp.v2.BigQueryOptions.class, com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); } /** - * - * *
    * How to sample rows if not all rows are scanned. Meaningful only when used
    * in conjunction with either rows_limit or rows_limit_percent. If not
@@ -191,12 +163,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.BigQueryOptions.SampleMethod}
    */
-  public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
-    /** SAMPLE_METHOD_UNSPECIFIED = 0; */
+  public enum SampleMethod
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * SAMPLE_METHOD_UNSPECIFIED = 0;
+     */
     SAMPLE_METHOD_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Scan groups of rows in the order BigQuery provides (default). Multiple
      * groups of rows may be scanned in parallel, so results may not appear in
@@ -207,8 +180,6 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     TOP(1),
     /**
-     *
-     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -219,11 +190,11 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** SAMPLE_METHOD_UNSPECIFIED = 0; */ + /** + * SAMPLE_METHOD_UNSPECIFIED = 0; + */ public static final int SAMPLE_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Scan groups of rows in the order BigQuery provides (default). Multiple
      * groups of rows may be scanned in parallel, so results may not appear in
@@ -234,8 +205,6 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TOP_VALUE = 1;
     /**
-     *
-     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -244,6 +213,7 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RANDOM_START_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -268,49 +238,49 @@ public static SampleMethod valueOf(int value) { */ public static SampleMethod forNumber(int value) { switch (value) { - case 0: - return SAMPLE_METHOD_UNSPECIFIED; - case 1: - return TOP; - case 2: - return RANDOM_START; - default: - return null; + case 0: return SAMPLE_METHOD_UNSPECIFIED; + case 1: return TOP; + case 2: return RANDOM_START; + 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< + SampleMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SampleMethod findValueByNumber(int number) { + return SampleMethod.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SampleMethod findValueByNumber(int number) { - return SampleMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.BigQueryOptions.getDescriptor().getEnumTypes().get(0); } private static final SampleMethod[] VALUES = values(); - public static SampleMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SampleMethod 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; @@ -330,14 +300,11 @@ private SampleMethod(int value) { public static final int TABLE_REFERENCE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.BigQueryTable tableReference_; /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return Whether the tableReference field is set. */ @java.lang.Override @@ -345,25 +312,18 @@ public boolean hasTableReference() { return tableReference_ != null; } /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return The tableReference. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { - return tableReference_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : tableReference_; + return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; } /** - * - * *
    * Complete BigQuery table reference.
    * 
@@ -378,8 +338,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild public static final int IDENTIFYING_FIELDS_FIELD_NUMBER = 2; private java.util.List identifyingFields_; /** - * - * *
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -395,8 +353,6 @@ public java.util.List getIdentifyingFieldsLis
     return identifyingFields_;
   }
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -408,13 +364,11 @@ public java.util.List getIdentifyingFieldsLis
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getIdentifyingFieldsOrBuilderList() {
     return identifyingFields_;
   }
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -430,8 +384,6 @@ public int getIdentifyingFieldsCount() {
     return identifyingFields_.size();
   }
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -447,8 +399,6 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
     return identifyingFields_.get(index);
   }
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -460,15 +410,14 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
+      int index) {
     return identifyingFields_.get(index);
   }
 
   public static final int ROWS_LIMIT_FIELD_NUMBER = 3;
   private long rowsLimit_;
   /**
-   *
-   *
    * 
    * Max number of rows to scan. If the table has more rows than this value, the
    * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -477,7 +426,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    * 
* * int64 rows_limit = 3; - * * @return The rowsLimit. */ @java.lang.Override @@ -488,8 +436,6 @@ public long getRowsLimit() { public static final int ROWS_LIMIT_PERCENT_FIELD_NUMBER = 6; private int rowsLimitPercent_; /** - * - * *
    * Max percentage of rows to scan. The rest are omitted. The number of rows
    * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -499,7 +445,6 @@ public long getRowsLimit() {
    * 
* * int32 rows_limit_percent = 6; - * * @return The rowsLimitPercent. */ @java.lang.Override @@ -511,33 +456,24 @@ public int getRowsLimitPercent() { private int sampleMethod_; /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override - public int getSampleMethodValue() { + @java.lang.Override public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return The sampleMethod. */ - @java.lang.Override - public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() { + @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = - com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); - return result == null - ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); + return result == null ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED : result; } public static final int EXCLUDED_FIELDS_FIELD_NUMBER = 5; private java.util.List excludedFields_; /** - * - * *
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -550,8 +486,6 @@ public java.util.List getExcludedFieldsList()
     return excludedFields_;
   }
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -560,13 +494,11 @@ public java.util.List getExcludedFieldsList()
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getExcludedFieldsOrBuilderList() {
     return excludedFields_;
   }
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -579,8 +511,6 @@ public int getExcludedFieldsCount() {
     return excludedFields_.size();
   }
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -593,8 +523,6 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
     return excludedFields_.get(index);
   }
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -603,15 +531,14 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
+      int index) {
     return excludedFields_.get(index);
   }
 
   public static final int INCLUDED_FIELDS_FIELD_NUMBER = 7;
   private java.util.List includedFields_;
   /**
-   *
-   *
    * 
    * Limit scanning only to these fields.
    * 
@@ -623,8 +550,6 @@ public java.util.List getIncludedFieldsList() return includedFields_; } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -632,13 +557,11 @@ public java.util.List getIncludedFieldsList() * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ @java.lang.Override - public java.util.List + public java.util.List getIncludedFieldsOrBuilderList() { return includedFields_; } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -650,8 +573,6 @@ public int getIncludedFieldsCount() { return includedFields_.size(); } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -663,8 +584,6 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { return includedFields_.get(index); } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -672,12 +591,12 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ @java.lang.Override - public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( + int index) { return includedFields_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -689,7 +608,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -699,9 +619,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (rowsLimit_ != 0L) { output.writeInt64(3, rowsLimit_); } - if (sampleMethod_ - != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED - .getNumber()) { + if (sampleMethod_ != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(4, sampleMethod_); } for (int i = 0; i < excludedFields_.size(); i++) { @@ -723,28 +641,32 @@ public int getSerializedSize() { size = 0; if (tableReference_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTableReference()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTableReference()); } for (int i = 0; i < identifyingFields_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, identifyingFields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, identifyingFields_.get(i)); } if (rowsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowsLimit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, rowsLimit_); } - if (sampleMethod_ - != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sampleMethod_); + if (sampleMethod_ != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, sampleMethod_); } for (int i = 0; i < excludedFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, excludedFields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, excludedFields_.get(i)); } if (rowsLimitPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, rowsLimitPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, rowsLimitPercent_); } for (int i = 0; i < includedFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, includedFields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, includedFields_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -754,24 +676,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.privacy.dlp.v2.BigQueryOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.BigQueryOptions other = - (com.google.privacy.dlp.v2.BigQueryOptions) obj; + com.google.privacy.dlp.v2.BigQueryOptions other = (com.google.privacy.dlp.v2.BigQueryOptions) obj; if (hasTableReference() != other.hasTableReference()) return false; if (hasTableReference()) { - if (!getTableReference().equals(other.getTableReference())) return false; - } - if (!getIdentifyingFieldsList().equals(other.getIdentifyingFieldsList())) return false; - if (getRowsLimit() != other.getRowsLimit()) return false; - if (getRowsLimitPercent() != other.getRowsLimitPercent()) return false; + if (!getTableReference() + .equals(other.getTableReference())) return false; + } + if (!getIdentifyingFieldsList() + .equals(other.getIdentifyingFieldsList())) return false; + if (getRowsLimit() + != other.getRowsLimit()) return false; + if (getRowsLimitPercent() + != other.getRowsLimitPercent()) return false; if (sampleMethod_ != other.sampleMethod_) return false; - if (!getExcludedFieldsList().equals(other.getExcludedFieldsList())) return false; - if (!getIncludedFieldsList().equals(other.getIncludedFieldsList())) return false; + if (!getExcludedFieldsList() + .equals(other.getExcludedFieldsList())) return false; + if (!getIncludedFieldsList() + .equals(other.getIncludedFieldsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -792,7 +719,8 @@ public int hashCode() { hash = (53 * hash) + getIdentifyingFieldsList().hashCode(); } hash = (37 * hash) + ROWS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsLimit()); hash = (37 * hash) + ROWS_LIMIT_PERCENT_FIELD_NUMBER; hash = (53 * hash) + getRowsLimitPercent(); hash = (37 * hash) + SAMPLE_METHOD_FIELD_NUMBER; @@ -810,127 +738,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BigQueryOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.BigQueryOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options defining BigQuery table and row identifiers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryOptions) com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryOptions.class, - com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); + com.google.privacy.dlp.v2.BigQueryOptions.class, com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); } // Construct using com.google.privacy.dlp.v2.BigQueryOptions.newBuilder() @@ -938,19 +857,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIdentifyingFieldsFieldBuilder(); getExcludedFieldsFieldBuilder(); getIncludedFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -988,9 +907,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; } @java.lang.Override @@ -1009,8 +928,7 @@ public com.google.privacy.dlp.v2.BigQueryOptions build() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() { - com.google.privacy.dlp.v2.BigQueryOptions result = - new com.google.privacy.dlp.v2.BigQueryOptions(this); + com.google.privacy.dlp.v2.BigQueryOptions result = new com.google.privacy.dlp.v2.BigQueryOptions(this); int from_bitField0_ = bitField0_; if (tableReferenceBuilder_ == null) { result.tableReference_ = tableReference_; @@ -1055,39 +973,38 @@ public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BigQueryOptions) { - return mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions) other); + return mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions)other); } else { super.mergeFrom(other); return this; @@ -1117,10 +1034,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { identifyingFieldsBuilder_ = null; identifyingFields_ = other.identifyingFields_; bitField0_ = (bitField0_ & ~0x00000001); - identifyingFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIdentifyingFieldsFieldBuilder() - : null; + identifyingFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIdentifyingFieldsFieldBuilder() : null; } else { identifyingFieldsBuilder_.addAllMessages(other.identifyingFields_); } @@ -1153,10 +1069,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { excludedFieldsBuilder_ = null; excludedFields_ = other.excludedFields_; bitField0_ = (bitField0_ & ~0x00000002); - excludedFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExcludedFieldsFieldBuilder() - : null; + excludedFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExcludedFieldsFieldBuilder() : null; } else { excludedFieldsBuilder_.addAllMessages(other.excludedFields_); } @@ -1180,10 +1095,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { includedFieldsBuilder_ = null; includedFields_ = other.includedFields_; bitField0_ = (bitField0_ & ~0x00000004); - includedFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIncludedFieldsFieldBuilder() - : null; + includedFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIncludedFieldsFieldBuilder() : null; } else { includedFieldsBuilder_.addAllMessages(other.includedFields_); } @@ -1217,52 +1131,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.privacy.dlp.v2.BigQueryTable tableReference_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - tableReferenceBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableReferenceBuilder_; /** - * - * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return tableReferenceBuilder_ != null || tableReference_ != null; } /** - * - * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return The tableReference. */ public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : tableReference_; + return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1283,8 +1183,6 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1303,8 +1201,6 @@ public Builder setTableReference( return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1315,9 +1211,7 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value if (tableReferenceBuilder_ == null) { if (tableReference_ != null) { tableReference_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_).mergeFrom(value).buildPartial(); } else { tableReference_ = value; } @@ -1329,8 +1223,6 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1349,8 +1241,6 @@ public Builder clearTableReference() { return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1358,13 +1248,11 @@ public Builder clearTableReference() { * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableReferenceBuilder() { - + onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1375,14 +1263,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : tableReference_; + return tableReference_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; } } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1390,42 +1275,32 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTableReference(), getParentForChildren(), isClean()); + tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTableReference(), + getParentForChildren(), + isClean()); tableReference_ = null; } return tableReferenceBuilder_; } private java.util.List identifyingFields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIdentifyingFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = - new java.util.ArrayList(identifyingFields_); + identifyingFields_ = new java.util.ArrayList(identifyingFields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - identifyingFieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> identifyingFieldsBuilder_; /** - * - * *
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1444,8 +1319,6 @@ public java.util.List getIdentifyingFieldsLis
       }
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1464,8 +1337,6 @@ public int getIdentifyingFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1484,8 +1355,6 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1496,7 +1365,8 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public Builder setIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder setIdentifyingFields(
+        int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1510,8 +1380,6 @@ public Builder setIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1534,8 +1402,6 @@ public Builder setIdentifyingFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1560,8 +1426,6 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1572,7 +1436,8 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder addIdentifyingFields(
+        int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1586,8 +1451,6 @@ public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1598,7 +1461,8 @@ public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder addIdentifyingFields(
+        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
         identifyingFields_.add(builderForValue.build());
@@ -1609,8 +1473,6 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1633,8 +1495,6 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1649,7 +1509,8 @@ public Builder addAllIdentifyingFields(
         java.lang.Iterable values) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identifyingFields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, identifyingFields_);
         onChanged();
       } else {
         identifyingFieldsBuilder_.addAllMessages(values);
@@ -1657,8 +1518,6 @@ public Builder addAllIdentifyingFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1680,8 +1539,6 @@ public Builder clearIdentifyingFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1703,8 +1560,6 @@ public Builder removeIdentifyingFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1715,12 +1570,11 @@ public Builder removeIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(
+        int index) {
       return getIdentifyingFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1731,16 +1585,14 @@ public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(int
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
+        int index) {
       if (identifyingFieldsBuilder_ == null) {
-        return identifyingFields_.get(index);
-      } else {
+        return identifyingFields_.get(index);  } else {
         return identifyingFieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1751,8 +1603,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public java.util.List
-        getIdentifyingFieldsOrBuilderList() {
+    public java.util.List 
+         getIdentifyingFieldsOrBuilderList() {
       if (identifyingFieldsBuilder_ != null) {
         return identifyingFieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1760,8 +1612,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1773,12 +1623,10 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
-      return getIdentifyingFieldsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      return getIdentifyingFieldsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1789,13 +1637,12 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int index) {
-      return getIdentifyingFieldsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
+        int index) {
+      return getIdentifyingFieldsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1806,22 +1653,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public java.util.List
-        getIdentifyingFieldsBuilderList() {
+    public java.util.List 
+         getIdentifyingFieldsBuilderList() {
       return getIdentifyingFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
         getIdentifyingFieldsFieldBuilder() {
       if (identifyingFieldsBuilder_ == null) {
-        identifyingFieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldId,
-                com.google.privacy.dlp.v2.FieldId.Builder,
-                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+        identifyingFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
                 identifyingFields_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1831,10 +1672,8 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
       return identifyingFieldsBuilder_;
     }
 
-    private long rowsLimit_;
+    private long rowsLimit_ ;
     /**
-     *
-     *
      * 
      * Max number of rows to scan. If the table has more rows than this value, the
      * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -1843,7 +1682,6 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
      * 
* * int64 rows_limit = 3; - * * @return The rowsLimit. */ @java.lang.Override @@ -1851,8 +1689,6 @@ public long getRowsLimit() { return rowsLimit_; } /** - * - * *
      * Max number of rows to scan. If the table has more rows than this value, the
      * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -1861,19 +1697,16 @@ public long getRowsLimit() {
      * 
* * int64 rows_limit = 3; - * * @param value The rowsLimit to set. * @return This builder for chaining. */ public Builder setRowsLimit(long value) { - + rowsLimit_ = value; onChanged(); return this; } /** - * - * *
      * Max number of rows to scan. If the table has more rows than this value, the
      * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -1882,20 +1715,17 @@ public Builder setRowsLimit(long value) {
      * 
* * int64 rows_limit = 3; - * * @return This builder for chaining. */ public Builder clearRowsLimit() { - + rowsLimit_ = 0L; onChanged(); return this; } - private int rowsLimitPercent_; + private int rowsLimitPercent_ ; /** - * - * *
      * Max percentage of rows to scan. The rest are omitted. The number of rows
      * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -1905,7 +1735,6 @@ public Builder clearRowsLimit() {
      * 
* * int32 rows_limit_percent = 6; - * * @return The rowsLimitPercent. */ @java.lang.Override @@ -1913,8 +1742,6 @@ public int getRowsLimitPercent() { return rowsLimitPercent_; } /** - * - * *
      * Max percentage of rows to scan. The rest are omitted. The number of rows
      * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -1924,19 +1751,16 @@ public int getRowsLimitPercent() {
      * 
* * int32 rows_limit_percent = 6; - * * @param value The rowsLimitPercent to set. * @return This builder for chaining. */ public Builder setRowsLimitPercent(int value) { - + rowsLimitPercent_ = value; onChanged(); return this; } /** - * - * *
      * Max percentage of rows to scan. The rest are omitted. The number of rows
      * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -1946,11 +1770,10 @@ public Builder setRowsLimitPercent(int value) {
      * 
* * int32 rows_limit_percent = 6; - * * @return This builder for chaining. */ public Builder clearRowsLimitPercent() { - + rowsLimitPercent_ = 0; onChanged(); return this; @@ -1959,42 +1782,34 @@ public Builder clearRowsLimitPercent() { private int sampleMethod_ = 0; /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override - public int getSampleMethodValue() { + @java.lang.Override public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @param value The enum numeric value on the wire for sampleMethod to set. * @return This builder for chaining. */ public Builder setSampleMethodValue(int value) { - + sampleMethod_ = value; onChanged(); return this; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return The sampleMethod. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = - com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); - return result == null - ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); + return result == null ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED : result; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @param value The sampleMethod to set. * @return This builder for chaining. */ @@ -2002,43 +1817,35 @@ public Builder setSampleMethod(com.google.privacy.dlp.v2.BigQueryOptions.SampleM if (value == null) { throw new NullPointerException(); } - + sampleMethod_ = value.getNumber(); onChanged(); return this; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return This builder for chaining. */ public Builder clearSampleMethod() { - + sampleMethod_ = 0; onChanged(); return this; } private java.util.List excludedFields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExcludedFieldsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - excludedFields_ = - new java.util.ArrayList(excludedFields_); + excludedFields_ = new java.util.ArrayList(excludedFields_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - excludedFieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> excludedFieldsBuilder_; /** - * - * *
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2054,8 +1861,6 @@ public java.util.List getExcludedFieldsList()
       }
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2071,8 +1876,6 @@ public int getExcludedFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2088,8 +1891,6 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2097,7 +1898,8 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public Builder setExcludedFields(int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder setExcludedFields(
+        int index, com.google.privacy.dlp.v2.FieldId value) {
       if (excludedFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2111,8 +1913,6 @@ public Builder setExcludedFields(int index, com.google.privacy.dlp.v2.FieldId va
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2132,8 +1932,6 @@ public Builder setExcludedFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2155,8 +1953,6 @@ public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2164,7 +1960,8 @@ public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId value) {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public Builder addExcludedFields(int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder addExcludedFields(
+        int index, com.google.privacy.dlp.v2.FieldId value) {
       if (excludedFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2178,8 +1975,6 @@ public Builder addExcludedFields(int index, com.google.privacy.dlp.v2.FieldId va
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2187,7 +1982,8 @@ public Builder addExcludedFields(int index, com.google.privacy.dlp.v2.FieldId va
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder addExcludedFields(
+        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (excludedFieldsBuilder_ == null) {
         ensureExcludedFieldsIsMutable();
         excludedFields_.add(builderForValue.build());
@@ -2198,8 +1994,6 @@ public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2219,8 +2013,6 @@ public Builder addExcludedFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2232,7 +2024,8 @@ public Builder addAllExcludedFields(
         java.lang.Iterable values) {
       if (excludedFieldsBuilder_ == null) {
         ensureExcludedFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedFields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, excludedFields_);
         onChanged();
       } else {
         excludedFieldsBuilder_.addAllMessages(values);
@@ -2240,8 +2033,6 @@ public Builder addAllExcludedFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2260,8 +2051,6 @@ public Builder clearExcludedFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2280,8 +2069,6 @@ public Builder removeExcludedFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2289,12 +2076,11 @@ public Builder removeExcludedFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder getExcludedFieldsBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldId.Builder getExcludedFieldsBuilder(
+        int index) {
       return getExcludedFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2302,16 +2088,14 @@ public com.google.privacy.dlp.v2.FieldId.Builder getExcludedFieldsBuilder(int in
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
+        int index) {
       if (excludedFieldsBuilder_ == null) {
-        return excludedFields_.get(index);
-      } else {
+        return excludedFields_.get(index);  } else {
         return excludedFieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2319,8 +2103,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public java.util.List
-        getExcludedFieldsOrBuilderList() {
+    public java.util.List 
+         getExcludedFieldsOrBuilderList() {
       if (excludedFieldsBuilder_ != null) {
         return excludedFieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2328,8 +2112,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2338,12 +2120,10 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder() {
-      return getExcludedFieldsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      return getExcludedFieldsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2351,13 +2131,12 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(int index) {
-      return getExcludedFieldsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+    public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(
+        int index) {
+      return getExcludedFieldsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2365,22 +2144,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(int in
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public java.util.List
-        getExcludedFieldsBuilderList() {
+    public java.util.List 
+         getExcludedFieldsBuilderList() {
       return getExcludedFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
         getExcludedFieldsFieldBuilder() {
       if (excludedFieldsBuilder_ == null) {
-        excludedFieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldId,
-                com.google.privacy.dlp.v2.FieldId.Builder,
-                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+        excludedFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
                 excludedFields_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2391,25 +2164,18 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(int in
     }
 
     private java.util.List includedFields_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureIncludedFieldsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        includedFields_ =
-            new java.util.ArrayList(includedFields_);
+        includedFields_ = new java.util.ArrayList(includedFields_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
-        includedFieldsBuilder_;
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> includedFieldsBuilder_;
 
     /**
-     *
-     *
      * 
      * Limit scanning only to these fields.
      * 
@@ -2424,8 +2190,6 @@ public java.util.List getIncludedFieldsList() } } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2440,8 +2204,6 @@ public int getIncludedFieldsCount() { } } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2456,15 +2218,14 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { } } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public Builder setIncludedFields(int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder setIncludedFields( + int index, com.google.privacy.dlp.v2.FieldId value) { if (includedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2478,8 +2239,6 @@ public Builder setIncludedFields(int index, com.google.privacy.dlp.v2.FieldId va return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2498,8 +2257,6 @@ public Builder setIncludedFields( return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2520,15 +2277,14 @@ public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public Builder addIncludedFields(int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder addIncludedFields( + int index, com.google.privacy.dlp.v2.FieldId value) { if (includedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2542,15 +2298,14 @@ public Builder addIncludedFields(int index, com.google.privacy.dlp.v2.FieldId va return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addIncludedFields( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (includedFieldsBuilder_ == null) { ensureIncludedFieldsIsMutable(); includedFields_.add(builderForValue.build()); @@ -2561,8 +2316,6 @@ public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId.Builder build return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2581,8 +2334,6 @@ public Builder addIncludedFields( return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2593,7 +2344,8 @@ public Builder addAllIncludedFields( java.lang.Iterable values) { if (includedFieldsBuilder_ == null) { ensureIncludedFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includedFields_); onChanged(); } else { includedFieldsBuilder_.addAllMessages(values); @@ -2601,8 +2353,6 @@ public Builder addAllIncludedFields( return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2620,8 +2370,6 @@ public Builder clearIncludedFields() { return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2639,44 +2387,39 @@ public Builder removeIncludedFields(int index) { return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public com.google.privacy.dlp.v2.FieldId.Builder getIncludedFieldsBuilder(int index) { + public com.google.privacy.dlp.v2.FieldId.Builder getIncludedFieldsBuilder( + int index) { return getIncludedFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( + int index) { if (includedFieldsBuilder_ == null) { - return includedFields_.get(index); - } else { + return includedFields_.get(index); } else { return includedFieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public java.util.List - getIncludedFieldsOrBuilderList() { + public java.util.List + getIncludedFieldsOrBuilderList() { if (includedFieldsBuilder_ != null) { return includedFieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2684,8 +2427,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int } } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2693,47 +2434,38 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder() { - return getIncludedFieldsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + return getIncludedFieldsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder(int index) { - return getIncludedFieldsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder( + int index) { + return getIncludedFieldsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** - * - * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public java.util.List - getIncludedFieldsBuilderList() { + public java.util.List + getIncludedFieldsBuilderList() { return getIncludedFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getIncludedFieldsFieldBuilder() { if (includedFieldsBuilder_ == null) { - includedFieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( + includedFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( includedFields_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2742,9 +2474,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder(int in } return includedFieldsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2754,12 +2486,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryOptions) private static final com.google.privacy.dlp.v2.BigQueryOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryOptions(); } @@ -2768,16 +2500,16 @@ public static com.google.privacy.dlp.v2.BigQueryOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2792,4 +2524,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java similarity index 86% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java index 1c87d1cd..6b5cb5f2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryOptionsOrBuilder - extends +public interface BigQueryOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return Whether the tableReference field is set. */ boolean hasTableReference(); /** - * - * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; - * * @return The tableReference. */ com.google.privacy.dlp.v2.BigQueryTable getTableReference(); /** - * - * *
    * Complete BigQuery table reference.
    * 
@@ -59,8 +35,6 @@ public interface BigQueryOptionsOrBuilder com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuilder(); /** - * - * *
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -71,10 +45,9 @@ public interface BigQueryOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
-  java.util.List getIdentifyingFieldsList();
+  java.util.List 
+      getIdentifyingFieldsList();
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -87,8 +60,6 @@ public interface BigQueryOptionsOrBuilder
    */
   com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index);
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -101,8 +72,6 @@ public interface BigQueryOptionsOrBuilder
    */
   int getIdentifyingFieldsCount();
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -113,11 +82,9 @@ public interface BigQueryOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
-  java.util.List
+  java.util.List 
       getIdentifyingFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -128,11 +95,10 @@ public interface BigQueryOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
-  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index);
+  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Max number of rows to scan. If the table has more rows than this value, the
    * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -141,14 +107,11 @@ public interface BigQueryOptionsOrBuilder
    * 
* * int64 rows_limit = 3; - * * @return The rowsLimit. */ long getRowsLimit(); /** - * - * *
    * Max percentage of rows to scan. The rest are omitted. The number of rows
    * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -158,27 +121,22 @@ public interface BigQueryOptionsOrBuilder
    * 
* * int32 rows_limit_percent = 6; - * * @return The rowsLimitPercent. */ int getRowsLimitPercent(); /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return The enum numeric value on the wire for sampleMethod. */ int getSampleMethodValue(); /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; - * * @return The sampleMethod. */ com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod(); /** - * - * *
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -186,10 +144,9 @@ public interface BigQueryOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
-  java.util.List getExcludedFieldsList();
+  java.util.List 
+      getExcludedFieldsList();
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -199,8 +156,6 @@ public interface BigQueryOptionsOrBuilder
    */
   com.google.privacy.dlp.v2.FieldId getExcludedFields(int index);
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -210,8 +165,6 @@ public interface BigQueryOptionsOrBuilder
    */
   int getExcludedFieldsCount();
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -219,11 +172,9 @@ public interface BigQueryOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
-  java.util.List
+  java.util.List 
       getExcludedFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -231,21 +182,19 @@ public interface BigQueryOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
-  com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index);
+  com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Limit scanning only to these fields.
    * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - java.util.List getIncludedFieldsList(); + java.util.List + getIncludedFieldsList(); /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -254,8 +203,6 @@ public interface BigQueryOptionsOrBuilder */ com.google.privacy.dlp.v2.FieldId getIncludedFields(int index); /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -264,24 +211,21 @@ public interface BigQueryOptionsOrBuilder */ int getIncludedFieldsCount(); /** - * - * *
    * Limit scanning only to these fields.
    * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - java.util.List + java.util.List getIncludedFieldsOrBuilderList(); /** - * - * *
    * Limit scanning only to these fields.
    * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index); + com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java index d2e26162..751f2031 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Message defining the location of a BigQuery table. A table is uniquely
  * identified  by its project_id, dataset_id, and table_name. Within a query
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.BigQueryTable}
  */
-public final class BigQueryTable extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BigQueryTable extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryTable)
     BigQueryTableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BigQueryTable.newBuilder() to construct.
   private BigQueryTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BigQueryTable() {
     projectId_ = "";
     datasetId_ = "";
@@ -49,15 +31,16 @@ private BigQueryTable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BigQueryTable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private BigQueryTable(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,73 +59,65 @@ private BigQueryTable(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              projectId_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            projectId_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              datasetId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            datasetId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              tableId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            tableId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.BigQueryTable.class,
-            com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
+            com.google.privacy.dlp.v2.BigQueryTable.class, com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -151,30 +126,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int DATASET_ID_FIELD_NUMBER = 2; private volatile java.lang.Object datasetId_; /** - * - * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; - * * @return The datasetId. */ @java.lang.Override @@ -201,29 +173,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** - * - * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; - * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -234,14 +206,11 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { public static final int TABLE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object tableId_; /** - * - * *
    * Name of the table.
    * 
* * string table_id = 3; - * * @return The tableId. */ @java.lang.Override @@ -250,29 +219,29 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Name of the table.
    * 
* * string table_id = 3; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -281,7 +250,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -329,16 +298,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.privacy.dlp.v2.BigQueryTable)) { return super.equals(obj); } com.google.privacy.dlp.v2.BigQueryTable other = (com.google.privacy.dlp.v2.BigQueryTable) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatasetId().equals(other.getDatasetId())) return false; - if (!getTableId().equals(other.getTableId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatasetId() + .equals(other.getDatasetId())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,104 +333,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BigQueryTable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.BigQueryTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryTable parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message defining the location of a BigQuery table. A table is uniquely
    * identified  by its project_id, dataset_id, and table_name. Within a query
@@ -469,23 +434,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.BigQueryTable}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryTable)
       com.google.privacy.dlp.v2.BigQueryTableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.BigQueryTable.class,
-              com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
+              com.google.privacy.dlp.v2.BigQueryTable.class, com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.BigQueryTable.newBuilder()
@@ -493,15 +456,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -515,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
     }
 
     @java.lang.Override
@@ -536,8 +500,7 @@ public com.google.privacy.dlp.v2.BigQueryTable build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.BigQueryTable buildPartial() {
-      com.google.privacy.dlp.v2.BigQueryTable result =
-          new com.google.privacy.dlp.v2.BigQueryTable(this);
+      com.google.privacy.dlp.v2.BigQueryTable result = new com.google.privacy.dlp.v2.BigQueryTable(this);
       result.projectId_ = projectId_;
       result.datasetId_ = datasetId_;
       result.tableId_ = tableId_;
@@ -549,39 +512,38 @@ public com.google.privacy.dlp.v2.BigQueryTable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.BigQueryTable) {
-        return mergeFrom((com.google.privacy.dlp.v2.BigQueryTable) other);
+        return mergeFrom((com.google.privacy.dlp.v2.BigQueryTable)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -633,21 +595,19 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -656,22 +616,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -679,64 +638,57 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -744,20 +696,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object datasetId_ = ""; /** - * - * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; - * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -766,21 +716,20 @@ public java.lang.String getDatasetId() { } } /** - * - * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; - * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -788,61 +737,54 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** - * - * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; - * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId(java.lang.String value) { + public Builder setDatasetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** - * - * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; - * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** - * - * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; - * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; @@ -850,20 +792,18 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Name of the table.
      * 
* * string table_id = 3; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -872,21 +812,20 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Name of the table.
      * 
* * string table_id = 3; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -894,68 +833,61 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Name of the table.
      * 
* * string table_id = 3; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { + public Builder setTableId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; onChanged(); return this; } /** - * - * *
      * Name of the table.
      * 
* * string table_id = 3; - * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); onChanged(); return this; } /** - * - * *
      * Name of the table.
      * 
* * string table_id = 3; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = 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); } @@ -965,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryTable) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryTable) private static final com.google.privacy.dlp.v2.BigQueryTable DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryTable(); } @@ -979,16 +911,16 @@ public static com.google.privacy.dlp.v2.BigQueryTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1003,4 +935,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java similarity index 61% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java index 5e81869c..98f79024 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java @@ -1,102 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryTableOrBuilder - extends +public interface BigQueryTableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryTable) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; - * * @return The datasetId. */ java.lang.String getDatasetId(); /** - * - * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; - * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString getDatasetIdBytes(); + com.google.protobuf.ByteString + getDatasetIdBytes(); /** - * - * *
    * Name of the table.
    * 
* * string table_id = 3; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * Name of the table.
    * 
* * string table_id = 3; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java index 385d9a36..cbe25d0d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Bounding box encompassing detected text within an image.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BoundingBox} */ -public final class BoundingBox extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BoundingBox extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BoundingBox) BoundingBoxOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BoundingBox.newBuilder() to construct. private BoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BoundingBox() {} + private BoundingBox() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BoundingBox(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BoundingBox( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,71 +52,66 @@ private BoundingBox( case 0: done = true; break; - case 8: - { - top_ = input.readInt32(); - break; - } - case 16: - { - left_ = input.readInt32(); - break; - } - case 24: - { - width_ = input.readInt32(); - break; - } - case 32: - { - height_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + top_ = input.readInt32(); + break; + } + case 16: { + + left_ = input.readInt32(); + break; + } + case 24: { + + width_ = input.readInt32(); + break; + } + case 32: { + + height_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BoundingBox.class, - com.google.privacy.dlp.v2.BoundingBox.Builder.class); + com.google.privacy.dlp.v2.BoundingBox.class, com.google.privacy.dlp.v2.BoundingBox.Builder.class); } public static final int TOP_FIELD_NUMBER = 1; private int top_; /** - * - * *
    * Top coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 top = 1; - * * @return The top. */ @java.lang.Override @@ -143,14 +122,11 @@ public int getTop() { public static final int LEFT_FIELD_NUMBER = 2; private int left_; /** - * - * *
    * Left coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 left = 2; - * * @return The left. */ @java.lang.Override @@ -161,14 +137,11 @@ public int getLeft() { public static final int WIDTH_FIELD_NUMBER = 3; private int width_; /** - * - * *
    * Width of the bounding box in pixels.
    * 
* * int32 width = 3; - * * @return The width. */ @java.lang.Override @@ -179,14 +152,11 @@ public int getWidth() { public static final int HEIGHT_FIELD_NUMBER = 4; private int height_; /** - * - * *
    * Height of the bounding box in pixels.
    * 
* * int32 height = 4; - * * @return The height. */ @java.lang.Override @@ -195,7 +165,6 @@ public int getHeight() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (top_ != 0) { output.writeInt32(1, top_); } @@ -230,16 +200,20 @@ public int getSerializedSize() { size = 0; if (top_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, top_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, top_); } if (left_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, left_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, left_); } if (width_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, width_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, width_); } if (height_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, height_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, height_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -249,17 +223,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.privacy.dlp.v2.BoundingBox)) { return super.equals(obj); } com.google.privacy.dlp.v2.BoundingBox other = (com.google.privacy.dlp.v2.BoundingBox) obj; - if (getTop() != other.getTop()) return false; - if (getLeft() != other.getLeft()) return false; - if (getWidth() != other.getWidth()) return false; - if (getHeight() != other.getHeight()) return false; + if (getTop() + != other.getTop()) return false; + if (getLeft() + != other.getLeft()) return false; + if (getWidth() + != other.getWidth()) return false; + if (getHeight() + != other.getHeight()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -284,126 +262,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BoundingBox parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BoundingBox 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.privacy.dlp.v2.BoundingBox parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BoundingBox prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Bounding box encompassing detected text within an image.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BoundingBox} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BoundingBox) com.google.privacy.dlp.v2.BoundingBoxOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BoundingBox.class, - com.google.privacy.dlp.v2.BoundingBox.Builder.class); + com.google.privacy.dlp.v2.BoundingBox.class, com.google.privacy.dlp.v2.BoundingBox.Builder.class); } // Construct using com.google.privacy.dlp.v2.BoundingBox.newBuilder() @@ -411,15 +381,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; } @java.lang.Override @@ -456,8 +427,7 @@ public com.google.privacy.dlp.v2.BoundingBox build() { @java.lang.Override public com.google.privacy.dlp.v2.BoundingBox buildPartial() { - com.google.privacy.dlp.v2.BoundingBox result = - new com.google.privacy.dlp.v2.BoundingBox(this); + com.google.privacy.dlp.v2.BoundingBox result = new com.google.privacy.dlp.v2.BoundingBox(this); result.top_ = top_; result.left_ = left_; result.width_ = width_; @@ -470,39 +440,38 @@ public com.google.privacy.dlp.v2.BoundingBox buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BoundingBox) { - return mergeFrom((com.google.privacy.dlp.v2.BoundingBox) other); + return mergeFrom((com.google.privacy.dlp.v2.BoundingBox)other); } else { super.mergeFrom(other); return this; @@ -552,16 +521,13 @@ public Builder mergeFrom( return this; } - private int top_; + private int top_ ; /** - * - * *
      * Top coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 top = 1; - * * @return The top. */ @java.lang.Override @@ -569,51 +535,42 @@ public int getTop() { return top_; } /** - * - * *
      * Top coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 top = 1; - * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(int value) { - + top_ = value; onChanged(); return this; } /** - * - * *
      * Top coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 top = 1; - * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0; onChanged(); return this; } - private int left_; + private int left_ ; /** - * - * *
      * Left coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 left = 2; - * * @return The left. */ @java.lang.Override @@ -621,51 +578,42 @@ public int getLeft() { return left_; } /** - * - * *
      * Left coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 left = 2; - * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(int value) { - + left_ = value; onChanged(); return this; } /** - * - * *
      * Left coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 left = 2; - * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0; onChanged(); return this; } - private int width_; + private int width_ ; /** - * - * *
      * Width of the bounding box in pixels.
      * 
* * int32 width = 3; - * * @return The width. */ @java.lang.Override @@ -673,51 +621,42 @@ public int getWidth() { return width_; } /** - * - * *
      * Width of the bounding box in pixels.
      * 
* * int32 width = 3; - * * @param value The width to set. * @return This builder for chaining. */ public Builder setWidth(int value) { - + width_ = value; onChanged(); return this; } /** - * - * *
      * Width of the bounding box in pixels.
      * 
* * int32 width = 3; - * * @return This builder for chaining. */ public Builder clearWidth() { - + width_ = 0; onChanged(); return this; } - private int height_; + private int height_ ; /** - * - * *
      * Height of the bounding box in pixels.
      * 
* * int32 height = 4; - * * @return The height. */ @java.lang.Override @@ -725,43 +664,37 @@ public int getHeight() { return height_; } /** - * - * *
      * Height of the bounding box in pixels.
      * 
* * int32 height = 4; - * * @param value The height to set. * @return This builder for chaining. */ public Builder setHeight(int value) { - + height_ = value; onChanged(); return this; } /** - * - * *
      * Height of the bounding box in pixels.
      * 
* * int32 height = 4; - * * @return This builder for chaining. */ public Builder clearHeight() { - + height_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BoundingBox) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BoundingBox) private static final com.google.privacy.dlp.v2.BoundingBox DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BoundingBox(); } @@ -785,16 +718,16 @@ public static com.google.privacy.dlp.v2.BoundingBox getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -809,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java similarity index 57% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java index a93f9e25..ffe25369 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java @@ -1,76 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface BoundingBoxOrBuilder - extends +public interface BoundingBoxOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BoundingBox) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Top coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 top = 1; - * * @return The top. */ int getTop(); /** - * - * *
    * Left coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 left = 2; - * * @return The left. */ int getLeft(); /** - * - * *
    * Width of the bounding box in pixels.
    * 
* * int32 width = 3; - * * @return The width. */ int getWidth(); /** - * - * *
    * Height of the bounding box in pixels.
    * 
* * int32 height = 4; - * * @return The height. */ int getHeight(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java index e0beee97..5e1f8969 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Generalization function that buckets values based on ranges. The ranges and
  * replacement values are dynamically provided by the user for custom behavior,
@@ -35,31 +18,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig}
  */
-public final class BucketingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BucketingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BucketingConfig)
     BucketingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BucketingConfig.newBuilder() to construct.
   private BucketingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BucketingConfig() {
     buckets_ = 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 BucketingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private BucketingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,32 +62,29 @@ private BucketingConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                buckets_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              buckets_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.BucketingConfig.Bucket.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              buckets_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            buckets_.add(
+                input.readMessage(com.google.privacy.dlp.v2.BucketingConfig.Bucket.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         buckets_ = java.util.Collections.unmodifiableList(buckets_);
@@ -113,56 +93,44 @@ private BucketingConfig(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.BucketingConfig.class,
-            com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
+            com.google.privacy.dlp.v2.BucketingConfig.class, com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
   }
 
-  public interface BucketOrBuilder
-      extends
+  public interface BucketOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BucketingConfig.Bucket)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; - * * @return Whether the min field is set. */ boolean hasMin(); /** - * - * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; - * * @return The min. */ com.google.privacy.dlp.v2.Value getMin(); /** - * - * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
@@ -173,32 +141,24 @@ public interface BucketOrBuilder
     com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder();
 
     /**
-     *
-     *
      * 
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; - * * @return Whether the max field is set. */ boolean hasMax(); /** - * - * *
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; - * * @return The max. */ com.google.privacy.dlp.v2.Value getMax(); /** - * - * *
      * Upper bound of the range, exclusive; type must match min.
      * 
@@ -208,78 +168,63 @@ public interface BucketOrBuilder com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder(); /** - * - * *
      * Required. Replacement value for this bucket.
      * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the replacementValue field is set. */ boolean hasReplacementValue(); /** - * - * *
      * Required. Replacement value for this bucket.
      * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The replacementValue. */ com.google.privacy.dlp.v2.Value getReplacementValue(); /** - * - * *
      * Required. Replacement value for this bucket.
      * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder(); } /** - * - * *
    * Bucket is represented as a range, along with replacement values.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig.Bucket} */ - public static final class Bucket extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Bucket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BucketingConfig.Bucket) BucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Bucket.newBuilder() to construct. private Bucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Bucket() {} + private Bucket() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Bucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Bucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -298,97 +243,86 @@ private Bucket( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (min_ != null) { - subBuilder = min_.toBuilder(); - } - min_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(min_); - min_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (min_ != null) { + subBuilder = min_.toBuilder(); + } + min_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(min_); + min_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (max_ != null) { + subBuilder = max_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (max_ != null) { - subBuilder = max_.toBuilder(); - } - max_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(max_); - max_ = subBuilder.buildPartial(); - } - - break; + max_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(max_); + max_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (replacementValue_ != null) { - subBuilder = replacementValue_.toBuilder(); - } - replacementValue_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(replacementValue_); - replacementValue_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (replacementValue_ != null) { + subBuilder = replacementValue_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + replacementValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(replacementValue_); + replacementValue_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, - com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); + com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); } public static final int MIN_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value min_; /** - * - * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; - * * @return Whether the min field is set. */ @java.lang.Override @@ -396,15 +330,12 @@ public boolean hasMin() { return min_ != null; } /** - * - * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; - * * @return The min. */ @java.lang.Override @@ -412,8 +343,6 @@ public com.google.privacy.dlp.v2.Value getMin() { return min_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_; } /** - * - * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
@@ -429,14 +358,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
     public static final int MAX_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.Value max_;
     /**
-     *
-     *
      * 
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; - * * @return Whether the max field is set. */ @java.lang.Override @@ -444,14 +370,11 @@ public boolean hasMax() { return max_ != null; } /** - * - * *
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; - * * @return The max. */ @java.lang.Override @@ -459,8 +382,6 @@ public com.google.privacy.dlp.v2.Value getMax() { return max_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_; } /** - * - * *
      * Upper bound of the range, exclusive; type must match min.
      * 
@@ -475,16 +396,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { public static final int REPLACEMENT_VALUE_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.Value replacementValue_; /** - * - * *
      * Required. Replacement value for this bucket.
      * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the replacementValue field is set. */ @java.lang.Override @@ -492,34 +408,23 @@ public boolean hasReplacementValue() { return replacementValue_ != null; } /** - * - * *
      * Required. Replacement value for this bucket.
      * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The replacementValue. */ @java.lang.Override public com.google.privacy.dlp.v2.Value getReplacementValue() { - return replacementValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : replacementValue_; + return replacementValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : replacementValue_; } /** - * - * *
      * Required. Replacement value for this bucket.
      * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { @@ -527,7 +432,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,7 +443,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (min_ != null) { output.writeMessage(1, getMin()); } @@ -559,13 +464,16 @@ public int getSerializedSize() { size = 0; if (min_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMin()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMin()); } if (max_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMax()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMax()); } if (replacementValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReplacementValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReplacementValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -575,25 +483,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.BucketingConfig.Bucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.BucketingConfig.Bucket other = - (com.google.privacy.dlp.v2.BucketingConfig.Bucket) obj; + com.google.privacy.dlp.v2.BucketingConfig.Bucket other = (com.google.privacy.dlp.v2.BucketingConfig.Bucket) obj; if (hasMin() != other.hasMin()) return false; if (hasMin()) { - if (!getMin().equals(other.getMin())) return false; + if (!getMin() + .equals(other.getMin())) return false; } if (hasMax() != other.hasMax()) return false; if (hasMax()) { - if (!getMax().equals(other.getMax())) return false; + if (!getMax() + .equals(other.getMax())) return false; } if (hasReplacementValue() != other.hasReplacementValue()) return false; if (hasReplacementValue()) { - if (!getReplacementValue().equals(other.getReplacementValue())) return false; + if (!getReplacementValue() + .equals(other.getReplacementValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -624,93 +534,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BucketingConfig.Bucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -720,32 +624,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Bucket is represented as a range, along with replacement values.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig.Bucket} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BucketingConfig.Bucket) com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, - com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); + com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); } // Construct using com.google.privacy.dlp.v2.BucketingConfig.Bucket.newBuilder() @@ -753,15 +652,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -787,9 +687,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; } @java.lang.Override @@ -808,8 +708,7 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket build() { @java.lang.Override public com.google.privacy.dlp.v2.BucketingConfig.Bucket buildPartial() { - com.google.privacy.dlp.v2.BucketingConfig.Bucket result = - new com.google.privacy.dlp.v2.BucketingConfig.Bucket(this); + com.google.privacy.dlp.v2.BucketingConfig.Bucket result = new com.google.privacy.dlp.v2.BucketingConfig.Bucket(this); if (minBuilder_ == null) { result.min_ = min_; } else { @@ -833,41 +732,38 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.BucketingConfig.Bucket) { - return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig.Bucket) other); + return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig.Bucket)other); } else { super.mergeFrom(other); return this; @@ -875,8 +771,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.BucketingConfig.Bucket other) { - if (other == com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()) return this; if (other.hasMin()) { mergeMin(other.getMin()); } @@ -905,8 +800,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.BucketingConfig.Bucket) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.BucketingConfig.Bucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -918,35 +812,26 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Value min_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - minBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> minBuilder_; /** - * - * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
        * 
* * .google.privacy.dlp.v2.Value min = 1; - * * @return Whether the min field is set. */ public boolean hasMin() { return minBuilder_ != null || min_ != null; } /** - * - * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
        * 
* * .google.privacy.dlp.v2.Value min = 1; - * * @return The min. */ public com.google.privacy.dlp.v2.Value getMin() { @@ -957,8 +842,6 @@ public com.google.privacy.dlp.v2.Value getMin() { } } /** - * - * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -980,8 +863,6 @@ public Builder setMin(com.google.privacy.dlp.v2.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -989,7 +870,8 @@ public Builder setMin(com.google.privacy.dlp.v2.Value value) {
        *
        * .google.privacy.dlp.v2.Value min = 1;
        */
-      public Builder setMin(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+      public Builder setMin(
+          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
         if (minBuilder_ == null) {
           min_ = builderForValue.build();
           onChanged();
@@ -1000,8 +882,6 @@ public Builder setMin(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -1012,7 +892,8 @@ public Builder setMin(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
       public Builder mergeMin(com.google.privacy.dlp.v2.Value value) {
         if (minBuilder_ == null) {
           if (min_ != null) {
-            min_ = com.google.privacy.dlp.v2.Value.newBuilder(min_).mergeFrom(value).buildPartial();
+            min_ =
+              com.google.privacy.dlp.v2.Value.newBuilder(min_).mergeFrom(value).buildPartial();
           } else {
             min_ = value;
           }
@@ -1024,8 +905,6 @@ public Builder mergeMin(com.google.privacy.dlp.v2.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -1045,8 +924,6 @@ public Builder clearMin() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -1055,13 +932,11 @@ public Builder clearMin() {
        * .google.privacy.dlp.v2.Value min = 1;
        */
       public com.google.privacy.dlp.v2.Value.Builder getMinBuilder() {
-
+        
         onChanged();
         return getMinFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -1073,12 +948,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
         if (minBuilder_ != null) {
           return minBuilder_.getMessageOrBuilder();
         } else {
-          return min_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_;
+          return min_ == null ?
+              com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_;
         }
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -1087,17 +961,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
        * .google.privacy.dlp.v2.Value min = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.Value,
-              com.google.privacy.dlp.v2.Value.Builder,
-              com.google.privacy.dlp.v2.ValueOrBuilder>
+          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
           getMinFieldBuilder() {
         if (minBuilder_ == null) {
-          minBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.Value,
-                  com.google.privacy.dlp.v2.Value.Builder,
-                  com.google.privacy.dlp.v2.ValueOrBuilder>(
-                  getMin(), getParentForChildren(), isClean());
+          minBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
+                  getMin(),
+                  getParentForChildren(),
+                  isClean());
           min_ = null;
         }
         return minBuilder_;
@@ -1105,33 +976,24 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
 
       private com.google.privacy.dlp.v2.Value max_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.Value,
-              com.google.privacy.dlp.v2.Value.Builder,
-              com.google.privacy.dlp.v2.ValueOrBuilder>
-          maxBuilder_;
+          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> maxBuilder_;
       /**
-       *
-       *
        * 
        * Upper bound of the range, exclusive; type must match min.
        * 
* * .google.privacy.dlp.v2.Value max = 2; - * * @return Whether the max field is set. */ public boolean hasMax() { return maxBuilder_ != null || max_ != null; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
* * .google.privacy.dlp.v2.Value max = 2; - * * @return The max. */ public com.google.privacy.dlp.v2.Value getMax() { @@ -1142,8 +1004,6 @@ public com.google.privacy.dlp.v2.Value getMax() { } } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1164,15 +1024,14 @@ public Builder setMax(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
* * .google.privacy.dlp.v2.Value max = 2; */ - public Builder setMax(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setMax( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (maxBuilder_ == null) { max_ = builderForValue.build(); onChanged(); @@ -1183,8 +1042,6 @@ public Builder setMax(com.google.privacy.dlp.v2.Value.Builder builderForValue) { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1194,7 +1051,8 @@ public Builder setMax(com.google.privacy.dlp.v2.Value.Builder builderForValue) { public Builder mergeMax(com.google.privacy.dlp.v2.Value value) { if (maxBuilder_ == null) { if (max_ != null) { - max_ = com.google.privacy.dlp.v2.Value.newBuilder(max_).mergeFrom(value).buildPartial(); + max_ = + com.google.privacy.dlp.v2.Value.newBuilder(max_).mergeFrom(value).buildPartial(); } else { max_ = value; } @@ -1206,8 +1064,6 @@ public Builder mergeMax(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1226,8 +1082,6 @@ public Builder clearMax() { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1235,13 +1089,11 @@ public Builder clearMax() { * .google.privacy.dlp.v2.Value max = 2; */ public com.google.privacy.dlp.v2.Value.Builder getMaxBuilder() { - + onChanged(); return getMaxFieldBuilder().getBuilder(); } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1252,12 +1104,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { if (maxBuilder_ != null) { return maxBuilder_.getMessageOrBuilder(); } else { - return max_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_; + return max_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_; } } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1265,17 +1116,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { * .google.privacy.dlp.v2.Value max = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getMaxFieldBuilder() { if (maxBuilder_ == null) { - maxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getMax(), getParentForChildren(), isClean()); + maxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getMax(), + getParentForChildren(), + isClean()); max_ = null; } return maxBuilder_; @@ -1283,58 +1131,39 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { private com.google.privacy.dlp.v2.Value replacementValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - replacementValueBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> replacementValueBuilder_; /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the replacementValue field is set. */ public boolean hasReplacementValue() { return replacementValueBuilder_ != null || replacementValue_ != null; } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The replacementValue. */ public com.google.privacy.dlp.v2.Value getReplacementValue() { if (replacementValueBuilder_ == null) { - return replacementValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : replacementValue_; + return replacementValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : replacementValue_; } else { return replacementValueBuilder_.getMessage(); } } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReplacementValue(com.google.privacy.dlp.v2.Value value) { if (replacementValueBuilder_ == null) { @@ -1350,17 +1179,14 @@ public Builder setReplacementValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setReplacementValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setReplacementValue( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (replacementValueBuilder_ == null) { replacementValue_ = builderForValue.build(); onChanged(); @@ -1371,23 +1197,17 @@ public Builder setReplacementValue(com.google.privacy.dlp.v2.Value.Builder build return this; } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeReplacementValue(com.google.privacy.dlp.v2.Value value) { if (replacementValueBuilder_ == null) { if (replacementValue_ != null) { replacementValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(replacementValue_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(replacementValue_).mergeFrom(value).buildPartial(); } else { replacementValue_ = value; } @@ -1399,15 +1219,11 @@ public Builder mergeReplacementValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearReplacementValue() { if (replacementValueBuilder_ == null) { @@ -1421,69 +1237,52 @@ public Builder clearReplacementValue() { return this; } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.Value.Builder getReplacementValueBuilder() { - + onChanged(); return getReplacementValueFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { if (replacementValueBuilder_ != null) { return replacementValueBuilder_.getMessageOrBuilder(); } else { - return replacementValue_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : replacementValue_; + return replacementValue_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : replacementValue_; } } /** - * - * *
        * Required. Replacement value for this bucket.
        * 
* - * - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getReplacementValueFieldBuilder() { if (replacementValueBuilder_ == null) { - replacementValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getReplacementValue(), getParentForChildren(), isClean()); + replacementValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getReplacementValue(), + getParentForChildren(), + isClean()); replacementValue_ = null; } return replacementValueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1496,12 +1295,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BucketingConfig.Bucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BucketingConfig.Bucket) private static final com.google.privacy.dlp.v2.BucketingConfig.Bucket DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BucketingConfig.Bucket(); } @@ -1510,16 +1309,16 @@ public static com.google.privacy.dlp.v2.BucketingConfig.Bucket getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Bucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Bucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Bucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Bucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1534,13 +1333,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BucketingConfig.Bucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BUCKETS_FIELD_NUMBER = 1; private java.util.List buckets_; /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1552,8 +1350,6 @@ public java.util.List getBucke return buckets_; } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1561,13 +1357,11 @@ public java.util.List getBucke * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBucketsOrBuilderList() { return buckets_; } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1579,8 +1373,6 @@ public int getBucketsCount() { return buckets_.size(); } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1592,8 +1384,6 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { return buckets_.get(index); } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1601,12 +1391,12 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder(int index) { + public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder( + int index) { return buckets_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1618,7 +1408,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < buckets_.size(); i++) { output.writeMessage(1, buckets_.get(i)); } @@ -1632,7 +1423,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < buckets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, buckets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, buckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1642,15 +1434,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.privacy.dlp.v2.BucketingConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.BucketingConfig other = - (com.google.privacy.dlp.v2.BucketingConfig) obj; + com.google.privacy.dlp.v2.BucketingConfig other = (com.google.privacy.dlp.v2.BucketingConfig) obj; - if (!getBucketsList().equals(other.getBucketsList())) return false; + if (!getBucketsList() + .equals(other.getBucketsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1671,104 +1463,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.BucketingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.BucketingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BucketingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.BucketingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Generalization function that buckets values based on ranges. The ranges and
    * replacement values are dynamically provided by the user for custom behavior,
@@ -1783,23 +1568,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BucketingConfig)
       com.google.privacy.dlp.v2.BucketingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.BucketingConfig.class,
-              com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
+              com.google.privacy.dlp.v2.BucketingConfig.class, com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.BucketingConfig.newBuilder()
@@ -1807,17 +1590,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getBucketsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1831,9 +1614,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1852,8 +1635,7 @@ public com.google.privacy.dlp.v2.BucketingConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.BucketingConfig buildPartial() {
-      com.google.privacy.dlp.v2.BucketingConfig result =
-          new com.google.privacy.dlp.v2.BucketingConfig(this);
+      com.google.privacy.dlp.v2.BucketingConfig result = new com.google.privacy.dlp.v2.BucketingConfig(this);
       int from_bitField0_ = bitField0_;
       if (bucketsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1872,39 +1654,38 @@ public com.google.privacy.dlp.v2.BucketingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.BucketingConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1931,10 +1712,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BucketingConfig other) {
             bucketsBuilder_ = null;
             buckets_ = other.buckets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            bucketsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getBucketsFieldBuilder()
-                    : null;
+            bucketsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getBucketsFieldBuilder() : null;
           } else {
             bucketsBuilder_.addAllMessages(other.buckets_);
           }
@@ -1968,29 +1748,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List buckets_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureBucketsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        buckets_ =
-            new java.util.ArrayList(buckets_);
+        buckets_ = new java.util.ArrayList(buckets_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.BucketingConfig.Bucket,
-            com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder,
-            com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder>
-        bucketsBuilder_;
+        com.google.privacy.dlp.v2.BucketingConfig.Bucket, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder> bucketsBuilder_;
 
     /**
-     *
-     *
      * 
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2005,8 +1777,6 @@ public java.util.List getBucke } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2021,8 +1791,6 @@ public int getBucketsCount() { } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2037,15 +1805,14 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public Builder setBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { + public Builder setBuckets( + int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2059,8 +1826,6 @@ public Builder setBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.B return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2079,8 +1844,6 @@ public Builder setBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2101,15 +1864,14 @@ public Builder addBuckets(com.google.privacy.dlp.v2.BucketingConfig.Bucket value return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public Builder addBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { + public Builder addBuckets( + int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2123,8 +1885,6 @@ public Builder addBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.B return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2143,8 +1903,6 @@ public Builder addBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2163,8 +1921,6 @@ public Builder addBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2175,7 +1931,8 @@ public Builder addAllBuckets( java.lang.Iterable values) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, buckets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, buckets_); onChanged(); } else { bucketsBuilder_.addAllMessages(values); @@ -2183,8 +1940,6 @@ public Builder addAllBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2202,8 +1957,6 @@ public Builder clearBuckets() { return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2221,20 +1974,17 @@ public Builder removeBuckets(int index) { return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder getBucketsBuilder(int index) { + public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder getBucketsBuilder( + int index) { return getBucketsFieldBuilder().getBuilder(index); } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2244,22 +1994,19 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder getBucketsBuilde public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder( int index) { if (bucketsBuilder_ == null) { - return buckets_.get(index); - } else { + return buckets_.get(index); } else { return bucketsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public java.util.List - getBucketsOrBuilderList() { + public java.util.List + getBucketsOrBuilderList() { if (bucketsBuilder_ != null) { return bucketsBuilder_.getMessageOrBuilderList(); } else { @@ -2267,8 +2014,6 @@ public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBui } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2276,55 +2021,49 @@ public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBui * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder addBucketsBuilder() { - return getBucketsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); + return getBucketsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder addBucketsBuilder(int index) { - return getBucketsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder addBucketsBuilder( + int index) { + return getBucketsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public java.util.List - getBucketsBuilderList() { + public java.util.List + getBucketsBuilderList() { return getBucketsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig.Bucket, - com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, - com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder> + com.google.privacy.dlp.v2.BucketingConfig.Bucket, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder> getBucketsFieldBuilder() { if (bucketsBuilder_ == null) { - bucketsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig.Bucket, - com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, - com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder>( - buckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + bucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.BucketingConfig.Bucket, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder>( + buckets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); buckets_ = null; } return bucketsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2334,12 +2073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BucketingConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BucketingConfig) private static final com.google.privacy.dlp.v2.BucketingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BucketingConfig(); } @@ -2348,16 +2087,16 @@ public static com.google.privacy.dlp.v2.BucketingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BucketingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BucketingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BucketingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BucketingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2372,4 +2111,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BucketingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java index 209bc3f2..1a8650db 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface BucketingConfigOrBuilder - extends +public interface BucketingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BucketingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - java.util.List getBucketsList(); + java.util.List + getBucketsList(); /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -44,8 +25,6 @@ public interface BucketingConfigOrBuilder */ com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index); /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -54,24 +33,21 @@ public interface BucketingConfigOrBuilder */ int getBucketsCount(); /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - java.util.List + java.util.List getBucketsOrBuilderList(); /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder(int index); + com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java index eaba63bf..211974df 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Container for bytes to inspect or redact.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ByteContentItem} */ -public final class ByteContentItem extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ByteContentItem extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ByteContentItem) ByteContentItemOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ByteContentItem.newBuilder() to construct. private ByteContentItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ByteContentItem() { type_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private ByteContentItem() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ByteContentItem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ByteContentItem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,55 +54,50 @@ private ByteContentItem( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - data_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + data_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ByteContentItem.class, - com.google.privacy.dlp.v2.ByteContentItem.Builder.class); + com.google.privacy.dlp.v2.ByteContentItem.class, com.google.privacy.dlp.v2.ByteContentItem.Builder.class); } /** - * - * *
    * The type of data being sent for inspection. To learn more, see
    * [Supported file
@@ -128,10 +106,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.ByteContentItem.BytesType}
    */
-  public enum BytesType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum BytesType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused
      * 
@@ -140,8 +117,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ BYTES_TYPE_UNSPECIFIED(0), /** - * - * *
      * Any image type.
      * 
@@ -150,8 +125,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE(6), /** - * - * *
      * jpeg
      * 
@@ -160,8 +133,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_JPEG(1), /** - * - * *
      * bmp
      * 
@@ -170,8 +141,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_BMP(2), /** - * - * *
      * png
      * 
@@ -180,8 +149,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_PNG(3), /** - * - * *
      * svg
      * 
@@ -190,8 +157,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_SVG(4), /** - * - * *
      * plain text
      * 
@@ -200,8 +165,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ TEXT_UTF8(5), /** - * - * *
      * docx, docm, dotx, dotm
      * 
@@ -210,8 +173,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ WORD_DOCUMENT(7), /** - * - * *
      * pdf
      * 
@@ -220,8 +181,22 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ PDF(8), /** + *
+     * pptx, pptm, potx, potm, pot
+     * 
* + * POWERPOINT_DOCUMENT = 9; + */ + POWERPOINT_DOCUMENT(9), + /** + *
+     * xlsx, xlsm, xltx, xltm
+     * 
* + * EXCEL_DOCUMENT = 10; + */ + EXCEL_DOCUMENT(10), + /** *
      * avro
      * 
@@ -230,8 +205,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ AVRO(11), /** - * - * *
      * csv
      * 
@@ -240,8 +213,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ CSV(12), /** - * - * *
      * tsv
      * 
@@ -253,8 +224,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused
      * 
@@ -263,8 +232,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYTES_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Any image type.
      * 
@@ -273,8 +240,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_VALUE = 6; /** - * - * *
      * jpeg
      * 
@@ -283,8 +248,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_JPEG_VALUE = 1; /** - * - * *
      * bmp
      * 
@@ -293,8 +256,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_BMP_VALUE = 2; /** - * - * *
      * png
      * 
@@ -303,8 +264,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_PNG_VALUE = 3; /** - * - * *
      * svg
      * 
@@ -313,8 +272,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_SVG_VALUE = 4; /** - * - * *
      * plain text
      * 
@@ -323,8 +280,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEXT_UTF8_VALUE = 5; /** - * - * *
      * docx, docm, dotx, dotm
      * 
@@ -333,8 +288,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORD_DOCUMENT_VALUE = 7; /** - * - * *
      * pdf
      * 
@@ -343,8 +296,22 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PDF_VALUE = 8; /** + *
+     * pptx, pptm, potx, potm, pot
+     * 
* + * POWERPOINT_DOCUMENT = 9; + */ + public static final int POWERPOINT_DOCUMENT_VALUE = 9; + /** + *
+     * xlsx, xlsm, xltx, xltm
+     * 
* + * EXCEL_DOCUMENT = 10; + */ + public static final int EXCEL_DOCUMENT_VALUE = 10; + /** *
      * avro
      * 
@@ -353,8 +320,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVRO_VALUE = 11; /** - * - * *
      * csv
      * 
@@ -363,8 +328,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CSV_VALUE = 12; /** - * - * *
      * tsv
      * 
@@ -373,6 +336,7 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TSV_VALUE = 13; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -397,67 +361,60 @@ public static BytesType valueOf(int value) { */ public static BytesType forNumber(int value) { switch (value) { - case 0: - return BYTES_TYPE_UNSPECIFIED; - case 6: - return IMAGE; - case 1: - return IMAGE_JPEG; - case 2: - return IMAGE_BMP; - case 3: - return IMAGE_PNG; - case 4: - return IMAGE_SVG; - case 5: - return TEXT_UTF8; - case 7: - return WORD_DOCUMENT; - case 8: - return PDF; - case 11: - return AVRO; - case 12: - return CSV; - case 13: - return TSV; - default: - return null; + case 0: return BYTES_TYPE_UNSPECIFIED; + case 6: return IMAGE; + case 1: return IMAGE_JPEG; + case 2: return IMAGE_BMP; + case 3: return IMAGE_PNG; + case 4: return IMAGE_SVG; + case 5: return TEXT_UTF8; + case 7: return WORD_DOCUMENT; + case 8: return PDF; + case 9: return POWERPOINT_DOCUMENT; + case 10: return EXCEL_DOCUMENT; + case 11: return AVRO; + case 12: return CSV; + case 13: return TSV; + 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< + BytesType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public BytesType findValueByNumber(int number) { + return BytesType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BytesType findValueByNumber(int number) { - return BytesType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.ByteContentItem.getDescriptor().getEnumTypes().get(0); } private static final BytesType[] VALUES = values(); - public static BytesType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BytesType 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; @@ -477,52 +434,38 @@ private BytesType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() { + @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ByteContentItem.BytesType result = - com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); - return result == null - ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.ByteContentItem.BytesType result = com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED : result; } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** - * - * *
    * Content data to inspect or redact.
    * 
* * bytes data = 2; - * * @return The data. */ @java.lang.Override @@ -531,7 +474,6 @@ public com.google.protobuf.ByteString getData() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -543,9 +485,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!data_.isEmpty()) { @@ -560,12 +502,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!data_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, data_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, data_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -575,16 +518,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.privacy.dlp.v2.ByteContentItem)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ByteContentItem other = - (com.google.privacy.dlp.v2.ByteContentItem) obj; + com.google.privacy.dlp.v2.ByteContentItem other = (com.google.privacy.dlp.v2.ByteContentItem) obj; if (type_ != other.type_) return false; - if (!getData().equals(other.getData())) return false; + if (!getData() + .equals(other.getData())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -605,127 +548,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ByteContentItem parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ByteContentItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ByteContentItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ByteContentItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Container for bytes to inspect or redact.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ByteContentItem} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ByteContentItem) com.google.privacy.dlp.v2.ByteContentItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ByteContentItem.class, - com.google.privacy.dlp.v2.ByteContentItem.Builder.class); + com.google.privacy.dlp.v2.ByteContentItem.class, com.google.privacy.dlp.v2.ByteContentItem.Builder.class); } // Construct using com.google.privacy.dlp.v2.ByteContentItem.newBuilder() @@ -733,15 +667,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -753,9 +688,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; } @java.lang.Override @@ -774,8 +709,7 @@ public com.google.privacy.dlp.v2.ByteContentItem build() { @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem buildPartial() { - com.google.privacy.dlp.v2.ByteContentItem result = - new com.google.privacy.dlp.v2.ByteContentItem(this); + com.google.privacy.dlp.v2.ByteContentItem result = new com.google.privacy.dlp.v2.ByteContentItem(this); result.type_ = type_; result.data_ = data_; onBuilt(); @@ -786,39 +720,38 @@ public com.google.privacy.dlp.v2.ByteContentItem buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ByteContentItem) { - return mergeFrom((com.google.privacy.dlp.v2.ByteContentItem) other); + return mergeFrom((com.google.privacy.dlp.v2.ByteContentItem)other); } else { super.mergeFrom(other); return this; @@ -864,67 +797,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ByteContentItem.BytesType result = - com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); - return result == null - ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.ByteContentItem.BytesType result = com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED : result; } /** - * - * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -932,24 +849,21 @@ public Builder setType(com.google.privacy.dlp.v2.ByteContentItem.BytesType value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -957,14 +871,11 @@ public Builder clearType() { private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Content data to inspect or redact.
      * 
* * bytes data = 2; - * * @return The data. */ @java.lang.Override @@ -972,46 +883,40 @@ public com.google.protobuf.ByteString getData() { return data_; } /** - * - * *
      * Content data to inspect or redact.
      * 
* * bytes data = 2; - * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** - * - * *
      * Content data to inspect or redact.
      * 
* * bytes data = 2; - * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1021,12 +926,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ByteContentItem) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ByteContentItem) private static final com.google.privacy.dlp.v2.ByteContentItem DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ByteContentItem(); } @@ -1035,16 +940,16 @@ public static com.google.privacy.dlp.v2.ByteContentItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ByteContentItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ByteContentItem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ByteContentItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ByteContentItem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,4 +964,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ByteContentItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java similarity index 59% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java index f5b044e9..f5da115d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ByteContentItemOrBuilder - extends +public interface ByteContentItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ByteContentItem) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; - * * @return The type. */ com.google.privacy.dlp.v2.ByteContentItem.BytesType getType(); /** - * - * *
    * Content data to inspect or redact.
    * 
* * bytes data = 2; - * * @return The data. */ com.google.protobuf.ByteString getData(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java index ec87586a..0aa87112 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The request message for canceling a DLP job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CancelDlpJobRequest} */ -public final class CancelDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelDlpJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CancelDlpJobRequest) CancelDlpJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelDlpJobRequest.newBuilder() to construct. private CancelDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private CancelDlpJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CancelDlpJobRequest.class, - com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.CancelDlpJobRequest.class, com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * - * 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 @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,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.privacy.dlp.v2.CancelDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CancelDlpJobRequest other = - (com.google.privacy.dlp.v2.CancelDlpJobRequest) obj; + com.google.privacy.dlp.v2.CancelDlpJobRequest other = (com.google.privacy.dlp.v2.CancelDlpJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +201,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CancelDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 canceling a DLP job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CancelDlpJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CancelDlpJobRequest) com.google.privacy.dlp.v2.CancelDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CancelDlpJobRequest.class, - com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.CancelDlpJobRequest.class, com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CancelDlpJobRequest.newBuilder() @@ -356,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; } @java.lang.Override @@ -395,8 +360,7 @@ public com.google.privacy.dlp.v2.CancelDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CancelDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.CancelDlpJobRequest result = - new com.google.privacy.dlp.v2.CancelDlpJobRequest(this); + com.google.privacy.dlp.v2.CancelDlpJobRequest result = new com.google.privacy.dlp.v2.CancelDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +370,38 @@ public com.google.privacy.dlp.v2.CancelDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CancelDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CancelDlpJobRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.CancelDlpJobRequest)other); } else { super.mergeFrom(other); return this; @@ -482,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * 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; @@ -506,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -530,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CancelDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CancelDlpJobRequest) private static final com.google.privacy.dlp.v2.CancelDlpJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CancelDlpJobRequest(); } @@ -621,16 +564,16 @@ public static com.google.privacy.dlp.v2.CancelDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CancelDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..79d40840 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface CancelDlpJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CancelDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java index 745ab820..fb4f04f9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Partially mask a string by replacing a given number of characters with a
  * fixed character. Masking can start from the beginning or end of the string.
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CharacterMaskConfig}
  */
-public final class CharacterMaskConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CharacterMaskConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CharacterMaskConfig)
     CharacterMaskConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CharacterMaskConfig.newBuilder() to construct.
   private CharacterMaskConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CharacterMaskConfig() {
     maskingCharacter_ = "";
     charactersToIgnore_ = java.util.Collections.emptyList();
@@ -49,15 +31,16 @@ private CharacterMaskConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CharacterMaskConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CharacterMaskConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,48 +60,45 @@ private CharacterMaskConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              maskingCharacter_ = s;
-              break;
-            }
-          case 16:
-            {
-              numberToMask_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              reverseOrder_ = input.readBool();
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                charactersToIgnore_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              charactersToIgnore_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CharsToIgnore.parser(), extensionRegistry));
-              break;
+            maskingCharacter_ = s;
+            break;
+          }
+          case 16: {
+
+            numberToMask_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            reverseOrder_ = input.readBool();
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              charactersToIgnore_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            charactersToIgnore_.add(
+                input.readMessage(com.google.privacy.dlp.v2.CharsToIgnore.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         charactersToIgnore_ = java.util.Collections.unmodifiableList(charactersToIgnore_);
@@ -127,27 +107,22 @@ private CharacterMaskConfig(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CharacterMaskConfig.class,
-            com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
+            com.google.privacy.dlp.v2.CharacterMaskConfig.class, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
   }
 
   public static final int MASKING_CHARACTER_FIELD_NUMBER = 1;
   private volatile java.lang.Object maskingCharacter_;
   /**
-   *
-   *
    * 
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -156,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string masking_character = 1; - * * @return The maskingCharacter. */ @java.lang.Override @@ -165,15 +139,14 @@ public java.lang.String getMaskingCharacter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maskingCharacter_ = s; return s; } } /** - * - * *
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -182,15 +155,16 @@ public java.lang.String getMaskingCharacter() {
    * 
* * string masking_character = 1; - * * @return The bytes for maskingCharacter. */ @java.lang.Override - public com.google.protobuf.ByteString getMaskingCharacterBytes() { + public com.google.protobuf.ByteString + getMaskingCharacterBytes() { java.lang.Object ref = maskingCharacter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); maskingCharacter_ = b; return b; } else { @@ -201,15 +175,12 @@ public com.google.protobuf.ByteString getMaskingCharacterBytes() { public static final int NUMBER_TO_MASK_FIELD_NUMBER = 2; private int numberToMask_; /** - * - * *
    * Number of characters to mask. If not set, all matching chars will be
    * masked. Skipped characters do not count towards this tally.
    * 
* * int32 number_to_mask = 2; - * * @return The numberToMask. */ @java.lang.Override @@ -220,8 +191,6 @@ public int getNumberToMask() { public static final int REVERSE_ORDER_FIELD_NUMBER = 3; private boolean reverseOrder_; /** - * - * *
    * Mask characters in reverse order. For example, if `masking_character` is
    * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -231,7 +200,6 @@ public int getNumberToMask() {
    * 
* * bool reverse_order = 3; - * * @return The reverseOrder. */ @java.lang.Override @@ -242,8 +210,6 @@ public boolean getReverseOrder() { public static final int CHARACTERS_TO_IGNORE_FIELD_NUMBER = 4; private java.util.List charactersToIgnore_; /** - * - * *
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -258,8 +224,6 @@ public java.util.List getCharactersToIg
     return charactersToIgnore_;
   }
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -270,13 +234,11 @@ public java.util.List getCharactersToIg
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCharactersToIgnoreOrBuilderList() {
     return charactersToIgnore_;
   }
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -291,8 +253,6 @@ public int getCharactersToIgnoreCount() {
     return charactersToIgnore_.size();
   }
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -307,8 +267,6 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index)
     return charactersToIgnore_.get(index);
   }
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -325,7 +283,6 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -337,7 +294,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maskingCharacter_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, maskingCharacter_);
     }
@@ -363,14 +321,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, maskingCharacter_);
     }
     if (numberToMask_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, numberToMask_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, numberToMask_);
     }
     if (reverseOrder_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, reverseOrder_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(3, reverseOrder_);
     }
     for (int i = 0; i < charactersToIgnore_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(4, charactersToIgnore_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, charactersToIgnore_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -380,18 +340,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.privacy.dlp.v2.CharacterMaskConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.CharacterMaskConfig other =
-        (com.google.privacy.dlp.v2.CharacterMaskConfig) obj;
+    com.google.privacy.dlp.v2.CharacterMaskConfig other = (com.google.privacy.dlp.v2.CharacterMaskConfig) obj;
 
-    if (!getMaskingCharacter().equals(other.getMaskingCharacter())) return false;
-    if (getNumberToMask() != other.getNumberToMask()) return false;
-    if (getReverseOrder() != other.getReverseOrder()) return false;
-    if (!getCharactersToIgnoreList().equals(other.getCharactersToIgnoreList())) return false;
+    if (!getMaskingCharacter()
+        .equals(other.getMaskingCharacter())) return false;
+    if (getNumberToMask()
+        != other.getNumberToMask()) return false;
+    if (getReverseOrder()
+        != other.getReverseOrder()) return false;
+    if (!getCharactersToIgnoreList()
+        .equals(other.getCharactersToIgnoreList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -408,7 +371,8 @@ public int hashCode() {
     hash = (37 * hash) + NUMBER_TO_MASK_FIELD_NUMBER;
     hash = (53 * hash) + getNumberToMask();
     hash = (37 * hash) + REVERSE_ORDER_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverseOrder());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getReverseOrder());
     if (getCharactersToIgnoreCount() > 0) {
       hash = (37 * hash) + CHARACTERS_TO_IGNORE_FIELD_NUMBER;
       hash = (53 * hash) + getCharactersToIgnoreList().hashCode();
@@ -418,104 +382,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.CharacterMaskConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Partially mask a string by replacing a given number of characters with a
    * fixed character. Masking can start from the beginning or end of the string.
@@ -527,23 +484,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CharacterMaskConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CharacterMaskConfig)
       com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CharacterMaskConfig.class,
-              com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
+              com.google.privacy.dlp.v2.CharacterMaskConfig.class, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CharacterMaskConfig.newBuilder()
@@ -551,17 +506,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getCharactersToIgnoreFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -581,9 +536,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
     }
 
     @java.lang.Override
@@ -602,8 +557,7 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CharacterMaskConfig buildPartial() {
-      com.google.privacy.dlp.v2.CharacterMaskConfig result =
-          new com.google.privacy.dlp.v2.CharacterMaskConfig(this);
+      com.google.privacy.dlp.v2.CharacterMaskConfig result = new com.google.privacy.dlp.v2.CharacterMaskConfig(this);
       int from_bitField0_ = bitField0_;
       result.maskingCharacter_ = maskingCharacter_;
       result.numberToMask_ = numberToMask_;
@@ -625,39 +579,38 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CharacterMaskConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CharacterMaskConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CharacterMaskConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -694,10 +647,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CharacterMaskConfig other) {
             charactersToIgnoreBuilder_ = null;
             charactersToIgnore_ = other.charactersToIgnore_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            charactersToIgnoreBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCharactersToIgnoreFieldBuilder()
-                    : null;
+            charactersToIgnoreBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCharactersToIgnoreFieldBuilder() : null;
           } else {
             charactersToIgnoreBuilder_.addAllMessages(other.charactersToIgnore_);
           }
@@ -731,13 +683,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object maskingCharacter_ = "";
     /**
-     *
-     *
      * 
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -746,13 +695,13 @@ public Builder mergeFrom(
      * 
* * string masking_character = 1; - * * @return The maskingCharacter. */ public java.lang.String getMaskingCharacter() { java.lang.Object ref = maskingCharacter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maskingCharacter_ = s; return s; @@ -761,8 +710,6 @@ public java.lang.String getMaskingCharacter() { } } /** - * - * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -771,14 +718,15 @@ public java.lang.String getMaskingCharacter() {
      * 
* * string masking_character = 1; - * * @return The bytes for maskingCharacter. */ - public com.google.protobuf.ByteString getMaskingCharacterBytes() { + public com.google.protobuf.ByteString + getMaskingCharacterBytes() { java.lang.Object ref = maskingCharacter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); maskingCharacter_ = b; return b; } else { @@ -786,8 +734,6 @@ public com.google.protobuf.ByteString getMaskingCharacterBytes() { } } /** - * - * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -796,22 +742,20 @@ public com.google.protobuf.ByteString getMaskingCharacterBytes() {
      * 
* * string masking_character = 1; - * * @param value The maskingCharacter to set. * @return This builder for chaining. */ - public Builder setMaskingCharacter(java.lang.String value) { + public Builder setMaskingCharacter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + maskingCharacter_ = value; onChanged(); return this; } /** - * - * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -820,18 +764,15 @@ public Builder setMaskingCharacter(java.lang.String value) {
      * 
* * string masking_character = 1; - * * @return This builder for chaining. */ public Builder clearMaskingCharacter() { - + maskingCharacter_ = getDefaultInstance().getMaskingCharacter(); onChanged(); return this; } /** - * - * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -840,32 +781,29 @@ public Builder clearMaskingCharacter() {
      * 
* * string masking_character = 1; - * * @param value The bytes for maskingCharacter to set. * @return This builder for chaining. */ - public Builder setMaskingCharacterBytes(com.google.protobuf.ByteString value) { + public Builder setMaskingCharacterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + maskingCharacter_ = value; onChanged(); return this; } - private int numberToMask_; + private int numberToMask_ ; /** - * - * *
      * Number of characters to mask. If not set, all matching chars will be
      * masked. Skipped characters do not count towards this tally.
      * 
* * int32 number_to_mask = 2; - * * @return The numberToMask. */ @java.lang.Override @@ -873,47 +811,39 @@ public int getNumberToMask() { return numberToMask_; } /** - * - * *
      * Number of characters to mask. If not set, all matching chars will be
      * masked. Skipped characters do not count towards this tally.
      * 
* * int32 number_to_mask = 2; - * * @param value The numberToMask to set. * @return This builder for chaining. */ public Builder setNumberToMask(int value) { - + numberToMask_ = value; onChanged(); return this; } /** - * - * *
      * Number of characters to mask. If not set, all matching chars will be
      * masked. Skipped characters do not count towards this tally.
      * 
* * int32 number_to_mask = 2; - * * @return This builder for chaining. */ public Builder clearNumberToMask() { - + numberToMask_ = 0; onChanged(); return this; } - private boolean reverseOrder_; + private boolean reverseOrder_ ; /** - * - * *
      * Mask characters in reverse order. For example, if `masking_character` is
      * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -923,7 +853,6 @@ public Builder clearNumberToMask() {
      * 
* * bool reverse_order = 3; - * * @return The reverseOrder. */ @java.lang.Override @@ -931,8 +860,6 @@ public boolean getReverseOrder() { return reverseOrder_; } /** - * - * *
      * Mask characters in reverse order. For example, if `masking_character` is
      * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -942,19 +869,16 @@ public boolean getReverseOrder() {
      * 
* * bool reverse_order = 3; - * * @param value The reverseOrder to set. * @return This builder for chaining. */ public Builder setReverseOrder(boolean value) { - + reverseOrder_ = value; onChanged(); return this; } /** - * - * *
      * Mask characters in reverse order. For example, if `masking_character` is
      * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -964,36 +888,28 @@ public Builder setReverseOrder(boolean value) {
      * 
* * bool reverse_order = 3; - * * @return This builder for chaining. */ public Builder clearReverseOrder() { - + reverseOrder_ = false; onChanged(); return this; } private java.util.List charactersToIgnore_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCharactersToIgnoreIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - charactersToIgnore_ = - new java.util.ArrayList(charactersToIgnore_); + charactersToIgnore_ = new java.util.ArrayList(charactersToIgnore_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CharsToIgnore, - com.google.privacy.dlp.v2.CharsToIgnore.Builder, - com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder> - charactersToIgnoreBuilder_; + com.google.privacy.dlp.v2.CharsToIgnore, com.google.privacy.dlp.v2.CharsToIgnore.Builder, com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder> charactersToIgnoreBuilder_; /** - * - * *
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1011,8 +927,6 @@ public java.util.List getCharactersToIg
       }
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1030,8 +944,6 @@ public int getCharactersToIgnoreCount() {
       }
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1049,8 +961,6 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index)
       }
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1060,7 +970,8 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index)
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public Builder setCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
+    public Builder setCharactersToIgnore(
+        int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
       if (charactersToIgnoreBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1074,8 +985,6 @@ public Builder setCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsT
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1097,8 +1006,6 @@ public Builder setCharactersToIgnore(
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1122,8 +1029,6 @@ public Builder addCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore val
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1133,7 +1038,8 @@ public Builder addCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore val
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public Builder addCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
+    public Builder addCharactersToIgnore(
+        int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
       if (charactersToIgnoreBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1147,8 +1053,6 @@ public Builder addCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsT
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1170,8 +1074,6 @@ public Builder addCharactersToIgnore(
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1193,8 +1095,6 @@ public Builder addCharactersToIgnore(
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1208,7 +1108,8 @@ public Builder addAllCharactersToIgnore(
         java.lang.Iterable values) {
       if (charactersToIgnoreBuilder_ == null) {
         ensureCharactersToIgnoreIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, charactersToIgnore_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, charactersToIgnore_);
         onChanged();
       } else {
         charactersToIgnoreBuilder_.addAllMessages(values);
@@ -1216,8 +1117,6 @@ public Builder addAllCharactersToIgnore(
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1238,8 +1137,6 @@ public Builder clearCharactersToIgnore() {
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1260,8 +1157,6 @@ public Builder removeCharactersToIgnore(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1271,12 +1166,11 @@ public Builder removeCharactersToIgnore(int index) {
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuilder(int index) {
+    public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuilder(
+        int index) {
       return getCharactersToIgnoreFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1289,14 +1183,11 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuil
     public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(
         int index) {
       if (charactersToIgnoreBuilder_ == null) {
-        return charactersToIgnore_.get(index);
-      } else {
+        return charactersToIgnore_.get(index);  } else {
         return charactersToIgnoreBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1306,8 +1197,8 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public java.util.List
-        getCharactersToIgnoreOrBuilderList() {
+    public java.util.List 
+         getCharactersToIgnoreOrBuilderList() {
       if (charactersToIgnoreBuilder_ != null) {
         return charactersToIgnoreBuilder_.getMessageOrBuilderList();
       } else {
@@ -1315,8 +1206,6 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
       }
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1327,12 +1216,10 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
     public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuilder() {
-      return getCharactersToIgnoreFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
+      return getCharactersToIgnoreFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1342,13 +1229,12 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuilder(int index) {
-      return getCharactersToIgnoreFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
+    public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuilder(
+        int index) {
+      return getCharactersToIgnoreFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1358,22 +1244,16 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public java.util.List
-        getCharactersToIgnoreBuilderList() {
+    public java.util.List 
+         getCharactersToIgnoreBuilderList() {
       return getCharactersToIgnoreFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.CharsToIgnore,
-            com.google.privacy.dlp.v2.CharsToIgnore.Builder,
-            com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>
+        com.google.privacy.dlp.v2.CharsToIgnore, com.google.privacy.dlp.v2.CharsToIgnore.Builder, com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder> 
         getCharactersToIgnoreFieldBuilder() {
       if (charactersToIgnoreBuilder_ == null) {
-        charactersToIgnoreBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.CharsToIgnore,
-                com.google.privacy.dlp.v2.CharsToIgnore.Builder,
-                com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>(
+        charactersToIgnoreBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.CharsToIgnore, com.google.privacy.dlp.v2.CharsToIgnore.Builder, com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>(
                 charactersToIgnore_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1382,9 +1262,9 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
       }
       return charactersToIgnoreBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1394,12 +1274,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CharacterMaskConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CharacterMaskConfig)
   private static final com.google.privacy.dlp.v2.CharacterMaskConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CharacterMaskConfig();
   }
@@ -1408,16 +1288,16 @@ public static com.google.privacy.dlp.v2.CharacterMaskConfig getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CharacterMaskConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new CharacterMaskConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CharacterMaskConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new CharacterMaskConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1432,4 +1312,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.CharacterMaskConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
similarity index 81%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
index 3a3f668d..c806f92c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface CharacterMaskConfigOrBuilder
-    extends
+public interface CharacterMaskConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharacterMaskConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -34,13 +16,10 @@ public interface CharacterMaskConfigOrBuilder
    * 
* * string masking_character = 1; - * * @return The maskingCharacter. */ java.lang.String getMaskingCharacter(); /** - * - * *
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -49,28 +28,23 @@ public interface CharacterMaskConfigOrBuilder
    * 
* * string masking_character = 1; - * * @return The bytes for maskingCharacter. */ - com.google.protobuf.ByteString getMaskingCharacterBytes(); + com.google.protobuf.ByteString + getMaskingCharacterBytes(); /** - * - * *
    * Number of characters to mask. If not set, all matching chars will be
    * masked. Skipped characters do not count towards this tally.
    * 
* * int32 number_to_mask = 2; - * * @return The numberToMask. */ int getNumberToMask(); /** - * - * *
    * Mask characters in reverse order. For example, if `masking_character` is
    * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -80,14 +54,11 @@ public interface CharacterMaskConfigOrBuilder
    * 
* * bool reverse_order = 3; - * * @return The reverseOrder. */ boolean getReverseOrder(); /** - * - * *
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -97,10 +68,9 @@ public interface CharacterMaskConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
-  java.util.List getCharactersToIgnoreList();
+  java.util.List 
+      getCharactersToIgnoreList();
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -112,8 +82,6 @@ public interface CharacterMaskConfigOrBuilder
    */
   com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index);
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -125,8 +93,6 @@ public interface CharacterMaskConfigOrBuilder
    */
   int getCharactersToIgnoreCount();
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -136,11 +102,9 @@ public interface CharacterMaskConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
-  java.util.List
+  java.util.List 
       getCharactersToIgnoreOrBuilderList();
   /**
-   *
-   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -150,5 +114,6 @@ public interface CharacterMaskConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
-  com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(int index);
+  com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
similarity index 70%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
index 9c63b0c8..895e7cb4 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Characters to skip when doing deidentification of a value. These will be left
  * alone and skipped.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CharsToIgnore}
  */
-public final class CharsToIgnore extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CharsToIgnore extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CharsToIgnore)
     CharsToIgnoreOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CharsToIgnore.newBuilder() to construct.
   private CharsToIgnore(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CharsToIgnore() {}
+  private CharsToIgnore() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CharsToIgnore();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CharsToIgnore(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,67 +53,60 @@ private CharsToIgnore(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              charactersCase_ = 1;
-              characters_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
-              charactersCase_ = 2;
-              characters_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
+            charactersCase_ = 1;
+            characters_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
+            charactersCase_ = 2;
+            characters_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CharsToIgnore.class,
-            com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
+            com.google.privacy.dlp.v2.CharsToIgnore.class, com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Convenience enum for indication common characters to not transform.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore} */ - public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEnum { + public enum CommonCharsToIgnore + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -138,8 +115,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ COMMON_CHARS_TO_IGNORE_UNSPECIFIED(0), /** - * - * *
      * 0-9
      * 
@@ -148,8 +123,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ NUMERIC(1), /** - * - * *
      * A-Z
      * 
@@ -158,8 +131,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ ALPHA_UPPER_CASE(2), /** - * - * *
      * a-z
      * 
@@ -168,8 +139,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ ALPHA_LOWER_CASE(3), /** - * - * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -178,8 +147,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ PUNCTUATION(4), /** - * - * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -191,8 +158,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
      * Unused.
      * 
@@ -201,8 +166,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int COMMON_CHARS_TO_IGNORE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 0-9
      * 
@@ -211,8 +174,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int NUMERIC_VALUE = 1; /** - * - * *
      * A-Z
      * 
@@ -221,8 +182,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int ALPHA_UPPER_CASE_VALUE = 2; /** - * - * *
      * a-z
      * 
@@ -231,8 +190,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int ALPHA_LOWER_CASE_VALUE = 3; /** - * - * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -241,8 +198,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int PUNCTUATION_VALUE = 4; /** - * - * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -251,6 +206,7 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int WHITESPACE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -275,20 +231,13 @@ public static CommonCharsToIgnore valueOf(int value) { */ public static CommonCharsToIgnore forNumber(int value) { switch (value) { - case 0: - return COMMON_CHARS_TO_IGNORE_UNSPECIFIED; - case 1: - return NUMERIC; - case 2: - return ALPHA_UPPER_CASE; - case 3: - return ALPHA_LOWER_CASE; - case 4: - return PUNCTUATION; - case 5: - return WHITESPACE; - default: - return null; + case 0: return COMMON_CHARS_TO_IGNORE_UNSPECIFIED; + case 1: return NUMERIC; + case 2: return ALPHA_UPPER_CASE; + case 3: return ALPHA_LOWER_CASE; + case 4: return PUNCTUATION; + case 5: return WHITESPACE; + default: return null; } } @@ -296,28 +245,28 @@ public static CommonCharsToIgnore forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CommonCharsToIgnore> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommonCharsToIgnore findValueByNumber(int number) { + return CommonCharsToIgnore.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommonCharsToIgnore findValueByNumber(int number) { - return CommonCharsToIgnore.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.CharsToIgnore.getDescriptor().getEnumTypes().get(0); } @@ -326,7 +275,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CommonCharsToIgnore 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; @@ -345,16 +295,13 @@ private CommonCharsToIgnore(int value) { private int charactersCase_ = 0; private java.lang.Object characters_; - public enum CharactersCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CHARACTERS_TO_SKIP(1), COMMON_CHARACTERS_TO_IGNORE(2), CHARACTERS_NOT_SET(0); private final int value; - private CharactersCase(int value) { this.value = value; } @@ -370,50 +317,41 @@ public static CharactersCase valueOf(int value) { public static CharactersCase forNumber(int value) { switch (value) { - case 1: - return CHARACTERS_TO_SKIP; - case 2: - return COMMON_CHARACTERS_TO_IGNORE; - case 0: - return CHARACTERS_NOT_SET; - default: - return null; + case 1: return CHARACTERS_TO_SKIP; + case 2: return COMMON_CHARACTERS_TO_IGNORE; + case 0: return CHARACTERS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public CharactersCase getCharactersCase() { - return CharactersCase.forNumber(charactersCase_); + public CharactersCase + getCharactersCase() { + return CharactersCase.forNumber( + charactersCase_); } public static final int CHARACTERS_TO_SKIP_FIELD_NUMBER = 1; /** - * - * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; - * * @return Whether the charactersToSkip field is set. */ public boolean hasCharactersToSkip() { return charactersCase_ == 1; } /** - * - * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; - * * @return The charactersToSkip. */ public java.lang.String getCharactersToSkip() { @@ -424,7 +362,8 @@ public java.lang.String getCharactersToSkip() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (charactersCase_ == 1) { characters_ = s; @@ -433,24 +372,23 @@ public java.lang.String getCharactersToSkip() { } } /** - * - * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; - * * @return The bytes for charactersToSkip. */ - public com.google.protobuf.ByteString getCharactersToSkipBytes() { + public com.google.protobuf.ByteString + getCharactersToSkipBytes() { java.lang.Object ref = ""; if (charactersCase_ == 1) { ref = characters_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (charactersCase_ == 1) { characters_ = b; } @@ -462,32 +400,24 @@ public com.google.protobuf.ByteString getCharactersToSkipBytes() { public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER = 2; /** - * - * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return Whether the commonCharactersToIgnore field is set. */ public boolean hasCommonCharactersToIgnore() { return charactersCase_ == 2; } /** - * - * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return The enum numeric value on the wire for commonCharactersToIgnore. */ public int getCommonCharactersToIgnoreValue() { @@ -497,34 +427,25 @@ public int getCommonCharactersToIgnoreValue() { return 0; } /** - * - * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return The commonCharactersToIgnore. */ public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore() { if (charactersCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( - (java.lang.Integer) characters_); - return result == null - ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED - : result; - } - return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore - .COMMON_CHARS_TO_IGNORE_UNSPECIFIED; + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( + (java.lang.Integer) characters_); + return result == null ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED : result; + } + return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -536,7 +457,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (charactersCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, characters_); } @@ -556,9 +478,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, characters_); } if (charactersCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 2, ((java.lang.Integer) characters_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ((java.lang.Integer) characters_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -568,7 +489,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.privacy.dlp.v2.CharsToIgnore)) { return super.equals(obj); @@ -578,11 +499,12 @@ public boolean equals(final java.lang.Object obj) { if (!getCharactersCase().equals(other.getCharactersCase())) return false; switch (charactersCase_) { case 1: - if (!getCharactersToSkip().equals(other.getCharactersToSkip())) return false; + if (!getCharactersToSkip() + .equals(other.getCharactersToSkip())) return false; break; case 2: - if (getCommonCharactersToIgnoreValue() != other.getCommonCharactersToIgnoreValue()) - return false; + if (getCommonCharactersToIgnoreValue() + != other.getCommonCharactersToIgnoreValue()) return false; break; case 0: default: @@ -615,104 +537,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CharsToIgnore parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CharsToIgnore parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CharsToIgnore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Characters to skip when doing deidentification of a value. These will be left
    * alone and skipped.
@@ -720,23 +635,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CharsToIgnore}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CharsToIgnore)
       com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CharsToIgnore.class,
-              com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
+              com.google.privacy.dlp.v2.CharsToIgnore.class, com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CharsToIgnore.newBuilder()
@@ -744,15 +657,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -762,9 +676,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
     }
 
     @java.lang.Override
@@ -783,8 +697,7 @@ public com.google.privacy.dlp.v2.CharsToIgnore build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CharsToIgnore buildPartial() {
-      com.google.privacy.dlp.v2.CharsToIgnore result =
-          new com.google.privacy.dlp.v2.CharsToIgnore(this);
+      com.google.privacy.dlp.v2.CharsToIgnore result = new com.google.privacy.dlp.v2.CharsToIgnore(this);
       if (charactersCase_ == 1) {
         result.characters_ = characters_;
       }
@@ -800,39 +713,38 @@ public com.google.privacy.dlp.v2.CharsToIgnore buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CharsToIgnore) {
-        return mergeFrom((com.google.privacy.dlp.v2.CharsToIgnore) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CharsToIgnore)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -842,22 +754,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.CharsToIgnore other) {
       if (other == com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance()) return this;
       switch (other.getCharactersCase()) {
-        case CHARACTERS_TO_SKIP:
-          {
-            charactersCase_ = 1;
-            characters_ = other.characters_;
-            onChanged();
-            break;
-          }
-        case COMMON_CHARACTERS_TO_IGNORE:
-          {
-            setCommonCharactersToIgnoreValue(other.getCommonCharactersToIgnoreValue());
-            break;
-          }
-        case CHARACTERS_NOT_SET:
-          {
-            break;
-          }
+        case CHARACTERS_TO_SKIP: {
+          charactersCase_ = 1;
+          characters_ = other.characters_;
+          onChanged();
+          break;
+        }
+        case COMMON_CHARACTERS_TO_IGNORE: {
+          setCommonCharactersToIgnoreValue(other.getCommonCharactersToIgnoreValue());
+          break;
+        }
+        case CHARACTERS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -887,12 +796,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int charactersCase_ = 0;
     private java.lang.Object characters_;
-
-    public CharactersCase getCharactersCase() {
-      return CharactersCase.forNumber(charactersCase_);
+    public CharactersCase
+        getCharactersCase() {
+      return CharactersCase.forNumber(
+          charactersCase_);
     }
 
     public Builder clearCharacters() {
@@ -902,15 +811,13 @@ public Builder clearCharacters() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @return Whether the charactersToSkip field is set. */ @java.lang.Override @@ -918,14 +825,11 @@ public boolean hasCharactersToSkip() { return charactersCase_ == 1; } /** - * - * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @return The charactersToSkip. */ @java.lang.Override @@ -935,7 +839,8 @@ public java.lang.String getCharactersToSkip() { ref = characters_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (charactersCase_ == 1) { characters_ = s; @@ -946,25 +851,24 @@ public java.lang.String getCharactersToSkip() { } } /** - * - * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @return The bytes for charactersToSkip. */ @java.lang.Override - public com.google.protobuf.ByteString getCharactersToSkipBytes() { + public com.google.protobuf.ByteString + getCharactersToSkipBytes() { java.lang.Object ref = ""; if (charactersCase_ == 1) { ref = characters_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (charactersCase_ == 1) { characters_ = b; } @@ -974,35 +878,30 @@ public com.google.protobuf.ByteString getCharactersToSkipBytes() { } } /** - * - * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @param value The charactersToSkip to set. * @return This builder for chaining. */ - public Builder setCharactersToSkip(java.lang.String value) { + public Builder setCharactersToSkip( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - charactersCase_ = 1; + throw new NullPointerException(); + } + charactersCase_ = 1; characters_ = value; onChanged(); return this; } /** - * - * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @return This builder for chaining. */ public Builder clearCharactersToSkip() { @@ -1014,22 +913,20 @@ public Builder clearCharactersToSkip() { return this; } /** - * - * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @param value The bytes for charactersToSkip to set. * @return This builder for chaining. */ - public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) { + public Builder setCharactersToSkipBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); charactersCase_ = 1; characters_ = value; onChanged(); @@ -1037,17 +934,12 @@ public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return Whether the commonCharactersToIgnore field is set. */ @java.lang.Override @@ -1055,17 +947,12 @@ public boolean hasCommonCharactersToIgnore() { return charactersCase_ == 2; } /** - * - * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return The enum numeric value on the wire for commonCharactersToIgnore. */ @java.lang.Override @@ -1076,17 +963,12 @@ public int getCommonCharactersToIgnoreValue() { return 0; } /** - * - * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @param value The enum numeric value on the wire for commonCharactersToIgnore to set. * @return This builder for chaining. */ @@ -1097,51 +979,35 @@ public Builder setCommonCharactersToIgnoreValue(int value) { return this; } /** - * - * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return The commonCharactersToIgnore. */ @java.lang.Override - public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore - getCommonCharactersToIgnore() { + public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore() { if (charactersCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( - (java.lang.Integer) characters_); - return result == null - ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( + (java.lang.Integer) characters_); + return result == null ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED : result; } - return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore - .COMMON_CHARS_TO_IGNORE_UNSPECIFIED; + return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED; } /** - * - * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @param value The commonCharactersToIgnore to set. * @return This builder for chaining. */ - public Builder setCommonCharactersToIgnore( - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore value) { + public Builder setCommonCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore value) { if (value == null) { throw new NullPointerException(); } @@ -1151,17 +1017,12 @@ public Builder setCommonCharactersToIgnore( return this; } /** - * - * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return This builder for chaining. */ public Builder clearCommonCharactersToIgnore() { @@ -1172,9 +1033,9 @@ public Builder clearCommonCharactersToIgnore() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1184,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CharsToIgnore) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CharsToIgnore) private static final com.google.privacy.dlp.v2.CharsToIgnore DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CharsToIgnore(); } @@ -1198,16 +1059,16 @@ public static com.google.privacy.dlp.v2.CharsToIgnore getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CharsToIgnore parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CharsToIgnore(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CharsToIgnore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CharsToIgnore(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1222,4 +1083,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CharsToIgnore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java index 3a22e92c..83336c08 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java @@ -1,104 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CharsToIgnoreOrBuilder - extends +public interface CharsToIgnoreOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharsToIgnore) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; - * * @return Whether the charactersToSkip field is set. */ boolean hasCharactersToSkip(); /** - * - * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; - * * @return The charactersToSkip. */ java.lang.String getCharactersToSkip(); /** - * - * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; - * * @return The bytes for charactersToSkip. */ - com.google.protobuf.ByteString getCharactersToSkipBytes(); + com.google.protobuf.ByteString + getCharactersToSkipBytes(); /** - * - * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return Whether the commonCharactersToIgnore field is set. */ boolean hasCommonCharactersToIgnore(); /** - * - * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return The enum numeric value on the wire for commonCharactersToIgnore. */ int getCommonCharactersToIgnoreValue(); /** - * - * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; - * - * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; * @return The commonCharactersToIgnore. */ com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java index d55b4196..31d75678 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Message representing a set of files in Cloud Storage.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageFileSet} */ -public final class CloudStorageFileSet extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudStorageFileSet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageFileSet) CloudStorageFileSetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudStorageFileSet.newBuilder() to construct. private CloudStorageFileSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudStorageFileSet() { url_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudStorageFileSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CloudStorageFileSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,59 +53,53 @@ private CloudStorageFileSet( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + url_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageFileSet.class, - com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageFileSet.class, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** - * - * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -131,30 +108,30 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CloudStorageFileSet)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStorageFileSet other = - (com.google.privacy.dlp.v2.CloudStorageFileSet) obj; + com.google.privacy.dlp.v2.CloudStorageFileSet other = (com.google.privacy.dlp.v2.CloudStorageFileSet) obj; - if (!getUrl().equals(other.getUrl())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageFileSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a set of files in Cloud Storage.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageFileSet} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageFileSet) com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageFileSet.class, - com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageFileSet.class, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); } // Construct using com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; } @java.lang.Override @@ -393,8 +362,7 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet build() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageFileSet buildPartial() { - com.google.privacy.dlp.v2.CloudStorageFileSet result = - new com.google.privacy.dlp.v2.CloudStorageFileSet(this); + com.google.privacy.dlp.v2.CloudStorageFileSet result = new com.google.privacy.dlp.v2.CloudStorageFileSet(this); result.url_ = url_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CloudStorageFileSet) { - return mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) other); + return mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet)other); } else { super.mergeFrom(other); return this; @@ -480,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** - * - * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -503,22 +468,21 @@ public java.lang.String getUrl() { } } /** - * - * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -526,71 +490,64 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = 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); } @@ -600,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageFileSet) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageFileSet) private static final com.google.privacy.dlp.v2.CloudStorageFileSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageFileSet(); } @@ -614,16 +571,16 @@ public static com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageFileSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageFileSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageFileSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStorageFileSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java similarity index 50% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java index 94cec540..53a34ad8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStorageFileSetOrBuilder - extends +public interface CloudStorageFileSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageFileSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java similarity index 78% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java index 02800160..87c95125 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Options defining a file or a set of files within a Google Cloud Storage
  * bucket.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions}
  */
-public final class CloudStorageOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudStorageOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageOptions)
     CloudStorageOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudStorageOptions.newBuilder() to construct.
   private CloudStorageOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudStorageOptions() {
     fileTypes_ = java.util.Collections.emptyList();
     sampleMethod_ = 0;
@@ -45,15 +27,16 @@ private CloudStorageOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudStorageOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CloudStorageOptions(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,83 +56,77 @@ private CloudStorageOptions(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder subBuilder = null;
-              if (fileSet_ != null) {
-                subBuilder = fileSet_.toBuilder();
-              }
-              fileSet_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(fileSet_);
-                fileSet_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder subBuilder = null;
+            if (fileSet_ != null) {
+              subBuilder = fileSet_.toBuilder();
             }
-          case 32:
-            {
-              bytesLimitPerFile_ = input.readInt64();
-              break;
+            fileSet_ = input.readMessage(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(fileSet_);
+              fileSet_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
+
+            break;
+          }
+          case 32: {
+
+            bytesLimitPerFile_ = input.readInt64();
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              fileTypes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            fileTypes_.add(rawValue);
+            break;
+          }
+          case 42: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 fileTypes_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               fileTypes_.add(rawValue);
-              break;
             }
-          case 42:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  fileTypes_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                fileTypes_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
-            }
-          case 48:
-            {
-              int rawValue = input.readEnum();
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              sampleMethod_ = rawValue;
-              break;
-            }
-          case 56:
-            {
-              filesLimitPercent_ = input.readInt32();
-              break;
-            }
-          case 64:
-            {
-              bytesLimitPerFilePercent_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            sampleMethod_ = rawValue;
+            break;
+          }
+          case 56: {
+
+            filesLimitPercent_ = input.readInt32();
+            break;
+          }
+          case 64: {
+
+            bytesLimitPerFilePercent_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         fileTypes_ = java.util.Collections.unmodifiableList(fileTypes_);
@@ -158,25 +135,20 @@ private CloudStorageOptions(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CloudStorageOptions.class,
-            com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
+            com.google.privacy.dlp.v2.CloudStorageOptions.class, com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * How to sample bytes if not all bytes are scanned. Meaningful only when used
    * in conjunction with bytes_limit_per_file. If not specified, scanning would
@@ -185,12 +157,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.CloudStorageOptions.SampleMethod}
    */
-  public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
-    /** SAMPLE_METHOD_UNSPECIFIED = 0; */
+  public enum SampleMethod
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * SAMPLE_METHOD_UNSPECIFIED = 0;
+     */
     SAMPLE_METHOD_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Scan from the top (default).
      * 
@@ -199,8 +172,6 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum { */ TOP(1), /** - * - * *
      * For each file larger than bytes_limit_per_file, randomly pick the offset
      * to start scanning. The scanned bytes are contiguous.
@@ -212,11 +183,11 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
     UNRECOGNIZED(-1),
     ;
 
-    /** SAMPLE_METHOD_UNSPECIFIED = 0; */
+    /**
+     * SAMPLE_METHOD_UNSPECIFIED = 0;
+     */
     public static final int SAMPLE_METHOD_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Scan from the top (default).
      * 
@@ -225,8 +196,6 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOP_VALUE = 1; /** - * - * *
      * For each file larger than bytes_limit_per_file, randomly pick the offset
      * to start scanning. The scanned bytes are contiguous.
@@ -236,6 +205,7 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RANDOM_START_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -260,49 +230,49 @@ public static SampleMethod valueOf(int value) {
      */
     public static SampleMethod forNumber(int value) {
       switch (value) {
-        case 0:
-          return SAMPLE_METHOD_UNSPECIFIED;
-        case 1:
-          return TOP;
-        case 2:
-          return RANDOM_START;
-        default:
-          return null;
+        case 0: return SAMPLE_METHOD_UNSPECIFIED;
+        case 1: return TOP;
+        case 2: return RANDOM_START;
+        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<
+        SampleMethod> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public SampleMethod findValueByNumber(int number) {
+              return SampleMethod.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public SampleMethod findValueByNumber(int number) {
-            return SampleMethod.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.privacy.dlp.v2.CloudStorageOptions.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SampleMethod[] VALUES = values();
 
-    public static SampleMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SampleMethod 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;
@@ -319,14 +289,11 @@ private SampleMethod(int value) {
     // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.CloudStorageOptions.SampleMethod)
   }
 
-  public interface FileSetOrBuilder
-      extends
+  public interface FileSetOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageOptions.FileSet)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -339,13 +306,10 @@ public interface FileSetOrBuilder
      * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -358,40 +322,32 @@ public interface FileSetOrBuilder
      * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; - * * @return Whether the regexFileSet field is set. */ boolean hasRegexFileSet(); /** - * - * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; - * * @return The regexFileSet. */ com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet(); /** - * - * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
@@ -402,39 +358,37 @@ public interface FileSetOrBuilder
     com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Set of files to scan.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions.FileSet} */ - public static final class FileSet extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FileSet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageOptions.FileSet) FileSetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FileSet.newBuilder() to construct. private FileSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FileSet() { url_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FileSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FileSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -453,69 +407,60 @@ private FileSet( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; + url_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder subBuilder = null; + if (regexFileSet_ != null) { + subBuilder = regexFileSet_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder subBuilder = null; - if (regexFileSet_ != null) { - subBuilder = regexFileSet_.toBuilder(); - } - regexFileSet_ = - input.readMessage( - com.google.privacy.dlp.v2.CloudStorageRegexFileSet.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(regexFileSet_); - regexFileSet_ = subBuilder.buildPartial(); - } - - break; + regexFileSet_ = input.readMessage(com.google.privacy.dlp.v2.CloudStorageRegexFileSet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(regexFileSet_); + regexFileSet_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** - * - * *
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -528,7 +473,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -537,15 +481,14 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -558,15 +501,16 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -577,15 +521,12 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int REGEX_FILE_SET_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.CloudStorageRegexFileSet regexFileSet_; /** - * - * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; - * * @return Whether the regexFileSet field is set. */ @java.lang.Override @@ -593,26 +534,19 @@ public boolean hasRegexFileSet() { return regexFileSet_ != null; } /** - * - * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; - * * @return The regexFileSet. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet() { - return regexFileSet_ == null - ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() - : regexFileSet_; + return regexFileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() : regexFileSet_; } /** - * - * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
@@ -626,7 +560,6 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileS
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -638,7 +571,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
       }
@@ -658,7 +592,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
       }
       if (regexFileSet_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegexFileSet());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getRegexFileSet());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -668,18 +603,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.privacy.dlp.v2.CloudStorageOptions.FileSet)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.CloudStorageOptions.FileSet other =
-          (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) obj;
+      com.google.privacy.dlp.v2.CloudStorageOptions.FileSet other = (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) obj;
 
-      if (!getUrl().equals(other.getUrl())) return false;
+      if (!getUrl()
+          .equals(other.getUrl())) return false;
       if (hasRegexFileSet() != other.hasRegexFileSet()) return false;
       if (hasRegexFileSet()) {
-        if (!getRegexFileSet().equals(other.getRegexFileSet())) return false;
+        if (!getRegexFileSet()
+            .equals(other.getRegexFileSet())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -704,94 +640,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.CloudStorageOptions.FileSet prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -801,32 +730,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Set of files to scan.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions.FileSet} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageOptions.FileSet) com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); } // Construct using com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.newBuilder() @@ -834,15 +758,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -858,9 +783,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; } @java.lang.Override @@ -879,8 +804,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet build() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet buildPartial() { - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet result = - new com.google.privacy.dlp.v2.CloudStorageOptions.FileSet(this); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet result = new com.google.privacy.dlp.v2.CloudStorageOptions.FileSet(this); result.url_ = url_; if (regexFileSetBuilder_ == null) { result.regexFileSet_ = regexFileSet_; @@ -895,41 +819,38 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.CloudStorageOptions.FileSet) { - return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) other); + return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions.FileSet)other); } else { super.mergeFrom(other); return this; @@ -937,8 +858,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet other) { - if (other == com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -965,8 +885,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -978,8 +897,6 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** - * - * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -992,13 +909,13 @@ public Builder mergeFrom(
        * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1007,8 +924,6 @@ public java.lang.String getUrl() { } } /** - * - * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -1021,14 +936,15 @@ public java.lang.String getUrl() {
        * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -1036,8 +952,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -1050,22 +964,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
        * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -1078,18 +990,15 @@ public Builder setUrl(java.lang.String value) {
        * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -1102,16 +1011,16 @@ public Builder clearUrl() {
        * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1119,49 +1028,36 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.CloudStorageRegexFileSet regexFileSet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageRegexFileSet, - com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, - com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder> - regexFileSetBuilder_; + com.google.privacy.dlp.v2.CloudStorageRegexFileSet, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder> regexFileSetBuilder_; /** - * - * *
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
        * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; - * * @return Whether the regexFileSet field is set. */ public boolean hasRegexFileSet() { return regexFileSetBuilder_ != null || regexFileSet_ != null; } /** - * - * *
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
        * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; - * * @return The regexFileSet. */ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet() { if (regexFileSetBuilder_ == null) { - return regexFileSet_ == null - ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() - : regexFileSet_; + return regexFileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() : regexFileSet_; } else { return regexFileSetBuilder_.getMessage(); } } /** - * - * *
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1183,8 +1079,6 @@ public Builder setRegexFileSet(com.google.privacy.dlp.v2.CloudStorageRegexFileSe
         return this;
       }
       /**
-       *
-       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1204,8 +1098,6 @@ public Builder setRegexFileSet(
         return this;
       }
       /**
-       *
-       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1217,9 +1109,7 @@ public Builder mergeRegexFileSet(com.google.privacy.dlp.v2.CloudStorageRegexFile
         if (regexFileSetBuilder_ == null) {
           if (regexFileSet_ != null) {
             regexFileSet_ =
-                com.google.privacy.dlp.v2.CloudStorageRegexFileSet.newBuilder(regexFileSet_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.newBuilder(regexFileSet_).mergeFrom(value).buildPartial();
           } else {
             regexFileSet_ = value;
           }
@@ -1231,8 +1121,6 @@ public Builder mergeRegexFileSet(com.google.privacy.dlp.v2.CloudStorageRegexFile
         return this;
       }
       /**
-       *
-       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1252,8 +1140,6 @@ public Builder clearRegexFileSet() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1262,13 +1148,11 @@ public Builder clearRegexFileSet() {
        * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        */
       public com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder getRegexFileSetBuilder() {
-
+        
         onChanged();
         return getRegexFileSetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1276,19 +1160,15 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder getRegexFileSe
        *
        * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        */
-      public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder
-          getRegexFileSetOrBuilder() {
+      public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder() {
         if (regexFileSetBuilder_ != null) {
           return regexFileSetBuilder_.getMessageOrBuilder();
         } else {
-          return regexFileSet_ == null
-              ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance()
-              : regexFileSet_;
+          return regexFileSet_ == null ?
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() : regexFileSet_;
         }
       }
       /**
-       *
-       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1297,22 +1177,18 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder getRegexFileSe
        * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet,
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder,
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder>
+          com.google.privacy.dlp.v2.CloudStorageRegexFileSet, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder> 
           getRegexFileSetFieldBuilder() {
         if (regexFileSetBuilder_ == null) {
-          regexFileSetBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.CloudStorageRegexFileSet,
-                  com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder,
-                  com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder>(
-                  getRegexFileSet(), getParentForChildren(), isClean());
+          regexFileSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder>(
+                  getRegexFileSet(),
+                  getParentForChildren(),
+                  isClean());
           regexFileSet_ = null;
         }
         return regexFileSetBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1325,12 +1201,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageOptions.FileSet)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageOptions.FileSet)
     private static final com.google.privacy.dlp.v2.CloudStorageOptions.FileSet DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageOptions.FileSet();
     }
@@ -1339,16 +1215,16 @@ public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public FileSet parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new FileSet(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public FileSet parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new FileSet(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1363,19 +1239,17 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int FILE_SET_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CloudStorageOptions.FileSet fileSet_;
   /**
-   *
-   *
    * 
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; - * * @return Whether the fileSet field is set. */ @java.lang.Override @@ -1383,25 +1257,18 @@ public boolean hasFileSet() { return fileSet_ != null; } /** - * - * *
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; - * * @return The fileSet. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet() { - return fileSet_ == null - ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() - : fileSet_; + return fileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() : fileSet_; } /** - * - * *
    * The set of one or more files to scan.
    * 
@@ -1416,8 +1283,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet public static final int BYTES_LIMIT_PER_FILE_FIELD_NUMBER = 4; private long bytesLimitPerFile_; /** - * - * *
    * Max number of bytes to scan from a file. If a scanned file's size is bigger
    * than this value then the rest of the bytes are omitted. Only one
@@ -1426,7 +1291,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
    * 
* * int64 bytes_limit_per_file = 4; - * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -1437,8 +1301,6 @@ public long getBytesLimitPerFile() { public static final int BYTES_LIMIT_PER_FILE_PERCENT_FIELD_NUMBER = 8; private int bytesLimitPerFilePercent_; /** - * - * *
    * Max percentage of bytes to scan from a file. The rest are omitted. The
    * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -1448,7 +1310,6 @@ public long getBytesLimitPerFile() {
    * 
* * int32 bytes_limit_per_file_percent = 8; - * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -1459,20 +1320,16 @@ public int getBytesLimitPerFilePercent() { public static final int FILE_TYPES_FIELD_NUMBER = 5; private java.util.List fileTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.privacy.dlp.v2.FileType> - fileTypes_converter_ = + java.lang.Integer, com.google.privacy.dlp.v2.FileType> fileTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.privacy.dlp.v2.FileType>() { public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.FileType result = - com.google.privacy.dlp.v2.FileType.valueOf(from); + com.google.privacy.dlp.v2.FileType result = com.google.privacy.dlp.v2.FileType.valueOf(from); return result == null ? com.google.privacy.dlp.v2.FileType.UNRECOGNIZED : result; } }; /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1484,7 +1341,6 @@ public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the fileTypes. */ @java.lang.Override @@ -1493,8 +1349,6 @@ public java.util.List getFileTypesList() { java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypes_, fileTypes_converter_); } /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1506,7 +1360,6 @@ public java.util.List getFileTypesList() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return The count of fileTypes. */ @java.lang.Override @@ -1514,8 +1367,6 @@ public int getFileTypesCount() { return fileTypes_.size(); } /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1527,7 +1378,6 @@ public int getFileTypesCount() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the element to return. * @return The fileTypes at the given index. */ @@ -1536,8 +1386,6 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { return fileTypes_converter_.convert(fileTypes_.get(index)); } /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1549,16 +1397,14 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the enum numeric values on the wire for fileTypes. */ @java.lang.Override - public java.util.List getFileTypesValueList() { + public java.util.List + getFileTypesValueList() { return fileTypes_; } /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1570,7 +1416,6 @@ public java.util.List getFileTypesValueList() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. */ @@ -1578,40 +1423,30 @@ public java.util.List getFileTypesValueList() { public int getFileTypesValue(int index) { return fileTypes_.get(index); } - private int fileTypesMemoizedSerializedSize; public static final int SAMPLE_METHOD_FIELD_NUMBER = 6; private int sampleMethod_; /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override - public int getSampleMethodValue() { + @java.lang.Override public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return The sampleMethod. */ - @java.lang.Override - public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() { + @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); - return result == null - ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); + return result == null ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED : result; } public static final int FILES_LIMIT_PERCENT_FIELD_NUMBER = 7; private int filesLimitPercent_; /** - * - * *
    * Limits the number of files to scan to this percentage of the input FileSet.
    * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -1619,7 +1454,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMetho
    * 
* * int32 files_limit_percent = 7; - * * @return The filesLimitPercent. */ @java.lang.Override @@ -1628,7 +1462,6 @@ public int getFilesLimitPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1640,7 +1473,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (fileSet_ != null) { output.writeMessage(1, getFileSet()); @@ -1655,9 +1489,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < fileTypes_.size(); i++) { output.writeEnumNoTag(fileTypes_.get(i)); } - if (sampleMethod_ - != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED - .getNumber()) { + if (sampleMethod_ != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(6, sampleMethod_); } if (filesLimitPercent_ != 0) { @@ -1676,33 +1508,36 @@ public int getSerializedSize() { size = 0; if (fileSet_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFileSet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFileSet()); } if (bytesLimitPerFile_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, bytesLimitPerFile_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, bytesLimitPerFile_); } { int dataSize = 0; for (int i = 0; i < fileTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(fileTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(fileTypes_.get(i)); } size += dataSize; - if (!getFileTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - fileTypesMemoizedSerializedSize = dataSize; + if (!getFileTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }fileTypesMemoizedSerializedSize = dataSize; } - if (sampleMethod_ - != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, sampleMethod_); + if (sampleMethod_ != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, sampleMethod_); } if (filesLimitPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, filesLimitPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, filesLimitPercent_); } if (bytesLimitPerFilePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, bytesLimitPerFilePercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, bytesLimitPerFilePercent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1712,23 +1547,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.privacy.dlp.v2.CloudStorageOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStorageOptions other = - (com.google.privacy.dlp.v2.CloudStorageOptions) obj; + com.google.privacy.dlp.v2.CloudStorageOptions other = (com.google.privacy.dlp.v2.CloudStorageOptions) obj; if (hasFileSet() != other.hasFileSet()) return false; if (hasFileSet()) { - if (!getFileSet().equals(other.getFileSet())) return false; + if (!getFileSet() + .equals(other.getFileSet())) return false; } - if (getBytesLimitPerFile() != other.getBytesLimitPerFile()) return false; - if (getBytesLimitPerFilePercent() != other.getBytesLimitPerFilePercent()) return false; + if (getBytesLimitPerFile() + != other.getBytesLimitPerFile()) return false; + if (getBytesLimitPerFilePercent() + != other.getBytesLimitPerFilePercent()) return false; if (!fileTypes_.equals(other.fileTypes_)) return false; if (sampleMethod_ != other.sampleMethod_) return false; - if (getFilesLimitPercent() != other.getFilesLimitPercent()) return false; + if (getFilesLimitPercent() + != other.getFilesLimitPercent()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1745,7 +1583,8 @@ public int hashCode() { hash = (53 * hash) + getFileSet().hashCode(); } hash = (37 * hash) + BYTES_LIMIT_PER_FILE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesLimitPerFile()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesLimitPerFile()); hash = (37 * hash) + BYTES_LIMIT_PER_FILE_PERCENT_FIELD_NUMBER; hash = (53 * hash) + getBytesLimitPerFilePercent(); if (getFileTypesCount() > 0) { @@ -1761,104 +1600,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CloudStorageOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CloudStorageOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options defining a file or a set of files within a Google Cloud Storage
    * bucket.
@@ -1866,23 +1698,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageOptions)
       com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CloudStorageOptions.class,
-              com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
+              com.google.privacy.dlp.v2.CloudStorageOptions.class, com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CloudStorageOptions.newBuilder()
@@ -1890,15 +1720,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1922,9 +1753,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
     }
 
     @java.lang.Override
@@ -1943,8 +1774,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CloudStorageOptions buildPartial() {
-      com.google.privacy.dlp.v2.CloudStorageOptions result =
-          new com.google.privacy.dlp.v2.CloudStorageOptions(this);
+      com.google.privacy.dlp.v2.CloudStorageOptions result = new com.google.privacy.dlp.v2.CloudStorageOptions(this);
       int from_bitField0_ = bitField0_;
       if (fileSetBuilder_ == null) {
         result.fileSet_ = fileSet_;
@@ -1968,39 +1798,38 @@ public com.google.privacy.dlp.v2.CloudStorageOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CloudStorageOptions) {
-        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2062,52 +1891,38 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.CloudStorageOptions.FileSet fileSet_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CloudStorageOptions.FileSet,
-            com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder,
-            com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder>
-        fileSetBuilder_;
+        com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder> fileSetBuilder_;
     /**
-     *
-     *
      * 
      * The set of one or more files to scan.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; - * * @return Whether the fileSet field is set. */ public boolean hasFileSet() { return fileSetBuilder_ != null || fileSet_ != null; } /** - * - * *
      * The set of one or more files to scan.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; - * * @return The fileSet. */ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet() { if (fileSetBuilder_ == null) { - return fileSet_ == null - ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() - : fileSet_; + return fileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() : fileSet_; } else { return fileSetBuilder_.getMessage(); } } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2128,8 +1943,6 @@ public Builder setFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2148,8 +1961,6 @@ public Builder setFileSet( return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2160,9 +1971,7 @@ public Builder mergeFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSe if (fileSetBuilder_ == null) { if (fileSet_ != null) { fileSet_ = - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.newBuilder(fileSet_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.newBuilder(fileSet_).mergeFrom(value).buildPartial(); } else { fileSet_ = value; } @@ -2174,8 +1983,6 @@ public Builder mergeFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSe return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2194,8 +2001,6 @@ public Builder clearFileSet() { return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2203,13 +2008,11 @@ public Builder clearFileSet() { * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; */ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder getFileSetBuilder() { - + onChanged(); return getFileSetFieldBuilder().getBuilder(); } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2220,14 +2023,11 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet if (fileSetBuilder_ != null) { return fileSetBuilder_.getMessageOrBuilder(); } else { - return fileSet_ == null - ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() - : fileSet_; + return fileSet_ == null ? + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() : fileSet_; } } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2235,26 +2035,21 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, - com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder> + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder> getFileSetFieldBuilder() { if (fileSetBuilder_ == null) { - fileSetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, - com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder>( - getFileSet(), getParentForChildren(), isClean()); + fileSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder>( + getFileSet(), + getParentForChildren(), + isClean()); fileSet_ = null; } return fileSetBuilder_; } - private long bytesLimitPerFile_; + private long bytesLimitPerFile_ ; /** - * - * *
      * Max number of bytes to scan from a file. If a scanned file's size is bigger
      * than this value then the rest of the bytes are omitted. Only one
@@ -2263,7 +2058,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
      * 
* * int64 bytes_limit_per_file = 4; - * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -2271,8 +2065,6 @@ public long getBytesLimitPerFile() { return bytesLimitPerFile_; } /** - * - * *
      * Max number of bytes to scan from a file. If a scanned file's size is bigger
      * than this value then the rest of the bytes are omitted. Only one
@@ -2281,19 +2073,16 @@ public long getBytesLimitPerFile() {
      * 
* * int64 bytes_limit_per_file = 4; - * * @param value The bytesLimitPerFile to set. * @return This builder for chaining. */ public Builder setBytesLimitPerFile(long value) { - + bytesLimitPerFile_ = value; onChanged(); return this; } /** - * - * *
      * Max number of bytes to scan from a file. If a scanned file's size is bigger
      * than this value then the rest of the bytes are omitted. Only one
@@ -2302,20 +2091,17 @@ public Builder setBytesLimitPerFile(long value) {
      * 
* * int64 bytes_limit_per_file = 4; - * * @return This builder for chaining. */ public Builder clearBytesLimitPerFile() { - + bytesLimitPerFile_ = 0L; onChanged(); return this; } - private int bytesLimitPerFilePercent_; + private int bytesLimitPerFilePercent_ ; /** - * - * *
      * Max percentage of bytes to scan from a file. The rest are omitted. The
      * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -2325,7 +2111,6 @@ public Builder clearBytesLimitPerFile() {
      * 
* * int32 bytes_limit_per_file_percent = 8; - * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -2333,8 +2118,6 @@ public int getBytesLimitPerFilePercent() { return bytesLimitPerFilePercent_; } /** - * - * *
      * Max percentage of bytes to scan from a file. The rest are omitted. The
      * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -2344,19 +2127,16 @@ public int getBytesLimitPerFilePercent() {
      * 
* * int32 bytes_limit_per_file_percent = 8; - * * @param value The bytesLimitPerFilePercent to set. * @return This builder for chaining. */ public Builder setBytesLimitPerFilePercent(int value) { - + bytesLimitPerFilePercent_ = value; onChanged(); return this; } /** - * - * *
      * Max percentage of bytes to scan from a file. The rest are omitted. The
      * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -2366,18 +2146,17 @@ public Builder setBytesLimitPerFilePercent(int value) {
      * 
* * int32 bytes_limit_per_file_percent = 8; - * * @return This builder for chaining. */ public Builder clearBytesLimitPerFilePercent() { - + bytesLimitPerFilePercent_ = 0; onChanged(); return this; } - private java.util.List fileTypes_ = java.util.Collections.emptyList(); - + private java.util.List fileTypes_ = + java.util.Collections.emptyList(); private void ensureFileTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fileTypes_ = new java.util.ArrayList(fileTypes_); @@ -2385,8 +2164,6 @@ private void ensureFileTypesIsMutable() { } } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2398,7 +2175,6 @@ private void ensureFileTypesIsMutable() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the fileTypes. */ public java.util.List getFileTypesList() { @@ -2406,8 +2182,6 @@ public java.util.List getFileTypesList() { java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypes_, fileTypes_converter_); } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2419,15 +2193,12 @@ public java.util.List getFileTypesList() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return The count of fileTypes. */ public int getFileTypesCount() { return fileTypes_.size(); } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2439,7 +2210,6 @@ public int getFileTypesCount() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the element to return. * @return The fileTypes at the given index. */ @@ -2447,8 +2217,6 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { return fileTypes_converter_.convert(fileTypes_.get(index)); } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2460,12 +2228,12 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index to set the value at. * @param value The fileTypes to set. * @return This builder for chaining. */ - public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value) { + public Builder setFileTypes( + int index, com.google.privacy.dlp.v2.FileType value) { if (value == null) { throw new NullPointerException(); } @@ -2475,8 +2243,6 @@ public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value) return this; } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2488,7 +2254,6 @@ public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value)
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param value The fileTypes to add. * @return This builder for chaining. */ @@ -2502,8 +2267,6 @@ public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) { return this; } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2515,7 +2278,6 @@ public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param values The fileTypes to add. * @return This builder for chaining. */ @@ -2529,8 +2291,6 @@ public Builder addAllFileTypes( return this; } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2542,7 +2302,6 @@ public Builder addAllFileTypes(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return This builder for chaining. */ public Builder clearFileTypes() { @@ -2552,8 +2311,6 @@ public Builder clearFileTypes() { return this; } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2565,15 +2322,13 @@ public Builder clearFileTypes() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the enum numeric values on the wire for fileTypes. */ - public java.util.List getFileTypesValueList() { + public java.util.List + getFileTypesValueList() { return java.util.Collections.unmodifiableList(fileTypes_); } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2585,7 +2340,6 @@ public java.util.List getFileTypesValueList() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. */ @@ -2593,8 +2347,6 @@ public int getFileTypesValue(int index) { return fileTypes_.get(index); } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2606,20 +2358,18 @@ public int getFileTypesValue(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. * @return This builder for chaining. */ - public Builder setFileTypesValue(int index, int value) { + public Builder setFileTypesValue( + int index, int value) { ensureFileTypesIsMutable(); fileTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2631,7 +2381,6 @@ public Builder setFileTypesValue(int index, int value) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param value The enum numeric value on the wire for fileTypes to add. * @return This builder for chaining. */ @@ -2642,8 +2391,6 @@ public Builder addFileTypesValue(int value) { return this; } /** - * - * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2655,11 +2402,11 @@ public Builder addFileTypesValue(int value) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param values The enum numeric values on the wire for fileTypes to add. * @return This builder for chaining. */ - public Builder addAllFileTypesValue(java.lang.Iterable values) { + public Builder addAllFileTypesValue( + java.lang.Iterable values) { ensureFileTypesIsMutable(); for (int value : values) { fileTypes_.add(value); @@ -2671,71 +2418,59 @@ public Builder addAllFileTypesValue(java.lang.Iterable values private int sampleMethod_ = 0; /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override - public int getSampleMethodValue() { + @java.lang.Override public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @param value The enum numeric value on the wire for sampleMethod to set. * @return This builder for chaining. */ public Builder setSampleMethodValue(int value) { - + sampleMethod_ = value; onChanged(); return this; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return The sampleMethod. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); - return result == null - ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); + return result == null ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED : result; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @param value The sampleMethod to set. * @return This builder for chaining. */ - public Builder setSampleMethod( - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod value) { + public Builder setSampleMethod(com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod value) { if (value == null) { throw new NullPointerException(); } - + sampleMethod_ = value.getNumber(); onChanged(); return this; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return This builder for chaining. */ public Builder clearSampleMethod() { - + sampleMethod_ = 0; onChanged(); return this; } - private int filesLimitPercent_; + private int filesLimitPercent_ ; /** - * - * *
      * Limits the number of files to scan to this percentage of the input FileSet.
      * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -2743,7 +2478,6 @@ public Builder clearSampleMethod() {
      * 
* * int32 files_limit_percent = 7; - * * @return The filesLimitPercent. */ @java.lang.Override @@ -2751,8 +2485,6 @@ public int getFilesLimitPercent() { return filesLimitPercent_; } /** - * - * *
      * Limits the number of files to scan to this percentage of the input FileSet.
      * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -2760,19 +2492,16 @@ public int getFilesLimitPercent() {
      * 
* * int32 files_limit_percent = 7; - * * @param value The filesLimitPercent to set. * @return This builder for chaining. */ public Builder setFilesLimitPercent(int value) { - + filesLimitPercent_ = value; onChanged(); return this; } /** - * - * *
      * Limits the number of files to scan to this percentage of the input FileSet.
      * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -2780,18 +2509,17 @@ public Builder setFilesLimitPercent(int value) {
      * 
* * int32 files_limit_percent = 7; - * * @return This builder for chaining. */ public Builder clearFilesLimitPercent() { - + filesLimitPercent_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2801,12 +2529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageOptions) private static final com.google.privacy.dlp.v2.CloudStorageOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageOptions(); } @@ -2815,16 +2543,16 @@ public static com.google.privacy.dlp.v2.CloudStorageOptions getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStorageOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2839,4 +2567,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStorageOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java similarity index 87% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java index 68a7458b..18e0a6a7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStorageOptionsOrBuilder - extends +public interface CloudStorageOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; - * * @return Whether the fileSet field is set. */ boolean hasFileSet(); /** - * - * *
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; - * * @return The fileSet. */ com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet(); /** - * - * *
    * The set of one or more files to scan.
    * 
@@ -59,8 +35,6 @@ public interface CloudStorageOptionsOrBuilder com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSetOrBuilder(); /** - * - * *
    * Max number of bytes to scan from a file. If a scanned file's size is bigger
    * than this value then the rest of the bytes are omitted. Only one
@@ -69,14 +43,11 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * int64 bytes_limit_per_file = 4; - * * @return The bytesLimitPerFile. */ long getBytesLimitPerFile(); /** - * - * *
    * Max percentage of bytes to scan from a file. The rest are omitted. The
    * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -86,14 +57,11 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * int32 bytes_limit_per_file_percent = 8; - * * @return The bytesLimitPerFilePercent. */ int getBytesLimitPerFilePercent(); /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -105,13 +73,10 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the fileTypes. */ java.util.List getFileTypesList(); /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -123,13 +88,10 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return The count of fileTypes. */ int getFileTypesCount(); /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -141,14 +103,11 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the element to return. * @return The fileTypes at the given index. */ com.google.privacy.dlp.v2.FileType getFileTypes(int index); /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -160,13 +119,11 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the enum numeric values on the wire for fileTypes. */ - java.util.List getFileTypesValueList(); + java.util.List + getFileTypesValueList(); /** - * - * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -178,7 +135,6 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. */ @@ -186,20 +142,16 @@ public interface CloudStorageOptionsOrBuilder /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return The enum numeric value on the wire for sampleMethod. */ int getSampleMethodValue(); /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; - * * @return The sampleMethod. */ com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod(); /** - * - * *
    * Limits the number of files to scan to this percentage of the input FileSet.
    * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -207,7 +159,6 @@ public interface CloudStorageOptionsOrBuilder
    * 
* * int32 files_limit_percent = 7; - * * @return The filesLimitPercent. */ int getFilesLimitPercent(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java index 50f53f60..307155f4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Message representing a single file or path in Cloud Storage.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStoragePath} */ -public final class CloudStoragePath extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudStoragePath extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStoragePath) CloudStoragePathOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudStoragePath.newBuilder() to construct. private CloudStoragePath(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudStoragePath() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudStoragePath(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CloudStoragePath( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,59 +53,53 @@ private CloudStoragePath( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStoragePath.class, - com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); + com.google.privacy.dlp.v2.CloudStoragePath.class, com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** - * - * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; - * * @return The path. */ @java.lang.Override @@ -131,30 +108,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CloudStoragePath)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStoragePath other = - (com.google.privacy.dlp.v2.CloudStoragePath) obj; + com.google.privacy.dlp.v2.CloudStoragePath other = (com.google.privacy.dlp.v2.CloudStoragePath) obj; - if (!getPath().equals(other.getPath())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CloudStoragePath parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CloudStoragePath parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStoragePath prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a single file or path in Cloud Storage.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStoragePath} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStoragePath) com.google.privacy.dlp.v2.CloudStoragePathOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStoragePath.class, - com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); + com.google.privacy.dlp.v2.CloudStoragePath.class, com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); } // Construct using com.google.privacy.dlp.v2.CloudStoragePath.newBuilder() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; } @java.lang.Override @@ -393,8 +362,7 @@ public com.google.privacy.dlp.v2.CloudStoragePath build() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStoragePath buildPartial() { - com.google.privacy.dlp.v2.CloudStoragePath result = - new com.google.privacy.dlp.v2.CloudStoragePath(this); + com.google.privacy.dlp.v2.CloudStoragePath result = new com.google.privacy.dlp.v2.CloudStoragePath(this); result.path_ = path_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.privacy.dlp.v2.CloudStoragePath buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CloudStoragePath) { - return mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath) other); + return mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath)other); } else { super.mergeFrom(other); return this; @@ -480,21 +447,19 @@ public Builder mergeFrom( private java.lang.Object path_ = ""; /** - * - * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -503,22 +468,21 @@ public java.lang.String getPath() { } } /** - * - * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -526,71 +490,64 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override - 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 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStoragePath) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStoragePath) private static final com.google.privacy.dlp.v2.CloudStoragePath DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStoragePath(); } @@ -614,16 +571,16 @@ public static com.google.privacy.dlp.v2.CloudStoragePath getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStoragePath parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStoragePath(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStoragePath parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStoragePath(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStoragePath getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java similarity index 50% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java index 556be488..b3e4adb3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStoragePathOrBuilder - extends +public interface CloudStoragePathOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStoragePath) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java similarity index 77% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java index 922eb3d9..a075890d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Message representing a set of files in a Cloud Storage bucket. Regular
  * expressions are used to allow fine-grained control over which files in the
@@ -52,16 +35,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CloudStorageRegexFileSet}
  */
-public final class CloudStorageRegexFileSet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudStorageRegexFileSet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageRegexFileSet)
     CloudStorageRegexFileSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudStorageRegexFileSet.newBuilder() to construct.
   private CloudStorageRegexFileSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudStorageRegexFileSet() {
     bucketName_ = "";
     includeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -70,15 +52,16 @@ private CloudStorageRegexFileSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudStorageRegexFileSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CloudStorageRegexFileSet(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -98,46 +81,44 @@ private CloudStorageRegexFileSet(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              bucketName_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                includeRegex_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              includeRegex_.add(s);
-              break;
+            bucketName_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              includeRegex_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                excludeRegex_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              excludeRegex_.add(s);
-              break;
+            includeRegex_.add(s);
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              excludeRegex_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            excludeRegex_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         includeRegex_ = includeRegex_.getUnmodifiableView();
@@ -149,33 +130,27 @@ private CloudStorageRegexFileSet(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class,
-            com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
+            com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
   }
 
   public static final int BUCKET_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object bucketName_;
   /**
-   *
-   *
    * 
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; - * * @return The bucketName. */ @java.lang.Override @@ -184,29 +159,29 @@ public java.lang.String getBucketName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketName_ = s; return s; } } /** - * - * *
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; - * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucketName_ = b; return b; } else { @@ -217,8 +192,6 @@ public com.google.protobuf.ByteString getBucketNameBytes() { public static final int INCLUDE_REGEX_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList includeRegex_; /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -231,15 +204,13 @@ public com.google.protobuf.ByteString getBucketNameBytes() {
    * 
* * repeated string include_regex = 2; - * * @return A list containing the includeRegex. */ - public com.google.protobuf.ProtocolStringList getIncludeRegexList() { + public com.google.protobuf.ProtocolStringList + getIncludeRegexList() { return includeRegex_; } /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -252,15 +223,12 @@ public com.google.protobuf.ProtocolStringList getIncludeRegexList() {
    * 
* * repeated string include_regex = 2; - * * @return The count of includeRegex. */ public int getIncludeRegexCount() { return includeRegex_.size(); } /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -273,7 +241,6 @@ public int getIncludeRegexCount() {
    * 
* * repeated string include_regex = 2; - * * @param index The index of the element to return. * @return The includeRegex at the given index. */ @@ -281,8 +248,6 @@ public java.lang.String getIncludeRegex(int index) { return includeRegex_.get(index); } /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -295,21 +260,18 @@ public java.lang.String getIncludeRegex(int index) {
    * 
* * repeated string include_regex = 2; - * * @param index The index of the value to return. * @return The bytes of the includeRegex at the given index. */ - public com.google.protobuf.ByteString getIncludeRegexBytes(int index) { + public com.google.protobuf.ByteString + getIncludeRegexBytes(int index) { return includeRegex_.getByteString(index); } public static final int EXCLUDE_REGEX_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList excludeRegex_; /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -319,17 +281,14 @@ public com.google.protobuf.ByteString getIncludeRegexBytes(int index) {
    * 
* * repeated string exclude_regex = 3; - * * @return A list containing the excludeRegex. */ - public com.google.protobuf.ProtocolStringList getExcludeRegexList() { + public com.google.protobuf.ProtocolStringList + getExcludeRegexList() { return excludeRegex_; } /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -339,17 +298,13 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
    * 
* * repeated string exclude_regex = 3; - * * @return The count of excludeRegex. */ public int getExcludeRegexCount() { return excludeRegex_.size(); } /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -359,7 +314,6 @@ public int getExcludeRegexCount() {
    * 
* * repeated string exclude_regex = 3; - * * @param index The index of the element to return. * @return The excludeRegex at the given index. */ @@ -367,10 +321,7 @@ public java.lang.String getExcludeRegex(int index) { return excludeRegex_.get(index); } /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -380,16 +331,15 @@ public java.lang.String getExcludeRegex(int index) {
    * 
* * repeated string exclude_regex = 3; - * * @param index The index of the value to return. * @return The bytes of the excludeRegex at the given index. */ - public com.google.protobuf.ByteString getExcludeRegexBytes(int index) { + public com.google.protobuf.ByteString + getExcludeRegexBytes(int index) { return excludeRegex_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -401,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -447,17 +398,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.privacy.dlp.v2.CloudStorageRegexFileSet)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStorageRegexFileSet other = - (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) obj; - - if (!getBucketName().equals(other.getBucketName())) return false; - if (!getIncludeRegexList().equals(other.getIncludeRegexList())) return false; - if (!getExcludeRegexList().equals(other.getExcludeRegexList())) return false; + com.google.privacy.dlp.v2.CloudStorageRegexFileSet other = (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) obj; + + if (!getBucketName() + .equals(other.getBucketName())) return false; + if (!getIncludeRegexList() + .equals(other.getIncludeRegexList())) return false; + if (!getExcludeRegexList() + .equals(other.getExcludeRegexList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -485,103 +438,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageRegexFileSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a set of files in a Cloud Storage bucket. Regular
    * expressions are used to allow fine-grained control over which files in the
@@ -613,23 +559,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CloudStorageRegexFileSet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageRegexFileSet)
       com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class,
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CloudStorageRegexFileSet.newBuilder()
@@ -637,15 +581,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -659,9 +604,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
     }
 
     @java.lang.Override
@@ -680,8 +625,7 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CloudStorageRegexFileSet buildPartial() {
-      com.google.privacy.dlp.v2.CloudStorageRegexFileSet result =
-          new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(this);
+      com.google.privacy.dlp.v2.CloudStorageRegexFileSet result = new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(this);
       int from_bitField0_ = bitField0_;
       result.bucketName_ = bucketName_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -702,39 +646,38 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CloudStorageRegexFileSet) {
-        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageRegexFileSet) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageRegexFileSet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -742,8 +685,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageRegexFileSet other) {
-      if (other == com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance()) return this;
       if (!other.getBucketName().isEmpty()) {
         bucketName_ = other.bucketName_;
         onChanged();
@@ -787,8 +729,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -797,25 +738,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object bucketName_ = "";
     /**
-     *
-     *
      * 
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; - * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketName_ = s; return s; @@ -824,21 +762,20 @@ public java.lang.String getBucketName() { } } /** - * - * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; - * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bucketName_ = b; return b; } else { @@ -846,78 +783,67 @@ public com.google.protobuf.ByteString getBucketNameBytes() { } } /** - * - * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; - * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName(java.lang.String value) { + public Builder setBucketName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** - * - * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; - * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** - * - * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; - * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList includeRegex_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList includeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncludeRegexIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { includeRegex_ = new com.google.protobuf.LazyStringArrayList(includeRegex_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -930,15 +856,13 @@ private void ensureIncludeRegexIsMutable() {
      * 
* * repeated string include_regex = 2; - * * @return A list containing the includeRegex. */ - public com.google.protobuf.ProtocolStringList getIncludeRegexList() { + public com.google.protobuf.ProtocolStringList + getIncludeRegexList() { return includeRegex_.getUnmodifiableView(); } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -951,15 +875,12 @@ public com.google.protobuf.ProtocolStringList getIncludeRegexList() {
      * 
* * repeated string include_regex = 2; - * * @return The count of includeRegex. */ public int getIncludeRegexCount() { return includeRegex_.size(); } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -972,7 +893,6 @@ public int getIncludeRegexCount() {
      * 
* * repeated string include_regex = 2; - * * @param index The index of the element to return. * @return The includeRegex at the given index. */ @@ -980,8 +900,6 @@ public java.lang.String getIncludeRegex(int index) { return includeRegex_.get(index); } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -994,16 +912,14 @@ public java.lang.String getIncludeRegex(int index) {
      * 
* * repeated string include_regex = 2; - * * @param index The index of the value to return. * @return The bytes of the includeRegex at the given index. */ - public com.google.protobuf.ByteString getIncludeRegexBytes(int index) { + public com.google.protobuf.ByteString + getIncludeRegexBytes(int index) { return includeRegex_.getByteString(index); } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1016,23 +932,21 @@ public com.google.protobuf.ByteString getIncludeRegexBytes(int index) {
      * 
* * repeated string include_regex = 2; - * * @param index The index to set the value at. * @param value The includeRegex to set. * @return This builder for chaining. */ - public Builder setIncludeRegex(int index, java.lang.String value) { + public Builder setIncludeRegex( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureIncludeRegexIsMutable(); includeRegex_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1045,22 +959,20 @@ public Builder setIncludeRegex(int index, java.lang.String value) {
      * 
* * repeated string include_regex = 2; - * * @param value The includeRegex to add. * @return This builder for chaining. */ - public Builder addIncludeRegex(java.lang.String value) { + public Builder addIncludeRegex( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureIncludeRegexIsMutable(); includeRegex_.add(value); onChanged(); return this; } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1073,19 +985,18 @@ public Builder addIncludeRegex(java.lang.String value) {
      * 
* * repeated string include_regex = 2; - * * @param values The includeRegex to add. * @return This builder for chaining. */ - public Builder addAllIncludeRegex(java.lang.Iterable values) { + public Builder addAllIncludeRegex( + java.lang.Iterable values) { ensureIncludeRegexIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeRegex_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includeRegex_); onChanged(); return this; } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1098,7 +1009,6 @@ public Builder addAllIncludeRegex(java.lang.Iterable values) {
      * 
* * repeated string include_regex = 2; - * * @return This builder for chaining. */ public Builder clearIncludeRegex() { @@ -1108,8 +1018,6 @@ public Builder clearIncludeRegex() { return this; } /** - * - * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1122,35 +1030,30 @@ public Builder clearIncludeRegex() {
      * 
* * repeated string include_regex = 2; - * * @param value The bytes of the includeRegex to add. * @return This builder for chaining. */ - public Builder addIncludeRegexBytes(com.google.protobuf.ByteString value) { + public Builder addIncludeRegexBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeRegexIsMutable(); includeRegex_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludeRegex_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludeRegexIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludeRegex_ = new com.google.protobuf.LazyStringArrayList(excludeRegex_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1160,17 +1063,14 @@ private void ensureExcludeRegexIsMutable() {
      * 
* * repeated string exclude_regex = 3; - * * @return A list containing the excludeRegex. */ - public com.google.protobuf.ProtocolStringList getExcludeRegexList() { + public com.google.protobuf.ProtocolStringList + getExcludeRegexList() { return excludeRegex_.getUnmodifiableView(); } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1180,17 +1080,13 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
      * 
* * repeated string exclude_regex = 3; - * * @return The count of excludeRegex. */ public int getExcludeRegexCount() { return excludeRegex_.size(); } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1200,7 +1096,6 @@ public int getExcludeRegexCount() {
      * 
* * repeated string exclude_regex = 3; - * * @param index The index of the element to return. * @return The excludeRegex at the given index. */ @@ -1208,10 +1103,7 @@ public java.lang.String getExcludeRegex(int index) { return excludeRegex_.get(index); } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1221,18 +1113,15 @@ public java.lang.String getExcludeRegex(int index) {
      * 
* * repeated string exclude_regex = 3; - * * @param index The index of the value to return. * @return The bytes of the excludeRegex at the given index. */ - public com.google.protobuf.ByteString getExcludeRegexBytes(int index) { + public com.google.protobuf.ByteString + getExcludeRegexBytes(int index) { return excludeRegex_.getByteString(index); } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1242,25 +1131,22 @@ public com.google.protobuf.ByteString getExcludeRegexBytes(int index) {
      * 
* * repeated string exclude_regex = 3; - * * @param index The index to set the value at. * @param value The excludeRegex to set. * @return This builder for chaining. */ - public Builder setExcludeRegex(int index, java.lang.String value) { + public Builder setExcludeRegex( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureExcludeRegexIsMutable(); excludeRegex_.set(index, value); onChanged(); return this; } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1270,24 +1156,21 @@ public Builder setExcludeRegex(int index, java.lang.String value) {
      * 
* * repeated string exclude_regex = 3; - * * @param value The excludeRegex to add. * @return This builder for chaining. */ - public Builder addExcludeRegex(java.lang.String value) { + public Builder addExcludeRegex( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureExcludeRegexIsMutable(); excludeRegex_.add(value); onChanged(); return this; } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1297,21 +1180,19 @@ public Builder addExcludeRegex(java.lang.String value) {
      * 
* * repeated string exclude_regex = 3; - * * @param values The excludeRegex to add. * @return This builder for chaining. */ - public Builder addAllExcludeRegex(java.lang.Iterable values) { + public Builder addAllExcludeRegex( + java.lang.Iterable values) { ensureExcludeRegexIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludeRegex_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludeRegex_); onChanged(); return this; } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1321,7 +1202,6 @@ public Builder addAllExcludeRegex(java.lang.Iterable values) {
      * 
* * repeated string exclude_regex = 3; - * * @return This builder for chaining. */ public Builder clearExcludeRegex() { @@ -1331,10 +1211,7 @@ public Builder clearExcludeRegex() { return this; } /** - * - * *
-     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1344,23 +1221,23 @@ public Builder clearExcludeRegex() {
      * 
* * repeated string exclude_regex = 3; - * * @param value The bytes of the excludeRegex to add. * @return This builder for chaining. */ - public Builder addExcludeRegexBytes(com.google.protobuf.ByteString value) { + public Builder addExcludeRegexBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludeRegexIsMutable(); excludeRegex_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1370,12 +1247,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageRegexFileSet) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageRegexFileSet) private static final com.google.privacy.dlp.v2.CloudStorageRegexFileSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(); } @@ -1384,16 +1261,16 @@ public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageRegexFileSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageRegexFileSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageRegexFileSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStorageRegexFileSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1408,4 +1285,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java index 4e8c43ab..2e045cc9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStorageRegexFileSetOrBuilder - extends +public interface CloudStorageRegexFileSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageRegexFileSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; - * * @return The bucketName. */ java.lang.String getBucketName(); /** - * - * *
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; - * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString getBucketNameBytes(); + com.google.protobuf.ByteString + getBucketNameBytes(); /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -63,13 +40,11 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string include_regex = 2; - * * @return A list containing the includeRegex. */ - java.util.List getIncludeRegexList(); + java.util.List + getIncludeRegexList(); /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -82,13 +57,10 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string include_regex = 2; - * * @return The count of includeRegex. */ int getIncludeRegexCount(); /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -101,14 +73,11 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string include_regex = 2; - * * @param index The index of the element to return. * @return The includeRegex at the given index. */ java.lang.String getIncludeRegex(int index); /** - * - * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -121,17 +90,14 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string include_regex = 2; - * * @param index The index of the value to return. * @return The bytes of the includeRegex at the given index. */ - com.google.protobuf.ByteString getIncludeRegexBytes(int index); + com.google.protobuf.ByteString + getIncludeRegexBytes(int index); /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -141,15 +107,12 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string exclude_regex = 3; - * * @return A list containing the excludeRegex. */ - java.util.List getExcludeRegexList(); + java.util.List + getExcludeRegexList(); /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -159,15 +122,11 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string exclude_regex = 3; - * * @return The count of excludeRegex. */ int getExcludeRegexCount(); /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -177,16 +136,12 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string exclude_regex = 3; - * * @param index The index of the element to return. * @return The excludeRegex at the given index. */ java.lang.String getExcludeRegex(int index); /** - * - * *
-   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -196,9 +151,9 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * repeated string exclude_regex = 3; - * * @param index The index of the value to return. * @return The bytes of the excludeRegex at the given index. */ - com.google.protobuf.ByteString getExcludeRegexBytes(int index); + com.google.protobuf.ByteString + getExcludeRegexBytes(int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java index 9bd6d7dc..02322985 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Represents a color in the RGB color space.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Color} */ -public final class Color extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Color extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Color) ColorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Color.newBuilder() to construct. private Color(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Color() {} + private Color() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Color(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Color( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,50 +52,49 @@ private Color( case 0: done = true; break; - case 13: - { - red_ = input.readFloat(); - break; - } - case 21: - { - green_ = input.readFloat(); - break; - } - case 29: - { - blue_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + red_ = input.readFloat(); + break; + } + case 21: { + + green_ = input.readFloat(); + break; + } + case 29: { + + blue_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Color_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Color.class, com.google.privacy.dlp.v2.Color.Builder.class); } @@ -119,14 +102,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int RED_FIELD_NUMBER = 1; private float red_; /** - * - * *
    * The amount of red in the color as a value in the interval [0, 1].
    * 
* * float red = 1; - * * @return The red. */ @java.lang.Override @@ -137,14 +117,11 @@ public float getRed() { public static final int GREEN_FIELD_NUMBER = 2; private float green_; /** - * - * *
    * The amount of green in the color as a value in the interval [0, 1].
    * 
* * float green = 2; - * * @return The green. */ @java.lang.Override @@ -155,14 +132,11 @@ public float getGreen() { public static final int BLUE_FIELD_NUMBER = 3; private float blue_; /** - * - * *
    * The amount of blue in the color as a value in the interval [0, 1].
    * 
* * float blue = 3; - * * @return The blue. */ @java.lang.Override @@ -171,7 +145,6 @@ public float getBlue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (red_ != 0F) { output.writeFloat(1, red_); } @@ -203,13 +177,16 @@ public int getSerializedSize() { size = 0; if (red_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, red_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, red_); } if (green_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, green_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, green_); } if (blue_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, blue_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, blue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,19 +196,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.privacy.dlp.v2.Color)) { return super.equals(obj); } com.google.privacy.dlp.v2.Color other = (com.google.privacy.dlp.v2.Color) obj; - if (java.lang.Float.floatToIntBits(getRed()) != java.lang.Float.floatToIntBits(other.getRed())) - return false; + if (java.lang.Float.floatToIntBits(getRed()) + != java.lang.Float.floatToIntBits( + other.getRed())) return false; if (java.lang.Float.floatToIntBits(getGreen()) - != java.lang.Float.floatToIntBits(other.getGreen())) return false; + != java.lang.Float.floatToIntBits( + other.getGreen())) return false; if (java.lang.Float.floatToIntBits(getBlue()) - != java.lang.Float.floatToIntBits(other.getBlue())) return false; + != java.lang.Float.floatToIntBits( + other.getBlue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,133 +224,129 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RED_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getRed()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getRed()); hash = (37 * hash) + GREEN_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getGreen()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getGreen()); hash = (37 * hash) + BLUE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBlue()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBlue()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.Color parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Color parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Color parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Color parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Color parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Color parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Color parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Color parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Color parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Color parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Color 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.privacy.dlp.v2.Color parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Color parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Color parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Color prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a color in the RGB color space.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Color} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Color) com.google.privacy.dlp.v2.ColorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Color_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Color.class, com.google.privacy.dlp.v2.Color.Builder.class); } @@ -380,15 +356,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Color_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_descriptor; } @java.lang.Override @@ -435,39 +412,38 @@ public com.google.privacy.dlp.v2.Color buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Color) { - return mergeFrom((com.google.privacy.dlp.v2.Color) other); + return mergeFrom((com.google.privacy.dlp.v2.Color)other); } else { super.mergeFrom(other); return this; @@ -514,16 +490,13 @@ public Builder mergeFrom( return this; } - private float red_; + private float red_ ; /** - * - * *
      * The amount of red in the color as a value in the interval [0, 1].
      * 
* * float red = 1; - * * @return The red. */ @java.lang.Override @@ -531,51 +504,42 @@ public float getRed() { return red_; } /** - * - * *
      * The amount of red in the color as a value in the interval [0, 1].
      * 
* * float red = 1; - * * @param value The red to set. * @return This builder for chaining. */ public Builder setRed(float value) { - + red_ = value; onChanged(); return this; } /** - * - * *
      * The amount of red in the color as a value in the interval [0, 1].
      * 
* * float red = 1; - * * @return This builder for chaining. */ public Builder clearRed() { - + red_ = 0F; onChanged(); return this; } - private float green_; + private float green_ ; /** - * - * *
      * The amount of green in the color as a value in the interval [0, 1].
      * 
* * float green = 2; - * * @return The green. */ @java.lang.Override @@ -583,51 +547,42 @@ public float getGreen() { return green_; } /** - * - * *
      * The amount of green in the color as a value in the interval [0, 1].
      * 
* * float green = 2; - * * @param value The green to set. * @return This builder for chaining. */ public Builder setGreen(float value) { - + green_ = value; onChanged(); return this; } /** - * - * *
      * The amount of green in the color as a value in the interval [0, 1].
      * 
* * float green = 2; - * * @return This builder for chaining. */ public Builder clearGreen() { - + green_ = 0F; onChanged(); return this; } - private float blue_; + private float blue_ ; /** - * - * *
      * The amount of blue in the color as a value in the interval [0, 1].
      * 
* * float blue = 3; - * * @return The blue. */ @java.lang.Override @@ -635,43 +590,37 @@ public float getBlue() { return blue_; } /** - * - * *
      * The amount of blue in the color as a value in the interval [0, 1].
      * 
* * float blue = 3; - * * @param value The blue to set. * @return This builder for chaining. */ public Builder setBlue(float value) { - + blue_ = value; onChanged(); return this; } /** - * - * *
      * The amount of blue in the color as a value in the interval [0, 1].
      * 
* * float blue = 3; - * * @return This builder for chaining. */ public Builder clearBlue() { - + blue_ = 0F; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -681,12 +630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Color) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Color) private static final com.google.privacy.dlp.v2.Color DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Color(); } @@ -695,16 +644,16 @@ public static com.google.privacy.dlp.v2.Color getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Color parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Color(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Color parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Color(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,4 +668,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Color getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java similarity index 54% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java index 236bc61f..56c96b2c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java @@ -1,63 +1,38 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ColorOrBuilder - extends +public interface ColorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Color) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The amount of red in the color as a value in the interval [0, 1].
    * 
* * float red = 1; - * * @return The red. */ float getRed(); /** - * - * *
    * The amount of green in the color as a value in the interval [0, 1].
    * 
* * float green = 2; - * * @return The green. */ float getGreen(); /** - * - * *
    * The amount of blue in the color as a value in the interval [0, 1].
    * 
* * float blue = 3; - * * @return The blue. */ float getBlue(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java index ae32879c..2f2f7cf1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Represents a container that may contain DLP findings.
  * Examples of a container include a file, table, or database record.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Container}
  */
-public final class Container extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Container extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Container)
     ContainerOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Container.newBuilder() to construct.
   private Container(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Container() {
     type_ = "";
     projectId_ = "";
@@ -49,15 +31,16 @@ private Container() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Container();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Container(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,108 +59,95 @@ private Container(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            type_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              projectId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            projectId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              fullPath_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            fullPath_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              rootPath_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            rootPath_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              relativePath_ = s;
-              break;
+            relativePath_ = s;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 58: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Container_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.Container.class,
-            com.google.privacy.dlp.v2.Container.Builder.class);
+            com.google.privacy.dlp.v2.Container.class, com.google.privacy.dlp.v2.Container.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object type_;
   /**
-   *
-   *
    * 
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; - * * @return The type. */ @java.lang.Override @@ -186,29 +156,29 @@ 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; } } /** - * - * *
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; - * * @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 { @@ -219,15 +189,12 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** - * - * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -236,30 +203,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -270,8 +237,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int FULL_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object fullPath_; /** - * - * *
    * A string representation of the full container name.
    * Examples:
@@ -280,7 +245,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string full_path = 3; - * * @return The fullPath. */ @java.lang.Override @@ -289,15 +253,14 @@ public java.lang.String getFullPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullPath_ = s; return s; } } /** - * - * *
    * A string representation of the full container name.
    * Examples:
@@ -306,15 +269,16 @@ public java.lang.String getFullPath() {
    * 
* * string full_path = 3; - * * @return The bytes for fullPath. */ @java.lang.Override - public com.google.protobuf.ByteString getFullPathBytes() { + public com.google.protobuf.ByteString + getFullPathBytes() { java.lang.Object ref = fullPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullPath_ = b; return b; } else { @@ -325,8 +289,6 @@ public com.google.protobuf.ByteString getFullPathBytes() { public static final int ROOT_PATH_FIELD_NUMBER = 4; private volatile java.lang.Object rootPath_; /** - * - * *
    * The root of the container.
    * Examples:
@@ -337,7 +299,6 @@ public com.google.protobuf.ByteString getFullPathBytes() {
    * 
* * string root_path = 4; - * * @return The rootPath. */ @java.lang.Override @@ -346,15 +307,14 @@ public java.lang.String getRootPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; } } /** - * - * *
    * The root of the container.
    * Examples:
@@ -365,15 +325,16 @@ public java.lang.String getRootPath() {
    * 
* * string root_path = 4; - * * @return The bytes for rootPath. */ @java.lang.Override - public com.google.protobuf.ByteString getRootPathBytes() { + public com.google.protobuf.ByteString + getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rootPath_ = b; return b; } else { @@ -384,8 +345,6 @@ public com.google.protobuf.ByteString getRootPathBytes() { public static final int RELATIVE_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object relativePath_; /** - * - * *
    * The rest of the path after the root.
    * Examples:
@@ -396,7 +355,6 @@ public com.google.protobuf.ByteString getRootPathBytes() {
    * 
* * string relative_path = 5; - * * @return The relativePath. */ @java.lang.Override @@ -405,15 +363,14 @@ public java.lang.String getRelativePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativePath_ = s; return s; } } /** - * - * *
    * The rest of the path after the root.
    * Examples:
@@ -424,15 +381,16 @@ public java.lang.String getRelativePath() {
    * 
* * string relative_path = 5; - * * @return The bytes for relativePath. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativePathBytes() { + public com.google.protobuf.ByteString + getRelativePathBytes() { java.lang.Object ref = relativePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativePath_ = b; return b; } else { @@ -443,8 +401,6 @@ public com.google.protobuf.ByteString getRelativePathBytes() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -453,7 +409,6 @@ public com.google.protobuf.ByteString getRelativePathBytes() {
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -461,8 +416,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -471,7 +424,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -479,8 +431,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -498,15 +448,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int VERSION_FIELD_NUMBER = 7;
   private volatile java.lang.Object version_;
   /**
-   *
-   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; - * * @return The version. */ @java.lang.Override @@ -515,30 +462,30 @@ 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; } } /** - * - * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -547,7 +494,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -559,7 +505,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -606,7 +553,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, relativePath_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, version_); @@ -619,23 +567,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.Container)) { return super.equals(obj); } com.google.privacy.dlp.v2.Container other = (com.google.privacy.dlp.v2.Container) obj; - if (!getType().equals(other.getType())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getFullPath().equals(other.getFullPath())) return false; - if (!getRootPath().equals(other.getRootPath())) return false; - if (!getRelativePath().equals(other.getRelativePath())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getFullPath() + .equals(other.getFullPath())) return false; + if (!getRootPath() + .equals(other.getRootPath())) return false; + if (!getRelativePath() + .equals(other.getRelativePath())) 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 (!getVersion().equals(other.getVersion())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -668,103 +623,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Container parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Container parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Container parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Container parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Container parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Container parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Container parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Container parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Container parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Container parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Container 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.privacy.dlp.v2.Container parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Container parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Container parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Container prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a container that may contain DLP findings.
    * Examples of a container include a file, table, or database record.
@@ -772,23 +721,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Container}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Container)
       com.google.privacy.dlp.v2.ContainerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Container_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Container.class,
-              com.google.privacy.dlp.v2.Container.Builder.class);
+              com.google.privacy.dlp.v2.Container.class, com.google.privacy.dlp.v2.Container.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.Container.newBuilder()
@@ -796,15 +743,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -830,9 +778,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Container_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_descriptor;
     }
 
     @java.lang.Override
@@ -871,39 +819,38 @@ public com.google.privacy.dlp.v2.Container buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Container) {
-        return mergeFrom((com.google.privacy.dlp.v2.Container) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Container)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -970,20 +917,18 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
-     *
-     *
      * 
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; - * * @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; @@ -992,21 +937,20 @@ public java.lang.String getType() { } } /** - * - * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; - * * @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 { @@ -1014,61 +958,54 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1076,21 +1013,19 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1099,22 +1034,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1122,64 +1056,57 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1187,8 +1114,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object fullPath_ = ""; /** - * - * *
      * A string representation of the full container name.
      * Examples:
@@ -1197,13 +1122,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string full_path = 3; - * * @return The fullPath. */ public java.lang.String getFullPath() { java.lang.Object ref = fullPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullPath_ = s; return s; @@ -1212,8 +1137,6 @@ public java.lang.String getFullPath() { } } /** - * - * *
      * A string representation of the full container name.
      * Examples:
@@ -1222,14 +1145,15 @@ public java.lang.String getFullPath() {
      * 
* * string full_path = 3; - * * @return The bytes for fullPath. */ - public com.google.protobuf.ByteString getFullPathBytes() { + public com.google.protobuf.ByteString + getFullPathBytes() { java.lang.Object ref = fullPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullPath_ = b; return b; } else { @@ -1237,8 +1161,6 @@ public com.google.protobuf.ByteString getFullPathBytes() { } } /** - * - * *
      * A string representation of the full container name.
      * Examples:
@@ -1247,22 +1169,20 @@ public com.google.protobuf.ByteString getFullPathBytes() {
      * 
* * string full_path = 3; - * * @param value The fullPath to set. * @return This builder for chaining. */ - public Builder setFullPath(java.lang.String value) { + public Builder setFullPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullPath_ = value; onChanged(); return this; } /** - * - * *
      * A string representation of the full container name.
      * Examples:
@@ -1271,18 +1191,15 @@ public Builder setFullPath(java.lang.String value) {
      * 
* * string full_path = 3; - * * @return This builder for chaining. */ public Builder clearFullPath() { - + fullPath_ = getDefaultInstance().getFullPath(); onChanged(); return this; } /** - * - * *
      * A string representation of the full container name.
      * Examples:
@@ -1291,16 +1208,16 @@ public Builder clearFullPath() {
      * 
* * string full_path = 3; - * * @param value The bytes for fullPath to set. * @return This builder for chaining. */ - public Builder setFullPathBytes(com.google.protobuf.ByteString value) { + public Builder setFullPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullPath_ = value; onChanged(); return this; @@ -1308,8 +1225,6 @@ public Builder setFullPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object rootPath_ = ""; /** - * - * *
      * The root of the container.
      * Examples:
@@ -1320,13 +1235,13 @@ public Builder setFullPathBytes(com.google.protobuf.ByteString value) {
      * 
* * string root_path = 4; - * * @return The rootPath. */ public java.lang.String getRootPath() { java.lang.Object ref = rootPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; @@ -1335,8 +1250,6 @@ public java.lang.String getRootPath() { } } /** - * - * *
      * The root of the container.
      * Examples:
@@ -1347,14 +1260,15 @@ public java.lang.String getRootPath() {
      * 
* * string root_path = 4; - * * @return The bytes for rootPath. */ - public com.google.protobuf.ByteString getRootPathBytes() { + public com.google.protobuf.ByteString + getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rootPath_ = b; return b; } else { @@ -1362,8 +1276,6 @@ public com.google.protobuf.ByteString getRootPathBytes() { } } /** - * - * *
      * The root of the container.
      * Examples:
@@ -1374,22 +1286,20 @@ public com.google.protobuf.ByteString getRootPathBytes() {
      * 
* * string root_path = 4; - * * @param value The rootPath to set. * @return This builder for chaining. */ - public Builder setRootPath(java.lang.String value) { + public Builder setRootPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rootPath_ = value; onChanged(); return this; } /** - * - * *
      * The root of the container.
      * Examples:
@@ -1400,18 +1310,15 @@ public Builder setRootPath(java.lang.String value) {
      * 
* * string root_path = 4; - * * @return This builder for chaining. */ public Builder clearRootPath() { - + rootPath_ = getDefaultInstance().getRootPath(); onChanged(); return this; } /** - * - * *
      * The root of the container.
      * Examples:
@@ -1422,16 +1329,16 @@ public Builder clearRootPath() {
      * 
* * string root_path = 4; - * * @param value The bytes for rootPath to set. * @return This builder for chaining. */ - public Builder setRootPathBytes(com.google.protobuf.ByteString value) { + public Builder setRootPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rootPath_ = value; onChanged(); return this; @@ -1439,8 +1346,6 @@ public Builder setRootPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object relativePath_ = ""; /** - * - * *
      * The rest of the path after the root.
      * Examples:
@@ -1451,13 +1356,13 @@ public Builder setRootPathBytes(com.google.protobuf.ByteString value) {
      * 
* * string relative_path = 5; - * * @return The relativePath. */ public java.lang.String getRelativePath() { java.lang.Object ref = relativePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativePath_ = s; return s; @@ -1466,8 +1371,6 @@ public java.lang.String getRelativePath() { } } /** - * - * *
      * The rest of the path after the root.
      * Examples:
@@ -1478,14 +1381,15 @@ public java.lang.String getRelativePath() {
      * 
* * string relative_path = 5; - * * @return The bytes for relativePath. */ - public com.google.protobuf.ByteString getRelativePathBytes() { + public com.google.protobuf.ByteString + getRelativePathBytes() { java.lang.Object ref = relativePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativePath_ = b; return b; } else { @@ -1493,8 +1397,6 @@ public com.google.protobuf.ByteString getRelativePathBytes() { } } /** - * - * *
      * The rest of the path after the root.
      * Examples:
@@ -1505,22 +1407,20 @@ public com.google.protobuf.ByteString getRelativePathBytes() {
      * 
* * string relative_path = 5; - * * @param value The relativePath to set. * @return This builder for chaining. */ - public Builder setRelativePath(java.lang.String value) { + public Builder setRelativePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativePath_ = value; onChanged(); return this; } /** - * - * *
      * The rest of the path after the root.
      * Examples:
@@ -1531,18 +1431,15 @@ public Builder setRelativePath(java.lang.String value) {
      * 
* * string relative_path = 5; - * * @return This builder for chaining. */ public Builder clearRelativePath() { - + relativePath_ = getDefaultInstance().getRelativePath(); onChanged(); return this; } /** - * - * *
      * The rest of the path after the root.
      * Examples:
@@ -1553,16 +1450,16 @@ public Builder clearRelativePath() {
      * 
* * string relative_path = 5; - * * @param value The bytes for relativePath to set. * @return This builder for chaining. */ - public Builder setRelativePathBytes(com.google.protobuf.ByteString value) { + public Builder setRelativePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativePath_ = value; onChanged(); return this; @@ -1570,13 +1467,8 @@ public Builder setRelativePathBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1585,15 +1477,12 @@ public Builder setRelativePathBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1602,21 +1491,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1640,8 +1524,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1651,7 +1533,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1662,8 +1545,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1677,7 +1558,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1689,8 +1570,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1712,8 +1591,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1724,13 +1601,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1744,14 +1619,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1762,17 +1634,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     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_;
@@ -1780,21 +1649,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object version_ = "";
     /**
-     *
-     *
      * 
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1803,22 +1670,21 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1826,71 +1692,64 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1900,12 +1759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Container) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Container) private static final com.google.privacy.dlp.v2.Container DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Container(); } @@ -1914,16 +1773,16 @@ public static com.google.privacy.dlp.v2.Container getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Container parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Container(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Container parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Container(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1938,4 +1797,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Container getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java index 074399de..8fe06fc8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java @@ -1,83 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ContainerOrBuilder - extends +public interface ContainerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Container) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * A string representation of the full container name.
    * Examples:
@@ -86,13 +58,10 @@ public interface ContainerOrBuilder
    * 
* * string full_path = 3; - * * @return The fullPath. */ java.lang.String getFullPath(); /** - * - * *
    * A string representation of the full container name.
    * Examples:
@@ -101,14 +70,12 @@ public interface ContainerOrBuilder
    * 
* * string full_path = 3; - * * @return The bytes for fullPath. */ - com.google.protobuf.ByteString getFullPathBytes(); + com.google.protobuf.ByteString + getFullPathBytes(); /** - * - * *
    * The root of the container.
    * Examples:
@@ -119,13 +86,10 @@ public interface ContainerOrBuilder
    * 
* * string root_path = 4; - * * @return The rootPath. */ java.lang.String getRootPath(); /** - * - * *
    * The root of the container.
    * Examples:
@@ -136,14 +100,12 @@ public interface ContainerOrBuilder
    * 
* * string root_path = 4; - * * @return The bytes for rootPath. */ - com.google.protobuf.ByteString getRootPathBytes(); + com.google.protobuf.ByteString + getRootPathBytes(); /** - * - * *
    * The rest of the path after the root.
    * Examples:
@@ -154,13 +116,10 @@ public interface ContainerOrBuilder
    * 
* * string relative_path = 5; - * * @return The relativePath. */ java.lang.String getRelativePath(); /** - * - * *
    * The rest of the path after the root.
    * Examples:
@@ -171,14 +130,12 @@ public interface ContainerOrBuilder
    * 
* * string relative_path = 5; - * * @return The bytes for relativePath. */ - com.google.protobuf.ByteString getRelativePathBytes(); + com.google.protobuf.ByteString + getRelativePathBytes(); /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -187,13 +144,10 @@ public interface ContainerOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -202,13 +156,10 @@ public interface ContainerOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -221,29 +172,24 @@ public interface ContainerOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java index 0167134a..4a55a04f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Container structure for the content to inspect.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ContentItem} */ -public final class ContentItem extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContentItem extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ContentItem) ContentItemOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContentItem.newBuilder() to construct. private ContentItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ContentItem() {} + private ContentItem() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContentItem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ContentItem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,91 +52,82 @@ private ContentItem( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - dataItemCase_ = 3; - dataItem_ = s; - break; + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + dataItemCase_ = 3; + dataItem_ = s; + break; + } + case 34: { + com.google.privacy.dlp.v2.Table.Builder subBuilder = null; + if (dataItemCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.Table) dataItem_).toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.Table.Builder subBuilder = null; - if (dataItemCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.Table) dataItem_).toBuilder(); - } - dataItem_ = - input.readMessage(com.google.privacy.dlp.v2.Table.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.Table) dataItem_); - dataItem_ = subBuilder.buildPartial(); - } - dataItemCase_ = 4; - break; + dataItem_ = + input.readMessage(com.google.privacy.dlp.v2.Table.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Table) dataItem_); + dataItem_ = subBuilder.buildPartial(); } - case 42: - { - com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null; - if (dataItemCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.ByteContentItem) dataItem_).toBuilder(); - } - dataItem_ = - input.readMessage( - com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ByteContentItem) dataItem_); - dataItem_ = subBuilder.buildPartial(); - } - dataItemCase_ = 5; - break; + dataItemCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null; + if (dataItemCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.ByteContentItem) dataItem_).toBuilder(); + } + dataItem_ = + input.readMessage(com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ByteContentItem) dataItem_); + dataItem_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataItemCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ContentItem.class, - com.google.privacy.dlp.v2.ContentItem.Builder.class); + com.google.privacy.dlp.v2.ContentItem.class, com.google.privacy.dlp.v2.ContentItem.Builder.class); } private int dataItemCase_ = 0; private java.lang.Object dataItem_; - public enum DataItemCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(3), TABLE(4), BYTE_ITEM(5), DATAITEM_NOT_SET(0); private final int value; - private DataItemCase(int value) { this.value = value; } @@ -168,52 +143,42 @@ public static DataItemCase valueOf(int value) { public static DataItemCase forNumber(int value) { switch (value) { - case 3: - return VALUE; - case 4: - return TABLE; - case 5: - return BYTE_ITEM; - case 0: - return DATAITEM_NOT_SET; - default: - return null; + case 3: return VALUE; + case 4: return TABLE; + case 5: return BYTE_ITEM; + case 0: return DATAITEM_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataItemCase getDataItemCase() { - return DataItemCase.forNumber(dataItemCase_); + public DataItemCase + getDataItemCase() { + return DataItemCase.forNumber( + dataItemCase_); } public static final int VALUE_FIELD_NUMBER = 3; /** - * - * *
    * String data to inspect or redact.
    * 
* * string value = 3; - * * @return Whether the value field is set. */ public boolean hasValue() { return dataItemCase_ == 3; } /** - * - * *
    * String data to inspect or redact.
    * 
* * string value = 3; - * * @return The value. */ public java.lang.String getValue() { @@ -224,7 +189,8 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (dataItemCase_ == 3) { dataItem_ = s; @@ -233,24 +199,23 @@ public java.lang.String getValue() { } } /** - * - * *
    * String data to inspect or redact.
    * 
* * string value = 3; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (dataItemCase_ == 3) { ref = dataItem_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (dataItemCase_ == 3) { dataItem_ = b; } @@ -262,8 +227,6 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int TABLE_FIELD_NUMBER = 4; /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -271,7 +234,6 @@ public com.google.protobuf.ByteString getValueBytes() {
    * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return Whether the table field is set. */ @java.lang.Override @@ -279,8 +241,6 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -288,19 +248,16 @@ public boolean hasTable() {
    * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return The table. */ @java.lang.Override public com.google.privacy.dlp.v2.Table getTable() { if (dataItemCase_ == 4) { - return (com.google.privacy.dlp.v2.Table) dataItem_; + return (com.google.privacy.dlp.v2.Table) dataItem_; } return com.google.privacy.dlp.v2.Table.getDefaultInstance(); } /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -312,21 +269,18 @@ public com.google.privacy.dlp.v2.Table getTable() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
     if (dataItemCase_ == 4) {
-      return (com.google.privacy.dlp.v2.Table) dataItem_;
+       return (com.google.privacy.dlp.v2.Table) dataItem_;
     }
     return com.google.privacy.dlp.v2.Table.getDefaultInstance();
   }
 
   public static final int BYTE_ITEM_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; - * * @return Whether the byteItem field is set. */ @java.lang.Override @@ -334,26 +288,21 @@ public boolean hasByteItem() { return dataItemCase_ == 5; } /** - * - * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; - * * @return The byteItem. */ @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { if (dataItemCase_ == 5) { - return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; + return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; } return com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance(); } /** - * - * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
@@ -363,13 +312,12 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() { if (dataItemCase_ == 5) { - return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; + return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; } return com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +329,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataItemCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dataItem_); } @@ -404,14 +353,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dataItem_); } if (dataItemCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.Table) dataItem_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.Table) dataItem_); } if (dataItemCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.ByteContentItem) dataItem_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.ByteContentItem) dataItem_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -421,7 +368,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.privacy.dlp.v2.ContentItem)) { return super.equals(obj); @@ -431,13 +378,16 @@ public boolean equals(final java.lang.Object obj) { if (!getDataItemCase().equals(other.getDataItemCase())) return false; switch (dataItemCase_) { case 3: - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; break; case 4: - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; break; case 5: - if (!getByteItem().equals(other.getByteItem())) return false; + if (!getByteItem() + .equals(other.getByteItem())) return false; break; case 0: default: @@ -474,126 +424,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ContentItem parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ContentItem parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ContentItem parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.ContentItem parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentItem 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.privacy.dlp.v2.ContentItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ContentItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Container structure for the content to inspect.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ContentItem} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ContentItem) com.google.privacy.dlp.v2.ContentItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ContentItem.class, - com.google.privacy.dlp.v2.ContentItem.Builder.class); + com.google.privacy.dlp.v2.ContentItem.class, com.google.privacy.dlp.v2.ContentItem.Builder.class); } // Construct using com.google.privacy.dlp.v2.ContentItem.newBuilder() @@ -601,15 +543,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +562,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_descriptor; } @java.lang.Override @@ -640,8 +583,7 @@ public com.google.privacy.dlp.v2.ContentItem build() { @java.lang.Override public com.google.privacy.dlp.v2.ContentItem buildPartial() { - com.google.privacy.dlp.v2.ContentItem result = - new com.google.privacy.dlp.v2.ContentItem(this); + com.google.privacy.dlp.v2.ContentItem result = new com.google.privacy.dlp.v2.ContentItem(this); if (dataItemCase_ == 3) { result.dataItem_ = dataItem_; } @@ -668,39 +610,38 @@ public com.google.privacy.dlp.v2.ContentItem buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ContentItem) { - return mergeFrom((com.google.privacy.dlp.v2.ContentItem) other); + return mergeFrom((com.google.privacy.dlp.v2.ContentItem)other); } else { super.mergeFrom(other); return this; @@ -710,27 +651,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.ContentItem other) { if (other == com.google.privacy.dlp.v2.ContentItem.getDefaultInstance()) return this; switch (other.getDataItemCase()) { - case VALUE: - { - dataItemCase_ = 3; - dataItem_ = other.dataItem_; - onChanged(); - break; - } - case TABLE: - { - mergeTable(other.getTable()); - break; - } - case BYTE_ITEM: - { - mergeByteItem(other.getByteItem()); - break; - } - case DATAITEM_NOT_SET: - { - break; - } + case VALUE: { + dataItemCase_ = 3; + dataItem_ = other.dataItem_; + onChanged(); + break; + } + case TABLE: { + mergeTable(other.getTable()); + break; + } + case BYTE_ITEM: { + mergeByteItem(other.getByteItem()); + break; + } + case DATAITEM_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -760,12 +697,12 @@ public Builder mergeFrom( } return this; } - private int dataItemCase_ = 0; private java.lang.Object dataItem_; - - public DataItemCase getDataItemCase() { - return DataItemCase.forNumber(dataItemCase_); + public DataItemCase + getDataItemCase() { + return DataItemCase.forNumber( + dataItemCase_); } public Builder clearDataItem() { @@ -775,15 +712,13 @@ public Builder clearDataItem() { return this; } + /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @return Whether the value field is set. */ @java.lang.Override @@ -791,14 +726,11 @@ public boolean hasValue() { return dataItemCase_ == 3; } /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @return The value. */ @java.lang.Override @@ -808,7 +740,8 @@ public java.lang.String getValue() { ref = dataItem_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (dataItemCase_ == 3) { dataItem_ = s; @@ -819,25 +752,24 @@ public java.lang.String getValue() { } } /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (dataItemCase_ == 3) { ref = dataItem_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (dataItemCase_ == 3) { dataItem_ = b; } @@ -847,35 +779,30 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - dataItemCase_ = 3; + throw new NullPointerException(); + } + dataItemCase_ = 3; dataItem_ = value; onChanged(); return this; } /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -887,22 +814,20 @@ public Builder clearValue() { return this; } /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); dataItemCase_ = 3; dataItem_ = value; onChanged(); @@ -910,13 +835,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Table, - com.google.privacy.dlp.v2.Table.Builder, - com.google.privacy.dlp.v2.TableOrBuilder> - tableBuilder_; + com.google.privacy.dlp.v2.Table, com.google.privacy.dlp.v2.Table.Builder, com.google.privacy.dlp.v2.TableOrBuilder> tableBuilder_; /** - * - * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -924,7 +844,6 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return Whether the table field is set. */ @java.lang.Override @@ -932,8 +851,6 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** - * - * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -941,7 +858,6 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return The table. */ @java.lang.Override @@ -959,8 +875,6 @@ public com.google.privacy.dlp.v2.Table getTable() { } } /** - * - * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -983,8 +897,6 @@ public Builder setTable(com.google.privacy.dlp.v2.Table value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -993,7 +905,8 @@ public Builder setTable(com.google.privacy.dlp.v2.Table value) {
      *
      * .google.privacy.dlp.v2.Table table = 4;
      */
-    public Builder setTable(com.google.privacy.dlp.v2.Table.Builder builderForValue) {
+    public Builder setTable(
+        com.google.privacy.dlp.v2.Table.Builder builderForValue) {
       if (tableBuilder_ == null) {
         dataItem_ = builderForValue.build();
         onChanged();
@@ -1004,8 +917,6 @@ public Builder setTable(com.google.privacy.dlp.v2.Table.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1016,13 +927,10 @@ public Builder setTable(com.google.privacy.dlp.v2.Table.Builder builderForValue)
      */
     public Builder mergeTable(com.google.privacy.dlp.v2.Table value) {
       if (tableBuilder_ == null) {
-        if (dataItemCase_ == 4
-            && dataItem_ != com.google.privacy.dlp.v2.Table.getDefaultInstance()) {
-          dataItem_ =
-              com.google.privacy.dlp.v2.Table.newBuilder(
-                      (com.google.privacy.dlp.v2.Table) dataItem_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (dataItemCase_ == 4 &&
+            dataItem_ != com.google.privacy.dlp.v2.Table.getDefaultInstance()) {
+          dataItem_ = com.google.privacy.dlp.v2.Table.newBuilder((com.google.privacy.dlp.v2.Table) dataItem_)
+              .mergeFrom(value).buildPartial();
         } else {
           dataItem_ = value;
         }
@@ -1037,8 +945,6 @@ public Builder mergeTable(com.google.privacy.dlp.v2.Table value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1064,8 +970,6 @@ public Builder clearTable() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1078,8 +982,6 @@ public com.google.privacy.dlp.v2.Table.Builder getTableBuilder() {
       return getTableFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1100,8 +1002,6 @@ public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1111,42 +1011,32 @@ public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
      * .google.privacy.dlp.v2.Table table = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Table,
-            com.google.privacy.dlp.v2.Table.Builder,
-            com.google.privacy.dlp.v2.TableOrBuilder>
+        com.google.privacy.dlp.v2.Table, com.google.privacy.dlp.v2.Table.Builder, com.google.privacy.dlp.v2.TableOrBuilder> 
         getTableFieldBuilder() {
       if (tableBuilder_ == null) {
         if (!(dataItemCase_ == 4)) {
           dataItem_ = com.google.privacy.dlp.v2.Table.getDefaultInstance();
         }
-        tableBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.Table,
-                com.google.privacy.dlp.v2.Table.Builder,
-                com.google.privacy.dlp.v2.TableOrBuilder>(
-                (com.google.privacy.dlp.v2.Table) dataItem_, getParentForChildren(), isClean());
+        tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.Table, com.google.privacy.dlp.v2.Table.Builder, com.google.privacy.dlp.v2.TableOrBuilder>(
+                (com.google.privacy.dlp.v2.Table) dataItem_,
+                getParentForChildren(),
+                isClean());
         dataItem_ = null;
       }
       dataItemCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return tableBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.ByteContentItem,
-            com.google.privacy.dlp.v2.ByteContentItem.Builder,
-            com.google.privacy.dlp.v2.ByteContentItemOrBuilder>
-        byteItemBuilder_;
+        com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> byteItemBuilder_;
     /**
-     *
-     *
      * 
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; - * * @return Whether the byteItem field is set. */ @java.lang.Override @@ -1154,14 +1044,11 @@ public boolean hasByteItem() { return dataItemCase_ == 5; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; - * * @return The byteItem. */ @java.lang.Override @@ -1179,8 +1066,6 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { } } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1201,15 +1086,14 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; */ - public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { + public Builder setByteItem( + com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { if (byteItemBuilder_ == null) { dataItem_ = builderForValue.build(); onChanged(); @@ -1220,8 +1104,6 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder bui return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1230,13 +1112,10 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder bui */ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { if (byteItemBuilder_ == null) { - if (dataItemCase_ == 5 - && dataItem_ != com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance()) { - dataItem_ = - com.google.privacy.dlp.v2.ByteContentItem.newBuilder( - (com.google.privacy.dlp.v2.ByteContentItem) dataItem_) - .mergeFrom(value) - .buildPartial(); + if (dataItemCase_ == 5 && + dataItem_ != com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance()) { + dataItem_ = com.google.privacy.dlp.v2.ByteContentItem.newBuilder((com.google.privacy.dlp.v2.ByteContentItem) dataItem_) + .mergeFrom(value).buildPartial(); } else { dataItem_ = value; } @@ -1251,8 +1130,6 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1276,8 +1153,6 @@ public Builder clearByteItem() { return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1288,8 +1163,6 @@ public com.google.privacy.dlp.v2.ByteContentItem.Builder getByteItemBuilder() { return getByteItemFieldBuilder().getBuilder(); } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1308,8 +1181,6 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1317,32 +1188,26 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, - com.google.privacy.dlp.v2.ByteContentItem.Builder, - com.google.privacy.dlp.v2.ByteContentItemOrBuilder> + com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> getByteItemFieldBuilder() { if (byteItemBuilder_ == null) { if (!(dataItemCase_ == 5)) { dataItem_ = com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance(); } - byteItemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, - com.google.privacy.dlp.v2.ByteContentItem.Builder, - com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( + byteItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( (com.google.privacy.dlp.v2.ByteContentItem) dataItem_, getParentForChildren(), isClean()); dataItem_ = null; } dataItemCase_ = 5; - onChanged(); - ; + onChanged();; return byteItemBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1352,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ContentItem) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ContentItem) private static final com.google.privacy.dlp.v2.ContentItem DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ContentItem(); } @@ -1366,16 +1231,16 @@ public static com.google.privacy.dlp.v2.ContentItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContentItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentItem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContentItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContentItem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1255,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ContentItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java index 07826488..09fa56ea 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java @@ -1,68 +1,42 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ContentItemOrBuilder - extends +public interface ContentItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentItem) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * String data to inspect or redact.
    * 
* * string value = 3; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * String data to inspect or redact.
    * 
* * string value = 3; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * String data to inspect or redact.
    * 
* * string value = 3; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -70,13 +44,10 @@ public interface ContentItemOrBuilder
    * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -84,13 +55,10 @@ public interface ContentItemOrBuilder
    * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return The table. */ com.google.privacy.dlp.v2.Table getTable(); /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -102,32 +70,24 @@ public interface ContentItemOrBuilder
   com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder();
 
   /**
-   *
-   *
    * 
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; - * * @return Whether the byteItem field is set. */ boolean hasByteItem(); /** - * - * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; - * * @return The byteItem. */ com.google.privacy.dlp.v2.ByteContentItem getByteItem(); /** - * - * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java index 3a01e73f..0c2770d0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Precise location of the finding within a document, record, image, or metadata
  * container.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.ContentLocation}
  */
-public final class ContentLocation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContentLocation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ContentLocation)
     ContentLocationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContentLocation.newBuilder() to construct.
   private ContentLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContentLocation() {
     containerName_ = "";
     containerVersion_ = "";
@@ -45,15 +27,16 @@ private ContentLocation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContentLocation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ContentLocation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,139 +55,123 @@ private ContentLocation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              containerName_ = s;
-              break;
+            containerName_ = s;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.RecordLocation.Builder subBuilder = null;
+            if (locationCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.RecordLocation) location_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.RecordLocation.Builder subBuilder = null;
-              if (locationCase_ == 2) {
-                subBuilder = ((com.google.privacy.dlp.v2.RecordLocation) location_).toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RecordLocation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordLocation) location_);
-                location_ = subBuilder.buildPartial();
-              }
-              locationCase_ = 2;
-              break;
+            location_ =
+                input.readMessage(com.google.privacy.dlp.v2.RecordLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordLocation) location_);
+              location_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.ImageLocation.Builder subBuilder = null;
-              if (locationCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.ImageLocation) location_).toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.ImageLocation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageLocation) location_);
-                location_ = subBuilder.buildPartial();
-              }
-              locationCase_ = 3;
-              break;
+            locationCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.ImageLocation.Builder subBuilder = null;
+            if (locationCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.ImageLocation) location_).toBuilder();
+            }
+            location_ =
+                input.readMessage(com.google.privacy.dlp.v2.ImageLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageLocation) location_);
+              location_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.privacy.dlp.v2.DocumentLocation.Builder subBuilder = null;
-              if (locationCase_ == 5) {
-                subBuilder = ((com.google.privacy.dlp.v2.DocumentLocation) location_).toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.DocumentLocation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.DocumentLocation) location_);
-                location_ = subBuilder.buildPartial();
-              }
-              locationCase_ = 5;
-              break;
+            locationCase_ = 3;
+            break;
+          }
+          case 42: {
+            com.google.privacy.dlp.v2.DocumentLocation.Builder subBuilder = null;
+            if (locationCase_ == 5) {
+              subBuilder = ((com.google.privacy.dlp.v2.DocumentLocation) location_).toBuilder();
+            }
+            location_ =
+                input.readMessage(com.google.privacy.dlp.v2.DocumentLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.DocumentLocation) location_);
+              location_ = subBuilder.buildPartial();
+            }
+            locationCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (containerTimestamp_ != null) {
+              subBuilder = containerTimestamp_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (containerTimestamp_ != null) {
-                subBuilder = containerTimestamp_.toBuilder();
-              }
-              containerTimestamp_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(containerTimestamp_);
-                containerTimestamp_ = subBuilder.buildPartial();
-              }
-
-              break;
+            containerTimestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(containerTimestamp_);
+              containerTimestamp_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              containerVersion_ = s;
-              break;
+            break;
+          }
+          case 58: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            containerVersion_ = s;
+            break;
+          }
+          case 66: {
+            com.google.privacy.dlp.v2.MetadataLocation.Builder subBuilder = null;
+            if (locationCase_ == 8) {
+              subBuilder = ((com.google.privacy.dlp.v2.MetadataLocation) location_).toBuilder();
             }
-          case 66:
-            {
-              com.google.privacy.dlp.v2.MetadataLocation.Builder subBuilder = null;
-              if (locationCase_ == 8) {
-                subBuilder = ((com.google.privacy.dlp.v2.MetadataLocation) location_).toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.MetadataLocation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) location_);
-                location_ = subBuilder.buildPartial();
-              }
-              locationCase_ = 8;
-              break;
+            location_ =
+                input.readMessage(com.google.privacy.dlp.v2.MetadataLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) location_);
+              location_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            locationCase_ = 8;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.ContentLocation.class,
-            com.google.privacy.dlp.v2.ContentLocation.Builder.class);
+            com.google.privacy.dlp.v2.ContentLocation.class, com.google.privacy.dlp.v2.ContentLocation.Builder.class);
   }
 
   private int locationCase_ = 0;
   private java.lang.Object location_;
-
   public enum LocationCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RECORD_LOCATION(2),
     IMAGE_LOCATION(3),
@@ -212,7 +179,6 @@ public enum LocationCase
     METADATA_LOCATION(8),
     LOCATION_NOT_SET(0);
     private final int value;
-
     private LocationCase(int value) {
       this.value = value;
     }
@@ -228,35 +194,28 @@ public static LocationCase valueOf(int value) {
 
     public static LocationCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return RECORD_LOCATION;
-        case 3:
-          return IMAGE_LOCATION;
-        case 5:
-          return DOCUMENT_LOCATION;
-        case 8:
-          return METADATA_LOCATION;
-        case 0:
-          return LOCATION_NOT_SET;
-        default:
-          return null;
+        case 2: return RECORD_LOCATION;
+        case 3: return IMAGE_LOCATION;
+        case 5: return DOCUMENT_LOCATION;
+        case 8: return METADATA_LOCATION;
+        case 0: return LOCATION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public LocationCase getLocationCase() {
-    return LocationCase.forNumber(locationCase_);
+  public LocationCase
+  getLocationCase() {
+    return LocationCase.forNumber(
+        locationCase_);
   }
 
   public static final int CONTAINER_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object containerName_;
   /**
-   *
-   *
    * 
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -269,7 +228,6 @@ public LocationCase getLocationCase() {
    * 
* * string container_name = 1; - * * @return The containerName. */ @java.lang.Override @@ -278,15 +236,14 @@ public java.lang.String getContainerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerName_ = s; return s; } } /** - * - * *
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -299,15 +256,16 @@ public java.lang.String getContainerName() {
    * 
* * string container_name = 1; - * * @return The bytes for containerName. */ @java.lang.Override - public com.google.protobuf.ByteString getContainerNameBytes() { + public com.google.protobuf.ByteString + getContainerNameBytes() { java.lang.Object ref = containerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); containerName_ = b; return b; } else { @@ -317,14 +275,11 @@ public com.google.protobuf.ByteString getContainerNameBytes() { public static final int RECORD_LOCATION_FIELD_NUMBER = 2; /** - * - * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; - * * @return Whether the recordLocation field is set. */ @java.lang.Override @@ -332,26 +287,21 @@ public boolean hasRecordLocation() { return locationCase_ == 2; } /** - * - * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; - * * @return The recordLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { if (locationCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordLocation) location_; + return (com.google.privacy.dlp.v2.RecordLocation) location_; } return com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance(); } /** - * - * *
    * Location within a row or record of a database table.
    * 
@@ -361,21 +311,18 @@ public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { @java.lang.Override public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuilder() { if (locationCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordLocation) location_; + return (com.google.privacy.dlp.v2.RecordLocation) location_; } return com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance(); } public static final int IMAGE_LOCATION_FIELD_NUMBER = 3; /** - * - * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; - * * @return Whether the imageLocation field is set. */ @java.lang.Override @@ -383,26 +330,21 @@ public boolean hasImageLocation() { return locationCase_ == 3; } /** - * - * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; - * * @return The imageLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { if (locationCase_ == 3) { - return (com.google.privacy.dlp.v2.ImageLocation) location_; + return (com.google.privacy.dlp.v2.ImageLocation) location_; } return com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance(); } /** - * - * *
    * Location within an image's pixels.
    * 
@@ -412,21 +354,18 @@ public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { @java.lang.Override public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilder() { if (locationCase_ == 3) { - return (com.google.privacy.dlp.v2.ImageLocation) location_; + return (com.google.privacy.dlp.v2.ImageLocation) location_; } return com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance(); } public static final int DOCUMENT_LOCATION_FIELD_NUMBER = 5; /** - * - * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; - * * @return Whether the documentLocation field is set. */ @java.lang.Override @@ -434,26 +373,21 @@ public boolean hasDocumentLocation() { return locationCase_ == 5; } /** - * - * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; - * * @return The documentLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { if (locationCase_ == 5) { - return (com.google.privacy.dlp.v2.DocumentLocation) location_; + return (com.google.privacy.dlp.v2.DocumentLocation) location_; } return com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } /** - * - * *
    * Location data for document files.
    * 
@@ -463,21 +397,18 @@ public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { @java.lang.Override public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOrBuilder() { if (locationCase_ == 5) { - return (com.google.privacy.dlp.v2.DocumentLocation) location_; + return (com.google.privacy.dlp.v2.DocumentLocation) location_; } return com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } public static final int METADATA_LOCATION_FIELD_NUMBER = 8; /** - * - * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; - * * @return Whether the metadataLocation field is set. */ @java.lang.Override @@ -485,26 +416,21 @@ public boolean hasMetadataLocation() { return locationCase_ == 8; } /** - * - * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; - * * @return The metadataLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { if (locationCase_ == 8) { - return (com.google.privacy.dlp.v2.MetadataLocation) location_; + return (com.google.privacy.dlp.v2.MetadataLocation) location_; } return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); } /** - * - * *
    * Location within the metadata for inspected content.
    * 
@@ -514,7 +440,7 @@ public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { @java.lang.Override public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder() { if (locationCase_ == 8) { - return (com.google.privacy.dlp.v2.MetadataLocation) location_; + return (com.google.privacy.dlp.v2.MetadataLocation) location_; } return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); } @@ -522,8 +448,6 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp containerTimestamp_; /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -532,7 +456,6 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return Whether the containerTimestamp field is set. */ @java.lang.Override @@ -540,8 +463,6 @@ public boolean hasContainerTimestamp() { return containerTimestamp_ != null; } /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -550,18 +471,13 @@ public boolean hasContainerTimestamp() {
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return The containerTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getContainerTimestamp() { - return containerTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : containerTimestamp_; + return containerTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; } /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -579,15 +495,12 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
   public static final int CONTAINER_VERSION_FIELD_NUMBER = 7;
   private volatile java.lang.Object containerVersion_;
   /**
-   *
-   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; - * * @return The containerVersion. */ @java.lang.Override @@ -596,30 +509,30 @@ public java.lang.String getContainerVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerVersion_ = s; return s; } } /** - * - * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; - * * @return The bytes for containerVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getContainerVersionBytes() { + public com.google.protobuf.ByteString + getContainerVersionBytes() { java.lang.Object ref = containerVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); containerVersion_ = b; return b; } else { @@ -628,7 +541,6 @@ public com.google.protobuf.ByteString getContainerVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -640,7 +552,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, containerName_); } @@ -675,30 +588,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, containerName_); } if (locationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.RecordLocation) location_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.RecordLocation) location_); } if (locationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.ImageLocation) location_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.ImageLocation) location_); } if (locationCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.DocumentLocation) location_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.DocumentLocation) location_); } if (containerTimestamp_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getContainerTimestamp()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getContainerTimestamp()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, containerVersion_); } if (locationCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.privacy.dlp.v2.MetadataLocation) location_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.privacy.dlp.v2.MetadataLocation) location_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -708,33 +618,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ContentLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ContentLocation other = - (com.google.privacy.dlp.v2.ContentLocation) obj; + com.google.privacy.dlp.v2.ContentLocation other = (com.google.privacy.dlp.v2.ContentLocation) obj; - if (!getContainerName().equals(other.getContainerName())) return false; + if (!getContainerName() + .equals(other.getContainerName())) return false; if (hasContainerTimestamp() != other.hasContainerTimestamp()) return false; if (hasContainerTimestamp()) { - if (!getContainerTimestamp().equals(other.getContainerTimestamp())) return false; + if (!getContainerTimestamp() + .equals(other.getContainerTimestamp())) return false; } - if (!getContainerVersion().equals(other.getContainerVersion())) return false; + if (!getContainerVersion() + .equals(other.getContainerVersion())) return false; if (!getLocationCase().equals(other.getLocationCase())) return false; switch (locationCase_) { case 2: - if (!getRecordLocation().equals(other.getRecordLocation())) return false; + if (!getRecordLocation() + .equals(other.getRecordLocation())) return false; break; case 3: - if (!getImageLocation().equals(other.getImageLocation())) return false; + if (!getImageLocation() + .equals(other.getImageLocation())) return false; break; case 5: - if (!getDocumentLocation().equals(other.getDocumentLocation())) return false; + if (!getDocumentLocation() + .equals(other.getDocumentLocation())) return false; break; case 8: - if (!getMetadataLocation().equals(other.getMetadataLocation())) return false; + if (!getMetadataLocation() + .equals(other.getMetadataLocation())) return false; break; case 0: default: @@ -783,104 +699,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ContentLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ContentLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ContentLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ContentLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Precise location of the finding within a document, record, image, or metadata
    * container.
@@ -888,23 +797,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.ContentLocation}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ContentLocation)
       com.google.privacy.dlp.v2.ContentLocationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.ContentLocation.class,
-              com.google.privacy.dlp.v2.ContentLocation.Builder.class);
+              com.google.privacy.dlp.v2.ContentLocation.class, com.google.privacy.dlp.v2.ContentLocation.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.ContentLocation.newBuilder()
@@ -912,15 +819,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -940,9 +848,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
     }
 
     @java.lang.Override
@@ -961,8 +869,7 @@ public com.google.privacy.dlp.v2.ContentLocation build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.ContentLocation buildPartial() {
-      com.google.privacy.dlp.v2.ContentLocation result =
-          new com.google.privacy.dlp.v2.ContentLocation(this);
+      com.google.privacy.dlp.v2.ContentLocation result = new com.google.privacy.dlp.v2.ContentLocation(this);
       result.containerName_ = containerName_;
       if (locationCase_ == 2) {
         if (recordLocationBuilder_ == null) {
@@ -1007,39 +914,38 @@ public com.google.privacy.dlp.v2.ContentLocation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.ContentLocation) {
-        return mergeFrom((com.google.privacy.dlp.v2.ContentLocation) other);
+        return mergeFrom((com.google.privacy.dlp.v2.ContentLocation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1060,30 +966,25 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ContentLocation other) {
         onChanged();
       }
       switch (other.getLocationCase()) {
-        case RECORD_LOCATION:
-          {
-            mergeRecordLocation(other.getRecordLocation());
-            break;
-          }
-        case IMAGE_LOCATION:
-          {
-            mergeImageLocation(other.getImageLocation());
-            break;
-          }
-        case DOCUMENT_LOCATION:
-          {
-            mergeDocumentLocation(other.getDocumentLocation());
-            break;
-          }
-        case METADATA_LOCATION:
-          {
-            mergeMetadataLocation(other.getMetadataLocation());
-            break;
-          }
-        case LOCATION_NOT_SET:
-          {
-            break;
-          }
+        case RECORD_LOCATION: {
+          mergeRecordLocation(other.getRecordLocation());
+          break;
+        }
+        case IMAGE_LOCATION: {
+          mergeImageLocation(other.getImageLocation());
+          break;
+        }
+        case DOCUMENT_LOCATION: {
+          mergeDocumentLocation(other.getDocumentLocation());
+          break;
+        }
+        case METADATA_LOCATION: {
+          mergeMetadataLocation(other.getMetadataLocation());
+          break;
+        }
+        case LOCATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1113,12 +1014,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int locationCase_ = 0;
     private java.lang.Object location_;
-
-    public LocationCase getLocationCase() {
-      return LocationCase.forNumber(locationCase_);
+    public LocationCase
+        getLocationCase() {
+      return LocationCase.forNumber(
+          locationCase_);
     }
 
     public Builder clearLocation() {
@@ -1128,10 +1029,9 @@ public Builder clearLocation() {
       return this;
     }
 
+
     private java.lang.Object containerName_ = "";
     /**
-     *
-     *
      * 
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1144,13 +1044,13 @@ public Builder clearLocation() {
      * 
* * string container_name = 1; - * * @return The containerName. */ public java.lang.String getContainerName() { java.lang.Object ref = containerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerName_ = s; return s; @@ -1159,8 +1059,6 @@ public java.lang.String getContainerName() { } } /** - * - * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1173,14 +1071,15 @@ public java.lang.String getContainerName() {
      * 
* * string container_name = 1; - * * @return The bytes for containerName. */ - public com.google.protobuf.ByteString getContainerNameBytes() { + public com.google.protobuf.ByteString + getContainerNameBytes() { java.lang.Object ref = containerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); containerName_ = b; return b; } else { @@ -1188,8 +1087,6 @@ public com.google.protobuf.ByteString getContainerNameBytes() { } } /** - * - * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1202,22 +1099,20 @@ public com.google.protobuf.ByteString getContainerNameBytes() {
      * 
* * string container_name = 1; - * * @param value The containerName to set. * @return This builder for chaining. */ - public Builder setContainerName(java.lang.String value) { + public Builder setContainerName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + containerName_ = value; onChanged(); return this; } /** - * - * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1230,18 +1125,15 @@ public Builder setContainerName(java.lang.String value) {
      * 
* * string container_name = 1; - * * @return This builder for chaining. */ public Builder clearContainerName() { - + containerName_ = getDefaultInstance().getContainerName(); onChanged(); return this; } /** - * - * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1254,35 +1146,29 @@ public Builder clearContainerName() {
      * 
* * string container_name = 1; - * * @param value The bytes for containerName to set. * @return This builder for chaining. */ - public Builder setContainerNameBytes(com.google.protobuf.ByteString value) { + public Builder setContainerNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + containerName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordLocation, - com.google.privacy.dlp.v2.RecordLocation.Builder, - com.google.privacy.dlp.v2.RecordLocationOrBuilder> - recordLocationBuilder_; + com.google.privacy.dlp.v2.RecordLocation, com.google.privacy.dlp.v2.RecordLocation.Builder, com.google.privacy.dlp.v2.RecordLocationOrBuilder> recordLocationBuilder_; /** - * - * *
      * Location within a row or record of a database table.
      * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; - * * @return Whether the recordLocation field is set. */ @java.lang.Override @@ -1290,14 +1176,11 @@ public boolean hasRecordLocation() { return locationCase_ == 2; } /** - * - * *
      * Location within a row or record of a database table.
      * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; - * * @return The recordLocation. */ @java.lang.Override @@ -1315,8 +1198,6 @@ public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { } } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1337,8 +1218,6 @@ public Builder setRecordLocation(com.google.privacy.dlp.v2.RecordLocation value) return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1357,8 +1236,6 @@ public Builder setRecordLocation( return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1367,13 +1244,10 @@ public Builder setRecordLocation( */ public Builder mergeRecordLocation(com.google.privacy.dlp.v2.RecordLocation value) { if (recordLocationBuilder_ == null) { - if (locationCase_ == 2 - && location_ != com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance()) { - location_ = - com.google.privacy.dlp.v2.RecordLocation.newBuilder( - (com.google.privacy.dlp.v2.RecordLocation) location_) - .mergeFrom(value) - .buildPartial(); + if (locationCase_ == 2 && + location_ != com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance()) { + location_ = com.google.privacy.dlp.v2.RecordLocation.newBuilder((com.google.privacy.dlp.v2.RecordLocation) location_) + .mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -1388,8 +1262,6 @@ public Builder mergeRecordLocation(com.google.privacy.dlp.v2.RecordLocation valu return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1413,8 +1285,6 @@ public Builder clearRecordLocation() { return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1425,8 +1295,6 @@ public com.google.privacy.dlp.v2.RecordLocation.Builder getRecordLocationBuilder return getRecordLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1445,8 +1313,6 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil } } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1454,44 +1320,32 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil * .google.privacy.dlp.v2.RecordLocation record_location = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordLocation, - com.google.privacy.dlp.v2.RecordLocation.Builder, - com.google.privacy.dlp.v2.RecordLocationOrBuilder> + com.google.privacy.dlp.v2.RecordLocation, com.google.privacy.dlp.v2.RecordLocation.Builder, com.google.privacy.dlp.v2.RecordLocationOrBuilder> getRecordLocationFieldBuilder() { if (recordLocationBuilder_ == null) { if (!(locationCase_ == 2)) { location_ = com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance(); } - recordLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordLocation, - com.google.privacy.dlp.v2.RecordLocation.Builder, - com.google.privacy.dlp.v2.RecordLocationOrBuilder>( + recordLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordLocation, com.google.privacy.dlp.v2.RecordLocation.Builder, com.google.privacy.dlp.v2.RecordLocationOrBuilder>( (com.google.privacy.dlp.v2.RecordLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 2; - onChanged(); - ; + onChanged();; return recordLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageLocation, - com.google.privacy.dlp.v2.ImageLocation.Builder, - com.google.privacy.dlp.v2.ImageLocationOrBuilder> - imageLocationBuilder_; + com.google.privacy.dlp.v2.ImageLocation, com.google.privacy.dlp.v2.ImageLocation.Builder, com.google.privacy.dlp.v2.ImageLocationOrBuilder> imageLocationBuilder_; /** - * - * *
      * Location within an image's pixels.
      * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; - * * @return Whether the imageLocation field is set. */ @java.lang.Override @@ -1499,14 +1353,11 @@ public boolean hasImageLocation() { return locationCase_ == 3; } /** - * - * *
      * Location within an image's pixels.
      * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; - * * @return The imageLocation. */ @java.lang.Override @@ -1524,8 +1375,6 @@ public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { } } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1546,8 +1395,6 @@ public Builder setImageLocation(com.google.privacy.dlp.v2.ImageLocation value) { return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1566,8 +1413,6 @@ public Builder setImageLocation( return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1576,13 +1421,10 @@ public Builder setImageLocation( */ public Builder mergeImageLocation(com.google.privacy.dlp.v2.ImageLocation value) { if (imageLocationBuilder_ == null) { - if (locationCase_ == 3 - && location_ != com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance()) { - location_ = - com.google.privacy.dlp.v2.ImageLocation.newBuilder( - (com.google.privacy.dlp.v2.ImageLocation) location_) - .mergeFrom(value) - .buildPartial(); + if (locationCase_ == 3 && + location_ != com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance()) { + location_ = com.google.privacy.dlp.v2.ImageLocation.newBuilder((com.google.privacy.dlp.v2.ImageLocation) location_) + .mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -1597,8 +1439,6 @@ public Builder mergeImageLocation(com.google.privacy.dlp.v2.ImageLocation value) return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1622,8 +1462,6 @@ public Builder clearImageLocation() { return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1634,8 +1472,6 @@ public com.google.privacy.dlp.v2.ImageLocation.Builder getImageLocationBuilder() return getImageLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1654,8 +1490,6 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde } } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1663,44 +1497,32 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde * .google.privacy.dlp.v2.ImageLocation image_location = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageLocation, - com.google.privacy.dlp.v2.ImageLocation.Builder, - com.google.privacy.dlp.v2.ImageLocationOrBuilder> + com.google.privacy.dlp.v2.ImageLocation, com.google.privacy.dlp.v2.ImageLocation.Builder, com.google.privacy.dlp.v2.ImageLocationOrBuilder> getImageLocationFieldBuilder() { if (imageLocationBuilder_ == null) { if (!(locationCase_ == 3)) { location_ = com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance(); } - imageLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageLocation, - com.google.privacy.dlp.v2.ImageLocation.Builder, - com.google.privacy.dlp.v2.ImageLocationOrBuilder>( + imageLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageLocation, com.google.privacy.dlp.v2.ImageLocation.Builder, com.google.privacy.dlp.v2.ImageLocationOrBuilder>( (com.google.privacy.dlp.v2.ImageLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 3; - onChanged(); - ; + onChanged();; return imageLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DocumentLocation, - com.google.privacy.dlp.v2.DocumentLocation.Builder, - com.google.privacy.dlp.v2.DocumentLocationOrBuilder> - documentLocationBuilder_; + com.google.privacy.dlp.v2.DocumentLocation, com.google.privacy.dlp.v2.DocumentLocation.Builder, com.google.privacy.dlp.v2.DocumentLocationOrBuilder> documentLocationBuilder_; /** - * - * *
      * Location data for document files.
      * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; - * * @return Whether the documentLocation field is set. */ @java.lang.Override @@ -1708,14 +1530,11 @@ public boolean hasDocumentLocation() { return locationCase_ == 5; } /** - * - * *
      * Location data for document files.
      * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; - * * @return The documentLocation. */ @java.lang.Override @@ -1733,8 +1552,6 @@ public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { } } /** - * - * *
      * Location data for document files.
      * 
@@ -1755,8 +1572,6 @@ public Builder setDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation va return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1775,8 +1590,6 @@ public Builder setDocumentLocation( return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1785,13 +1598,10 @@ public Builder setDocumentLocation( */ public Builder mergeDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation value) { if (documentLocationBuilder_ == null) { - if (locationCase_ == 5 - && location_ != com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance()) { - location_ = - com.google.privacy.dlp.v2.DocumentLocation.newBuilder( - (com.google.privacy.dlp.v2.DocumentLocation) location_) - .mergeFrom(value) - .buildPartial(); + if (locationCase_ == 5 && + location_ != com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance()) { + location_ = com.google.privacy.dlp.v2.DocumentLocation.newBuilder((com.google.privacy.dlp.v2.DocumentLocation) location_) + .mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -1806,8 +1616,6 @@ public Builder mergeDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1831,8 +1639,6 @@ public Builder clearDocumentLocation() { return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1843,8 +1649,6 @@ public com.google.privacy.dlp.v2.DocumentLocation.Builder getDocumentLocationBui return getDocumentLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location data for document files.
      * 
@@ -1863,8 +1667,6 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr } } /** - * - * *
      * Location data for document files.
      * 
@@ -1872,44 +1674,32 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr * .google.privacy.dlp.v2.DocumentLocation document_location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DocumentLocation, - com.google.privacy.dlp.v2.DocumentLocation.Builder, - com.google.privacy.dlp.v2.DocumentLocationOrBuilder> + com.google.privacy.dlp.v2.DocumentLocation, com.google.privacy.dlp.v2.DocumentLocation.Builder, com.google.privacy.dlp.v2.DocumentLocationOrBuilder> getDocumentLocationFieldBuilder() { if (documentLocationBuilder_ == null) { if (!(locationCase_ == 5)) { location_ = com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } - documentLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DocumentLocation, - com.google.privacy.dlp.v2.DocumentLocation.Builder, - com.google.privacy.dlp.v2.DocumentLocationOrBuilder>( + documentLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DocumentLocation, com.google.privacy.dlp.v2.DocumentLocation.Builder, com.google.privacy.dlp.v2.DocumentLocationOrBuilder>( (com.google.privacy.dlp.v2.DocumentLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 5; - onChanged(); - ; + onChanged();; return documentLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.MetadataLocation, - com.google.privacy.dlp.v2.MetadataLocation.Builder, - com.google.privacy.dlp.v2.MetadataLocationOrBuilder> - metadataLocationBuilder_; + com.google.privacy.dlp.v2.MetadataLocation, com.google.privacy.dlp.v2.MetadataLocation.Builder, com.google.privacy.dlp.v2.MetadataLocationOrBuilder> metadataLocationBuilder_; /** - * - * *
      * Location within the metadata for inspected content.
      * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; - * * @return Whether the metadataLocation field is set. */ @java.lang.Override @@ -1917,14 +1707,11 @@ public boolean hasMetadataLocation() { return locationCase_ == 8; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; - * * @return The metadataLocation. */ @java.lang.Override @@ -1942,8 +1729,6 @@ public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { } } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -1964,8 +1749,6 @@ public Builder setMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation va return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -1984,8 +1767,6 @@ public Builder setMetadataLocation( return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -1994,13 +1775,10 @@ public Builder setMetadataLocation( */ public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation value) { if (metadataLocationBuilder_ == null) { - if (locationCase_ == 8 - && location_ != com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance()) { - location_ = - com.google.privacy.dlp.v2.MetadataLocation.newBuilder( - (com.google.privacy.dlp.v2.MetadataLocation) location_) - .mergeFrom(value) - .buildPartial(); + if (locationCase_ == 8 && + location_ != com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance()) { + location_ = com.google.privacy.dlp.v2.MetadataLocation.newBuilder((com.google.privacy.dlp.v2.MetadataLocation) location_) + .mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -2015,8 +1793,6 @@ public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2040,8 +1816,6 @@ public Builder clearMetadataLocation() { return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2052,8 +1826,6 @@ public com.google.privacy.dlp.v2.MetadataLocation.Builder getMetadataLocationBui return getMetadataLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2072,8 +1844,6 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr } } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2081,39 +1851,28 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.MetadataLocation, - com.google.privacy.dlp.v2.MetadataLocation.Builder, - com.google.privacy.dlp.v2.MetadataLocationOrBuilder> + com.google.privacy.dlp.v2.MetadataLocation, com.google.privacy.dlp.v2.MetadataLocation.Builder, com.google.privacy.dlp.v2.MetadataLocationOrBuilder> getMetadataLocationFieldBuilder() { if (metadataLocationBuilder_ == null) { if (!(locationCase_ == 8)) { location_ = com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); } - metadataLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.MetadataLocation, - com.google.privacy.dlp.v2.MetadataLocation.Builder, - com.google.privacy.dlp.v2.MetadataLocationOrBuilder>( + metadataLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.MetadataLocation, com.google.privacy.dlp.v2.MetadataLocation.Builder, com.google.privacy.dlp.v2.MetadataLocationOrBuilder>( (com.google.privacy.dlp.v2.MetadataLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 8; - onChanged(); - ; + onChanged();; return metadataLocationBuilder_; } private com.google.protobuf.Timestamp containerTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - containerTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> containerTimestampBuilder_; /** - * - * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2122,15 +1881,12 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return Whether the containerTimestamp field is set. */ public boolean hasContainerTimestamp() { return containerTimestampBuilder_ != null || containerTimestamp_ != null; } /** - * - * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2139,21 +1895,16 @@ public boolean hasContainerTimestamp() {
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return The containerTimestamp. */ public com.google.protobuf.Timestamp getContainerTimestamp() { if (containerTimestampBuilder_ == null) { - return containerTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : containerTimestamp_; + return containerTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; } else { return containerTimestampBuilder_.getMessage(); } } /** - * - * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2177,8 +1928,6 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2188,7 +1937,8 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
-    public Builder setContainerTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setContainerTimestamp(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (containerTimestampBuilder_ == null) {
         containerTimestamp_ = builderForValue.build();
         onChanged();
@@ -2199,8 +1949,6 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2214,9 +1962,7 @@ public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) {
       if (containerTimestampBuilder_ == null) {
         if (containerTimestamp_ != null) {
           containerTimestamp_ =
-              com.google.protobuf.Timestamp.newBuilder(containerTimestamp_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(containerTimestamp_).mergeFrom(value).buildPartial();
         } else {
           containerTimestamp_ = value;
         }
@@ -2228,8 +1974,6 @@ public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2251,8 +1995,6 @@ public Builder clearContainerTimestamp() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2263,13 +2005,11 @@ public Builder clearContainerTimestamp() {
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
     public com.google.protobuf.Timestamp.Builder getContainerTimestampBuilder() {
-
+      
       onChanged();
       return getContainerTimestampFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2283,14 +2023,11 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
       if (containerTimestampBuilder_ != null) {
         return containerTimestampBuilder_.getMessageOrBuilder();
       } else {
-        return containerTimestamp_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : containerTimestamp_;
+        return containerTimestamp_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_;
       }
     }
     /**
-     *
-     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2301,17 +2038,14 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
     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> 
         getContainerTimestampFieldBuilder() {
       if (containerTimestampBuilder_ == null) {
-        containerTimestampBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getContainerTimestamp(), getParentForChildren(), isClean());
+        containerTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getContainerTimestamp(),
+                getParentForChildren(),
+                isClean());
         containerTimestamp_ = null;
       }
       return containerTimestampBuilder_;
@@ -2319,21 +2053,19 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
 
     private java.lang.Object containerVersion_ = "";
     /**
-     *
-     *
      * 
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; - * * @return The containerVersion. */ public java.lang.String getContainerVersion() { java.lang.Object ref = containerVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerVersion_ = s; return s; @@ -2342,22 +2074,21 @@ public java.lang.String getContainerVersion() { } } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; - * * @return The bytes for containerVersion. */ - public com.google.protobuf.ByteString getContainerVersionBytes() { + public com.google.protobuf.ByteString + getContainerVersionBytes() { java.lang.Object ref = containerVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); containerVersion_ = b; return b; } else { @@ -2365,71 +2096,64 @@ public com.google.protobuf.ByteString getContainerVersionBytes() { } } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; - * * @param value The containerVersion to set. * @return This builder for chaining. */ - public Builder setContainerVersion(java.lang.String value) { + public Builder setContainerVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + containerVersion_ = value; onChanged(); return this; } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; - * * @return This builder for chaining. */ public Builder clearContainerVersion() { - + containerVersion_ = getDefaultInstance().getContainerVersion(); onChanged(); return this; } /** - * - * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; - * * @param value The bytes for containerVersion to set. * @return This builder for chaining. */ - public Builder setContainerVersionBytes(com.google.protobuf.ByteString value) { + public Builder setContainerVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + containerVersion_ = 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); } @@ -2439,12 +2163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ContentLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ContentLocation) private static final com.google.privacy.dlp.v2.ContentLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ContentLocation(); } @@ -2453,16 +2177,16 @@ public static com.google.privacy.dlp.v2.ContentLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContentLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContentLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContentLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2477,4 +2201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ContentLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java similarity index 86% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java index d37ce023..e5802998 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ContentLocationOrBuilder - extends +public interface ContentLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -38,13 +20,10 @@ public interface ContentLocationOrBuilder
    * 
* * string container_name = 1; - * * @return The containerName. */ java.lang.String getContainerName(); /** - * - * *
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -57,38 +36,30 @@ public interface ContentLocationOrBuilder
    * 
* * string container_name = 1; - * * @return The bytes for containerName. */ - com.google.protobuf.ByteString getContainerNameBytes(); + com.google.protobuf.ByteString + getContainerNameBytes(); /** - * - * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; - * * @return Whether the recordLocation field is set. */ boolean hasRecordLocation(); /** - * - * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; - * * @return The recordLocation. */ com.google.privacy.dlp.v2.RecordLocation getRecordLocation(); /** - * - * *
    * Location within a row or record of a database table.
    * 
@@ -98,32 +69,24 @@ public interface ContentLocationOrBuilder com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuilder(); /** - * - * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; - * * @return Whether the imageLocation field is set. */ boolean hasImageLocation(); /** - * - * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; - * * @return The imageLocation. */ com.google.privacy.dlp.v2.ImageLocation getImageLocation(); /** - * - * *
    * Location within an image's pixels.
    * 
@@ -133,32 +96,24 @@ public interface ContentLocationOrBuilder com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilder(); /** - * - * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; - * * @return Whether the documentLocation field is set. */ boolean hasDocumentLocation(); /** - * - * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; - * * @return The documentLocation. */ com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation(); /** - * - * *
    * Location data for document files.
    * 
@@ -168,32 +123,24 @@ public interface ContentLocationOrBuilder com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOrBuilder(); /** - * - * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; - * * @return Whether the metadataLocation field is set. */ boolean hasMetadataLocation(); /** - * - * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; - * * @return The metadataLocation. */ com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation(); /** - * - * *
    * Location within the metadata for inspected content.
    * 
@@ -203,8 +150,6 @@ public interface ContentLocationOrBuilder com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder(); /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -213,13 +158,10 @@ public interface ContentLocationOrBuilder
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return Whether the containerTimestamp field is set. */ boolean hasContainerTimestamp(); /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -228,13 +170,10 @@ public interface ContentLocationOrBuilder
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return The containerTimestamp. */ com.google.protobuf.Timestamp getContainerTimestamp(); /** - * - * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -247,31 +186,26 @@ public interface ContentLocationOrBuilder
   com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder();
 
   /**
-   *
-   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; - * * @return The containerVersion. */ java.lang.String getContainerVersion(); /** - * - * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; - * * @return The bytes for containerVersion. */ - com.google.protobuf.ByteString getContainerVersionBytes(); + com.google.protobuf.ByteString + getContainerVersionBytes(); public com.google.privacy.dlp.v2.ContentLocation.LocationCase getLocationCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java index 05462946..08a6c33a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
- * Options describing which parts of the provided content should be scanned.
+ * Deprecated and unused.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.ContentOption} */ -public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentOption + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Includes entire content of a file or a data stream.
    * 
@@ -39,8 +21,6 @@ public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { */ CONTENT_UNSPECIFIED(0), /** - * - * *
    * Text content within the data, excluding any metadata.
    * 
@@ -49,8 +29,6 @@ public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { */ CONTENT_TEXT(1), /** - * - * *
    * Images found in the data.
    * 
@@ -62,8 +40,6 @@ public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Includes entire content of a file or a data stream.
    * 
@@ -72,8 +48,6 @@ public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Text content within the data, excluding any metadata.
    * 
@@ -82,8 +56,6 @@ public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_TEXT_VALUE = 1; /** - * - * *
    * Images found in the data.
    * 
@@ -92,6 +64,7 @@ public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_IMAGE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static ContentOption valueOf(int value) { */ public static ContentOption forNumber(int value) { switch (value) { - case 0: - return CONTENT_UNSPECIFIED; - case 1: - return CONTENT_TEXT; - case 2: - return CONTENT_IMAGE; - default: - return null; + case 0: return CONTENT_UNSPECIFIED; + case 1: return CONTENT_TEXT; + case 2: return CONTENT_IMAGE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentOption findValueByNumber(int number) { - return ContentOption.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ContentOption> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentOption findValueByNumber(int number) { + return ContentOption.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(2); } private static final ContentOption[] VALUES = values(); - public static ContentOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentOption valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private ContentOption(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.ContentOption) } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java index c8b07d22..d1654ee9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for CreateDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateDeidentifyTemplateRequest} */ -public final class CreateDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDeidentifyTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) CreateDeidentifyTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDeidentifyTemplateRequest.newBuilder() to construct. - private CreateDeidentifyTemplateRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDeidentifyTemplateRequest() { parent_ = ""; templateId_ = ""; @@ -46,15 +27,16 @@ private CreateDeidentifyTemplateRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,82 +55,72 @@ private CreateDeidentifyTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; + if (deidentifyTemplate_ != null) { + subBuilder = deidentifyTemplate_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; - if (deidentifyTemplate_ != null) { - subBuilder = deidentifyTemplate_.toBuilder(); - } - deidentifyTemplate_ = - input.readMessage( - com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deidentifyTemplate_); - deidentifyTemplate_ = subBuilder.buildPartial(); - } - - break; + deidentifyTemplate_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deidentifyTemplate_); + deidentifyTemplate_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - templateId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + templateId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -168,10 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -180,15 +149,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -208,18 +176,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -230,16 +197,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; /** - * - * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deidentifyTemplate field is set. */ @java.lang.Override @@ -247,34 +209,23 @@ public boolean hasDeidentifyTemplate() { return deidentifyTemplate_ != null; } /** - * - * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The deidentifyTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { - return deidentifyTemplate_ == null - ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() - : deidentifyTemplate_; + return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; } /** - * - * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder() { @@ -284,8 +235,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla public static final int TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object templateId_; /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -294,7 +243,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
    * 
* * string template_id = 3; - * * @return The templateId. */ @java.lang.Override @@ -303,15 +251,14 @@ public java.lang.String getTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; } } /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -320,15 +267,16 @@ public java.lang.String getTemplateId() {
    * 
* * string template_id = 3; - * * @return The bytes for templateId. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateIdBytes() { + public com.google.protobuf.ByteString + getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateId_ = b; return b; } else { @@ -339,14 +287,11 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ @java.lang.Override @@ -355,29 +300,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -386,7 +331,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -398,7 +342,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -424,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (deidentifyTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDeidentifyTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); @@ -440,21 +386,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.privacy.dlp.v2.CreateDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest other = - (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasDeidentifyTemplate() != other.hasDeidentifyTemplate()) return false; if (hasDeidentifyTemplate()) { - if (!getDeidentifyTemplate().equals(other.getDeidentifyTemplate())) return false; + if (!getDeidentifyTemplate() + .equals(other.getDeidentifyTemplate())) return false; } - if (!getTemplateId().equals(other.getTemplateId())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getTemplateId() + .equals(other.getTemplateId())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -482,127 +431,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateDeidentifyTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.newBuilder() @@ -610,15 +549,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -638,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -659,8 +599,7 @@ public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest result = - new com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest(this); result.parent_ = parent_; if (deidentifyTemplateBuilder_ == null) { result.deidentifyTemplate_ = deidentifyTemplate_; @@ -677,39 +616,38 @@ public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -717,8 +655,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -753,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -766,8 +702,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -787,16 +721,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -805,8 +737,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -826,17 +756,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -844,8 +773,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -865,25 +792,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -903,21 +826,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -937,19 +855,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -957,58 +873,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> - deidentifyTemplateBuilder_; + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> deidentifyTemplateBuilder_; /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deidentifyTemplate field is set. */ public boolean hasDeidentifyTemplate() { return deidentifyTemplateBuilder_ != null || deidentifyTemplate_ != null; } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The deidentifyTemplate. */ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { if (deidentifyTemplateBuilder_ == null) { - return deidentifyTemplate_ == null - ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() - : deidentifyTemplate_; + return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; } else { return deidentifyTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplate value) { if (deidentifyTemplateBuilder_ == null) { @@ -1024,15 +921,11 @@ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplat return this; } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDeidentifyTemplate( com.google.privacy.dlp.v2.DeidentifyTemplate.Builder builderForValue) { @@ -1046,23 +939,17 @@ public Builder setDeidentifyTemplate( return this; } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplate value) { if (deidentifyTemplateBuilder_ == null) { if (deidentifyTemplate_ != null) { deidentifyTemplate_ = - com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_).mergeFrom(value).buildPartial(); } else { deidentifyTemplate_ = value; } @@ -1074,15 +961,11 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl return this; } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDeidentifyTemplate() { if (deidentifyTemplateBuilder_ == null) { @@ -1096,64 +979,48 @@ public Builder clearDeidentifyTemplate() { return this; } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplateBuilder() { - + onChanged(); return getDeidentifyTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder() { if (deidentifyTemplateBuilder_ != null) { return deidentifyTemplateBuilder_.getMessageOrBuilder(); } else { - return deidentifyTemplate_ == null - ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() - : deidentifyTemplate_; + return deidentifyTemplate_ == null ? + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; } } /** - * - * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> getDeidentifyTemplateFieldBuilder() { if (deidentifyTemplateBuilder_ == null) { - deidentifyTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( - getDeidentifyTemplate(), getParentForChildren(), isClean()); + deidentifyTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( + getDeidentifyTemplate(), + getParentForChildren(), + isClean()); deidentifyTemplate_ = null; } return deidentifyTemplateBuilder_; @@ -1161,8 +1028,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla private java.lang.Object templateId_ = ""; /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1171,13 +1036,13 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
      * 
* * string template_id = 3; - * * @return The templateId. */ public java.lang.String getTemplateId() { java.lang.Object ref = templateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; @@ -1186,8 +1051,6 @@ public java.lang.String getTemplateId() { } } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1196,14 +1059,15 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 3; - * * @return The bytes for templateId. */ - public com.google.protobuf.ByteString getTemplateIdBytes() { + public com.google.protobuf.ByteString + getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateId_ = b; return b; } else { @@ -1211,8 +1075,6 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { } } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1221,22 +1083,20 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
      * 
* * string template_id = 3; - * * @param value The templateId to set. * @return This builder for chaining. */ - public Builder setTemplateId(java.lang.String value) { + public Builder setTemplateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateId_ = value; onChanged(); return this; } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1245,18 +1105,15 @@ public Builder setTemplateId(java.lang.String value) {
      * 
* * string template_id = 3; - * * @return This builder for chaining. */ public Builder clearTemplateId() { - + templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1265,16 +1122,16 @@ public Builder clearTemplateId() {
      * 
* * string template_id = 3; - * * @param value The bytes for templateId to set. * @return This builder for chaining. */ - public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { + public Builder setTemplateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateId_ = value; onChanged(); return this; @@ -1282,20 +1139,18 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1304,21 +1159,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1326,68 +1180,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1397,12 +1244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest(); } @@ -1411,16 +1258,16 @@ public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1435,4 +1282,6 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java index a0b0df27..1aa65a92 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateDeidentifyTemplateRequestOrBuilder - extends +public interface CreateDeidentifyTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -45,16 +27,11 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -74,58 +51,40 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 DeidentifyTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deidentifyTemplate field is set. */ boolean hasDeidentifyTemplate(); /** - * - * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The deidentifyTemplate. */ com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate(); /** - * - * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder(); /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -134,13 +93,10 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
    * 
* * string template_id = 3; - * * @return The templateId. */ java.lang.String getTemplateId(); /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -149,33 +105,28 @@ public interface CreateDeidentifyTemplateRequestOrBuilder
    * 
* * string template_id = 3; - * * @return The bytes for templateId. */ - com.google.protobuf.ByteString getTemplateIdBytes(); + com.google.protobuf.ByteString + getTemplateIdBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java index a039046e..db5e7b5c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for CreateDlpJobRequest. Used to initiate long running
  * jobs such as calculating risk metrics or inspecting Google Cloud
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CreateDlpJobRequest}
  */
-public final class CreateDlpJobRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateDlpJobRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateDlpJobRequest)
     CreateDlpJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateDlpJobRequest.newBuilder() to construct.
   private CreateDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateDlpJobRequest() {
     parent_ = "";
     jobId_ = "";
@@ -47,15 +29,16 @@ private CreateDlpJobRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateDlpJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateDlpJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,105 +57,93 @@ private CreateDlpJobRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
+            if (jobCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
-              if (jobCase_ == 2) {
-                subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
-              }
-              job_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
-                job_ = subBuilder.buildPartial();
-              }
-              jobCase_ = 2;
-              break;
+            job_ =
+                input.readMessage(com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
+              job_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null;
-              if (jobCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_).toBuilder();
-              }
-              job_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_);
-                job_ = subBuilder.buildPartial();
-              }
-              jobCase_ = 3;
-              break;
+            jobCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null;
+            if (jobCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_).toBuilder();
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              jobId_ = s;
-              break;
+            job_ =
+                input.readMessage(com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_);
+              job_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            jobCase_ = 3;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              locationId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            jobId_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            locationId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CreateDlpJobRequest.class,
-            com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
+            com.google.privacy.dlp.v2.CreateDlpJobRequest.class, com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
   }
 
   private int jobCase_ = 0;
   private java.lang.Object job_;
-
   public enum JobCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INSPECT_JOB(2),
     RISK_JOB(3),
     JOB_NOT_SET(0);
     private final int value;
-
     private JobCase(int value) {
       this.value = value;
     }
@@ -188,31 +159,26 @@ public static JobCase valueOf(int value) {
 
     public static JobCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return INSPECT_JOB;
-        case 3:
-          return RISK_JOB;
-        case 0:
-          return JOB_NOT_SET;
-        default:
-          return null;
+        case 2: return INSPECT_JOB;
+        case 3: return RISK_JOB;
+        case 0: return JOB_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public JobCase getJobCase() {
-    return JobCase.forNumber(jobCase_);
+  public JobCase
+  getJobCase() {
+    return JobCase.forNumber(
+        jobCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -228,10 +194,7 @@ public JobCase getJobCase() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -240,15 +203,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -264,18 +226,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -285,14 +246,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSPECT_JOB_FIELD_NUMBER = 2; /** - * - * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; - * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -300,26 +258,21 @@ public boolean hasInspectJob() { return jobCase_ == 2; } /** - * - * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; - * * @return The inspectJob. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { if (jobCase_ == 2) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } /** - * - * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
@@ -329,22 +282,19 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder() { if (jobCase_ == 2) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } public static final int RISK_JOB_FIELD_NUMBER = 3; /** - * - * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; - * * @return Whether the riskJob field is set. */ @java.lang.Override @@ -352,27 +302,22 @@ public boolean hasRiskJob() { return jobCase_ == 3; } /** - * - * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; - * * @return The riskJob. */ @java.lang.Override public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { if (jobCase_ == 3) { - return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_; + return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_; } return com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance(); } /** - * - * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
@@ -383,7 +328,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder() {
     if (jobCase_ == 3) {
-      return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_;
+       return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_;
     }
     return com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance();
   }
@@ -391,8 +336,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
   public static final int JOB_ID_FIELD_NUMBER = 4;
   private volatile java.lang.Object jobId_;
   /**
-   *
-   *
    * 
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -401,7 +344,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
    * 
* * string job_id = 4; - * * @return The jobId. */ @java.lang.Override @@ -410,15 +352,14 @@ public java.lang.String getJobId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; } } /** - * - * *
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -427,15 +368,16 @@ public java.lang.String getJobId() {
    * 
* * string job_id = 4; - * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString getJobIdBytes() { + public com.google.protobuf.ByteString + getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobId_ = b; return b; } else { @@ -446,14 +388,11 @@ public com.google.protobuf.ByteString getJobIdBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ @java.lang.Override @@ -462,29 +401,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -493,7 +432,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -505,7 +443,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -534,14 +473,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.InspectJobConfig) job_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.InspectJobConfig) job_); } if (jobCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobId_); @@ -557,24 +494,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.privacy.dlp.v2.CreateDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateDlpJobRequest other = - (com.google.privacy.dlp.v2.CreateDlpJobRequest) obj; + com.google.privacy.dlp.v2.CreateDlpJobRequest other = (com.google.privacy.dlp.v2.CreateDlpJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getJobId().equals(other.getJobId())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getJobId() + .equals(other.getJobId())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!getJobCase().equals(other.getJobCase())) return false; switch (jobCase_) { case 2: - if (!getInspectJob().equals(other.getInspectJob())) return false; + if (!getInspectJob() + .equals(other.getInspectJob())) return false; break; case 3: - if (!getRiskJob().equals(other.getRiskJob())) return false; + if (!getRiskJob() + .equals(other.getRiskJob())) return false; break; case 0: default: @@ -613,104 +554,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CreateDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateDlpJobRequest. Used to initiate long running
    * jobs such as calculating risk metrics or inspecting Google Cloud
@@ -719,23 +653,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CreateDlpJobRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateDlpJobRequest)
       com.google.privacy.dlp.v2.CreateDlpJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CreateDlpJobRequest.class,
-              com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
+              com.google.privacy.dlp.v2.CreateDlpJobRequest.class, com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CreateDlpJobRequest.newBuilder()
@@ -743,15 +675,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -767,9 +700,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -788,8 +721,7 @@ public com.google.privacy.dlp.v2.CreateDlpJobRequest build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CreateDlpJobRequest buildPartial() {
-      com.google.privacy.dlp.v2.CreateDlpJobRequest result =
-          new com.google.privacy.dlp.v2.CreateDlpJobRequest(this);
+      com.google.privacy.dlp.v2.CreateDlpJobRequest result = new com.google.privacy.dlp.v2.CreateDlpJobRequest(this);
       result.parent_ = parent_;
       if (jobCase_ == 2) {
         if (inspectJobBuilder_ == null) {
@@ -816,39 +748,38 @@ public com.google.privacy.dlp.v2.CreateDlpJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CreateDlpJobRequest) {
-        return mergeFrom((com.google.privacy.dlp.v2.CreateDlpJobRequest) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CreateDlpJobRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -870,20 +801,17 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateDlpJobRequest other) {
         onChanged();
       }
       switch (other.getJobCase()) {
-        case INSPECT_JOB:
-          {
-            mergeInspectJob(other.getInspectJob());
-            break;
-          }
-        case RISK_JOB:
-          {
-            mergeRiskJob(other.getRiskJob());
-            break;
-          }
-        case JOB_NOT_SET:
-          {
-            break;
-          }
+        case INSPECT_JOB: {
+          mergeInspectJob(other.getInspectJob());
+          break;
+        }
+        case RISK_JOB: {
+          mergeRiskJob(other.getRiskJob());
+          break;
+        }
+        case JOB_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -913,12 +841,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int jobCase_ = 0;
     private java.lang.Object job_;
-
-    public JobCase getJobCase() {
-      return JobCase.forNumber(jobCase_);
+    public JobCase
+        getJobCase() {
+      return JobCase.forNumber(
+          jobCase_);
     }
 
     public Builder clearJob() {
@@ -928,10 +856,9 @@ public Builder clearJob() {
       return this;
     }
 
+
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -947,16 +874,14 @@ public Builder clearJob() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -965,8 +890,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -982,17 +905,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -1000,8 +922,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1017,25 +937,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1051,21 +967,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1081,38 +992,30 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> - inspectJobBuilder_; + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> inspectJobBuilder_; /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; - * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -1120,14 +1023,11 @@ public boolean hasInspectJob() { return jobCase_ == 2; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; - * * @return The inspectJob. */ @java.lang.Override @@ -1145,8 +1045,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1167,8 +1065,6 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1187,8 +1083,6 @@ public Builder setInspectJob( return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1197,13 +1091,10 @@ public Builder setInspectJob( */ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { if (inspectJobBuilder_ == null) { - if (jobCase_ == 2 - && job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { - job_ = - com.google.privacy.dlp.v2.InspectJobConfig.newBuilder( - (com.google.privacy.dlp.v2.InspectJobConfig) job_) - .mergeFrom(value) - .buildPartial(); + if (jobCase_ == 2 && + job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { + job_ = com.google.privacy.dlp.v2.InspectJobConfig.newBuilder((com.google.privacy.dlp.v2.InspectJobConfig) job_) + .mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -1218,8 +1109,6 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1243,8 +1132,6 @@ public Builder clearInspectJob() { return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1255,8 +1142,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1275,8 +1160,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1284,45 +1167,33 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> getInspectJobFieldBuilder() { if (inspectJobBuilder_ == null) { if (!(jobCase_ == 2)) { job_ = com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } - inspectJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( + inspectJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( (com.google.privacy.dlp.v2.InspectJobConfig) job_, getParentForChildren(), isClean()); job_ = null; } jobCase_ = 2; - onChanged(); - ; + onChanged();; return inspectJobBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, - com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> - riskJobBuilder_; + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> riskJobBuilder_; /** - * - * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; - * * @return Whether the riskJob field is set. */ @java.lang.Override @@ -1330,15 +1201,12 @@ public boolean hasRiskJob() { return jobCase_ == 3; } /** - * - * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; - * * @return The riskJob. */ @java.lang.Override @@ -1356,8 +1224,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { } } /** - * - * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1379,8 +1245,6 @@ public Builder setRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1400,8 +1264,6 @@ public Builder setRiskJob(
       return this;
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1411,13 +1273,10 @@ public Builder setRiskJob(
      */
     public Builder mergeRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value) {
       if (riskJobBuilder_ == null) {
-        if (jobCase_ == 3
-            && job_ != com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) {
-          job_ =
-              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder(
-                      (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (jobCase_ == 3 &&
+            job_ != com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) {
+          job_ = com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_)
+              .mergeFrom(value).buildPartial();
         } else {
           job_ = value;
         }
@@ -1432,8 +1291,6 @@ public Builder mergeRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1458,8 +1315,6 @@ public Builder clearRiskJob() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1471,8 +1326,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder getRiskJobBuilder
       return getRiskJobFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1492,8 +1345,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1502,34 +1353,26 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
      * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>
+        com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> 
         getRiskJobFieldBuilder() {
       if (riskJobBuilder_ == null) {
         if (!(jobCase_ == 3)) {
           job_ = com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance();
         }
-        riskJobBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
-                com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
-                com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>(
+        riskJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>(
                 (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_,
                 getParentForChildren(),
                 isClean());
         job_ = null;
       }
       jobCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return riskJobBuilder_;
     }
 
     private java.lang.Object jobId_ = "";
     /**
-     *
-     *
      * 
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1538,13 +1381,13 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
      * 
* * string job_id = 4; - * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; @@ -1553,8 +1396,6 @@ public java.lang.String getJobId() { } } /** - * - * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1563,14 +1404,15 @@ public java.lang.String getJobId() {
      * 
* * string job_id = 4; - * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString getJobIdBytes() { + public com.google.protobuf.ByteString + getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobId_ = b; return b; } else { @@ -1578,8 +1420,6 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } /** - * - * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1588,22 +1428,20 @@ public com.google.protobuf.ByteString getJobIdBytes() {
      * 
* * string job_id = 4; - * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId(java.lang.String value) { + public Builder setJobId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobId_ = value; onChanged(); return this; } /** - * - * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1612,18 +1450,15 @@ public Builder setJobId(java.lang.String value) {
      * 
* * string job_id = 4; - * * @return This builder for chaining. */ public Builder clearJobId() { - + jobId_ = getDefaultInstance().getJobId(); onChanged(); return this; } /** - * - * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1632,16 +1467,16 @@ public Builder clearJobId() {
      * 
* * string job_id = 4; - * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobId_ = value; onChanged(); return this; @@ -1649,20 +1484,18 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1671,21 +1504,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1693,68 +1525,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1764,12 +1589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateDlpJobRequest) private static final com.google.privacy.dlp.v2.CreateDlpJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateDlpJobRequest(); } @@ -1778,16 +1603,16 @@ public static com.google.privacy.dlp.v2.CreateDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1802,4 +1627,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CreateDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java index 234e12e8..11637913 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateDlpJobRequestOrBuilder - extends +public interface CreateDlpJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateDlpJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -41,16 +23,11 @@ public interface CreateDlpJobRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -66,41 +43,31 @@ public interface CreateDlpJobRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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(); /** - * - * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; - * * @return Whether the inspectJob field is set. */ boolean hasInspectJob(); /** - * - * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; - * * @return The inspectJob. */ com.google.privacy.dlp.v2.InspectJobConfig getInspectJob(); /** - * - * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
@@ -110,34 +77,26 @@ public interface CreateDlpJobRequestOrBuilder com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder(); /** - * - * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; - * * @return Whether the riskJob field is set. */ boolean hasRiskJob(); /** - * - * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; - * * @return The riskJob. */ com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob(); /** - * - * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
@@ -148,8 +107,6 @@ public interface CreateDlpJobRequestOrBuilder
   com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder();
 
   /**
-   *
-   *
    * 
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -158,13 +115,10 @@ public interface CreateDlpJobRequestOrBuilder
    * 
* * string job_id = 4; - * * @return The jobId. */ java.lang.String getJobId(); /** - * - * *
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -173,35 +127,30 @@ public interface CreateDlpJobRequestOrBuilder
    * 
* * string job_id = 4; - * * @return The bytes for jobId. */ - com.google.protobuf.ByteString getJobIdBytes(); + com.google.protobuf.ByteString + getJobIdBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); public com.google.privacy.dlp.v2.CreateDlpJobRequest.JobCase getJobCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java index 857f22e5..0d9357a5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for CreateInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateInspectTemplateRequest} */ -public final class CreateInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInspectTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateInspectTemplateRequest) CreateInspectTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInspectTemplateRequest.newBuilder() to construct. private CreateInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInspectTemplateRequest() { parent_ = ""; templateId_ = ""; @@ -45,15 +27,16 @@ private CreateInspectTemplateRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,82 +55,72 @@ private CreateInspectTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; + if (inspectTemplate_ != null) { + subBuilder = inspectTemplate_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; - if (inspectTemplate_ != null) { - subBuilder = inspectTemplate_.toBuilder(); - } - inspectTemplate_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectTemplate_); - inspectTemplate_ = subBuilder.buildPartial(); - } - - break; + inspectTemplate_ = input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectTemplate_); + inspectTemplate_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - templateId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + templateId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -167,10 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -179,15 +149,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -207,18 +176,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -229,16 +197,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSPECT_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; /** - * - * *
    * Required. The InspectTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the inspectTemplate field is set. */ @java.lang.Override @@ -246,34 +209,23 @@ public boolean hasInspectTemplate() { return inspectTemplate_ != null; } /** - * - * *
    * Required. The InspectTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The inspectTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { - return inspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : inspectTemplate_; + return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; } /** - * - * *
    * Required. The InspectTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder() { @@ -283,8 +235,6 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu public static final int TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object templateId_; /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -293,7 +243,6 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
    * 
* * string template_id = 3; - * * @return The templateId. */ @java.lang.Override @@ -302,15 +251,14 @@ public java.lang.String getTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; } } /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -319,15 +267,16 @@ public java.lang.String getTemplateId() {
    * 
* * string template_id = 3; - * * @return The bytes for templateId. */ @java.lang.Override - public com.google.protobuf.ByteString getTemplateIdBytes() { + public com.google.protobuf.ByteString + getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateId_ = b; return b; } else { @@ -338,14 +287,11 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ @java.lang.Override @@ -354,29 +300,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -385,7 +331,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,7 +342,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -423,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (inspectTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInspectTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); @@ -439,21 +386,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.privacy.dlp.v2.CreateInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateInspectTemplateRequest other = - (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.CreateInspectTemplateRequest other = (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasInspectTemplate() != other.hasInspectTemplate()) return false; if (hasInspectTemplate()) { - if (!getInspectTemplate().equals(other.getInspectTemplate())) return false; + if (!getInspectTemplate() + .equals(other.getInspectTemplate())) return false; } - if (!getTemplateId().equals(other.getTemplateId())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getTemplateId() + .equals(other.getTemplateId())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -481,127 +431,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CreateInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateInspectTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateInspectTemplateRequest) com.google.privacy.dlp.v2.CreateInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateInspectTemplateRequest.newBuilder() @@ -609,15 +549,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -637,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; } @java.lang.Override @@ -658,8 +599,7 @@ public com.google.privacy.dlp.v2.CreateInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.CreateInspectTemplateRequest result = - new com.google.privacy.dlp.v2.CreateInspectTemplateRequest(this); + com.google.privacy.dlp.v2.CreateInspectTemplateRequest result = new com.google.privacy.dlp.v2.CreateInspectTemplateRequest(this); result.parent_ = parent_; if (inspectTemplateBuilder_ == null) { result.inspectTemplate_ = inspectTemplate_; @@ -676,39 +616,38 @@ public com.google.privacy.dlp.v2.CreateInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateInspectTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.CreateInspectTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -716,8 +655,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.CreateInspectTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CreateInspectTemplateRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -752,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -765,8 +702,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -786,16 +721,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -804,8 +737,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -825,17 +756,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -843,8 +773,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -864,25 +792,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -902,21 +826,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -936,19 +855,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -956,58 +873,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> - inspectTemplateBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> inspectTemplateBuilder_; /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the inspectTemplate field is set. */ public boolean hasInspectTemplate() { return inspectTemplateBuilder_ != null || inspectTemplate_ != null; } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The inspectTemplate. */ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { if (inspectTemplateBuilder_ == null) { - return inspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : inspectTemplate_; + return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; } else { return inspectTemplateBuilder_.getMessage(); } } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplateBuilder_ == null) { @@ -1023,15 +921,11 @@ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate valu return this; } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInspectTemplate( com.google.privacy.dlp.v2.InspectTemplate.Builder builderForValue) { @@ -1045,23 +939,17 @@ public Builder setInspectTemplate( return this; } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplateBuilder_ == null) { if (inspectTemplate_ != null) { inspectTemplate_ = - com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_).mergeFrom(value).buildPartial(); } else { inspectTemplate_ = value; } @@ -1073,15 +961,11 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va return this; } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInspectTemplate() { if (inspectTemplateBuilder_ == null) { @@ -1095,64 +979,48 @@ public Builder clearInspectTemplate() { return this; } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplateBuilder() { - + onChanged(); return getInspectTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder() { if (inspectTemplateBuilder_ != null) { return inspectTemplateBuilder_.getMessageOrBuilder(); } else { - return inspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : inspectTemplate_; + return inspectTemplate_ == null ? + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; } } /** - * - * *
      * Required. The InspectTemplate to create.
      * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> getInspectTemplateFieldBuilder() { if (inspectTemplateBuilder_ == null) { - inspectTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( - getInspectTemplate(), getParentForChildren(), isClean()); + inspectTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( + getInspectTemplate(), + getParentForChildren(), + isClean()); inspectTemplate_ = null; } return inspectTemplateBuilder_; @@ -1160,8 +1028,6 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu private java.lang.Object templateId_ = ""; /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1170,13 +1036,13 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
      * 
* * string template_id = 3; - * * @return The templateId. */ public java.lang.String getTemplateId() { java.lang.Object ref = templateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; @@ -1185,8 +1051,6 @@ public java.lang.String getTemplateId() { } } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1195,14 +1059,15 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 3; - * * @return The bytes for templateId. */ - public com.google.protobuf.ByteString getTemplateIdBytes() { + public com.google.protobuf.ByteString + getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); templateId_ = b; return b; } else { @@ -1210,8 +1075,6 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { } } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1220,22 +1083,20 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
      * 
* * string template_id = 3; - * * @param value The templateId to set. * @return This builder for chaining. */ - public Builder setTemplateId(java.lang.String value) { + public Builder setTemplateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateId_ = value; onChanged(); return this; } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1244,18 +1105,15 @@ public Builder setTemplateId(java.lang.String value) {
      * 
* * string template_id = 3; - * * @return This builder for chaining. */ public Builder clearTemplateId() { - + templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** - * - * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1264,16 +1122,16 @@ public Builder clearTemplateId() {
      * 
* * string template_id = 3; - * * @param value The bytes for templateId to set. * @return This builder for chaining. */ - public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { + public Builder setTemplateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateId_ = value; onChanged(); return this; @@ -1281,20 +1139,18 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1303,21 +1159,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1325,68 +1180,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1396,12 +1244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateInspectTemplateRequest) private static final com.google.privacy.dlp.v2.CreateInspectTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateInspectTemplateRequest(); } @@ -1410,16 +1258,16 @@ public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1434,4 +1282,6 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.CreateInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java index d39a1fb4..22c9b64f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateInspectTemplateRequestOrBuilder - extends +public interface CreateInspectTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateInspectTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -45,16 +27,11 @@ public interface CreateInspectTemplateRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -74,58 +51,40 @@ public interface CreateInspectTemplateRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 InspectTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the inspectTemplate field is set. */ boolean hasInspectTemplate(); /** - * - * *
    * Required. The InspectTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The inspectTemplate. */ com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate(); /** - * - * *
    * Required. The InspectTemplate to create.
    * 
* - * - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder(); /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -134,13 +93,10 @@ public interface CreateInspectTemplateRequestOrBuilder
    * 
* * string template_id = 3; - * * @return The templateId. */ java.lang.String getTemplateId(); /** - * - * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -149,33 +105,28 @@ public interface CreateInspectTemplateRequestOrBuilder
    * 
* * string template_id = 3; - * * @return The bytes for templateId. */ - com.google.protobuf.ByteString getTemplateIdBytes(); + com.google.protobuf.ByteString + getTemplateIdBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java index 51742477..67624455 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for CreateJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateJobTriggerRequest} */ -public final class CreateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateJobTriggerRequest) CreateJobTriggerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobTriggerRequest.newBuilder() to construct. private CreateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobTriggerRequest() { parent_ = ""; triggerId_ = ""; @@ -45,15 +27,16 @@ private CreateJobTriggerRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,82 +55,72 @@ private CreateJobTriggerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; + if (jobTrigger_ != null) { + subBuilder = jobTrigger_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; - if (jobTrigger_ != null) { - subBuilder = jobTrigger_.toBuilder(); - } - jobTrigger_ = - input.readMessage( - com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobTrigger_); - jobTrigger_ = subBuilder.buildPartial(); - } - - break; + jobTrigger_ = input.readMessage(com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobTrigger_); + jobTrigger_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - triggerId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + triggerId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, - com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -163,10 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -175,15 +145,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -199,18 +168,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -221,16 +189,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_TRIGGER_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; /** - * - * *
    * Required. The JobTrigger to create.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the jobTrigger field is set. */ @java.lang.Override @@ -238,34 +201,23 @@ public boolean hasJobTrigger() { return jobTrigger_ != null; } /** - * - * *
    * Required. The JobTrigger to create.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The jobTrigger. */ @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { - return jobTrigger_ == null - ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() - : jobTrigger_; + return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; } /** - * - * *
    * Required. The JobTrigger to create.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { @@ -275,8 +227,6 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { public static final int TRIGGER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object triggerId_; /** - * - * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -285,7 +235,6 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
    * 
* * string trigger_id = 3; - * * @return The triggerId. */ @java.lang.Override @@ -294,15 +243,14 @@ public java.lang.String getTriggerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerId_ = s; return s; } } /** - * - * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -311,15 +259,16 @@ public java.lang.String getTriggerId() {
    * 
* * string trigger_id = 3; - * * @return The bytes for triggerId. */ @java.lang.Override - public com.google.protobuf.ByteString getTriggerIdBytes() { + public com.google.protobuf.ByteString + getTriggerIdBytes() { java.lang.Object ref = triggerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); triggerId_ = b; return b; } else { @@ -330,14 +279,11 @@ public com.google.protobuf.ByteString getTriggerIdBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ @java.lang.Override @@ -346,29 +292,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -377,7 +323,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -415,7 +361,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJobTrigger()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(triggerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, triggerId_); @@ -431,21 +378,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.privacy.dlp.v2.CreateJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateJobTriggerRequest other = - (com.google.privacy.dlp.v2.CreateJobTriggerRequest) obj; + com.google.privacy.dlp.v2.CreateJobTriggerRequest other = (com.google.privacy.dlp.v2.CreateJobTriggerRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJobTrigger() != other.hasJobTrigger()) return false; if (hasJobTrigger()) { - if (!getJobTrigger().equals(other.getJobTrigger())) return false; + if (!getJobTrigger() + .equals(other.getJobTrigger())) return false; } - if (!getTriggerId().equals(other.getTriggerId())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getTriggerId() + .equals(other.getTriggerId())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,126 +423,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CreateJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateJobTriggerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateJobTriggerRequest) com.google.privacy.dlp.v2.CreateJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, - com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateJobTriggerRequest.newBuilder() @@ -600,15 +541,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -628,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; } @java.lang.Override @@ -649,8 +591,7 @@ public com.google.privacy.dlp.v2.CreateJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.CreateJobTriggerRequest result = - new com.google.privacy.dlp.v2.CreateJobTriggerRequest(this); + com.google.privacy.dlp.v2.CreateJobTriggerRequest result = new com.google.privacy.dlp.v2.CreateJobTriggerRequest(this); result.parent_ = parent_; if (jobTriggerBuilder_ == null) { result.jobTrigger_ = jobTrigger_; @@ -667,39 +608,38 @@ public com.google.privacy.dlp.v2.CreateJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateJobTriggerRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.CreateJobTriggerRequest)other); } else { super.mergeFrom(other); return this; @@ -707,8 +647,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.CreateJobTriggerRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CreateJobTriggerRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -743,8 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CreateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CreateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -756,8 +694,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -773,16 +709,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -791,8 +725,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -808,17 +740,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -826,8 +757,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -843,25 +772,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -877,21 +802,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -907,19 +827,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -927,58 +845,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder> - jobTriggerBuilder_; + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> jobTriggerBuilder_; /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the jobTrigger field is set. */ public boolean hasJobTrigger() { return jobTriggerBuilder_ != null || jobTrigger_ != null; } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The jobTrigger. */ public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { if (jobTriggerBuilder_ == null) { - return jobTrigger_ == null - ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() - : jobTrigger_; + return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; } else { return jobTriggerBuilder_.getMessage(); } } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggerBuilder_ == null) { @@ -994,17 +893,14 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { + public Builder setJobTrigger( + com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { if (jobTriggerBuilder_ == null) { jobTrigger_ = builderForValue.build(); onChanged(); @@ -1015,23 +911,17 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builde return this; } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggerBuilder_ == null) { if (jobTrigger_ != null) { jobTrigger_ = - com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_).mergeFrom(value).buildPartial(); } else { jobTrigger_ = value; } @@ -1043,15 +933,11 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobTrigger() { if (jobTriggerBuilder_ == null) { @@ -1065,64 +951,48 @@ public Builder clearJobTrigger() { return this; } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggerBuilder() { - + onChanged(); return getJobTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { if (jobTriggerBuilder_ != null) { return jobTriggerBuilder_.getMessageOrBuilder(); } else { - return jobTrigger_ == null - ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() - : jobTrigger_; + return jobTrigger_ == null ? + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; } } /** - * - * *
      * Required. The JobTrigger to create.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder> + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> getJobTriggerFieldBuilder() { if (jobTriggerBuilder_ == null) { - jobTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder>( - getJobTrigger(), getParentForChildren(), isClean()); + jobTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder>( + getJobTrigger(), + getParentForChildren(), + isClean()); jobTrigger_ = null; } return jobTriggerBuilder_; @@ -1130,8 +1000,6 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { private java.lang.Object triggerId_ = ""; /** - * - * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1140,13 +1008,13 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
      * 
* * string trigger_id = 3; - * * @return The triggerId. */ public java.lang.String getTriggerId() { java.lang.Object ref = triggerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerId_ = s; return s; @@ -1155,8 +1023,6 @@ public java.lang.String getTriggerId() { } } /** - * - * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1165,14 +1031,15 @@ public java.lang.String getTriggerId() {
      * 
* * string trigger_id = 3; - * * @return The bytes for triggerId. */ - public com.google.protobuf.ByteString getTriggerIdBytes() { + public com.google.protobuf.ByteString + getTriggerIdBytes() { java.lang.Object ref = triggerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); triggerId_ = b; return b; } else { @@ -1180,8 +1047,6 @@ public com.google.protobuf.ByteString getTriggerIdBytes() { } } /** - * - * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1190,22 +1055,20 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
      * 
* * string trigger_id = 3; - * * @param value The triggerId to set. * @return This builder for chaining. */ - public Builder setTriggerId(java.lang.String value) { + public Builder setTriggerId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + triggerId_ = value; onChanged(); return this; } /** - * - * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1214,18 +1077,15 @@ public Builder setTriggerId(java.lang.String value) {
      * 
* * string trigger_id = 3; - * * @return This builder for chaining. */ public Builder clearTriggerId() { - + triggerId_ = getDefaultInstance().getTriggerId(); onChanged(); return this; } /** - * - * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1234,16 +1094,16 @@ public Builder clearTriggerId() {
      * 
* * string trigger_id = 3; - * * @param value The bytes for triggerId to set. * @return This builder for chaining. */ - public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) { + public Builder setTriggerIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + triggerId_ = value; onChanged(); return this; @@ -1251,20 +1111,18 @@ public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1273,21 +1131,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1295,68 +1152,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1366,12 +1216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateJobTriggerRequest) private static final com.google.privacy.dlp.v2.CreateJobTriggerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateJobTriggerRequest(); } @@ -1380,16 +1230,16 @@ public static com.google.privacy.dlp.v2.CreateJobTriggerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1404,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CreateJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java index 982c74cd..facd33be 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateJobTriggerRequestOrBuilder - extends +public interface CreateJobTriggerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateJobTriggerRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -41,16 +23,11 @@ public interface CreateJobTriggerRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -66,58 +43,40 @@ public interface CreateJobTriggerRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 JobTrigger to create.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the jobTrigger field is set. */ boolean hasJobTrigger(); /** - * - * *
    * Required. The JobTrigger to create.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The jobTrigger. */ com.google.privacy.dlp.v2.JobTrigger getJobTrigger(); /** - * - * *
    * Required. The JobTrigger to create.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder(); /** - * - * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -126,13 +85,10 @@ public interface CreateJobTriggerRequestOrBuilder
    * 
* * string trigger_id = 3; - * * @return The triggerId. */ java.lang.String getTriggerId(); /** - * - * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -141,33 +97,28 @@ public interface CreateJobTriggerRequestOrBuilder
    * 
* * string trigger_id = 3; - * * @return The bytes for triggerId. */ - com.google.protobuf.ByteString getTriggerIdBytes(); + com.google.protobuf.ByteString + getTriggerIdBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java index 05952426..2bd41e95 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for CreateStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateStoredInfoTypeRequest} */ -public final class CreateStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateStoredInfoTypeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) CreateStoredInfoTypeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateStoredInfoTypeRequest.newBuilder() to construct. private CreateStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateStoredInfoTypeRequest() { parent_ = ""; storedInfoTypeId_ = ""; @@ -45,15 +27,16 @@ private CreateStoredInfoTypeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,82 +55,72 @@ private CreateStoredInfoTypeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + config_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - storedInfoTypeId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + storedInfoTypeId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -167,10 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -179,15 +149,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -207,18 +176,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -229,16 +197,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; /** - * - * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ @java.lang.Override @@ -246,34 +209,23 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } /** - * - * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder() { @@ -283,8 +235,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde public static final int STORED_INFO_TYPE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object storedInfoTypeId_; /** - * - * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -293,7 +243,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
    * 
* * string stored_info_type_id = 3; - * * @return The storedInfoTypeId. */ @java.lang.Override @@ -302,15 +251,14 @@ public java.lang.String getStoredInfoTypeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storedInfoTypeId_ = s; return s; } } /** - * - * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -319,15 +267,16 @@ public java.lang.String getStoredInfoTypeId() {
    * 
* * string stored_info_type_id = 3; - * * @return The bytes for storedInfoTypeId. */ @java.lang.Override - public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { + public com.google.protobuf.ByteString + getStoredInfoTypeIdBytes() { java.lang.Object ref = storedInfoTypeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); storedInfoTypeId_ = b; return b; } else { @@ -338,14 +287,11 @@ public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ @java.lang.Override @@ -354,29 +300,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -385,7 +331,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,7 +342,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -423,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storedInfoTypeId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storedInfoTypeId_); @@ -439,21 +386,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.privacy.dlp.v2.CreateStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest other = - (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } - if (!getStoredInfoTypeId().equals(other.getStoredInfoTypeId())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getStoredInfoTypeId() + .equals(other.getStoredInfoTypeId())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -481,127 +431,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateStoredInfoTypeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) com.google.privacy.dlp.v2.CreateStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.newBuilder() @@ -609,15 +549,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -637,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -658,8 +599,7 @@ public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest result = - new com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest(this); result.parent_ = parent_; if (configBuilder_ == null) { result.config_ = config_; @@ -676,39 +616,38 @@ public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest)other); } else { super.mergeFrom(other); return this; @@ -716,8 +655,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -752,8 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -765,8 +702,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -786,16 +721,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -804,8 +737,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -825,17 +756,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -843,8 +773,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -864,25 +792,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -902,21 +826,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -936,19 +855,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -956,58 +873,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> - configBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> configBuilder_; /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { if (configBuilder_ == null) { @@ -1023,15 +921,11 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { return this; } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig( com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder builderForValue) { @@ -1045,23 +939,17 @@ public Builder setConfig( return this; } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -1073,15 +961,11 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) return this; } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfig() { if (configBuilder_ == null) { @@ -1095,64 +979,48 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? + com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } } /** - * - * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; @@ -1160,8 +1028,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde private java.lang.Object storedInfoTypeId_ = ""; /** - * - * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1170,13 +1036,13 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
      * 
* * string stored_info_type_id = 3; - * * @return The storedInfoTypeId. */ public java.lang.String getStoredInfoTypeId() { java.lang.Object ref = storedInfoTypeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storedInfoTypeId_ = s; return s; @@ -1185,8 +1051,6 @@ public java.lang.String getStoredInfoTypeId() { } } /** - * - * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1195,14 +1059,15 @@ public java.lang.String getStoredInfoTypeId() {
      * 
* * string stored_info_type_id = 3; - * * @return The bytes for storedInfoTypeId. */ - public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { + public com.google.protobuf.ByteString + getStoredInfoTypeIdBytes() { java.lang.Object ref = storedInfoTypeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); storedInfoTypeId_ = b; return b; } else { @@ -1210,8 +1075,6 @@ public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { } } /** - * - * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1220,22 +1083,20 @@ public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() {
      * 
* * string stored_info_type_id = 3; - * * @param value The storedInfoTypeId to set. * @return This builder for chaining. */ - public Builder setStoredInfoTypeId(java.lang.String value) { + public Builder setStoredInfoTypeId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + storedInfoTypeId_ = value; onChanged(); return this; } /** - * - * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1244,18 +1105,15 @@ public Builder setStoredInfoTypeId(java.lang.String value) {
      * 
* * string stored_info_type_id = 3; - * * @return This builder for chaining. */ public Builder clearStoredInfoTypeId() { - + storedInfoTypeId_ = getDefaultInstance().getStoredInfoTypeId(); onChanged(); return this; } /** - * - * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1264,16 +1122,16 @@ public Builder clearStoredInfoTypeId() {
      * 
* * string stored_info_type_id = 3; - * * @param value The bytes for storedInfoTypeId to set. * @return This builder for chaining. */ - public Builder setStoredInfoTypeIdBytes(com.google.protobuf.ByteString value) { + public Builder setStoredInfoTypeIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storedInfoTypeId_ = value; onChanged(); return this; @@ -1281,20 +1139,18 @@ public Builder setStoredInfoTypeIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1303,21 +1159,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1325,68 +1180,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1396,12 +1244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest(); } @@ -1410,16 +1258,16 @@ public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1434,4 +1282,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java index d18d6db6..44c40f52 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateStoredInfoTypeRequestOrBuilder - extends +public interface CreateStoredInfoTypeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -45,16 +27,11 @@ public interface CreateStoredInfoTypeRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -74,58 +51,40 @@ public interface CreateStoredInfoTypeRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Configuration of the storedInfoType to create.
    * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig(); /** - * - * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -134,13 +93,10 @@ public interface CreateStoredInfoTypeRequestOrBuilder
    * 
* * string stored_info_type_id = 3; - * * @return The storedInfoTypeId. */ java.lang.String getStoredInfoTypeId(); /** - * - * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -149,33 +105,28 @@ public interface CreateStoredInfoTypeRequestOrBuilder
    * 
* * string stored_info_type_id = 3; - * * @return The bytes for storedInfoTypeId. */ - com.google.protobuf.ByteString getStoredInfoTypeIdBytes(); + com.google.protobuf.ByteString + getStoredInfoTypeIdBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java similarity index 83% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java index 8b043b2d..d2a61c9f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Pseudonymization method that generates deterministic encryption for the given
  * input. Outputs a base64 encoded representation of the encrypted output.
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoDeterministicConfig}
  */
-public final class CryptoDeterministicConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CryptoDeterministicConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoDeterministicConfig)
     CryptoDeterministicConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CryptoDeterministicConfig.newBuilder() to construct.
   private CryptoDeterministicConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CryptoDeterministicConfig() {}
+  private CryptoDeterministicConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CryptoDeterministicConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CryptoDeterministicConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,91 +54,80 @@ private CryptoDeterministicConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-              if (cryptoKey_ != null) {
-                subBuilder = cryptoKey_.toBuilder();
-              }
-              cryptoKey_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(cryptoKey_);
-                cryptoKey_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+            if (cryptoKey_ != null) {
+              subBuilder = cryptoKey_.toBuilder();
+            }
+            cryptoKey_ = input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(cryptoKey_);
+              cryptoKey_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-              if (surrogateInfoType_ != null) {
-                subBuilder = surrogateInfoType_.toBuilder();
-              }
-              surrogateInfoType_ =
-                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(surrogateInfoType_);
-                surrogateInfoType_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+            if (surrogateInfoType_ != null) {
+              subBuilder = surrogateInfoType_.toBuilder();
+            }
+            surrogateInfoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(surrogateInfoType_);
+              surrogateInfoType_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (context_ != null) {
-                subBuilder = context_.toBuilder();
-              }
-              context_ =
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(context_);
-                context_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+            if (context_ != null) {
+              subBuilder = context_.toBuilder();
+            }
+            context_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(context_);
+              context_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoDeterministicConfig.class,
-            com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
+            com.google.privacy.dlp.v2.CryptoDeterministicConfig.class, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
   }
 
   public static final int CRYPTO_KEY_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
   /**
-   *
-   *
    * 
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -162,7 +135,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -170,8 +142,6 @@ public boolean hasCryptoKey() { return cryptoKey_ != null; } /** - * - * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -179,18 +149,13 @@ public boolean hasCryptoKey() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } /** - * - * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -207,8 +172,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
   public static final int SURROGATE_INFO_TYPE_FIELD_NUMBER = 2;
   private com.google.privacy.dlp.v2.InfoType surrogateInfoType_;
   /**
-   *
-   *
    * 
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -239,7 +202,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; - * * @return Whether the surrogateInfoType field is set. */ @java.lang.Override @@ -247,8 +209,6 @@ public boolean hasSurrogateInfoType() { return surrogateInfoType_ != null; } /** - * - * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -279,18 +239,13 @@ public boolean hasSurrogateInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; - * * @return The surrogateInfoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { - return surrogateInfoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : surrogateInfoType_; + return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; } /** - * - * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -330,8 +285,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
   public static final int CONTEXT_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.FieldId context_;
   /**
-   *
-   *
    * 
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -350,7 +303,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ @java.lang.Override @@ -358,8 +310,6 @@ public boolean hasContext() { return context_ != null; } /** - * - * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -378,7 +328,6 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ @java.lang.Override @@ -386,8 +335,6 @@ public com.google.privacy.dlp.v2.FieldId getContext() { return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_; } /** - * - * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -413,7 +360,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -425,7 +371,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (cryptoKey_ != null) {
       output.writeMessage(1, getCryptoKey());
     }
@@ -445,13 +392,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (cryptoKey_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCryptoKey());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCryptoKey());
     }
     if (surrogateInfoType_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSurrogateInfoType());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getSurrogateInfoType());
     }
     if (context_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getContext());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getContext());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -461,25 +411,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.CryptoDeterministicConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.CryptoDeterministicConfig other =
-        (com.google.privacy.dlp.v2.CryptoDeterministicConfig) obj;
+    com.google.privacy.dlp.v2.CryptoDeterministicConfig other = (com.google.privacy.dlp.v2.CryptoDeterministicConfig) obj;
 
     if (hasCryptoKey() != other.hasCryptoKey()) return false;
     if (hasCryptoKey()) {
-      if (!getCryptoKey().equals(other.getCryptoKey())) return false;
+      if (!getCryptoKey()
+          .equals(other.getCryptoKey())) return false;
     }
     if (hasSurrogateInfoType() != other.hasSurrogateInfoType()) return false;
     if (hasSurrogateInfoType()) {
-      if (!getSurrogateInfoType().equals(other.getSurrogateInfoType())) return false;
+      if (!getSurrogateInfoType()
+          .equals(other.getSurrogateInfoType())) return false;
     }
     if (hasContext() != other.hasContext()) return false;
     if (hasContext()) {
-      if (!getContext().equals(other.getContext())) return false;
+      if (!getContext()
+          .equals(other.getContext())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -510,103 +462,96 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoDeterministicConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Pseudonymization method that generates deterministic encryption for the given
    * input. Outputs a base64 encoded representation of the encrypted output.
@@ -615,23 +560,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoDeterministicConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoDeterministicConfig)
       com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoDeterministicConfig.class,
-              com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
+              com.google.privacy.dlp.v2.CryptoDeterministicConfig.class, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoDeterministicConfig.newBuilder()
@@ -639,15 +582,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -673,9 +617,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
     }
 
     @java.lang.Override
@@ -694,8 +638,7 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CryptoDeterministicConfig buildPartial() {
-      com.google.privacy.dlp.v2.CryptoDeterministicConfig result =
-          new com.google.privacy.dlp.v2.CryptoDeterministicConfig(this);
+      com.google.privacy.dlp.v2.CryptoDeterministicConfig result = new com.google.privacy.dlp.v2.CryptoDeterministicConfig(this);
       if (cryptoKeyBuilder_ == null) {
         result.cryptoKey_ = cryptoKey_;
       } else {
@@ -719,39 +662,38 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoDeterministicConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoDeterministicConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoDeterministicConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -759,8 +701,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoDeterministicConfig other) {
-      if (other == com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance()) return this;
       if (other.hasCryptoKey()) {
         mergeCryptoKey(other.getCryptoKey());
       }
@@ -789,8 +730,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.CryptoDeterministicConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.CryptoDeterministicConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -802,13 +742,8 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey,
-            com.google.privacy.dlp.v2.CryptoKey.Builder,
-            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
-        cryptoKeyBuilder_;
+        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -816,15 +751,12 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return Whether the cryptoKey field is set. */ public boolean hasCryptoKey() { return cryptoKeyBuilder_ != null || cryptoKey_ != null; } /** - * - * *
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -832,21 +764,16 @@ public boolean hasCryptoKey() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return The cryptoKey. */ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (cryptoKeyBuilder_ == null) { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } else { return cryptoKeyBuilder_.getMessage(); } } /** - * - * *
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -869,8 +796,6 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -879,7 +804,8 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
      *
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
      */
-    public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
+    public Builder setCryptoKey(
+        com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
       if (cryptoKeyBuilder_ == null) {
         cryptoKey_ = builderForValue.build();
         onChanged();
@@ -890,8 +816,6 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -904,9 +828,7 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       if (cryptoKeyBuilder_ == null) {
         if (cryptoKey_ != null) {
           cryptoKey_ =
-              com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_).mergeFrom(value).buildPartial();
         } else {
           cryptoKey_ = value;
         }
@@ -918,8 +840,6 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -940,8 +860,6 @@ public Builder clearCryptoKey() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -951,13 +869,11 @@ public Builder clearCryptoKey() {
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
      */
     public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() {
-
+      
       onChanged();
       return getCryptoKeyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -970,14 +886,11 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
       if (cryptoKeyBuilder_ != null) {
         return cryptoKeyBuilder_.getMessageOrBuilder();
       } else {
-        return cryptoKey_ == null
-            ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()
-            : cryptoKey_;
+        return cryptoKey_ == null ?
+            com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_;
       }
     }
     /**
-     *
-     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -987,17 +900,14 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey,
-            com.google.privacy.dlp.v2.CryptoKey.Builder,
-            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
+        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> 
         getCryptoKeyFieldBuilder() {
       if (cryptoKeyBuilder_ == null) {
-        cryptoKeyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CryptoKey,
-                com.google.privacy.dlp.v2.CryptoKey.Builder,
-                com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
-                getCryptoKey(), getParentForChildren(), isClean());
+        cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
+                getCryptoKey(),
+                getParentForChildren(),
+                isClean());
         cryptoKey_ = null;
       }
       return cryptoKeyBuilder_;
@@ -1005,13 +915,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
 
     private com.google.privacy.dlp.v2.InfoType surrogateInfoType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-        surrogateInfoTypeBuilder_;
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> surrogateInfoTypeBuilder_;
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1042,15 +947,12 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; - * * @return Whether the surrogateInfoType field is set. */ public boolean hasSurrogateInfoType() { return surrogateInfoTypeBuilder_ != null || surrogateInfoType_ != null; } /** - * - * *
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1081,21 +983,16 @@ public boolean hasSurrogateInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; - * * @return The surrogateInfoType. */ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { if (surrogateInfoTypeBuilder_ == null) { - return surrogateInfoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : surrogateInfoType_; + return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; } else { return surrogateInfoTypeBuilder_.getMessage(); } } /** - * - * *
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1141,8 +1038,6 @@ public Builder setSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1186,8 +1081,6 @@ public Builder setSurrogateInfoType(
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1223,9 +1116,7 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       if (surrogateInfoTypeBuilder_ == null) {
         if (surrogateInfoType_ != null) {
           surrogateInfoType_ =
-              com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_).mergeFrom(value).buildPartial();
         } else {
           surrogateInfoType_ = value;
         }
@@ -1237,8 +1128,6 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1282,8 +1171,6 @@ public Builder clearSurrogateInfoType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1316,13 +1203,11 @@ public Builder clearSurrogateInfoType() {
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getSurrogateInfoTypeBuilder() {
-
+      
       onChanged();
       return getSurrogateInfoTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1358,14 +1243,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
       if (surrogateInfoTypeBuilder_ != null) {
         return surrogateInfoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return surrogateInfoType_ == null
-            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
-            : surrogateInfoType_;
+        return surrogateInfoType_ == null ?
+            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_;
       }
     }
     /**
-     *
-     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1398,17 +1280,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getSurrogateInfoTypeFieldBuilder() {
       if (surrogateInfoTypeBuilder_ == null) {
-        surrogateInfoTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getSurrogateInfoType(), getParentForChildren(), isClean());
+        surrogateInfoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getSurrogateInfoType(),
+                getParentForChildren(),
+                isClean());
         surrogateInfoType_ = null;
       }
       return surrogateInfoTypeBuilder_;
@@ -1416,13 +1295,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
 
     private com.google.privacy.dlp.v2.FieldId context_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
-        contextBuilder_;
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> contextBuilder_;
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1441,15 +1315,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** - * - * *
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1468,7 +1339,6 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1479,8 +1349,6 @@ public com.google.privacy.dlp.v2.FieldId getContext() { } } /** - * - * *
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1514,8 +1382,6 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1535,7 +1401,8 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      *
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
-    public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder setContext(
+        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (contextBuilder_ == null) {
         context_ = builderForValue.build();
         onChanged();
@@ -1546,8 +1413,6 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1571,9 +1436,7 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       if (contextBuilder_ == null) {
         if (context_ != null) {
           context_ =
-              com.google.privacy.dlp.v2.FieldId.newBuilder(context_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.FieldId.newBuilder(context_).mergeFrom(value).buildPartial();
         } else {
           context_ = value;
         }
@@ -1585,8 +1448,6 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1618,8 +1479,6 @@ public Builder clearContext() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1640,13 +1499,11 @@ public Builder clearContext() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
-
+      
       onChanged();
       return getContextFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1670,12 +1527,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
       if (contextBuilder_ != null) {
         return contextBuilder_.getMessageOrBuilder();
       } else {
-        return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
+        return context_ == null ?
+            com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
       }
     }
     /**
-     *
-     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1696,24 +1552,21 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
         getContextFieldBuilder() {
       if (contextBuilder_ == null) {
-        contextBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldId,
-                com.google.privacy.dlp.v2.FieldId.Builder,
-                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                getContext(), getParentForChildren(), isClean());
+        contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                getContext(),
+                getParentForChildren(),
+                isClean());
         context_ = null;
       }
       return contextBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1723,12 +1576,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoDeterministicConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoDeterministicConfig)
   private static final com.google.privacy.dlp.v2.CryptoDeterministicConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoDeterministicConfig();
   }
@@ -1737,16 +1590,16 @@ public static com.google.privacy.dlp.v2.CryptoDeterministicConfig getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CryptoDeterministicConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new CryptoDeterministicConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CryptoDeterministicConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new CryptoDeterministicConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1761,4 +1614,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.privacy.dlp.v2.CryptoDeterministicConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
similarity index 92%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
index 14513ed4..fd9b43de 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface CryptoDeterministicConfigOrBuilder
-    extends
+public interface CryptoDeterministicConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoDeterministicConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -33,13 +15,10 @@ public interface CryptoDeterministicConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** - * - * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -47,13 +26,10 @@ public interface CryptoDeterministicConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** - * - * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -65,8 +41,6 @@ public interface CryptoDeterministicConfigOrBuilder
   com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder();
 
   /**
-   *
-   *
    * 
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -97,13 +71,10 @@ public interface CryptoDeterministicConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; - * * @return Whether the surrogateInfoType field is set. */ boolean hasSurrogateInfoType(); /** - * - * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -134,13 +105,10 @@ public interface CryptoDeterministicConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; - * * @return The surrogateInfoType. */ com.google.privacy.dlp.v2.InfoType getSurrogateInfoType(); /** - * - * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -175,8 +143,6 @@ public interface CryptoDeterministicConfigOrBuilder
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -195,13 +161,10 @@ public interface CryptoDeterministicConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ boolean hasContext(); /** - * - * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -220,13 +183,10 @@ public interface CryptoDeterministicConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ com.google.privacy.dlp.v2.FieldId getContext(); /** - * - * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
similarity index 68%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
index cab000be..f781c1cb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Pseudonymization method that generates surrogates via cryptographic hashing.
  * Uses SHA-256.
@@ -33,29 +16,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig}
  */
-public final class CryptoHashConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CryptoHashConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoHashConfig)
     CryptoHashConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CryptoHashConfig.newBuilder() to construct.
   private CryptoHashConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CryptoHashConfig() {}
+  private CryptoHashConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CryptoHashConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CryptoHashConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,67 +58,59 @@ private CryptoHashConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-              if (cryptoKey_ != null) {
-                subBuilder = cryptoKey_.toBuilder();
-              }
-              cryptoKey_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(cryptoKey_);
-                cryptoKey_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+            if (cryptoKey_ != null) {
+              subBuilder = cryptoKey_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            cryptoKey_ = input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(cryptoKey_);
+              cryptoKey_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoHashConfig.class,
-            com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
+            com.google.privacy.dlp.v2.CryptoHashConfig.class, com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
   }
 
   public static final int CRYPTO_KEY_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
   /**
-   *
-   *
    * 
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -142,25 +118,18 @@ public boolean hasCryptoKey() { return cryptoKey_ != null; } /** - * - * *
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } /** - * - * *
    * The key used by the hash function.
    * 
@@ -173,7 +142,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cryptoKey_ != null) { output.writeMessage(1, getCryptoKey()); } @@ -199,7 +168,8 @@ public int getSerializedSize() { size = 0; if (cryptoKey_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCryptoKey()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCryptoKey()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -209,17 +179,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.privacy.dlp.v2.CryptoHashConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CryptoHashConfig other = - (com.google.privacy.dlp.v2.CryptoHashConfig) obj; + com.google.privacy.dlp.v2.CryptoHashConfig other = (com.google.privacy.dlp.v2.CryptoHashConfig) obj; if (hasCryptoKey() != other.hasCryptoKey()) return false; if (hasCryptoKey()) { - if (!getCryptoKey().equals(other.getCryptoKey())) return false; + if (!getCryptoKey() + .equals(other.getCryptoKey())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -241,104 +211,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CryptoHashConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CryptoHashConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoHashConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Pseudonymization method that generates surrogates via cryptographic hashing.
    * Uses SHA-256.
@@ -351,23 +314,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoHashConfig)
       com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoHashConfig.class,
-              com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
+              com.google.privacy.dlp.v2.CryptoHashConfig.class, com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoHashConfig.newBuilder()
@@ -375,15 +336,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,9 +359,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
     }
 
     @java.lang.Override
@@ -418,8 +380,7 @@ public com.google.privacy.dlp.v2.CryptoHashConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CryptoHashConfig buildPartial() {
-      com.google.privacy.dlp.v2.CryptoHashConfig result =
-          new com.google.privacy.dlp.v2.CryptoHashConfig(this);
+      com.google.privacy.dlp.v2.CryptoHashConfig result = new com.google.privacy.dlp.v2.CryptoHashConfig(this);
       if (cryptoKeyBuilder_ == null) {
         result.cryptoKey_ = cryptoKey_;
       } else {
@@ -433,39 +394,38 @@ public com.google.privacy.dlp.v2.CryptoHashConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoHashConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,47 +468,34 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey,
-            com.google.privacy.dlp.v2.CryptoKey.Builder,
-            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
-        cryptoKeyBuilder_;
+        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
     /**
-     *
-     *
      * 
      * The key used by the hash function.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return Whether the cryptoKey field is set. */ public boolean hasCryptoKey() { return cryptoKeyBuilder_ != null || cryptoKey_ != null; } /** - * - * *
      * The key used by the hash function.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return The cryptoKey. */ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (cryptoKeyBuilder_ == null) { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } else { return cryptoKeyBuilder_.getMessage(); } } /** - * - * *
      * The key used by the hash function.
      * 
@@ -569,15 +516,14 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** - * - * *
      * The key used by the hash function.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; */ - public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { + public Builder setCryptoKey( + com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { if (cryptoKeyBuilder_ == null) { cryptoKey_ = builderForValue.build(); onChanged(); @@ -588,8 +534,6 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF return this; } /** - * - * *
      * The key used by the hash function.
      * 
@@ -600,9 +544,7 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { if (cryptoKeyBuilder_ == null) { if (cryptoKey_ != null) { cryptoKey_ = - com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_).mergeFrom(value).buildPartial(); } else { cryptoKey_ = value; } @@ -614,8 +556,6 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** - * - * *
      * The key used by the hash function.
      * 
@@ -634,8 +574,6 @@ public Builder clearCryptoKey() { return this; } /** - * - * *
      * The key used by the hash function.
      * 
@@ -643,13 +581,11 @@ public Builder clearCryptoKey() { * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; */ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() { - + onChanged(); return getCryptoKeyFieldBuilder().getBuilder(); } /** - * - * *
      * The key used by the hash function.
      * 
@@ -660,14 +596,11 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { if (cryptoKeyBuilder_ != null) { return cryptoKeyBuilder_.getMessageOrBuilder(); } else { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? + com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } } /** - * - * *
      * The key used by the hash function.
      * 
@@ -675,24 +608,21 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, - com.google.privacy.dlp.v2.CryptoKey.Builder, - com.google.privacy.dlp.v2.CryptoKeyOrBuilder> + com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> getCryptoKeyFieldBuilder() { if (cryptoKeyBuilder_ == null) { - cryptoKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, - com.google.privacy.dlp.v2.CryptoKey.Builder, - com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( - getCryptoKey(), getParentForChildren(), isClean()); + cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( + getCryptoKey(), + getParentForChildren(), + isClean()); cryptoKey_ = null; } return cryptoKeyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -702,12 +632,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoHashConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoHashConfig) private static final com.google.privacy.dlp.v2.CryptoHashConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoHashConfig(); } @@ -716,16 +646,16 @@ public static com.google.privacy.dlp.v2.CryptoHashConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoHashConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoHashConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoHashConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoHashConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,4 +670,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CryptoHashConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java similarity index 57% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java index 7624a74c..325b7849 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CryptoHashConfigOrBuilder - extends +public interface CryptoHashConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoHashConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** - * - * *
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; - * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** - * - * *
    * The key used by the hash function.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java index 45516384..84ce956d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * This is a data encryption key (DEK) (as opposed to
  * a key encryption key (KEK) stored by Cloud Key Management Service
@@ -32,29 +15,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoKey}
  */
-public final class CryptoKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CryptoKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoKey)
     CryptoKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CryptoKey.newBuilder() to construct.
   private CryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CryptoKey() {}
+  private CryptoKey() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,101 +57,90 @@ private CryptoKey(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.TransientCryptoKey.Builder subBuilder = null;
-              if (sourceCase_ == 1) {
-                subBuilder = ((com.google.privacy.dlp.v2.TransientCryptoKey) source_).toBuilder();
-              }
-              source_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.TransientCryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey) source_);
-                source_ = subBuilder.buildPartial();
-              }
-              sourceCase_ = 1;
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.TransientCryptoKey.Builder subBuilder = null;
+            if (sourceCase_ == 1) {
+              subBuilder = ((com.google.privacy.dlp.v2.TransientCryptoKey) source_).toBuilder();
+            }
+            source_ =
+                input.readMessage(com.google.privacy.dlp.v2.TransientCryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey) source_);
+              source_ = subBuilder.buildPartial();
+            }
+            sourceCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder subBuilder = null;
+            if (sourceCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder subBuilder = null;
-              if (sourceCase_ == 2) {
-                subBuilder = ((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_).toBuilder();
-              }
-              source_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.UnwrappedCryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_);
-                source_ = subBuilder.buildPartial();
-              }
-              sourceCase_ = 2;
-              break;
+            source_ =
+                input.readMessage(com.google.privacy.dlp.v2.UnwrappedCryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_);
+              source_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder subBuilder = null;
-              if (sourceCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_).toBuilder();
-              }
-              source_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.KmsWrappedCryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_);
-                source_ = subBuilder.buildPartial();
-              }
-              sourceCase_ = 3;
-              break;
+            sourceCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder subBuilder = null;
+            if (sourceCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            source_ =
+                input.readMessage(com.google.privacy.dlp.v2.KmsWrappedCryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_);
+              source_ = subBuilder.buildPartial();
             }
+            sourceCase_ = 3;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoKey.class,
-            com.google.privacy.dlp.v2.CryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.CryptoKey.class, com.google.privacy.dlp.v2.CryptoKey.Builder.class);
   }
 
   private int sourceCase_ = 0;
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSIENT(1),
     UNWRAPPED(2),
     KMS_WRAPPED(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -183,38 +156,31 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return TRANSIENT;
-        case 2:
-          return UNWRAPPED;
-        case 3:
-          return KMS_WRAPPED;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 1: return TRANSIENT;
+        case 2: return UNWRAPPED;
+        case 3: return KMS_WRAPPED;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int TRANSIENT_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return Whether the transient field is set. */ @java.lang.Override @@ -222,26 +188,21 @@ public boolean hasTransient() { return sourceCase_ == 1; } /** - * - * *
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return The transient. */ @java.lang.Override public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; + return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; } return com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance(); } /** - * - * *
    * Transient crypto key
    * 
@@ -251,21 +212,18 @@ public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { @java.lang.Override public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuilder() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; + return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; } return com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance(); } public static final int UNWRAPPED_FIELD_NUMBER = 2; /** - * - * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return Whether the unwrapped field is set. */ @java.lang.Override @@ -273,26 +231,21 @@ public boolean hasUnwrapped() { return sourceCase_ == 2; } /** - * - * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return The unwrapped. */ @java.lang.Override public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance(); } /** - * - * *
    * Unwrapped crypto key
    * 
@@ -302,21 +255,18 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { @java.lang.Override public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance(); } public static final int KMS_WRAPPED_FIELD_NUMBER = 3; /** - * - * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; - * * @return Whether the kmsWrapped field is set. */ @java.lang.Override @@ -324,26 +274,21 @@ public boolean hasKmsWrapped() { return sourceCase_ == 3; } /** - * - * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; - * * @return The kmsWrapped. */ @java.lang.Override public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance(); } /** - * - * *
    * Key wrapped using Cloud KMS
    * 
@@ -353,13 +298,12 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { @java.lang.Override public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBuilder() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +315,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.TransientCryptoKey) source_); } @@ -391,19 +336,16 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.TransientCryptoKey) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.TransientCryptoKey) source_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_); } if (sourceCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -413,7 +355,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CryptoKey)) { return super.equals(obj); @@ -423,13 +365,16 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getTransient().equals(other.getTransient())) return false; + if (!getTransient() + .equals(other.getTransient())) return false; break; case 2: - if (!getUnwrapped().equals(other.getUnwrapped())) return false; + if (!getUnwrapped() + .equals(other.getUnwrapped())) return false; break; case 3: - if (!getKmsWrapped().equals(other.getKmsWrapped())) return false; + if (!getKmsWrapped() + .equals(other.getKmsWrapped())) return false; break; case 0: default: @@ -466,103 +411,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CryptoKey parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoKey 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.privacy.dlp.v2.CryptoKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 is a data encryption key (DEK) (as opposed to
    * a key encryption key (KEK) stored by Cloud Key Management Service
@@ -574,23 +513,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoKey)
       com.google.privacy.dlp.v2.CryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoKey.class,
-              com.google.privacy.dlp.v2.CryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.CryptoKey.class, com.google.privacy.dlp.v2.CryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoKey.newBuilder()
@@ -598,15 +535,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -616,9 +554,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -668,39 +606,38 @@ public com.google.privacy.dlp.v2.CryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoKey) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -710,25 +647,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoKey other) {
       if (other == com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()) return this;
       switch (other.getSourceCase()) {
-        case TRANSIENT:
-          {
-            mergeTransient(other.getTransient());
-            break;
-          }
-        case UNWRAPPED:
-          {
-            mergeUnwrapped(other.getUnwrapped());
-            break;
-          }
-        case KMS_WRAPPED:
-          {
-            mergeKmsWrapped(other.getKmsWrapped());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case TRANSIENT: {
+          mergeTransient(other.getTransient());
+          break;
+        }
+        case UNWRAPPED: {
+          mergeUnwrapped(other.getUnwrapped());
+          break;
+        }
+        case KMS_WRAPPED: {
+          mergeKmsWrapped(other.getKmsWrapped());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -758,12 +691,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-
-    public SourceCase getSourceCase() {
-      return SourceCase.forNumber(sourceCase_);
+    public SourceCase
+        getSourceCase() {
+      return SourceCase.forNumber(
+          sourceCase_);
     }
 
     public Builder clearSource() {
@@ -773,20 +706,15 @@ public Builder clearSource() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TransientCryptoKey,
-            com.google.privacy.dlp.v2.TransientCryptoKey.Builder,
-            com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>
-        transientBuilder_;
+        com.google.privacy.dlp.v2.TransientCryptoKey, com.google.privacy.dlp.v2.TransientCryptoKey.Builder, com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder> transientBuilder_;
     /**
-     *
-     *
      * 
      * Transient crypto key
      * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return Whether the transient field is set. */ @java.lang.Override @@ -794,14 +722,11 @@ public boolean hasTransient() { return sourceCase_ == 1; } /** - * - * *
      * Transient crypto key
      * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return The transient. */ @java.lang.Override @@ -819,8 +744,6 @@ public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { } } /** - * - * *
      * Transient crypto key
      * 
@@ -841,8 +764,6 @@ public Builder setTransient(com.google.privacy.dlp.v2.TransientCryptoKey value) return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -861,8 +782,6 @@ public Builder setTransient( return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -871,13 +790,10 @@ public Builder setTransient( */ public Builder mergeTransient(com.google.privacy.dlp.v2.TransientCryptoKey value) { if (transientBuilder_ == null) { - if (sourceCase_ == 1 - && source_ != com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance()) { - source_ = - com.google.privacy.dlp.v2.TransientCryptoKey.newBuilder( - (com.google.privacy.dlp.v2.TransientCryptoKey) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance()) { + source_ = com.google.privacy.dlp.v2.TransientCryptoKey.newBuilder((com.google.privacy.dlp.v2.TransientCryptoKey) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -892,8 +808,6 @@ public Builder mergeTransient(com.google.privacy.dlp.v2.TransientCryptoKey value return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -917,8 +831,6 @@ public Builder clearTransient() { return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -929,8 +841,6 @@ public com.google.privacy.dlp.v2.TransientCryptoKey.Builder getTransientBuilder( return getTransientFieldBuilder().getBuilder(); } /** - * - * *
      * Transient crypto key
      * 
@@ -949,8 +859,6 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild } } /** - * - * *
      * Transient crypto key
      * 
@@ -958,44 +866,32 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransientCryptoKey, - com.google.privacy.dlp.v2.TransientCryptoKey.Builder, - com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder> + com.google.privacy.dlp.v2.TransientCryptoKey, com.google.privacy.dlp.v2.TransientCryptoKey.Builder, com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder> getTransientFieldBuilder() { if (transientBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance(); } - transientBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransientCryptoKey, - com.google.privacy.dlp.v2.TransientCryptoKey.Builder, - com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>( + transientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransientCryptoKey, com.google.privacy.dlp.v2.TransientCryptoKey.Builder, com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>( (com.google.privacy.dlp.v2.TransientCryptoKey) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return transientBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.UnwrappedCryptoKey, - com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, - com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> - unwrappedBuilder_; + com.google.privacy.dlp.v2.UnwrappedCryptoKey, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> unwrappedBuilder_; /** - * - * *
      * Unwrapped crypto key
      * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return Whether the unwrapped field is set. */ @java.lang.Override @@ -1003,14 +899,11 @@ public boolean hasUnwrapped() { return sourceCase_ == 2; } /** - * - * *
      * Unwrapped crypto key
      * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return The unwrapped. */ @java.lang.Override @@ -1028,8 +921,6 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { } } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1050,8 +941,6 @@ public Builder setUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value) return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1070,8 +959,6 @@ public Builder setUnwrapped( return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1080,13 +967,10 @@ public Builder setUnwrapped( */ public Builder mergeUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value) { if (unwrappedBuilder_ == null) { - if (sourceCase_ == 2 - && source_ != com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance()) { - source_ = - com.google.privacy.dlp.v2.UnwrappedCryptoKey.newBuilder( - (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance()) { + source_ = com.google.privacy.dlp.v2.UnwrappedCryptoKey.newBuilder((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1101,8 +985,6 @@ public Builder mergeUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1126,8 +1008,6 @@ public Builder clearUnwrapped() { return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1138,8 +1018,6 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder getUnwrappedBuilder( return getUnwrappedFieldBuilder().getBuilder(); } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1158,8 +1036,6 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild } } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1167,44 +1043,32 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.UnwrappedCryptoKey, - com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, - com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> + com.google.privacy.dlp.v2.UnwrappedCryptoKey, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> getUnwrappedFieldBuilder() { if (unwrappedBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance(); } - unwrappedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.UnwrappedCryptoKey, - com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, - com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder>( + unwrappedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.UnwrappedCryptoKey, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder>( (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return unwrappedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KmsWrappedCryptoKey, - com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, - com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> - kmsWrappedBuilder_; + com.google.privacy.dlp.v2.KmsWrappedCryptoKey, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> kmsWrappedBuilder_; /** - * - * *
      * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; - * * @return Whether the kmsWrapped field is set. */ @java.lang.Override @@ -1212,14 +1076,11 @@ public boolean hasKmsWrapped() { return sourceCase_ == 3; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; - * * @return The kmsWrapped. */ @java.lang.Override @@ -1237,8 +1098,6 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { } } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1259,8 +1118,6 @@ public Builder setKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1279,8 +1136,6 @@ public Builder setKmsWrapped( return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1289,13 +1144,10 @@ public Builder setKmsWrapped( */ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value) { if (kmsWrappedBuilder_ == null) { - if (sourceCase_ == 3 - && source_ != com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance()) { - source_ = - com.google.privacy.dlp.v2.KmsWrappedCryptoKey.newBuilder( - (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 3 && + source_ != com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance()) { + source_ = com.google.privacy.dlp.v2.KmsWrappedCryptoKey.newBuilder((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1310,8 +1162,6 @@ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey val return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1335,8 +1185,6 @@ public Builder clearKmsWrapped() { return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1347,8 +1195,6 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder getKmsWrappedBuilde return getKmsWrappedFieldBuilder().getBuilder(); } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1367,8 +1213,6 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui } } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1376,32 +1220,26 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KmsWrappedCryptoKey, - com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, - com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> + com.google.privacy.dlp.v2.KmsWrappedCryptoKey, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> getKmsWrappedFieldBuilder() { if (kmsWrappedBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance(); } - kmsWrappedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KmsWrappedCryptoKey, - com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, - com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder>( + kmsWrappedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.KmsWrappedCryptoKey, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder>( (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 3; - onChanged(); - ; + onChanged();; return kmsWrappedBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1411,12 +1249,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoKey) private static final com.google.privacy.dlp.v2.CryptoKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoKey(); } @@ -1425,16 +1263,16 @@ public static com.google.privacy.dlp.v2.CryptoKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1449,4 +1287,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java index 39934042..8dbe769f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CryptoKeyOrBuilder - extends +public interface CryptoKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return Whether the transient field is set. */ boolean hasTransient(); /** - * - * *
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return The transient. */ com.google.privacy.dlp.v2.TransientCryptoKey getTransient(); /** - * - * *
    * Transient crypto key
    * 
@@ -59,32 +35,24 @@ public interface CryptoKeyOrBuilder com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuilder(); /** - * - * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return Whether the unwrapped field is set. */ boolean hasUnwrapped(); /** - * - * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return The unwrapped. */ com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped(); /** - * - * *
    * Unwrapped crypto key
    * 
@@ -94,32 +62,24 @@ public interface CryptoKeyOrBuilder com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder(); /** - * - * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; - * * @return Whether the kmsWrapped field is set. */ boolean hasKmsWrapped(); /** - * - * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; - * * @return The kmsWrapped. */ com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped(); /** - * - * *
    * Key wrapped using Cloud KMS
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java index 5b7c358b..fdca8a15 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Replaces an identifier with a surrogate using Format Preserving Encryption
  * (FPE) with the FFX mode of operation; however when used in the
@@ -38,29 +21,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig}
  */
-public final class CryptoReplaceFfxFpeConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CryptoReplaceFfxFpeConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
     CryptoReplaceFfxFpeConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CryptoReplaceFfxFpeConfig.newBuilder() to construct.
   private CryptoReplaceFfxFpeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CryptoReplaceFfxFpeConfig() {}
+  private CryptoReplaceFfxFpeConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CryptoReplaceFfxFpeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CryptoReplaceFfxFpeConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,109 +63,95 @@ private CryptoReplaceFfxFpeConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-              if (cryptoKey_ != null) {
-                subBuilder = cryptoKey_.toBuilder();
-              }
-              cryptoKey_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(cryptoKey_);
-                cryptoKey_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+            if (cryptoKey_ != null) {
+              subBuilder = cryptoKey_.toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (context_ != null) {
-                subBuilder = context_.toBuilder();
-              }
-              context_ =
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(context_);
-                context_ = subBuilder.buildPartial();
-              }
-
-              break;
+            cryptoKey_ = input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(cryptoKey_);
+              cryptoKey_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-              alphabetCase_ = 4;
-              alphabet_ = rawValue;
-              break;
+
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+            if (context_ != null) {
+              subBuilder = context_.toBuilder();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              alphabetCase_ = 5;
-              alphabet_ = s;
-              break;
+            context_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(context_);
+              context_ = subBuilder.buildPartial();
             }
-          case 48:
-            {
-              alphabetCase_ = 6;
-              alphabet_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+            alphabetCase_ = 4;
+            alphabet_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+            alphabetCase_ = 5;
+            alphabet_ = s;
+            break;
+          }
+          case 48: {
+            alphabetCase_ = 6;
+            alphabet_ = input.readInt32();
+            break;
+          }
+          case 66: {
+            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+            if (surrogateInfoType_ != null) {
+              subBuilder = surrogateInfoType_.toBuilder();
             }
-          case 66:
-            {
-              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-              if (surrogateInfoType_ != null) {
-                subBuilder = surrogateInfoType_.toBuilder();
-              }
-              surrogateInfoType_ =
-                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(surrogateInfoType_);
-                surrogateInfoType_ = subBuilder.buildPartial();
-              }
-
-              break;
+            surrogateInfoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(surrogateInfoType_);
+              surrogateInfoType_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class,
-            com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
+            com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * These are commonly used subsets of the alphabet that the FFX mode
    * natively supports. In the algorithm, the alphabet is selected using
@@ -190,10 +160,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet}
    */
-  public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FfxCommonNativeAlphabet
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -202,8 +171,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED(0), /** - * - * *
      * `[0-9]` (radix of 10)
      * 
@@ -212,8 +179,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ NUMERIC(1), /** - * - * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -222,8 +187,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ HEXADECIMAL(2), /** - * - * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -232,8 +195,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ UPPER_CASE_ALPHA_NUMERIC(3), /** - * - * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -245,8 +206,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa ; /** - * - * *
      * Unused.
      * 
@@ -255,8 +214,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED_VALUE = 0; /** - * - * *
      * `[0-9]` (radix of 10)
      * 
@@ -265,8 +222,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int NUMERIC_VALUE = 1; /** - * - * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -275,8 +230,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int HEXADECIMAL_VALUE = 2; /** - * - * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -285,8 +238,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int UPPER_CASE_ALPHA_NUMERIC_VALUE = 3; /** - * - * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -295,6 +246,7 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int ALPHA_NUMERIC_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -319,18 +271,12 @@ public static FfxCommonNativeAlphabet valueOf(int value) { */ public static FfxCommonNativeAlphabet forNumber(int value) { switch (value) { - case 0: - return FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; - case 1: - return NUMERIC; - case 2: - return HEXADECIMAL; - case 3: - return UPPER_CASE_ALPHA_NUMERIC; - case 4: - return ALPHA_NUMERIC; - default: - return null; + case 0: return FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; + case 1: return NUMERIC; + case 2: return HEXADECIMAL; + case 3: return UPPER_CASE_ALPHA_NUMERIC; + case 4: return ALPHA_NUMERIC; + default: return null; } } @@ -338,31 +284,29 @@ public static FfxCommonNativeAlphabet forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + FfxCommonNativeAlphabet> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FfxCommonNativeAlphabet findValueByNumber(int number) { + return FfxCommonNativeAlphabet.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FfxCommonNativeAlphabet findValueByNumber(int number) { - return FfxCommonNativeAlphabet.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDescriptor().getEnumTypes().get(0); } private static final FfxCommonNativeAlphabet[] VALUES = values(); @@ -370,7 +314,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static FfxCommonNativeAlphabet 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; @@ -389,17 +334,14 @@ private FfxCommonNativeAlphabet(int value) { private int alphabetCase_ = 0; private java.lang.Object alphabet_; - public enum AlphabetCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMMON_ALPHABET(4), CUSTOM_ALPHABET(5), RADIX(6), ALPHABET_NOT_SET(0); private final int value; - private AlphabetCase(int value) { this.value = value; } @@ -415,41 +357,32 @@ public static AlphabetCase valueOf(int value) { public static AlphabetCase forNumber(int value) { switch (value) { - case 4: - return COMMON_ALPHABET; - case 5: - return CUSTOM_ALPHABET; - case 6: - return RADIX; - case 0: - return ALPHABET_NOT_SET; - default: - return null; + case 4: return COMMON_ALPHABET; + case 5: return CUSTOM_ALPHABET; + case 6: return RADIX; + case 0: return ALPHABET_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public AlphabetCase getAlphabetCase() { - return AlphabetCase.forNumber(alphabetCase_); + public AlphabetCase + getAlphabetCase() { + return AlphabetCase.forNumber( + alphabetCase_); } public static final int CRYPTO_KEY_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.CryptoKey cryptoKey_; /** - * - * *
    * Required. The key used by the encryption algorithm.
    * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -457,34 +390,23 @@ public boolean hasCryptoKey() { return cryptoKey_ != null; } /** - * - * *
    * Required. The key used by the encryption algorithm.
    * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } /** - * - * *
    * Required. The key used by the encryption algorithm.
    * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { @@ -494,8 +416,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { public static final int CONTEXT_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId context_; /** - * - * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -514,7 +434,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return Whether the context field is set. */ @java.lang.Override @@ -522,8 +441,6 @@ public boolean hasContext() { return context_ != null; } /** - * - * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -542,7 +459,6 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return The context. */ @java.lang.Override @@ -550,8 +466,6 @@ public com.google.privacy.dlp.v2.FieldId getContext() { return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_; } /** - * - * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -578,32 +492,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
 
   public static final int COMMON_ALPHABET_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Common alphabets.
    * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return Whether the commonAlphabet field is set. */ public boolean hasCommonAlphabet() { return alphabetCase_ == 4; } /** - * - * *
    * Common alphabets.
    * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return The enum numeric value on the wire for commonAlphabet. */ public int getCommonAlphabetValue() { @@ -613,37 +517,25 @@ public int getCommonAlphabetValue() { return 0; } /** - * - * *
    * Common alphabets.
    * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return The commonAlphabet. */ - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet - getCommonAlphabet() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet() { if (alphabetCase_ == 4) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( - (java.lang.Integer) alphabet_); - return result == null - ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.UNRECOGNIZED - : result; - } - return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet - .FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( + (java.lang.Integer) alphabet_); + return result == null ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.UNRECOGNIZED : result; + } + return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; } public static final int CUSTOM_ALPHABET_FIELD_NUMBER = 5; /** - * - * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -658,15 +550,12 @@ public int getCommonAlphabetValue() {
    * 
* * string custom_alphabet = 5; - * * @return Whether the customAlphabet field is set. */ public boolean hasCustomAlphabet() { return alphabetCase_ == 5; } /** - * - * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -681,7 +570,6 @@ public boolean hasCustomAlphabet() {
    * 
* * string custom_alphabet = 5; - * * @return The customAlphabet. */ public java.lang.String getCustomAlphabet() { @@ -692,7 +580,8 @@ public java.lang.String getCustomAlphabet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (alphabetCase_ == 5) { alphabet_ = s; @@ -701,8 +590,6 @@ public java.lang.String getCustomAlphabet() { } } /** - * - * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -717,17 +604,18 @@ public java.lang.String getCustomAlphabet() {
    * 
* * string custom_alphabet = 5; - * * @return The bytes for customAlphabet. */ - public com.google.protobuf.ByteString getCustomAlphabetBytes() { + public com.google.protobuf.ByteString + getCustomAlphabetBytes() { java.lang.Object ref = ""; if (alphabetCase_ == 5) { ref = alphabet_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (alphabetCase_ == 5) { alphabet_ = b; } @@ -739,14 +627,11 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() { public static final int RADIX_FIELD_NUMBER = 6; /** - * - * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; - * * @return Whether the radix field is set. */ @java.lang.Override @@ -754,14 +639,11 @@ public boolean hasRadix() { return alphabetCase_ == 6; } /** - * - * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; - * * @return The radix. */ @java.lang.Override @@ -775,8 +657,6 @@ public int getRadix() { public static final int SURROGATE_INFO_TYPE_FIELD_NUMBER = 8; private com.google.privacy.dlp.v2.InfoType surrogateInfoType_; /** - * - * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -803,7 +683,6 @@ public int getRadix() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return Whether the surrogateInfoType field is set. */ @java.lang.Override @@ -811,8 +690,6 @@ public boolean hasSurrogateInfoType() { return surrogateInfoType_ != null; } /** - * - * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -839,18 +716,13 @@ public boolean hasSurrogateInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return The surrogateInfoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { - return surrogateInfoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : surrogateInfoType_; + return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; } /** - * - * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -884,7 +756,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -896,7 +767,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (cryptoKey_ != null) {
       output.writeMessage(1, getCryptoKey());
     }
@@ -910,7 +782,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       com.google.protobuf.GeneratedMessageV3.writeString(output, 5, alphabet_);
     }
     if (alphabetCase_ == 6) {
-      output.writeInt32(6, (int) ((java.lang.Integer) alphabet_));
+      output.writeInt32(
+          6, (int)((java.lang.Integer) alphabet_));
     }
     if (surrogateInfoType_ != null) {
       output.writeMessage(8, getSurrogateInfoType());
@@ -925,25 +798,28 @@ public int getSerializedSize() {
 
     size = 0;
     if (cryptoKey_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCryptoKey());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCryptoKey());
     }
     if (context_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContext());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getContext());
     }
     if (alphabetCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(4, ((java.lang.Integer) alphabet_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(4, ((java.lang.Integer) alphabet_));
     }
     if (alphabetCase_ == 5) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, alphabet_);
     }
     if (alphabetCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeInt32Size(
-              6, (int) ((java.lang.Integer) alphabet_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(
+            6, (int)((java.lang.Integer) alphabet_));
     }
     if (surrogateInfoType_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSurrogateInfoType());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getSurrogateInfoType());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -953,36 +829,41 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig other =
-        (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) obj;
+    com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig other = (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) obj;
 
     if (hasCryptoKey() != other.hasCryptoKey()) return false;
     if (hasCryptoKey()) {
-      if (!getCryptoKey().equals(other.getCryptoKey())) return false;
+      if (!getCryptoKey()
+          .equals(other.getCryptoKey())) return false;
     }
     if (hasContext() != other.hasContext()) return false;
     if (hasContext()) {
-      if (!getContext().equals(other.getContext())) return false;
+      if (!getContext()
+          .equals(other.getContext())) return false;
     }
     if (hasSurrogateInfoType() != other.hasSurrogateInfoType()) return false;
     if (hasSurrogateInfoType()) {
-      if (!getSurrogateInfoType().equals(other.getSurrogateInfoType())) return false;
+      if (!getSurrogateInfoType()
+          .equals(other.getSurrogateInfoType())) return false;
     }
     if (!getAlphabetCase().equals(other.getAlphabetCase())) return false;
     switch (alphabetCase_) {
       case 4:
-        if (getCommonAlphabetValue() != other.getCommonAlphabetValue()) return false;
+        if (getCommonAlphabetValue()
+            != other.getCommonAlphabetValue()) return false;
         break;
       case 5:
-        if (!getCustomAlphabet().equals(other.getCustomAlphabet())) return false;
+        if (!getCustomAlphabet()
+            .equals(other.getCustomAlphabet())) return false;
         break;
       case 6:
-        if (getRadix() != other.getRadix()) return false;
+        if (getRadix()
+            != other.getRadix()) return false;
         break;
       case 0:
       default:
@@ -1032,103 +913,96 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Replaces an identifier with a surrogate using Format Preserving Encryption
    * (FPE) with the FFX mode of operation; however when used in the
@@ -1146,23 +1020,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
       com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class,
-              com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
+              com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.newBuilder()
@@ -1170,15 +1042,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1206,9 +1079,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1227,8 +1100,7 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig buildPartial() {
-      com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig result =
-          new com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig(this);
+      com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig result = new com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig(this);
       if (cryptoKeyBuilder_ == null) {
         result.cryptoKey_ = cryptoKey_;
       } else {
@@ -1262,39 +1134,38 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1302,8 +1173,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig other) {
-      if (other == com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance()) return this;
       if (other.hasCryptoKey()) {
         mergeCryptoKey(other.getCryptoKey());
       }
@@ -1314,27 +1184,23 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig oth
         mergeSurrogateInfoType(other.getSurrogateInfoType());
       }
       switch (other.getAlphabetCase()) {
-        case COMMON_ALPHABET:
-          {
-            setCommonAlphabetValue(other.getCommonAlphabetValue());
-            break;
-          }
-        case CUSTOM_ALPHABET:
-          {
-            alphabetCase_ = 5;
-            alphabet_ = other.alphabet_;
-            onChanged();
-            break;
-          }
-        case RADIX:
-          {
-            setRadix(other.getRadix());
-            break;
-          }
-        case ALPHABET_NOT_SET:
-          {
-            break;
-          }
+        case COMMON_ALPHABET: {
+          setCommonAlphabetValue(other.getCommonAlphabetValue());
+          break;
+        }
+        case CUSTOM_ALPHABET: {
+          alphabetCase_ = 5;
+          alphabet_ = other.alphabet_;
+          onChanged();
+          break;
+        }
+        case RADIX: {
+          setRadix(other.getRadix());
+          break;
+        }
+        case ALPHABET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1355,8 +1221,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1365,12 +1230,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int alphabetCase_ = 0;
     private java.lang.Object alphabet_;
-
-    public AlphabetCase getAlphabetCase() {
-      return AlphabetCase.forNumber(alphabetCase_);
+    public AlphabetCase
+        getAlphabetCase() {
+      return AlphabetCase.forNumber(
+          alphabetCase_);
     }
 
     public Builder clearAlphabet() {
@@ -1380,60 +1245,42 @@ public Builder clearAlphabet() {
       return this;
     }
 
+
     private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey,
-            com.google.privacy.dlp.v2.CryptoKey.Builder,
-            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
-        cryptoKeyBuilder_;
+        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
     /**
-     *
-     *
      * 
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cryptoKey field is set. */ public boolean hasCryptoKey() { return cryptoKeyBuilder_ != null || cryptoKey_ != null; } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cryptoKey. */ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (cryptoKeyBuilder_ == null) { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } else { return cryptoKeyBuilder_.getMessage(); } } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { if (cryptoKeyBuilder_ == null) { @@ -1449,17 +1296,14 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { + public Builder setCryptoKey( + com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { if (cryptoKeyBuilder_ == null) { cryptoKey_ = builderForValue.build(); onChanged(); @@ -1470,23 +1314,17 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF return this; } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { if (cryptoKeyBuilder_ == null) { if (cryptoKey_ != null) { cryptoKey_ = - com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_).mergeFrom(value).buildPartial(); } else { cryptoKey_ = value; } @@ -1498,15 +1336,11 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCryptoKey() { if (cryptoKeyBuilder_ == null) { @@ -1520,64 +1354,48 @@ public Builder clearCryptoKey() { return this; } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() { - + onChanged(); return getCryptoKeyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { if (cryptoKeyBuilder_ != null) { return cryptoKeyBuilder_.getMessageOrBuilder(); } else { - return cryptoKey_ == null - ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() - : cryptoKey_; + return cryptoKey_ == null ? + com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; } } /** - * - * *
      * Required. The key used by the encryption algorithm.
      * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, - com.google.privacy.dlp.v2.CryptoKey.Builder, - com.google.privacy.dlp.v2.CryptoKeyOrBuilder> + com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> getCryptoKeyFieldBuilder() { if (cryptoKeyBuilder_ == null) { - cryptoKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, - com.google.privacy.dlp.v2.CryptoKey.Builder, - com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( - getCryptoKey(), getParentForChildren(), isClean()); + cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( + getCryptoKey(), + getParentForChildren(), + isClean()); cryptoKey_ = null; } return cryptoKeyBuilder_; @@ -1585,13 +1403,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { private com.google.privacy.dlp.v2.FieldId context_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - contextBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> contextBuilder_; /** - * - * *
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1610,15 +1423,12 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** - * - * *
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1637,7 +1447,6 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1648,8 +1457,6 @@ public com.google.privacy.dlp.v2.FieldId getContext() { } } /** - * - * *
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1683,8 +1490,6 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1704,7 +1509,8 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      *
      * .google.privacy.dlp.v2.FieldId context = 2;
      */
-    public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder setContext(
+        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (contextBuilder_ == null) {
         context_ = builderForValue.build();
         onChanged();
@@ -1715,8 +1521,6 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1740,9 +1544,7 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       if (contextBuilder_ == null) {
         if (context_ != null) {
           context_ =
-              com.google.privacy.dlp.v2.FieldId.newBuilder(context_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.FieldId.newBuilder(context_).mergeFrom(value).buildPartial();
         } else {
           context_ = value;
         }
@@ -1754,8 +1556,6 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1787,8 +1587,6 @@ public Builder clearContext() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1809,13 +1607,11 @@ public Builder clearContext() {
      * .google.privacy.dlp.v2.FieldId context = 2;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
-
+      
       onChanged();
       return getContextFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1839,12 +1635,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
       if (contextBuilder_ != null) {
         return contextBuilder_.getMessageOrBuilder();
       } else {
-        return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
+        return context_ == null ?
+            com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
       }
     }
     /**
-     *
-     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1865,33 +1660,25 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * .google.privacy.dlp.v2.FieldId context = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
         getContextFieldBuilder() {
       if (contextBuilder_ == null) {
-        contextBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldId,
-                com.google.privacy.dlp.v2.FieldId.Builder,
-                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                getContext(), getParentForChildren(), isClean());
+        contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                getContext(),
+                getParentForChildren(),
+                isClean());
         context_ = null;
       }
       return contextBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Common alphabets.
      * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return Whether the commonAlphabet field is set. */ @java.lang.Override @@ -1899,16 +1686,11 @@ public boolean hasCommonAlphabet() { return alphabetCase_ == 4; } /** - * - * *
      * Common alphabets.
      * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return The enum numeric value on the wire for commonAlphabet. */ @java.lang.Override @@ -1919,16 +1701,11 @@ public int getCommonAlphabetValue() { return 0; } /** - * - * *
      * Common alphabets.
      * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @param value The enum numeric value on the wire for commonAlphabet to set. * @return This builder for chaining. */ @@ -1939,50 +1716,33 @@ public Builder setCommonAlphabetValue(int value) { return this; } /** - * - * *
      * Common alphabets.
      * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return The commonAlphabet. */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet - getCommonAlphabet() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet() { if (alphabetCase_ == 4) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( - (java.lang.Integer) alphabet_); - return result == null - ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet - .UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( + (java.lang.Integer) alphabet_); + return result == null ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.UNRECOGNIZED : result; } - return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet - .FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; + return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; } /** - * - * *
      * Common alphabets.
      * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @param value The commonAlphabet to set. * @return This builder for chaining. */ - public Builder setCommonAlphabet( - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet value) { + public Builder setCommonAlphabet(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet value) { if (value == null) { throw new NullPointerException(); } @@ -1992,16 +1752,11 @@ public Builder setCommonAlphabet( return this; } /** - * - * *
      * Common alphabets.
      * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return This builder for chaining. */ public Builder clearCommonAlphabet() { @@ -2014,8 +1769,6 @@ public Builder clearCommonAlphabet() { } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2030,7 +1783,6 @@ public Builder clearCommonAlphabet() {
      * 
* * string custom_alphabet = 5; - * * @return Whether the customAlphabet field is set. */ @java.lang.Override @@ -2038,8 +1790,6 @@ public boolean hasCustomAlphabet() { return alphabetCase_ == 5; } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2054,7 +1804,6 @@ public boolean hasCustomAlphabet() {
      * 
* * string custom_alphabet = 5; - * * @return The customAlphabet. */ @java.lang.Override @@ -2064,7 +1813,8 @@ public java.lang.String getCustomAlphabet() { ref = alphabet_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (alphabetCase_ == 5) { alphabet_ = s; @@ -2075,8 +1825,6 @@ public java.lang.String getCustomAlphabet() { } } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2091,18 +1839,19 @@ public java.lang.String getCustomAlphabet() {
      * 
* * string custom_alphabet = 5; - * * @return The bytes for customAlphabet. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomAlphabetBytes() { + public com.google.protobuf.ByteString + getCustomAlphabetBytes() { java.lang.Object ref = ""; if (alphabetCase_ == 5) { ref = alphabet_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (alphabetCase_ == 5) { alphabet_ = b; } @@ -2112,8 +1861,6 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() { } } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2128,22 +1875,20 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() {
      * 
* * string custom_alphabet = 5; - * * @param value The customAlphabet to set. * @return This builder for chaining. */ - public Builder setCustomAlphabet(java.lang.String value) { + public Builder setCustomAlphabet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - alphabetCase_ = 5; + throw new NullPointerException(); + } + alphabetCase_ = 5; alphabet_ = value; onChanged(); return this; } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2158,7 +1903,6 @@ public Builder setCustomAlphabet(java.lang.String value) {
      * 
* * string custom_alphabet = 5; - * * @return This builder for chaining. */ public Builder clearCustomAlphabet() { @@ -2170,8 +1914,6 @@ public Builder clearCustomAlphabet() { return this; } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2186,15 +1928,15 @@ public Builder clearCustomAlphabet() {
      * 
* * string custom_alphabet = 5; - * * @param value The bytes for customAlphabet to set. * @return This builder for chaining. */ - public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) { + public Builder setCustomAlphabetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); alphabetCase_ = 5; alphabet_ = value; onChanged(); @@ -2202,28 +1944,22 @@ public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; - * * @return Whether the radix field is set. */ public boolean hasRadix() { return alphabetCase_ == 6; } /** - * - * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; - * * @return The radix. */ public int getRadix() { @@ -2233,14 +1969,11 @@ public int getRadix() { return 0; } /** - * - * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; - * * @param value The radix to set. * @return This builder for chaining. */ @@ -2251,14 +1984,11 @@ public Builder setRadix(int value) { return this; } /** - * - * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; - * * @return This builder for chaining. */ public Builder clearRadix() { @@ -2272,13 +2002,8 @@ public Builder clearRadix() { private com.google.privacy.dlp.v2.InfoType surrogateInfoType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - surrogateInfoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> surrogateInfoTypeBuilder_; /** - * - * *
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2305,15 +2030,12 @@ public Builder clearRadix() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return Whether the surrogateInfoType field is set. */ public boolean hasSurrogateInfoType() { return surrogateInfoTypeBuilder_ != null || surrogateInfoType_ != null; } /** - * - * *
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2340,21 +2062,16 @@ public boolean hasSurrogateInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return The surrogateInfoType. */ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { if (surrogateInfoTypeBuilder_ == null) { - return surrogateInfoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : surrogateInfoType_; + return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; } else { return surrogateInfoTypeBuilder_.getMessage(); } } /** - * - * *
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2396,8 +2113,6 @@ public Builder setSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2437,8 +2152,6 @@ public Builder setSurrogateInfoType(
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2470,9 +2183,7 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       if (surrogateInfoTypeBuilder_ == null) {
         if (surrogateInfoType_ != null) {
           surrogateInfoType_ =
-              com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_).mergeFrom(value).buildPartial();
         } else {
           surrogateInfoType_ = value;
         }
@@ -2484,8 +2195,6 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2525,8 +2234,6 @@ public Builder clearSurrogateInfoType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2555,13 +2262,11 @@ public Builder clearSurrogateInfoType() {
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getSurrogateInfoTypeBuilder() {
-
+      
       onChanged();
       return getSurrogateInfoTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2593,14 +2298,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
       if (surrogateInfoTypeBuilder_ != null) {
         return surrogateInfoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return surrogateInfoType_ == null
-            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
-            : surrogateInfoType_;
+        return surrogateInfoType_ == null ?
+            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_;
       }
     }
     /**
-     *
-     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2629,24 +2331,21 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getSurrogateInfoTypeFieldBuilder() {
       if (surrogateInfoTypeBuilder_ == null) {
-        surrogateInfoTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getSurrogateInfoType(), getParentForChildren(), isClean());
+        surrogateInfoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getSurrogateInfoType(),
+                getParentForChildren(),
+                isClean());
         surrogateInfoType_ = null;
       }
       return surrogateInfoTypeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2656,12 +2355,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
   private static final com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig();
   }
@@ -2670,16 +2369,16 @@ public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CryptoReplaceFfxFpeConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new CryptoReplaceFfxFpeConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CryptoReplaceFfxFpeConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new CryptoReplaceFfxFpeConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2694,4 +2393,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
similarity index 87%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
index 0241d7e2..71a5d24c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
@@ -1,72 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface CryptoReplaceFfxFpeConfigOrBuilder
-    extends
+public interface CryptoReplaceFfxFpeConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The key used by the encryption algorithm.
    * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** - * - * *
    * Required. The key used by the encryption algorithm.
    * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** - * - * *
    * Required. The key used by the encryption algorithm.
    * 
* - * - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder(); /** - * - * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -85,13 +53,10 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return Whether the context field is set. */ boolean hasContext(); /** - * - * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -110,13 +75,10 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return The context. */ com.google.privacy.dlp.v2.FieldId getContext(); /** - * - * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -139,51 +101,34 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
   com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder();
 
   /**
-   *
-   *
    * 
    * Common alphabets.
    * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return Whether the commonAlphabet field is set. */ boolean hasCommonAlphabet(); /** - * - * *
    * Common alphabets.
    * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return The enum numeric value on the wire for commonAlphabet. */ int getCommonAlphabetValue(); /** - * - * *
    * Common alphabets.
    * 
* - * - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; * @return The commonAlphabet. */ com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet(); /** - * - * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -198,13 +143,10 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * string custom_alphabet = 5; - * * @return Whether the customAlphabet field is set. */ boolean hasCustomAlphabet(); /** - * - * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -219,13 +161,10 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * string custom_alphabet = 5; - * * @return The customAlphabet. */ java.lang.String getCustomAlphabet(); /** - * - * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -240,39 +179,31 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * string custom_alphabet = 5; - * * @return The bytes for customAlphabet. */ - com.google.protobuf.ByteString getCustomAlphabetBytes(); + com.google.protobuf.ByteString + getCustomAlphabetBytes(); /** - * - * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; - * * @return Whether the radix field is set. */ boolean hasRadix(); /** - * - * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; - * * @return The radix. */ int getRadix(); /** - * - * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -299,13 +230,10 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return Whether the surrogateInfoType field is set. */ boolean hasSurrogateInfoType(); /** - * - * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -332,13 +260,10 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return The surrogateInfoType. */ com.google.privacy.dlp.v2.InfoType getSurrogateInfoType(); /** - * - * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
similarity index 73%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
index 56ccf440..9a075ebc 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Custom information type provided by the user. Used to find domain-specific
  * sensitive information configurable to the data in question.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType}
  */
-public final class CustomInfoType extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CustomInfoType extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType)
     CustomInfoTypeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CustomInfoType.newBuilder() to construct.
   private CustomInfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CustomInfoType() {
     likelihood_ = 0;
     detectionRules_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private CustomInfoType() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CustomInfoType();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CustomInfoType(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,131 +57,110 @@ private CustomInfoType(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-              if (infoType_ != null) {
-                subBuilder = infoType_.toBuilder();
-              }
-              infoType_ =
-                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(infoType_);
-                infoType_ = subBuilder.buildPartial();
-              }
+          case 10: {
+            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+            if (infoType_ != null) {
+              subBuilder = infoType_.toBuilder();
+            }
+            infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(infoType_);
+              infoType_ = subBuilder.buildPartial();
+            }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
+            if (typeCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
-              if (typeCase_ == 2) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 2;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-              if (typeCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 3;
-              break;
+            typeCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+            if (typeCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
             }
-          case 34:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder subBuilder = null;
-              if (typeCase_ == 4) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 4;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.privacy.dlp.v2.StoredType.Builder subBuilder = null;
-              if (typeCase_ == 5) {
-                subBuilder = ((com.google.privacy.dlp.v2.StoredType) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.StoredType.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.StoredType) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 5;
-              break;
+            typeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder subBuilder = null;
+            if (typeCase_ == 4) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_).toBuilder();
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
-
-              likelihood_ = rawValue;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                detectionRules_ =
-                    new java.util.ArrayList<
-                        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              detectionRules_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.parser(),
-                      extensionRegistry));
-              break;
+            typeCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.privacy.dlp.v2.StoredType.Builder subBuilder = null;
+            if (typeCase_ == 5) {
+              subBuilder = ((com.google.privacy.dlp.v2.StoredType) type_).toBuilder();
+            }
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.StoredType.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.StoredType) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 64:
-            {
-              int rawValue = input.readEnum();
+            typeCase_ = 5;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              exclusionType_ = rawValue;
-              break;
+            likelihood_ = rawValue;
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              detectionRules_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            detectionRules_.add(
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.parser(), extensionRegistry));
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
+
+            exclusionType_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         detectionRules_ = java.util.Collections.unmodifiableList(detectionRules_);
@@ -207,27 +169,25 @@ private CustomInfoType(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CustomInfoType.class,
-            com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
+            com.google.privacy.dlp.v2.CustomInfoType.class, com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
   }
 
-  /** Protobuf enum {@code google.privacy.dlp.v2.CustomInfoType.ExclusionType} */
-  public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.privacy.dlp.v2.CustomInfoType.ExclusionType}
+   */
+  public enum ExclusionType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * A finding of this custom info type will not be excluded from results.
      * 
@@ -236,8 +196,6 @@ public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum { */ EXCLUSION_TYPE_UNSPECIFIED(0), /** - * - * *
      * A finding of this custom info type will be excluded from final results,
      * but can still affect rule execution.
@@ -250,8 +208,6 @@ public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * A finding of this custom info type will not be excluded from results.
      * 
@@ -260,8 +216,6 @@ public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXCLUSION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A finding of this custom info type will be excluded from final results,
      * but can still affect rule execution.
@@ -271,6 +225,7 @@ public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EXCLUSION_TYPE_EXCLUDE_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -295,47 +250,48 @@ public static ExclusionType valueOf(int value) {
      */
     public static ExclusionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return EXCLUSION_TYPE_UNSPECIFIED;
-        case 1:
-          return EXCLUSION_TYPE_EXCLUDE;
-        default:
-          return null;
+        case 0: return EXCLUSION_TYPE_UNSPECIFIED;
+        case 1: return EXCLUSION_TYPE_EXCLUDE;
+        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<
+        ExclusionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ExclusionType findValueByNumber(int number) {
+              return ExclusionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ExclusionType findValueByNumber(int number) {
-            return ExclusionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.privacy.dlp.v2.CustomInfoType.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ExclusionType[] VALUES = values();
 
-    public static ExclusionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ExclusionType 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;
@@ -352,38 +308,29 @@ private ExclusionType(int value) {
     // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.CustomInfoType.ExclusionType)
   }
 
-  public interface DictionaryOrBuilder
-      extends
+  public interface DictionaryOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.Dictionary)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ boolean hasWordList(); /** - * - * *
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(); /** - * - * *
      * List of words or phrases to search for.
      * 
@@ -393,34 +340,26 @@ public interface DictionaryOrBuilder com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder(); /** - * - * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; - * * @return Whether the cloudStoragePath field is set. */ boolean hasCloudStoragePath(); /** - * - * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; - * * @return The cloudStoragePath. */ com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath(); /** - * - * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
@@ -433,8 +372,6 @@ public interface DictionaryOrBuilder
     public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.SourceCase getSourceCase();
   }
   /**
-   *
-   *
    * 
    * Custom information type based on a dictionary of words or phrases. This can
    * be used to match sensitive information specific to the data, such as a list
@@ -444,7 +381,7 @@ public interface DictionaryOrBuilder
    * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
    * will be replaced with whitespace when scanning for matches, so the
    * dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
-   * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
+   * "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
    * surrounding any match must be of a different type than the adjacent
    * characters within the word, so letters must be next to non-letters and
    * digits next to non-digits. For example, the dictionary word "jen" will
@@ -456,34 +393,35 @@ public interface DictionaryOrBuilder
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
    * the size limits of dictionaries. For dictionaries that do not fit within
    * these constraints, consider using `LargeCustomDictionaryConfig` in the
-   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * `StoredInfoType` API.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary} */ - public static final class Dictionary extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Dictionary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary) DictionaryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Dictionary.newBuilder() to construct. private Dictionary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Dictionary() {} + private Dictionary() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Dictionary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Dictionary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -502,85 +440,71 @@ private Dictionary( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = - null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null; - if (sourceCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.CloudStoragePath) source_).toBuilder(); - } - source_ = - input.readMessage( - com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 3; - break; + source_ = + input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 26: { + com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null; + if (sourceCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.CloudStoragePath) source_).toBuilder(); + } + source_ = + input.readMessage(com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath) source_); + source_ = subBuilder.buildPartial(); } + sourceCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class); } - public interface WordListOrBuilder - extends + public interface WordListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -588,13 +512,11 @@ public interface WordListOrBuilder
        * 
* * repeated string words = 1; - * * @return A list containing the words. */ - java.util.List getWordsList(); + java.util.List + getWordsList(); /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -602,13 +524,10 @@ public interface WordListOrBuilder
        * 
* * repeated string words = 1; - * * @return The count of words. */ int getWordsCount(); /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -616,14 +535,11 @@ public interface WordListOrBuilder
        * 
* * repeated string words = 1; - * * @param index The index of the element to return. * @return The words at the given index. */ java.lang.String getWords(int index); /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -631,46 +547,44 @@ public interface WordListOrBuilder
        * 
* * repeated string words = 1; - * * @param index The index of the value to return. * @return The bytes of the words at the given index. */ - com.google.protobuf.ByteString getWordsBytes(int index); + com.google.protobuf.ByteString + getWordsBytes(int index); } /** - * - * *
      * Message defining a list of words or phrases to search for in the data.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList} */ - public static final class WordList extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WordList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) WordListOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WordList.newBuilder() to construct. private WordList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WordList() { words_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WordList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WordList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -690,30 +604,29 @@ private WordList( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - words_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + words_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = words_.getUnmodifiableView(); @@ -722,27 +635,22 @@ private WordList( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); } public static final int WORDS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList words_; /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -750,15 +658,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * repeated string words = 1; - * * @return A list containing the words. */ - public com.google.protobuf.ProtocolStringList getWordsList() { + public com.google.protobuf.ProtocolStringList + getWordsList() { return words_; } /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -766,15 +672,12 @@ public com.google.protobuf.ProtocolStringList getWordsList() {
        * 
* * repeated string words = 1; - * * @return The count of words. */ public int getWordsCount() { return words_.size(); } /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -782,7 +685,6 @@ public int getWordsCount() {
        * 
* * repeated string words = 1; - * * @param index The index of the element to return. * @return The words at the given index. */ @@ -790,8 +692,6 @@ public java.lang.String getWords(int index) { return words_.get(index); } /** - * - * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -799,16 +699,15 @@ public java.lang.String getWords(int index) {
        * 
* * repeated string words = 1; - * * @param index The index of the value to return. * @return The bytes of the words at the given index. */ - public com.google.protobuf.ByteString getWordsBytes(int index) { + public com.google.protobuf.ByteString + getWordsBytes(int index) { return words_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -820,7 +719,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < words_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, words_.getRaw(i)); } @@ -849,15 +749,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.privacy.dlp.v2.CustomInfoType.Dictionary.WordList)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other = - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) obj; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) obj; - if (!getWordsList().equals(other.getWordsList())) return false; + if (!getWordsList() + .equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -879,94 +779,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -976,32 +869,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Message defining a list of words or phrases to search for in the data.
        * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); } // Construct using com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder() @@ -1009,15 +897,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1027,14 +916,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getDefaultInstanceForType() { return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } @@ -1049,8 +937,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList build() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList result = - new com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList(this); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList result = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { words_ = words_.getUnmodifiableView(); @@ -1065,52 +952,46 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) other); + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other) { - if (other - == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other) { + if (other == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) return this; if (!other.words_.isEmpty()) { if (words_.isEmpty()) { words_ = other.words_; @@ -1140,9 +1021,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1151,21 +1030,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList words_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList words_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { words_ = new com.google.protobuf.LazyStringArrayList(words_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1173,15 +1047,13 @@ private void ensureWordsIsMutable() {
          * 
* * repeated string words = 1; - * * @return A list containing the words. */ - public com.google.protobuf.ProtocolStringList getWordsList() { + public com.google.protobuf.ProtocolStringList + getWordsList() { return words_.getUnmodifiableView(); } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1189,15 +1061,12 @@ public com.google.protobuf.ProtocolStringList getWordsList() {
          * 
* * repeated string words = 1; - * * @return The count of words. */ public int getWordsCount() { return words_.size(); } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1205,7 +1074,6 @@ public int getWordsCount() {
          * 
* * repeated string words = 1; - * * @param index The index of the element to return. * @return The words at the given index. */ @@ -1213,8 +1081,6 @@ public java.lang.String getWords(int index) { return words_.get(index); } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1222,16 +1088,14 @@ public java.lang.String getWords(int index) {
          * 
* * repeated string words = 1; - * * @param index The index of the value to return. * @return The bytes of the words at the given index. */ - public com.google.protobuf.ByteString getWordsBytes(int index) { + public com.google.protobuf.ByteString + getWordsBytes(int index) { return words_.getByteString(index); } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1239,23 +1103,21 @@ public com.google.protobuf.ByteString getWordsBytes(int index) {
          * 
* * repeated string words = 1; - * * @param index The index to set the value at. * @param value The words to set. * @return This builder for chaining. */ - public Builder setWords(int index, java.lang.String value) { + public Builder setWords( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWordsIsMutable(); + throw new NullPointerException(); + } + ensureWordsIsMutable(); words_.set(index, value); onChanged(); return this; } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1263,22 +1125,20 @@ public Builder setWords(int index, java.lang.String value) {
          * 
* * repeated string words = 1; - * * @param value The words to add. * @return This builder for chaining. */ - public Builder addWords(java.lang.String value) { + public Builder addWords( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWordsIsMutable(); + throw new NullPointerException(); + } + ensureWordsIsMutable(); words_.add(value); onChanged(); return this; } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1286,19 +1146,18 @@ public Builder addWords(java.lang.String value) {
          * 
* * repeated string words = 1; - * * @param values The words to add. * @return This builder for chaining. */ - public Builder addAllWords(java.lang.Iterable values) { + public Builder addAllWords( + java.lang.Iterable values) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, words_); onChanged(); return this; } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1306,7 +1165,6 @@ public Builder addAllWords(java.lang.Iterable values) {
          * 
* * repeated string words = 1; - * * @return This builder for chaining. */ public Builder clearWords() { @@ -1316,8 +1174,6 @@ public Builder clearWords() { return this; } /** - * - * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1325,21 +1181,20 @@ public Builder clearWords() {
          * 
* * repeated string words = 1; - * * @param value The bytes of the words to add. * @return This builder for chaining. */ - public Builder addWordsBytes(com.google.protobuf.ByteString value) { + public Builder addWordsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWordsIsMutable(); words_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1352,32 +1207,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) - private static final com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList(); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList - getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1389,24 +1242,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WORD_LIST(1), CLOUD_STORAGE_PATH(3), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -1422,36 +1272,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return WORD_LIST; - case 3: - return CLOUD_STORAGE_PATH; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return WORD_LIST; + case 3: return CLOUD_STORAGE_PATH; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public static final int WORD_LIST_FIELD_NUMBER = 1; /** - * - * *
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ @java.lang.Override @@ -1459,26 +1303,21 @@ public boolean hasWordList() { return sourceCase_ == 1; } /** - * - * *
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } /** - * - * *
      * List of words or phrases to search for.
      * 
@@ -1486,25 +1325,21 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList( * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder - getWordListOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } public static final int CLOUD_STORAGE_PATH_FIELD_NUMBER = 3; /** - * - * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; - * * @return Whether the cloudStoragePath field is set. */ @java.lang.Override @@ -1512,27 +1347,22 @@ public boolean hasCloudStoragePath() { return sourceCase_ == 3; } /** - * - * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; - * * @return The cloudStoragePath. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.CloudStoragePath) source_; + return (com.google.privacy.dlp.v2.CloudStoragePath) source_; } return com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance(); } /** - * - * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
@@ -1543,13 +1373,12 @@ public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() {
     @java.lang.Override
     public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOrBuilder() {
       if (sourceCase_ == 3) {
-        return (com.google.privacy.dlp.v2.CloudStoragePath) source_;
+         return (com.google.privacy.dlp.v2.CloudStoragePath) source_;
       }
       return com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1561,10 +1390,10 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (sourceCase_ == 1) {
-        output.writeMessage(
-            1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
+        output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
       }
       if (sourceCase_ == 3) {
         output.writeMessage(3, (com.google.privacy.dlp.v2.CloudStoragePath) source_);
@@ -1579,14 +1408,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (sourceCase_ == 1) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
       }
       if (sourceCase_ == 3) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                3, (com.google.privacy.dlp.v2.CloudStoragePath) source_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, (com.google.privacy.dlp.v2.CloudStoragePath) source_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1596,21 +1423,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.privacy.dlp.v2.CustomInfoType.Dictionary)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.CustomInfoType.Dictionary other =
-          (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) obj;
+      com.google.privacy.dlp.v2.CustomInfoType.Dictionary other = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) obj;
 
       if (!getSourceCase().equals(other.getSourceCase())) return false;
       switch (sourceCase_) {
         case 1:
-          if (!getWordList().equals(other.getWordList())) return false;
+          if (!getWordList()
+              .equals(other.getWordList())) return false;
           break;
         case 3:
-          if (!getCloudStoragePath().equals(other.getCloudStoragePath())) return false;
+          if (!getCloudStoragePath()
+              .equals(other.getCloudStoragePath())) return false;
           break;
         case 0:
         default:
@@ -1644,94 +1472,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.CustomInfoType.Dictionary prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.Dictionary prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1741,8 +1562,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Custom information type based on a dictionary of words or phrases. This can
      * be used to match sensitive information specific to the data, such as a list
@@ -1752,7 +1571,7 @@ protected Builder newBuilderForType(
      * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
      * will be replaced with whitespace when scanning for matches, so the
      * dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
-     * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
+     * "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
      * surrounding any match must be of a different type than the adjacent
      * characters within the word, so letters must be next to non-letters and
      * digits next to non-digits. For example, the dictionary word "jen" will
@@ -1764,29 +1583,26 @@ protected Builder newBuilderForType(
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
      * the size limits of dictionaries. For dictionaries that do not fit within
      * these constraints, consider using `LargeCustomDictionaryConfig` in the
-     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * `StoredInfoType` API.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary) com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class); } // Construct using com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder() @@ -1794,15 +1610,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1812,9 +1629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; } @java.lang.Override @@ -1833,8 +1650,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary build() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.Dictionary result = - new com.google.privacy.dlp.v2.CustomInfoType.Dictionary(this); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary result = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary(this); if (sourceCase_ == 1) { if (wordListBuilder_ == null) { result.source_ = source_; @@ -1858,41 +1674,38 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.Dictionary) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) other); + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary)other); } else { super.mergeFrom(other); return this; @@ -1900,23 +1713,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Dictionary other) { - if (other == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) return this; switch (other.getSourceCase()) { - case WORD_LIST: - { - mergeWordList(other.getWordList()); - break; - } - case CLOUD_STORAGE_PATH: - { - mergeCloudStoragePath(other.getCloudStoragePath()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case WORD_LIST: { + mergeWordList(other.getWordList()); + break; + } + case CLOUD_STORAGE_PATH: { + mergeCloudStoragePath(other.getCloudStoragePath()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1937,8 +1746,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1947,12 +1755,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -1962,20 +1770,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> - wordListBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> wordListBuilder_; /** - * - * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ @java.lang.Override @@ -1983,14 +1786,11 @@ public boolean hasWordList() { return sourceCase_ == 1; } /** - * - * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ @java.lang.Override @@ -2008,16 +1808,13 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList( } } /** - * - * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ - public Builder setWordList( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { + public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { if (wordListBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2031,8 +1828,6 @@ public Builder setWordList( return this; } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2051,26 +1846,18 @@ public Builder setWordList( return this; } /** - * - * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ - public Builder mergeWordList( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { + public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { if (wordListBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList - .getDefaultInstance()) { - source_ = - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) { + source_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -2085,8 +1872,6 @@ public Builder mergeWordList( return this; } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2110,21 +1895,16 @@ public Builder clearWordList() { return this; } /** - * - * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder - getWordListBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder getWordListBuilder() { return getWordListFieldBuilder().getBuilder(); } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2132,8 +1912,7 @@ public Builder clearWordList() { * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder - getWordListOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() { if ((sourceCase_ == 1) && (wordListBuilder_ != null)) { return wordListBuilder_.getMessageOrBuilder(); } else { @@ -2144,8 +1923,6 @@ public Builder clearWordList() { } } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2153,46 +1930,33 @@ public Builder clearWordList() { * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> getWordListFieldBuilder() { if (wordListBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + source_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } - wordListBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>( + wordListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return wordListBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStoragePath, - com.google.privacy.dlp.v2.CloudStoragePath.Builder, - com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> - cloudStoragePathBuilder_; + com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> cloudStoragePathBuilder_; /** - * - * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
        * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; - * * @return Whether the cloudStoragePath field is set. */ @java.lang.Override @@ -2200,15 +1964,12 @@ public boolean hasCloudStoragePath() { return sourceCase_ == 3; } /** - * - * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
        * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; - * * @return The cloudStoragePath. */ @java.lang.Override @@ -2226,8 +1987,6 @@ public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() { } } /** - * - * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2249,8 +2008,6 @@ public Builder setCloudStoragePath(com.google.privacy.dlp.v2.CloudStoragePath va
         return this;
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2270,8 +2027,6 @@ public Builder setCloudStoragePath(
         return this;
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2281,13 +2036,10 @@ public Builder setCloudStoragePath(
        */
       public Builder mergeCloudStoragePath(com.google.privacy.dlp.v2.CloudStoragePath value) {
         if (cloudStoragePathBuilder_ == null) {
-          if (sourceCase_ == 3
-              && source_ != com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()) {
-            source_ =
-                com.google.privacy.dlp.v2.CloudStoragePath.newBuilder(
-                        (com.google.privacy.dlp.v2.CloudStoragePath) source_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (sourceCase_ == 3 &&
+              source_ != com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()) {
+            source_ = com.google.privacy.dlp.v2.CloudStoragePath.newBuilder((com.google.privacy.dlp.v2.CloudStoragePath) source_)
+                .mergeFrom(value).buildPartial();
           } else {
             source_ = value;
           }
@@ -2302,8 +2054,6 @@ public Builder mergeCloudStoragePath(com.google.privacy.dlp.v2.CloudStoragePath
         return this;
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2328,8 +2078,6 @@ public Builder clearCloudStoragePath() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2341,8 +2089,6 @@ public com.google.privacy.dlp.v2.CloudStoragePath.Builder getCloudStoragePathBui
         return getCloudStoragePathFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2362,8 +2108,6 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOr
         }
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2372,30 +2116,23 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOr
        * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.CloudStoragePath,
-              com.google.privacy.dlp.v2.CloudStoragePath.Builder,
-              com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>
+          com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> 
           getCloudStoragePathFieldBuilder() {
         if (cloudStoragePathBuilder_ == null) {
           if (!(sourceCase_ == 3)) {
             source_ = com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance();
           }
-          cloudStoragePathBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.CloudStoragePath,
-                  com.google.privacy.dlp.v2.CloudStoragePath.Builder,
-                  com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
+          cloudStoragePathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
                   (com.google.privacy.dlp.v2.CloudStoragePath) source_,
                   getParentForChildren(),
                   isClean());
           source_ = null;
         }
         sourceCase_ = 3;
-        onChanged();
-        ;
+        onChanged();;
         return cloudStoragePathBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2408,12 +2145,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary)
     private static final com.google.privacy.dlp.v2.CustomInfoType.Dictionary DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary();
     }
@@ -2422,16 +2159,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Dictionary parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Dictionary(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Dictionary parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Dictionary(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2446,16 +2183,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface RegexOrBuilder
-      extends
+  public interface RegexOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.Regex)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2463,13 +2198,10 @@ public interface RegexOrBuilder
      * 
* * string pattern = 1; - * * @return The pattern. */ java.lang.String getPattern(); /** - * - * *
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2477,74 +2209,59 @@ public interface RegexOrBuilder
      * 
* * string pattern = 1; - * * @return The bytes for pattern. */ - com.google.protobuf.ByteString getPatternBytes(); + com.google.protobuf.ByteString + getPatternBytes(); /** - * - * *
-     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; - * * @return A list containing the groupIndexes. */ java.util.List getGroupIndexesList(); /** - * - * *
-     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; - * * @return The count of groupIndexes. */ int getGroupIndexesCount(); /** - * - * *
-     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; - * * @param index The index of the element to return. * @return The groupIndexes at the given index. */ int getGroupIndexes(int index); } /** - * - * *
    * Message defining a custom regular expression.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Regex} */ - public static final class Regex extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Regex extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.Regex) RegexOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Regex.newBuilder() to construct. private Regex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Regex() { pattern_ = ""; groupIndexes_ = emptyIntList(); @@ -2552,15 +2269,16 @@ private Regex() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Regex(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Regex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2580,49 +2298,47 @@ private Regex( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - pattern_ = s; - break; + pattern_ = s; + break; + } + case 16: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groupIndexes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groupIndexes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - groupIndexes_.addInt(input.readInt32()); - break; + groupIndexes_.addInt(input.readInt32()); + break; + } + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + groupIndexes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - groupIndexes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - groupIndexes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; + while (input.getBytesUntilLimit() > 0) { + groupIndexes_.addInt(input.readInt32()); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groupIndexes_.makeImmutable(); // C @@ -2631,27 +2347,22 @@ private Regex( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Regex.class, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Regex.class, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); } public static final int PATTERN_FIELD_NUMBER = 1; private volatile java.lang.Object pattern_; /** - * - * *
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2659,7 +2370,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string pattern = 1; - * * @return The pattern. */ @java.lang.Override @@ -2668,15 +2378,14 @@ public java.lang.String getPattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pattern_ = s; return s; } } /** - * - * *
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2684,15 +2393,16 @@ public java.lang.String getPattern() {
      * 
* * string pattern = 1; - * * @return The bytes for pattern. */ @java.lang.Override - public com.google.protobuf.ByteString getPatternBytes() { + public com.google.protobuf.ByteString + getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pattern_ = b; return b; } else { @@ -2703,60 +2413,47 @@ public com.google.protobuf.ByteString getPatternBytes() { public static final int GROUP_INDEXES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList groupIndexes_; /** - * - * *
-     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; - * * @return A list containing the groupIndexes. */ @java.lang.Override - public java.util.List getGroupIndexesList() { + public java.util.List + getGroupIndexesList() { return groupIndexes_; } /** - * - * *
-     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; - * * @return The count of groupIndexes. */ public int getGroupIndexesCount() { return groupIndexes_.size(); } /** - * - * *
-     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; - * * @param index The index of the element to return. * @return The groupIndexes at the given index. */ public int getGroupIndexes(int index) { return groupIndexes_.getInt(index); } - private int groupIndexesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2768,7 +2465,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(pattern_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pattern_); @@ -2795,13 +2493,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < groupIndexes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(groupIndexes_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(groupIndexes_.getInt(i)); } size += dataSize; if (!getGroupIndexesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } groupIndexesMemoizedSerializedSize = dataSize; } @@ -2813,16 +2512,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.privacy.dlp.v2.CustomInfoType.Regex)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.Regex other = - (com.google.privacy.dlp.v2.CustomInfoType.Regex) obj; + com.google.privacy.dlp.v2.CustomInfoType.Regex other = (com.google.privacy.dlp.v2.CustomInfoType.Regex) obj; - if (!getPattern().equals(other.getPattern())) return false; - if (!getGroupIndexesList().equals(other.getGroupIndexesList())) return false; + if (!getPattern() + .equals(other.getPattern())) return false; + if (!getGroupIndexesList() + .equals(other.getGroupIndexesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2845,94 +2545,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.Regex prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2942,32 +2636,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message defining a custom regular expression.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Regex} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.Regex) com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Regex.class, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Regex.class, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); } // Construct using com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder() @@ -2975,15 +2664,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2995,9 +2685,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; } @java.lang.Override @@ -3016,8 +2706,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex build() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.Regex result = - new com.google.privacy.dlp.v2.CustomInfoType.Regex(this); + com.google.privacy.dlp.v2.CustomInfoType.Regex result = new com.google.privacy.dlp.v2.CustomInfoType.Regex(this); int from_bitField0_ = bitField0_; result.pattern_ = pattern_; if (((bitField0_ & 0x00000001) != 0)) { @@ -3033,41 +2722,38 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.Regex) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) other); + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex)other); } else { super.mergeFrom(other); return this; @@ -3075,8 +2761,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Regex other) { - if (other == com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) return this; if (!other.getPattern().isEmpty()) { pattern_ = other.pattern_; onChanged(); @@ -3119,13 +2804,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object pattern_ = ""; /** - * - * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -3133,13 +2815,13 @@ public Builder mergeFrom(
        * 
* * string pattern = 1; - * * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pattern_ = s; return s; @@ -3148,8 +2830,6 @@ public java.lang.String getPattern() { } } /** - * - * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -3157,14 +2837,15 @@ public java.lang.String getPattern() {
        * 
* * string pattern = 1; - * * @return The bytes for pattern. */ - public com.google.protobuf.ByteString getPatternBytes() { + public com.google.protobuf.ByteString + getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pattern_ = b; return b; } else { @@ -3172,8 +2853,6 @@ public com.google.protobuf.ByteString getPatternBytes() { } } /** - * - * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -3181,22 +2860,20 @@ public com.google.protobuf.ByteString getPatternBytes() {
        * 
* * string pattern = 1; - * * @param value The pattern to set. * @return This builder for chaining. */ - public Builder setPattern(java.lang.String value) { + public Builder setPattern( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pattern_ = value; onChanged(); return this; } /** - * - * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -3204,18 +2881,15 @@ public Builder setPattern(java.lang.String value) {
        * 
* * string pattern = 1; - * * @return This builder for chaining. */ public Builder clearPattern() { - + pattern_ = getDefaultInstance().getPattern(); onChanged(); return this; } /** - * - * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -3223,74 +2897,61 @@ public Builder clearPattern() {
        * 
* * string pattern = 1; - * * @param value The bytes for pattern to set. * @return This builder for chaining. */ - public Builder setPatternBytes(com.google.protobuf.ByteString value) { + public Builder setPatternBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pattern_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList groupIndexes_ = emptyIntList(); - private void ensureGroupIndexesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groupIndexes_ = mutableCopy(groupIndexes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @return A list containing the groupIndexes. */ - public java.util.List getGroupIndexesList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(groupIndexes_) - : groupIndexes_; + public java.util.List + getGroupIndexesList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(groupIndexes_) : groupIndexes_; } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @return The count of groupIndexes. */ public int getGroupIndexesCount() { return groupIndexes_.size(); } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @param index The index of the element to return. * @return The groupIndexes at the given index. */ @@ -3298,37 +2959,30 @@ public int getGroupIndexes(int index) { return groupIndexes_.getInt(index); } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @param index The index to set the value at. * @param value The groupIndexes to set. * @return This builder for chaining. */ - public Builder setGroupIndexes(int index, int value) { + public Builder setGroupIndexes( + int index, int value) { ensureGroupIndexesIsMutable(); groupIndexes_.setInt(index, value); onChanged(); return this; } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @param value The groupIndexes to add. * @return This builder for chaining. */ @@ -3339,36 +2993,30 @@ public Builder addGroupIndexes(int value) { return this; } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @param values The groupIndexes to add. * @return This builder for chaining. */ - public Builder addAllGroupIndexes(java.lang.Iterable values) { + public Builder addAllGroupIndexes( + java.lang.Iterable values) { ensureGroupIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupIndexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groupIndexes_); onChanged(); return this; } /** - * - * *
-       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; - * * @return This builder for chaining. */ public Builder clearGroupIndexes() { @@ -3377,7 +3025,6 @@ public Builder clearGroupIndexes() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3390,12 +3037,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.Regex) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Regex) private static final com.google.privacy.dlp.v2.CustomInfoType.Regex DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.Regex(); } @@ -3404,16 +3051,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.Regex getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Regex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Regex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Regex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Regex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3428,51 +3075,51 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType.Regex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SurrogateTypeOrBuilder - extends + public interface SurrogateTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.SurrogateType) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Message for detecting output from deidentification transformations
    * such as
    * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
    * These types of transformations are
    * those that perform pseudonymization, thereby producing a "surrogate" as
-   * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
+   * output. This should be used in conjunction with a field on the
    * transformation such as `surrogate_info_type`. This CustomInfoType does
    * not support the use of `detection_rules`.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.SurrogateType} */ - public static final class SurrogateType extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SurrogateType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.SurrogateType) SurrogateTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SurrogateType.newBuilder() to construct. private SurrogateType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SurrogateType() {} + private SurrogateType() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SurrogateType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SurrogateType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3491,42 +3138,39 @@ private SurrogateType( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class, - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3538,7 +3182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -3556,13 +3201,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CustomInfoType.SurrogateType)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType other = - (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) obj; + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType other = (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3581,94 +3225,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3678,39 +3315,34 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message for detecting output from deidentification transformations
      * such as
      * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
      * These types of transformations are
      * those that perform pseudonymization, thereby producing a "surrogate" as
-     * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
+     * output. This should be used in conjunction with a field on the
      * transformation such as `surrogate_info_type`. This CustomInfoType does
      * not support the use of `detection_rules`.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.SurrogateType} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.SurrogateType) com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class, - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class); } // Construct using com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.newBuilder() @@ -3718,15 +3350,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3734,9 +3367,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; } @java.lang.Override @@ -3755,8 +3388,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType build() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType result = - new com.google.privacy.dlp.v2.CustomInfoType.SurrogateType(this); + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType result = new com.google.privacy.dlp.v2.CustomInfoType.SurrogateType(this); onBuilt(); return result; } @@ -3765,41 +3397,38 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.SurrogateType) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) other); + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType)other); } else { super.mergeFrom(other); return this; @@ -3807,8 +3436,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType other) { - if (other == com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3828,8 +3456,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3838,7 +3465,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3851,12 +3477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.SurrogateType) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.SurrogateType) private static final com.google.privacy.dlp.v2.CustomInfoType.SurrogateType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.SurrogateType(); } @@ -3865,16 +3491,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SurrogateType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SurrogateType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SurrogateType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SurrogateType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3889,57 +3515,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DetectionRuleOrBuilder - extends + public interface DetectionRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return Whether the hotwordRule field is set. */ boolean hasHotwordRule(); /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return The hotwordRule. */ com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule(); /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder - getHotwordRuleOrBuilder(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder(); public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.TypeCase getTypeCase(); } /** - * - * *
    * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
    * `CustomInfoType` to alter behavior under certain circumstances, depending
@@ -3949,29 +3561,30 @@ public interface DetectionRuleOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule}
    */
-  public static final class DetectionRule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DetectionRule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule)
       DetectionRuleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DetectionRule.newBuilder() to construct.
     private DetectionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private DetectionRule() {}
+    private DetectionRule() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DetectionRule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private DetectionRule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3990,95 +3603,77 @@ private DetectionRule(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder
-                    subBuilder = null;
-                if (typeCase_ == 1) {
-                  subBuilder =
-                      ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_)
-                          .toBuilder();
-                }
-                type_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
-                  type_ = subBuilder.buildPartial();
-                }
-                typeCase_ = 1;
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder subBuilder = null;
+              if (typeCase_ == 1) {
+                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_).toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              type_ =
+                  input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 1;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class,
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
     }
 
-    public interface ProximityOrBuilder
-        extends
+    public interface ProximityOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Number of characters before the finding to consider.
        * 
* * int32 window_before = 1; - * * @return The windowBefore. */ int getWindowBefore(); /** - * - * *
        * Number of characters after the finding to consider.
        * 
* * int32 window_after = 2; - * * @return The windowAfter. */ int getWindowAfter(); } /** - * - * *
      * Message for specifying a window around a finding to apply a detection
      * rule.
@@ -4086,29 +3681,30 @@ public interface ProximityOrBuilder
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity}
      */
-    public static final class Proximity extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Proximity extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
         ProximityOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Proximity.newBuilder() to construct.
       private Proximity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Proximity() {}
+      private Proximity() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Proximity();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private Proximity(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4127,62 +3723,56 @@ private Proximity(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  windowBefore_ = input.readInt32();
-                  break;
-                }
-              case 16:
-                {
-                  windowAfter_ = input.readInt32();
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+              case 8: {
+
+                windowBefore_ = input.readInt32();
+                break;
+              }
+              case 16: {
+
+                windowAfter_ = input.readInt32();
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
       }
 
       public static final int WINDOW_BEFORE_FIELD_NUMBER = 1;
       private int windowBefore_;
       /**
-       *
-       *
        * 
        * Number of characters before the finding to consider.
        * 
* * int32 window_before = 1; - * * @return The windowBefore. */ @java.lang.Override @@ -4193,14 +3783,11 @@ public int getWindowBefore() { public static final int WINDOW_AFTER_FIELD_NUMBER = 2; private int windowAfter_; /** - * - * *
        * Number of characters after the finding to consider.
        * 
* * int32 window_after = 2; - * * @return The windowAfter. */ @java.lang.Override @@ -4209,7 +3796,6 @@ public int getWindowAfter() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4221,7 +3807,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (windowBefore_ != 0) { output.writeInt32(1, windowBefore_); } @@ -4238,10 +3825,12 @@ public int getSerializedSize() { size = 0; if (windowBefore_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, windowBefore_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, windowBefore_); } if (windowAfter_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, windowAfter_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, windowAfter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4251,16 +3840,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.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other = - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) obj; - if (getWindowBefore() != other.getWindowBefore()) return false; - if (getWindowAfter() != other.getWindowAfter()) return false; + if (getWindowBefore() + != other.getWindowBefore()) return false; + if (getWindowAfter() + != other.getWindowAfter()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4282,96 +3872,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4381,8 +3962,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Message for specifying a window around a finding to apply a detection
        * rule.
@@ -4390,41 +3969,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
           com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.privacy.dlp.v2.DlpStorage
-              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.privacy.dlp.v2.DlpStorage
-              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
+          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class,
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
         }
 
-        // Construct using
-        // com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder()
+        // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -4436,16 +4012,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.privacy.dlp.v2.DlpStorage
-              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
         }
 
         @java.lang.Override
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
-            getDefaultInstanceForType() {
-          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
-              .getDefaultInstance();
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getDefaultInstanceForType() {
+          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance();
         }
 
         @java.lang.Override
@@ -4459,8 +4033,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity build()
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity buildPartial() {
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity result =
-              new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity(this);
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity(this);
           result.windowBefore_ = windowBefore_;
           result.windowAfter_ = windowAfter_;
           onBuilt();
@@ -4471,53 +4044,46 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity buildPar
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) {
-            return mergeFrom(
-                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) other);
+            return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other) {
-          if (other
-              == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other) {
+          if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance()) return this;
           if (other.getWindowBefore() != 0) {
             setWindowBefore(other.getWindowBefore());
           }
@@ -4543,9 +4109,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -4555,16 +4119,13 @@ public Builder mergeFrom(
           return this;
         }
 
-        private int windowBefore_;
+        private int windowBefore_ ;
         /**
-         *
-         *
          * 
          * Number of characters before the finding to consider.
          * 
* * int32 window_before = 1; - * * @return The windowBefore. */ @java.lang.Override @@ -4572,51 +4133,42 @@ public int getWindowBefore() { return windowBefore_; } /** - * - * *
          * Number of characters before the finding to consider.
          * 
* * int32 window_before = 1; - * * @param value The windowBefore to set. * @return This builder for chaining. */ public Builder setWindowBefore(int value) { - + windowBefore_ = value; onChanged(); return this; } /** - * - * *
          * Number of characters before the finding to consider.
          * 
* * int32 window_before = 1; - * * @return This builder for chaining. */ public Builder clearWindowBefore() { - + windowBefore_ = 0; onChanged(); return this; } - private int windowAfter_; + private int windowAfter_ ; /** - * - * *
          * Number of characters after the finding to consider.
          * 
* * int32 window_after = 2; - * * @return The windowAfter. */ @java.lang.Override @@ -4624,41 +4176,34 @@ public int getWindowAfter() { return windowAfter_; } /** - * - * *
          * Number of characters after the finding to consider.
          * 
* * int32 window_after = 2; - * * @param value The windowAfter to set. * @return This builder for chaining. */ public Builder setWindowAfter(int value) { - + windowAfter_ = value; onChanged(); return this; } /** - * - * *
          * Number of characters after the finding to consider.
          * 
* * int32 window_after = 2; - * * @return This builder for chaining. */ public Builder clearWindowAfter() { - + windowAfter_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4671,32 +4216,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) - private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity(); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity - getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Proximity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Proximity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Proximity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Proximity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4708,57 +4251,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LikelihoodAdjustmentOrBuilder - extends + public interface LikelihoodAdjustmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return Whether the fixedLikelihood field is set. */ boolean hasFixedLikelihood(); /** - * - * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return The enum numeric value on the wire for fixedLikelihood. */ int getFixedLikelihoodValue(); /** - * - * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return The fixedLikelihood. */ com.google.privacy.dlp.v2.Likelihood getFixedLikelihood(); /** - * - * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -4771,13 +4302,10 @@ public interface LikelihoodAdjustmentOrBuilder
        * 
* * int32 relative_likelihood = 2; - * * @return Whether the relativeLikelihood field is set. */ boolean hasRelativeLikelihood(); /** - * - * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -4790,18 +4318,13 @@ public interface LikelihoodAdjustmentOrBuilder
        * 
* * int32 relative_likelihood = 2; - * * @return The relativeLikelihood. */ int getRelativeLikelihood(); - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .AdjustmentCase - getAdjustmentCase(); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.AdjustmentCase getAdjustmentCase(); } /** - * - * *
      * Message for specifying an adjustment to the likelihood of a finding as
      * part of a detection rule.
@@ -4809,29 +4332,30 @@ public interface LikelihoodAdjustmentOrBuilder
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment}
      */
-    public static final class LikelihoodAdjustment extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class LikelihoodAdjustment extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)
         LikelihoodAdjustmentOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use LikelihoodAdjustment.newBuilder() to construct.
       private LikelihoodAdjustment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private LikelihoodAdjustment() {}
+      private LikelihoodAdjustment() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new LikelihoodAdjustment();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private LikelihoodAdjustment(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4850,67 +4374,58 @@ private LikelihoodAdjustment(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  int rawValue = input.readEnum();
-                  adjustmentCase_ = 1;
-                  adjustment_ = rawValue;
-                  break;
-                }
-              case 16:
-                {
-                  adjustmentCase_ = 2;
-                  adjustment_ = input.readInt32();
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+              case 8: {
+                int rawValue = input.readEnum();
+                adjustmentCase_ = 1;
+                adjustment_ = rawValue;
+                break;
+              }
+              case 16: {
+                adjustmentCase_ = 2;
+                adjustment_ = input.readInt32();
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder
-                    .class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder.class);
       }
 
       private int adjustmentCase_ = 0;
       private java.lang.Object adjustment_;
-
       public enum AdjustmentCase
-          implements
-              com.google.protobuf.Internal.EnumLite,
+          implements com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         FIXED_LIKELIHOOD(1),
         RELATIVE_LIKELIHOOD(2),
         ADJUSTMENT_NOT_SET(0);
         private final int value;
-
         private AdjustmentCase(int value) {
           this.value = value;
         }
@@ -4926,50 +4441,41 @@ public static AdjustmentCase valueOf(int value) {
 
         public static AdjustmentCase forNumber(int value) {
           switch (value) {
-            case 1:
-              return FIXED_LIKELIHOOD;
-            case 2:
-              return RELATIVE_LIKELIHOOD;
-            case 0:
-              return ADJUSTMENT_NOT_SET;
-            default:
-              return null;
+            case 1: return FIXED_LIKELIHOOD;
+            case 2: return RELATIVE_LIKELIHOOD;
+            case 0: return ADJUSTMENT_NOT_SET;
+            default: return null;
           }
         }
-
         public int getNumber() {
           return this.value;
         }
       };
 
-      public AdjustmentCase getAdjustmentCase() {
-        return AdjustmentCase.forNumber(adjustmentCase_);
+      public AdjustmentCase
+      getAdjustmentCase() {
+        return AdjustmentCase.forNumber(
+            adjustmentCase_);
       }
 
       public static final int FIXED_LIKELIHOOD_FIELD_NUMBER = 1;
       /**
-       *
-       *
        * 
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return Whether the fixedLikelihood field is set. */ public boolean hasFixedLikelihood() { return adjustmentCase_ == 1; } /** - * - * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return The enum numeric value on the wire for fixedLikelihood. */ public int getFixedLikelihoodValue() { @@ -4979,21 +4485,18 @@ public int getFixedLikelihoodValue() { return 0; } /** - * - * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return The fixedLikelihood. */ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { if (adjustmentCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf((java.lang.Integer) adjustment_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf( + (java.lang.Integer) adjustment_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED; @@ -5001,8 +4504,6 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { public static final int RELATIVE_LIKELIHOOD_FIELD_NUMBER = 2; /** - * - * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5015,7 +4516,6 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
        * 
* * int32 relative_likelihood = 2; - * * @return Whether the relativeLikelihood field is set. */ @java.lang.Override @@ -5023,8 +4523,6 @@ public boolean hasRelativeLikelihood() { return adjustmentCase_ == 2; } /** - * - * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5037,7 +4535,6 @@ public boolean hasRelativeLikelihood() {
        * 
* * int32 relative_likelihood = 2; - * * @return The relativeLikelihood. */ @java.lang.Override @@ -5049,7 +4546,6 @@ public int getRelativeLikelihood() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5061,12 +4557,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (adjustmentCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) adjustment_)); } if (adjustmentCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) adjustment_)); + output.writeInt32( + 2, (int)((java.lang.Integer) adjustment_)); } unknownFields.writeTo(output); } @@ -5078,14 +4576,13 @@ public int getSerializedSize() { size = 0; if (adjustmentCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 1, ((java.lang.Integer) adjustment_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, ((java.lang.Integer) adjustment_)); } if (adjustmentCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) adjustment_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) adjustment_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5095,23 +4592,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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)) { + if (!(obj instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other = - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) obj; if (!getAdjustmentCase().equals(other.getAdjustmentCase())) return false; switch (adjustmentCase_) { case 1: - if (getFixedLikelihoodValue() != other.getFixedLikelihoodValue()) return false; + if (getFixedLikelihoodValue() + != other.getFixedLikelihoodValue()) return false; break; case 2: - if (getRelativeLikelihood() != other.getRelativeLikelihood()) return false; + if (getRelativeLikelihood() + != other.getRelativeLikelihood()) return false; break; case 0: default: @@ -5144,103 +4640,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5250,52 +4731,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Message for specifying an adjustment to the likelihood of a finding as
        * part of a detection rule.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment} + * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.newBuilder() + // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5305,22 +4779,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .getDefaultInstance(); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment build() { - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = - buildPartial(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5328,10 +4799,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustme } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = - new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(this); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment buildPartial() { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(this); if (adjustmentCase_ == 1) { result.adjustment_ = adjustment_; } @@ -5347,71 +4816,58 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustme public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) { - return mergeFrom( - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) - other); + if (other instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) { + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other) { - if (other - == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other) { + if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance()) return this; switch (other.getAdjustmentCase()) { - case FIXED_LIKELIHOOD: - { - setFixedLikelihoodValue(other.getFixedLikelihoodValue()); - break; - } - case RELATIVE_LIKELIHOOD: - { - setRelativeLikelihood(other.getRelativeLikelihood()); - break; - } - case ADJUSTMENT_NOT_SET: - { - break; - } + case FIXED_LIKELIHOOD: { + setFixedLikelihoodValue(other.getFixedLikelihoodValue()); + break; + } + case RELATIVE_LIKELIHOOD: { + setRelativeLikelihood(other.getRelativeLikelihood()); + break; + } + case ADJUSTMENT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5428,14 +4884,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - parsedMessage = null; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5444,12 +4897,12 @@ public Builder mergeFrom( } return this; } - private int adjustmentCase_ = 0; private java.lang.Object adjustment_; - - public AdjustmentCase getAdjustmentCase() { - return AdjustmentCase.forNumber(adjustmentCase_); + public AdjustmentCase + getAdjustmentCase() { + return AdjustmentCase.forNumber( + adjustmentCase_); } public Builder clearAdjustment() { @@ -5459,15 +4912,13 @@ public Builder clearAdjustment() { return this; } + /** - * - * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return Whether the fixedLikelihood field is set. */ @java.lang.Override @@ -5475,14 +4926,11 @@ public boolean hasFixedLikelihood() { return adjustmentCase_ == 1; } /** - * - * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return The enum numeric value on the wire for fixedLikelihood. */ @java.lang.Override @@ -5493,14 +4941,11 @@ public int getFixedLikelihoodValue() { return 0; } /** - * - * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @param value The enum numeric value on the wire for fixedLikelihood to set. * @return This builder for chaining. */ @@ -5511,35 +4956,29 @@ public Builder setFixedLikelihoodValue(int value) { return this; } /** - * - * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return The fixedLikelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { if (adjustmentCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf((java.lang.Integer) adjustment_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf( + (java.lang.Integer) adjustment_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED; } /** - * - * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @param value The fixedLikelihood to set. * @return This builder for chaining. */ @@ -5553,14 +4992,11 @@ public Builder setFixedLikelihood(com.google.privacy.dlp.v2.Likelihood value) { return this; } /** - * - * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; - * * @return This builder for chaining. */ public Builder clearFixedLikelihood() { @@ -5573,8 +5009,6 @@ public Builder clearFixedLikelihood() { } /** - * - * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5587,15 +5021,12 @@ public Builder clearFixedLikelihood() {
          * 
* * int32 relative_likelihood = 2; - * * @return Whether the relativeLikelihood field is set. */ public boolean hasRelativeLikelihood() { return adjustmentCase_ == 2; } /** - * - * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5608,7 +5039,6 @@ public boolean hasRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; - * * @return The relativeLikelihood. */ public int getRelativeLikelihood() { @@ -5618,8 +5048,6 @@ public int getRelativeLikelihood() { return 0; } /** - * - * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5632,7 +5060,6 @@ public int getRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; - * * @param value The relativeLikelihood to set. * @return This builder for chaining. */ @@ -5643,8 +5070,6 @@ public Builder setRelativeLikelihood(int value) { return this; } /** - * - * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5657,7 +5082,6 @@ public Builder setRelativeLikelihood(int value) {
          * 
* * int32 relative_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearRelativeLikelihood() { @@ -5668,7 +5092,6 @@ public Builder clearRelativeLikelihood() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5681,34 +5104,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) - private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule - .LikelihoodAdjustment - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LikelihoodAdjustment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LikelihoodAdjustment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LikelihoodAdjustment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LikelihoodAdjustment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5720,44 +5139,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface HotwordRuleOrBuilder - extends + public interface HotwordRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; - * * @return Whether the hotwordRegex field is set. */ boolean hasHotwordRegex(); /** - * - * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; - * * @return The hotwordRegex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex(); /** - * - * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
@@ -5767,8 +5177,6 @@ public interface HotwordRuleOrBuilder com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder(); /** - * - * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5781,13 +5189,10 @@ public interface HotwordRuleOrBuilder
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return Whether the proximity field is set. */ boolean hasProximity(); /** - * - * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5800,13 +5205,10 @@ public interface HotwordRuleOrBuilder
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return The proximity. */ com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity(); /** - * - * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5820,55 +5222,36 @@ public interface HotwordRuleOrBuilder
        *
        * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
        */
-      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
-          getProximityOrBuilder();
+      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder();
 
       /**
-       *
-       *
        * 
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; * @return Whether the likelihoodAdjustment field is set. */ boolean hasLikelihoodAdjustment(); /** - * - * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; * @return The likelihoodAdjustment. */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - getLikelihoodAdjustment(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment(); /** - * - * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder - getLikelihoodAdjustmentOrBuilder(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder(); } /** - * - * *
      * The rule that adjusts the likelihood of findings within a certain
      * proximity of hotwords.
@@ -5876,29 +5259,30 @@ public interface HotwordRuleOrBuilder
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule}
      */
-    public static final class HotwordRule extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class HotwordRule extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)
         HotwordRuleOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use HotwordRule.newBuilder() to construct.
       private HotwordRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private HotwordRule() {}
+      private HotwordRule() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new HotwordRule();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private HotwordRule(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5917,107 +5301,85 @@ private HotwordRule(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-                  if (hotwordRegex_ != null) {
-                    subBuilder = hotwordRegex_.toBuilder();
-                  }
-                  hotwordRegex_ =
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(hotwordRegex_);
-                    hotwordRegex_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+              case 10: {
+                com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+                if (hotwordRegex_ != null) {
+                  subBuilder = hotwordRegex_.toBuilder();
+                }
+                hotwordRegex_ = input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(hotwordRegex_);
+                  hotwordRegex_ = subBuilder.buildPartial();
+                }
+
+                break;
+              }
+              case 18: {
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder subBuilder = null;
+                if (proximity_ != null) {
+                  subBuilder = proximity_.toBuilder();
                 }
-              case 18:
-                {
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
-                      subBuilder = null;
-                  if (proximity_ != null) {
-                    subBuilder = proximity_.toBuilder();
-                  }
-                  proximity_ =
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(proximity_);
-                    proximity_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+                proximity_ = input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(proximity_);
+                  proximity_ = subBuilder.buildPartial();
+                }
+
+                break;
+              }
+              case 26: {
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder subBuilder = null;
+                if (likelihoodAdjustment_ != null) {
+                  subBuilder = likelihoodAdjustment_.toBuilder();
                 }
-              case 26:
-                {
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
-                          .Builder
-                      subBuilder = null;
-                  if (likelihoodAdjustment_ != null) {
-                    subBuilder = likelihoodAdjustment_.toBuilder();
-                  }
-                  likelihoodAdjustment_ =
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule
-                              .LikelihoodAdjustment.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(likelihoodAdjustment_);
-                    likelihoodAdjustment_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+                likelihoodAdjustment_ = input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(likelihoodAdjustment_);
+                  likelihoodAdjustment_ = subBuilder.buildPartial();
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
       }
 
       public static final int HOTWORD_REGEX_FIELD_NUMBER = 1;
       private com.google.privacy.dlp.v2.CustomInfoType.Regex hotwordRegex_;
       /**
-       *
-       *
        * 
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; - * * @return Whether the hotwordRegex field is set. */ @java.lang.Override @@ -6025,25 +5387,18 @@ public boolean hasHotwordRegex() { return hotwordRegex_ != null; } /** - * - * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; - * * @return The hotwordRegex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() { - return hotwordRegex_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() - : hotwordRegex_; + return hotwordRegex_ == null ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() : hotwordRegex_; } /** - * - * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
@@ -6058,8 +5413,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr public static final int PROXIMITY_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity_; /** - * - * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -6072,7 +5425,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return Whether the proximity field is set. */ @java.lang.Override @@ -6080,8 +5432,6 @@ public boolean hasProximity() { return proximity_ != null; } /** - * - * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -6094,18 +5444,13 @@ public boolean hasProximity() {
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return The proximity. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() { - return proximity_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() - : proximity_; + return proximity_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() : proximity_; } /** - * - * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -6120,25 +5465,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
        * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
-          getProximityOrBuilder() {
+      public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder() {
         return getProximity();
       }
 
       public static final int LIKELIHOOD_ADJUSTMENT_FIELD_NUMBER = 3;
-      private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
-          likelihoodAdjustment_;
+      private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihoodAdjustment_;
       /**
-       *
-       *
        * 
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; * @return Whether the likelihoodAdjustment field is set. */ @java.lang.Override @@ -6146,45 +5484,30 @@ public boolean hasLikelihoodAdjustment() { return likelihoodAdjustment_ != null; } /** - * - * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; * @return The likelihoodAdjustment. */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - getLikelihoodAdjustment() { - return likelihoodAdjustment_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .getDefaultInstance() - : likelihoodAdjustment_; + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment() { + return likelihoodAdjustment_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance() : likelihoodAdjustment_; } /** - * - * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder - getLikelihoodAdjustmentOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder() { return getLikelihoodAdjustment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6196,7 +5519,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (hotwordRegex_ != null) { output.writeMessage(1, getHotwordRegex()); } @@ -6216,15 +5540,16 @@ public int getSerializedSize() { size = 0; if (hotwordRegex_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHotwordRegex()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHotwordRegex()); } if (proximity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProximity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProximity()); } if (likelihoodAdjustment_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getLikelihoodAdjustment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLikelihoodAdjustment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6234,25 +5559,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other = - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) obj; if (hasHotwordRegex() != other.hasHotwordRegex()) return false; if (hasHotwordRegex()) { - if (!getHotwordRegex().equals(other.getHotwordRegex())) return false; + if (!getHotwordRegex() + .equals(other.getHotwordRegex())) return false; } if (hasProximity() != other.hasProximity()) return false; if (hasProximity()) { - if (!getProximity().equals(other.getProximity())) return false; + if (!getProximity() + .equals(other.getProximity())) return false; } if (hasLikelihoodAdjustment() != other.hasLikelihoodAdjustment()) return false; if (hasLikelihoodAdjustment()) { - if (!getLikelihoodAdjustment().equals(other.getLikelihoodAdjustment())) return false; + if (!getLikelihoodAdjustment() + .equals(other.getLikelihoodAdjustment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -6283,96 +5610,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6382,8 +5700,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The rule that adjusts the likelihood of findings within a certain
        * proximity of hotwords.
@@ -6391,41 +5707,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)
           com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.privacy.dlp.v2.DlpStorage
-              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.privacy.dlp.v2.DlpStorage
-              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
+          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class,
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
         }
 
-        // Construct using
-        // com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder()
+        // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -6451,22 +5764,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.privacy.dlp.v2.DlpStorage
-              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
         }
 
         @java.lang.Override
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule
-            getDefaultInstanceForType() {
-          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule
-              .getDefaultInstance();
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType() {
+          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule build() {
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result =
-              buildPartial();
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -6475,8 +5785,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule build(
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule buildPartial() {
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result =
-              new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule(this);
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule(this);
           if (hotwordRegexBuilder_ == null) {
             result.hotwordRegex_ = hotwordRegex_;
           } else {
@@ -6500,53 +5809,46 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule buildP
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) {
-            return mergeFrom(
-                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) other);
+            return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other) {
-          if (other
-              == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other) {
+          if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance()) return this;
           if (other.hasHotwordRegex()) {
             mergeHotwordRegex(other.getHotwordRegex());
           }
@@ -6575,9 +5877,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -6589,47 +5889,34 @@ public Builder mergeFrom(
 
         private com.google.privacy.dlp.v2.CustomInfoType.Regex hotwordRegex_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType.Regex,
-                com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder,
-                com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>
-            hotwordRegexBuilder_;
+            com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> hotwordRegexBuilder_;
         /**
-         *
-         *
          * 
          * Regular expression pattern defining what qualifies as a hotword.
          * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; - * * @return Whether the hotwordRegex field is set. */ public boolean hasHotwordRegex() { return hotwordRegexBuilder_ != null || hotwordRegex_ != null; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; - * * @return The hotwordRegex. */ public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() { if (hotwordRegexBuilder_ == null) { - return hotwordRegex_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() - : hotwordRegex_; + return hotwordRegex_ == null ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() : hotwordRegex_; } else { return hotwordRegexBuilder_.getMessage(); } } - /** - * - * + /** *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6650,8 +5937,6 @@ public Builder setHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex va return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6670,8 +5955,6 @@ public Builder setHotwordRegex( return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6682,9 +5965,7 @@ public Builder mergeHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex if (hotwordRegexBuilder_ == null) { if (hotwordRegex_ != null) { hotwordRegex_ = - com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder(hotwordRegex_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder(hotwordRegex_).mergeFrom(value).buildPartial(); } else { hotwordRegex_ = value; } @@ -6696,8 +5977,6 @@ public Builder mergeHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6716,8 +5995,6 @@ public Builder clearHotwordRegex() { return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6725,13 +6002,11 @@ public Builder clearHotwordRegex() { * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; */ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getHotwordRegexBuilder() { - + onChanged(); return getHotwordRegexFieldBuilder().getBuilder(); } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6742,14 +6017,11 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr if (hotwordRegexBuilder_ != null) { return hotwordRegexBuilder_.getMessageOrBuilder(); } else { - return hotwordRegex_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() - : hotwordRegex_; + return hotwordRegex_ == null ? + com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() : hotwordRegex_; } } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6757,17 +6029,14 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getHotwordRegexFieldBuilder() { if (hotwordRegexBuilder_ == null) { - hotwordRegexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( - getHotwordRegex(), getParentForChildren(), isClean()); + hotwordRegexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + getHotwordRegex(), + getParentForChildren(), + isClean()); hotwordRegex_ = null; } return hotwordRegexBuilder_; @@ -6775,13 +6044,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder> - proximityBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder> proximityBuilder_; /** - * - * *
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6794,15 +6058,12 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
          * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return Whether the proximity field is set. */ public boolean hasProximity() { return proximityBuilder_ != null || proximity_ != null; } /** - * - * *
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6815,22 +6076,16 @@ public boolean hasProximity() {
          * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return The proximity. */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() { if (proximityBuilder_ == null) { - return proximity_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity - .getDefaultInstance() - : proximity_; + return proximity_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() : proximity_; } else { return proximityBuilder_.getMessage(); } } /** - * - * *
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6844,8 +6099,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public Builder setProximity(
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
+        public Builder setProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
           if (proximityBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -6859,8 +6113,6 @@ public Builder setProximity(
           return this;
         }
         /**
-         *
-         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6875,8 +6127,7 @@ public Builder setProximity(
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
         public Builder setProximity(
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
-                builderForValue) {
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder builderForValue) {
           if (proximityBuilder_ == null) {
             proximity_ = builderForValue.build();
             onChanged();
@@ -6887,8 +6138,6 @@ public Builder setProximity(
           return this;
         }
         /**
-         *
-         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6902,15 +6151,11 @@ public Builder setProximity(
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public Builder mergeProximity(
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
+        public Builder mergeProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
           if (proximityBuilder_ == null) {
             if (proximity_ != null) {
               proximity_ =
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder(
-                          proximity_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder(proximity_).mergeFrom(value).buildPartial();
             } else {
               proximity_ = value;
             }
@@ -6922,8 +6167,6 @@ public Builder mergeProximity(
           return this;
         }
         /**
-         *
-         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6949,8 +6192,6 @@ public Builder clearProximity() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6964,15 +6205,12 @@ public Builder clearProximity() {
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
-            getProximityBuilder() {
-
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder getProximityBuilder() {
+          
           onChanged();
           return getProximityFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6986,20 +6224,15 @@ public Builder clearProximity() {
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
-            getProximityOrBuilder() {
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder() {
           if (proximityBuilder_ != null) {
             return proximityBuilder_.getMessageOrBuilder();
           } else {
-            return proximity_ == null
-                ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
-                    .getDefaultInstance()
-                : proximity_;
+            return proximity_ == null ?
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() : proximity_;
           }
         }
         /**
-         *
-         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -7014,83 +6247,56 @@ public Builder clearProximity() {
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder>
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder> 
             getProximityFieldBuilder() {
           if (proximityBuilder_ == null) {
-            proximityBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity,
-                    com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder,
-                    com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder>(
-                    getProximity(), getParentForChildren(), isClean());
+            proximityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder>(
+                    getProximity(),
+                    getParentForChildren(),
+                    isClean());
             proximity_ = null;
           }
           return proximityBuilder_;
         }
 
-        private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
-            likelihoodAdjustment_;
+        private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihoodAdjustment_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule
-                    .LikelihoodAdjustmentOrBuilder>
-            likelihoodAdjustmentBuilder_;
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder> likelihoodAdjustmentBuilder_;
         /**
-         *
-         *
          * 
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; * @return Whether the likelihoodAdjustment field is set. */ public boolean hasLikelihoodAdjustment() { return likelihoodAdjustmentBuilder_ != null || likelihoodAdjustment_ != null; } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; * @return The likelihoodAdjustment. */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - getLikelihoodAdjustment() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment() { if (likelihoodAdjustmentBuilder_ == null) { - return likelihoodAdjustment_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .getDefaultInstance() - : likelihoodAdjustment_; + return likelihoodAdjustment_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance() : likelihoodAdjustment_; } else { return likelihoodAdjustmentBuilder_.getMessage(); } } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ - public Builder setLikelihoodAdjustment( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { + public Builder setLikelihoodAdjustment(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { if (likelihoodAdjustmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7104,19 +6310,14 @@ public Builder setLikelihoodAdjustment( return this; } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ public Builder setLikelihoodAdjustment( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder - builderForValue) { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue) { if (likelihoodAdjustmentBuilder_ == null) { likelihoodAdjustment_ = builderForValue.build(); onChanged(); @@ -7127,25 +6328,17 @@ public Builder setLikelihoodAdjustment( return this; } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ - public Builder mergeLikelihoodAdjustment( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { + public Builder mergeLikelihoodAdjustment(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { if (likelihoodAdjustmentBuilder_ == null) { if (likelihoodAdjustment_ != null) { likelihoodAdjustment_ = - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .newBuilder(likelihoodAdjustment_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.newBuilder(likelihoodAdjustment_).mergeFrom(value).buildPartial(); } else { likelihoodAdjustment_ = value; } @@ -7157,15 +6350,11 @@ public Builder mergeLikelihoodAdjustment( return this; } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ public Builder clearLikelihoodAdjustment() { if (likelihoodAdjustmentBuilder_ == null) { @@ -7179,75 +6368,52 @@ public Builder clearLikelihoodAdjustment() { return this; } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder - getLikelihoodAdjustmentBuilder() { - + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder getLikelihoodAdjustmentBuilder() { + onChanged(); return getLikelihoodAdjustmentFieldBuilder().getBuilder(); } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder - getLikelihoodAdjustmentOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder() { if (likelihoodAdjustmentBuilder_ != null) { return likelihoodAdjustmentBuilder_.getMessageOrBuilder(); } else { - return likelihoodAdjustment_ == null - ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .getDefaultInstance() - : likelihoodAdjustment_; + return likelihoodAdjustment_ == null ? + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance() : likelihoodAdjustment_; } } /** - * - * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule - .LikelihoodAdjustmentOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder> getLikelihoodAdjustmentFieldBuilder() { if (likelihoodAdjustmentBuilder_ == null) { - likelihoodAdjustmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment - .Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule - .LikelihoodAdjustmentOrBuilder>( - getLikelihoodAdjustment(), getParentForChildren(), isClean()); + likelihoodAdjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder>( + getLikelihoodAdjustment(), + getParentForChildren(), + isClean()); likelihoodAdjustment_ = null; } return likelihoodAdjustmentBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7260,32 +6426,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) - private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule(); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HotwordRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HotwordRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HotwordRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HotwordRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7297,23 +6461,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HOTWORD_RULE(1), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -7329,35 +6490,29 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: - return HOTWORD_RULE; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 1: return HOTWORD_RULE; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int HOTWORD_RULE_FIELD_NUMBER = 1; /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -7365,47 +6520,36 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return The hotwordRule. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder - getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7417,10 +6561,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage( - 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } unknownFields.writeTo(output); } @@ -7432,9 +6576,8 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7444,18 +6587,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.privacy.dlp.v2.CustomInfoType.DetectionRule)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule other = - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getHotwordRule().equals(other.getHotwordRule())) return false; + if (!getHotwordRule() + .equals(other.getHotwordRule())) return false; break; case 0: default: @@ -7485,94 +6628,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7582,8 +6718,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
      * `CustomInfoType` to alter behavior under certain circumstances, depending
@@ -7593,24 +6727,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule)
         com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class,
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.newBuilder()
@@ -7618,15 +6749,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -7636,9 +6768,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
       }
 
       @java.lang.Override
@@ -7657,8 +6789,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule buildPartial() {
-        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule result =
-            new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule(this);
+        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule(this);
         if (typeCase_ == 1) {
           if (hotwordRuleBuilder_ == null) {
             result.type_ = type_;
@@ -7675,41 +6806,38 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.DetectionRule) {
-          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) other);
+          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -7717,18 +6845,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule other) {
-        if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()) return this;
         switch (other.getTypeCase()) {
-          case HOTWORD_RULE:
-            {
-              mergeHotwordRule(other.getHotwordRule());
-              break;
-            }
-          case TYPE_NOT_SET:
-            {
-              break;
-            }
+          case HOTWORD_RULE: {
+            mergeHotwordRule(other.getHotwordRule());
+            break;
+          }
+          case TYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -7749,8 +6874,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -7759,12 +6883,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int typeCase_ = 0;
       private java.lang.Object type_;
-
-      public TypeCase getTypeCase() {
-        return TypeCase.forNumber(typeCase_);
+      public TypeCase
+          getTypeCase() {
+        return TypeCase.forNumber(
+            typeCase_);
       }
 
       public Builder clearType() {
@@ -7774,21 +6898,15 @@ public Builder clearType() {
         return this;
       }
 
+
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule,
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder,
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>
-          hotwordRuleBuilder_;
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> hotwordRuleBuilder_;
       /**
-       *
-       *
        * 
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -7796,15 +6914,11 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return The hotwordRule. */ @java.lang.Override @@ -7813,28 +6927,22 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } else { if (typeCase_ == 1) { return hotwordRuleBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - public Builder setHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder setHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7848,18 +6956,14 @@ public Builder setHotwordRule( return this; } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ public Builder setHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder - builderForValue) { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder builderForValue) { if (hotwordRuleBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -7870,27 +6974,18 @@ public Builder setHotwordRule( return this; } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - public Builder mergeHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder mergeHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { - if (typeCase_ == 1 - && type_ - != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -7905,14 +7000,11 @@ public Builder mergeHotwordRule( return this; } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ public Builder clearHotwordRule() { if (hotwordRuleBuilder_ == null) { @@ -7931,79 +7023,58 @@ public Builder clearHotwordRule() { return this; } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder - getHotwordRuleBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder getHotwordRuleBuilder() { return getHotwordRuleFieldBuilder().getBuilder(); } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder - getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { if ((typeCase_ == 1) && (hotwordRuleBuilder_ != null)) { return hotwordRuleBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } } /** - * - * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> getHotwordRuleFieldBuilder() { if (hotwordRuleBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } - hotwordRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( + hotwordRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return hotwordRuleBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8016,12 +7087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule) private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule(); } @@ -8030,16 +7101,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectionRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectionRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8054,14 +7125,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DICTIONARY(2), REGEX(3), @@ -8069,7 +7139,6 @@ public enum TypeCase STORED_TYPE(5), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -8085,35 +7154,28 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 2: - return DICTIONARY; - case 3: - return REGEX; - case 4: - return SURROGATE_TYPE; - case 5: - return STORED_TYPE; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 2: return DICTIONARY; + case 3: return REGEX; + case 4: return SURROGATE_TYPE; + case 5: return STORED_TYPE; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** - * - * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8124,7 +7186,6 @@ public TypeCase getTypeCase() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -8132,8 +7193,6 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8144,7 +7203,6 @@ public boolean hasInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -8152,8 +7210,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8173,8 +7229,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
   public static final int LIKELIHOOD_FIELD_NUMBER = 6;
   private int likelihood_;
   /**
-   *
-   *
    * 
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -8182,16 +7236,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override - public int getLikelihoodValue() { + @java.lang.Override public int getLikelihoodValue() { return likelihood_; } /** - * - * *
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -8199,27 +7249,21 @@ public int getLikelihoodValue() {
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return The likelihood. */ - @java.lang.Override - public com.google.privacy.dlp.v2.Likelihood getLikelihood() { + @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } public static final int DICTIONARY_FIELD_NUMBER = 2; /** - * - * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; - * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -8227,26 +7271,21 @@ public boolean hasDictionary() { return typeCase_ == 2; } /** - * - * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; - * * @return The dictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } /** - * - * *
    * A list of phrases to detect as a CustomInfoType.
    * 
@@ -8256,21 +7295,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } public static final int REGEX_FIELD_NUMBER = 3; /** - * - * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; - * * @return Whether the regex field is set. */ @java.lang.Override @@ -8278,26 +7314,21 @@ public boolean hasRegex() { return typeCase_ == 3; } /** - * - * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; - * * @return The regex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } /** - * - * *
    * Regular expression based CustomInfoType.
    * 
@@ -8307,22 +7338,19 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } public static final int SURROGATE_TYPE_FIELD_NUMBER = 4; /** - * - * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; - * * @return Whether the surrogateType field is set. */ @java.lang.Override @@ -8330,27 +7358,22 @@ public boolean hasSurrogateType() { return typeCase_ == 4; } /** - * - * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; - * * @return The surrogateType. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_; } return com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance(); } /** - * - * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
@@ -8359,25 +7382,21 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType()
    * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder
-      getSurrogateTypeOrBuilder() {
+  public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder() {
     if (typeCase_ == 4) {
-      return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_;
+       return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_;
     }
     return com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance();
   }
 
   public static final int STORED_TYPE_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; - * * @return Whether the storedType field is set. */ @java.lang.Override @@ -8385,27 +7404,22 @@ public boolean hasStoredType() { return typeCase_ == 5; } /** - * - * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; - * * @return The storedType. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredType getStoredType() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.StoredType) type_; + return (com.google.privacy.dlp.v2.StoredType) type_; } return com.google.privacy.dlp.v2.StoredType.getDefaultInstance(); } /** - * - * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -8416,7 +7430,7 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
     if (typeCase_ == 5) {
-      return (com.google.privacy.dlp.v2.StoredType) type_;
+       return (com.google.privacy.dlp.v2.StoredType) type_;
     }
     return com.google.privacy.dlp.v2.StoredType.getDefaultInstance();
   }
@@ -8424,8 +7438,6 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
   public static final int DETECTION_RULES_FIELD_NUMBER = 7;
   private java.util.List detectionRules_;
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -8435,13 +7447,10 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
   @java.lang.Override
-  public java.util.List
-      getDetectionRulesList() {
+  public java.util.List getDetectionRulesList() {
     return detectionRules_;
   }
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -8451,13 +7460,11 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDetectionRulesOrBuilderList() {
     return detectionRules_;
   }
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -8471,8 +7478,6 @@ public int getDetectionRulesCount() {
     return detectionRules_.size();
   }
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -8486,8 +7491,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(
     return detectionRules_.get(index);
   }
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -8505,45 +7508,33 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetect
   public static final int EXCLUSION_TYPE_FIELD_NUMBER = 8;
   private int exclusionType_;
   /**
-   *
-   *
    * 
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return The enum numeric value on the wire for exclusionType. */ - @java.lang.Override - public int getExclusionTypeValue() { + @java.lang.Override public int getExclusionTypeValue() { return exclusionType_; } /** - * - * *
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return The exclusionType. */ - @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() { + @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = - com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); - return result == null - ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); + return result == null ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8555,7 +7546,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -8577,9 +7569,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < detectionRules_.size(); i++) { output.writeMessage(7, detectionRules_.get(i)); } - if (exclusionType_ - != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED - .getNumber()) { + if (exclusionType_ != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(8, exclusionType_); } unknownFields.writeTo(output); @@ -8592,38 +7582,36 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInfoType()); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); } if (typeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_); } if (typeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.StoredType) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.StoredType) type_); } if (likelihood_ != com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, likelihood_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, likelihood_); } for (int i = 0; i < detectionRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, detectionRules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, detectionRules_.get(i)); } - if (exclusionType_ - != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, exclusionType_); + if (exclusionType_ != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, exclusionType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8633,7 +7621,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.privacy.dlp.v2.CustomInfoType)) { return super.equals(obj); @@ -8642,24 +7630,30 @@ public boolean equals(final java.lang.Object obj) { if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } if (likelihood_ != other.likelihood_) return false; - if (!getDetectionRulesList().equals(other.getDetectionRulesList())) return false; + if (!getDetectionRulesList() + .equals(other.getDetectionRulesList())) return false; if (exclusionType_ != other.exclusionType_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 2: - if (!getDictionary().equals(other.getDictionary())) return false; + if (!getDictionary() + .equals(other.getDictionary())) return false; break; case 3: - if (!getRegex().equals(other.getRegex())) return false; + if (!getRegex() + .equals(other.getRegex())) return false; break; case 4: - if (!getSurrogateType().equals(other.getSurrogateType())) return false; + if (!getSurrogateType() + .equals(other.getSurrogateType())) return false; break; case 5: - if (!getStoredType().equals(other.getStoredType())) return false; + if (!getStoredType() + .equals(other.getStoredType())) return false; break; case 0: default: @@ -8712,104 +7706,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.CustomInfoType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.CustomInfoType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Custom information type provided by the user. Used to find domain-specific
    * sensitive information configurable to the data in question.
@@ -8817,23 +7804,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType)
       com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CustomInfoType.class,
-              com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
+              com.google.privacy.dlp.v2.CustomInfoType.class, com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CustomInfoType.newBuilder()
@@ -8841,17 +7826,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getDetectionRulesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8877,9 +7862,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
     }
 
     @java.lang.Override
@@ -8898,8 +7883,7 @@ public com.google.privacy.dlp.v2.CustomInfoType build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CustomInfoType buildPartial() {
-      com.google.privacy.dlp.v2.CustomInfoType result =
-          new com.google.privacy.dlp.v2.CustomInfoType(this);
+      com.google.privacy.dlp.v2.CustomInfoType result = new com.google.privacy.dlp.v2.CustomInfoType(this);
       int from_bitField0_ = bitField0_;
       if (infoTypeBuilder_ == null) {
         result.infoType_ = infoType_;
@@ -8954,39 +7938,38 @@ public com.google.privacy.dlp.v2.CustomInfoType buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CustomInfoType) {
-        return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType) other);
+        return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -9019,10 +8002,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType other) {
             detectionRulesBuilder_ = null;
             detectionRules_ = other.detectionRules_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            detectionRulesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getDetectionRulesFieldBuilder()
-                    : null;
+            detectionRulesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getDetectionRulesFieldBuilder() : null;
           } else {
             detectionRulesBuilder_.addAllMessages(other.detectionRules_);
           }
@@ -9032,30 +8014,25 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType other) {
         setExclusionTypeValue(other.getExclusionTypeValue());
       }
       switch (other.getTypeCase()) {
-        case DICTIONARY:
-          {
-            mergeDictionary(other.getDictionary());
-            break;
-          }
-        case REGEX:
-          {
-            mergeRegex(other.getRegex());
-            break;
-          }
-        case SURROGATE_TYPE:
-          {
-            mergeSurrogateType(other.getSurrogateType());
-            break;
-          }
-        case STORED_TYPE:
-          {
-            mergeStoredType(other.getStoredType());
-            break;
-          }
-        case TYPE_NOT_SET:
-          {
-            break;
-          }
+        case DICTIONARY: {
+          mergeDictionary(other.getDictionary());
+          break;
+        }
+        case REGEX: {
+          mergeRegex(other.getRegex());
+          break;
+        }
+        case SURROGATE_TYPE: {
+          mergeSurrogateType(other.getSurrogateType());
+          break;
+        }
+        case STORED_TYPE: {
+          mergeStoredType(other.getStoredType());
+          break;
+        }
+        case TYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -9085,12 +8062,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+        getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public Builder clearType() {
@@ -9104,13 +8081,8 @@ public Builder clearType() {
 
     private com.google.privacy.dlp.v2.InfoType infoType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-        infoTypeBuilder_;
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_;
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9121,15 +8093,12 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9140,21 +8109,16 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** - * - * *
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9180,8 +8144,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9193,7 +8155,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
      *
      * .google.privacy.dlp.v2.InfoType info_type = 1;
      */
-    public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder setInfoType(
+        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypeBuilder_ == null) {
         infoType_ = builderForValue.build();
         onChanged();
@@ -9204,8 +8167,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9221,9 +8182,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypeBuilder_ == null) {
         if (infoType_ != null) {
           infoType_ =
-              com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial();
         } else {
           infoType_ = value;
         }
@@ -9235,8 +8194,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9260,8 +8217,6 @@ public Builder clearInfoType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9274,13 +8229,11 @@ public Builder clearInfoType() {
      * .google.privacy.dlp.v2.InfoType info_type = 1;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
-
+      
       onChanged();
       return getInfoTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9296,14 +8249,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       if (infoTypeBuilder_ != null) {
         return infoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return infoType_ == null
-            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
-            : infoType_;
+        return infoType_ == null ?
+            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -9316,17 +8266,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * .google.privacy.dlp.v2.InfoType info_type = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getInfoTypeFieldBuilder() {
       if (infoTypeBuilder_ == null) {
-        infoTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getInfoType(), getParentForChildren(), isClean());
+        infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getInfoType(),
+                getParentForChildren(),
+                isClean());
         infoType_ = null;
       }
       return infoTypeBuilder_;
@@ -9334,8 +8281,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
 
     private int likelihood_ = 0;
     /**
-     *
-     *
      * 
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -9343,16 +8288,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override - public int getLikelihoodValue() { + @java.lang.Override public int getLikelihoodValue() { return likelihood_; } /** - * - * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -9360,19 +8301,16 @@ public int getLikelihoodValue() {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @param value The enum numeric value on the wire for likelihood to set. * @return This builder for chaining. */ public Builder setLikelihoodValue(int value) { - + likelihood_ = value; onChanged(); return this; } /** - * - * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -9380,19 +8318,15 @@ public Builder setLikelihoodValue(int value) {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return The likelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -9400,7 +8334,6 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @param value The likelihood to set. * @return This builder for chaining. */ @@ -9408,14 +8341,12 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + likelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -9423,30 +8354,23 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return This builder for chaining. */ public Builder clearLikelihood() { - + likelihood_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> - dictionaryBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> dictionaryBuilder_; /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; - * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -9454,14 +8378,11 @@ public boolean hasDictionary() { return typeCase_ == 2; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; - * * @return The dictionary. */ @java.lang.Override @@ -9479,8 +8400,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9501,8 +8420,6 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9521,8 +8438,6 @@ public Builder setDictionary( return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9531,13 +8446,10 @@ public Builder setDictionary( */ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary value) { if (dictionaryBuilder_ == null) { - if (typeCase_ == 2 - && type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -9552,8 +8464,6 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9577,8 +8487,6 @@ public Builder clearDictionary() { return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9589,8 +8497,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9609,8 +8515,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9618,44 +8522,32 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> getDictionaryFieldBuilder() { if (dictionaryBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } - dictionaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( + dictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return dictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> - regexBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> regexBuilder_; /** - * - * *
      * Regular expression based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; - * * @return Whether the regex field is set. */ @java.lang.Override @@ -9663,14 +8555,11 @@ public boolean hasRegex() { return typeCase_ == 3; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; - * * @return The regex. */ @java.lang.Override @@ -9688,8 +8577,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9710,8 +8597,6 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9730,8 +8615,6 @@ public Builder setRegex( return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9740,13 +8623,10 @@ public Builder setRegex( */ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { if (regexBuilder_ == null) { - if (typeCase_ == 3 - && type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -9761,8 +8641,6 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9786,8 +8664,6 @@ public Builder clearRegex() { return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9798,8 +8674,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9818,8 +8692,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9827,45 +8699,33 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getRegexFieldBuilder() { if (regexBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } - regexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + regexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return regexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, - com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder> - surrogateTypeBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder> surrogateTypeBuilder_; /** - * - * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; - * * @return Whether the surrogateType field is set. */ @java.lang.Override @@ -9873,15 +8733,12 @@ public boolean hasSurrogateType() { return typeCase_ == 4; } /** - * - * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; - * * @return The surrogateType. */ @java.lang.Override @@ -9899,8 +8756,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() } } /** - * - * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -9922,8 +8777,6 @@ public Builder setSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.Surroga
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -9943,8 +8796,6 @@ public Builder setSurrogateType(
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -9952,17 +8803,12 @@ public Builder setSurrogateType(
      *
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
-    public Builder mergeSurrogateType(
-        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType value) {
+    public Builder mergeSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType value) {
       if (surrogateTypeBuilder_ == null) {
-        if (typeCase_ == 4
-            && type_
-                != com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) {
-          type_ =
-              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.newBuilder(
-                      (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeCase_ == 4 &&
+            type_ != com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) {
+          type_ = com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_)
+              .mergeFrom(value).buildPartial();
         } else {
           type_ = value;
         }
@@ -9977,8 +8823,6 @@ public Builder mergeSurrogateType(
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10003,8 +8847,6 @@ public Builder clearSurrogateType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10012,13 +8854,10 @@ public Builder clearSurrogateType() {
      *
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder
-        getSurrogateTypeBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder getSurrogateTypeBuilder() {
       return getSurrogateTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10027,8 +8866,7 @@ public Builder clearSurrogateType() {
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder
-        getSurrogateTypeOrBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder() {
       if ((typeCase_ == 4) && (surrogateTypeBuilder_ != null)) {
         return surrogateTypeBuilder_.getMessageOrBuilder();
       } else {
@@ -10039,8 +8877,6 @@ public Builder clearSurrogateType() {
       }
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10049,45 +8885,33 @@ public Builder clearSurrogateType() {
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType,
-            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder,
-            com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder>
+        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder> 
         getSurrogateTypeFieldBuilder() {
       if (surrogateTypeBuilder_ == null) {
         if (!(typeCase_ == 4)) {
           type_ = com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance();
         }
-        surrogateTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType,
-                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder,
-                com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder>(
+        surrogateTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder>(
                 (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_,
                 getParentForChildren(),
                 isClean());
         type_ = null;
       }
       typeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return surrogateTypeBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredType,
-            com.google.privacy.dlp.v2.StoredType.Builder,
-            com.google.privacy.dlp.v2.StoredTypeOrBuilder>
-        storedTypeBuilder_;
+        com.google.privacy.dlp.v2.StoredType, com.google.privacy.dlp.v2.StoredType.Builder, com.google.privacy.dlp.v2.StoredTypeOrBuilder> storedTypeBuilder_;
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
      * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; - * * @return Whether the storedType field is set. */ @java.lang.Override @@ -10095,15 +8919,12 @@ public boolean hasStoredType() { return typeCase_ == 5; } /** - * - * *
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
      * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; - * * @return The storedType. */ @java.lang.Override @@ -10121,8 +8942,6 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() { } } /** - * - * *
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10144,8 +8963,6 @@ public Builder setStoredType(com.google.privacy.dlp.v2.StoredType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10153,7 +8970,8 @@ public Builder setStoredType(com.google.privacy.dlp.v2.StoredType value) {
      *
      * .google.privacy.dlp.v2.StoredType stored_type = 5;
      */
-    public Builder setStoredType(com.google.privacy.dlp.v2.StoredType.Builder builderForValue) {
+    public Builder setStoredType(
+        com.google.privacy.dlp.v2.StoredType.Builder builderForValue) {
       if (storedTypeBuilder_ == null) {
         type_ = builderForValue.build();
         onChanged();
@@ -10164,8 +8982,6 @@ public Builder setStoredType(com.google.privacy.dlp.v2.StoredType.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10175,12 +8991,10 @@ public Builder setStoredType(com.google.privacy.dlp.v2.StoredType.Builder builde
      */
     public Builder mergeStoredType(com.google.privacy.dlp.v2.StoredType value) {
       if (storedTypeBuilder_ == null) {
-        if (typeCase_ == 5 && type_ != com.google.privacy.dlp.v2.StoredType.getDefaultInstance()) {
-          type_ =
-              com.google.privacy.dlp.v2.StoredType.newBuilder(
-                      (com.google.privacy.dlp.v2.StoredType) type_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeCase_ == 5 &&
+            type_ != com.google.privacy.dlp.v2.StoredType.getDefaultInstance()) {
+          type_ = com.google.privacy.dlp.v2.StoredType.newBuilder((com.google.privacy.dlp.v2.StoredType) type_)
+              .mergeFrom(value).buildPartial();
         } else {
           type_ = value;
         }
@@ -10195,8 +9009,6 @@ public Builder mergeStoredType(com.google.privacy.dlp.v2.StoredType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10221,8 +9033,6 @@ public Builder clearStoredType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10234,8 +9044,6 @@ public com.google.privacy.dlp.v2.StoredType.Builder getStoredTypeBuilder() {
       return getStoredTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10255,8 +9063,6 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10265,60 +9071,46 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
      * .google.privacy.dlp.v2.StoredType stored_type = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredType,
-            com.google.privacy.dlp.v2.StoredType.Builder,
-            com.google.privacy.dlp.v2.StoredTypeOrBuilder>
+        com.google.privacy.dlp.v2.StoredType, com.google.privacy.dlp.v2.StoredType.Builder, com.google.privacy.dlp.v2.StoredTypeOrBuilder> 
         getStoredTypeFieldBuilder() {
       if (storedTypeBuilder_ == null) {
         if (!(typeCase_ == 5)) {
           type_ = com.google.privacy.dlp.v2.StoredType.getDefaultInstance();
         }
-        storedTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.StoredType,
-                com.google.privacy.dlp.v2.StoredType.Builder,
-                com.google.privacy.dlp.v2.StoredTypeOrBuilder>(
-                (com.google.privacy.dlp.v2.StoredType) type_, getParentForChildren(), isClean());
+        storedTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.StoredType, com.google.privacy.dlp.v2.StoredType.Builder, com.google.privacy.dlp.v2.StoredTypeOrBuilder>(
+                (com.google.privacy.dlp.v2.StoredType) type_,
+                getParentForChildren(),
+                isClean());
         type_ = null;
       }
       typeCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return storedTypeBuilder_;
     }
 
     private java.util.List detectionRules_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDetectionRulesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        detectionRules_ =
-            new java.util.ArrayList(
-                detectionRules_);
+        detectionRules_ = new java.util.ArrayList(detectionRules_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule,
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder,
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>
-        detectionRulesBuilder_;
+        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder> detectionRulesBuilder_;
 
     /**
-     *
-     *
      * 
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ - public java.util.List - getDetectionRulesList() { + public java.util.List getDetectionRulesList() { if (detectionRulesBuilder_ == null) { return java.util.Collections.unmodifiableList(detectionRules_); } else { @@ -10326,16 +9118,13 @@ private void ensureDetectionRulesIsMutable() { } } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public int getDetectionRulesCount() { if (detectionRulesBuilder_ == null) { @@ -10345,16 +9134,13 @@ public int getDetectionRulesCount() { } } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(int index) { if (detectionRulesBuilder_ == null) { @@ -10364,16 +9150,13 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules( } } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder setDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule value) { @@ -10390,16 +9173,13 @@ public Builder setDetectionRules( return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder setDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder builderForValue) { @@ -10413,16 +9193,13 @@ public Builder setDetectionRules( return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder addDetectionRules(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule value) { if (detectionRulesBuilder_ == null) { @@ -10438,16 +9215,13 @@ public Builder addDetectionRules(com.google.privacy.dlp.v2.CustomInfoType.Detect return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder addDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule value) { @@ -10464,16 +9238,13 @@ public Builder addDetectionRules( return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder addDetectionRules( com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder builderForValue) { @@ -10487,16 +9258,13 @@ public Builder addDetectionRules( return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder addDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder builderForValue) { @@ -10510,23 +9278,20 @@ public Builder addDetectionRules( return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder addAllDetectionRules( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (detectionRulesBuilder_ == null) { ensureDetectionRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, detectionRules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, detectionRules_); onChanged(); } else { detectionRulesBuilder_.addAllMessages(values); @@ -10534,16 +9299,13 @@ public Builder addAllDetectionRules( return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder clearDetectionRules() { if (detectionRulesBuilder_ == null) { @@ -10556,16 +9318,13 @@ public Builder clearDetectionRules() { return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public Builder removeDetectionRules(int index) { if (detectionRulesBuilder_ == null) { @@ -10578,55 +9337,45 @@ public Builder removeDetectionRules(int index) { return this; } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder getDetectionRulesBuilder( int index) { return getDetectionRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder - getDetectionRulesOrBuilder(int index) { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRulesOrBuilder( + int index) { if (detectionRulesBuilder_ == null) { - return detectionRules_.get(index); - } else { + return detectionRules_.get(index); } else { return detectionRulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ - public java.util.List - getDetectionRulesOrBuilderList() { + public java.util.List + getDetectionRulesOrBuilderList() { if (detectionRulesBuilder_ != null) { return detectionRulesBuilder_.getMessageOrBuilderList(); } else { @@ -10634,68 +9383,51 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder getDetecti } } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder - addDetectionRulesBuilder() { - return getDetectionRulesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetectionRulesBuilder() { + return getDetectionRulesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetectionRulesBuilder( int index) { - return getDetectionRulesFieldBuilder() - .addBuilder( - index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); + return getDetectionRulesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); } /** - * - * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; */ - public java.util.List - getDetectionRulesBuilderList() { + public java.util.List + getDetectionRulesBuilderList() { return getDetectionRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder> getDetectionRulesFieldBuilder() { if (detectionRulesBuilder_ == null) { - detectionRulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>( + detectionRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>( detectionRules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -10707,71 +9439,55 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetecti private int exclusionType_ = 0; /** - * - * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return The enum numeric value on the wire for exclusionType. */ - @java.lang.Override - public int getExclusionTypeValue() { + @java.lang.Override public int getExclusionTypeValue() { return exclusionType_; } /** - * - * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @param value The enum numeric value on the wire for exclusionType to set. * @return This builder for chaining. */ public Builder setExclusionTypeValue(int value) { - + exclusionType_ = value; onChanged(); return this; } /** - * - * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return The exclusionType. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = - com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); - return result == null - ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); + return result == null ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED : result; } /** - * - * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @param value The exclusionType to set. * @return This builder for chaining. */ @@ -10779,32 +9495,29 @@ public Builder setExclusionType(com.google.privacy.dlp.v2.CustomInfoType.Exclusi if (value == null) { throw new NullPointerException(); } - + exclusionType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return This builder for chaining. */ public Builder clearExclusionType() { - + exclusionType_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10814,12 +9527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType) private static final com.google.privacy.dlp.v2.CustomInfoType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType(); } @@ -10828,16 +9541,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomInfoType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CustomInfoType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomInfoType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CustomInfoType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10852,4 +9565,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java similarity index 90% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java index a3f1f628..f0a7f5de 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CustomInfoTypeOrBuilder - extends +public interface CustomInfoTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -36,13 +18,10 @@ public interface CustomInfoTypeOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -53,13 +32,10 @@ public interface CustomInfoTypeOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -74,8 +50,6 @@ public interface CustomInfoTypeOrBuilder
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -83,13 +57,10 @@ public interface CustomInfoTypeOrBuilder
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return The enum numeric value on the wire for likelihood. */ int getLikelihoodValue(); /** - * - * *
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -97,38 +68,29 @@ public interface CustomInfoTypeOrBuilder
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; - * * @return The likelihood. */ com.google.privacy.dlp.v2.Likelihood getLikelihood(); /** - * - * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; - * * @return Whether the dictionary field is set. */ boolean hasDictionary(); /** - * - * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; - * * @return The dictionary. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); /** - * - * *
    * A list of phrases to detect as a CustomInfoType.
    * 
@@ -138,32 +100,24 @@ public interface CustomInfoTypeOrBuilder com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); /** - * - * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; - * * @return Whether the regex field is set. */ boolean hasRegex(); /** - * - * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; - * * @return The regex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); /** - * - * *
    * Regular expression based CustomInfoType.
    * 
@@ -173,34 +127,26 @@ public interface CustomInfoTypeOrBuilder com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder(); /** - * - * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; - * * @return Whether the surrogateType field is set. */ boolean hasSurrogateType(); /** - * - * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; - * * @return The surrogateType. */ com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType(); /** - * - * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
@@ -211,34 +157,26 @@ public interface CustomInfoTypeOrBuilder
   com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; - * * @return Whether the storedType field is set. */ boolean hasStoredType(); /** - * - * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; - * * @return The storedType. */ com.google.privacy.dlp.v2.StoredType getStoredType(); /** - * - * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -249,8 +187,6 @@ public interface CustomInfoTypeOrBuilder
   com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -259,10 +195,9 @@ public interface CustomInfoTypeOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
-  java.util.List getDetectionRulesList();
+  java.util.List 
+      getDetectionRulesList();
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -273,8 +208,6 @@ public interface CustomInfoTypeOrBuilder
    */
   com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(int index);
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -285,8 +218,6 @@ public interface CustomInfoTypeOrBuilder
    */
   int getDetectionRulesCount();
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -295,11 +226,9 @@ public interface CustomInfoTypeOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
-  java.util.List
+  java.util.List 
       getDetectionRulesOrBuilderList();
   /**
-   *
-   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -312,28 +241,22 @@ com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRule
       int index);
 
   /**
-   *
-   *
    * 
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return The enum numeric value on the wire for exclusionType. */ int getExclusionTypeValue(); /** - * - * *
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; - * * @return The exclusionType. */ com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java index 4a8b37fd..3eabf5b0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Record key for a finding in Cloud Datastore.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreKey} */ -public final class DatastoreKey extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatastoreKey extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DatastoreKey) DatastoreKeyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatastoreKey.newBuilder() to construct. private DatastoreKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DatastoreKey() {} + private DatastoreKey() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatastoreKey(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DatastoreKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,66 +52,59 @@ private DatastoreKey( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Key.Builder subBuilder = null; - if (entityKey_ != null) { - subBuilder = entityKey_.toBuilder(); - } - entityKey_ = - input.readMessage(com.google.privacy.dlp.v2.Key.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entityKey_); - entityKey_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Key.Builder subBuilder = null; + if (entityKey_ != null) { + subBuilder = entityKey_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + entityKey_ = input.readMessage(com.google.privacy.dlp.v2.Key.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityKey_); + entityKey_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreKey.class, - com.google.privacy.dlp.v2.DatastoreKey.Builder.class); + com.google.privacy.dlp.v2.DatastoreKey.class, com.google.privacy.dlp.v2.DatastoreKey.Builder.class); } public static final int ENTITY_KEY_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Key entityKey_; /** - * - * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return Whether the entityKey field is set. */ @java.lang.Override @@ -135,14 +112,11 @@ public boolean hasEntityKey() { return entityKey_ != null; } /** - * - * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return The entityKey. */ @java.lang.Override @@ -150,8 +124,6 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; } /** - * - * *
    * Datastore entity key.
    * 
@@ -164,7 +136,6 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (entityKey_ != null) { output.writeMessage(1, getEntityKey()); } @@ -190,7 +162,8 @@ public int getSerializedSize() { size = 0; if (entityKey_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntityKey()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntityKey()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,7 +173,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.privacy.dlp.v2.DatastoreKey)) { return super.equals(obj); @@ -209,7 +182,8 @@ public boolean equals(final java.lang.Object obj) { if (hasEntityKey() != other.hasEntityKey()) return false; if (hasEntityKey()) { - if (!getEntityKey().equals(other.getEntityKey())) return false; + if (!getEntityKey() + .equals(other.getEntityKey())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -231,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreKey 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.privacy.dlp.v2.DatastoreKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DatastoreKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Record key for a finding in Cloud Datastore.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreKey} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DatastoreKey) com.google.privacy.dlp.v2.DatastoreKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreKey.class, - com.google.privacy.dlp.v2.DatastoreKey.Builder.class); + com.google.privacy.dlp.v2.DatastoreKey.class, com.google.privacy.dlp.v2.DatastoreKey.Builder.class); } // Construct using com.google.privacy.dlp.v2.DatastoreKey.newBuilder() @@ -359,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; } @java.lang.Override @@ -402,8 +368,7 @@ public com.google.privacy.dlp.v2.DatastoreKey build() { @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKey buildPartial() { - com.google.privacy.dlp.v2.DatastoreKey result = - new com.google.privacy.dlp.v2.DatastoreKey(this); + com.google.privacy.dlp.v2.DatastoreKey result = new com.google.privacy.dlp.v2.DatastoreKey(this); if (entityKeyBuilder_ == null) { result.entityKey_ = entityKey_; } else { @@ -417,39 +382,38 @@ public com.google.privacy.dlp.v2.DatastoreKey buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DatastoreKey) { - return mergeFrom((com.google.privacy.dlp.v2.DatastoreKey) other); + return mergeFrom((com.google.privacy.dlp.v2.DatastoreKey)other); } else { super.mergeFrom(other); return this; @@ -492,33 +456,24 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Key entityKey_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Key, - com.google.privacy.dlp.v2.Key.Builder, - com.google.privacy.dlp.v2.KeyOrBuilder> - entityKeyBuilder_; + com.google.privacy.dlp.v2.Key, com.google.privacy.dlp.v2.Key.Builder, com.google.privacy.dlp.v2.KeyOrBuilder> entityKeyBuilder_; /** - * - * *
      * Datastore entity key.
      * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return Whether the entityKey field is set. */ public boolean hasEntityKey() { return entityKeyBuilder_ != null || entityKey_ != null; } /** - * - * *
      * Datastore entity key.
      * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return The entityKey. */ public com.google.privacy.dlp.v2.Key getEntityKey() { @@ -529,8 +484,6 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { } } /** - * - * *
      * Datastore entity key.
      * 
@@ -551,15 +504,14 @@ public Builder setEntityKey(com.google.privacy.dlp.v2.Key value) { return this; } /** - * - * *
      * Datastore entity key.
      * 
* * .google.privacy.dlp.v2.Key entity_key = 1; */ - public Builder setEntityKey(com.google.privacy.dlp.v2.Key.Builder builderForValue) { + public Builder setEntityKey( + com.google.privacy.dlp.v2.Key.Builder builderForValue) { if (entityKeyBuilder_ == null) { entityKey_ = builderForValue.build(); onChanged(); @@ -570,8 +522,6 @@ public Builder setEntityKey(com.google.privacy.dlp.v2.Key.Builder builderForValu return this; } /** - * - * *
      * Datastore entity key.
      * 
@@ -582,7 +532,7 @@ public Builder mergeEntityKey(com.google.privacy.dlp.v2.Key value) { if (entityKeyBuilder_ == null) { if (entityKey_ != null) { entityKey_ = - com.google.privacy.dlp.v2.Key.newBuilder(entityKey_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Key.newBuilder(entityKey_).mergeFrom(value).buildPartial(); } else { entityKey_ = value; } @@ -594,8 +544,6 @@ public Builder mergeEntityKey(com.google.privacy.dlp.v2.Key value) { return this; } /** - * - * *
      * Datastore entity key.
      * 
@@ -614,8 +562,6 @@ public Builder clearEntityKey() { return this; } /** - * - * *
      * Datastore entity key.
      * 
@@ -623,13 +569,11 @@ public Builder clearEntityKey() { * .google.privacy.dlp.v2.Key entity_key = 1; */ public com.google.privacy.dlp.v2.Key.Builder getEntityKeyBuilder() { - + onChanged(); return getEntityKeyFieldBuilder().getBuilder(); } /** - * - * *
      * Datastore entity key.
      * 
@@ -640,12 +584,11 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { if (entityKeyBuilder_ != null) { return entityKeyBuilder_.getMessageOrBuilder(); } else { - return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; + return entityKey_ == null ? + com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; } } /** - * - * *
      * Datastore entity key.
      * 
@@ -653,24 +596,21 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { * .google.privacy.dlp.v2.Key entity_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Key, - com.google.privacy.dlp.v2.Key.Builder, - com.google.privacy.dlp.v2.KeyOrBuilder> + com.google.privacy.dlp.v2.Key, com.google.privacy.dlp.v2.Key.Builder, com.google.privacy.dlp.v2.KeyOrBuilder> getEntityKeyFieldBuilder() { if (entityKeyBuilder_ == null) { - entityKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Key, - com.google.privacy.dlp.v2.Key.Builder, - com.google.privacy.dlp.v2.KeyOrBuilder>( - getEntityKey(), getParentForChildren(), isClean()); + entityKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Key, com.google.privacy.dlp.v2.Key.Builder, com.google.privacy.dlp.v2.KeyOrBuilder>( + getEntityKey(), + getParentForChildren(), + isClean()); entityKey_ = null; } return entityKeyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -680,12 +620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DatastoreKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DatastoreKey) private static final com.google.privacy.dlp.v2.DatastoreKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DatastoreKey(); } @@ -694,16 +634,16 @@ public static com.google.privacy.dlp.v2.DatastoreKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatastoreKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatastoreKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatastoreKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatastoreKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -718,4 +658,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DatastoreKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java similarity index 56% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java index 3f09add0..c7150cbf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface DatastoreKeyOrBuilder - extends +public interface DatastoreKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DatastoreKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return Whether the entityKey field is set. */ boolean hasEntityKey(); /** - * - * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return The entityKey. */ com.google.privacy.dlp.v2.Key getEntityKey(); /** - * - * *
    * Datastore entity key.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java index 396091ae..c69c7199 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Options defining a data set within Google Cloud Datastore.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreOptions} */ -public final class DatastoreOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatastoreOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DatastoreOptions) DatastoreOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatastoreOptions.newBuilder() to construct. private DatastoreOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DatastoreOptions() {} + private DatastoreOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatastoreOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DatastoreOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,84 +52,73 @@ private DatastoreOptions( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null; - if (partitionId_ != null) { - subBuilder = partitionId_.toBuilder(); - } - partitionId_ = - input.readMessage( - com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitionId_); - partitionId_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null; + if (partitionId_ != null) { + subBuilder = partitionId_.toBuilder(); + } + partitionId_ = input.readMessage(com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionId_); + partitionId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.privacy.dlp.v2.KindExpression.Builder subBuilder = null; + if (kind_ != null) { + subBuilder = kind_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.KindExpression.Builder subBuilder = null; - if (kind_ != null) { - subBuilder = kind_.toBuilder(); - } - kind_ = - input.readMessage( - com.google.privacy.dlp.v2.KindExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(kind_); - kind_ = subBuilder.buildPartial(); - } - - break; + kind_ = input.readMessage(com.google.privacy.dlp.v2.KindExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(kind_); + kind_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreOptions.class, - com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); + com.google.privacy.dlp.v2.DatastoreOptions.class, com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); } public static final int PARTITION_ID_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.PartitionId partitionId_; /** - * - * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -153,26 +126,19 @@ public boolean hasPartitionId() { return partitionId_ != null; } /** - * - * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return The partitionId. */ @java.lang.Override public com.google.privacy.dlp.v2.PartitionId getPartitionId() { - return partitionId_ == null - ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; } /** - * - * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
@@ -188,14 +154,11 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
   public static final int KIND_FIELD_NUMBER = 2;
   private com.google.privacy.dlp.v2.KindExpression kind_;
   /**
-   *
-   *
    * 
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return Whether the kind field is set. */ @java.lang.Override @@ -203,14 +166,11 @@ public boolean hasKind() { return kind_ != null; } /** - * - * *
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return The kind. */ @java.lang.Override @@ -218,8 +178,6 @@ public com.google.privacy.dlp.v2.KindExpression getKind() { return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; } /** - * - * *
    * The kind to process.
    * 
@@ -232,7 +190,6 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +201,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partitionId_ != null) { output.writeMessage(1, getPartitionId()); } @@ -261,10 +219,12 @@ public int getSerializedSize() { size = 0; if (partitionId_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartitionId()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartitionId()); } if (kind_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getKind()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getKind()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,21 +234,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.privacy.dlp.v2.DatastoreOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DatastoreOptions other = - (com.google.privacy.dlp.v2.DatastoreOptions) obj; + com.google.privacy.dlp.v2.DatastoreOptions other = (com.google.privacy.dlp.v2.DatastoreOptions) obj; if (hasPartitionId() != other.hasPartitionId()) return false; if (hasPartitionId()) { - if (!getPartitionId().equals(other.getPartitionId())) return false; + if (!getPartitionId() + .equals(other.getPartitionId())) return false; } if (hasKind() != other.hasKind()) return false; if (hasKind()) { - if (!getKind().equals(other.getKind())) return false; + if (!getKind() + .equals(other.getKind())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -314,127 +275,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DatastoreOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DatastoreOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DatastoreOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options defining a data set within Google Cloud Datastore.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DatastoreOptions) com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreOptions.class, - com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); + com.google.privacy.dlp.v2.DatastoreOptions.class, com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); } // Construct using com.google.privacy.dlp.v2.DatastoreOptions.newBuilder() @@ -442,15 +394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; } @java.lang.Override @@ -491,8 +444,7 @@ public com.google.privacy.dlp.v2.DatastoreOptions build() { @java.lang.Override public com.google.privacy.dlp.v2.DatastoreOptions buildPartial() { - com.google.privacy.dlp.v2.DatastoreOptions result = - new com.google.privacy.dlp.v2.DatastoreOptions(this); + com.google.privacy.dlp.v2.DatastoreOptions result = new com.google.privacy.dlp.v2.DatastoreOptions(this); if (partitionIdBuilder_ == null) { result.partitionId_ = partitionId_; } else { @@ -511,39 +463,38 @@ public com.google.privacy.dlp.v2.DatastoreOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DatastoreOptions) { - return mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions) other); + return mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions)other); } else { super.mergeFrom(other); return this; @@ -589,49 +540,36 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.PartitionId partitionId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PartitionId, - com.google.privacy.dlp.v2.PartitionId.Builder, - com.google.privacy.dlp.v2.PartitionIdOrBuilder> - partitionIdBuilder_; + com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> partitionIdBuilder_; /** - * - * *
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return partitionIdBuilder_ != null || partitionId_ != null; } /** - * - * *
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return The partitionId. */ public com.google.privacy.dlp.v2.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null - ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** - * - * *
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -653,8 +591,6 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -662,7 +598,8 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
      *
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
-    public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(
+        com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
         onChanged();
@@ -673,8 +610,6 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -686,9 +621,7 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       if (partitionIdBuilder_ == null) {
         if (partitionId_ != null) {
           partitionId_ =
-              com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_).mergeFrom(value).buildPartial();
         } else {
           partitionId_ = value;
         }
@@ -700,8 +633,6 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -721,8 +652,6 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -731,13 +660,11 @@ public Builder clearPartitionId() {
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     public com.google.privacy.dlp.v2.PartitionId.Builder getPartitionIdBuilder() {
-
+      
       onChanged();
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -749,14 +676,11 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null
-            ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance()
-            : partitionId_;
+        return partitionId_ == null ?
+            com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_;
       }
     }
     /**
-     *
-     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -765,17 +689,14 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PartitionId,
-            com.google.privacy.dlp.v2.PartitionId.Builder,
-            com.google.privacy.dlp.v2.PartitionIdOrBuilder>
+        com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> 
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.PartitionId,
-                com.google.privacy.dlp.v2.PartitionId.Builder,
-                com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
-                getPartitionId(), getParentForChildren(), isClean());
+        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
+                getPartitionId(),
+                getParentForChildren(),
+                isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
@@ -783,47 +704,34 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
 
     private com.google.privacy.dlp.v2.KindExpression kind_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.KindExpression,
-            com.google.privacy.dlp.v2.KindExpression.Builder,
-            com.google.privacy.dlp.v2.KindExpressionOrBuilder>
-        kindBuilder_;
+        com.google.privacy.dlp.v2.KindExpression, com.google.privacy.dlp.v2.KindExpression.Builder, com.google.privacy.dlp.v2.KindExpressionOrBuilder> kindBuilder_;
     /**
-     *
-     *
      * 
      * The kind to process.
      * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return Whether the kind field is set. */ public boolean hasKind() { return kindBuilder_ != null || kind_ != null; } /** - * - * *
      * The kind to process.
      * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return The kind. */ public com.google.privacy.dlp.v2.KindExpression getKind() { if (kindBuilder_ == null) { - return kind_ == null - ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() - : kind_; + return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; } else { return kindBuilder_.getMessage(); } } /** - * - * *
      * The kind to process.
      * 
@@ -844,15 +752,14 @@ public Builder setKind(com.google.privacy.dlp.v2.KindExpression value) { return this; } /** - * - * *
      * The kind to process.
      * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; */ - public Builder setKind(com.google.privacy.dlp.v2.KindExpression.Builder builderForValue) { + public Builder setKind( + com.google.privacy.dlp.v2.KindExpression.Builder builderForValue) { if (kindBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -863,8 +770,6 @@ public Builder setKind(com.google.privacy.dlp.v2.KindExpression.Builder builderF return this; } /** - * - * *
      * The kind to process.
      * 
@@ -875,9 +780,7 @@ public Builder mergeKind(com.google.privacy.dlp.v2.KindExpression value) { if (kindBuilder_ == null) { if (kind_ != null) { kind_ = - com.google.privacy.dlp.v2.KindExpression.newBuilder(kind_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.KindExpression.newBuilder(kind_).mergeFrom(value).buildPartial(); } else { kind_ = value; } @@ -889,8 +792,6 @@ public Builder mergeKind(com.google.privacy.dlp.v2.KindExpression value) { return this; } /** - * - * *
      * The kind to process.
      * 
@@ -909,8 +810,6 @@ public Builder clearKind() { return this; } /** - * - * *
      * The kind to process.
      * 
@@ -918,13 +817,11 @@ public Builder clearKind() { * .google.privacy.dlp.v2.KindExpression kind = 2; */ public com.google.privacy.dlp.v2.KindExpression.Builder getKindBuilder() { - + onChanged(); return getKindFieldBuilder().getBuilder(); } /** - * - * *
      * The kind to process.
      * 
@@ -935,14 +832,11 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { if (kindBuilder_ != null) { return kindBuilder_.getMessageOrBuilder(); } else { - return kind_ == null - ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() - : kind_; + return kind_ == null ? + com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; } } /** - * - * *
      * The kind to process.
      * 
@@ -950,24 +844,21 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { * .google.privacy.dlp.v2.KindExpression kind = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KindExpression, - com.google.privacy.dlp.v2.KindExpression.Builder, - com.google.privacy.dlp.v2.KindExpressionOrBuilder> + com.google.privacy.dlp.v2.KindExpression, com.google.privacy.dlp.v2.KindExpression.Builder, com.google.privacy.dlp.v2.KindExpressionOrBuilder> getKindFieldBuilder() { if (kindBuilder_ == null) { - kindBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KindExpression, - com.google.privacy.dlp.v2.KindExpression.Builder, - com.google.privacy.dlp.v2.KindExpressionOrBuilder>( - getKind(), getParentForChildren(), isClean()); + kindBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.KindExpression, com.google.privacy.dlp.v2.KindExpression.Builder, com.google.privacy.dlp.v2.KindExpressionOrBuilder>( + getKind(), + getParentForChildren(), + isClean()); kind_ = null; } return kindBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DatastoreOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DatastoreOptions) private static final com.google.privacy.dlp.v2.DatastoreOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DatastoreOptions(); } @@ -991,16 +882,16 @@ public static com.google.privacy.dlp.v2.DatastoreOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatastoreOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatastoreOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatastoreOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatastoreOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1015,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DatastoreOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java index e562424f..4082178c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface DatastoreOptionsOrBuilder - extends +public interface DatastoreOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DatastoreOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** - * - * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return The partitionId. */ com.google.privacy.dlp.v2.PartitionId getPartitionId(); /** - * - * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
@@ -62,32 +38,24 @@ public interface DatastoreOptionsOrBuilder
   com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
-   *
-   *
    * 
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return Whether the kind field is set. */ boolean hasKind(); /** - * - * *
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return The kind. */ com.google.privacy.dlp.v2.KindExpression getKind(); /** - * - * *
    * The kind to process.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java index 23cf58fa..88bd4686 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Shifts dates by random number of days, with option to be consistent for the
  * same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DateShiftConfig}
  */
-public final class DateShiftConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DateShiftConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DateShiftConfig)
     DateShiftConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DateShiftConfig.newBuilder() to construct.
   private DateShiftConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DateShiftConfig() {}
+  private DateShiftConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DateShiftConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DateShiftConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,92 +54,83 @@ private DateShiftConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              upperBoundDays_ = input.readInt32();
-              break;
+          case 8: {
+
+            upperBoundDays_ = input.readInt32();
+            break;
+          }
+          case 16: {
+
+            lowerBoundDays_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+            if (context_ != null) {
+              subBuilder = context_.toBuilder();
             }
-          case 16:
-            {
-              lowerBoundDays_ = input.readInt32();
-              break;
+            context_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(context_);
+              context_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (context_ != null) {
-                subBuilder = context_.toBuilder();
-              }
-              context_ =
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(context_);
-                context_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+            if (methodCase_ == 4) {
+              subBuilder = ((com.google.privacy.dlp.v2.CryptoKey) method_).toBuilder();
             }
-          case 34:
-            {
-              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-              if (methodCase_ == 4) {
-                subBuilder = ((com.google.privacy.dlp.v2.CryptoKey) method_).toBuilder();
-              }
-              method_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoKey) method_);
-                method_ = subBuilder.buildPartial();
-              }
-              methodCase_ = 4;
-              break;
+            method_ =
+                input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoKey) method_);
+              method_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            methodCase_ = 4;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DateShiftConfig.class,
-            com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
+            com.google.privacy.dlp.v2.DateShiftConfig.class, com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
   }
 
   private int methodCase_ = 0;
   private java.lang.Object method_;
-
   public enum MethodCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CRYPTO_KEY(4),
     METHOD_NOT_SET(0);
     private final int value;
-
     private MethodCase(int value) {
       this.value = value;
     }
@@ -171,29 +146,25 @@ public static MethodCase valueOf(int value) {
 
     public static MethodCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return CRYPTO_KEY;
-        case 0:
-          return METHOD_NOT_SET;
-        default:
-          return null;
+        case 4: return CRYPTO_KEY;
+        case 0: return METHOD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MethodCase getMethodCase() {
-    return MethodCase.forNumber(methodCase_);
+  public MethodCase
+  getMethodCase() {
+    return MethodCase.forNumber(
+        methodCase_);
   }
 
   public static final int UPPER_BOUND_DAYS_FIELD_NUMBER = 1;
   private int upperBoundDays_;
   /**
-   *
-   *
    * 
    * Required. Range of shift in days. Actual shift will be selected at random within this
    * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -202,7 +173,6 @@ public MethodCase getMethodCase() {
    * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The upperBoundDays. */ @java.lang.Override @@ -213,14 +183,11 @@ public int getUpperBoundDays() { public static final int LOWER_BOUND_DAYS_FIELD_NUMBER = 2; private int lowerBoundDays_; /** - * - * *
    * Required. For example, -5 means shift date to at most 5 days back in the past.
    * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lowerBoundDays. */ @java.lang.Override @@ -231,8 +198,6 @@ public int getLowerBoundDays() { public static final int CONTEXT_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.FieldId context_; /** - * - * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -240,7 +205,6 @@ public int getLowerBoundDays() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ @java.lang.Override @@ -248,8 +212,6 @@ public boolean hasContext() { return context_ != null; } /** - * - * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -257,7 +219,6 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ @java.lang.Override @@ -265,8 +226,6 @@ public com.google.privacy.dlp.v2.FieldId getContext() { return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_; } /** - * - * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -282,8 +241,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
 
   public static final int CRYPTO_KEY_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -291,7 +248,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -299,8 +255,6 @@ public boolean hasCryptoKey() { return methodCase_ == 4; } /** - * - * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -308,19 +262,16 @@ public boolean hasCryptoKey() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (methodCase_ == 4) { - return (com.google.privacy.dlp.v2.CryptoKey) method_; + return (com.google.privacy.dlp.v2.CryptoKey) method_; } return com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance(); } /** - * - * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -332,13 +283,12 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
     if (methodCase_ == 4) {
-      return (com.google.privacy.dlp.v2.CryptoKey) method_;
+       return (com.google.privacy.dlp.v2.CryptoKey) method_;
     }
     return com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -350,7 +300,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (upperBoundDays_ != 0) {
       output.writeInt32(1, upperBoundDays_);
     }
@@ -373,18 +324,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (upperBoundDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, upperBoundDays_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, upperBoundDays_);
     }
     if (lowerBoundDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, lowerBoundDays_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, lowerBoundDays_);
     }
     if (context_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getContext());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getContext());
     }
     if (methodCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.privacy.dlp.v2.CryptoKey) method_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.privacy.dlp.v2.CryptoKey) method_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -394,24 +347,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.DateShiftConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.DateShiftConfig other =
-        (com.google.privacy.dlp.v2.DateShiftConfig) obj;
+    com.google.privacy.dlp.v2.DateShiftConfig other = (com.google.privacy.dlp.v2.DateShiftConfig) obj;
 
-    if (getUpperBoundDays() != other.getUpperBoundDays()) return false;
-    if (getLowerBoundDays() != other.getLowerBoundDays()) return false;
+    if (getUpperBoundDays()
+        != other.getUpperBoundDays()) return false;
+    if (getLowerBoundDays()
+        != other.getLowerBoundDays()) return false;
     if (hasContext() != other.hasContext()) return false;
     if (hasContext()) {
-      if (!getContext().equals(other.getContext())) return false;
+      if (!getContext()
+          .equals(other.getContext())) return false;
     }
     if (!getMethodCase().equals(other.getMethodCase())) return false;
     switch (methodCase_) {
       case 4:
-        if (!getCryptoKey().equals(other.getCryptoKey())) return false;
+        if (!getCryptoKey()
+            .equals(other.getCryptoKey())) return false;
         break;
       case 0:
       default:
@@ -448,104 +404,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.DateShiftConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.DateShiftConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.DateShiftConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Shifts dates by random number of days, with option to be consistent for the
    * same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
@@ -554,23 +503,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.DateShiftConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DateShiftConfig)
       com.google.privacy.dlp.v2.DateShiftConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DateShiftConfig.class,
-              com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
+              com.google.privacy.dlp.v2.DateShiftConfig.class, com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DateShiftConfig.newBuilder()
@@ -578,15 +525,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -606,9 +554,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
     }
 
     @java.lang.Override
@@ -627,8 +575,7 @@ public com.google.privacy.dlp.v2.DateShiftConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DateShiftConfig buildPartial() {
-      com.google.privacy.dlp.v2.DateShiftConfig result =
-          new com.google.privacy.dlp.v2.DateShiftConfig(this);
+      com.google.privacy.dlp.v2.DateShiftConfig result = new com.google.privacy.dlp.v2.DateShiftConfig(this);
       result.upperBoundDays_ = upperBoundDays_;
       result.lowerBoundDays_ = lowerBoundDays_;
       if (contextBuilder_ == null) {
@@ -652,39 +599,38 @@ public com.google.privacy.dlp.v2.DateShiftConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DateShiftConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -703,15 +649,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DateShiftConfig other) {
         mergeContext(other.getContext());
       }
       switch (other.getMethodCase()) {
-        case CRYPTO_KEY:
-          {
-            mergeCryptoKey(other.getCryptoKey());
-            break;
-          }
-        case METHOD_NOT_SET:
-          {
-            break;
-          }
+        case CRYPTO_KEY: {
+          mergeCryptoKey(other.getCryptoKey());
+          break;
+        }
+        case METHOD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -741,12 +685,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int methodCase_ = 0;
     private java.lang.Object method_;
-
-    public MethodCase getMethodCase() {
-      return MethodCase.forNumber(methodCase_);
+    public MethodCase
+        getMethodCase() {
+      return MethodCase.forNumber(
+          methodCase_);
     }
 
     public Builder clearMethod() {
@@ -756,10 +700,9 @@ public Builder clearMethod() {
       return this;
     }
 
-    private int upperBoundDays_;
+
+    private int upperBoundDays_ ;
     /**
-     *
-     *
      * 
      * Required. Range of shift in days. Actual shift will be selected at random within this
      * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -768,7 +711,6 @@ public Builder clearMethod() {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The upperBoundDays. */ @java.lang.Override @@ -776,8 +718,6 @@ public int getUpperBoundDays() { return upperBoundDays_; } /** - * - * *
      * Required. Range of shift in days. Actual shift will be selected at random within this
      * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -786,19 +726,16 @@ public int getUpperBoundDays() {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The upperBoundDays to set. * @return This builder for chaining. */ public Builder setUpperBoundDays(int value) { - + upperBoundDays_ = value; onChanged(); return this; } /** - * - * *
      * Required. Range of shift in days. Actual shift will be selected at random within this
      * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -807,26 +744,22 @@ public Builder setUpperBoundDays(int value) {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUpperBoundDays() { - + upperBoundDays_ = 0; onChanged(); return this; } - private int lowerBoundDays_; + private int lowerBoundDays_ ; /** - * - * *
      * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lowerBoundDays. */ @java.lang.Override @@ -834,36 +767,30 @@ public int getLowerBoundDays() { return lowerBoundDays_; } /** - * - * *
      * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The lowerBoundDays to set. * @return This builder for chaining. */ public Builder setLowerBoundDays(int value) { - + lowerBoundDays_ = value; onChanged(); return this; } /** - * - * *
      * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLowerBoundDays() { - + lowerBoundDays_ = 0; onChanged(); return this; @@ -871,13 +798,8 @@ public Builder clearLowerBoundDays() { private com.google.privacy.dlp.v2.FieldId context_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - contextBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> contextBuilder_; /** - * - * *
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -885,15 +807,12 @@ public Builder clearLowerBoundDays() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** - * - * *
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -901,7 +820,6 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -912,8 +830,6 @@ public com.google.privacy.dlp.v2.FieldId getContext() { } } /** - * - * *
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -936,8 +852,6 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -946,7 +860,8 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      *
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
-    public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder setContext(
+        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (contextBuilder_ == null) {
         context_ = builderForValue.build();
         onChanged();
@@ -957,8 +872,6 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -971,9 +884,7 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       if (contextBuilder_ == null) {
         if (context_ != null) {
           context_ =
-              com.google.privacy.dlp.v2.FieldId.newBuilder(context_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.FieldId.newBuilder(context_).mergeFrom(value).buildPartial();
         } else {
           context_ = value;
         }
@@ -985,8 +896,6 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -1007,8 +916,6 @@ public Builder clearContext() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -1018,13 +925,11 @@ public Builder clearContext() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
-
+      
       onChanged();
       return getContextFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -1037,12 +942,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
       if (contextBuilder_ != null) {
         return contextBuilder_.getMessageOrBuilder();
       } else {
-        return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
+        return context_ == null ?
+            com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
       }
     }
     /**
-     *
-     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -1052,30 +956,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
         getContextFieldBuilder() {
       if (contextBuilder_ == null) {
-        contextBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldId,
-                com.google.privacy.dlp.v2.FieldId.Builder,
-                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                getContext(), getParentForChildren(), isClean());
+        contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                getContext(),
+                getParentForChildren(),
+                isClean());
         context_ = null;
       }
       return contextBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey,
-            com.google.privacy.dlp.v2.CryptoKey.Builder,
-            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
-        cryptoKeyBuilder_;
+        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1083,7 +979,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -1091,8 +986,6 @@ public boolean hasCryptoKey() { return methodCase_ == 4; } /** - * - * *
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1100,7 +993,6 @@ public boolean hasCryptoKey() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return The cryptoKey. */ @java.lang.Override @@ -1118,8 +1010,6 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { } } /** - * - * *
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1142,8 +1032,6 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1152,7 +1040,8 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
      *
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
      */
-    public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
+    public Builder setCryptoKey(
+        com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
       if (cryptoKeyBuilder_ == null) {
         method_ = builderForValue.build();
         onChanged();
@@ -1163,8 +1052,6 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1175,13 +1062,10 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF
      */
     public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       if (cryptoKeyBuilder_ == null) {
-        if (methodCase_ == 4
-            && method_ != com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()) {
-          method_ =
-              com.google.privacy.dlp.v2.CryptoKey.newBuilder(
-                      (com.google.privacy.dlp.v2.CryptoKey) method_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (methodCase_ == 4 &&
+            method_ != com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()) {
+          method_ = com.google.privacy.dlp.v2.CryptoKey.newBuilder((com.google.privacy.dlp.v2.CryptoKey) method_)
+              .mergeFrom(value).buildPartial();
         } else {
           method_ = value;
         }
@@ -1196,8 +1080,6 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1223,8 +1105,6 @@ public Builder clearCryptoKey() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1237,8 +1117,6 @@ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() {
       return getCryptoKeyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1259,8 +1137,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1270,30 +1146,26 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey,
-            com.google.privacy.dlp.v2.CryptoKey.Builder,
-            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
+        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> 
         getCryptoKeyFieldBuilder() {
       if (cryptoKeyBuilder_ == null) {
         if (!(methodCase_ == 4)) {
           method_ = com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance();
         }
-        cryptoKeyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CryptoKey,
-                com.google.privacy.dlp.v2.CryptoKey.Builder,
-                com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
-                (com.google.privacy.dlp.v2.CryptoKey) method_, getParentForChildren(), isClean());
+        cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
+                (com.google.privacy.dlp.v2.CryptoKey) method_,
+                getParentForChildren(),
+                isClean());
         method_ = null;
       }
       methodCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return cryptoKeyBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1303,12 +1175,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DateShiftConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateShiftConfig)
   private static final com.google.privacy.dlp.v2.DateShiftConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DateShiftConfig();
   }
@@ -1317,16 +1189,16 @@ public static com.google.privacy.dlp.v2.DateShiftConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DateShiftConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new DateShiftConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DateShiftConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new DateShiftConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1341,4 +1213,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.DateShiftConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
similarity index 81%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
index f5b33a7c..e4888a2e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface DateShiftConfigOrBuilder
-    extends
+public interface DateShiftConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DateShiftConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Range of shift in days. Actual shift will be selected at random within this
    * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -34,27 +16,21 @@ public interface DateShiftConfigOrBuilder
    * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The upperBoundDays. */ int getUpperBoundDays(); /** - * - * *
    * Required. For example, -5 means shift date to at most 5 days back in the past.
    * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The lowerBoundDays. */ int getLowerBoundDays(); /** - * - * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -62,13 +38,10 @@ public interface DateShiftConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ boolean hasContext(); /** - * - * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -76,13 +49,10 @@ public interface DateShiftConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ com.google.privacy.dlp.v2.FieldId getContext(); /** - * - * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -94,8 +64,6 @@ public interface DateShiftConfigOrBuilder
   com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder();
 
   /**
-   *
-   *
    * 
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -103,13 +71,10 @@ public interface DateShiftConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** - * - * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -117,13 +82,10 @@ public interface DateShiftConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** - * - * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
similarity index 73%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
index 0ba445ab..5508ee4a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Message for a date time object.
  * e.g. 2018-01-01, 5th August.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DateTime}
  */
-public final class DateTime extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DateTime extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DateTime)
     DateTimeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DateTime.newBuilder() to construct.
   private DateTime(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DateTime() {
     dayOfWeek_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DateTime();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DateTime(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,142 +54,129 @@ private DateTime(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.type.Date.Builder subBuilder = null;
-              if (date_ != null) {
-                subBuilder = date_.toBuilder();
-              }
-              date_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(date_);
-                date_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.type.Date.Builder subBuilder = null;
+            if (date_ != null) {
+              subBuilder = date_.toBuilder();
             }
-          case 16:
-            {
-              int rawValue = input.readEnum();
-
-              dayOfWeek_ = rawValue;
-              break;
+            date_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(date_);
+              date_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.type.TimeOfDay.Builder subBuilder = null;
-              if (time_ != null) {
-                subBuilder = time_.toBuilder();
-              }
-              time_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(time_);
-                time_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
+
+            dayOfWeek_ = rawValue;
+            break;
+          }
+          case 26: {
+            com.google.type.TimeOfDay.Builder subBuilder = null;
+            if (time_ != null) {
+              subBuilder = time_.toBuilder();
+            }
+            time_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(time_);
+              time_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.privacy.dlp.v2.DateTime.TimeZone.Builder subBuilder = null;
-              if (timeZone_ != null) {
-                subBuilder = timeZone_.toBuilder();
-              }
-              timeZone_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.DateTime.TimeZone.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeZone_);
-                timeZone_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.privacy.dlp.v2.DateTime.TimeZone.Builder subBuilder = null;
+            if (timeZone_ != null) {
+              subBuilder = timeZone_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            timeZone_ = input.readMessage(com.google.privacy.dlp.v2.DateTime.TimeZone.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeZone_);
+              timeZone_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DateTime_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DateTime.class,
-            com.google.privacy.dlp.v2.DateTime.Builder.class);
+            com.google.privacy.dlp.v2.DateTime.class, com.google.privacy.dlp.v2.DateTime.Builder.class);
   }
 
-  public interface TimeZoneOrBuilder
-      extends
+  public interface TimeZoneOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DateTime.TimeZone)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Set only if the offset can be determined. Positive for time ahead of UTC.
      * E.g. For "UTC-9", this value is -540.
      * 
* * int32 offset_minutes = 1; - * * @return The offsetMinutes. */ int getOffsetMinutes(); } /** - * - * *
    * Time zone of the date time object.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DateTime.TimeZone} */ - public static final class TimeZone extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TimeZone extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DateTime.TimeZone) TimeZoneOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeZone.newBuilder() to construct. private TimeZone(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeZone() {} + private TimeZone() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeZone(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TimeZone( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -225,57 +195,52 @@ private TimeZone( case 0: done = true; break; - case 8: - { - offsetMinutes_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + offsetMinutes_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DateTime.TimeZone.class, - com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); + com.google.privacy.dlp.v2.DateTime.TimeZone.class, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); } public static final int OFFSET_MINUTES_FIELD_NUMBER = 1; private int offsetMinutes_; /** - * - * *
      * Set only if the offset can be determined. Positive for time ahead of UTC.
      * E.g. For "UTC-9", this value is -540.
      * 
* * int32 offset_minutes = 1; - * * @return The offsetMinutes. */ @java.lang.Override @@ -284,7 +249,6 @@ public int getOffsetMinutes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (offsetMinutes_ != 0) { output.writeInt32(1, offsetMinutes_); } @@ -310,7 +275,8 @@ public int getSerializedSize() { size = 0; if (offsetMinutes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, offsetMinutes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, offsetMinutes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -320,15 +286,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.privacy.dlp.v2.DateTime.TimeZone)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DateTime.TimeZone other = - (com.google.privacy.dlp.v2.DateTime.TimeZone) obj; + com.google.privacy.dlp.v2.DateTime.TimeZone other = (com.google.privacy.dlp.v2.DateTime.TimeZone) obj; - if (getOffsetMinutes() != other.getOffsetMinutes()) return false; + if (getOffsetMinutes() + != other.getOffsetMinutes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -347,94 +313,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DateTime.TimeZone prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -444,32 +404,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Time zone of the date time object.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.DateTime.TimeZone} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DateTime.TimeZone) com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DateTime.TimeZone.class, - com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); + com.google.privacy.dlp.v2.DateTime.TimeZone.class, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); } // Construct using com.google.privacy.dlp.v2.DateTime.TimeZone.newBuilder() @@ -477,15 +432,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; } @java.lang.Override @@ -516,8 +472,7 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone build() { @java.lang.Override public com.google.privacy.dlp.v2.DateTime.TimeZone buildPartial() { - com.google.privacy.dlp.v2.DateTime.TimeZone result = - new com.google.privacy.dlp.v2.DateTime.TimeZone(this); + com.google.privacy.dlp.v2.DateTime.TimeZone result = new com.google.privacy.dlp.v2.DateTime.TimeZone(this); result.offsetMinutes_ = offsetMinutes_; onBuilt(); return result; @@ -527,41 +482,38 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.DateTime.TimeZone) { - return mergeFrom((com.google.privacy.dlp.v2.DateTime.TimeZone) other); + return mergeFrom((com.google.privacy.dlp.v2.DateTime.TimeZone)other); } else { super.mergeFrom(other); return this; @@ -602,17 +554,14 @@ public Builder mergeFrom( return this; } - private int offsetMinutes_; + private int offsetMinutes_ ; /** - * - * *
        * Set only if the offset can be determined. Positive for time ahead of UTC.
        * E.g. For "UTC-9", this value is -540.
        * 
* * int32 offset_minutes = 1; - * * @return The offsetMinutes. */ @java.lang.Override @@ -620,43 +569,36 @@ public int getOffsetMinutes() { return offsetMinutes_; } /** - * - * *
        * Set only if the offset can be determined. Positive for time ahead of UTC.
        * E.g. For "UTC-9", this value is -540.
        * 
* * int32 offset_minutes = 1; - * * @param value The offsetMinutes to set. * @return This builder for chaining. */ public Builder setOffsetMinutes(int value) { - + offsetMinutes_ = value; onChanged(); return this; } /** - * - * *
        * Set only if the offset can be determined. Positive for time ahead of UTC.
        * E.g. For "UTC-9", this value is -540.
        * 
* * int32 offset_minutes = 1; - * * @return This builder for chaining. */ public Builder clearOffsetMinutes() { - + offsetMinutes_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -669,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DateTime.TimeZone) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateTime.TimeZone) private static final com.google.privacy.dlp.v2.DateTime.TimeZone DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DateTime.TimeZone(); } @@ -683,16 +625,16 @@ public static com.google.privacy.dlp.v2.DateTime.TimeZone getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeZone parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeZone(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeZone parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeZone(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -707,20 +649,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DateTime.TimeZone getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DATE_FIELD_NUMBER = 1; private com.google.type.Date date_; /** - * - * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; - * * @return Whether the date field is set. */ @java.lang.Override @@ -728,15 +668,12 @@ public boolean hasDate() { return date_ != null; } /** - * - * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; - * * @return The date. */ @java.lang.Override @@ -744,8 +681,6 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** - * - * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
@@ -761,33 +696,25 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
   public static final int DAY_OF_WEEK_FIELD_NUMBER = 2;
   private int dayOfWeek_;
   /**
-   *
-   *
    * 
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return The dayOfWeek. */ - @java.lang.Override - public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; @@ -796,14 +723,11 @@ public com.google.type.DayOfWeek getDayOfWeek() { public static final int TIME_FIELD_NUMBER = 3; private com.google.type.TimeOfDay time_; /** - * - * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; - * * @return Whether the time field is set. */ @java.lang.Override @@ -811,14 +735,11 @@ public boolean hasTime() { return time_ != null; } /** - * - * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; - * * @return The time. */ @java.lang.Override @@ -826,8 +747,6 @@ public com.google.type.TimeOfDay getTime() { return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_; } /** - * - * *
    * Time of day
    * 
@@ -842,14 +761,11 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { public static final int TIME_ZONE_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.DateTime.TimeZone timeZone_; /** - * - * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; - * * @return Whether the timeZone field is set. */ @java.lang.Override @@ -857,25 +773,18 @@ public boolean hasTimeZone() { return timeZone_ != null; } /** - * - * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; - * * @return The timeZone. */ @java.lang.Override public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() { - return timeZone_ == null - ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() - : timeZone_; + return timeZone_ == null ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() : timeZone_; } /** - * - * *
    * Time zone
    * 
@@ -888,7 +797,6 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -900,7 +808,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (date_ != null) { output.writeMessage(1, getDate()); } @@ -923,16 +832,20 @@ public int getSerializedSize() { size = 0; if (date_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDate()); } if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, dayOfWeek_); } if (time_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTime()); } if (timeZone_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeZone()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTimeZone()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -942,7 +855,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.privacy.dlp.v2.DateTime)) { return super.equals(obj); @@ -951,16 +864,19 @@ public boolean equals(final java.lang.Object obj) { if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate().equals(other.getDate())) return false; + if (!getDate() + .equals(other.getDate())) return false; } if (dayOfWeek_ != other.dayOfWeek_) return false; if (hasTime() != other.hasTime()) return false; if (hasTime()) { - if (!getTime().equals(other.getTime())) return false; + if (!getTime() + .equals(other.getTime())) return false; } if (hasTimeZone() != other.hasTimeZone()) return false; if (hasTimeZone()) { - if (!getTimeZone().equals(other.getTimeZone())) return false; + if (!getTimeZone() + .equals(other.getTimeZone())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -992,103 +908,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DateTime parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DateTime parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DateTime parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.DateTime parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime 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.privacy.dlp.v2.DateTime parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DateTime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for a date time object.
    * e.g. 2018-01-01, 5th August.
@@ -1096,23 +1006,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.DateTime}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DateTime)
       com.google.privacy.dlp.v2.DateTimeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DateTime_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DateTime.class,
-              com.google.privacy.dlp.v2.DateTime.Builder.class);
+              com.google.privacy.dlp.v2.DateTime.class, com.google.privacy.dlp.v2.DateTime.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DateTime.newBuilder()
@@ -1120,15 +1028,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1156,9 +1065,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DateTime_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_descriptor;
     }
 
     @java.lang.Override
@@ -1202,39 +1111,38 @@ public com.google.privacy.dlp.v2.DateTime buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DateTime) {
-        return mergeFrom((com.google.privacy.dlp.v2.DateTime) other);
+        return mergeFrom((com.google.privacy.dlp.v2.DateTime)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1286,33 +1194,26 @@ public Builder mergeFrom(
 
     private com.google.type.Date date_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
-        dateBuilder_;
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_;
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
      * 
* * .google.type.Date date = 1; - * * @return Whether the date field is set. */ public boolean hasDate() { return dateBuilder_ != null || date_ != null; } /** - * - * *
      * One or more of the following must be set.
      * Must be a valid date or time value.
      * 
* * .google.type.Date date = 1; - * * @return The date. */ public com.google.type.Date getDate() { @@ -1323,8 +1224,6 @@ public com.google.type.Date getDate() { } } /** - * - * *
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1346,8 +1245,6 @@ public Builder setDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1355,7 +1252,8 @@ public Builder setDate(com.google.type.Date value) {
      *
      * .google.type.Date date = 1;
      */
-    public Builder setDate(com.google.type.Date.Builder builderForValue) {
+    public Builder setDate(
+        com.google.type.Date.Builder builderForValue) {
       if (dateBuilder_ == null) {
         date_ = builderForValue.build();
         onChanged();
@@ -1366,8 +1264,6 @@ public Builder setDate(com.google.type.Date.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1378,7 +1274,8 @@ public Builder setDate(com.google.type.Date.Builder builderForValue) {
     public Builder mergeDate(com.google.type.Date value) {
       if (dateBuilder_ == null) {
         if (date_ != null) {
-          date_ = com.google.type.Date.newBuilder(date_).mergeFrom(value).buildPartial();
+          date_ =
+            com.google.type.Date.newBuilder(date_).mergeFrom(value).buildPartial();
         } else {
           date_ = value;
         }
@@ -1390,8 +1287,6 @@ public Builder mergeDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1411,8 +1306,6 @@ public Builder clearDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1421,13 +1314,11 @@ public Builder clearDate() {
      * .google.type.Date date = 1;
      */
     public com.google.type.Date.Builder getDateBuilder() {
-
+      
       onChanged();
       return getDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1439,12 +1330,11 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
       if (dateBuilder_ != null) {
         return dateBuilder_.getMessageOrBuilder();
       } else {
-        return date_ == null ? com.google.type.Date.getDefaultInstance() : date_;
+        return date_ == null ?
+            com.google.type.Date.getDefaultInstance() : date_;
       }
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1453,13 +1343,14 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
      * .google.type.Date date = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
         getDateFieldBuilder() {
       if (dateBuilder_ == null) {
-        dateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getDate(), getParentForChildren(), isClean());
+        dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getDate(),
+                getParentForChildren(),
+                isClean());
         date_ = null;
       }
       return dateBuilder_;
@@ -1467,47 +1358,37 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
 
     private int dayOfWeek_ = 0;
     /**
-     *
-     *
      * 
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override - public int getDayOfWeekValue() { + @java.lang.Override public int getDayOfWeekValue() { return dayOfWeek_; } /** - * - * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** - * - * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return The dayOfWeek. */ @java.lang.Override @@ -1517,14 +1398,11 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** - * - * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -1532,24 +1410,21 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; @@ -1557,33 +1432,24 @@ public Builder clearDayOfWeek() { private com.google.type.TimeOfDay time_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - timeBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeBuilder_; /** - * - * *
      * Time of day
      * 
* * .google.type.TimeOfDay time = 3; - * * @return Whether the time field is set. */ public boolean hasTime() { return timeBuilder_ != null || time_ != null; } /** - * - * *
      * Time of day
      * 
* * .google.type.TimeOfDay time = 3; - * * @return The time. */ public com.google.type.TimeOfDay getTime() { @@ -1594,8 +1460,6 @@ public com.google.type.TimeOfDay getTime() { } } /** - * - * *
      * Time of day
      * 
@@ -1616,15 +1480,14 @@ public Builder setTime(com.google.type.TimeOfDay value) { return this; } /** - * - * *
      * Time of day
      * 
* * .google.type.TimeOfDay time = 3; */ - public Builder setTime(com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTime( + com.google.type.TimeOfDay.Builder builderForValue) { if (timeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -1635,8 +1498,6 @@ public Builder setTime(com.google.type.TimeOfDay.Builder builderForValue) { return this; } /** - * - * *
      * Time of day
      * 
@@ -1646,7 +1507,8 @@ public Builder setTime(com.google.type.TimeOfDay.Builder builderForValue) { public Builder mergeTime(com.google.type.TimeOfDay value) { if (timeBuilder_ == null) { if (time_ != null) { - time_ = com.google.type.TimeOfDay.newBuilder(time_).mergeFrom(value).buildPartial(); + time_ = + com.google.type.TimeOfDay.newBuilder(time_).mergeFrom(value).buildPartial(); } else { time_ = value; } @@ -1658,8 +1520,6 @@ public Builder mergeTime(com.google.type.TimeOfDay value) { return this; } /** - * - * *
      * Time of day
      * 
@@ -1678,8 +1538,6 @@ public Builder clearTime() { return this; } /** - * - * *
      * Time of day
      * 
@@ -1687,13 +1545,11 @@ public Builder clearTime() { * .google.type.TimeOfDay time = 3; */ public com.google.type.TimeOfDay.Builder getTimeBuilder() { - + onChanged(); return getTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time of day
      * 
@@ -1704,12 +1560,11 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { if (timeBuilder_ != null) { return timeBuilder_.getMessageOrBuilder(); } else { - return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_; + return time_ == null ? + com.google.type.TimeOfDay.getDefaultInstance() : time_; } } /** - * - * *
      * Time of day
      * 
@@ -1717,16 +1572,14 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { * .google.type.TimeOfDay time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { - timeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder>(getTime(), getParentForChildren(), isClean()); + timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( + getTime(), + getParentForChildren(), + isClean()); time_ = null; } return timeBuilder_; @@ -1734,47 +1587,34 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { private com.google.privacy.dlp.v2.DateTime.TimeZone timeZone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime.TimeZone, - com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, - com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> - timeZoneBuilder_; + com.google.privacy.dlp.v2.DateTime.TimeZone, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> timeZoneBuilder_; /** - * - * *
      * Time zone
      * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; - * * @return Whether the timeZone field is set. */ public boolean hasTimeZone() { return timeZoneBuilder_ != null || timeZone_ != null; } /** - * - * *
      * Time zone
      * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; - * * @return The timeZone. */ public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() { if (timeZoneBuilder_ == null) { - return timeZone_ == null - ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() - : timeZone_; + return timeZone_ == null ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() : timeZone_; } else { return timeZoneBuilder_.getMessage(); } } /** - * - * *
      * Time zone
      * 
@@ -1795,8 +1635,6 @@ public Builder setTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) { return this; } /** - * - * *
      * Time zone
      * 
@@ -1815,8 +1653,6 @@ public Builder setTimeZone( return this; } /** - * - * *
      * Time zone
      * 
@@ -1827,9 +1663,7 @@ public Builder mergeTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) if (timeZoneBuilder_ == null) { if (timeZone_ != null) { timeZone_ = - com.google.privacy.dlp.v2.DateTime.TimeZone.newBuilder(timeZone_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DateTime.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial(); } else { timeZone_ = value; } @@ -1841,8 +1675,6 @@ public Builder mergeTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) return this; } /** - * - * *
      * Time zone
      * 
@@ -1861,8 +1693,6 @@ public Builder clearTimeZone() { return this; } /** - * - * *
      * Time zone
      * 
@@ -1870,13 +1700,11 @@ public Builder clearTimeZone() { * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; */ public com.google.privacy.dlp.v2.DateTime.TimeZone.Builder getTimeZoneBuilder() { - + onChanged(); return getTimeZoneFieldBuilder().getBuilder(); } /** - * - * *
      * Time zone
      * 
@@ -1887,14 +1715,11 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder if (timeZoneBuilder_ != null) { return timeZoneBuilder_.getMessageOrBuilder(); } else { - return timeZone_ == null - ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() - : timeZone_; + return timeZone_ == null ? + com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() : timeZone_; } } /** - * - * *
      * Time zone
      * 
@@ -1902,24 +1727,21 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime.TimeZone, - com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, - com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> + com.google.privacy.dlp.v2.DateTime.TimeZone, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> getTimeZoneFieldBuilder() { if (timeZoneBuilder_ == null) { - timeZoneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime.TimeZone, - com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, - com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder>( - getTimeZone(), getParentForChildren(), isClean()); + timeZoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DateTime.TimeZone, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder>( + getTimeZone(), + getParentForChildren(), + isClean()); timeZone_ = null; } return timeZoneBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1929,12 +1751,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DateTime) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateTime) private static final com.google.privacy.dlp.v2.DateTime DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DateTime(); } @@ -1943,16 +1765,16 @@ public static com.google.privacy.dlp.v2.DateTime getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DateTime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DateTime(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DateTime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DateTime(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1967,4 +1789,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DateTime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java index be843f2a..b13feff2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DateTimeOrBuilder - extends +public interface DateTimeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DateTime) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; - * * @return Whether the date field is set. */ boolean hasDate(); /** - * - * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; - * * @return The date. */ com.google.type.Date getDate(); /** - * - * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
@@ -62,57 +38,43 @@ public interface DateTimeOrBuilder
   com.google.type.DateOrBuilder getDateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** - * - * *
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; - * * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); /** - * - * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; - * * @return Whether the time field is set. */ boolean hasTime(); /** - * - * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; - * * @return The time. */ com.google.type.TimeOfDay getTime(); /** - * - * *
    * Time of day
    * 
@@ -122,32 +84,24 @@ public interface DateTimeOrBuilder com.google.type.TimeOfDayOrBuilder getTimeOrBuilder(); /** - * - * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; - * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** - * - * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; - * * @return The timeZone. */ com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone(); /** - * - * *
    * Time zone
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java index 663a5fc2..b4c2b487 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The configuration that controls how the data will change.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyConfig} */ -public final class DeidentifyConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeidentifyConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyConfig) DeidentifyConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeidentifyConfig.newBuilder() to construct. private DeidentifyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeidentifyConfig() {} + private DeidentifyConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeidentifyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeidentifyConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,107 +52,88 @@ private DeidentifyConfig( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; - if (transformationCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; + if (transformationCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_).toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.RecordTransformations.Builder subBuilder = null; - if (transformationCase_ == 2) { - subBuilder = - ((com.google.privacy.dlp.v2.RecordTransformations) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.RecordTransformations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.RecordTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 2; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.TransformationErrorHandling.Builder subBuilder = null; - if (transformationErrorHandling_ != null) { - subBuilder = transformationErrorHandling_.toBuilder(); - } - transformationErrorHandling_ = - input.readMessage( - com.google.privacy.dlp.v2.TransformationErrorHandling.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transformationErrorHandling_); - transformationErrorHandling_ = subBuilder.buildPartial(); - } - - break; + transformationCase_ = 1; + break; + } + case 18: { + com.google.privacy.dlp.v2.RecordTransformations.Builder subBuilder = null; + if (transformationCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.RecordTransformations) transformation_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.RecordTransformations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); } + transformationCase_ = 2; + break; + } + case 26: { + com.google.privacy.dlp.v2.TransformationErrorHandling.Builder subBuilder = null; + if (transformationErrorHandling_ != null) { + subBuilder = transformationErrorHandling_.toBuilder(); + } + transformationErrorHandling_ = input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transformationErrorHandling_); + transformationErrorHandling_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyConfig.class, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); + com.google.privacy.dlp.v2.DeidentifyConfig.class, com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); } private int transformationCase_ = 0; private java.lang.Object transformation_; - public enum TransformationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE_TRANSFORMATIONS(1), RECORD_TRANSFORMATIONS(2), TRANSFORMATION_NOT_SET(0); private final int value; - private TransformationCase(int value) { this.value = value; } @@ -184,37 +149,31 @@ public static TransformationCase valueOf(int value) { public static TransformationCase forNumber(int value) { switch (value) { - case 1: - return INFO_TYPE_TRANSFORMATIONS; - case 2: - return RECORD_TRANSFORMATIONS; - case 0: - return TRANSFORMATION_NOT_SET; - default: - return null; + case 1: return INFO_TYPE_TRANSFORMATIONS; + case 2: return RECORD_TRANSFORMATIONS; + case 0: return TRANSFORMATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransformationCase getTransformationCase() { - return TransformationCase.forNumber(transformationCase_); + public TransformationCase + getTransformationCase() { + return TransformationCase.forNumber( + transformationCase_); } public static final int INFO_TYPE_TRANSFORMATIONS_FIELD_NUMBER = 1; /** - * - * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; - * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -222,27 +181,22 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 1; } /** - * - * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; - * * @return The infoTypeTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() { if (transformationCase_ == 1) { - return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; + return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; } return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance(); } /** - * - * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
@@ -251,18 +205,15 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
    * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
-      getInfoTypeTransformationsOrBuilder() {
+  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
     if (transformationCase_ == 1) {
-      return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
+       return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
     }
     return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
   }
 
   public static final int RECORD_TRANSFORMATIONS_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -270,7 +221,6 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return Whether the recordTransformations field is set. */ @java.lang.Override @@ -278,8 +228,6 @@ public boolean hasRecordTransformations() { return transformationCase_ == 2; } /** - * - * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -287,19 +235,16 @@ public boolean hasRecordTransformations() {
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return The recordTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations() { if (transformationCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordTransformations) transformation_; + return (com.google.privacy.dlp.v2.RecordTransformations) transformation_; } return com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance(); } /** - * - * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -309,10 +254,9 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(
    * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder
-      getRecordTransformationsOrBuilder() {
+  public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder() {
     if (transformationCase_ == 2) {
-      return (com.google.privacy.dlp.v2.RecordTransformations) transformation_;
+       return (com.google.privacy.dlp.v2.RecordTransformations) transformation_;
     }
     return com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance();
   }
@@ -320,16 +264,12 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(
   public static final int TRANSFORMATION_ERROR_HANDLING_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.TransformationErrorHandling transformationErrorHandling_;
   /**
-   *
-   *
    * 
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; * @return Whether the transformationErrorHandling field is set. */ @java.lang.Override @@ -337,43 +277,32 @@ public boolean hasTransformationErrorHandling() { return transformationErrorHandling_ != null; } /** - * - * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; * @return The transformationErrorHandling. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling() { - return transformationErrorHandling_ == null - ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() - : transformationErrorHandling_; + return transformationErrorHandling_ == null ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() : transformationErrorHandling_; } /** - * - * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder - getTransformationErrorHandlingOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder() { return getTransformationErrorHandling(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +314,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transformationCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); } @@ -405,19 +335,16 @@ public int getSerializedSize() { size = 0; if (transformationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); } if (transformationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.RecordTransformations) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.RecordTransformations) transformation_); } if (transformationErrorHandling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getTransformationErrorHandling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTransformationErrorHandling()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,26 +354,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeidentifyConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyConfig other = - (com.google.privacy.dlp.v2.DeidentifyConfig) obj; + com.google.privacy.dlp.v2.DeidentifyConfig other = (com.google.privacy.dlp.v2.DeidentifyConfig) obj; if (hasTransformationErrorHandling() != other.hasTransformationErrorHandling()) return false; if (hasTransformationErrorHandling()) { - if (!getTransformationErrorHandling().equals(other.getTransformationErrorHandling())) - return false; + if (!getTransformationErrorHandling() + .equals(other.getTransformationErrorHandling())) return false; } if (!getTransformationCase().equals(other.getTransformationCase())) return false; switch (transformationCase_) { case 1: - if (!getInfoTypeTransformations().equals(other.getInfoTypeTransformations())) return false; + if (!getInfoTypeTransformations() + .equals(other.getInfoTypeTransformations())) return false; break; case 2: - if (!getRecordTransformations().equals(other.getRecordTransformations())) return false; + if (!getRecordTransformations() + .equals(other.getRecordTransformations())) return false; break; case 0: default: @@ -483,127 +411,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeidentifyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeidentifyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration that controls how the data will change.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyConfig) com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyConfig.class, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); + com.google.privacy.dlp.v2.DeidentifyConfig.class, com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder() @@ -611,15 +530,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -635,9 +555,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; } @java.lang.Override @@ -656,8 +576,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig buildPartial() { - com.google.privacy.dlp.v2.DeidentifyConfig result = - new com.google.privacy.dlp.v2.DeidentifyConfig(this); + com.google.privacy.dlp.v2.DeidentifyConfig result = new com.google.privacy.dlp.v2.DeidentifyConfig(this); if (transformationCase_ == 1) { if (infoTypeTransformationsBuilder_ == null) { result.transformation_ = transformation_; @@ -686,39 +605,38 @@ public com.google.privacy.dlp.v2.DeidentifyConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeidentifyConfig) { - return mergeFrom((com.google.privacy.dlp.v2.DeidentifyConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.DeidentifyConfig)other); } else { super.mergeFrom(other); return this; @@ -731,20 +649,17 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyConfig other) { mergeTransformationErrorHandling(other.getTransformationErrorHandling()); } switch (other.getTransformationCase()) { - case INFO_TYPE_TRANSFORMATIONS: - { - mergeInfoTypeTransformations(other.getInfoTypeTransformations()); - break; - } - case RECORD_TRANSFORMATIONS: - { - mergeRecordTransformations(other.getRecordTransformations()); - break; - } - case TRANSFORMATION_NOT_SET: - { - break; - } + case INFO_TYPE_TRANSFORMATIONS: { + mergeInfoTypeTransformations(other.getInfoTypeTransformations()); + break; + } + case RECORD_TRANSFORMATIONS: { + mergeRecordTransformations(other.getRecordTransformations()); + break; + } + case TRANSFORMATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -774,12 +689,12 @@ public Builder mergeFrom( } return this; } - private int transformationCase_ = 0; private java.lang.Object transformation_; - - public TransformationCase getTransformationCase() { - return TransformationCase.forNumber(transformationCase_); + public TransformationCase + getTransformationCase() { + return TransformationCase.forNumber( + transformationCase_); } public Builder clearTransformation() { @@ -789,21 +704,16 @@ public Builder clearTransformation() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations, - com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, - com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> - infoTypeTransformationsBuilder_; + com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> infoTypeTransformationsBuilder_; /** - * - * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; - * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -811,15 +721,12 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 1; } /** - * - * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; - * * @return The infoTypeTransformations. */ @java.lang.Override @@ -837,8 +744,6 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati } } /** - * - * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -846,8 +751,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
-    public Builder setInfoTypeTransformations(
-        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder setInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -861,8 +765,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -882,8 +784,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -891,17 +791,12 @@ public Builder setInfoTypeTransformations(
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
-    public Builder mergeInfoTypeTransformations(
-        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder mergeInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
-        if (transformationCase_ == 1
-            && transformation_
-                != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
-          transformation_ =
-              com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder(
-                      (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (transformationCase_ == 1 &&
+            transformation_ != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
+          transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
+              .mergeFrom(value).buildPartial();
         } else {
           transformation_ = value;
         }
@@ -916,8 +811,6 @@ public Builder mergeInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -942,8 +835,6 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -951,13 +842,10 @@ public Builder clearInfoTypeTransformations() {
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
-    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder
-        getInfoTypeTransformationsBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder getInfoTypeTransformationsBuilder() {
       return getInfoTypeTransformationsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -966,8 +854,7 @@ public Builder clearInfoTypeTransformations() {
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
-        getInfoTypeTransformationsOrBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
       if ((transformationCase_ == 1) && (infoTypeTransformationsBuilder_ != null)) {
         return infoTypeTransformationsBuilder_.getMessageOrBuilder();
       } else {
@@ -978,8 +865,6 @@ public Builder clearInfoTypeTransformations() {
       }
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -988,38 +873,27 @@ public Builder clearInfoTypeTransformations() {
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoTypeTransformations,
-            com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
-            com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>
+        com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> 
         getInfoTypeTransformationsFieldBuilder() {
       if (infoTypeTransformationsBuilder_ == null) {
         if (!(transformationCase_ == 1)) {
           transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
         }
-        infoTypeTransformationsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoTypeTransformations,
-                com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
-                com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
+        infoTypeTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
                 (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_,
                 getParentForChildren(),
                 isClean());
         transformation_ = null;
       }
       transformationCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return infoTypeTransformationsBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordTransformations,
-            com.google.privacy.dlp.v2.RecordTransformations.Builder,
-            com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>
-        recordTransformationsBuilder_;
+        com.google.privacy.dlp.v2.RecordTransformations, com.google.privacy.dlp.v2.RecordTransformations.Builder, com.google.privacy.dlp.v2.RecordTransformationsOrBuilder> recordTransformationsBuilder_;
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1027,7 +901,6 @@ public Builder clearInfoTypeTransformations() {
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return Whether the recordTransformations field is set. */ @java.lang.Override @@ -1035,8 +908,6 @@ public boolean hasRecordTransformations() { return transformationCase_ == 2; } /** - * - * *
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1044,7 +915,6 @@ public boolean hasRecordTransformations() {
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return The recordTransformations. */ @java.lang.Override @@ -1062,8 +932,6 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations( } } /** - * - * *
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1086,8 +954,6 @@ public Builder setRecordTransformations(com.google.privacy.dlp.v2.RecordTransfor
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1108,8 +974,6 @@ public Builder setRecordTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1118,17 +982,12 @@ public Builder setRecordTransformations(
      *
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
-    public Builder mergeRecordTransformations(
-        com.google.privacy.dlp.v2.RecordTransformations value) {
+    public Builder mergeRecordTransformations(com.google.privacy.dlp.v2.RecordTransformations value) {
       if (recordTransformationsBuilder_ == null) {
-        if (transformationCase_ == 2
-            && transformation_
-                != com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance()) {
-          transformation_ =
-              com.google.privacy.dlp.v2.RecordTransformations.newBuilder(
-                      (com.google.privacy.dlp.v2.RecordTransformations) transformation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (transformationCase_ == 2 &&
+            transformation_ != com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance()) {
+          transformation_ = com.google.privacy.dlp.v2.RecordTransformations.newBuilder((com.google.privacy.dlp.v2.RecordTransformations) transformation_)
+              .mergeFrom(value).buildPartial();
         } else {
           transformation_ = value;
         }
@@ -1143,8 +1002,6 @@ public Builder mergeRecordTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1170,8 +1027,6 @@ public Builder clearRecordTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1180,13 +1035,10 @@ public Builder clearRecordTransformations() {
      *
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
-    public com.google.privacy.dlp.v2.RecordTransformations.Builder
-        getRecordTransformationsBuilder() {
+    public com.google.privacy.dlp.v2.RecordTransformations.Builder getRecordTransformationsBuilder() {
       return getRecordTransformationsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1196,8 +1048,7 @@ public Builder clearRecordTransformations() {
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder
-        getRecordTransformationsOrBuilder() {
+    public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder() {
       if ((transformationCase_ == 2) && (recordTransformationsBuilder_ != null)) {
         return recordTransformationsBuilder_.getMessageOrBuilder();
       } else {
@@ -1208,8 +1059,6 @@ public Builder clearRecordTransformations() {
       }
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1219,87 +1068,64 @@ public Builder clearRecordTransformations() {
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordTransformations,
-            com.google.privacy.dlp.v2.RecordTransformations.Builder,
-            com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>
+        com.google.privacy.dlp.v2.RecordTransformations, com.google.privacy.dlp.v2.RecordTransformations.Builder, com.google.privacy.dlp.v2.RecordTransformationsOrBuilder> 
         getRecordTransformationsFieldBuilder() {
       if (recordTransformationsBuilder_ == null) {
         if (!(transformationCase_ == 2)) {
           transformation_ = com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance();
         }
-        recordTransformationsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.RecordTransformations,
-                com.google.privacy.dlp.v2.RecordTransformations.Builder,
-                com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>(
+        recordTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.RecordTransformations, com.google.privacy.dlp.v2.RecordTransformations.Builder, com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>(
                 (com.google.privacy.dlp.v2.RecordTransformations) transformation_,
                 getParentForChildren(),
                 isClean());
         transformation_ = null;
       }
       transformationCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return recordTransformationsBuilder_;
     }
 
     private com.google.privacy.dlp.v2.TransformationErrorHandling transformationErrorHandling_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TransformationErrorHandling,
-            com.google.privacy.dlp.v2.TransformationErrorHandling.Builder,
-            com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder>
-        transformationErrorHandlingBuilder_;
+        com.google.privacy.dlp.v2.TransformationErrorHandling, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder> transformationErrorHandlingBuilder_;
     /**
-     *
-     *
      * 
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; * @return Whether the transformationErrorHandling field is set. */ public boolean hasTransformationErrorHandling() { return transformationErrorHandlingBuilder_ != null || transformationErrorHandling_ != null; } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; * @return The transformationErrorHandling. */ public com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling() { if (transformationErrorHandlingBuilder_ == null) { - return transformationErrorHandling_ == null - ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() - : transformationErrorHandling_; + return transformationErrorHandling_ == null ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() : transformationErrorHandling_; } else { return transformationErrorHandlingBuilder_.getMessage(); } } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ - public Builder setTransformationErrorHandling( - com.google.privacy.dlp.v2.TransformationErrorHandling value) { + public Builder setTransformationErrorHandling(com.google.privacy.dlp.v2.TransformationErrorHandling value) { if (transformationErrorHandlingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1313,15 +1139,12 @@ public Builder setTransformationErrorHandling( return this; } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ public Builder setTransformationErrorHandling( com.google.privacy.dlp.v2.TransformationErrorHandling.Builder builderForValue) { @@ -1335,25 +1158,18 @@ public Builder setTransformationErrorHandling( return this; } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ - public Builder mergeTransformationErrorHandling( - com.google.privacy.dlp.v2.TransformationErrorHandling value) { + public Builder mergeTransformationErrorHandling(com.google.privacy.dlp.v2.TransformationErrorHandling value) { if (transformationErrorHandlingBuilder_ == null) { if (transformationErrorHandling_ != null) { transformationErrorHandling_ = - com.google.privacy.dlp.v2.TransformationErrorHandling.newBuilder( - transformationErrorHandling_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.TransformationErrorHandling.newBuilder(transformationErrorHandling_).mergeFrom(value).buildPartial(); } else { transformationErrorHandling_ = value; } @@ -1365,15 +1181,12 @@ public Builder mergeTransformationErrorHandling( return this; } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ public Builder clearTransformationErrorHandling() { if (transformationErrorHandlingBuilder_ == null) { @@ -1387,73 +1200,58 @@ public Builder clearTransformationErrorHandling() { return this; } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ - public com.google.privacy.dlp.v2.TransformationErrorHandling.Builder - getTransformationErrorHandlingBuilder() { - + public com.google.privacy.dlp.v2.TransformationErrorHandling.Builder getTransformationErrorHandlingBuilder() { + onChanged(); return getTransformationErrorHandlingFieldBuilder().getBuilder(); } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ - public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder - getTransformationErrorHandlingOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder() { if (transformationErrorHandlingBuilder_ != null) { return transformationErrorHandlingBuilder_.getMessageOrBuilder(); } else { - return transformationErrorHandling_ == null - ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() - : transformationErrorHandling_; + return transformationErrorHandling_ == null ? + com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() : transformationErrorHandling_; } } /** - * - * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling, - com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder> + com.google.privacy.dlp.v2.TransformationErrorHandling, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder> getTransformationErrorHandlingFieldBuilder() { if (transformationErrorHandlingBuilder_ == null) { - transformationErrorHandlingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling, - com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder>( - getTransformationErrorHandling(), getParentForChildren(), isClean()); + transformationErrorHandlingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationErrorHandling, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder>( + getTransformationErrorHandling(), + getParentForChildren(), + isClean()); transformationErrorHandling_ = null; } return transformationErrorHandlingBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1261,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyConfig) private static final com.google.privacy.dlp.v2.DeidentifyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyConfig(); } @@ -1477,16 +1275,16 @@ public static com.google.privacy.dlp.v2.DeidentifyConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1501,4 +1299,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeidentifyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java index c9640fb9..c6db5ca3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyConfigOrBuilder - extends +public interface DeidentifyConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; - * * @return Whether the infoTypeTransformations field is set. */ boolean hasInfoTypeTransformations(); /** - * - * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; - * * @return The infoTypeTransformations. */ com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations(); /** - * - * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
@@ -62,8 +38,6 @@ public interface DeidentifyConfigOrBuilder
   com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -71,13 +45,10 @@ public interface DeidentifyConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return Whether the recordTransformations field is set. */ boolean hasRecordTransformations(); /** - * - * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -85,13 +56,10 @@ public interface DeidentifyConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return The recordTransformations. */ com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(); /** - * - * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -103,46 +71,34 @@ public interface DeidentifyConfigOrBuilder
   com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; * @return Whether the transformationErrorHandling field is set. */ boolean hasTransformationErrorHandling(); /** - * - * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; * @return The transformationErrorHandling. */ com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling(); /** - * - * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; - * + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; */ - com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder - getTransformationErrorHandlingOrBuilder(); + com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder(); public com.google.privacy.dlp.v2.DeidentifyConfig.TransformationCase getTransformationCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java index e080a2ef..6b9463d5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request to de-identify a list of items.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentRequest} */ -public final class DeidentifyContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeidentifyContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyContentRequest) DeidentifyContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeidentifyContentRequest.newBuilder() to construct. private DeidentifyContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeidentifyContentRequest() { parent_ = ""; inspectTemplateName_ = ""; @@ -46,15 +28,16 @@ private DeidentifyContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeidentifyContentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeidentifyContentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,121 +56,104 @@ private DeidentifyContentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; + if (deidentifyConfig_ != null) { + subBuilder = deidentifyConfig_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; - if (deidentifyConfig_ != null) { - subBuilder = deidentifyConfig_.toBuilder(); - } - deidentifyConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deidentifyConfig_); - deidentifyConfig_ = subBuilder.buildPartial(); - } - - break; + deidentifyConfig_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deidentifyConfig_); + deidentifyConfig_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); - } - inspectConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = - input.readMessage( - com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; + inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - inspectTemplateName_ = s; - break; + break; + } + case 34: { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - deidentifyTemplateName_ = s; - break; + item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + inspectTemplateName_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + deidentifyTemplateName_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentRequest.class, - com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentRequest.class, com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -204,7 +170,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -213,15 +178,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -238,15 +202,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.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 { @@ -257,8 +222,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DEIDENTIFY_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; /** - * - * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -266,7 +229,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; - * * @return Whether the deidentifyConfig field is set. */ @java.lang.Override @@ -274,8 +236,6 @@ public boolean hasDeidentifyConfig() { return deidentifyConfig_ != null; } /** - * - * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -283,18 +243,13 @@ public boolean hasDeidentifyConfig() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; - * * @return The deidentifyConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { - return deidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : deidentifyConfig_; + return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; } /** - * - * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -311,8 +266,6 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
   public static final int INSPECT_CONFIG_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -320,7 +273,6 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -328,8 +280,6 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -337,18 +287,13 @@ public boolean hasInspectConfig() {
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } /** - * - * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -365,14 +310,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
   public static final int ITEM_FIELD_NUMBER = 4;
   private com.google.privacy.dlp.v2.ContentItem item_;
   /**
-   *
-   *
    * 
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return Whether the item field is set. */ @java.lang.Override @@ -380,14 +322,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return The item. */ @java.lang.Override @@ -395,8 +334,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The item to de-identify. Will be treated as text.
    * 
@@ -411,8 +348,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object inspectTemplateName_; /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -422,7 +357,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -431,15 +365,14 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -449,15 +382,16 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 5; - * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -468,8 +402,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { public static final int DEIDENTIFY_TEMPLATE_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object deidentifyTemplateName_; /** - * - * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -479,7 +411,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
    * 
* * string deidentify_template_name = 6; - * * @return The deidentifyTemplateName. */ @java.lang.Override @@ -488,15 +419,14 @@ public java.lang.String getDeidentifyTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deidentifyTemplateName_ = s; return s; } } /** - * - * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -506,15 +436,16 @@ public java.lang.String getDeidentifyTemplateName() {
    * 
* * string deidentify_template_name = 6; - * * @return The bytes for deidentifyTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString + getDeidentifyTemplateNameBytes() { java.lang.Object ref = deidentifyTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deidentifyTemplateName_ = b; return b; } else { @@ -525,14 +456,11 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ @java.lang.Override @@ -541,29 +469,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -572,7 +500,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -584,7 +511,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -619,13 +547,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (deidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDeidentifyConfig()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInspectConfig()); } if (item_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inspectTemplateName_); @@ -644,30 +575,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeidentifyContentRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyContentRequest other = - (com.google.privacy.dlp.v2.DeidentifyContentRequest) obj; + com.google.privacy.dlp.v2.DeidentifyContentRequest other = (com.google.privacy.dlp.v2.DeidentifyContentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasDeidentifyConfig() != other.hasDeidentifyConfig()) return false; if (hasDeidentifyConfig()) { - if (!getDeidentifyConfig().equals(other.getDeidentifyConfig())) return false; + if (!getDeidentifyConfig() + .equals(other.getDeidentifyConfig())) return false; } if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem().equals(other.getItem())) return false; - } - if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; - if (!getDeidentifyTemplateName().equals(other.getDeidentifyTemplateName())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getItem() + .equals(other.getItem())) return false; + } + if (!getInspectTemplateName() + .equals(other.getInspectTemplateName())) return false; + if (!getDeidentifyTemplateName() + .equals(other.getDeidentifyTemplateName())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -705,126 +642,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 de-identify a list of items.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyContentRequest) com.google.privacy.dlp.v2.DeidentifyContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentRequest.class, - com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentRequest.class, com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeidentifyContentRequest.newBuilder() @@ -832,15 +760,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -874,9 +803,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; } @java.lang.Override @@ -895,8 +824,7 @@ public com.google.privacy.dlp.v2.DeidentifyContentRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyContentRequest buildPartial() { - com.google.privacy.dlp.v2.DeidentifyContentRequest result = - new com.google.privacy.dlp.v2.DeidentifyContentRequest(this); + com.google.privacy.dlp.v2.DeidentifyContentRequest result = new com.google.privacy.dlp.v2.DeidentifyContentRequest(this); result.parent_ = parent_; if (deidentifyConfigBuilder_ == null) { result.deidentifyConfig_ = deidentifyConfig_; @@ -924,39 +852,38 @@ public com.google.privacy.dlp.v2.DeidentifyContentRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeidentifyContentRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentRequest)other); } else { super.mergeFrom(other); return this; @@ -964,8 +891,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyContentRequest other) { - if (other == com.google.privacy.dlp.v2.DeidentifyContentRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DeidentifyContentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1010,8 +936,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DeidentifyContentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeidentifyContentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1023,8 +948,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1041,13 +964,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.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; @@ -1056,8 +979,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1074,14 +995,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.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 { @@ -1089,8 +1011,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1107,22 +1027,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1139,18 +1057,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1167,16 +1082,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1184,13 +1099,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder, - com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> - deidentifyConfigBuilder_; + com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> deidentifyConfigBuilder_; /** - * - * *
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1198,15 +1108,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; - * * @return Whether the deidentifyConfig field is set. */ public boolean hasDeidentifyConfig() { return deidentifyConfigBuilder_ != null || deidentifyConfig_ != null; } /** - * - * *
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1214,21 +1121,16 @@ public boolean hasDeidentifyConfig() {
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; - * * @return The deidentifyConfig. */ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { if (deidentifyConfigBuilder_ == null) { - return deidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : deidentifyConfig_; + return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; } else { return deidentifyConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1251,8 +1153,6 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1273,8 +1173,6 @@ public Builder setDeidentifyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1287,9 +1185,7 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       if (deidentifyConfigBuilder_ == null) {
         if (deidentifyConfig_ != null) {
           deidentifyConfig_ =
-              com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_).mergeFrom(value).buildPartial();
         } else {
           deidentifyConfig_ = value;
         }
@@ -1301,8 +1197,6 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1323,8 +1217,6 @@ public Builder clearDeidentifyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1334,13 +1226,11 @@ public Builder clearDeidentifyConfig() {
      * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
      */
     public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getDeidentifyConfigBuilder() {
-
+      
       onChanged();
       return getDeidentifyConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1353,14 +1243,11 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
       if (deidentifyConfigBuilder_ != null) {
         return deidentifyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return deidentifyConfig_ == null
-            ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
-            : deidentifyConfig_;
+        return deidentifyConfig_ == null ?
+            com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1370,17 +1257,14 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
      * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.DeidentifyConfig,
-            com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
-            com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>
+        com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> 
         getDeidentifyConfigFieldBuilder() {
       if (deidentifyConfigBuilder_ == null) {
-        deidentifyConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.DeidentifyConfig,
-                com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
-                com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
-                getDeidentifyConfig(), getParentForChildren(), isClean());
+        deidentifyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
+                getDeidentifyConfig(),
+                getParentForChildren(),
+                isClean());
         deidentifyConfig_ = null;
       }
       return deidentifyConfigBuilder_;
@@ -1388,13 +1272,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
 
     private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig,
-            com.google.privacy.dlp.v2.InspectConfig.Builder,
-            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
-        inspectConfigBuilder_;
+        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1402,15 +1281,12 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1418,21 +1294,16 @@ public boolean hasInspectConfig() {
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1455,8 +1326,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1477,8 +1346,6 @@ public Builder setInspectConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1491,9 +1358,7 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       if (inspectConfigBuilder_ == null) {
         if (inspectConfig_ != null) {
           inspectConfig_ =
-              com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial();
         } else {
           inspectConfig_ = value;
         }
@@ -1505,8 +1370,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1527,8 +1390,6 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1538,13 +1399,11 @@ public Builder clearInspectConfig() {
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
      */
     public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() {
-
+      
       onChanged();
       return getInspectConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1557,14 +1416,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
       if (inspectConfigBuilder_ != null) {
         return inspectConfigBuilder_.getMessageOrBuilder();
       } else {
-        return inspectConfig_ == null
-            ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
-            : inspectConfig_;
+        return inspectConfig_ == null ?
+            com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1574,17 +1430,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig,
-            com.google.privacy.dlp.v2.InspectConfig.Builder,
-            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
+        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> 
         getInspectConfigFieldBuilder() {
       if (inspectConfigBuilder_ == null) {
-        inspectConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InspectConfig,
-                com.google.privacy.dlp.v2.InspectConfig.Builder,
-                com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
-                getInspectConfig(), getParentForChildren(), isClean());
+        inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
+                getInspectConfig(),
+                getParentForChildren(),
+                isClean());
         inspectConfig_ = null;
       }
       return inspectConfigBuilder_;
@@ -1592,33 +1445,24 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
 
     private com.google.privacy.dlp.v2.ContentItem item_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.ContentItem,
-            com.google.privacy.dlp.v2.ContentItem.Builder,
-            com.google.privacy.dlp.v2.ContentItemOrBuilder>
-        itemBuilder_;
+        com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_;
     /**
-     *
-     *
      * 
      * The item to de-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -1629,8 +1473,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1651,15 +1493,14 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; */ - public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem( + com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -1670,8 +1511,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1682,9 +1521,7 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -1696,8 +1533,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1716,8 +1551,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1725,13 +1558,11 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 4; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1742,12 +1573,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? + com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1755,17 +1585,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), getParentForChildren(), isClean()); + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); item_ = null; } return itemBuilder_; @@ -1773,8 +1600,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private java.lang.Object inspectTemplateName_ = ""; /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1784,13 +1609,13 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
      * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1799,8 +1624,6 @@ public java.lang.String getInspectTemplateName() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1810,14 +1633,15 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 5; - * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1825,8 +1649,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1836,22 +1658,20 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
      * 
* * string inspect_template_name = 5; - * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName(java.lang.String value) { + public Builder setInspectTemplateName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1861,18 +1681,15 @@ public Builder setInspectTemplateName(java.lang.String value) {
      * 
* * string inspect_template_name = 5; - * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1882,16 +1699,16 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 5; - * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; @@ -1899,8 +1716,6 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) private java.lang.Object deidentifyTemplateName_ = ""; /** - * - * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1910,13 +1725,13 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
      * 
* * string deidentify_template_name = 6; - * * @return The deidentifyTemplateName. */ public java.lang.String getDeidentifyTemplateName() { java.lang.Object ref = deidentifyTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deidentifyTemplateName_ = s; return s; @@ -1925,8 +1740,6 @@ public java.lang.String getDeidentifyTemplateName() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1936,14 +1749,15 @@ public java.lang.String getDeidentifyTemplateName() {
      * 
* * string deidentify_template_name = 6; - * * @return The bytes for deidentifyTemplateName. */ - public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString + getDeidentifyTemplateNameBytes() { java.lang.Object ref = deidentifyTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deidentifyTemplateName_ = b; return b; } else { @@ -1951,8 +1765,6 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1962,22 +1774,20 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() {
      * 
* * string deidentify_template_name = 6; - * * @param value The deidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setDeidentifyTemplateName(java.lang.String value) { + public Builder setDeidentifyTemplateName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deidentifyTemplateName_ = value; onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1987,18 +1797,15 @@ public Builder setDeidentifyTemplateName(java.lang.String value) {
      * 
* * string deidentify_template_name = 6; - * * @return This builder for chaining. */ public Builder clearDeidentifyTemplateName() { - + deidentifyTemplateName_ = getDefaultInstance().getDeidentifyTemplateName(); onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -2008,16 +1815,16 @@ public Builder clearDeidentifyTemplateName() {
      * 
* * string deidentify_template_name = 6; - * * @param value The bytes for deidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString value) { + public Builder setDeidentifyTemplateNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deidentifyTemplateName_ = value; onChanged(); return this; @@ -2025,20 +1832,18 @@ public Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString val private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -2047,21 +1852,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -2069,68 +1873,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -2140,12 +1937,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyContentRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyContentRequest) private static final com.google.privacy.dlp.v2.DeidentifyContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyContentRequest(); } @@ -2154,16 +1951,16 @@ public static com.google.privacy.dlp.v2.DeidentifyContentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyContentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyContentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2178,4 +1975,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeidentifyContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java similarity index 86% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java index 4fe19766..b176154d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyContentRequestOrBuilder - extends +public interface DeidentifyContentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyContentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -42,13 +24,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -65,14 +44,12 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -80,13 +57,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; - * * @return Whether the deidentifyConfig field is set. */ boolean hasDeidentifyConfig(); /** - * - * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -94,13 +68,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; - * * @return The deidentifyConfig. */ com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig(); /** - * - * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -112,8 +83,6 @@ public interface DeidentifyContentRequestOrBuilder
   com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -121,13 +90,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -135,13 +101,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -153,32 +116,24 @@ public interface DeidentifyContentRequestOrBuilder
   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return Whether the item field is set. */ boolean hasItem(); /** - * - * *
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** - * - * *
    * The item to de-identify. Will be treated as text.
    * 
@@ -188,8 +143,6 @@ public interface DeidentifyContentRequestOrBuilder com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -199,13 +152,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -215,14 +165,12 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * string inspect_template_name = 5; - * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString getInspectTemplateNameBytes(); + com.google.protobuf.ByteString + getInspectTemplateNameBytes(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -232,13 +180,10 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * string deidentify_template_name = 6; - * * @return The deidentifyTemplateName. */ java.lang.String getDeidentifyTemplateName(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -248,33 +193,28 @@ public interface DeidentifyContentRequestOrBuilder
    * 
* * string deidentify_template_name = 6; - * * @return The bytes for deidentifyTemplateName. */ - com.google.protobuf.ByteString getDeidentifyTemplateNameBytes(); + com.google.protobuf.ByteString + getDeidentifyTemplateNameBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java index a56fbc59..56c41a9f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Results of de-identifying a ContentItem.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentResponse} */ -public final class DeidentifyContentResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeidentifyContentResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyContentResponse) DeidentifyContentResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeidentifyContentResponse.newBuilder() to construct. private DeidentifyContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeidentifyContentResponse() {} + private DeidentifyContentResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeidentifyContentResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeidentifyContentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,83 +52,72 @@ private DeidentifyContentResponse( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = - input.readMessage( - com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; + if (overview_ != null) { + subBuilder = overview_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; - if (overview_ != null) { - subBuilder = overview_.toBuilder(); - } - overview_ = - input.readMessage( - com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(overview_); - overview_ = subBuilder.buildPartial(); - } - - break; + overview_ = input.readMessage(com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(overview_); + overview_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentResponse.class, - com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentResponse.class, com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); } public static final int ITEM_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.ContentItem item_; /** - * - * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ @java.lang.Override @@ -152,14 +125,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ @java.lang.Override @@ -167,8 +137,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The de-identified item.
    * 
@@ -183,14 +151,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int OVERVIEW_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.TransformationOverview overview_; /** - * - * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return Whether the overview field is set. */ @java.lang.Override @@ -198,25 +163,18 @@ public boolean hasOverview() { return overview_ != null; } /** - * - * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return The overview. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationOverview getOverview() { - return overview_ == null - ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() - : overview_; + return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; } /** - * - * *
    * An overview of the changes that were made on the `item`.
    * 
@@ -229,7 +187,6 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (item_ != null) { output.writeMessage(1, getItem()); } @@ -258,10 +216,12 @@ public int getSerializedSize() { size = 0; if (item_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getItem()); } if (overview_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOverview()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOverview()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,21 +231,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.privacy.dlp.v2.DeidentifyContentResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyContentResponse other = - (com.google.privacy.dlp.v2.DeidentifyContentResponse) obj; + com.google.privacy.dlp.v2.DeidentifyContentResponse other = (com.google.privacy.dlp.v2.DeidentifyContentResponse) obj; if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem().equals(other.getItem())) return false; + if (!getItem() + .equals(other.getItem())) return false; } if (hasOverview() != other.hasOverview()) return false; if (hasOverview()) { - if (!getOverview().equals(other.getOverview())) return false; + if (!getOverview() + .equals(other.getOverview())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -312,126 +273,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Results of de-identifying a ContentItem.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyContentResponse) com.google.privacy.dlp.v2.DeidentifyContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentResponse.class, - com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentResponse.class, com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeidentifyContentResponse.newBuilder() @@ -439,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; } @java.lang.Override @@ -488,8 +441,7 @@ public com.google.privacy.dlp.v2.DeidentifyContentResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyContentResponse buildPartial() { - com.google.privacy.dlp.v2.DeidentifyContentResponse result = - new com.google.privacy.dlp.v2.DeidentifyContentResponse(this); + com.google.privacy.dlp.v2.DeidentifyContentResponse result = new com.google.privacy.dlp.v2.DeidentifyContentResponse(this); if (itemBuilder_ == null) { result.item_ = item_; } else { @@ -508,39 +460,38 @@ public com.google.privacy.dlp.v2.DeidentifyContentResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeidentifyContentResponse) { - return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentResponse)other); } else { super.mergeFrom(other); return this; @@ -548,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyContentResponse other) { - if (other == com.google.privacy.dlp.v2.DeidentifyContentResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DeidentifyContentResponse.getDefaultInstance()) return this; if (other.hasItem()) { mergeItem(other.getItem()); } @@ -575,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DeidentifyContentResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeidentifyContentResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -588,33 +537,24 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.ContentItem item_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> - itemBuilder_; + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_; /** - * - * *
      * The de-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** - * - * *
      * The de-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -625,8 +565,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The de-identified item.
      * 
@@ -647,15 +585,14 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The de-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; */ - public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem( + com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -666,8 +603,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The de-identified item.
      * 
@@ -678,9 +613,7 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -692,8 +625,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The de-identified item.
      * 
@@ -712,8 +643,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The de-identified item.
      * 
@@ -721,13 +650,11 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 1; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** - * - * *
      * The de-identified item.
      * 
@@ -738,12 +665,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? + com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** - * - * *
      * The de-identified item.
      * 
@@ -751,17 +677,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), getParentForChildren(), isClean()); + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); item_ = null; } return itemBuilder_; @@ -769,47 +692,34 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private com.google.privacy.dlp.v2.TransformationOverview overview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, - com.google.privacy.dlp.v2.TransformationOverview.Builder, - com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> - overviewBuilder_; + com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> overviewBuilder_; /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return Whether the overview field is set. */ public boolean hasOverview() { return overviewBuilder_ != null || overview_ != null; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return The overview. */ public com.google.privacy.dlp.v2.TransformationOverview getOverview() { if (overviewBuilder_ == null) { - return overview_ == null - ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() - : overview_; + return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; } else { return overviewBuilder_.getMessage(); } } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -830,8 +740,6 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -850,8 +758,6 @@ public Builder setOverview( return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -862,9 +768,7 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va if (overviewBuilder_ == null) { if (overview_ != null) { overview_ = - com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_).mergeFrom(value).buildPartial(); } else { overview_ = value; } @@ -876,8 +780,6 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -896,8 +798,6 @@ public Builder clearOverview() { return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -905,13 +805,11 @@ public Builder clearOverview() { * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ public com.google.privacy.dlp.v2.TransformationOverview.Builder getOverviewBuilder() { - + onChanged(); return getOverviewFieldBuilder().getBuilder(); } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -922,14 +820,11 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu if (overviewBuilder_ != null) { return overviewBuilder_.getMessageOrBuilder(); } else { - return overview_ == null - ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() - : overview_; + return overview_ == null ? + com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; } } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -937,24 +832,21 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, - com.google.privacy.dlp.v2.TransformationOverview.Builder, - com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> + com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> getOverviewFieldBuilder() { if (overviewBuilder_ == null) { - overviewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, - com.google.privacy.dlp.v2.TransformationOverview.Builder, - com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( - getOverview(), getParentForChildren(), isClean()); + overviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( + getOverview(), + getParentForChildren(), + isClean()); overview_ = null; } return overviewBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -964,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyContentResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyContentResponse) private static final com.google.privacy.dlp.v2.DeidentifyContentResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyContentResponse(); } @@ -978,16 +870,16 @@ public static com.google.privacy.dlp.v2.DeidentifyContentResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyContentResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyContentResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,4 +894,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.DeidentifyContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java index b261e99e..7bdf8e1c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyContentResponseOrBuilder - extends +public interface DeidentifyContentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyContentResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ boolean hasItem(); /** - * - * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** - * - * *
    * The de-identified item.
    * 
@@ -59,32 +35,24 @@ public interface DeidentifyContentResponseOrBuilder com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** - * - * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return Whether the overview field is set. */ boolean hasOverview(); /** - * - * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return The overview. */ com.google.privacy.dlp.v2.TransformationOverview getOverview(); /** - * - * *
    * An overview of the changes that were made on the `item`.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java index 4f46e5a4..f59017cb 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * DeidentifyTemplates contains instructions on how to de-identify content.
  * See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DeidentifyTemplate}
  */
-public final class DeidentifyTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeidentifyTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyTemplate)
     DeidentifyTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeidentifyTemplate.newBuilder() to construct.
   private DeidentifyTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeidentifyTemplate() {
     name_ = "";
     displayName_ = "";
@@ -46,15 +28,16 @@ private DeidentifyTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeidentifyTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeidentifyTemplate(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,112 +56,98 @@ private DeidentifyTemplate(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 50: {
+            com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null;
+            if (deidentifyConfig_ != null) {
+              subBuilder = deidentifyConfig_.toBuilder();
             }
-          case 50:
-            {
-              com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null;
-              if (deidentifyConfig_ != null) {
-                subBuilder = deidentifyConfig_.toBuilder();
-              }
-              deidentifyConfig_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(deidentifyConfig_);
-                deidentifyConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            deidentifyConfig_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(deidentifyConfig_);
+              deidentifyConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DeidentifyTemplate.class,
-            com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
+            com.google.privacy.dlp.v2.DeidentifyTemplate.class, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -187,7 +156,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -196,15 +164,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -213,15 +180,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -232,14 +200,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -248,29 +213,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; } } /** - * - * *
    * Display name (max 256 chars).
    * 
* * 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 { @@ -281,14 +246,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Short description (max 256 chars).
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -297,29 +259,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; } } /** - * - * *
    * Short description (max 256 chars).
    * 
* * 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 { @@ -330,15 +292,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -346,15 +304,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -362,14 +316,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -379,15 +330,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -395,15 +342,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -411,14 +354,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -428,14 +368,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DEIDENTIFY_CONFIG_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; /** - * - * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; - * * @return Whether the deidentifyConfig field is set. */ @java.lang.Override @@ -443,25 +380,18 @@ public boolean hasDeidentifyConfig() { return deidentifyConfig_ != null; } /** - * - * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; - * * @return The deidentifyConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { - return deidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : deidentifyConfig_; + return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; } /** - * - * *
    * The core content of the template.
    * 
@@ -474,7 +404,6 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,7 +415,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -524,13 +454,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeidentifyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDeidentifyConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -540,28 +473,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeidentifyTemplate)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyTemplate other = - (com.google.privacy.dlp.v2.DeidentifyTemplate) obj; + com.google.privacy.dlp.v2.DeidentifyTemplate other = (com.google.privacy.dlp.v2.DeidentifyTemplate) 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 (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 (hasDeidentifyConfig() != other.hasDeidentifyConfig()) return false; if (hasDeidentifyConfig()) { - if (!getDeidentifyConfig().equals(other.getDeidentifyConfig())) return false; + if (!getDeidentifyConfig() + .equals(other.getDeidentifyConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -597,104 +535,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DeidentifyTemplates contains instructions on how to de-identify content.
    * See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
@@ -702,23 +633,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.DeidentifyTemplate}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyTemplate)
       com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DeidentifyTemplate.class,
-              com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
+              com.google.privacy.dlp.v2.DeidentifyTemplate.class, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder()
@@ -726,15 +655,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -766,9 +696,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -787,8 +717,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DeidentifyTemplate buildPartial() {
-      com.google.privacy.dlp.v2.DeidentifyTemplate result =
-          new com.google.privacy.dlp.v2.DeidentifyTemplate(this);
+      com.google.privacy.dlp.v2.DeidentifyTemplate result = new com.google.privacy.dlp.v2.DeidentifyTemplate(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -815,39 +744,38 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DeidentifyTemplate) {
-        return mergeFrom((com.google.privacy.dlp.v2.DeidentifyTemplate) other);
+        return mergeFrom((com.google.privacy.dlp.v2.DeidentifyTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -908,8 +836,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -918,13 +844,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -933,8 +859,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -943,14 +867,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -958,8 +883,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -968,22 +891,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -992,18 +913,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -1012,16 +930,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1029,20 +947,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name (max 256 chars).
      * 
* * 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; @@ -1051,21 +967,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name (max 256 chars).
      * 
* * 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 { @@ -1073,61 +988,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1135,20 +1043,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Short description (max 256 chars).
      * 
* * 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; @@ -1157,21 +1063,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Short description (max 256 chars).
      * 
* * 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 { @@ -1179,61 +1084,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Short description (max 256 chars).
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Short description (max 256 chars).
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Short description (max 256 chars).
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1241,58 +1139,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1308,17 +1187,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1329,21 +1205,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1355,15 +1227,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1377,64 +1245,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.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_; @@ -1442,58 +1294,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1509,17 +1342,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1530,21 +1360,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,15 +1382,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1578,64 +1400,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp 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> 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_; @@ -1643,47 +1449,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder, - com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> - deidentifyConfigBuilder_; + com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> deidentifyConfigBuilder_; /** - * - * *
      * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; - * * @return Whether the deidentifyConfig field is set. */ public boolean hasDeidentifyConfig() { return deidentifyConfigBuilder_ != null || deidentifyConfig_ != null; } /** - * - * *
      * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; - * * @return The deidentifyConfig. */ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { if (deidentifyConfigBuilder_ == null) { - return deidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : deidentifyConfig_; + return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; } else { return deidentifyConfigBuilder_.getMessage(); } } /** - * - * *
      * The core content of the template.
      * 
@@ -1704,8 +1497,6 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1724,8 +1515,6 @@ public Builder setDeidentifyConfig( return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1736,9 +1525,7 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig if (deidentifyConfigBuilder_ == null) { if (deidentifyConfig_ != null) { deidentifyConfig_ = - com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_).mergeFrom(value).buildPartial(); } else { deidentifyConfig_ = value; } @@ -1750,8 +1537,6 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1770,8 +1555,6 @@ public Builder clearDeidentifyConfig() { return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1779,13 +1562,11 @@ public Builder clearDeidentifyConfig() { * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; */ public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getDeidentifyConfigBuilder() { - + onChanged(); return getDeidentifyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The core content of the template.
      * 
@@ -1796,14 +1577,11 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr if (deidentifyConfigBuilder_ != null) { return deidentifyConfigBuilder_.getMessageOrBuilder(); } else { - return deidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : deidentifyConfig_; + return deidentifyConfig_ == null ? + com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; } } /** - * - * *
      * The core content of the template.
      * 
@@ -1811,24 +1589,21 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder, - com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> + com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> getDeidentifyConfigFieldBuilder() { if (deidentifyConfigBuilder_ == null) { - deidentifyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder, - com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>( - getDeidentifyConfig(), getParentForChildren(), isClean()); + deidentifyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>( + getDeidentifyConfig(), + getParentForChildren(), + isClean()); deidentifyConfig_ = null; } return deidentifyConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1838,12 +1613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyTemplate) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyTemplate) private static final com.google.privacy.dlp.v2.DeidentifyTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyTemplate(); } @@ -1852,16 +1627,16 @@ public static com.google.privacy.dlp.v2.DeidentifyTemplate getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyTemplate(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1876,4 +1651,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeidentifyTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java similarity index 96% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java index f1b6b44f..1fcbf926 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java @@ -22,6 +22,8 @@ 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; @@ -258,6 +260,26 @@ public static DeidentifyTemplateName parse(String formattedString) { "DeidentifyTemplateName.parse: formattedString not in valid format"); } + 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 (DeidentifyTemplateName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + public static boolean isParsableFrom(String formattedString) { return ORGANIZATION_DEIDENTIFY_TEMPLATE.matches(formattedString) || PROJECT_DEIDENTIFY_TEMPLATE.matches(formattedString) diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java index b94cd5d5..814d6573 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyTemplateOrBuilder - extends +public interface DeidentifyTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -34,13 +16,10 @@ public interface DeidentifyTemplateOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -49,164 +28,124 @@ public interface DeidentifyTemplateOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Short description (max 256 chars).
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Short description (max 256 chars).
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; - * * @return Whether the deidentifyConfig field is set. */ boolean hasDeidentifyConfig(); /** - * - * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; - * * @return The deidentifyConfig. */ com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig(); /** - * - * *
    * The core content of the template.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java index 5d771db3..39458f88 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for DeleteDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest} */ -public final class DeleteDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDeidentifyTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) DeleteDeidentifyTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDeidentifyTemplateRequest.newBuilder() to construct. - private DeleteDeidentifyTemplateRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDeidentifyTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,62 +53,54 @@ private DeleteDeidentifyTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,33 +109,31 @@ 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. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest other = - (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,127 +206,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.newBuilder() @@ -362,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -401,8 +364,7 @@ public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest result = - new com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -452,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -516,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * 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 { @@ -542,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -625,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest(); } @@ -639,16 +578,16 @@ public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,4 +602,6 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java new file mode 100644 index 00000000..1b8be445 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteDeidentifyTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java index 09be2f86..0bd1949b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The request message for deleting a DLP job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDlpJobRequest} */ -public final class DeleteDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDlpJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteDlpJobRequest) DeleteDlpJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDlpJobRequest.newBuilder() to construct. private DeleteDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private DeleteDlpJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, - com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the DlpJob resource to be deleted.
    * 
* - * - * 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 @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DlpJob resource to be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,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.privacy.dlp.v2.DeleteDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteDlpJobRequest other = - (com.google.privacy.dlp.v2.DeleteDlpJobRequest) obj; + com.google.privacy.dlp.v2.DeleteDlpJobRequest other = (com.google.privacy.dlp.v2.DeleteDlpJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +201,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 deleting a DLP job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDlpJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteDlpJobRequest) com.google.privacy.dlp.v2.DeleteDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, - com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteDlpJobRequest.newBuilder() @@ -356,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; } @java.lang.Override @@ -395,8 +360,7 @@ public com.google.privacy.dlp.v2.DeleteDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteDlpJobRequest result = - new com.google.privacy.dlp.v2.DeleteDlpJobRequest(this); + com.google.privacy.dlp.v2.DeleteDlpJobRequest result = new com.google.privacy.dlp.v2.DeleteDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +370,38 @@ public com.google.privacy.dlp.v2.DeleteDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteDlpJobRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteDlpJobRequest)other); } else { super.mergeFrom(other); return this; @@ -482,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * - * 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; @@ -506,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -530,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteDlpJobRequest) private static final com.google.privacy.dlp.v2.DeleteDlpJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteDlpJobRequest(); } @@ -621,16 +564,16 @@ public static com.google.privacy.dlp.v2.DeleteDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeleteDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..655cc3ba --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteDlpJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DlpJob resource to be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DlpJob resource to be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java index de703fb7..0c82e9cd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for DeleteInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteInspectTemplateRequest} */ -public final class DeleteInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInspectTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteInspectTemplateRequest) DeleteInspectTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInspectTemplateRequest.newBuilder() to construct. private DeleteInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInspectTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteInspectTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * 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 @@ -134,33 +109,31 @@ 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. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeleteInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest other = - (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest other = (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteInspectTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteInspectTemplateRequest) com.google.privacy.dlp.v2.DeleteInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest result = - new com.google.privacy.dlp.v2.DeleteInspectTemplateRequest(this); + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest result = new com.google.privacy.dlp.v2.DeleteInspectTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteInspectTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * 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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * 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 { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteInspectTemplateRequest) private static final com.google.privacy.dlp.v2.DeleteInspectTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteInspectTemplateRequest(); } @@ -638,16 +578,16 @@ public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java new file mode 100644 index 00000000..abe05e45 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteInspectTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteInspectTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java index 204ddf6b..3bd1a984 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for DeleteJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteJobTriggerRequest} */ -public final class DeleteJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteJobTriggerRequest) DeleteJobTriggerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobTriggerRequest.newBuilder() to construct. private DeleteJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private DeleteJobTriggerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeleteJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteJobTriggerRequest other = - (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) obj; + com.google.privacy.dlp.v2.DeleteJobTriggerRequest other = (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteJobTriggerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteJobTriggerRequest) com.google.privacy.dlp.v2.DeleteJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteJobTriggerRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.privacy.dlp.v2.DeleteJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteJobTriggerRequest result = - new com.google.privacy.dlp.v2.DeleteJobTriggerRequest(this); + com.google.privacy.dlp.v2.DeleteJobTriggerRequest result = new com.google.privacy.dlp.v2.DeleteJobTriggerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.privacy.dlp.v2.DeleteJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteJobTriggerRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteJobTriggerRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteJobTriggerRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DeleteJobTriggerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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; @@ -511,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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 { @@ -536,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteJobTriggerRequest) private static final com.google.privacy.dlp.v2.DeleteJobTriggerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteJobTriggerRequest(); } @@ -630,16 +571,16 @@ public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeleteJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java new file mode 100644 index 00000000..7e1cba4c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteJobTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java index 5138ab87..e6b3e030 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for DeleteStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteStoredInfoTypeRequest} */ -public final class DeleteStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteStoredInfoTypeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) DeleteStoredInfoTypeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteStoredInfoTypeRequest.newBuilder() to construct. private DeleteStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteStoredInfoTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteStoredInfoTypeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * 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 @@ -134,33 +109,31 @@ 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. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest other = - (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteStoredInfoTypeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest result = - new com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * 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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * 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 { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest(); } @@ -638,16 +578,16 @@ public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java new file mode 100644 index 00000000..0eb61dfc --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteStoredInfoTypeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java index 66e12f22..577b8fb2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Combines all of the information about a DLP job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DlpJob} */ -public final class DlpJob extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DlpJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DlpJob) DlpJobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DlpJob.newBuilder() to construct. private DlpJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DlpJob() { name_ = ""; type_ = 0; @@ -47,15 +29,16 @@ private DlpJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DlpJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DlpJob( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,139 +58,120 @@ private DlpJob( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + type_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; + state_ = rawValue; + break; + } + case 34: { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder subBuilder = null; + if (detailsCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_).toBuilder(); + } + details_ = + input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); + details_ = subBuilder.buildPartial(); } - case 34: - { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder subBuilder = null; - if (detailsCase_ == 4) { - subBuilder = - ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_).toBuilder(); - } - details_ = - input.readMessage( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 4; - break; + detailsCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder subBuilder = null; + if (detailsCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_).toBuilder(); } - case 42: - { - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder subBuilder = null; - if (detailsCase_ == 5) { - subBuilder = - ((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_).toBuilder(); - } - details_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectDataSourceDetails.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); - details_ = subBuilder.buildPartial(); - } - detailsCase_ = 5; - break; + details_ = + input.readMessage(com.google.privacy.dlp.v2.InspectDataSourceDetails.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 5; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 58: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - jobTriggerName_ = s; - break; + break; + } + case 66: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 90: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errors_.add( - input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry)); - break; + + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + jobTriggerName_ = s; + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -216,34 +180,29 @@ private DlpJob( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.DlpJob.class, com.google.privacy.dlp.v2.DlpJob.Builder.class); } /** - * - * *
    * Possible states of a job. New items may be added.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DlpJob.JobState} */ - public enum JobState implements com.google.protobuf.ProtocolMessageEnum { + public enum JobState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -252,8 +211,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_UNSPECIFIED(0), /** - * - * *
      * The job has not yet started.
      * 
@@ -262,8 +219,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The job is currently running. Once a job has finished it will transition
      * to FAILED or DONE.
@@ -273,8 +228,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The job is no longer running.
      * 
@@ -283,8 +236,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ DONE(3), /** - * - * *
      * The job was canceled before it could complete.
      * 
@@ -293,8 +244,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ CANCELED(4), /** - * - * *
      * The job had an error and did not complete.
      * 
@@ -303,8 +252,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(5), /** - * - * *
      * The job is currently accepting findings via hybridInspect.
      * A hybrid job in ACTIVE state may continue to have findings added to it
@@ -319,8 +266,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -329,8 +274,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job has not yet started.
      * 
@@ -339,8 +282,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The job is currently running. Once a job has finished it will transition
      * to FAILED or DONE.
@@ -350,8 +291,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job is no longer running.
      * 
@@ -360,8 +299,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DONE_VALUE = 3; /** - * - * *
      * The job was canceled before it could complete.
      * 
@@ -370,8 +307,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELED_VALUE = 4; /** - * - * *
      * The job had an error and did not complete.
      * 
@@ -380,8 +315,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 5; /** - * - * *
      * The job is currently accepting findings via hybridInspect.
      * A hybrid job in ACTIVE state may continue to have findings added to it
@@ -393,6 +326,7 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ACTIVE_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -417,57 +351,53 @@ public static JobState valueOf(int value) {
      */
     public static JobState forNumber(int value) {
       switch (value) {
-        case 0:
-          return JOB_STATE_UNSPECIFIED;
-        case 1:
-          return PENDING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return DONE;
-        case 4:
-          return CANCELED;
-        case 5:
-          return FAILED;
-        case 6:
-          return ACTIVE;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return JOB_STATE_UNSPECIFIED;
+        case 1: return PENDING;
+        case 2: return RUNNING;
+        case 3: return DONE;
+        case 4: return CANCELED;
+        case 5: return FAILED;
+        case 6: return ACTIVE;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobState findValueByNumber(int number) {
-            return JobState.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        JobState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public JobState findValueByNumber(int number) {
+              return JobState.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.privacy.dlp.v2.DlpJob.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobState[] VALUES = values();
 
-    public static JobState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobState 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;
@@ -486,16 +416,13 @@ private JobState(int value) {
 
   private int detailsCase_ = 0;
   private java.lang.Object details_;
-
   public enum DetailsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RISK_DETAILS(4),
     INSPECT_DETAILS(5),
     DETAILS_NOT_SET(0);
     private final int value;
-
     private DetailsCase(int value) {
       this.value = value;
     }
@@ -511,37 +438,31 @@ public static DetailsCase valueOf(int value) {
 
     public static DetailsCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return RISK_DETAILS;
-        case 5:
-          return INSPECT_DETAILS;
-        case 0:
-          return DETAILS_NOT_SET;
-        default:
-          return null;
+        case 4: return RISK_DETAILS;
+        case 5: return INSPECT_DETAILS;
+        case 0: return DETAILS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DetailsCase getDetailsCase() {
-    return DetailsCase.forNumber(detailsCase_);
+  public DetailsCase
+  getDetailsCase() {
+    return DetailsCase.forNumber(
+        detailsCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The server-assigned name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -550,29 +471,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The server-assigned name.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -583,85 +504,64 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DlpJobType getType() { + @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = - com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DlpJob.JobState getState() { + @java.lang.Override public com.google.privacy.dlp.v2.DlpJob.JobState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJob.JobState result = - com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); + com.google.privacy.dlp.v2.DlpJob.JobState result = com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.DlpJob.JobState.UNRECOGNIZED : result; } public static final int RISK_DETAILS_FIELD_NUMBER = 4; /** - * - * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; - * * @return Whether the riskDetails field is set. */ @java.lang.Override @@ -669,26 +569,21 @@ public boolean hasRiskDetails() { return detailsCase_ == 4; } /** - * - * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; - * * @return The riskDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { if (detailsCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; } return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance(); } /** - * - * *
    * Results from analyzing risk of a data source.
    * 
@@ -698,21 +593,18 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder() { if (detailsCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; } return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance(); } public static final int INSPECT_DETAILS_FIELD_NUMBER = 5; /** - * - * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; - * * @return Whether the inspectDetails field is set. */ @java.lang.Override @@ -720,26 +612,21 @@ public boolean hasInspectDetails() { return detailsCase_ == 5; } /** - * - * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; - * * @return The inspectDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { if (detailsCase_ == 5) { - return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; + return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; } return com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance(); } /** - * - * *
    * Results from inspecting a data source.
    * 
@@ -749,7 +636,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder() { if (detailsCase_ == 5) { - return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; + return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; } return com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance(); } @@ -757,14 +644,11 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -772,14 +656,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -787,8 +668,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the job was created.
    * 
@@ -803,14 +682,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -818,14 +694,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ @java.lang.Override @@ -833,8 +706,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time when the job started.
    * 
@@ -849,14 +720,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -864,14 +732,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ @java.lang.Override @@ -879,8 +744,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Time when the job finished.
    * 
@@ -895,15 +758,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int JOB_TRIGGER_NAME_FIELD_NUMBER = 10; private volatile java.lang.Object jobTriggerName_; /** - * - * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; - * * @return The jobTriggerName. */ @java.lang.Override @@ -912,30 +772,30 @@ public java.lang.String getJobTriggerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTriggerName_ = s; return s; } } /** - * - * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; - * * @return The bytes for jobTriggerName. */ @java.lang.Override - public com.google.protobuf.ByteString getJobTriggerNameBytes() { + public com.google.protobuf.ByteString + getJobTriggerNameBytes() { java.lang.Object ref = jobTriggerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTriggerName_ = b; return b; } else { @@ -946,8 +806,6 @@ public com.google.protobuf.ByteString getJobTriggerNameBytes() { public static final int ERRORS_FIELD_NUMBER = 11; private java.util.List errors_; /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -959,8 +817,6 @@ public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -968,13 +824,11 @@ public java.util.List getErrorsList() { * repeated .google.privacy.dlp.v2.Error errors = 11; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -986,8 +840,6 @@ public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -999,8 +851,6 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -1008,12 +858,12 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { * repeated .google.privacy.dlp.v2.Error errors = 11; */ @java.lang.Override - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1025,7 +875,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1069,35 +920,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (state_ != com.google.privacy.dlp.v2.DlpJob.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (detailsCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); } if (detailsCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTriggerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, jobTriggerName_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1107,37 +962,45 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DlpJob)) { return super.equals(obj); } com.google.privacy.dlp.v2.DlpJob other = (com.google.privacy.dlp.v2.DlpJob) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; if (state_ != other.state_) 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 (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 (!getJobTriggerName().equals(other.getJobTriggerName())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getJobTriggerName() + .equals(other.getJobTriggerName())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 4: - if (!getRiskDetails().equals(other.getRiskDetails())) return false; + if (!getRiskDetails() + .equals(other.getRiskDetails())) return false; break; case 5: - if (!getInspectDetails().equals(other.getInspectDetails())) return false; + if (!getInspectDetails() + .equals(other.getInspectDetails())) return false; break; case 0: default: @@ -1194,126 +1057,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DlpJob parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DlpJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DlpJob parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.DlpJob parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DlpJob 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.privacy.dlp.v2.DlpJob parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DlpJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Combines all of the information about a DLP job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DlpJob} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DlpJob) com.google.privacy.dlp.v2.DlpJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DlpJob.class, - com.google.privacy.dlp.v2.DlpJob.Builder.class); + com.google.privacy.dlp.v2.DlpJob.class, com.google.privacy.dlp.v2.DlpJob.Builder.class); } // Construct using com.google.privacy.dlp.v2.DlpJob.newBuilder() @@ -1321,17 +1176,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1373,9 +1228,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_descriptor; } @java.lang.Override @@ -1447,39 +1302,38 @@ public com.google.privacy.dlp.v2.DlpJob buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DlpJob) { - return mergeFrom((com.google.privacy.dlp.v2.DlpJob) other); + return mergeFrom((com.google.privacy.dlp.v2.DlpJob)other); } else { super.mergeFrom(other); return this; @@ -1529,30 +1383,26 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DlpJob other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } switch (other.getDetailsCase()) { - case RISK_DETAILS: - { - mergeRiskDetails(other.getRiskDetails()); - break; - } - case INSPECT_DETAILS: - { - mergeInspectDetails(other.getInspectDetails()); - break; - } - case DETAILS_NOT_SET: - { - break; - } + case RISK_DETAILS: { + mergeRiskDetails(other.getRiskDetails()); + break; + } + case INSPECT_DETAILS: { + mergeInspectDetails(other.getInspectDetails()); + break; + } + case DETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1582,12 +1432,12 @@ public Builder mergeFrom( } return this; } - private int detailsCase_ = 0; private java.lang.Object details_; - - public DetailsCase getDetailsCase() { - return DetailsCase.forNumber(detailsCase_); + public DetailsCase + getDetailsCase() { + return DetailsCase.forNumber( + detailsCase_); } public Builder clearDetails() { @@ -1601,20 +1451,18 @@ public Builder clearDetails() { private java.lang.Object name_ = ""; /** - * - * *
      * The server-assigned name.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1623,21 +1471,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The server-assigned name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1645,61 +1492,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The server-assigned name.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The server-assigned name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The server-assigned name.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1707,65 +1547,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = - com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } /** - * - * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1773,24 +1599,21 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1798,65 +1621,51 @@ public Builder clearType() { private int state_ = 0; /** - * - * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return The state. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJob.JobState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJob.JobState result = - com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); + com.google.privacy.dlp.v2.DlpJob.JobState result = com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.DlpJob.JobState.UNRECOGNIZED : result; } /** - * - * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1864,43 +1673,34 @@ public Builder setState(com.google.privacy.dlp.v2.DlpJob.JobState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> - riskDetailsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> riskDetailsBuilder_; /** - * - * *
      * Results from analyzing risk of a data source.
      * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; - * * @return Whether the riskDetails field is set. */ @java.lang.Override @@ -1908,14 +1708,11 @@ public boolean hasRiskDetails() { return detailsCase_ == 4; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; - * * @return The riskDetails. */ @java.lang.Override @@ -1933,8 +1730,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { } } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -1955,8 +1750,6 @@ public Builder setRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDet return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -1975,8 +1768,6 @@ public Builder setRiskDetails( return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -1985,14 +1776,10 @@ public Builder setRiskDetails( */ public Builder mergeRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails value) { if (riskDetailsBuilder_ == null) { - if (detailsCase_ == 4 - && details_ - != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) { - details_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.newBuilder( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 4 && + details_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) { + details_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -2007,8 +1794,6 @@ public Builder mergeRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskD return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2032,8 +1817,6 @@ public Builder clearRiskDetails() { return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2044,8 +1827,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet return getRiskDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2053,8 +1834,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder - getRiskDetailsOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder() { if ((detailsCase_ == 4) && (riskDetailsBuilder_ != null)) { return riskDetailsBuilder_.getMessageOrBuilder(); } else { @@ -2065,8 +1845,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet } } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2074,44 +1852,32 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> getRiskDetailsFieldBuilder() { if (riskDetailsBuilder_ == null) { if (!(detailsCase_ == 4)) { details_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance(); } - riskDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder>( + riskDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder>( (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 4; - onChanged(); - ; + onChanged();; return riskDetailsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> - inspectDetailsBuilder_; + com.google.privacy.dlp.v2.InspectDataSourceDetails, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> inspectDetailsBuilder_; /** - * - * *
      * Results from inspecting a data source.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; - * * @return Whether the inspectDetails field is set. */ @java.lang.Override @@ -2119,14 +1885,11 @@ public boolean hasInspectDetails() { return detailsCase_ == 5; } /** - * - * *
      * Results from inspecting a data source.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; - * * @return The inspectDetails. */ @java.lang.Override @@ -2144,8 +1907,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { } } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2166,8 +1927,6 @@ public Builder setInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDeta return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2186,8 +1945,6 @@ public Builder setInspectDetails( return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2196,14 +1953,10 @@ public Builder setInspectDetails( */ public Builder mergeInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDetails value) { if (inspectDetailsBuilder_ == null) { - if (detailsCase_ == 5 - && details_ - != com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) { - details_ = - com.google.privacy.dlp.v2.InspectDataSourceDetails.newBuilder( - (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_) - .mergeFrom(value) - .buildPartial(); + if (detailsCase_ == 5 && + details_ != com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) { + details_ = com.google.privacy.dlp.v2.InspectDataSourceDetails.newBuilder((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_) + .mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -2218,8 +1971,6 @@ public Builder mergeInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDe return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2243,8 +1994,6 @@ public Builder clearInspectDetails() { return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2255,8 +2004,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta return getInspectDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2264,8 +2011,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder - getInspectDetailsOrBuilder() { + public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder() { if ((detailsCase_ == 5) && (inspectDetailsBuilder_ != null)) { return inspectDetailsBuilder_.getMessageOrBuilder(); } else { @@ -2276,8 +2022,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta } } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2285,73 +2029,54 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> + com.google.privacy.dlp.v2.InspectDataSourceDetails, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> getInspectDetailsFieldBuilder() { if (inspectDetailsBuilder_ == null) { if (!(detailsCase_ == 5)) { details_ = com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance(); } - inspectDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder>( + inspectDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectDataSourceDetails, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder>( (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 5; - onChanged(); - ; + onChanged();; return inspectDetailsBuilder_; } 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_; /** - * - * *
      * Time when the job was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Time when the job was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @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(); } } /** - * - * *
      * Time when the job was created.
      * 
@@ -2372,15 +2097,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2391,8 +2115,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the job was created.
      * 
@@ -2403,7 +2125,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2415,8 +2137,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job was created.
      * 
@@ -2435,8 +2155,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the job was created.
      * 
@@ -2444,13 +2162,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the job was created.
      * 
@@ -2461,14 +2177,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time when the job was created.
      * 
@@ -2476,17 +2189,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ 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_; @@ -2494,33 +2204,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** - * - * *
      * Time when the job started.
      * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time when the job started.
      * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2531,8 +2232,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time when the job started.
      * 
@@ -2553,15 +2252,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job started.
      * 
* * .google.protobuf.Timestamp start_time = 7; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -2572,8 +2270,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the job started.
      * 
@@ -2584,7 +2280,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2596,8 +2292,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job started.
      * 
@@ -2616,8 +2310,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time when the job started.
      * 
@@ -2625,13 +2317,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 7; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the job started.
      * 
@@ -2642,12 +2332,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time when the job started.
      * 
@@ -2655,17 +2344,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 7; */ 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_; @@ -2673,33 +2359,24 @@ 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_; /** - * - * *
      * Time when the job finished.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Time when the job finished.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2710,8 +2387,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Time when the job finished.
      * 
@@ -2732,15 +2407,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job finished.
      * 
* * .google.protobuf.Timestamp end_time = 8; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -2751,8 +2425,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Time when the job finished.
      * 
@@ -2763,7 +2435,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2775,8 +2447,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job finished.
      * 
@@ -2795,8 +2465,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Time when the job finished.
      * 
@@ -2804,13 +2472,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 8; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the job finished.
      * 
@@ -2821,12 +2487,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Time when the job finished.
      * 
@@ -2834,17 +2499,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 8; */ 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_; @@ -2852,21 +2514,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object jobTriggerName_ = ""; /** - * - * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; - * * @return The jobTriggerName. */ public java.lang.String getJobTriggerName() { java.lang.Object ref = jobTriggerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTriggerName_ = s; return s; @@ -2875,22 +2535,21 @@ public java.lang.String getJobTriggerName() { } } /** - * - * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; - * * @return The bytes for jobTriggerName. */ - public com.google.protobuf.ByteString getJobTriggerNameBytes() { + public com.google.protobuf.ByteString + getJobTriggerNameBytes() { java.lang.Object ref = jobTriggerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTriggerName_ = b; return b; } else { @@ -2898,88 +2557,75 @@ public com.google.protobuf.ByteString getJobTriggerNameBytes() { } } /** - * - * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; - * * @param value The jobTriggerName to set. * @return This builder for chaining. */ - public Builder setJobTriggerName(java.lang.String value) { + public Builder setJobTriggerName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTriggerName_ = value; onChanged(); return this; } /** - * - * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; - * * @return This builder for chaining. */ public Builder clearJobTriggerName() { - + jobTriggerName_ = getDefaultInstance().getJobTriggerName(); onChanged(); return this; } /** - * - * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; - * * @param value The bytes for jobTriggerName to set. * @return This builder for chaining. */ - public Builder setJobTriggerNameBytes(com.google.protobuf.ByteString value) { + public Builder setJobTriggerNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTriggerName_ = value; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, - com.google.privacy.dlp.v2.Error.Builder, - com.google.privacy.dlp.v2.ErrorOrBuilder> - errorsBuilder_; + com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -2994,8 +2640,6 @@ public java.util.List getErrorsList() { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3010,8 +2654,6 @@ public int getErrorsCount() { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3026,15 +2668,14 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { + public Builder setErrors( + int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3048,15 +2689,14 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder setErrors( + int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -3067,8 +2707,6 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3089,15 +2727,14 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { + public Builder addErrors( + int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3111,15 +2748,14 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors( + com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -3130,15 +2766,14 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors( + int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -3149,8 +2784,6 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3161,7 +2794,8 @@ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -3169,8 +2803,6 @@ public Builder addAllErrors( return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3188,8 +2820,6 @@ public Builder clearErrors() { return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3207,44 +2837,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) { + public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -3252,8 +2877,6 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3261,54 +2884,49 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { * repeated .google.privacy.dlp.v2.Error errors = 11; */ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); + public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** - * - * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public java.util.List getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, - com.google.privacy.dlp.v2.Error.Builder, - com.google.privacy.dlp.v2.ErrorOrBuilder> + com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, - com.google.privacy.dlp.v2.Error.Builder, - com.google.privacy.dlp.v2.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3318,12 +2936,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DlpJob) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DlpJob) private static final com.google.privacy.dlp.v2.DlpJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DlpJob(); } @@ -3332,16 +2950,16 @@ public static com.google.privacy.dlp.v2.DlpJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DlpJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DlpJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DlpJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DlpJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3356,4 +2974,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DlpJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java similarity index 83% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java index d5416f7e..87191b5f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java @@ -1,130 +1,89 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DlpJobOrBuilder - extends +public interface DlpJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DlpJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The server-assigned name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The server-assigned name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; - * * @return The type. */ com.google.privacy.dlp.v2.DlpJobType getType(); /** - * - * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; - * * @return The state. */ com.google.privacy.dlp.v2.DlpJob.JobState getState(); /** - * - * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; - * * @return Whether the riskDetails field is set. */ boolean hasRiskDetails(); /** - * - * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; - * * @return The riskDetails. */ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails(); /** - * - * *
    * Results from analyzing risk of a data source.
    * 
@@ -134,32 +93,24 @@ public interface DlpJobOrBuilder com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder(); /** - * - * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; - * * @return Whether the inspectDetails field is set. */ boolean hasInspectDetails(); /** - * - * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; - * * @return The inspectDetails. */ com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails(); /** - * - * *
    * Results from inspecting a data source.
    * 
@@ -169,32 +120,24 @@ public interface DlpJobOrBuilder com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder(); /** - * - * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time when the job was created.
    * 
@@ -204,32 +147,24 @@ public interface DlpJobOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time when the job started.
    * 
@@ -239,32 +174,24 @@ public interface DlpJobOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Time when the job finished.
    * 
@@ -274,45 +201,37 @@ public interface DlpJobOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; - * * @return The jobTriggerName. */ java.lang.String getJobTriggerName(); /** - * - * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; - * * @return The bytes for jobTriggerName. */ - com.google.protobuf.ByteString getJobTriggerNameBytes(); + com.google.protobuf.ByteString + getJobTriggerNameBytes(); /** - * - * *
    * A stream of errors encountered running the job.
    * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -321,8 +240,6 @@ public interface DlpJobOrBuilder */ com.google.privacy.dlp.v2.Error getErrors(int index); /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -331,25 +248,23 @@ public interface DlpJobOrBuilder */ int getErrorsCount(); /** - * - * *
    * A stream of errors encountered running the job.
    * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - java.util.List getErrorsOrBuilderList(); + java.util.List + getErrorsOrBuilderList(); /** - * - * *
    * A stream of errors encountered running the job.
    * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( + int index); public com.google.privacy.dlp.v2.DlpJob.DetailsCase getDetailsCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java index ada686bf..93aefad6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * An enum to represent the various types of DLP jobs.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.DlpJobType} */ -public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { +public enum DlpJobType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Defaults to INSPECT_JOB.
    * 
@@ -39,8 +21,6 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { */ DLP_JOB_TYPE_UNSPECIFIED(0), /** - * - * *
    * The job inspected Google Cloud for sensitive data.
    * 
@@ -49,8 +29,6 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { */ INSPECT_JOB(1), /** - * - * *
    * The job executed a Risk Analysis computation.
    * 
@@ -62,8 +40,6 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Defaults to INSPECT_JOB.
    * 
@@ -72,8 +48,6 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DLP_JOB_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job inspected Google Cloud for sensitive data.
    * 
@@ -82,8 +56,6 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSPECT_JOB_VALUE = 1; /** - * - * *
    * The job executed a Risk Analysis computation.
    * 
@@ -92,6 +64,7 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RISK_ANALYSIS_JOB_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static DlpJobType valueOf(int value) { */ public static DlpJobType forNumber(int value) { switch (value) { - case 0: - return DLP_JOB_TYPE_UNSPECIFIED; - case 1: - return INSPECT_JOB; - case 2: - return RISK_ANALYSIS_JOB; - default: - return null; + case 0: return DLP_JOB_TYPE_UNSPECIFIED; + case 1: return INSPECT_JOB; + case 2: return RISK_ANALYSIS_JOB; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DlpJobType findValueByNumber(int number) { - return DlpJobType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DlpJobType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DlpJobType findValueByNumber(int number) { + return DlpJobType.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(5); } private static final DlpJobType[] VALUES = values(); - public static DlpJobType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DlpJobType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private DlpJobType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DlpJobType) } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java new file mode 100644 index 00000000..f2f365a1 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -0,0 +1,3089 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public final class DlpProto { + private DlpProto() {} + 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_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectionRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Table_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Finding_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Location_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ContentLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Container_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Range_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Color_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Value_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DateTime_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Schedule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Manual_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Error_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectResponse_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\037google/privacy/dlp/v2/dlp.proto\022\025googl" + + "e.privacy.dlp.v2\032\034google/api/annotations" + + ".proto\032\027google/api/client.proto\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032#google/privacy/dlp/v2/stora" + + "ge.proto\032\036google/protobuf/duration.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\032\037google/protobuf" + + "/timestamp.proto\032\027google/rpc/status.prot" + + "o\032\026google/type/date.proto\032\033google/type/d" + + "ayofweek.proto\032\033google/type/timeofday.pr" + + "oto\"G\n\020ExcludeInfoTypes\0223\n\ninfo_types\030\001 " + + "\003(\0132\037.google.privacy.dlp.v2.InfoType\"\240\002\n" + + "\rExclusionRule\022F\n\ndictionary\030\001 \001(\01320.goo" + + "gle.privacy.dlp.v2.CustomInfoType.Dictio" + + "naryH\000\022<\n\005regex\030\002 \001(\0132+.google.privacy.d" + + "lp.v2.CustomInfoType.RegexH\000\022E\n\022exclude_" + + "info_types\030\003 \001(\0132\'.google.privacy.dlp.v2" + + ".ExcludeInfoTypesH\000\022:\n\rmatching_type\030\004 \001" + + "(\0162#.google.privacy.dlp.v2.MatchingTypeB" + + "\006\n\004type\"\261\001\n\016InspectionRule\022W\n\014hotword_ru" + + "le\030\001 \001(\0132?.google.privacy.dlp.v2.CustomI" + + "nfoType.DetectionRule.HotwordRuleH\000\022>\n\016e" + + "xclusion_rule\030\002 \001(\0132$.google.privacy.dlp" + + ".v2.ExclusionRuleH\000B\006\n\004type\"~\n\021Inspectio" + + "nRuleSet\0223\n\ninfo_types\030\001 \003(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\0224\n\005rules\030\002 \003(\0132%.g" + + "oogle.privacy.dlp.v2.InspectionRule\"\307\005\n\r" + + "InspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.goog" + + "le.privacy.dlp.v2.InfoType\0229\n\016min_likeli" + + "hood\030\002 \001(\0162!.google.privacy.dlp.v2.Likel" + + "ihood\022B\n\006limits\030\003 \001(\01322.google.privacy.d" + + "lp.v2.InspectConfig.FindingLimits\022\025\n\rinc" + + "lude_quote\030\004 \001(\010\022\032\n\022exclude_info_types\030\005" + + " \001(\010\022@\n\021custom_info_types\030\006 \003(\0132%.google" + + ".privacy.dlp.v2.CustomInfoType\022=\n\017conten" + + "t_options\030\010 \003(\0162$.google.privacy.dlp.v2." + + "ContentOption\022:\n\010rule_set\030\n \003(\0132(.google" + + ".privacy.dlp.v2.InspectionRuleSet\032\221\002\n\rFi" + + "ndingLimits\022\035\n\025max_findings_per_item\030\001 \001" + + "(\005\022 \n\030max_findings_per_request\030\002 \001(\005\022d\n\032" + + "max_findings_per_info_type\030\003 \003(\0132@.googl" + + "e.privacy.dlp.v2.InspectConfig.FindingLi" + + "mits.InfoTypeLimit\032Y\n\rInfoTypeLimit\0222\n\ti" + + "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" + + "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\305\002\n\017ByteCo" + + "ntentItem\022>\n\004type\030\001 \001(\01620.google.privacy" + + ".dlp.v2.ByteContentItem.BytesType\022\014\n\004dat" + + "a\030\002 \001(\014\"\343\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" + + "ECIFIED\020\000\022\t\n\005IMAGE\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\t" + + "IMAGE_BMP\020\002\022\r\n\tIMAGE_PNG\020\003\022\r\n\tIMAGE_SVG\020" + + "\004\022\r\n\tTEXT_UTF8\020\005\022\021\n\rWORD_DOCUMENT\020\007\022\007\n\003P" + + "DF\020\010\022\027\n\023POWERPOINT_DOCUMENT\020\t\022\022\n\016EXCEL_D" + + "OCUMENT\020\n\022\010\n\004AVRO\020\013\022\007\n\003CSV\020\014\022\007\n\003TSV\020\r\"\227\001" + + "\n\013ContentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030" + + "\004 \001(\0132\034.google.privacy.dlp.v2.TableH\000\022;\n" + + "\tbyte_item\030\005 \001(\0132&.google.privacy.dlp.v2" + + ".ByteContentItemH\000B\013\n\tdata_item\"\235\001\n\005Tabl" + + "e\022/\n\007headers\030\001 \003(\0132\036.google.privacy.dlp." + + "v2.FieldId\022.\n\004rows\030\002 \003(\0132 .google.privac" + + "y.dlp.v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003(" + + "\0132\034.google.privacy.dlp.v2.Value\"]\n\rInspe" + + "ctResult\0220\n\010findings\030\001 \003(\0132\036.google.priv" + + "acy.dlp.v2.Finding\022\032\n\022findings_truncated" + + "\030\002 \001(\010\"\337\005\n\007Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quot" + + "e\030\001 \001(\t\0222\n\tinfo_type\030\002 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\0225\n\nlikelihood\030\003 \001(\0162" + + "!.google.privacy.dlp.v2.Likelihood\0221\n\010lo" + + "cation\030\004 \001(\0132\037.google.privacy.dlp.v2.Loc" + + "ation\022/\n\013create_time\030\006 \001(\0132\032.google.prot" + + "obuf.Timestamp\0224\n\nquote_info\030\007 \001(\0132 .goo" + + "gle.privacy.dlp.v2.QuoteInfo\0225\n\rresource" + + "_name\030\010 \001(\tB\036\372A\033\n\031dlp.googleapis.com/Dlp" + + "Job\0228\n\014trigger_name\030\t \001(\tB\"\372A\037\n\035dlp.goog" + + "leapis.com/JobTrigger\022:\n\006labels\030\n \003(\0132*." + + "google.privacy.dlp.v2.Finding.LabelsEntr" + + "y\0223\n\017job_create_time\030\013 \001(\0132\032.google.prot" + + "obuf.Timestamp\0220\n\010job_name\030\r \001(\tB\036\372A\033\n\031d" + + "lp.googleapis.com/DlpJob\022\022\n\nfinding_id\030\017" + + " \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001:[\352AX\n\032dlp.googleapis.com/Fin" + + "ding\022:projects/{project}/locations/{loca" + + "tion}/findings/{finding}\"\353\001\n\010Location\0220\n" + + "\nbyte_range\030\001 \001(\0132\034.google.privacy.dlp.v" + + "2.Range\0225\n\017codepoint_range\030\002 \001(\0132\034.googl" + + "e.privacy.dlp.v2.Range\022A\n\021content_locati" + + "ons\030\007 \003(\0132&.google.privacy.dlp.v2.Conten" + + "tLocation\0223\n\tcontainer\030\010 \001(\0132 .google.pr" + + "ivacy.dlp.v2.Container\"\227\003\n\017ContentLocati" + + "on\022\026\n\016container_name\030\001 \001(\t\022@\n\017record_loc" + + "ation\030\002 \001(\0132%.google.privacy.dlp.v2.Reco" + + "rdLocationH\000\022>\n\016image_location\030\003 \001(\0132$.g" + + "oogle.privacy.dlp.v2.ImageLocationH\000\022D\n\021" + + "document_location\030\005 \001(\0132\'.google.privacy" + + ".dlp.v2.DocumentLocationH\000\022D\n\021metadata_l" + + "ocation\030\010 \001(\0132\'.google.privacy.dlp.v2.Me" + + "tadataLocationH\000\0227\n\023container_timestamp\030" + + "\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021con" + + "tainer_version\030\007 \001(\tB\n\n\010location\"\224\001\n\020Met" + + "adataLocation\0221\n\004type\030\001 \001(\0162#.google.pri" + + "vacy.dlp.v2.MetadataType\022D\n\rstorage_labe" + + "l\030\003 \001(\0132+.google.privacy.dlp.v2.StorageM" + + "etadataLabelH\000B\007\n\005label\"#\n\024StorageMetada" + + "taLabel\022\013\n\003key\030\001 \001(\t\"\'\n\020DocumentLocation" + + "\022\023\n\013file_offset\030\001 \001(\003\"\266\001\n\016RecordLocation" + + "\0224\n\nrecord_key\030\001 \001(\0132 .google.privacy.dl" + + "p.v2.RecordKey\0220\n\010field_id\030\002 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\022<\n\016table_locati" + + "on\030\003 \001(\0132$.google.privacy.dlp.v2.TableLo" + + "cation\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001" + + "(\003\"\254\001\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nprojec" + + "t_id\030\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_pa" + + "th\030\004 \001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013updat" + + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" + + "\022\017\n\007version\030\007 \001(\t\"#\n\005Range\022\r\n\005start\030\001 \001(" + + "\003\022\013\n\003end\030\002 \001(\003\"K\n\rImageLocation\022:\n\016bound" + + "ing_boxes\030\001 \003(\0132\".google.privacy.dlp.v2." + + "BoundingBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022" + + "\014\n\004left\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004" + + " \001(\005\"\374\003\n\022RedactImageRequest\0222\n\006parent\030\001 " + + "\001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpContent\022" + + "\023\n\013location_id\030\010 \001(\t\022<\n\016inspect_config\030\002" + + " \001(\0132$.google.privacy.dlp.v2.InspectConf" + + "ig\022_\n\027image_redaction_configs\030\005 \003(\0132>.go" + + "ogle.privacy.dlp.v2.RedactImageRequest.I" + + "mageRedactionConfig\022\030\n\020include_findings\030" + + "\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google.privac" + + "y.dlp.v2.ByteContentItem\032\250\001\n\024ImageRedact" + + "ionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoTypeH\000\022\031\n\017redact_all_te" + + "xt\030\002 \001(\010H\000\0225\n\017redaction_color\030\003 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.ColorB\010\n\006target\"1\n\005C" + + "olor\022\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n\004blue" + + "\030\003 \001(\002\"\203\001\n\023RedactImageResponse\022\026\n\016redact" + + "ed_image\030\001 \001(\014\022\026\n\016extracted_text\030\002 \001(\t\022<" + + "\n\016inspect_result\030\003 \001(\0132$.google.privacy." + + "dlp.v2.InspectResult\"\330\002\n\030DeidentifyConte" + + "ntRequest\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.goog" + + "leapis.com/DlpContent\022B\n\021deidentify_conf" + + "ig\030\002 \001(\0132\'.google.privacy.dlp.v2.Deident" + + "ifyConfig\022<\n\016inspect_config\030\003 \001(\0132$.goog" + + "le.privacy.dlp.v2.InspectConfig\0220\n\004item\030" + + "\004 \001(\0132\".google.privacy.dlp.v2.ContentIte" + + "m\022\035\n\025inspect_template_name\030\005 \001(\t\022 \n\030deid" + + "entify_template_name\030\006 \001(\t\022\023\n\013location_i" + + "d\030\007 \001(\t\"\216\001\n\031DeidentifyContentResponse\0220\n" + + "\004item\030\001 \001(\0132\".google.privacy.dlp.v2.Cont" + + "entItem\022?\n\010overview\030\002 \001(\0132-.google.priva" + + "cy.dlp.v2.TransformationOverview\"\333\002\n\030Rei" + + "dentifyContentRequest\0225\n\006parent\030\001 \001(\tB%\340" + + "A\002\372A\037\022\035dlp.googleapis.com/DlpContent\022B\n\021" + + "reidentify_config\030\002 \001(\0132\'.google.privacy" + + ".dlp.v2.DeidentifyConfig\022<\n\016inspect_conf" + + "ig\030\003 \001(\0132$.google.privacy.dlp.v2.Inspect" + + "Config\0220\n\004item\030\004 \001(\0132\".google.privacy.dl" + + "p.v2.ContentItem\022\035\n\025inspect_template_nam" + + "e\030\005 \001(\t\022 \n\030reidentify_template_name\030\006 \001(" + + "\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031ReidentifyCon" + + "tentResponse\0220\n\004item\030\001 \001(\0132\".google.priv" + + "acy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001(\013" + + "2-.google.privacy.dlp.v2.TransformationO" + + "verview\"\357\001\n\025InspectContentRequest\0222\n\006par" + + "ent\030\001 \001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpCo" + + "ntent\022<\n\016inspect_config\030\002 \001(\0132$.google.p" + + "rivacy.dlp.v2.InspectConfig\0220\n\004item\030\003 \001(" + + "\0132\".google.privacy.dlp.v2.ContentItem\022\035\n" + + "\025inspect_template_name\030\004 \001(\t\022\023\n\013location" + + "_id\030\005 \001(\t\"N\n\026InspectContentResponse\0224\n\006r" + + "esult\030\001 \001(\0132$.google.privacy.dlp.v2.Insp" + + "ectResult\"\267\002\n\023OutputStorageConfig\0225\n\005tab" + + "le\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuer" + + "yTableH\000\022N\n\routput_schema\030\003 \001(\01627.google" + + ".privacy.dlp.v2.OutputStorageConfig.Outp" + + "utSchema\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHE" + + "MA_UNSPECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013G" + + "CS_COLUMNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021B" + + "IG_QUERY_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004t" + + "ype\"R\n\rInfoTypeStats\0222\n\tinfo_type\030\001 \001(\0132" + + "\037.google.privacy.dlp.v2.InfoType\022\r\n\005coun" + + "t\030\002 \001(\003\"\244\004\n\030InspectDataSourceDetails\022[\n\021" + + "requested_options\030\002 \001(\0132@.google.privacy" + + ".dlp.v2.InspectDataSourceDetails.Request" + + "edOptions\022F\n\006result\030\003 \001(\01326.google.priva" + + "cy.dlp.v2.InspectDataSourceDetails.Resul" + + "t\032\232\001\n\020RequestedOptions\022I\n\031snapshot_inspe" + + "ct_template\030\001 \001(\0132&.google.privacy.dlp.v" + + "2.InspectTemplate\022;\n\njob_config\030\003 \001(\0132\'." + + "google.privacy.dlp.v2.InspectJobConfig\032\305" + + "\001\n\006Result\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025to" + + "tal_estimated_bytes\030\002 \001(\003\022=\n\017info_type_s" + + "tats\030\003 \003(\0132$.google.privacy.dlp.v2.InfoT" + + "ypeStats\022D\n\014hybrid_stats\030\007 \001(\0132..google." + + "privacy.dlp.v2.HybridInspectStatistics\"`" + + "\n\027HybridInspectStatistics\022\027\n\017processed_c" + + "ount\030\001 \001(\003\022\025\n\raborted_count\030\002 \001(\003\022\025\n\rpen" + + "ding_count\030\003 \001(\003\"\220\001\n\023InfoTypeDescription" + + "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014" + + "supported_by\030\003 \003(\0162*.google.privacy.dlp." + + "v2.InfoTypeSupportedBy\022\023\n\013description\030\004 " + + "\001(\t\"b\n\024ListInfoTypesRequest\022\016\n\006parent\030\004 " + + "\001(\t\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001" + + "(\t\022\023\n\013location_id\030\003 \001(\t\"W\n\025ListInfoTypes" + + "Response\022>\n\ninfo_types\030\001 \003(\0132*.google.pr" + + "ivacy.dlp.v2.InfoTypeDescription\"\301\001\n\025Ris" + + "kAnalysisJobConfig\022<\n\016privacy_metric\030\001 \001" + + "(\0132$.google.privacy.dlp.v2.PrivacyMetric" + + "\022:\n\014source_table\030\002 \001(\0132$.google.privacy." + + "dlp.v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035." + + "google.privacy.dlp.v2.Action\"\274\001\n\007QuasiId" + + "\0222\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2." + + "FieldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google" + + ".privacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag" + + "\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.prot" + + "obuf.EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable" + + "\0228\n\005table\030\003 \001(\0132$.google.privacy.dlp.v2." + + "BigQueryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<." + + "google.privacy.dlp.v2.StatisticalTable.Q" + + "uasiIdentifierFieldB\003\340A\002\022?\n\022relative_fre" + + "quency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + + "ldIdB\003\340A\002\032Y\n\024QuasiIdentifierField\022-\n\005fie" + + "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId" + + "\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017\n\rPrivacyMetric\022[" + + "\n\026numerical_stats_config\030\001 \001(\01329.google." + + "privacy.dlp.v2.PrivacyMetric.NumericalSt" + + "atsConfigH\000\022_\n\030categorical_stats_config\030" + + "\002 \001(\0132;.google.privacy.dlp.v2.PrivacyMet" + + "ric.CategoricalStatsConfigH\000\022S\n\022k_anonym" + + "ity_config\030\003 \001(\01325.google.privacy.dlp.v2" + + ".PrivacyMetric.KAnonymityConfigH\000\022S\n\022l_d" + + "iversity_config\030\004 \001(\01325.google.privacy.d" + + "lp.v2.PrivacyMetric.LDiversityConfigH\000\022\\" + + "\n\027k_map_estimation_config\030\005 \001(\01329.google" + + ".privacy.dlp.v2.PrivacyMetric.KMapEstima" + + "tionConfigH\000\022n\n delta_presence_estimatio" + + "n_config\030\006 \001(\0132B.google.privacy.dlp.v2.P" + + "rivacyMetric.DeltaPresenceEstimationConf" + + "igH\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 " + + "\001(\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026C" + + "ategoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldId\032y\n\020KAnonymi" + + "tyConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037" + + ".google.privacy.dlp.v2.EntityId\032\202\001\n\020LDiv" + + "ersityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google" + + ".privacy.dlp.v2.FieldId\022;\n\023sensitive_att" + + "ribute\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + + "ldId\032\201\006\n\024KMapEstimationConfig\022]\n\tquasi_i" + + "ds\030\001 \003(\0132E.google.privacy.dlp.v2.Privacy" + + "Metric.KMapEstimationConfig.TaggedFieldB" + + "\003\340A\002\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_t" + + "ables\030\003 \003(\0132H.google.privacy.dlp.v2.Priv" + + "acyMetric.KMapEstimationConfig.Auxiliary" + + "Table\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinf" + + "o_type\030\002 \001(\0132\037.google.privacy.dlp.v2.Inf" + + "oTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferre" + + "d\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag" + + "\032\315\002\n\016AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n" + + "\tquasi_ids\030\001 \003(\0132U.google.privacy.dlp.v2" + + ".PrivacyMetric.KMapEstimationConfig.Auxi" + + "liaryTable.QuasiIdFieldB\003\340A\002\022?\n\022relative" + + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001" + + " \001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\n" + + "custom_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstima" + + "tionConfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.p" + + "rivacy.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_cod" + + "e\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.goog" + + "le.privacy.dlp.v2.StatisticalTableB\006\n\004ty" + + "pe\"\301\037\n\034AnalyzeDataSourceRiskDetails\022F\n\030r" + + "equested_privacy_metric\030\001 \001(\0132$.google.p" + + "rivacy.dlp.v2.PrivacyMetric\022D\n\026requested" + + "_source_table\030\002 \001(\0132$.google.privacy.dlp" + + ".v2.BigQueryTable\022j\n\026numerical_stats_res" + + "ult\030\003 \001(\0132H.google.privacy.dlp.v2.Analyz" + + "eDataSourceRiskDetails.NumericalStatsRes" + + "ultH\000\022n\n\030categorical_stats_result\030\004 \001(\0132" + + "J.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.CategoricalStatsResultH\000\022b\n" + + "\022k_anonymity_result\030\005 \001(\0132D.google.priva" + + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + + "AnonymityResultH\000\022b\n\022l_diversity_result\030" + + "\006 \001(\0132D.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetails.LDiversityResultH\000\022k\n" + + "\027k_map_estimation_result\030\007 \001(\0132H.google." + + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" + + "ils.KMapEstimationResultH\000\022}\n delta_pres" + + "ence_estimation_result\030\t \001(\0132Q.google.pr" + + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + + "s.DeltaPresenceEstimationResultH\000\022k\n\021req" + + "uested_options\030\n \001(\0132P.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.Reques" + + "tedRiskAnalysisOptions\032\257\001\n\024NumericalStat" + + "sResult\022/\n\tmin_value\030\001 \001(\0132\034.google.priv" + + "acy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.Value\0225\n\017quantile_va" + + "lues\030\004 \003(\0132\034.google.privacy.dlp.v2.Value" + + "\032\215\003\n\026CategoricalStatsResult\022\225\001\n!value_fr" + + "equency_histogram_buckets\030\005 \003(\0132j.google" + + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" + + "ails.CategoricalStatsResult.CategoricalS" + + "tatsHistogramBucket\032\332\001\n\037CategoricalStats" + + "HistogramBucket\022#\n\033value_frequency_lower" + + "_bound\030\001 \001(\003\022#\n\033value_frequency_upper_bo" + + "und\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket" + + "_values\030\004 \003(\0132%.google.privacy.dlp.v2.Va" + + "lueFrequency\022\032\n\022bucket_value_count\030\005 \001(\003" + + "\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalence_cl" + + "ass_histogram_buckets\030\005 \003(\0132^.google.pri" + + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" + + ".KAnonymityResult.KAnonymityHistogramBuc" + + "ket\032t\n\032KAnonymityEquivalenceClass\0226\n\020qua" + + "si_ids_values\030\001 \003(\0132\034.google.privacy.dlp" + + ".v2.Value\022\036\n\026equivalence_class_size\030\002 \001(" + + "\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"equiv" + + "alence_class_size_lower_bound\030\001 \001(\003\022*\n\"e" + + "quivalence_class_size_upper_bound\030\002 \001(\003\022" + + "\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 " + + "\003(\0132_.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.KAnonymityResult.KAnony" + + "mityEquivalenceClass\022\032\n\022bucket_value_cou" + + "nt\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensit" + + "ive_value_frequency_histogram_buckets\030\005 " + + "\003(\0132^.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.LDiversityResult.LDiver" + + "sityHistogramBucket\032\340\001\n\032LDiversityEquiva" + + "lenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.g" + + "oogle.privacy.dlp.v2.Value\022\036\n\026equivalenc" + + "e_class_size\030\002 \001(\003\022%\n\035num_distinct_sensi" + + "tive_values\030\003 \001(\003\022C\n\024top_sensitive_value" + + "s\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFre" + + "quency\032\242\002\n\031LDiversityHistogramBucket\022-\n%" + + "sensitive_value_frequency_lower_bound\030\001 " + + "\001(\003\022-\n%sensitive_value_frequency_upper_b" + + "ound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucke" + + "t_values\030\004 \003(\0132_.google.privacy.dlp.v2.A" + + "nalyzeDataSourceRiskDetails.LDiversityRe" + + "sult.LDiversityEquivalenceClass\022\032\n\022bucke" + + "t_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimationRe" + + "sult\022\212\001\n\032k_map_estimation_histogram\030\001 \003(" + + "\0132f.google.privacy.dlp.v2.AnalyzeDataSou" + + "rceRiskDetails.KMapEstimationResult.KMap" + + "EstimationHistogramBucket\032r\n\033KMapEstimat" + + "ionQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003" + + "(\0132\034.google.privacy.dlp.v2.Value\022\033\n\023esti" + + "mated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimation" + + "HistogramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025" + + "\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001" + + "(\003\022{\n\rbucket_values\030\006 \003(\0132d.google.priva" + + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + + "MapEstimationResult.KMapEstimationQuasiI" + + "dValues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035" + + "DeltaPresenceEstimationResult\022\245\001\n#delta_" + + "presence_estimation_histogram\030\001 \003(\0132x.go" + + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + + "kDetails.DeltaPresenceEstimationResult.D" + + "eltaPresenceEstimationHistogramBucket\032}\n" + + "$DeltaPresenceEstimationQuasiIdValues\0226\n" + + "\020quasi_ids_values\030\001 \003(\0132\034.google.privacy" + + ".dlp.v2.Value\022\035\n\025estimated_probability\030\002" + + " \001(\001\032\233\002\n&DeltaPresenceEstimationHistogra" + + "mBucket\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max_" + + "probability\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215" + + "\001\n\rbucket_values\030\006 \003(\0132v.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.Delt" + + "aPresenceEstimationResult.DeltaPresenceE" + + "stimationQuasiIdValues\022\032\n\022bucket_value_c" + + "ount\030\007 \001(\003\032`\n\034RequestedRiskAnalysisOptio" + + "ns\022@\n\njob_config\030\001 \001(\0132,.google.privacy." + + "dlp.v2.RiskAnalysisJobConfigB\010\n\006result\"L" + + "\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.google" + + ".privacy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n" + + "\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013float" + + "_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\027" + + "\n\rboolean_value\030\004 \001(\010H\000\0225\n\017timestamp_val" + + "ue\030\005 \001(\0132\032.google.protobuf.TimestampH\000\022," + + "\n\ntime_value\030\006 \001(\0132\026.google.type.TimeOfD" + + "ayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.google.type.D" + + "ateH\000\0223\n\021day_of_week_value\030\010 \001(\0162\026.googl" + + "e.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\022" + + "4\n\tdate_time\030\002 \001(\0132\037.google.privacy.dlp." + + "v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateTi" + + "me\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013d" + + "ay_of_week\030\002 \001(\0162\026.google.type.DayOfWeek" + + "\022$\n\004time\030\003 \001(\0132\026.google.type.TimeOfDay\022;" + + "\n\ttime_zone\030\004 \001(\0132(.google.privacy.dlp.v" + + "2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offse" + + "t_minutes\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031" + + "info_type_transformations\030\001 \001(\0132..google" + + ".privacy.dlp.v2.InfoTypeTransformationsH" + + "\000\022N\n\026record_transformations\030\002 \001(\0132,.goog" + + "le.privacy.dlp.v2.RecordTransformationsH" + + "\000\022Y\n\035transformation_error_handling\030\003 \001(\013" + + "22.google.privacy.dlp.v2.TransformationE" + + "rrorHandlingB\020\n\016transformation\"\205\002\n\033Trans" + + "formationErrorHandling\022T\n\013throw_error\030\001 " + + "\001(\0132=.google.privacy.dlp.v2.Transformati" + + "onErrorHandling.ThrowErrorH\000\022d\n\023leave_un" + + "transformed\030\002 \001(\0132E.google.privacy.dlp.v", + "2.TransformationErrorHandling.LeaveUntra" + + "nsformedH\000\032\014\n\nThrowError\032\024\n\022LeaveUntrans" + + "formedB\006\n\004mode\"\312\007\n\027PrimitiveTransformati" + + "on\022C\n\016replace_config\030\001 \001(\0132).google.priv" + + "acy.dlp.v2.ReplaceValueConfigH\000\022<\n\rredac" + + "t_config\030\002 \001(\0132#.google.privacy.dlp.v2.R" + + "edactConfigH\000\022K\n\025character_mask_config\030\003" + + " \001(\0132*.google.privacy.dlp.v2.CharacterMa" + + "skConfigH\000\022Y\n\035crypto_replace_ffx_fpe_con" + + "fig\030\004 \001(\01320.google.privacy.dlp.v2.Crypto" + + "ReplaceFfxFpeConfigH\000\022V\n\033fixed_size_buck" + + "eting_config\030\005 \001(\0132/.google.privacy.dlp." + + "v2.FixedSizeBucketingConfigH\000\022B\n\020bucketi" + + "ng_config\030\006 \001(\0132&.google.privacy.dlp.v2." + + "BucketingConfigH\000\022Y\n\035replace_with_info_t" + + "ype_config\030\007 \001(\01320.google.privacy.dlp.v2" + + ".ReplaceWithInfoTypeConfigH\000\022A\n\020time_par" + + "t_config\030\010 \001(\0132%.google.privacy.dlp.v2.T" + + "imePartConfigH\000\022E\n\022crypto_hash_config\030\t " + + "\001(\0132\'.google.privacy.dlp.v2.CryptoHashCo" + + "nfigH\000\022C\n\021date_shift_config\030\013 \001(\0132&.goog" + + "le.privacy.dlp.v2.DateShiftConfigH\000\022W\n\033c" + + "rypto_deterministic_config\030\014 \001(\01320.googl" + + "e.privacy.dlp.v2.CryptoDeterministicConf" + + "igH\000\022S\n\031replace_dictionary_config\030\r \001(\0132" + + "..google.privacy.dlp.v2.ReplaceDictionar" + + "yConfigH\000B\020\n\016transformation\"\334\001\n\016TimePart" + + "Config\022G\n\017part_to_extract\030\001 \001(\0162..google" + + ".privacy.dlp.v2.TimePartConfig.TimePart\"" + + "\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSPECIFIED\020\000\022" + + "\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003\022\017" + + "\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOU" + + "R_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto" + + "_key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypt" + + "oKey\"\300\001\n\031CryptoDeterministicConfig\0224\n\ncr" + + "ypto_key\030\001 \001(\0132 .google.privacy.dlp.v2.C" + + "ryptoKey\022<\n\023surrogate_info_type\030\002 \001(\0132\037." + + "google.privacy.dlp.v2.InfoType\022/\n\007contex" + + "t\030\003 \001(\0132\036.google.privacy.dlp.v2.FieldId\"" + + "E\n\022ReplaceValueConfig\022/\n\tnew_value\030\001 \001(\013" + + "2\034.google.privacy.dlp.v2.Value\"q\n\027Replac" + + "eDictionaryConfig\022N\n\tword_list\030\001 \001(\01329.g" + + "oogle.privacy.dlp.v2.CustomInfoType.Dict" + + "ionary.WordListH\000B\006\n\004type\"\033\n\031ReplaceWith" + + "InfoTypeConfig\"\016\n\014RedactConfig\"\266\002\n\rChars" + + "ToIgnore\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_" + + "\n\033common_characters_to_ignore\030\002 \001(\01628.go" + + "ogle.privacy.dlp.v2.CharsToIgnore.Common" + + "CharsToIgnoreH\000\"\227\001\n\023CommonCharsToIgnore\022" + + "&\n\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022" + + "\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020AL" + + "PHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHI" + + "TESPACE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterMas" + + "kConfig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016nu" + + "mber_to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(" + + "\010\022B\n\024characters_to_ignore\030\004 \003(\0132$.google" + + ".privacy.dlp.v2.CharsToIgnore\"\244\001\n\030FixedS" + + "izeBucketingConfig\0226\n\013lower_bound\030\001 \001(\0132" + + "\034.google.privacy.dlp.v2.ValueB\003\340A\002\0226\n\013up" + + "per_bound\030\002 \001(\0132\034.google.privacy.dlp.v2." + + "ValueB\003\340A\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\360\001\n" + + "\017BucketingConfig\022>\n\007buckets\030\001 \003(\0132-.goog" + + "le.privacy.dlp.v2.BucketingConfig.Bucket" + + "\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google.privac" + + "y.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.google.pri" + + "vacy.dlp.v2.Value\022<\n\021replacement_value\030\003" + + " \001(\0132\034.google.privacy.dlp.v2.ValueB\003\340A\002\"" + + "\371\003\n\031CryptoReplaceFfxFpeConfig\0229\n\ncrypto_" + + "key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypto" + + "KeyB\003\340A\002\022/\n\007context\030\002 \001(\0132\036.google.priva" + + "cy.dlp.v2.FieldId\022c\n\017common_alphabet\030\004 \001" + + "(\0162H.google.privacy.dlp.v2.CryptoReplace" + + "FfxFpeConfig.FfxCommonNativeAlphabetH\000\022\031" + + "\n\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005" + + "H\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037.google" + + ".privacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNa" + + "tiveAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHAB" + + "ET_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADEC" + + "IMAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\r" + + "ALPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKe" + + "y\022>\n\ttransient\030\001 \001(\0132).google.privacy.dl" + + "p.v2.TransientCryptoKeyH\000\022>\n\tunwrapped\030\002" + + " \001(\0132).google.privacy.dlp.v2.UnwrappedCr" + + "yptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google." + + "privacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006" + + "source\"\'\n\022TransientCryptoKey\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\002\"&\n\022UnwrappedCryptoKey\022\020\n\003key\030\001 \001" + + "(\014B\003\340A\002\"M\n\023KmsWrappedCryptoKey\022\030\n\013wrappe" + + "d_key\030\001 \001(\014B\003\340A\002\022\034\n\017crypto_key_name\030\002 \001(" + + "\tB\003\340A\002\"\302\001\n\017DateShiftConfig\022\035\n\020upper_boun" + + "d_days\030\001 \001(\005B\003\340A\002\022\035\n\020lower_bound_days\030\002 " + + "\001(\005B\003\340A\002\022/\n\007context\030\003 \001(\0132\036.google.priva" + + "cy.dlp.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 ." + + "google.privacy.dlp.v2.CryptoKeyH\000B\010\n\006met" + + "hod\"\245\002\n\027InfoTypeTransformations\022c\n\017trans" + + "formations\030\001 \003(\0132E.google.privacy.dlp.v2" + + ".InfoTypeTransformations.InfoTypeTransfo" + + "rmationB\003\340A\002\032\244\001\n\026InfoTypeTransformation\022" + + "3\n\ninfo_types\030\001 \003(\0132\037.google.privacy.dlp" + + ".v2.InfoType\022U\n\030primitive_transformation" + + "\030\002 \001(\0132..google.privacy.dlp.v2.Primitive" + + "TransformationB\003\340A\002\"\300\002\n\023FieldTransformat" + + "ion\0223\n\006fields\030\001 \003(\0132\036.google.privacy.dlp" + + ".v2.FieldIdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.go" + + "ogle.privacy.dlp.v2.RecordCondition\022R\n\030p" + + "rimitive_transformation\030\004 \001(\0132..google.p" + + "rivacy.dlp.v2.PrimitiveTransformationH\000\022" + + "S\n\031info_type_transformations\030\005 \001(\0132..goo" + + "gle.privacy.dlp.v2.InfoTypeTransformatio" + + "nsH\000B\020\n\016transformation\"\251\001\n\025RecordTransfo" + + "rmations\022I\n\025field_transformations\030\001 \003(\0132" + + "*.google.privacy.dlp.v2.FieldTransformat" + + "ion\022E\n\023record_suppressions\030\002 \003(\0132(.googl" + + "e.privacy.dlp.v2.RecordSuppression\"N\n\021Re" + + "cordSuppression\0229\n\tcondition\030\001 \001(\0132&.goo" + + "gle.privacy.dlp.v2.RecordCondition\"\334\004\n\017R" + + "ecordCondition\022G\n\013expressions\030\003 \001(\01322.go" + + "ogle.privacy.dlp.v2.RecordCondition.Expr" + + "essions\032\256\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010ope" + + "rator\030\003 \001(\0162).google.privacy.dlp.v2.Rela" + + "tionalOperatorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.Value\032R\n\nConditions\022D" + + "\n\nconditions\030\001 \003(\01320.google.privacy.dlp." + + "v2.RecordCondition.Condition\032\372\001\n\013Express" + + "ions\022\\\n\020logical_operator\030\001 \001(\0162B.google." + + "privacy.dlp.v2.RecordCondition.Expressio" + + "ns.LogicalOperator\022G\n\nconditions\030\003 \001(\01321" + + ".google.privacy.dlp.v2.RecordCondition.C" + + "onditionsH\000\"<\n\017LogicalOperator\022 \n\034LOGICA" + + "L_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004typ" + + "e\"\203\001\n\026TransformationOverview\022\031\n\021transfor" + + "med_bytes\030\002 \001(\003\022N\n\030transformation_summar" + + "ies\030\003 \003(\0132,.google.privacy.dlp.v2.Transf" + + "ormationSummary\"\237\005\n\025TransformationSummar" + + "y\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dl" + + "p.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.google.pr" + + "ivacy.dlp.v2.FieldId\022F\n\016transformation\030\003" + + " \001(\0132..google.privacy.dlp.v2.PrimitiveTr" + + "ansformation\022I\n\025field_transformations\030\005 " + + "\003(\0132*.google.privacy.dlp.v2.FieldTransfo" + + "rmation\022A\n\017record_suppress\030\006 \001(\0132(.googl" + + "e.privacy.dlp.v2.RecordSuppression\022K\n\007re" + + "sults\030\004 \003(\0132:.google.privacy.dlp.v2.Tran" + + "sformationSummary.SummaryResult\022\031\n\021trans" + + "formed_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r\n\005" + + "count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.priva" + + "cy.dlp.v2.TransformationSummary.Transfor" + + "mationResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Tra" + + "nsformationResultCode\022*\n&TRANSFORMATION_" + + "RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t" + + "\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurrence_peri" + + "od_duration\030\001 \001(\0132\031.google.protobuf.Dura" + + "tionH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n\017InspectTe" + + "mplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_nam" + + "e\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022<\n\016inspect_config\030\006 \001(\013" + + "2$.google.privacy.dlp.v2.InspectConfig:\306" + + "\002\352A\302\002\n\"dlp.googleapis.com/InspectTemplat" + + "e\022@organizations/{organization}/inspectT" + + "emplates/{inspect_template}\0226projects/{p" + + "roject}/inspectTemplates/{inspect_templa" + + "te}\022Uorganizations/{organization}/locati" + + "ons/{location}/inspectTemplates/{inspect" + + "_template}\022Kprojects/{project}/locations" + + "/{location}/inspectTemplates/{inspect_te" + + "mplate}\"\346\004\n\022DeidentifyTemplate\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" + + "iption\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" + + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022B\n\021deidentify_config\030\006 \001(\0132\'.google.pri" + + "vacy.dlp.v2.DeidentifyConfig:\341\002\352A\335\002\n%dlp" + + ".googleapis.com/DeidentifyTemplate\022Forga" + + "nizations/{organization}/deidentifyTempl" + + "ates/{deidentify_template}\022\n\013inspec" + + "t_job\030\004 \001(\0132\'.google.privacy.dlp.v2.Insp" + + "ectJobConfigH\000\022;\n\010triggers\030\005 \003(\0132).googl" + + "e.privacy.dlp.v2.JobTrigger.Trigger\0221\n\006e" + + "rrors\030\006 \003(\0132\034.google.privacy.dlp.v2.Erro" + + "rB\003\340A\003\0224\n\013create_time\030\007 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n\rla" + + "st_run_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022=\n\006status\030\n \001(\0162(.google.priv" + + "acy.dlp.v2.JobTrigger.StatusB\003\340A\002\032z\n\007Tri" + + "gger\0223\n\010schedule\030\001 \001(\0132\037.google.privacy." + + "dlp.v2.ScheduleH\000\022/\n\006manual\030\002 \001(\0132\035.goog" + + "le.privacy.dlp.v2.ManualH\000B\t\n\007trigger\"H\n" + + "\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HEALT" + + "HY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035" + + "dlp.googleapis.com/JobTrigger\022,projects/" + + "{project}/jobTriggers/{job_trigger}\022Apro" + + "jects/{project}/locations/{location}/job" + + "Triggers/{job_trigger}B\005\n\003job\"\364\005\n\006Action" + + "\022C\n\rsave_findings\030\001 \001(\0132*.google.privacy" + + ".dlp.v2.Action.SaveFindingsH\000\022@\n\007pub_sub" + + "\030\002 \001(\0132-.google.privacy.dlp.v2.Action.Pu" + + "blishToPubSubH\000\022U\n\027publish_summary_to_cs" + + "cc\030\003 \001(\01322.google.privacy.dlp.v2.Action." + + "PublishSummaryToCsccH\000\022q\n&publish_findin" + + "gs_to_cloud_data_catalog\030\005 \001(\0132?.google." + + "privacy.dlp.v2.Action.PublishFindingsToC" + + "loudDataCatalogH\000\022V\n\027job_notification_em" + + "ails\030\010 \001(\01323.google.privacy.dlp.v2.Actio" + + "n.JobNotificationEmailsH\000\022T\n\026publish_to_" + + "stackdriver\030\t \001(\01322.google.privacy.dlp.v" + + "2.Action.PublishToStackdriverH\000\032Q\n\014SaveF" + + "indings\022A\n\routput_config\030\001 \001(\0132*.google." + + "privacy.dlp.v2.OutputStorageConfig\032 \n\017Pu" + + "blishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishS" + + "ummaryToCscc\032#\n!PublishFindingsToCloudDa" + + "taCatalog\032\027\n\025JobNotificationEmails\032\026\n\024Pu" + + "blishToStackdriverB\010\n\006action\"\313\001\n\034CreateI" + + "nspectTemplateRequest\022:\n\006parent\030\001 \001(\tB*\340" + + "A\002\372A$\022\"dlp.googleapis.com/InspectTemplat" + + "e\022E\n\020inspect_template\030\002 \001(\0132&.google.pri" + + "vacy.dlp.v2.InspectTemplateB\003\340A\002\022\023\n\013temp" + + "late_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\313\001\n\034U" + + "pdateInspectTemplateRequest\0228\n\004name\030\001 \001(" + + "\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectTem" + + "plate\022@\n\020inspect_template\030\002 \001(\0132&.google" + + ".privacy.dlp.v2.InspectTemplate\022/\n\013updat" + + "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + + "\"U\n\031GetInspectTemplateRequest\0228\n\004name\030\001 " + + "\001(\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectT" + + "emplate\"\247\001\n\033ListInspectTemplatesRequest\022" + + ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis." + + "com/InspectTemplate\022\022\n\npage_token\030\002 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013" + + "location_id\030\005 \001(\t\"z\n\034ListInspectTemplate" + + "sResponse\022A\n\021inspect_templates\030\001 \003(\0132&.g" + + "oogle.privacy.dlp.v2.InspectTemplate\022\027\n\017" + + "next_page_token\030\002 \001(\t\"X\n\034DeleteInspectTe" + + "mplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp" + + ".googleapis.com/InspectTemplate\"\266\001\n\027Crea" + + "teJobTriggerRequest\0225\n\006parent\030\001 \001(\tB%\340A\002" + + "\372A\037\022\035dlp.googleapis.com/JobTrigger\022;\n\013jo" + + "b_trigger\030\002 \001(\0132!.google.privacy.dlp.v2." + + "JobTriggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013l" + + "ocation_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRe" + + "quest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googlea" + + "pis.com/JobTrigger\"\267\001\n\027UpdateJobTriggerR" + + "equest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.google" + + "apis.com/JobTrigger\0226\n\013job_trigger\030\002 \001(\013" + + "2!.google.privacy.dlp.v2.JobTrigger\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001" + + "(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigge" + + "r\"\366\001\n\023CreateDlpJobRequest\0221\n\006parent\030\001 \001(" + + "\tB!\340A\002\372A\033\022\031dlp.googleapis.com/DlpJob\022>\n\013" + + "inspect_job\030\002 \001(\0132\'.google.privacy.dlp.v" + + "2.InspectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132," + + ".google.privacy.dlp.v2.RiskAnalysisJobCo" + + "nfigH\000\022\016\n\006job_id\030\004 \001(\t\022\023\n\013location_id\030\005 " + + "\001(\tB\005\n\003job\"\336\001\n\026ListJobTriggersRequest\0225\n" + + "\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.co" + + "m/JobTrigger\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage" + + "_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030" + + "\005 \001(\t\022/\n\004type\030\006 \001(\0162!.google.privacy.dlp" + + ".v2.DlpJobType\022\023\n\013location_id\030\007 \001(\t\"k\n\027L" + + "istJobTriggersResponse\0227\n\014job_triggers\030\001" + + " \003(\0132!.google.privacy.dlp.v2.JobTrigger\022" + + "\027\n\017next_page_token\030\002 \001(\t\"N\n\027DeleteJobTri" + + "ggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.g" + + "oogleapis.com/JobTrigger\"\335\001\n\020InspectJobC" + + "onfig\022<\n\016storage_config\030\001 \001(\0132$.google.p" + + "rivacy.dlp.v2.StorageConfig\022<\n\016inspect_c" + + "onfig\030\002 \001(\0132$.google.privacy.dlp.v2.Insp" + + "ectConfig\022\035\n\025inspect_template_name\030\003 \001(\t" + + "\022.\n\007actions\030\004 \003(\0132\035.google.privacy.dlp.v" + + "2.Action\"\353\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004typ" + + "e\030\002 \001(\0162!.google.privacy.dlp.v2.DlpJobTy" + + "pe\0225\n\005state\030\003 \001(\0162&.google.privacy.dlp.v" + + "2.DlpJob.JobState\022K\n\014risk_details\030\004 \001(\0132" + + "3.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetailsH\000\022J\n\017inspect_details\030\005 \001(\0132" + + "/.google.privacy.dlp.v2.InspectDataSourc" + + "eDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032.google" + + ".protobuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132" + + "\032.google.protobuf.Timestamp\022,\n\010end_time\030" + + "\010 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020job" + + "_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.go" + + "ogle.privacy.dlp.v2.Error\"o\n\010JobState\022\031\n" + + "\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n" + + "\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FA" + + "ILED\020\005\022\n\n\006ACTIVE\020\006:\177\352A|\n\031dlp.googleapis." + + "com/DlpJob\022$projects/{project}/dlpJobs/{" + + "dlp_job}\0229projects/{project}/locations/{" + + "location}/dlpJobs/{dlp_job}B\t\n\007details\"C" + + "\n\020GetDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + + "\n\031dlp.googleapis.com/DlpJob\"\326\001\n\022ListDlpJ" + + "obsRequest\0221\n\006parent\030\004 \001(\tB!\340A\002\372A\033\022\031dlp." + + "googleapis.com/DlpJob\022\016\n\006filter\030\001 \001(\t\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004" + + "type\030\005 \001(\0162!.google.privacy.dlp.v2.DlpJo" + + "bType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030\007" + + " \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(" + + "\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017next" + + "_page_token\030\002 \001(\t\"F\n\023CancelDlpJobRequest" + + "\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.c" + + "om/DlpJob\"F\n\023FinishDlpJobRequest\022/\n\004name" + + "\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJo" + + "b\"F\n\023DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB!" + + "\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037Cr" + + "eateDeidentifyTemplateRequest\022=\n\006parent\030" + + "\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deiden" + + "tifyTemplate\022K\n\023deidentify_template\030\002 \001(" + + "\0132).google.privacy.dlp.v2.DeidentifyTemp" + + "lateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013locati" + + "on_id\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplate" + + "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googl" + + "eapis.com/DeidentifyTemplate\022F\n\023deidenti" + + "fy_template\030\002 \001(\0132).google.privacy.dlp.v" + + "2.DeidentifyTemplate\022/\n\013update_mask\030\003 \001(" + + "\0132\032.google.protobuf.FieldMask\"[\n\034GetDeid" + + "entifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + + "\372A\'\n%dlp.googleapis.com/DeidentifyTempla" + + "te\"\255\001\n\036ListDeidentifyTemplatesRequest\022=\n" + + "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.co" + + "m/DeidentifyTemplate\022\022\n\npage_token\030\002 \001(\t" + + "\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n" + + "\013location_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTem" + + "platesResponse\022G\n\024deidentify_templates\030\001" + + " \003(\0132).google.privacy.dlp.v2.DeidentifyT" + + "emplate\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037Dele" + + "teDeidentifyTemplateRequest\022;\n\004name\030\001 \001(" + + "\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deidentify" + + "Template\"\364\001\n\033LargeCustomDictionaryConfig" + + "\022<\n\013output_path\030\001 \001(\0132\'.google.privacy.d" + + "lp.v2.CloudStoragePath\022L\n\026cloud_storage_" + + "file_set\030\002 \001(\0132*.google.privacy.dlp.v2.C" + + "loudStorageFileSetH\000\022?\n\017big_query_field\030" + + "\003 \001(\0132$.google.privacy.dlp.v2.BigQueryFi" + + "eldH\000B\010\n\006source\"8\n\032LargeCustomDictionary" + + "Stats\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024St" + + "oredInfoTypeConfig\022\024\n\014display_name\030\001 \001(\t" + + "\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_di" + + "ctionary\030\003 \001(\01322.google.privacy.dlp.v2.L" + + "argeCustomDictionaryConfigH\000\022F\n\ndictiona" + + "ry\030\004 \001(\01320.google.privacy.dlp.v2.CustomI" + + "nfoType.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.go" + + "ogle.privacy.dlp.v2.CustomInfoType.Regex" + + "H\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027lar" + + "ge_custom_dictionary\030\001 \001(\01321.google.priv" + + "acy.dlp.v2.LargeCustomDictionaryStatsH\000B" + + "\006\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006con" + + "fig\030\001 \001(\0132+.google.privacy.dlp.v2.Stored" + + "InfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*" + + ".google.privacy.dlp.v2.StoredInfoTypeSta" + + "te\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp." + + "v2.Error\0229\n\005stats\030\005 \001(\0132*.google.privacy" + + ".dlp.v2.StoredInfoTypeStats\"\361\003\n\016StoredIn" + + "foType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030" + + "\002 \001(\0132,.google.privacy.dlp.v2.StoredInfo" + + "TypeVersion\022F\n\020pending_versions\030\003 \003(\0132,." + + "google.privacy.dlp.v2.StoredInfoTypeVers" + + "ion:\301\002\352A\275\002\n!dlp.googleapis.com/StoredInf" + + "oType\022?organizations/{organization}/stor" + + "edInfoTypes/{stored_info_type}\0225projects" + + "/{project}/storedInfoTypes/{stored_info_" + + "type}\022Torganizations/{organization}/loca" + + "tions/{location}/storedInfoTypes/{stored" + + "_info_type}\022Jprojects/{project}/location" + + "s/{location}/storedInfoTypes/{stored_inf" + + "o_type}\"\314\001\n\033CreateStoredInfoTypeRequest\022" + + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis." + + "com/StoredInfoType\022@\n\006config\030\002 \001(\0132+.goo" + + "gle.privacy.dlp.v2.StoredInfoTypeConfigB" + + "\003\340A\002\022\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013loc" + + "ation_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoTypeR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.google" + + "apis.com/StoredInfoType\022;\n\006config\030\002 \001(\0132" + + "+.google.privacy.dlp.v2.StoredInfoTypeCo" + + "nfig\022/\n\013update_mask\030\003 \001(\0132\032.google.proto" + + "buf.FieldMask\"S\n\030GetStoredInfoTypeReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis." + + "com/StoredInfoType\"\245\001\n\032ListStoredInfoTyp" + + "esRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.g" + + "oogleapis.com/StoredInfoType\022\022\n\npage_tok" + + "en\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030" + + "\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"x\n\033ListStored" + + "InfoTypesResponse\022@\n\021stored_info_types\030\001" + + " \003(\0132%.google.privacy.dlp.v2.StoredInfoT" + + "ype\022\027\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteSt" + + "oredInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + + "#\n!dlp.googleapis.com/StoredInfoType\"\224\001\n", + "\036HybridInspectJobTriggerRequest\0223\n\004name\030" + + "\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTri" + + "gger\022=\n\013hybrid_item\030\003 \001(\0132(.google.priva" + + "cy.dlp.v2.HybridContentItem\"\214\001\n\032HybridIn" + + "spectDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + + "\n\031dlp.googleapis.com/DlpJob\022=\n\013hybrid_it" + + "em\030\003 \001(\0132(.google.privacy.dlp.v2.HybridC" + + "ontentItem\"\213\001\n\021HybridContentItem\0220\n\004item" + + "\030\001 \001(\0132\".google.privacy.dlp.v2.ContentIt" + + "em\022D\n\017finding_details\030\002 \001(\0132+.google.pri" + + "vacy.dlp.v2.HybridFindingDetails\"\260\002\n\024Hyb" + + "ridFindingDetails\022;\n\021container_details\030\001" + + " \001(\0132 .google.privacy.dlp.v2.Container\022\023" + + "\n\013file_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022" + + ":\n\rtable_options\030\004 \001(\0132#.google.privacy." + + "dlp.v2.TableOptions\022G\n\006labels\030\005 \003(\01327.go" + + "ogle.privacy.dlp.v2.HybridFindingDetails" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectResp" + + "onse*\273\001\n\022RelationalOperator\022#\n\037RELATIONA" + + "L_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020" + + "\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLE" + + "SS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n" + + "\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014M" + + "atchingType\022\035\n\031MATCHING_TYPE_UNSPECIFIED" + + "\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATC" + + "HING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TY" + + "PE_INVERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023C" + + "ONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021" + + "\n\rCONTENT_IMAGE\020\002*B\n\014MetadataType\022\034\n\030MET" + + "ADATATYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE_METAD" + + "ATA\020\002*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYP" + + "E_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANA" + + "LYSIS\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UN" + + "SPECIFIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANA" + + "LYSIS_JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"ST" + + "ORED_INFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PE" + + "NDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALI" + + "D\020\0042\240L\n\nDlpService\022\333\001\n\016InspectContent\022,." + + "google.privacy.dlp.v2.InspectContentRequ" + + "est\032-.google.privacy.dlp.v2.InspectConte" + + "ntResponse\"l\202\323\344\223\002f\"\'/v2/{parent=projects" + + "/*}/content:inspect:\001*Z8\"3/v2/{parent=pr" + + "ojects/*/locations/*}/content:inspect:\001*" + + "\022\314\001\n\013RedactImage\022).google.privacy.dlp.v2" + + ".RedactImageRequest\032*.google.privacy.dlp" + + ".v2.RedactImageResponse\"f\202\323\344\223\002`\"$/v2/{pa" + + "rent=projects/*}/image:redact:\001*Z5\"0/v2/" + + "{parent=projects/*/locations/*}/image:re" + + "dact:\001*\022\352\001\n\021DeidentifyContent\022/.google.p" + + "rivacy.dlp.v2.DeidentifyContentRequest\0320" + + ".google.privacy.dlp.v2.DeidentifyContent" + + "Response\"r\202\323\344\223\002l\"*/v2/{parent=projects/*" + + "}/content:deidentify:\001*Z;\"6/v2/{parent=p" + + "rojects/*/locations/*}/content:deidentif" + + "y:\001*\022\352\001\n\021ReidentifyContent\022/.google.priv" + + "acy.dlp.v2.ReidentifyContentRequest\0320.go" + + "ogle.privacy.dlp.v2.ReidentifyContentRes" + + "ponse\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/c" + + "ontent:reidentify:\001*Z;\"6/v2/{parent=proj" + + "ects/*/locations/*}/content:reidentify:\001" + + "*\022\260\001\n\rListInfoTypes\022+.google.privacy.dlp" + + ".v2.ListInfoTypesRequest\032,.google.privac" + + "y.dlp.v2.ListInfoTypesResponse\"D\202\323\344\223\0025\022\r" + + "/v2/infoTypesZ$\022\"/v2/{parent=locations/*" + + "}/infoTypes\332A\006parent\022\364\002\n\025CreateInspectTe" + + "mplate\0223.google.privacy.dlp.v2.CreateIns" + + "pectTemplateRequest\032&.google.privacy.dlp" + + ".v2.InspectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{pare" + + "nt=organizations/*}/inspectTemplates:\001*Z" + + ">\"9/v2/{parent=organizations/*/locations" + + "/*}/inspectTemplates:\001*Z-\"(/v2/{parent=p" + + "rojects/*}/inspectTemplates:\001*Z9\"4/v2/{p" + + "arent=projects/*/locations/*}/inspectTem" + + "plates:\001*\332A\027parent,inspect_template\022\376\002\n\025" + + "UpdateInspectTemplate\0223.google.privacy.d" + + "lp.v2.UpdateInspectTemplateRequest\032&.goo" + + "gle.privacy.dlp.v2.InspectTemplate\"\207\002\202\323\344" + + "\223\002\334\0012-/v2/{name=organizations/*/inspectT" + + "emplates/*}:\001*Z>29/v2/{name=organization" + + "s/*/locations/*/inspectTemplates/*}:\001*Z-" + + "2(/v2/{name=projects/*/inspectTemplates/" + + "*}:\001*Z924/v2/{name=projects/*/locations/" + + "*/inspectTemplates/*}:\001*\332A!name,inspect_" + + "template,update_mask\022\317\002\n\022GetInspectTempl" + + "ate\0220.google.privacy.dlp.v2.GetInspectTe" + + "mplateRequest\032&.google.privacy.dlp.v2.In" + + "spectTemplate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organ" + + "izations/*/inspectTemplates/*}Z;\0229/v2/{n" + + "ame=organizations/*/locations/*/inspectT" + + "emplates/*}Z*\022(/v2/{name=projects/*/insp" + + "ectTemplates/*}Z6\0224/v2/{name=projects/*/" + + "locations/*/inspectTemplates/*}\332A\004name\022\342" + + "\002\n\024ListInspectTemplates\0222.google.privacy" + + ".dlp.v2.ListInspectTemplatesRequest\0323.go" + + "ogle.privacy.dlp.v2.ListInspectTemplates" + + "Response\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organiza" + + "tions/*}/inspectTemplatesZ;\0229/v2/{parent" + + "=organizations/*/locations/*}/inspectTem" + + "platesZ*\022(/v2/{parent=projects/*}/inspec" + + "tTemplatesZ6\0224/v2/{parent=projects/*/loc" + + "ations/*}/inspectTemplates\332A\006parent\022\305\002\n\025" + + "DeleteInspectTemplate\0223.google.privacy.d" + + "lp.v2.DeleteInspectTemplateRequest\032\026.goo" + + "gle.protobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=" + + "organizations/*/inspectTemplates/*}Z;*9/" + + "v2/{name=organizations/*/locations/*/ins" + + "pectTemplates/*}Z**(/v2/{name=projects/*" + + "/inspectTemplates/*}Z6*4/v2/{name=projec" + + "ts/*/locations/*/inspectTemplates/*}\332A\004n" + + "ame\022\214\003\n\030CreateDeidentifyTemplate\0226.googl" + + "e.privacy.dlp.v2.CreateDeidentifyTemplat" + + "eRequest\032).google.privacy.dlp.v2.Deident" + + "ifyTemplate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organ" + + "izations/*}/deidentifyTemplates:\001*ZA\"\022\022*" + + "\"9/" + + "v2/{name=projects/*/locations/*/dlpJobs/" + + "*}:hybridInspect:\001*\332A\004name\022\221\001\n\014FinishDlp" + + "Job\022*.google.privacy.dlp.v2.FinishDlpJob" + + "Request\032\026.google.protobuf.Empty\"=\202\323\344\223\0027\"" + + "2/v2/{name=projects/*/locations/*/dlpJob" + + "s/*}:finish:\001*\032F\312A\022dlp.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\372\002\n\031com.google.privacy.dlp.v2B\010Dl" + + "pProtoP\001Z8google.golang.org/genproto/goo" + + "gleapis/privacy/dlp/v2;dlp\252\002\023Google.Clou" + + "d.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google:" + + ":Cloud::Dlp::V2\352Ar\n\035dlp.googleapis.com/D" + + "lpContent\022\035projects/{project}/dlpContent" + + "\0222projects/{project}/locations/{location" + + "}/dlpContent\352A\\\n\'dlp.googleapis.com/Orga" + + "nizationLocation\0221organizations/{organiz" + + "ation}/locations/{location}b\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.privacy.dlp.v2.DlpStorage.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor, + new java.lang.String[] { "InfoTypes", }); + internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor, + new java.lang.String[] { "Dictionary", "Regex", "ExcludeInfoTypes", "MatchingType", "Type", }); + internal_static_google_privacy_dlp_v2_InspectionRule_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectionRule_descriptor, + new java.lang.String[] { "HotwordRule", "ExclusionRule", "Type", }); + internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor, + new java.lang.String[] { "InfoTypes", "Rules", }); + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor, + new java.lang.String[] { "InfoTypes", "MinLikelihood", "Limits", "IncludeQuote", "ExcludeInfoTypes", "CustomInfoTypes", "ContentOptions", "RuleSet", }); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor = + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor, + new java.lang.String[] { "MaxFindingsPerItem", "MaxFindingsPerRequest", "MaxFindingsPerInfoType", }); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor = + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor, + new java.lang.String[] { "InfoType", "MaxFindings", }); + internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor, + new java.lang.String[] { "Type", "Data", }); + internal_static_google_privacy_dlp_v2_ContentItem_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ContentItem_descriptor, + new java.lang.String[] { "Value", "Table", "ByteItem", "DataItem", }); + internal_static_google_privacy_dlp_v2_Table_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Table_descriptor, + new java.lang.String[] { "Headers", "Rows", }); + internal_static_google_privacy_dlp_v2_Table_Row_descriptor = + internal_static_google_privacy_dlp_v2_Table_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Table_Row_descriptor, + new java.lang.String[] { "Values", }); + internal_static_google_privacy_dlp_v2_InspectResult_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectResult_descriptor, + new java.lang.String[] { "Findings", "FindingsTruncated", }); + internal_static_google_privacy_dlp_v2_Finding_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Finding_descriptor, + new java.lang.String[] { "Name", "Quote", "InfoType", "Likelihood", "Location", "CreateTime", "QuoteInfo", "ResourceName", "TriggerName", "Labels", "JobCreateTime", "JobName", "FindingId", }); + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_Finding_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_privacy_dlp_v2_Location_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Location_descriptor, + new java.lang.String[] { "ByteRange", "CodepointRange", "ContentLocations", "Container", }); + internal_static_google_privacy_dlp_v2_ContentLocation_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ContentLocation_descriptor, + new java.lang.String[] { "ContainerName", "RecordLocation", "ImageLocation", "DocumentLocation", "MetadataLocation", "ContainerTimestamp", "ContainerVersion", "Location", }); + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor, + new java.lang.String[] { "Type", "StorageLabel", "Label", }); + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor, + new java.lang.String[] { "Key", }); + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor, + new java.lang.String[] { "FileOffset", }); + internal_static_google_privacy_dlp_v2_RecordLocation_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordLocation_descriptor, + new java.lang.String[] { "RecordKey", "FieldId", "TableLocation", }); + internal_static_google_privacy_dlp_v2_TableLocation_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableLocation_descriptor, + new java.lang.String[] { "RowIndex", }); + internal_static_google_privacy_dlp_v2_Container_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Container_descriptor, + new java.lang.String[] { "Type", "ProjectId", "FullPath", "RootPath", "RelativePath", "UpdateTime", "Version", }); + internal_static_google_privacy_dlp_v2_Range_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Range_descriptor, + new java.lang.String[] { "Start", "End", }); + internal_static_google_privacy_dlp_v2_ImageLocation_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageLocation_descriptor, + new java.lang.String[] { "BoundingBoxes", }); + internal_static_google_privacy_dlp_v2_BoundingBox_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BoundingBox_descriptor, + new java.lang.String[] { "Top", "Left", "Width", "Height", }); + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor, + new java.lang.String[] { "Parent", "LocationId", "InspectConfig", "ImageRedactionConfigs", "IncludeFindings", "ByteItem", }); + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor = + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor, + new java.lang.String[] { "InfoType", "RedactAllText", "RedactionColor", "Target", }); + internal_static_google_privacy_dlp_v2_Color_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Color_descriptor, + new java.lang.String[] { "Red", "Green", "Blue", }); + internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor, + new java.lang.String[] { "RedactedImage", "ExtractedText", "InspectResult", }); + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor, + new java.lang.String[] { "Parent", "DeidentifyConfig", "InspectConfig", "Item", "InspectTemplateName", "DeidentifyTemplateName", "LocationId", }); + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor, + new java.lang.String[] { "Item", "Overview", }); + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor, + new java.lang.String[] { "Parent", "ReidentifyConfig", "InspectConfig", "Item", "InspectTemplateName", "ReidentifyTemplateName", "LocationId", }); + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor, + new java.lang.String[] { "Item", "Overview", }); + internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor, + new java.lang.String[] { "Parent", "InspectConfig", "Item", "InspectTemplateName", "LocationId", }); + internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor, + new java.lang.String[] { "Result", }); + internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor, + new java.lang.String[] { "Table", "OutputSchema", "Type", }); + internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor, + new java.lang.String[] { "InfoType", "Count", }); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor, + new java.lang.String[] { "RequestedOptions", "Result", }); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor = + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor, + new java.lang.String[] { "SnapshotInspectTemplate", "JobConfig", }); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor = + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor, + new java.lang.String[] { "ProcessedBytes", "TotalEstimatedBytes", "InfoTypeStats", "HybridStats", }); + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor, + new java.lang.String[] { "ProcessedCount", "AbortedCount", "PendingCount", }); + internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor, + new java.lang.String[] { "Name", "DisplayName", "SupportedBy", "Description", }); + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor, + new java.lang.String[] { "Parent", "LanguageCode", "Filter", "LocationId", }); + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor, + new java.lang.String[] { "InfoTypes", }); + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor, + new java.lang.String[] { "PrivacyMetric", "SourceTable", "Actions", }); + internal_static_google_privacy_dlp_v2_QuasiId_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_QuasiId_descriptor, + new java.lang.String[] { "Field", "InfoType", "CustomTag", "Inferred", "Tag", }); + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor, + new java.lang.String[] { "Table", "QuasiIds", "RelativeFrequency", }); + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor = + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor, + new java.lang.String[] { "Field", "CustomTag", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor, + new java.lang.String[] { "NumericalStatsConfig", "CategoricalStatsConfig", "KAnonymityConfig", "LDiversityConfig", "KMapEstimationConfig", "DeltaPresenceEstimationConfig", "Type", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor, + new java.lang.String[] { "Field", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor, + new java.lang.String[] { "Field", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor, + new java.lang.String[] { "QuasiIds", "EntityId", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor, + new java.lang.String[] { "QuasiIds", "SensitiveAttribute", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor, + new java.lang.String[] { "QuasiIds", "RegionCode", "AuxiliaryTables", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor, + new java.lang.String[] { "Field", "InfoType", "CustomTag", "Inferred", "Tag", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor, + new java.lang.String[] { "Table", "QuasiIds", "RelativeFrequency", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor, + new java.lang.String[] { "Field", "CustomTag", }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(5); + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor, + new java.lang.String[] { "QuasiIds", "RegionCode", "AuxiliaryTables", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor, + new java.lang.String[] { "RequestedPrivacyMetric", "RequestedSourceTable", "NumericalStatsResult", "CategoricalStatsResult", "KAnonymityResult", "LDiversityResult", "KMapEstimationResult", "DeltaPresenceEstimationResult", "RequestedOptions", "Result", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor, + new java.lang.String[] { "MinValue", "MaxValue", "QuantileValues", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor, + new java.lang.String[] { "ValueFrequencyHistogramBuckets", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor, + new java.lang.String[] { "ValueFrequencyLowerBound", "ValueFrequencyUpperBound", "BucketSize", "BucketValues", "BucketValueCount", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor, + new java.lang.String[] { "EquivalenceClassHistogramBuckets", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor, + new java.lang.String[] { "QuasiIdsValues", "EquivalenceClassSize", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor, + new java.lang.String[] { "EquivalenceClassSizeLowerBound", "EquivalenceClassSizeUpperBound", "BucketSize", "BucketValues", "BucketValueCount", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor, + new java.lang.String[] { "SensitiveValueFrequencyHistogramBuckets", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor, + new java.lang.String[] { "QuasiIdsValues", "EquivalenceClassSize", "NumDistinctSensitiveValues", "TopSensitiveValues", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor, + new java.lang.String[] { "SensitiveValueFrequencyLowerBound", "SensitiveValueFrequencyUpperBound", "BucketSize", "BucketValues", "BucketValueCount", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor, + new java.lang.String[] { "KMapEstimationHistogram", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor, + new java.lang.String[] { "QuasiIdsValues", "EstimatedAnonymity", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor, + new java.lang.String[] { "MinAnonymity", "MaxAnonymity", "BucketSize", "BucketValues", "BucketValueCount", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(5); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor, + new java.lang.String[] { "DeltaPresenceEstimationHistogram", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor, + new java.lang.String[] { "QuasiIdsValues", "EstimatedProbability", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor, + new java.lang.String[] { "MinProbability", "MaxProbability", "BucketSize", "BucketValues", "BucketValueCount", }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(6); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor, + new java.lang.String[] { "JobConfig", }); + internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor, + new java.lang.String[] { "Value", "Count", }); + internal_static_google_privacy_dlp_v2_Value_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Value_descriptor, + new java.lang.String[] { "IntegerValue", "FloatValue", "StringValue", "BooleanValue", "TimestampValue", "TimeValue", "DateValue", "DayOfWeekValue", "Type", }); + internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor, + new java.lang.String[] { "DateTime", "ParsedQuote", }); + internal_static_google_privacy_dlp_v2_DateTime_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DateTime_descriptor, + new java.lang.String[] { "Date", "DayOfWeek", "Time", "TimeZone", }); + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor = + internal_static_google_privacy_dlp_v2_DateTime_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor, + new java.lang.String[] { "OffsetMinutes", }); + internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor, + new java.lang.String[] { "InfoTypeTransformations", "RecordTransformations", "TransformationErrorHandling", "Transformation", }); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor, + new java.lang.String[] { "ThrowError", "LeaveUntransformed", "Mode", }); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor = + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor = + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor, + new java.lang.String[] { "ReplaceConfig", "RedactConfig", "CharacterMaskConfig", "CryptoReplaceFfxFpeConfig", "FixedSizeBucketingConfig", "BucketingConfig", "ReplaceWithInfoTypeConfig", "TimePartConfig", "CryptoHashConfig", "DateShiftConfig", "CryptoDeterministicConfig", "ReplaceDictionaryConfig", "Transformation", }); + internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor, + new java.lang.String[] { "PartToExtract", }); + internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor, + new java.lang.String[] { "CryptoKey", }); + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor, + new java.lang.String[] { "CryptoKey", "SurrogateInfoType", "Context", }); + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor, + new java.lang.String[] { "NewValue", }); + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor, + new java.lang.String[] { "WordList", "Type", }); + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_RedactConfig_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactConfig_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor, + new java.lang.String[] { "CharactersToSkip", "CommonCharactersToIgnore", "Characters", }); + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor, + new java.lang.String[] { "MaskingCharacter", "NumberToMask", "ReverseOrder", "CharactersToIgnore", }); + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor, + new java.lang.String[] { "LowerBound", "UpperBound", "BucketSize", }); + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor, + new java.lang.String[] { "Buckets", }); + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor = + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor, + new java.lang.String[] { "Min", "Max", "ReplacementValue", }); + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor, + new java.lang.String[] { "CryptoKey", "Context", "CommonAlphabet", "CustomAlphabet", "Radix", "SurrogateInfoType", "Alphabet", }); + internal_static_google_privacy_dlp_v2_CryptoKey_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoKey_descriptor, + new java.lang.String[] { "Transient", "Unwrapped", "KmsWrapped", "Source", }); + internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor, + new java.lang.String[] { "Key", }); + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor, + new java.lang.String[] { "WrappedKey", "CryptoKeyName", }); + internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor, + new java.lang.String[] { "UpperBoundDays", "LowerBoundDays", "Context", "CryptoKey", "Method", }); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor, + new java.lang.String[] { "Transformations", }); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor = + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor, + new java.lang.String[] { "InfoTypes", "PrimitiveTransformation", }); + internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor, + new java.lang.String[] { "Fields", "Condition", "PrimitiveTransformation", "InfoTypeTransformations", "Transformation", }); + internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor, + new java.lang.String[] { "FieldTransformations", "RecordSuppressions", }); + internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor, + new java.lang.String[] { "Condition", }); + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor, + new java.lang.String[] { "Expressions", }); + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor = + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor, + new java.lang.String[] { "Field", "Operator", "Value", }); + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor = + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor, + new java.lang.String[] { "Conditions", }); + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor = + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor, + new java.lang.String[] { "LogicalOperator", "Conditions", "Type", }); + internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor, + new java.lang.String[] { "TransformedBytes", "TransformationSummaries", }); + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor, + new java.lang.String[] { "InfoType", "Field", "Transformation", "FieldTransformations", "RecordSuppress", "Results", "TransformedBytes", }); + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor = + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor, + new java.lang.String[] { "Count", "Code", "Details", }); + internal_static_google_privacy_dlp_v2_Schedule_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Schedule_descriptor, + new java.lang.String[] { "RecurrencePeriodDuration", "Option", }); + internal_static_google_privacy_dlp_v2_Manual_descriptor = + getDescriptor().getMessageTypes().get(74); + internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Manual_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor = + getDescriptor().getMessageTypes().get(75); + internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "InspectConfig", }); + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "DeidentifyConfig", }); + internal_static_google_privacy_dlp_v2_Error_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Error_descriptor, + new java.lang.String[] { "Details", "Timestamps", }); + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", "InspectJob", "Triggers", "Errors", "CreateTime", "UpdateTime", "LastRunTime", "Status", "Job", }); + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor = + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor, + new java.lang.String[] { "Schedule", "Manual", "Trigger", }); + internal_static_google_privacy_dlp_v2_Action_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_descriptor, + new java.lang.String[] { "SaveFindings", "PubSub", "PublishSummaryToCscc", "PublishFindingsToCloudDataCatalog", "JobNotificationEmails", "PublishToStackdriver", "Action", }); + internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor, + new java.lang.String[] { "OutputConfig", }); + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor, + new java.lang.String[] { "Topic", }); + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor, + new java.lang.String[] { "Parent", "InspectTemplate", "TemplateId", "LocationId", }); + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor, + new java.lang.String[] { "Name", "InspectTemplate", "UpdateMask", }); + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(82); + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor = + getDescriptor().getMessageTypes().get(83); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor = + getDescriptor().getMessageTypes().get(84); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor, + new java.lang.String[] { "InspectTemplates", "NextPageToken", }); + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(85); + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(86); + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor, + new java.lang.String[] { "Parent", "JobTrigger", "TriggerId", "LocationId", }); + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(87); + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(88); + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, + new java.lang.String[] { "Name", "JobTrigger", "UpdateMask", }); + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(89); + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(90); + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, + new java.lang.String[] { "Parent", "InspectJob", "RiskJob", "JobId", "LocationId", "Job", }); + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = + getDescriptor().getMessageTypes().get(91); + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "Type", "LocationId", }); + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = + getDescriptor().getMessageTypes().get(92); + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, + new java.lang.String[] { "JobTriggers", "NextPageToken", }); + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(93); + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = + getDescriptor().getMessageTypes().get(94); + internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, + new java.lang.String[] { "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", }); + internal_static_google_privacy_dlp_v2_DlpJob_descriptor = + getDescriptor().getMessageTypes().get(95); + internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DlpJob_descriptor, + new java.lang.String[] { "Name", "Type", "State", "RiskDetails", "InspectDetails", "CreateTime", "StartTime", "EndTime", "JobTriggerName", "Errors", "Details", }); + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(96); + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(97); + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", "LocationId", }); + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(98); + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", }); + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(99); + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(100); + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(101); + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(102); + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { "Parent", "DeidentifyTemplate", "TemplateId", "LocationId", }); + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(103); + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { "Name", "DeidentifyTemplate", "UpdateMask", }); + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(104); + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = + getDescriptor().getMessageTypes().get(105); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = + getDescriptor().getMessageTypes().get(106); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, + new java.lang.String[] { "DeidentifyTemplates", "NextPageToken", }); + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(107); + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = + getDescriptor().getMessageTypes().get(108); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, + new java.lang.String[] { "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", }); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = + getDescriptor().getMessageTypes().get(109); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, + new java.lang.String[] { "ApproxNumPhrases", }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(110); + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, + new java.lang.String[] { "DisplayName", "Description", "LargeCustomDictionary", "Dictionary", "Regex", "Type", }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = + getDescriptor().getMessageTypes().get(111); + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, + new java.lang.String[] { "LargeCustomDictionary", "Type", }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = + getDescriptor().getMessageTypes().get(112); + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, + new java.lang.String[] { "Config", "CreateTime", "State", "Errors", "Stats", }); + internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = + getDescriptor().getMessageTypes().get(113); + internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, + new java.lang.String[] { "Name", "CurrentVersion", "PendingVersions", }); + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(114); + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, + new java.lang.String[] { "Parent", "Config", "StoredInfoTypeId", "LocationId", }); + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(115); + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, + new java.lang.String[] { "Name", "Config", "UpdateMask", }); + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(116); + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(117); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = + getDescriptor().getMessageTypes().get(118); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, + new java.lang.String[] { "StoredInfoTypes", "NextPageToken", }); + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(119); + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(120); + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor, + new java.lang.String[] { "Name", "HybridItem", }); + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(121); + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor, + new java.lang.String[] { "Name", "HybridItem", }); + internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor = + getDescriptor().getMessageTypes().get(122); + internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor, + new java.lang.String[] { "Item", "FindingDetails", }); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor = + getDescriptor().getMessageTypes().get(123); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor, + new java.lang.String[] { "ContainerDetails", "FileOffset", "RowOffset", "TableOptions", "Labels", }); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor = + getDescriptor().getMessageTypes().get(124); + internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor, + new java.lang.String[] { }); + 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.resourceDefinition); + 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.privacy.dlp.v2.DlpStorage.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java new file mode 100644 index 00000000..c03c46d5 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -0,0 +1,543 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/storage.proto + +package com.google.privacy.dlp.v2; + +public final class DlpStorage { + private DlpStorage() {} + 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_privacy_dlp_v2_InfoType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FieldId_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PartitionId_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Key_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_EntityId_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableOptions_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/privacy/dlp/v2/storage.proto\022\025g" + + "oogle.privacy.dlp.v2\032\031google/api/resourc" + + "e.proto\032\037google/protobuf/timestamp.proto" + + "\")\n\010InfoType\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 " + + "\001(\t\"K\n\nStoredType\022\014\n\004name\030\001 \001(\t\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\"\310\013\n\016CustomInfoType\0222\n\tinfo_type\030\001 \001(\0132\037" + + ".google.privacy.dlp.v2.InfoType\0225\n\nlikel" + + "ihood\030\006 \001(\0162!.google.privacy.dlp.v2.Like" + + "lihood\022F\n\ndictionary\030\002 \001(\01320.google.priv" + + "acy.dlp.v2.CustomInfoType.DictionaryH\000\022<" + + "\n\005regex\030\003 \001(\0132+.google.privacy.dlp.v2.Cu" + + "stomInfoType.RegexH\000\022M\n\016surrogate_type\030\004" + + " \001(\01323.google.privacy.dlp.v2.CustomInfoT" + + "ype.SurrogateTypeH\000\0228\n\013stored_type\030\005 \001(\013" + + "2!.google.privacy.dlp.v2.StoredTypeH\000\022L\n" + + "\017detection_rules\030\007 \003(\01323.google.privacy." + + "dlp.v2.CustomInfoType.DetectionRule\022K\n\016e" + + "xclusion_type\030\010 \001(\01623.google.privacy.dlp" + + ".v2.CustomInfoType.ExclusionType\032\310\001\n\nDic" + + "tionary\022N\n\tword_list\030\001 \001(\01329.google.priv" + + "acy.dlp.v2.CustomInfoType.Dictionary.Wor" + + "dListH\000\022E\n\022cloud_storage_path\030\003 \001(\0132\'.go" + + "ogle.privacy.dlp.v2.CloudStoragePathH\000\032\031" + + "\n\010WordList\022\r\n\005words\030\001 \003(\tB\010\n\006source\032/\n\005R" + + "egex\022\017\n\007pattern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002" + + " \003(\005\032\017\n\rSurrogateType\032\276\004\n\rDetectionRule\022" + + "W\n\014hotword_rule\030\001 \001(\0132?.google.privacy.d" + + "lp.v2.CustomInfoType.DetectionRule.Hotwo" + + "rdRuleH\000\0328\n\tProximity\022\025\n\rwindow_before\030\001" + + " \001(\005\022\024\n\014window_after\030\002 \001(\005\032\202\001\n\024Likelihoo" + + "dAdjustment\022=\n\020fixed_likelihood\030\001 \001(\0162!." + + "google.privacy.dlp.v2.LikelihoodH\000\022\035\n\023re" + + "lative_likelihood\030\002 \001(\005H\000B\014\n\nadjustment\032" + + "\214\002\n\013HotwordRule\022B\n\rhotword_regex\030\001 \001(\0132+" + + ".google.privacy.dlp.v2.CustomInfoType.Re" + + "gex\022P\n\tproximity\030\002 \001(\0132=.google.privacy." + + "dlp.v2.CustomInfoType.DetectionRule.Prox" + + "imity\022g\n\025likelihood_adjustment\030\003 \001(\0132H.g" + + "oogle.privacy.dlp.v2.CustomInfoType.Dete" + + "ctionRule.LikelihoodAdjustmentB\006\n\004type\"K" + + "\n\rExclusionType\022\036\n\032EXCLUSION_TYPE_UNSPEC" + + "IFIED\020\000\022\032\n\026EXCLUSION_TYPE_EXCLUDE\020\001B\006\n\004t" + + "ype\"\027\n\007FieldId\022\014\n\004name\030\001 \001(\t\"7\n\013Partitio" + + "nId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014namespace_id\030" + + "\004 \001(\t\"\036\n\016KindExpression\022\014\n\004name\030\001 \001(\t\"\201\001" + + "\n\020DatastoreOptions\0228\n\014partition_id\030\001 \001(\013" + + "2\".google.privacy.dlp.v2.PartitionId\0223\n\004" + + "kind\030\002 \001(\0132%.google.privacy.dlp.v2.KindE" + + "xpression\"]\n\030CloudStorageRegexFileSet\022\023\n" + + "\013bucket_name\030\001 \001(\t\022\025\n\rinclude_regex\030\002 \003(" + + "\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003\n\023CloudStorag" + + "eOptions\022D\n\010file_set\030\001 \001(\01322.google.priv" + + "acy.dlp.v2.CloudStorageOptions.FileSet\022\034" + + "\n\024bytes_limit_per_file\030\004 \001(\003\022$\n\034bytes_li" + + "mit_per_file_percent\030\010 \001(\005\0223\n\nfile_types" + + "\030\005 \003(\0162\037.google.privacy.dlp.v2.FileType\022" + + "N\n\rsample_method\030\006 \001(\01627.google.privacy." + + "dlp.v2.CloudStorageOptions.SampleMethod\022" + + "\033\n\023files_limit_percent\030\007 \001(\005\032_\n\007FileSet\022" + + "\013\n\003url\030\001 \001(\t\022G\n\016regex_file_set\030\002 \001(\0132/.g" + + "oogle.privacy.dlp.v2.CloudStorageRegexFi" + + "leSet\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_U" + + "NSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"" + + "\"\n\023CloudStorageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020C" + + "loudStoragePath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQue" + + "ryOptions\022=\n\017table_reference\030\001 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTable\022:\n\022iden" + + "tifying_fields\030\002 \003(\0132\036.google.privacy.dl" + + "p.v2.FieldId\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows" + + "_limit_percent\030\006 \001(\005\022J\n\rsample_method\030\004 " + + "\001(\01623.google.privacy.dlp.v2.BigQueryOpti" + + "ons.SampleMethod\0227\n\017excluded_fields\030\005 \003(" + + "\0132\036.google.privacy.dlp.v2.FieldId\0227\n\017inc" + + "luded_fields\030\007 \003(\0132\036.google.privacy.dlp." + + "v2.FieldId\"H\n\014SampleMethod\022\035\n\031SAMPLE_MET" + + "HOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_STA" + + "RT\020\002\"\332\004\n\rStorageConfig\022D\n\021datastore_opti" + + "ons\030\002 \001(\0132\'.google.privacy.dlp.v2.Datast" + + "oreOptionsH\000\022K\n\025cloud_storage_options\030\003 " + + "\001(\0132*.google.privacy.dlp.v2.CloudStorage" + + "OptionsH\000\022C\n\021big_query_options\030\004 \001(\0132&.g" + + "oogle.privacy.dlp.v2.BigQueryOptionsH\000\022>" + + "\n\016hybrid_options\030\t \001(\0132$.google.privacy." + + "dlp.v2.HybridOptionsH\000\022L\n\017timespan_confi" + + "g\030\006 \001(\01323.google.privacy.dlp.v2.StorageC" + + "onfig.TimespanConfig\032\332\001\n\016TimespanConfig\022" + + ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022,\n\010end_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\0227\n\017timestamp_field\030\003 \001(\0132\036" + + ".google.privacy.dlp.v2.FieldId\0221\n)enable" + + "_auto_population_of_timespan_config\030\004 \001(" + + "\010B\006\n\004type\"\366\001\n\rHybridOptions\022\023\n\013descripti" + + "on\030\001 \001(\t\022#\n\033required_finding_label_keys\030" + + "\002 \003(\t\022@\n\006labels\030\003 \003(\01320.google.privacy.d" + + "lp.v2.HybridOptions.LabelsEntry\022:\n\rtable" + + "_options\030\004 \001(\0132#.google.privacy.dlp.v2.T" + + "ableOptions\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"`\n\013BigQueryKey\022=\n\017tab" + + "le_reference\030\001 \001(\0132$.google.privacy.dlp." + + "v2.BigQueryTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014" + + "DatastoreKey\022.\n\nentity_key\030\001 \001(\0132\032.googl" + + "e.privacy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014partitio" + + "n_id\030\001 \001(\0132\".google.privacy.dlp.v2.Parti" + + "tionId\0224\n\004path\030\002 \003(\0132&.google.privacy.dl" + + "p.v2.Key.PathElement\032D\n\013PathElement\022\014\n\004k" + + "ind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B" + + "\t\n\007id_type\"\241\001\n\tRecordKey\022<\n\rdatastore_ke" + + "y\030\002 \001(\0132#.google.privacy.dlp.v2.Datastor" + + "eKeyH\000\022;\n\rbig_query_key\030\003 \001(\0132\".google.p" + + "rivacy.dlp.v2.BigQueryKeyH\000\022\021\n\tid_values" + + "\030\005 \003(\tB\006\n\004type\"I\n\rBigQueryTable\022\022\n\nproje" + + "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" + + "_id\030\003 \001(\t\"s\n\rBigQueryField\0223\n\005table\030\001 \001(" + + "\0132$.google.privacy.dlp.v2.BigQueryTable\022" + + "-\n\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.F" + + "ieldId\"9\n\010EntityId\022-\n\005field\030\001 \001(\0132\036.goog" + + "le.privacy.dlp.v2.FieldId\"J\n\014TableOption" + + "s\022:\n\022identifying_fields\030\001 \003(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId*t\n\nLikelihood\022\032\n\026L" + + "IKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY" + + "\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY" + + "\020\004\022\017\n\013VERY_LIKELY\020\005*\232\001\n\010FileType\022\031\n\025FILE" + + "_TYPE_UNSPECIFIED\020\000\022\017\n\013BINARY_FILE\020\001\022\r\n\t" + + "TEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n\003PDF\020" + + "\006\022\010\n\004AVRO\020\007\022\007\n\003CSV\020\010\022\007\n\003TSV\020\t\022\016\n\nPOWERPO" + + "INT\020\013\022\t\n\005EXCEL\020\014B\250\001\n\031com.google.privacy." + + "dlp.v2B\nDlpStorageP\001Z8google.golang.org/" + + "genproto/googleapis/privacy/dlp/v2;dlp\252\002" + + "\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\" + + "V2\352\002\026Google::Cloud::Dlp::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_privacy_dlp_v2_InfoType_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoType_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_privacy_dlp_v2_StoredType_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredType_descriptor, + new java.lang.String[] { "Name", "CreateTime", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor, + new java.lang.String[] { "InfoType", "Likelihood", "Dictionary", "Regex", "SurrogateType", "StoredType", "DetectionRules", "ExclusionType", "Type", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor, + new java.lang.String[] { "WordList", "CloudStoragePath", "Source", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor, + new java.lang.String[] { "Words", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor, + new java.lang.String[] { "Pattern", "GroupIndexes", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor, + new java.lang.String[] { "HotwordRule", "Type", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor, + new java.lang.String[] { "WindowBefore", "WindowAfter", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor, + new java.lang.String[] { "FixedLikelihood", "RelativeLikelihood", "Adjustment", }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor, + new java.lang.String[] { "HotwordRegex", "Proximity", "LikelihoodAdjustment", }); + internal_static_google_privacy_dlp_v2_FieldId_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FieldId_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_PartitionId_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PartitionId_descriptor, + new java.lang.String[] { "ProjectId", "NamespaceId", }); + internal_static_google_privacy_dlp_v2_KindExpression_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_KindExpression_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor, + new java.lang.String[] { "PartitionId", "Kind", }); + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor, + new java.lang.String[] { "BucketName", "IncludeRegex", "ExcludeRegex", }); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor, + new java.lang.String[] { "FileSet", "BytesLimitPerFile", "BytesLimitPerFilePercent", "FileTypes", "SampleMethod", "FilesLimitPercent", }); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor = + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor, + new java.lang.String[] { "Url", "RegexFileSet", }); + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor, + new java.lang.String[] { "Url", }); + internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor, + new java.lang.String[] { "Path", }); + internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor, + new java.lang.String[] { "TableReference", "IdentifyingFields", "RowsLimit", "RowsLimitPercent", "SampleMethod", "ExcludedFields", "IncludedFields", }); + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor, + new java.lang.String[] { "DatastoreOptions", "CloudStorageOptions", "BigQueryOptions", "HybridOptions", "TimespanConfig", "Type", }); + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor = + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "TimestampField", "EnableAutoPopulationOfTimespanConfig", }); + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor, + new java.lang.String[] { "Description", "RequiredFindingLabelKeys", "Labels", "TableOptions", }); + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor, + new java.lang.String[] { "TableReference", "RowNumber", }); + internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor, + new java.lang.String[] { "EntityKey", }); + internal_static_google_privacy_dlp_v2_Key_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Key_descriptor, + new java.lang.String[] { "PartitionId", "Path", }); + internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor = + internal_static_google_privacy_dlp_v2_Key_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor, + new java.lang.String[] { "Kind", "Id", "Name", "IdType", }); + internal_static_google_privacy_dlp_v2_RecordKey_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordKey_descriptor, + new java.lang.String[] { "DatastoreKey", "BigQueryKey", "IdValues", "Type", }); + internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor, + new java.lang.String[] { "ProjectId", "DatasetId", "TableId", }); + internal_static_google_privacy_dlp_v2_BigQueryField_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryField_descriptor, + new java.lang.String[] { "Table", "Field", }); + internal_static_google_privacy_dlp_v2_EntityId_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_EntityId_descriptor, + new java.lang.String[] { "Field", }); + internal_static_google_privacy_dlp_v2_TableOptions_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableOptions_descriptor, + new java.lang.String[] { "IdentifyingFields", }); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java index 8362b9c0..02e0e441 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Location of a finding within a document.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DocumentLocation} */ -public final class DocumentLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DocumentLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DocumentLocation) DocumentLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DocumentLocation.newBuilder() to construct. private DocumentLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DocumentLocation() {} + private DocumentLocation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocumentLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DocumentLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,57 +52,52 @@ private DocumentLocation( case 0: done = true; break; - case 8: - { - fileOffset_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + fileOffset_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DocumentLocation.class, - com.google.privacy.dlp.v2.DocumentLocation.Builder.class); + com.google.privacy.dlp.v2.DocumentLocation.class, com.google.privacy.dlp.v2.DocumentLocation.Builder.class); } public static final int FILE_OFFSET_FIELD_NUMBER = 1; private long fileOffset_; /** - * - * *
    * Offset of the line, from the beginning of the file, where the finding
    * is located.
    * 
* * int64 file_offset = 1; - * * @return The fileOffset. */ @java.lang.Override @@ -127,7 +106,6 @@ public long getFileOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (fileOffset_ != 0L) { output.writeInt64(1, fileOffset_); } @@ -153,7 +132,8 @@ public int getSerializedSize() { size = 0; if (fileOffset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, fileOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, fileOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -163,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DocumentLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DocumentLocation other = - (com.google.privacy.dlp.v2.DocumentLocation) obj; + com.google.privacy.dlp.v2.DocumentLocation other = (com.google.privacy.dlp.v2.DocumentLocation) obj; - if (getFileOffset() != other.getFileOffset()) return false; + if (getFileOffset() + != other.getFileOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,133 +164,125 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FILE_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFileOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFileOffset()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DocumentLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DocumentLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DocumentLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DocumentLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Location of a finding within a document.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DocumentLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DocumentLocation) com.google.privacy.dlp.v2.DocumentLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DocumentLocation.class, - com.google.privacy.dlp.v2.DocumentLocation.Builder.class); + com.google.privacy.dlp.v2.DocumentLocation.class, com.google.privacy.dlp.v2.DocumentLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.DocumentLocation.newBuilder() @@ -318,15 +290,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -336,9 +309,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; } @java.lang.Override @@ -357,8 +330,7 @@ public com.google.privacy.dlp.v2.DocumentLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.DocumentLocation buildPartial() { - com.google.privacy.dlp.v2.DocumentLocation result = - new com.google.privacy.dlp.v2.DocumentLocation(this); + com.google.privacy.dlp.v2.DocumentLocation result = new com.google.privacy.dlp.v2.DocumentLocation(this); result.fileOffset_ = fileOffset_; onBuilt(); return result; @@ -368,39 +340,38 @@ public com.google.privacy.dlp.v2.DocumentLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DocumentLocation) { - return mergeFrom((com.google.privacy.dlp.v2.DocumentLocation) other); + return mergeFrom((com.google.privacy.dlp.v2.DocumentLocation)other); } else { super.mergeFrom(other); return this; @@ -441,17 +412,14 @@ public Builder mergeFrom( return this; } - private long fileOffset_; + private long fileOffset_ ; /** - * - * *
      * Offset of the line, from the beginning of the file, where the finding
      * is located.
      * 
* * int64 file_offset = 1; - * * @return The fileOffset. */ @java.lang.Override @@ -459,45 +427,39 @@ public long getFileOffset() { return fileOffset_; } /** - * - * *
      * Offset of the line, from the beginning of the file, where the finding
      * is located.
      * 
* * int64 file_offset = 1; - * * @param value The fileOffset to set. * @return This builder for chaining. */ public Builder setFileOffset(long value) { - + fileOffset_ = value; onChanged(); return this; } /** - * - * *
      * Offset of the line, from the beginning of the file, where the finding
      * is located.
      * 
* * int64 file_offset = 1; - * * @return This builder for chaining. */ public Builder clearFileOffset() { - + fileOffset_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -507,12 +469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DocumentLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DocumentLocation) private static final com.google.privacy.dlp.v2.DocumentLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DocumentLocation(); } @@ -521,16 +483,16 @@ public static com.google.privacy.dlp.v2.DocumentLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -545,4 +507,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DocumentLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java new file mode 100644 index 00000000..0d21b29d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DocumentLocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DocumentLocation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Offset of the line, from the beginning of the file, where the finding
+   * is located.
+   * 
+ * + * int64 file_offset = 1; + * @return The fileOffset. + */ + long getFileOffset(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java index 19589d4b..ea9a60e4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * An entity in a dataset is a field or set of fields that correspond to a
  * single person. For example, in medical records the `EntityId` might be a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.EntityId}
  */
-public final class EntityId extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EntityId extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.EntityId)
     EntityIdOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EntityId.newBuilder() to construct.
   private EntityId(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private EntityId() {}
+  private EntityId() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EntityId();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private EntityId(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,66 +56,59 @@ private EntityId(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (field_ != null) {
-                subBuilder = field_.toBuilder();
-              }
-              field_ =
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(field_);
-                field_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+            if (field_ != null) {
+              subBuilder = field_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(field_);
+              field_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_EntityId_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.EntityId.class,
-            com.google.privacy.dlp.v2.EntityId.Builder.class);
+            com.google.privacy.dlp.v2.EntityId.class, com.google.privacy.dlp.v2.EntityId.Builder.class);
   }
 
   public static final int FIELD_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.FieldId field_;
   /**
-   *
-   *
    * 
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -139,14 +116,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -154,8 +128,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
    * Composite key indicating which field contains the entity identifier.
    * 
@@ -168,7 +140,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } @@ -194,7 +166,8 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getField()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,7 +177,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.privacy.dlp.v2.EntityId)) { return super.equals(obj); @@ -213,7 +186,8 @@ public boolean equals(final java.lang.Object obj) { if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -235,103 +209,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.EntityId parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.EntityId parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.EntityId parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.EntityId parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.EntityId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.EntityId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.EntityId 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.privacy.dlp.v2.EntityId parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.EntityId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 entity in a dataset is a field or set of fields that correspond to a
    * single person. For example, in medical records the `EntityId` might be a
@@ -342,23 +310,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.EntityId}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.EntityId)
       com.google.privacy.dlp.v2.EntityIdOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_EntityId_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.EntityId.class,
-              com.google.privacy.dlp.v2.EntityId.Builder.class);
+              com.google.privacy.dlp.v2.EntityId.class, com.google.privacy.dlp.v2.EntityId.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.EntityId.newBuilder()
@@ -366,15 +332,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +355,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_EntityId_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_descriptor;
     }
 
     @java.lang.Override
@@ -423,39 +390,38 @@ public com.google.privacy.dlp.v2.EntityId buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.EntityId) {
-        return mergeFrom((com.google.privacy.dlp.v2.EntityId) other);
+        return mergeFrom((com.google.privacy.dlp.v2.EntityId)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,33 +464,24 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.FieldId field_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
-        fieldBuilder_;
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
     /**
-     *
-     *
      * 
      * Composite key indicating which field contains the entity identifier.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -535,8 +492,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -557,15 +512,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -576,8 +530,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -588,7 +540,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -600,8 +552,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -620,8 +570,6 @@ public Builder clearField() { return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -629,13 +577,11 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -646,12 +592,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -659,24 +604,21 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -686,12 +628,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.EntityId) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.EntityId) private static final com.google.privacy.dlp.v2.EntityId DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.EntityId(); } @@ -700,16 +642,16 @@ public static com.google.privacy.dlp.v2.EntityId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityId(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EntityId(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -724,4 +666,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.EntityId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java similarity index 59% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java index 0a4c328f..f34df9f9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface EntityIdOrBuilder - extends +public interface EntityIdOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.EntityId) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
    * Composite key indicating which field contains the entity identifier.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java index 99e163b9..b9f10fd0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Details information about an error encountered during job execution or
  * the results of an unsuccessful activation of the JobTrigger.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Error}
  */
-public final class Error extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Error extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Error)
     ErrorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Error.newBuilder() to construct.
   private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Error() {
     timestamps_ = 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 Error();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Error(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,43 +55,42 @@ private Error(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (details_ != null) {
-                subBuilder = details_.toBuilder();
-              }
-              details_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(details_);
-                details_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (details_ != null) {
+              subBuilder = details_.toBuilder();
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                timestamps_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              timestamps_.add(
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry));
-              break;
+            details_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(details_);
+              details_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              timestamps_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            timestamps_.add(
+                input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         timestamps_ = java.util.Collections.unmodifiableList(timestamps_);
@@ -117,17 +99,15 @@ private Error(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Error_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Error.class, com.google.privacy.dlp.v2.Error.Builder.class);
   }
@@ -135,14 +115,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int DETAILS_FIELD_NUMBER = 1;
   private com.google.rpc.Status details_;
   /**
-   *
-   *
    * 
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; - * * @return Whether the details field is set. */ @java.lang.Override @@ -150,14 +127,11 @@ public boolean hasDetails() { return details_ != null; } /** - * - * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; - * * @return The details. */ @java.lang.Override @@ -165,8 +139,6 @@ public com.google.rpc.Status getDetails() { return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; } /** - * - * *
    * Detailed error codes and messages.
    * 
@@ -181,8 +153,6 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { public static final int TIMESTAMPS_FIELD_NUMBER = 2; private java.util.List timestamps_; /** - * - * *
    * The times the error occurred.
    * 
@@ -194,8 +164,6 @@ public java.util.List getTimestampsList() { return timestamps_; } /** - * - * *
    * The times the error occurred.
    * 
@@ -203,13 +171,11 @@ public java.util.List getTimestampsList() { * repeated .google.protobuf.Timestamp timestamps = 2; */ @java.lang.Override - public java.util.List + public java.util.List getTimestampsOrBuilderList() { return timestamps_; } /** - * - * *
    * The times the error occurred.
    * 
@@ -221,8 +187,6 @@ public int getTimestampsCount() { return timestamps_.size(); } /** - * - * *
    * The times the error occurred.
    * 
@@ -234,8 +198,6 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { return timestamps_.get(index); } /** - * - * *
    * The times the error occurred.
    * 
@@ -243,12 +205,12 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { * repeated .google.protobuf.Timestamp timestamps = 2; */ @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) { + public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( + int index) { return timestamps_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (details_ != null) { output.writeMessage(1, getDetails()); } @@ -277,10 +240,12 @@ public int getSerializedSize() { size = 0; if (details_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDetails()); } for (int i = 0; i < timestamps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, timestamps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, timestamps_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,7 +255,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.privacy.dlp.v2.Error)) { return super.equals(obj); @@ -299,9 +264,11 @@ public boolean equals(final java.lang.Object obj) { if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails().equals(other.getDetails())) return false; + if (!getDetails() + .equals(other.getDetails())) return false; } - if (!getTimestampsList().equals(other.getTimestampsList())) return false; + if (!getTimestampsList() + .equals(other.getTimestampsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,103 +293,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Error parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Error parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Error parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Error parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Error parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Error parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Error parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Error parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Error 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.privacy.dlp.v2.Error parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Error parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details information about an error encountered during job execution or
    * the results of an unsuccessful activation of the JobTrigger.
@@ -430,20 +391,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Error}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Error)
       com.google.privacy.dlp.v2.ErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Error_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Error.class, com.google.privacy.dlp.v2.Error.Builder.class);
     }
@@ -453,17 +413,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTimestampsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -483,9 +443,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Error_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_descriptor;
     }
 
     @java.lang.Override
@@ -528,39 +488,38 @@ public com.google.privacy.dlp.v2.Error buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Error) {
-        return mergeFrom((com.google.privacy.dlp.v2.Error) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Error)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -590,10 +549,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Error other) {
             timestampsBuilder_ = null;
             timestamps_ = other.timestamps_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            timestampsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTimestampsFieldBuilder()
-                    : null;
+            timestampsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTimestampsFieldBuilder() : null;
           } else {
             timestampsBuilder_.addAllMessages(other.timestamps_);
           }
@@ -627,36 +585,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.rpc.Status details_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        detailsBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> detailsBuilder_;
     /**
-     *
-     *
      * 
      * Detailed error codes and messages.
      * 
* * .google.rpc.Status details = 1; - * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** - * - * *
      * Detailed error codes and messages.
      * 
* * .google.rpc.Status details = 1; - * * @return The details. */ public com.google.rpc.Status getDetails() { @@ -667,8 +617,6 @@ public com.google.rpc.Status getDetails() { } } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -689,15 +637,14 @@ public Builder setDetails(com.google.rpc.Status value) { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
* * .google.rpc.Status details = 1; */ - public Builder setDetails(com.google.rpc.Status.Builder builderForValue) { + public Builder setDetails( + com.google.rpc.Status.Builder builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -708,8 +655,6 @@ public Builder setDetails(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -719,7 +664,8 @@ public Builder setDetails(com.google.rpc.Status.Builder builderForValue) { public Builder mergeDetails(com.google.rpc.Status value) { if (detailsBuilder_ == null) { if (details_ != null) { - details_ = com.google.rpc.Status.newBuilder(details_).mergeFrom(value).buildPartial(); + details_ = + com.google.rpc.Status.newBuilder(details_).mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -731,8 +677,6 @@ public Builder mergeDetails(com.google.rpc.Status value) { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -751,8 +695,6 @@ public Builder clearDetails() { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -760,13 +702,11 @@ public Builder clearDetails() { * .google.rpc.Status details = 1; */ public com.google.rpc.Status.Builder getDetailsBuilder() { - + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -777,12 +717,11 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { - return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; + return details_ == null ? + com.google.rpc.Status.getDefaultInstance() : details_; } } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -790,38 +729,32 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { * .google.rpc.Status details = 1; */ 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> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getDetails(), getParentForChildren(), isClean()); + detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getDetails(), + getParentForChildren(), + isClean()); details_ = null; } return detailsBuilder_; } private java.util.List timestamps_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTimestampsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { timestamps_ = new java.util.ArrayList(timestamps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampsBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampsBuilder_; /** - * - * *
      * The times the error occurred.
      * 
@@ -836,8 +769,6 @@ public java.util.List getTimestampsList() { } } /** - * - * *
      * The times the error occurred.
      * 
@@ -852,8 +783,6 @@ public int getTimestampsCount() { } } /** - * - * *
      * The times the error occurred.
      * 
@@ -868,15 +797,14 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { } } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder setTimestamps(int index, com.google.protobuf.Timestamp value) { + public Builder setTimestamps( + int index, com.google.protobuf.Timestamp value) { if (timestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -890,15 +818,14 @@ public Builder setTimestamps(int index, com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder setTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestamps( + int index, com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); timestamps_.set(index, builderForValue.build()); @@ -909,8 +836,6 @@ public Builder setTimestamps(int index, com.google.protobuf.Timestamp.Builder bu return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -931,15 +856,14 @@ public Builder addTimestamps(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder addTimestamps(int index, com.google.protobuf.Timestamp value) { + public Builder addTimestamps( + int index, com.google.protobuf.Timestamp value) { if (timestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -953,15 +877,14 @@ public Builder addTimestamps(int index, com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder addTimestamps(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder addTimestamps( + com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); timestamps_.add(builderForValue.build()); @@ -972,15 +895,14 @@ public Builder addTimestamps(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder addTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder addTimestamps( + int index, com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); timestamps_.add(index, builderForValue.build()); @@ -991,8 +913,6 @@ public Builder addTimestamps(int index, com.google.protobuf.Timestamp.Builder bu return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -1003,7 +923,8 @@ public Builder addAllTimestamps( java.lang.Iterable values) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timestamps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timestamps_); onChanged(); } else { timestampsBuilder_.addAllMessages(values); @@ -1011,8 +932,6 @@ public Builder addAllTimestamps( return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -1030,8 +949,6 @@ public Builder clearTimestamps() { return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -1049,44 +966,39 @@ public Builder removeTimestamps(int index) { return this; } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public com.google.protobuf.Timestamp.Builder getTimestampsBuilder(int index) { + public com.google.protobuf.Timestamp.Builder getTimestampsBuilder( + int index) { return getTimestampsFieldBuilder().getBuilder(index); } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) { + public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( + int index) { if (timestampsBuilder_ == null) { - return timestamps_.get(index); - } else { + return timestamps_.get(index); } else { return timestampsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public java.util.List - getTimestampsOrBuilderList() { + public java.util.List + getTimestampsOrBuilderList() { if (timestampsBuilder_ != null) { return timestampsBuilder_.getMessageOrBuilderList(); } else { @@ -1094,8 +1006,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) } } /** - * - * *
      * The times the error occurred.
      * 
@@ -1103,54 +1013,49 @@ public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) * repeated .google.protobuf.Timestamp timestamps = 2; */ public com.google.protobuf.Timestamp.Builder addTimestampsBuilder() { - return getTimestampsFieldBuilder() - .addBuilder(com.google.protobuf.Timestamp.getDefaultInstance()); + return getTimestampsFieldBuilder().addBuilder( + com.google.protobuf.Timestamp.getDefaultInstance()); } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public com.google.protobuf.Timestamp.Builder addTimestampsBuilder(int index) { - return getTimestampsFieldBuilder() - .addBuilder(index, com.google.protobuf.Timestamp.getDefaultInstance()); + public com.google.protobuf.Timestamp.Builder addTimestampsBuilder( + int index) { + return getTimestampsFieldBuilder().addBuilder( + index, com.google.protobuf.Timestamp.getDefaultInstance()); } /** - * - * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public java.util.List getTimestampsBuilderList() { + public java.util.List + getTimestampsBuilderList() { return getTimestampsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - 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> getTimestampsFieldBuilder() { if (timestampsBuilder_ == null) { - timestampsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - timestamps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + timestampsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + timestamps_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); timestamps_ = null; } return timestampsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1065,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Error) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Error) private static final com.google.privacy.dlp.v2.Error DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Error(); } @@ -1174,16 +1079,16 @@ public static com.google.privacy.dlp.v2.Error getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,4 +1103,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java index bf3d6ea1..e91e9157 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ErrorOrBuilder - extends +public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Error) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; - * * @return Whether the details field is set. */ boolean hasDetails(); /** - * - * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; - * * @return The details. */ com.google.rpc.Status getDetails(); /** - * - * *
    * Detailed error codes and messages.
    * 
@@ -59,18 +35,15 @@ public interface ErrorOrBuilder com.google.rpc.StatusOrBuilder getDetailsOrBuilder(); /** - * - * *
    * The times the error occurred.
    * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - java.util.List getTimestampsList(); + java.util.List + getTimestampsList(); /** - * - * *
    * The times the error occurred.
    * 
@@ -79,8 +52,6 @@ public interface ErrorOrBuilder */ com.google.protobuf.Timestamp getTimestamps(int index); /** - * - * *
    * The times the error occurred.
    * 
@@ -89,23 +60,21 @@ public interface ErrorOrBuilder */ int getTimestampsCount(); /** - * - * *
    * The times the error occurred.
    * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - java.util.List getTimestampsOrBuilderList(); + java.util.List + getTimestampsOrBuilderList(); /** - * - * *
    * The times the error occurred.
    * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index); + com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java index f99e941d..158af98a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * List of exclude infoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ExcludeInfoTypes} */ -public final class ExcludeInfoTypes extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExcludeInfoTypes extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ExcludeInfoTypes) ExcludeInfoTypesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExcludeInfoTypes.newBuilder() to construct. private ExcludeInfoTypes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExcludeInfoTypes() { infoTypes_ = 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 ExcludeInfoTypes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExcludeInfoTypes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,30 +54,29 @@ private ExcludeInfoTypes( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - infoTypes_.add( - input.readMessage( - com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + infoTypes_.add( + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_); @@ -103,27 +85,22 @@ private ExcludeInfoTypes( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ExcludeInfoTypes.class, - com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ExcludeInfoTypes.class, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); } public static final int INFO_TYPES_FIELD_NUMBER = 1; private java.util.List infoTypes_; /** - * - * *
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -142,8 +119,6 @@ public java.util.List getInfoTypesList() {
     return infoTypes_;
   }
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -158,13 +133,11 @@ public java.util.List getInfoTypesList() {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getInfoTypesOrBuilderList() {
     return infoTypes_;
   }
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -183,8 +156,6 @@ public int getInfoTypesCount() {
     return infoTypes_.size();
   }
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -203,8 +174,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
     return infoTypes_.get(index);
   }
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -219,12 +188,12 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+      int index) {
     return infoTypes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -236,7 +205,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < infoTypes_.size(); i++) {
       output.writeMessage(1, infoTypes_.get(i));
     }
@@ -250,7 +220,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < infoTypes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, infoTypes_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -260,15 +231,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.privacy.dlp.v2.ExcludeInfoTypes)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.ExcludeInfoTypes other =
-        (com.google.privacy.dlp.v2.ExcludeInfoTypes) obj;
+    com.google.privacy.dlp.v2.ExcludeInfoTypes other = (com.google.privacy.dlp.v2.ExcludeInfoTypes) obj;
 
-    if (!getInfoTypesList().equals(other.getInfoTypesList())) return false;
+    if (!getInfoTypesList()
+        .equals(other.getInfoTypesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -289,127 +260,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.ExcludeInfoTypes prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 of exclude infoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ExcludeInfoTypes} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ExcludeInfoTypes) com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ExcludeInfoTypes.class, - com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ExcludeInfoTypes.class, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); } // Construct using com.google.privacy.dlp.v2.ExcludeInfoTypes.newBuilder() @@ -417,17 +379,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; } @java.lang.Override @@ -462,8 +424,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes build() { @java.lang.Override public com.google.privacy.dlp.v2.ExcludeInfoTypes buildPartial() { - com.google.privacy.dlp.v2.ExcludeInfoTypes result = - new com.google.privacy.dlp.v2.ExcludeInfoTypes(this); + com.google.privacy.dlp.v2.ExcludeInfoTypes result = new com.google.privacy.dlp.v2.ExcludeInfoTypes(this); int from_bitField0_ = bitField0_; if (infoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -482,39 +443,38 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ExcludeInfoTypes) { - return mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes) other); + return mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes)other); } else { super.mergeFrom(other); return this; @@ -541,10 +501,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ExcludeInfoTypes other) { infoTypesBuilder_ = null; infoTypes_ = other.infoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - infoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInfoTypesFieldBuilder() - : null; + infoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInfoTypesFieldBuilder() : null; } else { infoTypesBuilder_.addAllMessages(other.infoTypes_); } @@ -578,28 +537,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List infoTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { infoTypes_ = new java.util.ArrayList(infoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - infoTypesBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_; /** - * - * *
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -621,8 +573,6 @@ public java.util.List getInfoTypesList() {
       }
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -644,8 +594,6 @@ public int getInfoTypesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -667,8 +615,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -682,7 +628,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder setInfoTypes(
+        int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -696,8 +643,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -723,8 +668,6 @@ public Builder setInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -752,8 +695,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -767,7 +708,8 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder addInfoTypes(
+        int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,8 +723,6 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -796,7 +736,8 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder addInfoTypes(
+        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
         infoTypes_.add(builderForValue.build());
@@ -807,8 +748,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -834,8 +773,6 @@ public Builder addInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -853,7 +790,8 @@ public Builder addAllInfoTypes(
         java.lang.Iterable values) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, infoTypes_);
         onChanged();
       } else {
         infoTypesBuilder_.addAllMessages(values);
@@ -861,8 +799,6 @@ public Builder addAllInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -887,8 +823,6 @@ public Builder clearInfoTypes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -913,8 +847,6 @@ public Builder removeInfoTypes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -928,12 +860,11 @@ public Builder removeInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) {
+    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
+        int index) {
       return getInfoTypesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -947,16 +878,14 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index)
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+        int index) {
       if (infoTypesBuilder_ == null) {
-        return infoTypes_.get(index);
-      } else {
+        return infoTypes_.get(index);  } else {
         return infoTypesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -970,8 +899,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List
-        getInfoTypesOrBuilderList() {
+    public java.util.List 
+         getInfoTypesOrBuilderList() {
       if (infoTypesBuilder_ != null) {
         return infoTypesBuilder_.getMessageOrBuilderList();
       } else {
@@ -979,8 +908,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -995,12 +922,10 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
-      return getInfoTypesFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+      return getInfoTypesFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -1014,13 +939,12 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) {
-      return getInfoTypesFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
+        int index) {
+      return getInfoTypesFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -1034,29 +958,27 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index)
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List getInfoTypesBuilderList() {
+    public java.util.List 
+         getInfoTypesBuilderList() {
       return getInfoTypesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getInfoTypesFieldBuilder() {
       if (infoTypesBuilder_ == null) {
-        infoTypesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                infoTypes_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         infoTypes_ = null;
       }
       return infoTypesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1066,12 +988,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ExcludeInfoTypes)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ExcludeInfoTypes)
   private static final com.google.privacy.dlp.v2.ExcludeInfoTypes DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ExcludeInfoTypes();
   }
@@ -1080,16 +1002,16 @@ public static com.google.privacy.dlp.v2.ExcludeInfoTypes getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExcludeInfoTypes parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ExcludeInfoTypes(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExcludeInfoTypes parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ExcludeInfoTypes(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1104,4 +1026,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.ExcludeInfoTypes getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
similarity index 81%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
index bd8c7d03..521bd525 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface ExcludeInfoTypesOrBuilder
-    extends
+public interface ExcludeInfoTypesOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ExcludeInfoTypes)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -39,10 +21,9 @@ public interface ExcludeInfoTypesOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List getInfoTypesList();
+  java.util.List 
+      getInfoTypesList();
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -58,8 +39,6 @@ public interface ExcludeInfoTypesOrBuilder
    */
   com.google.privacy.dlp.v2.InfoType getInfoTypes(int index);
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -75,8 +54,6 @@ public interface ExcludeInfoTypesOrBuilder
    */
   int getInfoTypesCount();
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -90,10 +67,9 @@ public interface ExcludeInfoTypesOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List getInfoTypesOrBuilderList();
+  java.util.List 
+      getInfoTypesOrBuilderList();
   /**
-   *
-   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -107,5 +83,6 @@ public interface ExcludeInfoTypesOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index);
+  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
similarity index 72%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
index 3171b389..e3f4d9ae 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * The rule that specifies conditions when findings of infoTypes specified in
  * `InspectionRuleSet` are removed from results.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.ExclusionRule}
  */
-public final class ExclusionRule extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExclusionRule extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ExclusionRule)
     ExclusionRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExclusionRule.newBuilder() to construct.
   private ExclusionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExclusionRule() {
     matchingType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExclusionRule();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExclusionRule(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,110 +54,96 @@ private ExclusionRule(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
-              if (typeCase_ == 1) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 1;
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
+            if (typeCase_ == 1) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
+            }
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-              if (typeCase_ == 2) {
-                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 2;
-              break;
+            typeCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+            if (typeCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder subBuilder = null;
-              if (typeCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.ExcludeInfoTypes.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 3;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              matchingType_ = rawValue;
-              break;
+            typeCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder subBuilder = null;
+            if (typeCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_).toBuilder();
+            }
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.ExcludeInfoTypes.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_);
+              type_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            typeCase_ = 3;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            matchingType_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.ExclusionRule.class,
-            com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
+            com.google.privacy.dlp.v2.ExclusionRule.class, com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
-
   public enum TypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DICTIONARY(1),
     REGEX(2),
     EXCLUDE_INFO_TYPES(3),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -190,38 +159,31 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return DICTIONARY;
-        case 2:
-          return REGEX;
-        case 3:
-          return EXCLUDE_INFO_TYPES;
-        case 0:
-          return TYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return DICTIONARY;
+        case 2: return REGEX;
+        case 3: return EXCLUDE_INFO_TYPES;
+        case 0: return TYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase getTypeCase() {
-    return TypeCase.forNumber(typeCase_);
+  public TypeCase
+  getTypeCase() {
+    return TypeCase.forNumber(
+        typeCase_);
   }
 
   public static final int DICTIONARY_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; - * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -229,26 +191,21 @@ public boolean hasDictionary() { return typeCase_ == 1; } /** - * - * *
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; - * * @return The dictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } /** - * - * *
    * Dictionary which defines the rule.
    * 
@@ -258,21 +215,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } public static final int REGEX_FIELD_NUMBER = 2; /** - * - * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; - * * @return Whether the regex field is set. */ @java.lang.Override @@ -280,26 +234,21 @@ public boolean hasRegex() { return typeCase_ == 2; } /** - * - * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; - * * @return The regex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } /** - * - * *
    * Regular expression which defines the rule.
    * 
@@ -309,21 +258,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER = 3; /** - * - * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; - * * @return Whether the excludeInfoTypes field is set. */ @java.lang.Override @@ -331,26 +277,21 @@ public boolean hasExcludeInfoTypes() { return typeCase_ == 3; } /** - * - * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; - * * @return The excludeInfoTypes. */ @java.lang.Override public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; + return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; } return com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance(); } /** - * - * *
    * Set of infoTypes for which findings would affect this rule.
    * 
@@ -360,7 +301,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { @java.lang.Override public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; + return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; } return com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance(); } @@ -368,41 +309,31 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr public static final int MATCHING_TYPE_FIELD_NUMBER = 4; private int matchingType_; /** - * - * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return The enum numeric value on the wire for matchingType. */ - @java.lang.Override - public int getMatchingTypeValue() { + @java.lang.Override public int getMatchingTypeValue() { return matchingType_; } /** - * - * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return The matchingType. */ - @java.lang.Override - public com.google.privacy.dlp.v2.MatchingType getMatchingType() { + @java.lang.Override public com.google.privacy.dlp.v2.MatchingType getMatchingType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MatchingType result = - com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); + com.google.privacy.dlp.v2.MatchingType result = com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); return result == null ? com.google.privacy.dlp.v2.MatchingType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } @@ -424,8 +356,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (typeCase_ == 3) { output.writeMessage(3, (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_); } - if (matchingType_ - != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { + if (matchingType_ != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, matchingType_); } unknownFields.writeTo(output); @@ -438,23 +369,20 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_); } - if (matchingType_ - != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, matchingType_); + if (matchingType_ != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, matchingType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -464,7 +392,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.privacy.dlp.v2.ExclusionRule)) { return super.equals(obj); @@ -475,13 +403,16 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getDictionary().equals(other.getDictionary())) return false; + if (!getDictionary() + .equals(other.getDictionary())) return false; break; case 2: - if (!getRegex().equals(other.getRegex())) return false; + if (!getRegex() + .equals(other.getRegex())) return false; break; case 3: - if (!getExcludeInfoTypes().equals(other.getExcludeInfoTypes())) return false; + if (!getExcludeInfoTypes() + .equals(other.getExcludeInfoTypes())) return false; break; case 0: default: @@ -520,104 +451,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ExclusionRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ExclusionRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ExclusionRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ExclusionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 rule that specifies conditions when findings of infoTypes specified in
    * `InspectionRuleSet` are removed from results.
@@ -625,23 +549,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.ExclusionRule}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ExclusionRule)
       com.google.privacy.dlp.v2.ExclusionRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.ExclusionRule.class,
-              com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
+              com.google.privacy.dlp.v2.ExclusionRule.class, com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.ExclusionRule.newBuilder()
@@ -649,15 +571,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -669,9 +592,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
     }
 
     @java.lang.Override
@@ -690,8 +613,7 @@ public com.google.privacy.dlp.v2.ExclusionRule build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.ExclusionRule buildPartial() {
-      com.google.privacy.dlp.v2.ExclusionRule result =
-          new com.google.privacy.dlp.v2.ExclusionRule(this);
+      com.google.privacy.dlp.v2.ExclusionRule result = new com.google.privacy.dlp.v2.ExclusionRule(this);
       if (typeCase_ == 1) {
         if (dictionaryBuilder_ == null) {
           result.type_ = type_;
@@ -723,39 +645,38 @@ public com.google.privacy.dlp.v2.ExclusionRule buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.ExclusionRule) {
-        return mergeFrom((com.google.privacy.dlp.v2.ExclusionRule) other);
+        return mergeFrom((com.google.privacy.dlp.v2.ExclusionRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -768,25 +689,21 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ExclusionRule other) {
         setMatchingTypeValue(other.getMatchingTypeValue());
       }
       switch (other.getTypeCase()) {
-        case DICTIONARY:
-          {
-            mergeDictionary(other.getDictionary());
-            break;
-          }
-        case REGEX:
-          {
-            mergeRegex(other.getRegex());
-            break;
-          }
-        case EXCLUDE_INFO_TYPES:
-          {
-            mergeExcludeInfoTypes(other.getExcludeInfoTypes());
-            break;
-          }
-        case TYPE_NOT_SET:
-          {
-            break;
-          }
+        case DICTIONARY: {
+          mergeDictionary(other.getDictionary());
+          break;
+        }
+        case REGEX: {
+          mergeRegex(other.getRegex());
+          break;
+        }
+        case EXCLUDE_INFO_TYPES: {
+          mergeExcludeInfoTypes(other.getExcludeInfoTypes());
+          break;
+        }
+        case TYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -816,12 +733,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+        getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public Builder clearType() {
@@ -831,20 +748,15 @@ public Builder clearType() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary,
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder,
-            com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>
-        dictionaryBuilder_;
+        com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> dictionaryBuilder_;
     /**
-     *
-     *
      * 
      * Dictionary which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; - * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -852,14 +764,11 @@ public boolean hasDictionary() { return typeCase_ == 1; } /** - * - * *
      * Dictionary which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; - * * @return The dictionary. */ @java.lang.Override @@ -877,8 +786,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -899,8 +806,6 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -919,8 +824,6 @@ public Builder setDictionary( return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -929,13 +832,10 @@ public Builder setDictionary( */ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary value) { if (dictionaryBuilder_ == null) { - if (typeCase_ == 1 - && type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -950,8 +850,6 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -975,8 +873,6 @@ public Builder clearDictionary() { return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -987,8 +883,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -1007,8 +901,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -1016,44 +908,32 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> getDictionaryFieldBuilder() { if (dictionaryBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } - dictionaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( + dictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return dictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> - regexBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> regexBuilder_; /** - * - * *
      * Regular expression which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; - * * @return Whether the regex field is set. */ @java.lang.Override @@ -1061,14 +941,11 @@ public boolean hasRegex() { return typeCase_ == 2; } /** - * - * *
      * Regular expression which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; - * * @return The regex. */ @java.lang.Override @@ -1086,8 +963,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1108,8 +983,6 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1128,8 +1001,6 @@ public Builder setRegex( return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1138,13 +1009,10 @@ public Builder setRegex( */ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { if (regexBuilder_ == null) { - if (typeCase_ == 2 - && type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1159,8 +1027,6 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1184,8 +1050,6 @@ public Builder clearRegex() { return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1196,8 +1060,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1216,8 +1078,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1225,44 +1085,32 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getRegexFieldBuilder() { if (regexBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } - regexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + regexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return regexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExcludeInfoTypes, - com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, - com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> - excludeInfoTypesBuilder_; + com.google.privacy.dlp.v2.ExcludeInfoTypes, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> excludeInfoTypesBuilder_; /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; - * * @return Whether the excludeInfoTypes field is set. */ @java.lang.Override @@ -1270,14 +1118,11 @@ public boolean hasExcludeInfoTypes() { return typeCase_ == 3; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; - * * @return The excludeInfoTypes. */ @java.lang.Override @@ -1295,8 +1140,6 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { } } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1317,8 +1160,6 @@ public Builder setExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes va return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1337,8 +1178,6 @@ public Builder setExcludeInfoTypes( return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1347,13 +1186,10 @@ public Builder setExcludeInfoTypes( */ public Builder mergeExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes value) { if (excludeInfoTypesBuilder_ == null) { - if (typeCase_ == 3 - && type_ != com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.ExcludeInfoTypes.newBuilder( - (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.ExcludeInfoTypes.newBuilder((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1368,8 +1204,6 @@ public Builder mergeExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1393,8 +1227,6 @@ public Builder clearExcludeInfoTypes() { return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1405,8 +1237,6 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder getExcludeInfoTypesBui return getExcludeInfoTypesFieldBuilder().getBuilder(); } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1425,8 +1255,6 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr } } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1434,91 +1262,71 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExcludeInfoTypes, - com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, - com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> + com.google.privacy.dlp.v2.ExcludeInfoTypes, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> getExcludeInfoTypesFieldBuilder() { if (excludeInfoTypesBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance(); } - excludeInfoTypesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExcludeInfoTypes, - com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, - com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder>( + excludeInfoTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ExcludeInfoTypes, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder>( (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return excludeInfoTypesBuilder_; } private int matchingType_ = 0; /** - * - * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return The enum numeric value on the wire for matchingType. */ - @java.lang.Override - public int getMatchingTypeValue() { + @java.lang.Override public int getMatchingTypeValue() { return matchingType_; } /** - * - * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @param value The enum numeric value on the wire for matchingType to set. * @return This builder for chaining. */ public Builder setMatchingTypeValue(int value) { - + matchingType_ = value; onChanged(); return this; } /** - * - * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return The matchingType. */ @java.lang.Override public com.google.privacy.dlp.v2.MatchingType getMatchingType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MatchingType result = - com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); + com.google.privacy.dlp.v2.MatchingType result = com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); return result == null ? com.google.privacy.dlp.v2.MatchingType.UNRECOGNIZED : result; } /** - * - * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @param value The matchingType to set. * @return This builder for chaining. */ @@ -1526,31 +1334,28 @@ public Builder setMatchingType(com.google.privacy.dlp.v2.MatchingType value) { if (value == null) { throw new NullPointerException(); } - + matchingType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return This builder for chaining. */ public Builder clearMatchingType() { - + matchingType_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1560,12 +1365,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ExclusionRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ExclusionRule) private static final com.google.privacy.dlp.v2.ExclusionRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ExclusionRule(); } @@ -1574,16 +1379,16 @@ public static com.google.privacy.dlp.v2.ExclusionRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExclusionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExclusionRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExclusionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExclusionRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1598,4 +1403,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ExclusionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java index 15efba0b..ae42d8aa 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ExclusionRuleOrBuilder - extends +public interface ExclusionRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ExclusionRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; - * * @return Whether the dictionary field is set. */ boolean hasDictionary(); /** - * - * *
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; - * * @return The dictionary. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); /** - * - * *
    * Dictionary which defines the rule.
    * 
@@ -59,32 +35,24 @@ public interface ExclusionRuleOrBuilder com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); /** - * - * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; - * * @return Whether the regex field is set. */ boolean hasRegex(); /** - * - * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; - * * @return The regex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); /** - * - * *
    * Regular expression which defines the rule.
    * 
@@ -94,32 +62,24 @@ public interface ExclusionRuleOrBuilder com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder(); /** - * - * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; - * * @return Whether the excludeInfoTypes field is set. */ boolean hasExcludeInfoTypes(); /** - * - * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; - * * @return The excludeInfoTypes. */ com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes(); /** - * - * *
    * Set of infoTypes for which findings would affect this rule.
    * 
@@ -129,26 +89,20 @@ public interface ExclusionRuleOrBuilder com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder(); /** - * - * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return The enum numeric value on the wire for matchingType. */ int getMatchingTypeValue(); /** - * - * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; - * * @return The matchingType. */ com.google.privacy.dlp.v2.MatchingType getMatchingType(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java index d3ab5092..65815811 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * General identifier of a data field in a storage service.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldId} */ -public final class FieldId extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FieldId extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FieldId) FieldIdOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FieldId.newBuilder() to construct. private FieldId(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldId() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldId(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FieldId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,58 +53,52 @@ private FieldId( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_FieldId_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldId.class, - com.google.privacy.dlp.v2.FieldId.Builder.class); + com.google.privacy.dlp.v2.FieldId.class, com.google.privacy.dlp.v2.FieldId.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Name describing the field.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -130,29 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name describing the field.
    * 
* * 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 { @@ -161,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -197,14 +174,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.privacy.dlp.v2.FieldId)) { return super.equals(obj); } com.google.privacy.dlp.v2.FieldId other = (com.google.privacy.dlp.v2.FieldId) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,126 +201,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.FieldId parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.FieldId parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.FieldId parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.FieldId parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FieldId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FieldId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.FieldId 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.privacy.dlp.v2.FieldId parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.FieldId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * General identifier of a data field in a storage service.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldId} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FieldId) com.google.privacy.dlp.v2.FieldIdOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_FieldId_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldId.class, - com.google.privacy.dlp.v2.FieldId.Builder.class); + com.google.privacy.dlp.v2.FieldId.class, com.google.privacy.dlp.v2.FieldId.Builder.class); } // Construct using com.google.privacy.dlp.v2.FieldId.newBuilder() @@ -350,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_FieldId_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_descriptor; } @java.lang.Override @@ -399,39 +370,38 @@ public com.google.privacy.dlp.v2.FieldId buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.FieldId) { - return mergeFrom((com.google.privacy.dlp.v2.FieldId) other); + return mergeFrom((com.google.privacy.dlp.v2.FieldId)other); } else { super.mergeFrom(other); return this; @@ -475,20 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Name describing the field.
      * 
* * 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; @@ -497,21 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name describing the field.
      * 
* * 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 { @@ -519,68 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name describing the field.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Name describing the field.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name describing the field.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FieldId) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FieldId) private static final com.google.privacy.dlp.v2.FieldId DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FieldId(); } @@ -604,16 +564,16 @@ public static com.google.privacy.dlp.v2.FieldId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldId(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FieldId(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.FieldId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java new file mode 100644 index 00000000..336f5110 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/storage.proto + +package com.google.privacy.dlp.v2; + +public interface FieldIdOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FieldId) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Name describing the field.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Name describing the field.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java index a0abd76b..56e12a1b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The transformation to apply to the field.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldTransformation} */ -public final class FieldTransformation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FieldTransformation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FieldTransformation) FieldTransformationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FieldTransformation.newBuilder() to construct. private FieldTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldTransformation() { 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 FieldTransformation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FieldTransformation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,85 +54,70 @@ private FieldTransformation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + case 26: { + com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null; + if (condition_ != null) { + subBuilder = condition_.toBuilder(); + } + condition_ = input.readMessage(com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(condition_); + condition_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null; - if (condition_ != null) { - subBuilder = condition_.toBuilder(); - } - condition_ = - input.readMessage( - com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(condition_); - condition_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null; + if (transformationCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_).toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null; - if (transformationCase_ == 4) { - subBuilder = - ((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 4; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 42: - { - com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; - if (transformationCase_ == 5) { - subBuilder = - ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 5; - break; + transformationCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; + if (transformationCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transformationCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -158,34 +126,28 @@ private FieldTransformation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldTransformation.class, - com.google.privacy.dlp.v2.FieldTransformation.Builder.class); + com.google.privacy.dlp.v2.FieldTransformation.class, com.google.privacy.dlp.v2.FieldTransformation.Builder.class); } private int transformationCase_ = 0; private java.lang.Object transformation_; - public enum TransformationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRIMITIVE_TRANSFORMATION(4), INFO_TYPE_TRANSFORMATIONS(5), TRANSFORMATION_NOT_SET(0); private final int value; - private TransformationCase(int value) { this.value = value; } @@ -201,31 +163,26 @@ public static TransformationCase valueOf(int value) { public static TransformationCase forNumber(int value) { switch (value) { - case 4: - return PRIMITIVE_TRANSFORMATION; - case 5: - return INFO_TYPE_TRANSFORMATIONS; - case 0: - return TRANSFORMATION_NOT_SET; - default: - return null; + case 4: return PRIMITIVE_TRANSFORMATION; + case 5: return INFO_TYPE_TRANSFORMATIONS; + case 0: return TRANSFORMATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransformationCase getTransformationCase() { - return TransformationCase.forNumber(transformationCase_); + public TransformationCase + getTransformationCase() { + return TransformationCase.forNumber( + transformationCase_); } public static final int FIELDS_FIELD_NUMBER = 1; private java.util.List fields_; /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -233,17 +190,13 @@ public TransformationCase getTransformationCase() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -251,18 +204,14 @@ public java.util.List getFieldsList() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -270,17 +219,13 @@ public java.util.List getFieldsList() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -288,17 +233,13 @@ public int getFieldsCount() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getFields(int index) { return fields_.get(index); } /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -306,20 +247,17 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( + int index) { return fields_.get(index); } public static final int CONDITION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.RecordCondition condition_; /** - * - * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -331,7 +269,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index)
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -339,8 +276,6 @@ public boolean hasCondition() { return condition_ != null; } /** - * - * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -352,18 +287,13 @@ public boolean hasCondition() {
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; - * * @return The condition. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition getCondition() { - return condition_ == null - ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() - : condition_; + return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; } /** - * - * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -383,14 +313,11 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
 
   public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; - * * @return Whether the primitiveTransformation field is set. */ @java.lang.Override @@ -398,26 +325,21 @@ public boolean hasPrimitiveTransformation() { return transformationCase_ == 4; } /** - * - * *
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; - * * @return The primitiveTransformation. */ @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; + return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; } return com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance(); } /** - * - * *
    * Apply the transformation to the entire field.
    * 
@@ -425,25 +347,21 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder - getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; + return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; } return com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance(); } public static final int INFO_TYPE_TRANSFORMATIONS_FIELD_NUMBER = 5; /** - * - * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; - * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -451,27 +369,22 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 5; } /** - * - * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; - * * @return The infoTypeTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() { if (transformationCase_ == 5) { - return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; + return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; } return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance(); } /** - * - * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
@@ -480,16 +393,14 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
    * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
-      getInfoTypeTransformationsOrBuilder() {
+  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
     if (transformationCase_ == 5) {
-      return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
+       return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
     }
     return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -501,7 +412,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -524,20 +436,20 @@ 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));
     }
     if (condition_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCondition());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getCondition());
     }
     if (transformationCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_);
     }
     if (transformationCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -547,26 +459,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.privacy.dlp.v2.FieldTransformation)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.FieldTransformation other =
-        (com.google.privacy.dlp.v2.FieldTransformation) obj;
+    com.google.privacy.dlp.v2.FieldTransformation other = (com.google.privacy.dlp.v2.FieldTransformation) obj;
 
-    if (!getFieldsList().equals(other.getFieldsList())) return false;
+    if (!getFieldsList()
+        .equals(other.getFieldsList())) 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 (!getTransformationCase().equals(other.getTransformationCase())) return false;
     switch (transformationCase_) {
       case 4:
-        if (!getPrimitiveTransformation().equals(other.getPrimitiveTransformation())) return false;
+        if (!getPrimitiveTransformation()
+            .equals(other.getPrimitiveTransformation())) return false;
         break;
       case 5:
-        if (!getInfoTypeTransformations().equals(other.getInfoTypeTransformations())) return false;
+        if (!getInfoTypeTransformations()
+            .equals(other.getInfoTypeTransformations())) return false;
         break;
       case 0:
       default:
@@ -607,127 +522,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.FieldTransformation parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.FieldTransformation parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.FieldTransformation prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 transformation to apply to the field.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldTransformation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FieldTransformation) com.google.privacy.dlp.v2.FieldTransformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldTransformation.class, - com.google.privacy.dlp.v2.FieldTransformation.Builder.class); + com.google.privacy.dlp.v2.FieldTransformation.class, com.google.privacy.dlp.v2.FieldTransformation.Builder.class); } // Construct using com.google.privacy.dlp.v2.FieldTransformation.newBuilder() @@ -735,17 +641,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -767,9 +673,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; } @java.lang.Override @@ -788,8 +694,7 @@ public com.google.privacy.dlp.v2.FieldTransformation build() { @java.lang.Override public com.google.privacy.dlp.v2.FieldTransformation buildPartial() { - com.google.privacy.dlp.v2.FieldTransformation result = - new com.google.privacy.dlp.v2.FieldTransformation(this); + com.google.privacy.dlp.v2.FieldTransformation result = new com.google.privacy.dlp.v2.FieldTransformation(this); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -828,39 +733,38 @@ public com.google.privacy.dlp.v2.FieldTransformation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.FieldTransformation) { - return mergeFrom((com.google.privacy.dlp.v2.FieldTransformation) other); + return mergeFrom((com.google.privacy.dlp.v2.FieldTransformation)other); } else { super.mergeFrom(other); return this; @@ -887,10 +791,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.FieldTransformation 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_); } @@ -900,20 +803,17 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.FieldTransformation other) { mergeCondition(other.getCondition()); } switch (other.getTransformationCase()) { - case PRIMITIVE_TRANSFORMATION: - { - mergePrimitiveTransformation(other.getPrimitiveTransformation()); - break; - } - case INFO_TYPE_TRANSFORMATIONS: - { - mergeInfoTypeTransformations(other.getInfoTypeTransformations()); - break; - } - case TRANSFORMATION_NOT_SET: - { - break; - } + case PRIMITIVE_TRANSFORMATION: { + mergePrimitiveTransformation(other.getPrimitiveTransformation()); + break; + } + case INFO_TYPE_TRANSFORMATIONS: { + mergeInfoTypeTransformations(other.getInfoTypeTransformations()); + break; + } + case TRANSFORMATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -943,12 +843,12 @@ public Builder mergeFrom( } return this; } - private int transformationCase_ = 0; private java.lang.Object transformation_; - - public TransformationCase getTransformationCase() { - return TransformationCase.forNumber(transformationCase_); + public TransformationCase + getTransformationCase() { + return TransformationCase.forNumber( + transformationCase_); } public Builder clearTransformation() { @@ -961,24 +861,18 @@ public Builder clearTransformation() { 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.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldsBuilder_; /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -986,9 +880,7 @@ private void ensureFieldsIsMutable() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -998,8 +890,6 @@ public java.util.List getFieldsList() { } } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1007,9 +897,7 @@ public java.util.List getFieldsList() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -1019,8 +907,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1028,9 +914,7 @@ public int getFieldsCount() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId getFields(int index) { if (fieldsBuilder_ == null) { @@ -1040,8 +924,6 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) { } } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1049,11 +931,10 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder setFields( + int index, com.google.privacy.dlp.v2.FieldId value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1067,8 +948,6 @@ public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1076,11 +955,10 @@ public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId value) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setFields( + int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -1091,8 +969,6 @@ public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId.Builder bu return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1100,9 +976,7 @@ public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId.Builder bu
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) { if (fieldsBuilder_ == null) { @@ -1118,8 +992,6 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1127,11 +999,10 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder addFields( + int index, com.google.privacy.dlp.v2.FieldId value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1145,8 +1016,6 @@ public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1154,11 +1023,10 @@ public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId value) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addFields( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -1169,8 +1037,6 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId.Builder builderForVal return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1178,11 +1044,10 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId.Builder builderForVal
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addFields( + int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -1193,8 +1058,6 @@ public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId.Builder bu return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1202,15 +1065,14 @@ public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId.Builder bu
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ 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); @@ -1218,8 +1080,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1227,9 +1087,7 @@ public Builder addAllFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -1242,8 +1100,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1251,9 +1107,7 @@ public Builder clearFields() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -1266,8 +1120,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1275,16 +1127,13 @@ public Builder removeFields(int index) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder(int index) { + public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder( + int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1292,20 +1141,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder(int index) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1313,12 +1158,10 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index)
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -1326,8 +1169,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) } } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1335,17 +1176,13 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index)
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1353,17 +1190,14 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder(int index) { - return getFieldsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1371,26 +1205,22 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder(int index) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -1398,13 +1228,8 @@ public java.util.List getFieldsBuilde private com.google.privacy.dlp.v2.RecordCondition condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition, - com.google.privacy.dlp.v2.RecordCondition.Builder, - com.google.privacy.dlp.v2.RecordConditionOrBuilder> - conditionBuilder_; + com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> conditionBuilder_; /** - * - * *
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1416,15 +1241,12 @@ public java.util.List getFieldsBuilde
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; - * * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** - * - * *
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1436,21 +1258,16 @@ public boolean hasCondition() {
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; - * * @return The condition. */ public com.google.privacy.dlp.v2.RecordCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null - ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() - : condition_; + return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; } else { return conditionBuilder_.getMessage(); } } /** - * - * *
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1477,8 +1294,6 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1491,7 +1306,8 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
      *
      * .google.privacy.dlp.v2.RecordCondition condition = 3;
      */
-    public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
+    public Builder setCondition(
+        com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
       if (conditionBuilder_ == null) {
         condition_ = builderForValue.build();
         onChanged();
@@ -1502,8 +1318,6 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1520,9 +1334,7 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       if (conditionBuilder_ == null) {
         if (condition_ != null) {
           condition_ =
-              com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_).mergeFrom(value).buildPartial();
         } else {
           condition_ = value;
         }
@@ -1534,8 +1346,6 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1560,8 +1370,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1575,13 +1383,11 @@ public Builder clearCondition() {
      * .google.privacy.dlp.v2.RecordCondition condition = 3;
      */
     public com.google.privacy.dlp.v2.RecordCondition.Builder getConditionBuilder() {
-
+      
       onChanged();
       return getConditionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1598,14 +1404,11 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
       if (conditionBuilder_ != null) {
         return conditionBuilder_.getMessageOrBuilder();
       } else {
-        return condition_ == null
-            ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance()
-            : condition_;
+        return condition_ == null ?
+            com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_;
       }
     }
     /**
-     *
-     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1619,36 +1422,27 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
      * .google.privacy.dlp.v2.RecordCondition condition = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordCondition,
-            com.google.privacy.dlp.v2.RecordCondition.Builder,
-            com.google.privacy.dlp.v2.RecordConditionOrBuilder>
+        com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> 
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
-        conditionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.RecordCondition,
-                com.google.privacy.dlp.v2.RecordCondition.Builder,
-                com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
-                getCondition(), getParentForChildren(), isClean());
+        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
+                getCondition(),
+                getParentForChildren(),
+                isClean());
         condition_ = null;
       }
       return conditionBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PrimitiveTransformation,
-            com.google.privacy.dlp.v2.PrimitiveTransformation.Builder,
-            com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>
-        primitiveTransformationBuilder_;
+        com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> primitiveTransformationBuilder_;
     /**
-     *
-     *
      * 
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; - * * @return Whether the primitiveTransformation field is set. */ @java.lang.Override @@ -1656,14 +1450,11 @@ public boolean hasPrimitiveTransformation() { return transformationCase_ == 4; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; - * * @return The primitiveTransformation. */ @java.lang.Override @@ -1681,16 +1472,13 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat } } /** - * - * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ - public Builder setPrimitiveTransformation( - com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1704,8 +1492,6 @@ public Builder setPrimitiveTransformation( return this; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1724,25 +1510,18 @@ public Builder setPrimitiveTransformation( return this; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ - public Builder mergePrimitiveTransformation( - com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { - if (transformationCase_ == 4 - && transformation_ - != com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder( - (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 4 && + transformation_ != com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -1757,8 +1536,6 @@ public Builder mergePrimitiveTransformation( return this; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1782,21 +1559,16 @@ public Builder clearPrimitiveTransformation() { return this; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ - public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder - getPrimitiveTransformationBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getPrimitiveTransformationBuilder() { return getPrimitiveTransformationFieldBuilder().getBuilder(); } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1804,8 +1576,7 @@ public Builder clearPrimitiveTransformation() { * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder - getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { if ((transformationCase_ == 4) && (primitiveTransformationBuilder_ != null)) { return primitiveTransformationBuilder_.getMessageOrBuilder(); } else { @@ -1816,8 +1587,6 @@ public Builder clearPrimitiveTransformation() { } } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1825,45 +1594,33 @@ public Builder clearPrimitiveTransformation() { * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> getPrimitiveTransformationFieldBuilder() { if (primitiveTransformationBuilder_ == null) { if (!(transformationCase_ == 4)) { transformation_ = com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance(); } - primitiveTransformationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( + primitiveTransformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 4; - onChanged(); - ; + onChanged();; return primitiveTransformationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations, - com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, - com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> - infoTypeTransformationsBuilder_; + com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> infoTypeTransformationsBuilder_; /** - * - * *
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; - * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -1871,15 +1628,12 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 5; } /** - * - * *
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; - * * @return The infoTypeTransformations. */ @java.lang.Override @@ -1897,8 +1651,6 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati } } /** - * - * *
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1906,8 +1658,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
-    public Builder setInfoTypeTransformations(
-        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder setInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1921,8 +1672,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1942,8 +1691,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1951,17 +1698,12 @@ public Builder setInfoTypeTransformations(
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
-    public Builder mergeInfoTypeTransformations(
-        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder mergeInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
-        if (transformationCase_ == 5
-            && transformation_
-                != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
-          transformation_ =
-              com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder(
-                      (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (transformationCase_ == 5 &&
+            transformation_ != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
+          transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
+              .mergeFrom(value).buildPartial();
         } else {
           transformation_ = value;
         }
@@ -1976,8 +1718,6 @@ public Builder mergeInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2002,8 +1742,6 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2011,13 +1749,10 @@ public Builder clearInfoTypeTransformations() {
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
-    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder
-        getInfoTypeTransformationsBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder getInfoTypeTransformationsBuilder() {
       return getInfoTypeTransformationsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2026,8 +1761,7 @@ public Builder clearInfoTypeTransformations() {
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
-        getInfoTypeTransformationsOrBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
       if ((transformationCase_ == 5) && (infoTypeTransformationsBuilder_ != null)) {
         return infoTypeTransformationsBuilder_.getMessageOrBuilder();
       } else {
@@ -2038,8 +1772,6 @@ public Builder clearInfoTypeTransformations() {
       }
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2048,32 +1780,26 @@ public Builder clearInfoTypeTransformations() {
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoTypeTransformations,
-            com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
-            com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>
+        com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> 
         getInfoTypeTransformationsFieldBuilder() {
       if (infoTypeTransformationsBuilder_ == null) {
         if (!(transformationCase_ == 5)) {
           transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
         }
-        infoTypeTransformationsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoTypeTransformations,
-                com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
-                com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
+        infoTypeTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
                 (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_,
                 getParentForChildren(),
                 isClean());
         transformation_ = null;
       }
       transformationCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return infoTypeTransformationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2083,12 +1809,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FieldTransformation)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FieldTransformation)
   private static final com.google.privacy.dlp.v2.FieldTransformation DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FieldTransformation();
   }
@@ -2097,16 +1823,16 @@ public static com.google.privacy.dlp.v2.FieldTransformation getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FieldTransformation parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new FieldTransformation(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FieldTransformation parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new FieldTransformation(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2121,4 +1847,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.FieldTransformation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
similarity index 79%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
index 5572edf9..204347a7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface FieldTransformationOrBuilder
-    extends
+public interface FieldTransformationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FieldTransformation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -33,14 +15,11 @@ public interface FieldTransformationOrBuilder
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -48,14 +27,10 @@ public interface FieldTransformationOrBuilder
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.FieldId getFields(int index); /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -63,14 +38,10 @@ public interface FieldTransformationOrBuilder
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getFieldsCount(); /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -78,14 +49,11 @@ public interface FieldTransformationOrBuilder
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getFieldsOrBuilderList(); + java.util.List + getFieldsOrBuilderList(); /** - * - * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -93,15 +61,12 @@ public interface FieldTransformationOrBuilder
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index); + com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( + int index); /** - * - * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -113,13 +78,10 @@ public interface FieldTransformationOrBuilder
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -131,13 +93,10 @@ public interface FieldTransformationOrBuilder
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; - * * @return The condition. */ com.google.privacy.dlp.v2.RecordCondition getCondition(); /** - * - * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -153,32 +112,24 @@ public interface FieldTransformationOrBuilder
   com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; - * * @return Whether the primitiveTransformation field is set. */ boolean hasPrimitiveTransformation(); /** - * - * *
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; - * * @return The primitiveTransformation. */ com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation(); /** - * - * *
    * Apply the transformation to the entire field.
    * 
@@ -188,34 +139,26 @@ public interface FieldTransformationOrBuilder com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder(); /** - * - * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; - * * @return Whether the infoTypeTransformations field is set. */ boolean hasInfoTypeTransformations(); /** - * - * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; - * * @return The infoTypeTransformations. */ com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations(); /** - * - * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
similarity index 77%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
index ffdc1c1a..e5b28b2d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Definitions of file type groups to scan. New types will be added to this
  * list.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.FileType}
  */
-public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
+public enum FileType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Includes all files.
    * 
@@ -40,8 +22,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ FILE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Includes all file extensions not covered by another entry. Binary
    * scanning attempts to convert the content of the file to utf_8 to scan
@@ -54,8 +34,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   BINARY_FILE(1),
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
@@ -70,8 +48,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TEXT_FILE(2),
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   bmp, gif, jpg, jpeg, jpe, png.
@@ -83,8 +59,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   IMAGE(3),
   /**
-   *
-   *
    * 
    * Word files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -95,8 +69,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   WORD(5),
   /**
-   *
-   *
    * 
    * PDF files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -107,8 +79,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PDF(6),
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   avro
@@ -118,8 +88,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   AVRO(7),
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   csv
@@ -129,8 +97,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CSV(8),
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   tsv
@@ -139,12 +105,30 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    * TSV = 9;
    */
   TSV(9),
+  /**
+   * 
+   * Powerpoint files >30 MB will be scanned as binary files.
+   * Included file extensions:
+   *   pptx, pptm, potx, potm, pot
+   * 
+ * + * POWERPOINT = 11; + */ + POWERPOINT(11), + /** + *
+   * Excel files >30 MB will be scanned as binary files.
+   * Included file extensions:
+   *   xlsx, xlsm, xltx, xltm
+   * 
+ * + * EXCEL = 12; + */ + EXCEL(12), UNRECOGNIZED(-1), ; /** - * - * *
    * Includes all files.
    * 
@@ -153,8 +137,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Includes all file extensions not covered by another entry. Binary
    * scanning attempts to convert the content of the file to utf_8 to scan
@@ -167,8 +149,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BINARY_FILE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
@@ -183,8 +163,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TEXT_FILE_VALUE = 2;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   bmp, gif, jpg, jpeg, jpe, png.
@@ -196,8 +174,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int IMAGE_VALUE = 3;
   /**
-   *
-   *
    * 
    * Word files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -208,8 +184,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int WORD_VALUE = 5;
   /**
-   *
-   *
    * 
    * PDF files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -220,8 +194,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PDF_VALUE = 6;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   avro
@@ -231,8 +203,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int AVRO_VALUE = 7;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   csv
@@ -242,8 +212,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CSV_VALUE = 8;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   tsv
@@ -252,6 +220,27 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    * TSV = 9;
    */
   public static final int TSV_VALUE = 9;
+  /**
+   * 
+   * Powerpoint files >30 MB will be scanned as binary files.
+   * Included file extensions:
+   *   pptx, pptm, potx, potm, pot
+   * 
+ * + * POWERPOINT = 11; + */ + public static final int POWERPOINT_VALUE = 11; + /** + *
+   * Excel files >30 MB will be scanned as binary files.
+   * Included file extensions:
+   *   xlsx, xlsm, xltx, xltm
+   * 
+ * + * EXCEL = 12; + */ + public static final int EXCEL_VALUE = 12; + public final int getNumber() { if (this == UNRECOGNIZED) { @@ -277,61 +266,57 @@ public static FileType valueOf(int value) { */ public static FileType forNumber(int value) { switch (value) { - case 0: - return FILE_TYPE_UNSPECIFIED; - case 1: - return BINARY_FILE; - case 2: - return TEXT_FILE; - case 3: - return IMAGE; - case 5: - return WORD; - case 6: - return PDF; - case 7: - return AVRO; - case 8: - return CSV; - case 9: - return TSV; - default: - return null; + case 0: return FILE_TYPE_UNSPECIFIED; + case 1: return BINARY_FILE; + case 2: return TEXT_FILE; + case 3: return IMAGE; + case 5: return WORD; + case 6: return PDF; + case 7: return AVRO; + case 8: return CSV; + case 9: return TSV; + case 11: return POWERPOINT; + case 12: return EXCEL; + 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< + FileType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FileType findValueByNumber(int number) { + return FileType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FileType findValueByNumber(int number) { - return FileType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.DlpStorage.getDescriptor().getEnumTypes().get(1); } private static final FileType[] VALUES = values(); - public static FileType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FileType 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; @@ -347,3 +332,4 @@ private FileType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.FileType) } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java index 09070544..36f71169 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Represents a piece of potentially sensitive content.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Finding} */ -public final class Finding extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Finding extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Finding) FindingOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Finding.newBuilder() to construct. private Finding(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Finding() { name_ = ""; quote_ = ""; @@ -49,15 +31,16 @@ private Finding() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Finding(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Finding( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,194 +60,173 @@ private Finding( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - quote_ = s; - break; + quote_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (infoType_ != null) { + subBuilder = infoType_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (infoType_ != null) { - subBuilder = infoType_.toBuilder(); - } - infoType_ = - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(infoType_); - infoType_ = subBuilder.buildPartial(); - } - - break; + infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(infoType_); + infoType_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - likelihood_ = rawValue; - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + likelihood_ = rawValue; + break; + } + case 34: { + com.google.privacy.dlp.v2.Location.Builder subBuilder = null; + if (location_ != null) { + subBuilder = location_.toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.Location.Builder subBuilder = null; - if (location_ != null) { - subBuilder = location_.toBuilder(); - } - location_ = - input.readMessage(com.google.privacy.dlp.v2.Location.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(location_); - location_ = subBuilder.buildPartial(); - } - - break; + location_ = input.readMessage(com.google.privacy.dlp.v2.Location.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(location_); + location_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 58: - { - com.google.privacy.dlp.v2.QuoteInfo.Builder subBuilder = null; - if (quoteInfo_ != null) { - subBuilder = quoteInfo_.toBuilder(); - } - quoteInfo_ = - input.readMessage( - com.google.privacy.dlp.v2.QuoteInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(quoteInfo_); - quoteInfo_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - resourceName_ = s; - break; + break; + } + case 58: { + com.google.privacy.dlp.v2.QuoteInfo.Builder subBuilder = null; + if (quoteInfo_ != null) { + subBuilder = quoteInfo_.toBuilder(); + } + quoteInfo_ = input.readMessage(com.google.privacy.dlp.v2.QuoteInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(quoteInfo_); + quoteInfo_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - triggerName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + resourceName_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + triggerName_ = s; + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 82: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (jobCreateTime_ != null) { + subBuilder = jobCreateTime_.toBuilder(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (jobCreateTime_ != null) { - subBuilder = jobCreateTime_.toBuilder(); - } - jobCreateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobCreateTime_); - jobCreateTime_ = subBuilder.buildPartial(); - } - - break; + jobCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobCreateTime_); + jobCreateTime_ = subBuilder.buildPartial(); } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 114: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); - findingId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + + findingId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Finding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 10: 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.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Finding.class, - com.google.privacy.dlp.v2.Finding.Builder.class); + com.google.privacy.dlp.v2.Finding.class, com.google.privacy.dlp.v2.Finding.Builder.class); } public static final int NAME_FIELD_NUMBER = 14; private volatile java.lang.Object name_; /** - * - * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -272,7 +234,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 14; - * * @return The name. */ @java.lang.Override @@ -281,15 +242,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -297,15 +257,16 @@ public java.lang.String getName() {
    * 
* * string name = 14; - * * @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 { @@ -316,8 +277,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int QUOTE_FIELD_NUMBER = 1; private volatile java.lang.Object quote_; /** - * - * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -327,7 +286,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string quote = 1; - * * @return The quote. */ @java.lang.Override @@ -336,15 +294,14 @@ public java.lang.String getQuote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quote_ = s; return s; } } /** - * - * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -354,15 +311,16 @@ public java.lang.String getQuote() {
    * 
* * string quote = 1; - * * @return The bytes for quote. */ @java.lang.Override - public com.google.protobuf.ByteString getQuoteBytes() { + public com.google.protobuf.ByteString + getQuoteBytes() { java.lang.Object ref = quote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); quote_ = b; return b; } else { @@ -373,15 +331,12 @@ public com.google.protobuf.ByteString getQuoteBytes() { public static final int INFO_TYPE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InfoType infoType_; /** - * - * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -389,15 +344,12 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override @@ -405,8 +357,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
@@ -422,50 +372,38 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
   public static final int LIKELIHOOD_FIELD_NUMBER = 3;
   private int likelihood_;
   /**
-   *
-   *
    * 
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override - public int getLikelihoodValue() { + @java.lang.Override public int getLikelihoodValue() { return likelihood_; } /** - * - * *
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return The likelihood. */ - @java.lang.Override - public com.google.privacy.dlp.v2.Likelihood getLikelihood() { + @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } public static final int LOCATION_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.Location location_; /** - * - * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; - * * @return Whether the location field is set. */ @java.lang.Override @@ -473,14 +411,11 @@ public boolean hasLocation() { return location_ != null; } /** - * - * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; - * * @return The location. */ @java.lang.Override @@ -488,8 +423,6 @@ public com.google.privacy.dlp.v2.Location getLocation() { return location_ == null ? com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_; } /** - * - * *
    * Where the content was found.
    * 
@@ -504,14 +437,11 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -519,14 +449,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -534,8 +461,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Timestamp when finding was detected.
    * 
@@ -550,8 +475,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int QUOTE_INFO_FIELD_NUMBER = 7; private com.google.privacy.dlp.v2.QuoteInfo quoteInfo_; /** - * - * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -559,7 +482,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; - * * @return Whether the quoteInfo field is set. */ @java.lang.Override @@ -567,8 +489,6 @@ public boolean hasQuoteInfo() { return quoteInfo_ != null; } /** - * - * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -576,18 +496,13 @@ public boolean hasQuoteInfo() {
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; - * * @return The quoteInfo. */ @java.lang.Override public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() { - return quoteInfo_ == null - ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() - : quoteInfo_; + return quoteInfo_ == null ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() : quoteInfo_; } /** - * - * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -604,14 +519,11 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
   public static final int RESOURCE_NAME_FIELD_NUMBER = 8;
   private volatile java.lang.Object resourceName_;
   /**
-   *
-   *
    * 
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return The resourceName. */ @java.lang.Override @@ -620,29 +532,29 @@ public java.lang.String getResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** - * - * *
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -653,14 +565,11 @@ public com.google.protobuf.ByteString getResourceNameBytes() { public static final int TRIGGER_NAME_FIELD_NUMBER = 9; private volatile java.lang.Object triggerName_; /** - * - * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return The triggerName. */ @java.lang.Override @@ -669,29 +578,29 @@ public java.lang.String getTriggerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerName_ = s; return s; } } /** - * - * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return The bytes for triggerName. */ @java.lang.Override - public com.google.protobuf.ByteString getTriggerNameBytes() { + public com.google.protobuf.ByteString + getTriggerNameBytes() { java.lang.Object ref = triggerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); triggerName_ = b; return b; } else { @@ -700,23 +609,24 @@ public com.google.protobuf.ByteString getTriggerNameBytes() { } public static final int LABELS_FIELD_NUMBER = 10; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -725,8 +635,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -741,22 +649,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 10;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -772,12 +680,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 10;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -793,16 +700,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 10;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -818,11 +725,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 10;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -832,14 +740,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int JOB_CREATE_TIME_FIELD_NUMBER = 11;
   private com.google.protobuf.Timestamp jobCreateTime_;
   /**
-   *
-   *
    * 
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; - * * @return Whether the jobCreateTime field is set. */ @java.lang.Override @@ -847,25 +752,18 @@ public boolean hasJobCreateTime() { return jobCreateTime_ != null; } /** - * - * *
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; - * * @return The jobCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobCreateTime() { - return jobCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobCreateTime_; + return jobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobCreateTime_; } /** - * - * *
    * Time the job started that produced this finding.
    * 
@@ -880,14 +778,11 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { public static final int JOB_NAME_FIELD_NUMBER = 13; private volatile java.lang.Object jobName_; /** - * - * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return The jobName. */ @java.lang.Override @@ -896,29 +791,29 @@ public java.lang.String getJobName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobName_ = s; return s; } } /** - * - * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobName_ = b; return b; } else { @@ -929,14 +824,11 @@ public com.google.protobuf.ByteString getJobNameBytes() { public static final int FINDING_ID_FIELD_NUMBER = 15; private volatile java.lang.Object findingId_; /** - * - * *
    * The unique finding id.
    * 
* * string finding_id = 15; - * * @return The findingId. */ @java.lang.Override @@ -945,29 +837,29 @@ public java.lang.String getFindingId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); findingId_ = s; return s; } } /** - * - * *
    * The unique finding id.
    * 
* * string finding_id = 15; - * * @return The bytes for findingId. */ @java.lang.Override - public com.google.protobuf.ByteString getFindingIdBytes() { + public com.google.protobuf.ByteString + getFindingIdBytes() { java.lang.Object ref = findingId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); findingId_ = b; return b; } else { @@ -976,7 +868,6 @@ public com.google.protobuf.ByteString getFindingIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -988,7 +879,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quote_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, quote_); } @@ -1013,8 +905,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(triggerName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, triggerName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 10); if (jobCreateTime_ != null) { output.writeMessage(11, getJobCreateTime()); } @@ -1040,19 +936,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, quote_); } if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInfoType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInfoType()); } if (likelihood_ != com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, likelihood_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, likelihood_); } if (location_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLocation()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (quoteInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getQuoteInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getQuoteInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, resourceName_); @@ -1060,18 +961,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(triggerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, triggerName_); } - 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(10, 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(10, labels__); } if (jobCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getJobCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getJobCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, jobName_); @@ -1090,41 +992,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.Finding)) { return super.equals(obj); } com.google.privacy.dlp.v2.Finding other = (com.google.privacy.dlp.v2.Finding) obj; - if (!getName().equals(other.getName())) return false; - if (!getQuote().equals(other.getQuote())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getQuote() + .equals(other.getQuote())) return false; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } if (likelihood_ != other.likelihood_) return false; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) 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 (hasQuoteInfo() != other.hasQuoteInfo()) return false; if (hasQuoteInfo()) { - if (!getQuoteInfo().equals(other.getQuoteInfo())) return false; - } - if (!getResourceName().equals(other.getResourceName())) return false; - if (!getTriggerName().equals(other.getTriggerName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getQuoteInfo() + .equals(other.getQuoteInfo())) return false; + } + if (!getResourceName() + .equals(other.getResourceName())) return false; + if (!getTriggerName() + .equals(other.getTriggerName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasJobCreateTime() != other.hasJobCreateTime()) return false; if (hasJobCreateTime()) { - if (!getJobCreateTime().equals(other.getJobCreateTime())) return false; + if (!getJobCreateTime() + .equals(other.getJobCreateTime())) return false; } - if (!getJobName().equals(other.getJobName())) return false; - if (!getFindingId().equals(other.getFindingId())) return false; + if (!getJobName() + .equals(other.getJobName())) return false; + if (!getFindingId() + .equals(other.getFindingId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1179,146 +1093,140 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Finding parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Finding parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Finding parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Finding parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Finding parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Finding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Finding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Finding parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Finding parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Finding parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Finding 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.privacy.dlp.v2.Finding parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Finding parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Finding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Finding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a piece of potentially sensitive content.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Finding} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Finding) com.google.privacy.dlp.v2.FindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Finding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 10: 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 10: 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.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Finding.class, - com.google.privacy.dlp.v2.Finding.Builder.class); + com.google.privacy.dlp.v2.Finding.class, com.google.privacy.dlp.v2.Finding.Builder.class); } // Construct using com.google.privacy.dlp.v2.Finding.newBuilder() @@ -1326,15 +1234,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1387,9 +1296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Finding_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_descriptor; } @java.lang.Override @@ -1452,39 +1361,38 @@ public com.google.privacy.dlp.v2.Finding buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Finding) { - return mergeFrom((com.google.privacy.dlp.v2.Finding) other); + return mergeFrom((com.google.privacy.dlp.v2.Finding)other); } else { super.mergeFrom(other); return this; @@ -1524,7 +1432,8 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Finding other) { triggerName_ = other.triggerName_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasJobCreateTime()) { mergeJobCreateTime(other.getJobCreateTime()); } @@ -1564,13 +1473,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1578,13 +1484,13 @@ public Builder mergeFrom(
      * 
* * string name = 14; - * * @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; @@ -1593,8 +1499,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1602,14 +1506,15 @@ public java.lang.String getName() {
      * 
* * string name = 14; - * * @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 { @@ -1617,8 +1522,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1626,22 +1529,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 14; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1649,18 +1550,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 14; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1668,16 +1566,16 @@ public Builder clearName() {
      * 
* * string name = 14; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1685,8 +1583,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object quote_ = ""; /** - * - * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1696,13 +1592,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string quote = 1; - * * @return The quote. */ public java.lang.String getQuote() { java.lang.Object ref = quote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quote_ = s; return s; @@ -1711,8 +1607,6 @@ public java.lang.String getQuote() { } } /** - * - * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1722,14 +1616,15 @@ public java.lang.String getQuote() {
      * 
* * string quote = 1; - * * @return The bytes for quote. */ - public com.google.protobuf.ByteString getQuoteBytes() { + public com.google.protobuf.ByteString + getQuoteBytes() { java.lang.Object ref = quote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); quote_ = b; return b; } else { @@ -1737,8 +1632,6 @@ public com.google.protobuf.ByteString getQuoteBytes() { } } /** - * - * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1748,22 +1641,20 @@ public com.google.protobuf.ByteString getQuoteBytes() {
      * 
* * string quote = 1; - * * @param value The quote to set. * @return This builder for chaining. */ - public Builder setQuote(java.lang.String value) { + public Builder setQuote( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + quote_ = value; onChanged(); return this; } /** - * - * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1773,18 +1664,15 @@ public Builder setQuote(java.lang.String value) {
      * 
* * string quote = 1; - * * @return This builder for chaining. */ public Builder clearQuote() { - + quote_ = getDefaultInstance().getQuote(); onChanged(); return this; } /** - * - * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1794,16 +1682,16 @@ public Builder clearQuote() {
      * 
* * string quote = 1; - * * @param value The bytes for quote to set. * @return This builder for chaining. */ - public Builder setQuoteBytes(com.google.protobuf.ByteString value) { + public Builder setQuoteBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + quote_ = value; onChanged(); return this; @@ -1811,49 +1699,36 @@ public Builder setQuoteBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.InfoType infoType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; /** - * - * *
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** - * - * *
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1875,8 +1750,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1884,7 +1757,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
      *
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
-    public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder setInfoType(
+        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypeBuilder_ == null) {
         infoType_ = builderForValue.build();
         onChanged();
@@ -1895,8 +1769,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1908,9 +1780,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypeBuilder_ == null) {
         if (infoType_ != null) {
           infoType_ =
-              com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial();
         } else {
           infoType_ = value;
         }
@@ -1922,8 +1792,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1943,8 +1811,6 @@ public Builder clearInfoType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1953,13 +1819,11 @@ public Builder clearInfoType() {
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
-
+      
       onChanged();
       return getInfoTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1971,14 +1835,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       if (infoTypeBuilder_ != null) {
         return infoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return infoType_ == null
-            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
-            : infoType_;
+        return infoType_ == null ?
+            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
       }
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1987,17 +1848,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getInfoTypeFieldBuilder() {
       if (infoTypeBuilder_ == null) {
-        infoTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getInfoType(), getParentForChildren(), isClean());
+        infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getInfoType(),
+                getParentForChildren(),
+                isClean());
         infoType_ = null;
       }
       return infoTypeBuilder_;
@@ -2005,65 +1863,51 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
 
     private int likelihood_ = 0;
     /**
-     *
-     *
      * 
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override - public int getLikelihoodValue() { + @java.lang.Override public int getLikelihoodValue() { return likelihood_; } /** - * - * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @param value The enum numeric value on the wire for likelihood to set. * @return This builder for chaining. */ public Builder setLikelihoodValue(int value) { - + likelihood_ = value; onChanged(); return this; } /** - * - * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return The likelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @param value The likelihood to set. * @return This builder for chaining. */ @@ -2071,24 +1915,21 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + likelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return This builder for chaining. */ public Builder clearLikelihood() { - + likelihood_ = 0; onChanged(); return this; @@ -2096,47 +1937,34 @@ public Builder clearLikelihood() { private com.google.privacy.dlp.v2.Location location_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Location, - com.google.privacy.dlp.v2.Location.Builder, - com.google.privacy.dlp.v2.LocationOrBuilder> - locationBuilder_; + com.google.privacy.dlp.v2.Location, com.google.privacy.dlp.v2.Location.Builder, com.google.privacy.dlp.v2.LocationOrBuilder> locationBuilder_; /** - * - * *
      * Where the content was found.
      * 
* * .google.privacy.dlp.v2.Location location = 4; - * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** - * - * *
      * Where the content was found.
      * 
* * .google.privacy.dlp.v2.Location location = 4; - * * @return The location. */ public com.google.privacy.dlp.v2.Location getLocation() { if (locationBuilder_ == null) { - return location_ == null - ? com.google.privacy.dlp.v2.Location.getDefaultInstance() - : location_; + return location_ == null ? com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** - * - * *
      * Where the content was found.
      * 
@@ -2157,15 +1985,14 @@ public Builder setLocation(com.google.privacy.dlp.v2.Location value) { return this; } /** - * - * *
      * Where the content was found.
      * 
* * .google.privacy.dlp.v2.Location location = 4; */ - public Builder setLocation(com.google.privacy.dlp.v2.Location.Builder builderForValue) { + public Builder setLocation( + com.google.privacy.dlp.v2.Location.Builder builderForValue) { if (locationBuilder_ == null) { location_ = builderForValue.build(); onChanged(); @@ -2176,8 +2003,6 @@ public Builder setLocation(com.google.privacy.dlp.v2.Location.Builder builderFor return this; } /** - * - * *
      * Where the content was found.
      * 
@@ -2188,9 +2013,7 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.Location value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.privacy.dlp.v2.Location.newBuilder(location_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Location.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -2202,8 +2025,6 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.Location value) { return this; } /** - * - * *
      * Where the content was found.
      * 
@@ -2222,8 +2043,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Where the content was found.
      * 
@@ -2231,13 +2050,11 @@ public Builder clearLocation() { * .google.privacy.dlp.v2.Location location = 4; */ public com.google.privacy.dlp.v2.Location.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Where the content was found.
      * 
@@ -2248,14 +2065,11 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null - ? com.google.privacy.dlp.v2.Location.getDefaultInstance() - : location_; + return location_ == null ? + com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_; } } /** - * - * *
      * Where the content was found.
      * 
@@ -2263,17 +2077,14 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { * .google.privacy.dlp.v2.Location location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Location, - com.google.privacy.dlp.v2.Location.Builder, - com.google.privacy.dlp.v2.LocationOrBuilder> + com.google.privacy.dlp.v2.Location, com.google.privacy.dlp.v2.Location.Builder, com.google.privacy.dlp.v2.LocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Location, - com.google.privacy.dlp.v2.Location.Builder, - com.google.privacy.dlp.v2.LocationOrBuilder>( - getLocation(), getParentForChildren(), isClean()); + locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Location, com.google.privacy.dlp.v2.Location.Builder, com.google.privacy.dlp.v2.LocationOrBuilder>( + getLocation(), + getParentForChildren(), + isClean()); location_ = null; } return locationBuilder_; @@ -2281,47 +2092,34 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { 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_; /** - * - * *
      * Timestamp when finding was detected.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Timestamp when finding was detected.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @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(); } } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2342,15 +2140,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2361,8 +2158,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2373,7 +2168,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2385,8 +2180,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2405,8 +2198,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2414,13 +2205,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2431,14 +2220,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2446,17 +2232,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ 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_; @@ -2464,13 +2247,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.privacy.dlp.v2.QuoteInfo quoteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.QuoteInfo, - com.google.privacy.dlp.v2.QuoteInfo.Builder, - com.google.privacy.dlp.v2.QuoteInfoOrBuilder> - quoteInfoBuilder_; + com.google.privacy.dlp.v2.QuoteInfo, com.google.privacy.dlp.v2.QuoteInfo.Builder, com.google.privacy.dlp.v2.QuoteInfoOrBuilder> quoteInfoBuilder_; /** - * - * *
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2478,15 +2256,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; - * * @return Whether the quoteInfo field is set. */ public boolean hasQuoteInfo() { return quoteInfoBuilder_ != null || quoteInfo_ != null; } /** - * - * *
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2494,21 +2269,16 @@ public boolean hasQuoteInfo() {
      * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; - * * @return The quoteInfo. */ public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() { if (quoteInfoBuilder_ == null) { - return quoteInfo_ == null - ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() - : quoteInfo_; + return quoteInfo_ == null ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() : quoteInfo_; } else { return quoteInfoBuilder_.getMessage(); } } /** - * - * *
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2531,8 +2301,6 @@ public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2541,7 +2309,8 @@ public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
      *
      * .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      */
-    public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo.Builder builderForValue) {
+    public Builder setQuoteInfo(
+        com.google.privacy.dlp.v2.QuoteInfo.Builder builderForValue) {
       if (quoteInfoBuilder_ == null) {
         quoteInfo_ = builderForValue.build();
         onChanged();
@@ -2552,8 +2321,6 @@ public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2566,9 +2333,7 @@ public Builder mergeQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
       if (quoteInfoBuilder_ == null) {
         if (quoteInfo_ != null) {
           quoteInfo_ =
-              com.google.privacy.dlp.v2.QuoteInfo.newBuilder(quoteInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.QuoteInfo.newBuilder(quoteInfo_).mergeFrom(value).buildPartial();
         } else {
           quoteInfo_ = value;
         }
@@ -2580,8 +2345,6 @@ public Builder mergeQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2602,8 +2365,6 @@ public Builder clearQuoteInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2613,13 +2374,11 @@ public Builder clearQuoteInfo() {
      * .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      */
     public com.google.privacy.dlp.v2.QuoteInfo.Builder getQuoteInfoBuilder() {
-
+      
       onChanged();
       return getQuoteInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2632,14 +2391,11 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
       if (quoteInfoBuilder_ != null) {
         return quoteInfoBuilder_.getMessageOrBuilder();
       } else {
-        return quoteInfo_ == null
-            ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance()
-            : quoteInfo_;
+        return quoteInfo_ == null ?
+            com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() : quoteInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2649,17 +2405,14 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
      * .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.QuoteInfo,
-            com.google.privacy.dlp.v2.QuoteInfo.Builder,
-            com.google.privacy.dlp.v2.QuoteInfoOrBuilder>
+        com.google.privacy.dlp.v2.QuoteInfo, com.google.privacy.dlp.v2.QuoteInfo.Builder, com.google.privacy.dlp.v2.QuoteInfoOrBuilder> 
         getQuoteInfoFieldBuilder() {
       if (quoteInfoBuilder_ == null) {
-        quoteInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.QuoteInfo,
-                com.google.privacy.dlp.v2.QuoteInfo.Builder,
-                com.google.privacy.dlp.v2.QuoteInfoOrBuilder>(
-                getQuoteInfo(), getParentForChildren(), isClean());
+        quoteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.QuoteInfo, com.google.privacy.dlp.v2.QuoteInfo.Builder, com.google.privacy.dlp.v2.QuoteInfoOrBuilder>(
+                getQuoteInfo(),
+                getParentForChildren(),
+                isClean());
         quoteInfo_ = null;
       }
       return quoteInfoBuilder_;
@@ -2667,20 +2420,18 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
 
     private java.lang.Object resourceName_ = "";
     /**
-     *
-     *
      * 
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -2689,21 +2440,20 @@ public java.lang.String getResourceName() { } } /** - * - * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -2711,61 +2461,54 @@ public com.google.protobuf.ByteString getResourceNameBytes() { } } /** - * - * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName(java.lang.String value) { + public Builder setResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** - * - * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** - * - * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; @@ -2773,20 +2516,18 @@ public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object triggerName_ = ""; /** - * - * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return The triggerName. */ public java.lang.String getTriggerName() { java.lang.Object ref = triggerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerName_ = s; return s; @@ -2795,21 +2536,20 @@ public java.lang.String getTriggerName() { } } /** - * - * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return The bytes for triggerName. */ - public com.google.protobuf.ByteString getTriggerNameBytes() { + public com.google.protobuf.ByteString + getTriggerNameBytes() { java.lang.Object ref = triggerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); triggerName_ = b; return b; } else { @@ -2817,81 +2557,75 @@ public com.google.protobuf.ByteString getTriggerNameBytes() { } } /** - * - * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @param value The triggerName to set. * @return This builder for chaining. */ - public Builder setTriggerName(java.lang.String value) { + public Builder setTriggerName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + triggerName_ = value; onChanged(); return this; } /** - * - * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTriggerName() { - + triggerName_ = getDefaultInstance().getTriggerName(); onChanged(); return this; } /** - * - * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for triggerName to set. * @return This builder for chaining. */ - public Builder setTriggerNameBytes(com.google.protobuf.ByteString value) { + public Builder setTriggerNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + triggerName_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2903,8 +2637,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2919,22 +2651,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 10;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2950,12 +2682,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 10;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2971,17 +2702,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 10;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2997,11 +2727,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 10;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3009,12 +2740,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -3029,21 +2759,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 10;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -3058,19 +2790,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 10;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -3085,54 +2814,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 10;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp jobCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        jobCreateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobCreateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time the job started that produced this finding.
      * 
* * .google.protobuf.Timestamp job_create_time = 11; - * * @return Whether the jobCreateTime field is set. */ public boolean hasJobCreateTime() { return jobCreateTimeBuilder_ != null || jobCreateTime_ != null; } /** - * - * *
      * Time the job started that produced this finding.
      * 
* * .google.protobuf.Timestamp job_create_time = 11; - * * @return The jobCreateTime. */ public com.google.protobuf.Timestamp getJobCreateTime() { if (jobCreateTimeBuilder_ == null) { - return jobCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobCreateTime_; + return jobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobCreateTime_; } else { return jobCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3153,15 +2872,14 @@ public Builder setJobCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
* * .google.protobuf.Timestamp job_create_time = 11; */ - public Builder setJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setJobCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (jobCreateTimeBuilder_ == null) { jobCreateTime_ = builderForValue.build(); onChanged(); @@ -3172,8 +2890,6 @@ public Builder setJobCreateTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3184,9 +2900,7 @@ public Builder mergeJobCreateTime(com.google.protobuf.Timestamp value) { if (jobCreateTimeBuilder_ == null) { if (jobCreateTime_ != null) { jobCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(jobCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(jobCreateTime_).mergeFrom(value).buildPartial(); } else { jobCreateTime_ = value; } @@ -3198,8 +2912,6 @@ public Builder mergeJobCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3218,8 +2930,6 @@ public Builder clearJobCreateTime() { return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3227,13 +2937,11 @@ public Builder clearJobCreateTime() { * .google.protobuf.Timestamp job_create_time = 11; */ public com.google.protobuf.Timestamp.Builder getJobCreateTimeBuilder() { - + onChanged(); return getJobCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3244,14 +2952,11 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { if (jobCreateTimeBuilder_ != null) { return jobCreateTimeBuilder_.getMessageOrBuilder(); } else { - return jobCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobCreateTime_; + return jobCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : jobCreateTime_; } } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3259,17 +2964,14 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { * .google.protobuf.Timestamp job_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> getJobCreateTimeFieldBuilder() { if (jobCreateTimeBuilder_ == null) { - jobCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getJobCreateTime(), getParentForChildren(), isClean()); + jobCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getJobCreateTime(), + getParentForChildren(), + isClean()); jobCreateTime_ = null; } return jobCreateTimeBuilder_; @@ -3277,20 +2979,18 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { private java.lang.Object jobName_ = ""; /** - * - * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobName_ = s; return s; @@ -3299,21 +2999,20 @@ public java.lang.String getJobName() { } } /** - * - * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobName_ = b; return b; } else { @@ -3321,61 +3020,54 @@ public com.google.protobuf.ByteString getJobNameBytes() { } } /** - * - * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName(java.lang.String value) { + public Builder setJobName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** - * - * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** - * - * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes(com.google.protobuf.ByteString value) { + public Builder setJobNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -3383,20 +3075,18 @@ public Builder setJobNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object findingId_ = ""; /** - * - * *
      * The unique finding id.
      * 
* * string finding_id = 15; - * * @return The findingId. */ public java.lang.String getFindingId() { java.lang.Object ref = findingId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); findingId_ = s; return s; @@ -3405,21 +3095,20 @@ public java.lang.String getFindingId() { } } /** - * - * *
      * The unique finding id.
      * 
* * string finding_id = 15; - * * @return The bytes for findingId. */ - public com.google.protobuf.ByteString getFindingIdBytes() { + public com.google.protobuf.ByteString + getFindingIdBytes() { java.lang.Object ref = findingId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); findingId_ = b; return b; } else { @@ -3427,68 +3116,61 @@ public com.google.protobuf.ByteString getFindingIdBytes() { } } /** - * - * *
      * The unique finding id.
      * 
* * string finding_id = 15; - * * @param value The findingId to set. * @return This builder for chaining. */ - public Builder setFindingId(java.lang.String value) { + public Builder setFindingId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + findingId_ = value; onChanged(); return this; } /** - * - * *
      * The unique finding id.
      * 
* * string finding_id = 15; - * * @return This builder for chaining. */ public Builder clearFindingId() { - + findingId_ = getDefaultInstance().getFindingId(); onChanged(); return this; } /** - * - * *
      * The unique finding id.
      * 
* * string finding_id = 15; - * * @param value The bytes for findingId to set. * @return This builder for chaining. */ - public Builder setFindingIdBytes(com.google.protobuf.ByteString value) { + public Builder setFindingIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + findingId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3498,12 +3180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Finding) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Finding) private static final com.google.privacy.dlp.v2.Finding DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Finding(); } @@ -3512,16 +3194,16 @@ public static com.google.privacy.dlp.v2.Finding getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Finding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Finding(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Finding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Finding(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3536,4 +3218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Finding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java similarity index 85% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java index a6c9d395..50100962 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface FindingOrBuilder - extends +public interface FindingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Finding) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -33,13 +15,10 @@ public interface FindingOrBuilder
    * 
* * string name = 14; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -47,14 +26,12 @@ public interface FindingOrBuilder
    * 
* * string name = 14; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -64,13 +41,10 @@ public interface FindingOrBuilder
    * 
* * string quote = 1; - * * @return The quote. */ java.lang.String getQuote(); /** - * - * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -80,40 +54,32 @@ public interface FindingOrBuilder
    * 
* * string quote = 1; - * * @return The bytes for quote. */ - com.google.protobuf.ByteString getQuoteBytes(); + com.google.protobuf.ByteString + getQuoteBytes(); /** - * - * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
@@ -124,57 +90,43 @@ public interface FindingOrBuilder
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return The enum numeric value on the wire for likelihood. */ int getLikelihoodValue(); /** - * - * *
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; - * * @return The likelihood. */ com.google.privacy.dlp.v2.Likelihood getLikelihood(); /** - * - * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; - * * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; - * * @return The location. */ com.google.privacy.dlp.v2.Location getLocation(); /** - * - * *
    * Where the content was found.
    * 
@@ -184,32 +136,24 @@ public interface FindingOrBuilder com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder(); /** - * - * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Timestamp when finding was detected.
    * 
@@ -219,8 +163,6 @@ public interface FindingOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -228,13 +170,10 @@ public interface FindingOrBuilder
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; - * * @return Whether the quoteInfo field is set. */ boolean hasQuoteInfo(); /** - * - * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -242,13 +181,10 @@ public interface FindingOrBuilder
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; - * * @return The quoteInfo. */ com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo(); /** - * - * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -260,58 +196,46 @@ public interface FindingOrBuilder
   com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return The resourceName. */ java.lang.String getResourceName(); /** - * - * *
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString getResourceNameBytes(); + com.google.protobuf.ByteString + getResourceNameBytes(); /** - * - * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return The triggerName. */ java.lang.String getTriggerName(); /** - * - * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } - * * @return The bytes for triggerName. */ - com.google.protobuf.ByteString getTriggerNameBytes(); + com.google.protobuf.ByteString + getTriggerNameBytes(); /** - * - * *
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -328,8 +252,6 @@ public interface FindingOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -344,13 +266,15 @@ public interface FindingOrBuilder
    *
    * map<string, string> labels = 10;
    */
-  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();
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -365,10 +289,9 @@ public interface FindingOrBuilder
    *
    * map<string, string> labels = 10;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -383,10 +306,11 @@ public interface FindingOrBuilder
    *
    * map<string, string> labels = 10;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -401,35 +325,29 @@ public interface FindingOrBuilder
    *
    * map<string, string> labels = 10;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; - * * @return Whether the jobCreateTime field is set. */ boolean hasJobCreateTime(); /** - * - * *
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; - * * @return The jobCreateTime. */ com.google.protobuf.Timestamp getJobCreateTime(); /** - * - * *
    * Time the job started that produced this finding.
    * 
@@ -439,52 +357,42 @@ public interface FindingOrBuilder com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder(); /** - * - * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return The jobName. */ java.lang.String getJobName(); /** - * - * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } - * * @return The bytes for jobName. */ - com.google.protobuf.ByteString getJobNameBytes(); + com.google.protobuf.ByteString + getJobNameBytes(); /** - * - * *
    * The unique finding id.
    * 
* * string finding_id = 15; - * * @return The findingId. */ java.lang.String getFindingId(); /** - * - * *
    * The unique finding id.
    * 
* * string finding_id = 15; - * * @return The bytes for findingId. */ - com.google.protobuf.ByteString getFindingIdBytes(); + com.google.protobuf.ByteString + getFindingIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java index c57e216a..149d19af 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The request message for finishing a DLP hybrid job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.FinishDlpJobRequest} */ -public final class FinishDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinishDlpJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FinishDlpJobRequest) FinishDlpJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinishDlpJobRequest.newBuilder() to construct. private FinishDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinishDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinishDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FinishDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private FinishDlpJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FinishDlpJobRequest.class, - com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.FinishDlpJobRequest.class, com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * - * 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 @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,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.privacy.dlp.v2.FinishDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.FinishDlpJobRequest other = - (com.google.privacy.dlp.v2.FinishDlpJobRequest) obj; + com.google.privacy.dlp.v2.FinishDlpJobRequest other = (com.google.privacy.dlp.v2.FinishDlpJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +201,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.FinishDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 finishing a DLP hybrid job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.FinishDlpJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FinishDlpJobRequest) com.google.privacy.dlp.v2.FinishDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FinishDlpJobRequest.class, - com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.FinishDlpJobRequest.class, com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.FinishDlpJobRequest.newBuilder() @@ -356,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; } @java.lang.Override @@ -395,8 +360,7 @@ public com.google.privacy.dlp.v2.FinishDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.FinishDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.FinishDlpJobRequest result = - new com.google.privacy.dlp.v2.FinishDlpJobRequest(this); + com.google.privacy.dlp.v2.FinishDlpJobRequest result = new com.google.privacy.dlp.v2.FinishDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +370,38 @@ public com.google.privacy.dlp.v2.FinishDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.FinishDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.FinishDlpJobRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.FinishDlpJobRequest)other); } else { super.mergeFrom(other); return this; @@ -482,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * 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; @@ -506,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -530,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FinishDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FinishDlpJobRequest) private static final com.google.privacy.dlp.v2.FinishDlpJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FinishDlpJobRequest(); } @@ -621,16 +564,16 @@ public static com.google.privacy.dlp.v2.FinishDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinishDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinishDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinishDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinishDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.FinishDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..35fac50b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface FinishDlpJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FinishDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java index f6979016..89c94762 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Buckets values based on fixed size ranges. The
  * Bucketing transformation can provide all of this functionality,
@@ -38,29 +21,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.FixedSizeBucketingConfig}
  */
-public final class FixedSizeBucketingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FixedSizeBucketingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FixedSizeBucketingConfig)
     FixedSizeBucketingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FixedSizeBucketingConfig.newBuilder() to construct.
   private FixedSizeBucketingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FixedSizeBucketingConfig() {}
+  private FixedSizeBucketingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FixedSizeBucketingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private FixedSizeBucketingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,89 +63,79 @@ private FixedSizeBucketingConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
-              if (lowerBound_ != null) {
-                subBuilder = lowerBound_.toBuilder();
-              }
-              lowerBound_ =
-                  input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lowerBound_);
-                lowerBound_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
+            if (lowerBound_ != null) {
+              subBuilder = lowerBound_.toBuilder();
+            }
+            lowerBound_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lowerBound_);
+              lowerBound_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
-              if (upperBound_ != null) {
-                subBuilder = upperBound_.toBuilder();
-              }
-              upperBound_ =
-                  input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(upperBound_);
-                upperBound_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
+            if (upperBound_ != null) {
+              subBuilder = upperBound_.toBuilder();
             }
-          case 25:
-            {
-              bucketSize_ = input.readDouble();
-              break;
+            upperBound_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(upperBound_);
+              upperBound_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 25: {
+
+            bucketSize_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class,
-            com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
+            com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
   }
 
   public static final int LOWER_BOUND_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.Value lowerBound_;
   /**
-   *
-   *
    * 
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the lowerBound field is set. */ @java.lang.Override @@ -169,17 +143,13 @@ public boolean hasLowerBound() { return lowerBound_ != null; } /** - * - * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The lowerBound. */ @java.lang.Override @@ -187,16 +157,13 @@ public com.google.privacy.dlp.v2.Value getLowerBound() { return lowerBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_; } /** - * - * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { @@ -206,17 +173,13 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { public static final int UPPER_BOUND_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.Value upperBound_; /** - * - * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the upperBound field is set. */ @java.lang.Override @@ -224,17 +187,13 @@ public boolean hasUpperBound() { return upperBound_ != null; } /** - * - * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The upperBound. */ @java.lang.Override @@ -242,16 +201,13 @@ public com.google.privacy.dlp.v2.Value getUpperBound() { return upperBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_; } /** - * - * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { @@ -261,8 +217,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private double bucketSize_; /** - * - * *
    * Required. Size of each bucket (except for minimum and maximum buckets). So if
    * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -271,7 +225,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
    * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketSize. */ @java.lang.Override @@ -280,7 +233,6 @@ public double getBucketSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (lowerBound_ != null) { output.writeMessage(1, getLowerBound()); } @@ -312,13 +265,16 @@ public int getSerializedSize() { size = 0; if (lowerBound_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLowerBound()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLowerBound()); } if (upperBound_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpperBound()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpperBound()); } if (bucketSize_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, bucketSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -328,24 +284,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.privacy.dlp.v2.FixedSizeBucketingConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.FixedSizeBucketingConfig other = - (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) obj; + com.google.privacy.dlp.v2.FixedSizeBucketingConfig other = (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) obj; if (hasLowerBound() != other.hasLowerBound()) return false; if (hasLowerBound()) { - if (!getLowerBound().equals(other.getLowerBound())) return false; + if (!getLowerBound() + .equals(other.getLowerBound())) return false; } if (hasUpperBound() != other.hasUpperBound()) return false; if (hasUpperBound()) { - if (!getUpperBound().equals(other.getUpperBound())) return false; + if (!getUpperBound() + .equals(other.getUpperBound())) return false; } if (java.lang.Double.doubleToLongBits(getBucketSize()) - != java.lang.Double.doubleToLongBits(other.getBucketSize())) return false; + != java.lang.Double.doubleToLongBits( + other.getBucketSize())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -366,113 +324,104 @@ public int hashCode() { hash = (53 * hash) + getUpperBound().hashCode(); } hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getBucketSize())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getBucketSize())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.FixedSizeBucketingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Buckets values based on fixed size ranges. The
    * Bucketing transformation can provide all of this functionality,
@@ -490,23 +439,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.FixedSizeBucketingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FixedSizeBucketingConfig)
       com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class,
-              com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
+              com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.FixedSizeBucketingConfig.newBuilder()
@@ -514,15 +461,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -544,9 +492,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -565,8 +513,7 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.FixedSizeBucketingConfig buildPartial() {
-      com.google.privacy.dlp.v2.FixedSizeBucketingConfig result =
-          new com.google.privacy.dlp.v2.FixedSizeBucketingConfig(this);
+      com.google.privacy.dlp.v2.FixedSizeBucketingConfig result = new com.google.privacy.dlp.v2.FixedSizeBucketingConfig(this);
       if (lowerBoundBuilder_ == null) {
         result.lowerBound_ = lowerBound_;
       } else {
@@ -586,39 +533,38 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.FixedSizeBucketingConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.FixedSizeBucketingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -626,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.FixedSizeBucketingConfig other) {
-      if (other == com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance()) return this;
       if (other.hasLowerBound()) {
         mergeLowerBound(other.getLowerBound());
       }
@@ -656,8 +601,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -669,61 +613,45 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.Value lowerBound_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Value,
-            com.google.privacy.dlp.v2.Value.Builder,
-            com.google.privacy.dlp.v2.ValueOrBuilder>
-        lowerBoundBuilder_;
+        com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> lowerBoundBuilder_;
     /**
-     *
-     *
      * 
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the lowerBound field is set. */ public boolean hasLowerBound() { return lowerBoundBuilder_ != null || lowerBound_ != null; } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The lowerBound. */ public com.google.privacy.dlp.v2.Value getLowerBound() { if (lowerBoundBuilder_ == null) { - return lowerBound_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : lowerBound_; + return lowerBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_; } else { return lowerBoundBuilder_.getMessage(); } } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLowerBound(com.google.privacy.dlp.v2.Value value) { if (lowerBoundBuilder_ == null) { @@ -739,18 +667,16 @@ public Builder setLowerBound(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLowerBound(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setLowerBound( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (lowerBoundBuilder_ == null) { lowerBound_ = builderForValue.build(); onChanged(); @@ -761,24 +687,19 @@ public Builder setLowerBound(com.google.privacy.dlp.v2.Value.Builder builderForV return this; } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLowerBound(com.google.privacy.dlp.v2.Value value) { if (lowerBoundBuilder_ == null) { if (lowerBound_ != null) { lowerBound_ = - com.google.privacy.dlp.v2.Value.newBuilder(lowerBound_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(lowerBound_).mergeFrom(value).buildPartial(); } else { lowerBound_ = value; } @@ -790,16 +711,13 @@ public Builder mergeLowerBound(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLowerBound() { if (lowerBoundBuilder_ == null) { @@ -813,67 +731,54 @@ public Builder clearLowerBound() { return this; } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.Value.Builder getLowerBoundBuilder() { - + onChanged(); return getLowerBoundFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { if (lowerBoundBuilder_ != null) { return lowerBoundBuilder_.getMessageOrBuilder(); } else { - return lowerBound_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : lowerBound_; + return lowerBound_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_; } } /** - * - * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getLowerBoundFieldBuilder() { if (lowerBoundBuilder_ == null) { - lowerBoundBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getLowerBound(), getParentForChildren(), isClean()); + lowerBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getLowerBound(), + getParentForChildren(), + isClean()); lowerBound_ = null; } return lowerBoundBuilder_; @@ -881,61 +786,45 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { private com.google.privacy.dlp.v2.Value upperBound_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - upperBoundBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> upperBoundBuilder_; /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the upperBound field is set. */ public boolean hasUpperBound() { return upperBoundBuilder_ != null || upperBound_ != null; } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The upperBound. */ public com.google.privacy.dlp.v2.Value getUpperBound() { if (upperBoundBuilder_ == null) { - return upperBound_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : upperBound_; + return upperBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_; } else { return upperBoundBuilder_.getMessage(); } } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpperBound(com.google.privacy.dlp.v2.Value value) { if (upperBoundBuilder_ == null) { @@ -951,18 +840,16 @@ public Builder setUpperBound(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpperBound(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setUpperBound( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (upperBoundBuilder_ == null) { upperBound_ = builderForValue.build(); onChanged(); @@ -973,24 +860,19 @@ public Builder setUpperBound(com.google.privacy.dlp.v2.Value.Builder builderForV return this; } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpperBound(com.google.privacy.dlp.v2.Value value) { if (upperBoundBuilder_ == null) { if (upperBound_ != null) { upperBound_ = - com.google.privacy.dlp.v2.Value.newBuilder(upperBound_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(upperBound_).mergeFrom(value).buildPartial(); } else { upperBound_ = value; } @@ -1002,16 +884,13 @@ public Builder mergeUpperBound(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpperBound() { if (upperBoundBuilder_ == null) { @@ -1025,76 +904,61 @@ public Builder clearUpperBound() { return this; } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.Value.Builder getUpperBoundBuilder() { - + onChanged(); return getUpperBoundFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { if (upperBoundBuilder_ != null) { return upperBoundBuilder_.getMessageOrBuilder(); } else { - return upperBound_ == null - ? com.google.privacy.dlp.v2.Value.getDefaultInstance() - : upperBound_; + return upperBound_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_; } } /** - * - * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getUpperBoundFieldBuilder() { if (upperBoundBuilder_ == null) { - upperBoundBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getUpperBound(), getParentForChildren(), isClean()); + upperBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getUpperBound(), + getParentForChildren(), + isClean()); upperBound_ = null; } return upperBoundBuilder_; } - private double bucketSize_; + private double bucketSize_ ; /** - * - * *
      * Required. Size of each bucket (except for minimum and maximum buckets). So if
      * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -1103,7 +967,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketSize. */ @java.lang.Override @@ -1111,8 +974,6 @@ public double getBucketSize() { return bucketSize_; } /** - * - * *
      * Required. Size of each bucket (except for minimum and maximum buckets). So if
      * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -1121,19 +982,16 @@ public double getBucketSize() {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(double value) { - + bucketSize_ = value; onChanged(); return this; } /** - * - * *
      * Required. Size of each bucket (except for minimum and maximum buckets). So if
      * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -1142,18 +1000,17 @@ public Builder setBucketSize(double value) {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0D; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1163,12 +1020,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FixedSizeBucketingConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FixedSizeBucketingConfig) private static final com.google.privacy.dlp.v2.FixedSizeBucketingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FixedSizeBucketingConfig(); } @@ -1177,16 +1034,16 @@ public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedSizeBucketingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedSizeBucketingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedSizeBucketingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedSizeBucketingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,4 +1058,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java index b41c4fd0..e4046de1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java @@ -1,119 +1,79 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface FixedSizeBucketingConfigOrBuilder - extends +public interface FixedSizeBucketingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FixedSizeBucketingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the lowerBound field is set. */ boolean hasLowerBound(); /** - * - * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The lowerBound. */ com.google.privacy.dlp.v2.Value getLowerBound(); /** - * - * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder(); /** - * - * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the upperBound field is set. */ boolean hasUpperBound(); /** - * - * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The upperBound. */ com.google.privacy.dlp.v2.Value getUpperBound(); /** - * - * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder(); /** - * - * *
    * Required. Size of each bucket (except for minimum and maximum buckets). So if
    * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -122,7 +82,6 @@ public interface FixedSizeBucketingConfigOrBuilder
    * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketSize. */ double getBucketSize(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java index cde2e251..a53f8ddc 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for GetDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDeidentifyTemplateRequest} */ -public final class GetDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDeidentifyTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) GetDeidentifyTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDeidentifyTemplateRequest.newBuilder() to construct. private GetDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDeidentifyTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetDeidentifyTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * 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 @@ -134,33 +109,31 @@ 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. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest other = - (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDeidentifyTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) com.google.privacy.dlp.v2.GetDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest result = - new com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * 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; @@ -515,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * 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 { @@ -541,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest(); } @@ -638,16 +578,16 @@ public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +602,6 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java new file mode 100644 index 00000000..e11b89c3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetDeidentifyTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java similarity index 64% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java index 4b25f47d..2bec28ef 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The request message for [DlpJobs.GetDlpJob][].
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDlpJobRequest} */ -public final class GetDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDlpJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetDlpJobRequest) GetDlpJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDlpJobRequest.newBuilder() to construct. private GetDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private GetDlpJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDlpJobRequest.class, - com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.GetDlpJobRequest.class, com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the DlpJob resource.
    * 
* - * - * 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 @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the DlpJob resource.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,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.privacy.dlp.v2.GetDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetDlpJobRequest other = - (com.google.privacy.dlp.v2.GetDlpJobRequest) obj; + com.google.privacy.dlp.v2.GetDlpJobRequest other = (com.google.privacy.dlp.v2.GetDlpJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +201,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.GetDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [DlpJobs.GetDlpJob][].
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDlpJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetDlpJobRequest) com.google.privacy.dlp.v2.GetDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDlpJobRequest.class, - com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.GetDlpJobRequest.class, com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetDlpJobRequest.newBuilder() @@ -356,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; } @java.lang.Override @@ -395,8 +360,7 @@ public com.google.privacy.dlp.v2.GetDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.GetDlpJobRequest result = - new com.google.privacy.dlp.v2.GetDlpJobRequest(this); + com.google.privacy.dlp.v2.GetDlpJobRequest result = new com.google.privacy.dlp.v2.GetDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +370,38 @@ public com.google.privacy.dlp.v2.GetDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetDlpJobRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.GetDlpJobRequest)other); } else { super.mergeFrom(other); return this; @@ -482,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DlpJob resource.
      * 
* - * - * 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; @@ -506,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DlpJob resource.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -530,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DlpJob resource.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the DlpJob resource.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetDlpJobRequest) private static final com.google.privacy.dlp.v2.GetDlpJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetDlpJobRequest(); } @@ -621,16 +564,16 @@ public static com.google.privacy.dlp.v2.GetDlpJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.GetDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..1f23a52a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetDlpJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DlpJob resource.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DlpJob resource.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java index c3f44946..a8191d50 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for GetInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetInspectTemplateRequest} */ -public final class GetInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInspectTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetInspectTemplateRequest) GetInspectTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInspectTemplateRequest.newBuilder() to construct. private GetInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInspectTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetInspectTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, - com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * 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 @@ -134,33 +109,31 @@ 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. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.GetInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetInspectTemplateRequest other = - (com.google.privacy.dlp.v2.GetInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.GetInspectTemplateRequest other = (com.google.privacy.dlp.v2.GetInspectTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.GetInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetInspectTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetInspectTemplateRequest) com.google.privacy.dlp.v2.GetInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, - com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetInspectTemplateRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.privacy.dlp.v2.GetInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.GetInspectTemplateRequest result = - new com.google.privacy.dlp.v2.GetInspectTemplateRequest(this); + com.google.privacy.dlp.v2.GetInspectTemplateRequest result = new com.google.privacy.dlp.v2.GetInspectTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.privacy.dlp.v2.GetInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetInspectTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.GetInspectTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.GetInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.GetInspectTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.GetInspectTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.GetInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.GetInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * 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; @@ -514,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * 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 { @@ -540,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetInspectTemplateRequest) private static final com.google.privacy.dlp.v2.GetInspectTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetInspectTemplateRequest(); } @@ -637,16 +578,16 @@ public static com.google.privacy.dlp.v2.GetInspectTemplateRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.GetInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java new file mode 100644 index 00000000..42f34c29 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetInspectTemplateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetInspectTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java index 667a5109..f9fe19a1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for GetJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetJobTriggerRequest} */ -public final class GetJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetJobTriggerRequest) GetJobTriggerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobTriggerRequest.newBuilder() to construct. private GetJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetJobTriggerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetJobTriggerRequest.class, - com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.GetJobTriggerRequest.class, com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.GetJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetJobTriggerRequest other = - (com.google.privacy.dlp.v2.GetJobTriggerRequest) obj; + com.google.privacy.dlp.v2.GetJobTriggerRequest other = (com.google.privacy.dlp.v2.GetJobTriggerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.GetJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetJobTriggerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetJobTriggerRequest) com.google.privacy.dlp.v2.GetJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetJobTriggerRequest.class, - com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.GetJobTriggerRequest.class, com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetJobTriggerRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.privacy.dlp.v2.GetJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.GetJobTriggerRequest result = - new com.google.privacy.dlp.v2.GetJobTriggerRequest(this); + com.google.privacy.dlp.v2.GetJobTriggerRequest result = new com.google.privacy.dlp.v2.GetJobTriggerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.privacy.dlp.v2.GetJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetJobTriggerRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.GetJobTriggerRequest)other); } else { super.mergeFrom(other); return this; @@ -484,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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; @@ -509,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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 { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetJobTriggerRequest) private static final com.google.privacy.dlp.v2.GetJobTriggerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetJobTriggerRequest(); } @@ -628,16 +571,16 @@ public static com.google.privacy.dlp.v2.GetJobTriggerRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.GetJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java new file mode 100644 index 00000000..c81d0b33 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetJobTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java index b106bf9e..4aeec5d0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for GetStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetStoredInfoTypeRequest} */ -public final class GetStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetStoredInfoTypeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetStoredInfoTypeRequest) GetStoredInfoTypeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetStoredInfoTypeRequest.newBuilder() to construct. private GetStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetStoredInfoTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private GetStoredInfoTypeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * 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 @@ -134,33 +109,31 @@ 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. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.GetStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest other = - (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetStoredInfoTypeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetStoredInfoTypeRequest) com.google.privacy.dlp.v2.GetStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest result = - new com.google.privacy.dlp.v2.GetStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.GetStoredInfoTypeRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.GetStoredInfoTypeRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * 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; @@ -514,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * 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 { @@ -540,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.GetStoredInfoTypeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetStoredInfoTypeRequest(); } @@ -637,16 +578,16 @@ public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java new file mode 100644 index 00000000..22cd00e8 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetStoredInfoTypeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetStoredInfoTypeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java index f920d9ce..44a69a18 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * An individual hybrid item to inspect. Will be stored temporarily during
  * processing.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.HybridContentItem}
  */
-public final class HybridContentItem extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HybridContentItem extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridContentItem)
     HybridContentItemOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HybridContentItem.newBuilder() to construct.
   private HybridContentItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private HybridContentItem() {}
+  private HybridContentItem() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HybridContentItem();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HybridContentItem(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,83 +53,72 @@ private HybridContentItem(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null;
-              if (item_ != null) {
-                subBuilder = item_.toBuilder();
-              }
-              item_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(item_);
-                item_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null;
+            if (item_ != null) {
+              subBuilder = item_.toBuilder();
+            }
+            item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(item_);
+              item_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.HybridFindingDetails.Builder subBuilder = null;
+            if (findingDetails_ != null) {
+              subBuilder = findingDetails_.toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.HybridFindingDetails.Builder subBuilder = null;
-              if (findingDetails_ != null) {
-                subBuilder = findingDetails_.toBuilder();
-              }
-              findingDetails_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.HybridFindingDetails.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(findingDetails_);
-                findingDetails_ = subBuilder.buildPartial();
-              }
-
-              break;
+            findingDetails_ = input.readMessage(com.google.privacy.dlp.v2.HybridFindingDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(findingDetails_);
+              findingDetails_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.HybridContentItem.class,
-            com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
+            com.google.privacy.dlp.v2.HybridContentItem.class, com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
   }
 
   public static final int ITEM_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.ContentItem item_;
   /**
-   *
-   *
    * 
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ @java.lang.Override @@ -153,14 +126,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ @java.lang.Override @@ -168,8 +138,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The item to inspect.
    * 
@@ -184,14 +152,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int FINDING_DETAILS_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.HybridFindingDetails findingDetails_; /** - * - * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; - * * @return Whether the findingDetails field is set. */ @java.lang.Override @@ -199,25 +164,18 @@ public boolean hasFindingDetails() { return findingDetails_ != null; } /** - * - * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; - * * @return The findingDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails() { - return findingDetails_ == null - ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() - : findingDetails_; + return findingDetails_ == null ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() : findingDetails_; } /** - * - * *
    * Supplementary information that will be added to each finding.
    * 
@@ -230,7 +188,6 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (item_ != null) { output.writeMessage(1, getItem()); } @@ -259,10 +217,12 @@ public int getSerializedSize() { size = 0; if (item_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getItem()); } if (findingDetails_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFindingDetails()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFindingDetails()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -272,21 +232,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.privacy.dlp.v2.HybridContentItem)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridContentItem other = - (com.google.privacy.dlp.v2.HybridContentItem) obj; + com.google.privacy.dlp.v2.HybridContentItem other = (com.google.privacy.dlp.v2.HybridContentItem) obj; if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem().equals(other.getItem())) return false; + if (!getItem() + .equals(other.getItem())) return false; } if (hasFindingDetails() != other.hasFindingDetails()) return false; if (hasFindingDetails()) { - if (!getFindingDetails().equals(other.getFindingDetails())) return false; + if (!getFindingDetails() + .equals(other.getFindingDetails())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -312,104 +273,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridContentItem parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridContentItem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridContentItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.HybridContentItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 individual hybrid item to inspect. Will be stored temporarily during
    * processing.
@@ -417,23 +371,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.HybridContentItem}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridContentItem)
       com.google.privacy.dlp.v2.HybridContentItemOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.HybridContentItem.class,
-              com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
+              com.google.privacy.dlp.v2.HybridContentItem.class, com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.HybridContentItem.newBuilder()
@@ -441,15 +393,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -469,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
     }
 
     @java.lang.Override
@@ -490,8 +443,7 @@ public com.google.privacy.dlp.v2.HybridContentItem build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.HybridContentItem buildPartial() {
-      com.google.privacy.dlp.v2.HybridContentItem result =
-          new com.google.privacy.dlp.v2.HybridContentItem(this);
+      com.google.privacy.dlp.v2.HybridContentItem result = new com.google.privacy.dlp.v2.HybridContentItem(this);
       if (itemBuilder_ == null) {
         result.item_ = item_;
       } else {
@@ -510,39 +462,38 @@ public com.google.privacy.dlp.v2.HybridContentItem buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.HybridContentItem) {
-        return mergeFrom((com.google.privacy.dlp.v2.HybridContentItem) other);
+        return mergeFrom((com.google.privacy.dlp.v2.HybridContentItem)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -588,33 +539,24 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.ContentItem item_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.ContentItem,
-            com.google.privacy.dlp.v2.ContentItem.Builder,
-            com.google.privacy.dlp.v2.ContentItemOrBuilder>
-        itemBuilder_;
+        com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_;
     /**
-     *
-     *
      * 
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -625,8 +567,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to inspect.
      * 
@@ -647,15 +587,14 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; */ - public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem( + com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -666,8 +605,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -678,9 +615,7 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -692,8 +627,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -712,8 +645,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -721,13 +652,11 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 1; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** - * - * *
      * The item to inspect.
      * 
@@ -738,12 +667,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? + com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** - * - * *
      * The item to inspect.
      * 
@@ -751,17 +679,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), getParentForChildren(), isClean()); + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); item_ = null; } return itemBuilder_; @@ -769,47 +694,34 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private com.google.privacy.dlp.v2.HybridFindingDetails findingDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridFindingDetails, - com.google.privacy.dlp.v2.HybridFindingDetails.Builder, - com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> - findingDetailsBuilder_; + com.google.privacy.dlp.v2.HybridFindingDetails, com.google.privacy.dlp.v2.HybridFindingDetails.Builder, com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> findingDetailsBuilder_; /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; - * * @return Whether the findingDetails field is set. */ public boolean hasFindingDetails() { return findingDetailsBuilder_ != null || findingDetails_ != null; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; - * * @return The findingDetails. */ public com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails() { if (findingDetailsBuilder_ == null) { - return findingDetails_ == null - ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() - : findingDetails_; + return findingDetails_ == null ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() : findingDetails_; } else { return findingDetailsBuilder_.getMessage(); } } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -830,8 +742,6 @@ public Builder setFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetails return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -850,8 +760,6 @@ public Builder setFindingDetails( return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -862,9 +770,7 @@ public Builder mergeFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetail if (findingDetailsBuilder_ == null) { if (findingDetails_ != null) { findingDetails_ = - com.google.privacy.dlp.v2.HybridFindingDetails.newBuilder(findingDetails_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.HybridFindingDetails.newBuilder(findingDetails_).mergeFrom(value).buildPartial(); } else { findingDetails_ = value; } @@ -876,8 +782,6 @@ public Builder mergeFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetail return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -896,8 +800,6 @@ public Builder clearFindingDetails() { return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -905,13 +807,11 @@ public Builder clearFindingDetails() { * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; */ public com.google.privacy.dlp.v2.HybridFindingDetails.Builder getFindingDetailsBuilder() { - + onChanged(); return getFindingDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -922,14 +822,11 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails if (findingDetailsBuilder_ != null) { return findingDetailsBuilder_.getMessageOrBuilder(); } else { - return findingDetails_ == null - ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() - : findingDetails_; + return findingDetails_ == null ? + com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() : findingDetails_; } } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -937,24 +834,21 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridFindingDetails, - com.google.privacy.dlp.v2.HybridFindingDetails.Builder, - com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> + com.google.privacy.dlp.v2.HybridFindingDetails, com.google.privacy.dlp.v2.HybridFindingDetails.Builder, com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> getFindingDetailsFieldBuilder() { if (findingDetailsBuilder_ == null) { - findingDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridFindingDetails, - com.google.privacy.dlp.v2.HybridFindingDetails.Builder, - com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder>( - getFindingDetails(), getParentForChildren(), isClean()); + findingDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridFindingDetails, com.google.privacy.dlp.v2.HybridFindingDetails.Builder, com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder>( + getFindingDetails(), + getParentForChildren(), + isClean()); findingDetails_ = null; } return findingDetailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -964,12 +858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridContentItem) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridContentItem) private static final com.google.privacy.dlp.v2.HybridContentItem DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridContentItem(); } @@ -978,16 +872,16 @@ public static com.google.privacy.dlp.v2.HybridContentItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridContentItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridContentItem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridContentItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridContentItem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.HybridContentItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java index cc4b61d4..d7f55d6a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridContentItemOrBuilder - extends +public interface HybridContentItemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridContentItem) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ boolean hasItem(); /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** - * - * *
    * The item to inspect.
    * 
@@ -59,32 +35,24 @@ public interface HybridContentItemOrBuilder com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** - * - * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; - * * @return Whether the findingDetails field is set. */ boolean hasFindingDetails(); /** - * - * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; - * * @return The findingDetails. */ com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails(); /** - * - * *
    * Supplementary information that will be added to each finding.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java index 3d49e647..c94d61df 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Populate to associate additional data with each finding.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridFindingDetails} */ -public final class HybridFindingDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HybridFindingDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridFindingDetails) HybridFindingDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HybridFindingDetails.newBuilder() to construct. private HybridFindingDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private HybridFindingDetails() {} + private HybridFindingDetails() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HybridFindingDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HybridFindingDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,117 +53,107 @@ private HybridFindingDetails( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Container.Builder subBuilder = null; - if (containerDetails_ != null) { - subBuilder = containerDetails_.toBuilder(); - } - containerDetails_ = - input.readMessage( - com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(containerDetails_); - containerDetails_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Container.Builder subBuilder = null; + if (containerDetails_ != null) { + subBuilder = containerDetails_.toBuilder(); } - case 16: - { - fileOffset_ = input.readInt64(); - break; + containerDetails_ = input.readMessage(com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(containerDetails_); + containerDetails_ = subBuilder.buildPartial(); } - case 24: - { - rowOffset_ = input.readInt64(); - break; + + break; + } + case 16: { + + fileOffset_ = input.readInt64(); + break; + } + case 24: { + + rowOffset_ = input.readInt64(); + break; + } + case 34: { + com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null; + if (tableOptions_ != null) { + subBuilder = tableOptions_.toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null; - if (tableOptions_ != null) { - subBuilder = tableOptions_.toBuilder(); - } - tableOptions_ = - input.readMessage( - com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableOptions_); - tableOptions_ = subBuilder.buildPartial(); - } - - break; + tableOptions_ = input.readMessage(com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableOptions_); + tableOptions_ = subBuilder.buildPartial(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_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 5: 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.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridFindingDetails.class, - com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); + com.google.privacy.dlp.v2.HybridFindingDetails.class, com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); } public static final int CONTAINER_DETAILS_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Container containerDetails_; /** - * - * *
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; - * * @return Whether the containerDetails field is set. */ @java.lang.Override @@ -187,25 +161,18 @@ public boolean hasContainerDetails() { return containerDetails_ != null; } /** - * - * *
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; - * * @return The containerDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.Container getContainerDetails() { - return containerDetails_ == null - ? com.google.privacy.dlp.v2.Container.getDefaultInstance() - : containerDetails_; + return containerDetails_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : containerDetails_; } /** - * - * *
    * Details about the container where the content being inspected is from.
    * 
@@ -220,8 +187,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder public static final int FILE_OFFSET_FIELD_NUMBER = 2; private long fileOffset_; /** - * - * *
    * Offset in bytes of the line, from the beginning of the file, where the
    * finding  is located. Populate if the item being scanned is only part of a
@@ -230,7 +195,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
    * 
* * int64 file_offset = 2; - * * @return The fileOffset. */ @java.lang.Override @@ -241,8 +205,6 @@ public long getFileOffset() { public static final int ROW_OFFSET_FIELD_NUMBER = 3; private long rowOffset_; /** - * - * *
    * Offset of the row for tables. Populate if the row(s) being scanned are
    * part of a bigger dataset and you want to keep track of their absolute
@@ -250,7 +212,6 @@ public long getFileOffset() {
    * 
* * int64 row_offset = 3; - * * @return The rowOffset. */ @java.lang.Override @@ -261,8 +222,6 @@ public long getRowOffset() { public static final int TABLE_OPTIONS_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.TableOptions tableOptions_; /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -272,7 +231,6 @@ public long getRowOffset() {
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ @java.lang.Override @@ -280,8 +238,6 @@ public boolean hasTableOptions() { return tableOptions_ != null; } /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -291,18 +247,13 @@ public boolean hasTableOptions() {
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return The tableOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.TableOptions getTableOptions() { - return tableOptions_ == null - ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() - : tableOptions_; + return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; } /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -319,23 +270,24 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
-
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.privacy.dlp.v2.DlpProto
-                .internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -344,8 +296,6 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -363,22 +313,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -397,12 +347,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -421,16 +370,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -449,11 +398,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -461,7 +411,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -473,7 +422,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (containerDetails_ != null) {
       output.writeMessage(1, getContainerDetails());
     }
@@ -486,8 +436,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (tableOptions_ != null) {
       output.writeMessage(4, getTableOptions());
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        5);
     unknownFields.writeTo(output);
   }
 
@@ -498,26 +452,30 @@ public int getSerializedSize() {
 
     size = 0;
     if (containerDetails_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContainerDetails());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getContainerDetails());
     }
     if (fileOffset_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, fileOffset_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(2, fileOffset_);
     }
     if (rowOffset_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowOffset_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(3, rowOffset_);
     }
     if (tableOptions_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTableOptions());
-    }
-    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(5, labels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getTableOptions());
+    }
+    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(5, labels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -527,25 +485,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.privacy.dlp.v2.HybridFindingDetails)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.HybridFindingDetails other =
-        (com.google.privacy.dlp.v2.HybridFindingDetails) obj;
+    com.google.privacy.dlp.v2.HybridFindingDetails other = (com.google.privacy.dlp.v2.HybridFindingDetails) obj;
 
     if (hasContainerDetails() != other.hasContainerDetails()) return false;
     if (hasContainerDetails()) {
-      if (!getContainerDetails().equals(other.getContainerDetails())) return false;
+      if (!getContainerDetails()
+          .equals(other.getContainerDetails())) return false;
     }
-    if (getFileOffset() != other.getFileOffset()) return false;
-    if (getRowOffset() != other.getRowOffset()) return false;
+    if (getFileOffset()
+        != other.getFileOffset()) return false;
+    if (getRowOffset()
+        != other.getRowOffset()) return false;
     if (hasTableOptions() != other.hasTableOptions()) return false;
     if (hasTableOptions()) {
-      if (!getTableOptions().equals(other.getTableOptions())) return false;
+      if (!getTableOptions()
+          .equals(other.getTableOptions())) return false;
     }
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -562,9 +524,11 @@ public int hashCode() {
       hash = (53 * hash) + getContainerDetails().hashCode();
     }
     hash = (37 * hash) + FILE_OFFSET_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFileOffset());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getFileOffset());
     hash = (37 * hash) + ROW_OFFSET_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowOffset());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getRowOffset());
     if (hasTableOptions()) {
       hash = (37 * hash) + TABLE_OPTIONS_FIELD_NUMBER;
       hash = (53 * hash) + getTableOptions().hashCode();
@@ -578,147 +542,140 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.HybridFindingDetails parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.HybridFindingDetails parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.HybridFindingDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Populate to associate additional data with each finding.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridFindingDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridFindingDetails) com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 5: 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 5: 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.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridFindingDetails.class, - com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); + com.google.privacy.dlp.v2.HybridFindingDetails.class, com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridFindingDetails.newBuilder() @@ -726,15 +683,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -759,9 +717,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; } @java.lang.Override @@ -780,8 +738,7 @@ public com.google.privacy.dlp.v2.HybridFindingDetails build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridFindingDetails buildPartial() { - com.google.privacy.dlp.v2.HybridFindingDetails result = - new com.google.privacy.dlp.v2.HybridFindingDetails(this); + com.google.privacy.dlp.v2.HybridFindingDetails result = new com.google.privacy.dlp.v2.HybridFindingDetails(this); int from_bitField0_ = bitField0_; if (containerDetailsBuilder_ == null) { result.containerDetails_ = containerDetails_; @@ -805,39 +762,38 @@ public com.google.privacy.dlp.v2.HybridFindingDetails buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridFindingDetails) { - return mergeFrom((com.google.privacy.dlp.v2.HybridFindingDetails) other); + return mergeFrom((com.google.privacy.dlp.v2.HybridFindingDetails)other); } else { super.mergeFrom(other); return this; @@ -858,7 +814,8 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.HybridFindingDetails other) { if (other.hasTableOptions()) { mergeTableOptions(other.getTableOptions()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -887,52 +844,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.privacy.dlp.v2.Container containerDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, - com.google.privacy.dlp.v2.Container.Builder, - com.google.privacy.dlp.v2.ContainerOrBuilder> - containerDetailsBuilder_; + com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> containerDetailsBuilder_; /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
* * .google.privacy.dlp.v2.Container container_details = 1; - * * @return Whether the containerDetails field is set. */ public boolean hasContainerDetails() { return containerDetailsBuilder_ != null || containerDetails_ != null; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
* * .google.privacy.dlp.v2.Container container_details = 1; - * * @return The containerDetails. */ public com.google.privacy.dlp.v2.Container getContainerDetails() { if (containerDetailsBuilder_ == null) { - return containerDetails_ == null - ? com.google.privacy.dlp.v2.Container.getDefaultInstance() - : containerDetails_; + return containerDetails_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : containerDetails_; } else { return containerDetailsBuilder_.getMessage(); } } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -953,8 +896,6 @@ public Builder setContainerDetails(com.google.privacy.dlp.v2.Container value) { return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -973,8 +914,6 @@ public Builder setContainerDetails( return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -985,9 +924,7 @@ public Builder mergeContainerDetails(com.google.privacy.dlp.v2.Container value) if (containerDetailsBuilder_ == null) { if (containerDetails_ != null) { containerDetails_ = - com.google.privacy.dlp.v2.Container.newBuilder(containerDetails_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Container.newBuilder(containerDetails_).mergeFrom(value).buildPartial(); } else { containerDetails_ = value; } @@ -999,8 +936,6 @@ public Builder mergeContainerDetails(com.google.privacy.dlp.v2.Container value) return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -1019,8 +954,6 @@ public Builder clearContainerDetails() { return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -1028,13 +961,11 @@ public Builder clearContainerDetails() { * .google.privacy.dlp.v2.Container container_details = 1; */ public com.google.privacy.dlp.v2.Container.Builder getContainerDetailsBuilder() { - + onChanged(); return getContainerDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -1045,14 +976,11 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder if (containerDetailsBuilder_ != null) { return containerDetailsBuilder_.getMessageOrBuilder(); } else { - return containerDetails_ == null - ? com.google.privacy.dlp.v2.Container.getDefaultInstance() - : containerDetails_; + return containerDetails_ == null ? + com.google.privacy.dlp.v2.Container.getDefaultInstance() : containerDetails_; } } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -1060,26 +988,21 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder * .google.privacy.dlp.v2.Container container_details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, - com.google.privacy.dlp.v2.Container.Builder, - com.google.privacy.dlp.v2.ContainerOrBuilder> + com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> getContainerDetailsFieldBuilder() { if (containerDetailsBuilder_ == null) { - containerDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, - com.google.privacy.dlp.v2.Container.Builder, - com.google.privacy.dlp.v2.ContainerOrBuilder>( - getContainerDetails(), getParentForChildren(), isClean()); + containerDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder>( + getContainerDetails(), + getParentForChildren(), + isClean()); containerDetails_ = null; } return containerDetailsBuilder_; } - private long fileOffset_; + private long fileOffset_ ; /** - * - * *
      * Offset in bytes of the line, from the beginning of the file, where the
      * finding  is located. Populate if the item being scanned is only part of a
@@ -1088,7 +1011,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
      * 
* * int64 file_offset = 2; - * * @return The fileOffset. */ @java.lang.Override @@ -1096,8 +1018,6 @@ public long getFileOffset() { return fileOffset_; } /** - * - * *
      * Offset in bytes of the line, from the beginning of the file, where the
      * finding  is located. Populate if the item being scanned is only part of a
@@ -1106,19 +1026,16 @@ public long getFileOffset() {
      * 
* * int64 file_offset = 2; - * * @param value The fileOffset to set. * @return This builder for chaining. */ public Builder setFileOffset(long value) { - + fileOffset_ = value; onChanged(); return this; } /** - * - * *
      * Offset in bytes of the line, from the beginning of the file, where the
      * finding  is located. Populate if the item being scanned is only part of a
@@ -1127,20 +1044,17 @@ public Builder setFileOffset(long value) {
      * 
* * int64 file_offset = 2; - * * @return This builder for chaining. */ public Builder clearFileOffset() { - + fileOffset_ = 0L; onChanged(); return this; } - private long rowOffset_; + private long rowOffset_ ; /** - * - * *
      * Offset of the row for tables. Populate if the row(s) being scanned are
      * part of a bigger dataset and you want to keep track of their absolute
@@ -1148,7 +1062,6 @@ public Builder clearFileOffset() {
      * 
* * int64 row_offset = 3; - * * @return The rowOffset. */ @java.lang.Override @@ -1156,8 +1069,6 @@ public long getRowOffset() { return rowOffset_; } /** - * - * *
      * Offset of the row for tables. Populate if the row(s) being scanned are
      * part of a bigger dataset and you want to keep track of their absolute
@@ -1165,19 +1076,16 @@ public long getRowOffset() {
      * 
* * int64 row_offset = 3; - * * @param value The rowOffset to set. * @return This builder for chaining. */ public Builder setRowOffset(long value) { - + rowOffset_ = value; onChanged(); return this; } /** - * - * *
      * Offset of the row for tables. Populate if the row(s) being scanned are
      * part of a bigger dataset and you want to keep track of their absolute
@@ -1185,11 +1093,10 @@ public Builder setRowOffset(long value) {
      * 
* * int64 row_offset = 3; - * * @return This builder for chaining. */ public Builder clearRowOffset() { - + rowOffset_ = 0L; onChanged(); return this; @@ -1197,13 +1104,8 @@ public Builder clearRowOffset() { private com.google.privacy.dlp.v2.TableOptions tableOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableOptions, - com.google.privacy.dlp.v2.TableOptions.Builder, - com.google.privacy.dlp.v2.TableOptionsOrBuilder> - tableOptionsBuilder_; + com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> tableOptionsBuilder_; /** - * - * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1213,15 +1115,12 @@ public Builder clearRowOffset() {
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ public boolean hasTableOptions() { return tableOptionsBuilder_ != null || tableOptions_ != null; } /** - * - * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1231,21 +1130,16 @@ public boolean hasTableOptions() {
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return The tableOptions. */ public com.google.privacy.dlp.v2.TableOptions getTableOptions() { if (tableOptionsBuilder_ == null) { - return tableOptions_ == null - ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() - : tableOptions_; + return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; } else { return tableOptionsBuilder_.getMessage(); } } /** - * - * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1270,8 +1164,6 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1282,7 +1174,8 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
      *
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
-    public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
+    public Builder setTableOptions(
+        com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
       if (tableOptionsBuilder_ == null) {
         tableOptions_ = builderForValue.build();
         onChanged();
@@ -1293,8 +1186,6 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1309,9 +1200,7 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       if (tableOptionsBuilder_ == null) {
         if (tableOptions_ != null) {
           tableOptions_ =
-              com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_).mergeFrom(value).buildPartial();
         } else {
           tableOptions_ = value;
         }
@@ -1323,8 +1212,6 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1347,8 +1234,6 @@ public Builder clearTableOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1360,13 +1245,11 @@ public Builder clearTableOptions() {
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     public com.google.privacy.dlp.v2.TableOptions.Builder getTableOptionsBuilder() {
-
+      
       onChanged();
       return getTableOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1381,14 +1264,11 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
       if (tableOptionsBuilder_ != null) {
         return tableOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return tableOptions_ == null
-            ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance()
-            : tableOptions_;
+        return tableOptions_ == null ?
+            com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_;
       }
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1400,37 +1280,35 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableOptions,
-            com.google.privacy.dlp.v2.TableOptions.Builder,
-            com.google.privacy.dlp.v2.TableOptionsOrBuilder>
+        com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> 
         getTableOptionsFieldBuilder() {
       if (tableOptionsBuilder_ == null) {
-        tableOptionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.TableOptions,
-                com.google.privacy.dlp.v2.TableOptions.Builder,
-                com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
-                getTableOptions(), getParentForChildren(), isClean());
+        tableOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
+                getTableOptions(),
+                getParentForChildren(),
+                isClean());
         tableOptions_ = null;
       }
       return tableOptionsBuilder_;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -1442,8 +1320,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1461,22 +1337,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1495,12 +1371,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1519,17 +1394,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1548,11 +1422,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1560,12 +1435,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1583,21 +1457,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1615,19 +1491,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1645,13 +1518,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1661,12 +1537,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridFindingDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridFindingDetails)
   private static final com.google.privacy.dlp.v2.HybridFindingDetails DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridFindingDetails();
   }
@@ -1675,16 +1551,16 @@ public static com.google.privacy.dlp.v2.HybridFindingDetails getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HybridFindingDetails parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HybridFindingDetails(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HybridFindingDetails parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HybridFindingDetails(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1699,4 +1575,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.HybridFindingDetails getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
similarity index 86%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
index 4598cda8..bf3a1914 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface HybridFindingDetailsOrBuilder
-    extends
+public interface HybridFindingDetailsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridFindingDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; - * * @return Whether the containerDetails field is set. */ boolean hasContainerDetails(); /** - * - * *
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; - * * @return The containerDetails. */ com.google.privacy.dlp.v2.Container getContainerDetails(); /** - * - * *
    * Details about the container where the content being inspected is from.
    * 
@@ -59,8 +35,6 @@ public interface HybridFindingDetailsOrBuilder com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder(); /** - * - * *
    * Offset in bytes of the line, from the beginning of the file, where the
    * finding  is located. Populate if the item being scanned is only part of a
@@ -69,14 +43,11 @@ public interface HybridFindingDetailsOrBuilder
    * 
* * int64 file_offset = 2; - * * @return The fileOffset. */ long getFileOffset(); /** - * - * *
    * Offset of the row for tables. Populate if the row(s) being scanned are
    * part of a bigger dataset and you want to keep track of their absolute
@@ -84,14 +55,11 @@ public interface HybridFindingDetailsOrBuilder
    * 
* * int64 row_offset = 3; - * * @return The rowOffset. */ long getRowOffset(); /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -101,13 +69,10 @@ public interface HybridFindingDetailsOrBuilder
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ boolean hasTableOptions(); /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -117,13 +82,10 @@ public interface HybridFindingDetailsOrBuilder
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return The tableOptions. */ com.google.privacy.dlp.v2.TableOptions getTableOptions(); /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -137,8 +99,6 @@ public interface HybridFindingDetailsOrBuilder
   com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -158,8 +118,6 @@ public interface HybridFindingDetailsOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -177,13 +135,15 @@ public interface HybridFindingDetailsOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  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 to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -201,10 +161,9 @@ public interface HybridFindingDetailsOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -222,10 +181,11 @@ public interface HybridFindingDetailsOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -243,5 +203,7 @@ public interface HybridFindingDetailsOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
similarity index 67%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
index d99ac632..7800b7f7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Request to search for potentially sensitive info in a custom location.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectDlpJobRequest} */ -public final class HybridInspectDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HybridInspectDlpJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectDlpJobRequest) HybridInspectDlpJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HybridInspectDlpJobRequest.newBuilder() to construct. private HybridInspectDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HybridInspectDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HybridInspectDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HybridInspectDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,77 +53,66 @@ private HybridInspectDlpJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; + if (hybridItem_ != null) { + subBuilder = hybridItem_.toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; - if (hybridItem_ != null) { - subBuilder = hybridItem_.toBuilder(); - } - hybridItem_ = - input.readMessage( - com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(hybridItem_); - hybridItem_ = subBuilder.buildPartial(); - } - - break; + hybridItem_ = input.readMessage(com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hybridItem_); + hybridItem_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * - * 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 @@ -149,32 +121,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * - * 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 { @@ -185,14 +155,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int HYBRID_ITEM_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return Whether the hybridItem field is set. */ @java.lang.Override @@ -200,25 +167,18 @@ public boolean hasHybridItem() { return hybridItem_ != null; } /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return The hybridItem. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { - return hybridItem_ == null - ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() - : hybridItem_; + return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; } /** - * - * *
    * The item to inspect.
    * 
@@ -231,7 +191,6 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -263,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (hybridItem_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHybridItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHybridItem()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,18 +234,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.privacy.dlp.v2.HybridInspectDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest other = - (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) obj; + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest other = (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasHybridItem() != other.hasHybridItem()) return false; if (hasHybridItem()) { - if (!getHybridItem().equals(other.getHybridItem())) return false; + if (!getHybridItem() + .equals(other.getHybridItem())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -309,126 +271,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in a custom location.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectDlpJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectDlpJobRequest) com.google.privacy.dlp.v2.HybridInspectDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.newBuilder() @@ -436,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -460,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; } @java.lang.Override @@ -481,8 +435,7 @@ public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest result = - new com.google.privacy.dlp.v2.HybridInspectDlpJobRequest(this); + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest result = new com.google.privacy.dlp.v2.HybridInspectDlpJobRequest(this); result.name_ = name_; if (hybridItemBuilder_ == null) { result.hybridItem_ = hybridItem_; @@ -497,39 +450,38 @@ public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectDlpJobRequest)other); } else { super.mergeFrom(other); return this; @@ -537,8 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest other) { - if (other == com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -565,8 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,23 +528,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * - * 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; @@ -603,24 +549,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * - * 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 { @@ -628,70 +571,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -699,47 +629,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, - com.google.privacy.dlp.v2.HybridContentItem.Builder, - com.google.privacy.dlp.v2.HybridContentItemOrBuilder> - hybridItemBuilder_; + com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> hybridItemBuilder_; /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return Whether the hybridItem field is set. */ public boolean hasHybridItem() { return hybridItemBuilder_ != null || hybridItem_ != null; } /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return The hybridItem. */ public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { if (hybridItemBuilder_ == null) { - return hybridItem_ == null - ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() - : hybridItem_; + return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; } else { return hybridItemBuilder_.getMessage(); } } /** - * - * *
      * The item to inspect.
      * 
@@ -760,8 +677,6 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -780,8 +695,6 @@ public Builder setHybridItem( return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -792,9 +705,7 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value if (hybridItemBuilder_ == null) { if (hybridItem_ != null) { hybridItem_ = - com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_).mergeFrom(value).buildPartial(); } else { hybridItem_ = value; } @@ -806,8 +717,6 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -826,8 +735,6 @@ public Builder clearHybridItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -835,13 +742,11 @@ public Builder clearHybridItem() { * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ public com.google.privacy.dlp.v2.HybridContentItem.Builder getHybridItemBuilder() { - + onChanged(); return getHybridItemFieldBuilder().getBuilder(); } /** - * - * *
      * The item to inspect.
      * 
@@ -852,14 +757,11 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild if (hybridItemBuilder_ != null) { return hybridItemBuilder_.getMessageOrBuilder(); } else { - return hybridItem_ == null - ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() - : hybridItem_; + return hybridItem_ == null ? + com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; } } /** - * - * *
      * The item to inspect.
      * 
@@ -867,24 +769,21 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, - com.google.privacy.dlp.v2.HybridContentItem.Builder, - com.google.privacy.dlp.v2.HybridContentItemOrBuilder> + com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> getHybridItemFieldBuilder() { if (hybridItemBuilder_ == null) { - hybridItemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, - com.google.privacy.dlp.v2.HybridContentItem.Builder, - com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( - getHybridItem(), getParentForChildren(), isClean()); + hybridItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( + getHybridItem(), + getParentForChildren(), + isClean()); hybridItem_ = null; } return hybridItemBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectDlpJobRequest) private static final com.google.privacy.dlp.v2.HybridInspectDlpJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectDlpJobRequest(); } @@ -908,16 +807,16 @@ public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -932,4 +831,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java index b6bab6b4..e22ca794 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridInspectDlpJobRequestOrBuilder - extends +public interface HybridInspectDlpJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectDlpJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * - * 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. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * - * 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(); /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return Whether the hybridItem field is set. */ boolean hasHybridItem(); /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return The hybridItem. */ com.google.privacy.dlp.v2.HybridContentItem getHybridItem(); /** - * - * *
    * The item to inspect.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java index f6ce551e..30355008 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request to search for potentially sensitive info in a custom location.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectJobTriggerRequest} */ -public final class HybridInspectJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HybridInspectJobTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) HybridInspectJobTriggerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HybridInspectJobTriggerRequest.newBuilder() to construct. - private HybridInspectJobTriggerRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private HybridInspectJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HybridInspectJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HybridInspectJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HybridInspectJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,77 +53,66 @@ private HybridInspectJobTriggerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; + if (hybridItem_ != null) { + subBuilder = hybridItem_.toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; - if (hybridItem_ != null) { - subBuilder = hybridItem_.toBuilder(); - } - hybridItem_ = - input.readMessage( - com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(hybridItem_); - hybridItem_ = subBuilder.buildPartial(); - } - - break; + hybridItem_ = input.readMessage(com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hybridItem_); + hybridItem_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 @@ -150,32 +121,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 { @@ -186,14 +155,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int HYBRID_ITEM_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return Whether the hybridItem field is set. */ @java.lang.Override @@ -201,25 +167,18 @@ public boolean hasHybridItem() { return hybridItem_ != null; } /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return The hybridItem. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { - return hybridItem_ == null - ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() - : hybridItem_; + return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; } /** - * - * *
    * The item to inspect.
    * 
@@ -232,7 +191,6 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -264,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (hybridItem_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHybridItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHybridItem()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,18 +234,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.privacy.dlp.v2.HybridInspectJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest other = - (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) obj; + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest other = (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasHybridItem() != other.hasHybridItem()) return false; if (hasHybridItem()) { - if (!getHybridItem().equals(other.getHybridItem())) return false; + if (!getHybridItem() + .equals(other.getHybridItem())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -310,127 +271,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in a custom location.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectJobTriggerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) com.google.privacy.dlp.v2.HybridInspectJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.newBuilder() @@ -438,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -462,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; } @java.lang.Override @@ -483,8 +435,7 @@ public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest result = - new com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest(this); + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest result = new com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest(this); result.name_ = name_; if (hybridItemBuilder_ == null) { result.hybridItem_ = hybridItem_; @@ -499,39 +450,38 @@ public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest)other); } else { super.mergeFrom(other); return this; @@ -539,8 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -567,8 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -580,23 +528,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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; @@ -605,24 +549,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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 { @@ -630,70 +571,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -701,47 +629,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, - com.google.privacy.dlp.v2.HybridContentItem.Builder, - com.google.privacy.dlp.v2.HybridContentItemOrBuilder> - hybridItemBuilder_; + com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> hybridItemBuilder_; /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return Whether the hybridItem field is set. */ public boolean hasHybridItem() { return hybridItemBuilder_ != null || hybridItem_ != null; } /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return The hybridItem. */ public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { if (hybridItemBuilder_ == null) { - return hybridItem_ == null - ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() - : hybridItem_; + return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; } else { return hybridItemBuilder_.getMessage(); } } /** - * - * *
      * The item to inspect.
      * 
@@ -762,8 +677,6 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -782,8 +695,6 @@ public Builder setHybridItem( return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -794,9 +705,7 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value if (hybridItemBuilder_ == null) { if (hybridItem_ != null) { hybridItem_ = - com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_).mergeFrom(value).buildPartial(); } else { hybridItem_ = value; } @@ -808,8 +717,6 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -828,8 +735,6 @@ public Builder clearHybridItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -837,13 +742,11 @@ public Builder clearHybridItem() { * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ public com.google.privacy.dlp.v2.HybridContentItem.Builder getHybridItemBuilder() { - + onChanged(); return getHybridItemFieldBuilder().getBuilder(); } /** - * - * *
      * The item to inspect.
      * 
@@ -854,14 +757,11 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild if (hybridItemBuilder_ != null) { return hybridItemBuilder_.getMessageOrBuilder(); } else { - return hybridItem_ == null - ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() - : hybridItem_; + return hybridItem_ == null ? + com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; } } /** - * - * *
      * The item to inspect.
      * 
@@ -869,24 +769,21 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, - com.google.privacy.dlp.v2.HybridContentItem.Builder, - com.google.privacy.dlp.v2.HybridContentItemOrBuilder> + com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> getHybridItemFieldBuilder() { if (hybridItemBuilder_ == null) { - hybridItemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, - com.google.privacy.dlp.v2.HybridContentItem.Builder, - com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( - getHybridItem(), getParentForChildren(), isClean()); + hybridItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( + getHybridItem(), + getParentForChildren(), + isClean()); hybridItem_ = null; } return hybridItemBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -896,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) private static final com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest(); } @@ -910,16 +807,16 @@ public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,4 +831,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java index 93e2f12d..819775dc 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridInspectJobTriggerRequestOrBuilder - extends +public interface HybridInspectJobTriggerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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(); /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return Whether the hybridItem field is set. */ boolean hasHybridItem(); /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; - * * @return The hybridItem. */ com.google.privacy.dlp.v2.HybridContentItem getHybridItem(); /** - * - * *
    * The item to inspect.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java index 0bfc14fb..88755381 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Quota exceeded errors will be thrown once quota has been met.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectResponse} */ -public final class HybridInspectResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HybridInspectResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectResponse) HybridInspectResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HybridInspectResponse.newBuilder() to construct. private HybridInspectResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private HybridInspectResponse() {} + private HybridInspectResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HybridInspectResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HybridInspectResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,42 +52,39 @@ private HybridInspectResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectResponse.class, - com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); + com.google.privacy.dlp.v2.HybridInspectResponse.class, com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,7 +96,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -133,13 +115,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.HybridInspectResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectResponse other = - (com.google.privacy.dlp.v2.HybridInspectResponse) obj; + com.google.privacy.dlp.v2.HybridInspectResponse other = (com.google.privacy.dlp.v2.HybridInspectResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -157,127 +138,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Quota exceeded errors will be thrown once quota has been met.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectResponse) com.google.privacy.dlp.v2.HybridInspectResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectResponse.class, - com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); + com.google.privacy.dlp.v2.HybridInspectResponse.class, com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectResponse.newBuilder() @@ -285,15 +257,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +274,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; } @java.lang.Override @@ -322,8 +295,7 @@ public com.google.privacy.dlp.v2.HybridInspectResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectResponse buildPartial() { - com.google.privacy.dlp.v2.HybridInspectResponse result = - new com.google.privacy.dlp.v2.HybridInspectResponse(this); + com.google.privacy.dlp.v2.HybridInspectResponse result = new com.google.privacy.dlp.v2.HybridInspectResponse(this); onBuilt(); return result; } @@ -332,39 +304,38 @@ public com.google.privacy.dlp.v2.HybridInspectResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectResponse) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectResponse)other); } else { super.mergeFrom(other); return this; @@ -372,8 +343,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectResponse other) { - if (other == com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -402,9 +372,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -414,12 +384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectResponse) private static final com.google.privacy.dlp.v2.HybridInspectResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectResponse(); } @@ -428,16 +398,16 @@ public static com.google.privacy.dlp.v2.HybridInspectResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -452,4 +422,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.HybridInspectResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java new file mode 100644 index 00000000..11529960 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface HybridInspectResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java index ca1fd088..f4850414 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Statistics related to processing hybrid inspect requests.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectStatistics} */ -public final class HybridInspectStatistics extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HybridInspectStatistics extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectStatistics) HybridInspectStatisticsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HybridInspectStatistics.newBuilder() to construct. private HybridInspectStatistics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private HybridInspectStatistics() {} + private HybridInspectStatistics() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HybridInspectStatistics(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HybridInspectStatistics( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,66 +52,61 @@ private HybridInspectStatistics( case 0: done = true; break; - case 8: - { - processedCount_ = input.readInt64(); - break; - } - case 16: - { - abortedCount_ = input.readInt64(); - break; - } - case 24: - { - pendingCount_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + processedCount_ = input.readInt64(); + break; + } + case 16: { + + abortedCount_ = input.readInt64(); + break; + } + case 24: { + + pendingCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectStatistics.class, - com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); + com.google.privacy.dlp.v2.HybridInspectStatistics.class, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); } public static final int PROCESSED_COUNT_FIELD_NUMBER = 1; private long processedCount_; /** - * - * *
    * The number of hybrid inspection requests processed within this job.
    * 
* * int64 processed_count = 1; - * * @return The processedCount. */ @java.lang.Override @@ -138,15 +117,12 @@ public long getProcessedCount() { public static final int ABORTED_COUNT_FIELD_NUMBER = 2; private long abortedCount_; /** - * - * *
    * The number of hybrid inspection requests aborted because the job ran
    * out of quota or was ended before they could be processed.
    * 
* * int64 aborted_count = 2; - * * @return The abortedCount. */ @java.lang.Override @@ -157,8 +133,6 @@ public long getAbortedCount() { public static final int PENDING_COUNT_FIELD_NUMBER = 3; private long pendingCount_; /** - * - * *
    * The number of hybrid requests currently being processed. Only populated
    * when called via method `getDlpJob`.
@@ -168,7 +142,6 @@ public long getAbortedCount() {
    * 
* * int64 pending_count = 3; - * * @return The pendingCount. */ @java.lang.Override @@ -177,7 +150,6 @@ public long getPendingCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (processedCount_ != 0L) { output.writeInt64(1, processedCount_); } @@ -209,13 +182,16 @@ public int getSerializedSize() { size = 0; if (processedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, processedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, processedCount_); } if (abortedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, abortedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, abortedCount_); } if (pendingCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, pendingCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, pendingCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,17 +201,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.privacy.dlp.v2.HybridInspectStatistics)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectStatistics other = - (com.google.privacy.dlp.v2.HybridInspectStatistics) obj; + com.google.privacy.dlp.v2.HybridInspectStatistics other = (com.google.privacy.dlp.v2.HybridInspectStatistics) obj; - if (getProcessedCount() != other.getProcessedCount()) return false; - if (getAbortedCount() != other.getAbortedCount()) return false; - if (getPendingCount() != other.getPendingCount()) return false; + if (getProcessedCount() + != other.getProcessedCount()) return false; + if (getAbortedCount() + != other.getAbortedCount()) return false; + if (getPendingCount() + != other.getPendingCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -248,137 +226,131 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROCESSED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProcessedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getProcessedCount()); hash = (37 * hash) + ABORTED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAbortedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAbortedCount()); hash = (37 * hash) + PENDING_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPendingCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPendingCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Statistics related to processing hybrid inspect requests.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectStatistics} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectStatistics) com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectStatistics.class, - com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); + com.google.privacy.dlp.v2.HybridInspectStatistics.class, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectStatistics.newBuilder() @@ -386,15 +358,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; } @java.lang.Override @@ -429,8 +402,7 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectStatistics buildPartial() { - com.google.privacy.dlp.v2.HybridInspectStatistics result = - new com.google.privacy.dlp.v2.HybridInspectStatistics(this); + com.google.privacy.dlp.v2.HybridInspectStatistics result = new com.google.privacy.dlp.v2.HybridInspectStatistics(this); result.processedCount_ = processedCount_; result.abortedCount_ = abortedCount_; result.pendingCount_ = pendingCount_; @@ -442,39 +414,38 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectStatistics) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectStatistics) other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectStatistics)other); } else { super.mergeFrom(other); return this; @@ -482,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectStatistics other) { - if (other == com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance()) return this; if (other.getProcessedCount() != 0L) { setProcessedCount(other.getProcessedCount()); } @@ -512,8 +482,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.HybridInspectStatistics) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.HybridInspectStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -523,16 +492,13 @@ public Builder mergeFrom( return this; } - private long processedCount_; + private long processedCount_ ; /** - * - * *
      * The number of hybrid inspection requests processed within this job.
      * 
* * int64 processed_count = 1; - * * @return The processedCount. */ @java.lang.Override @@ -540,52 +506,43 @@ public long getProcessedCount() { return processedCount_; } /** - * - * *
      * The number of hybrid inspection requests processed within this job.
      * 
* * int64 processed_count = 1; - * * @param value The processedCount to set. * @return This builder for chaining. */ public Builder setProcessedCount(long value) { - + processedCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of hybrid inspection requests processed within this job.
      * 
* * int64 processed_count = 1; - * * @return This builder for chaining. */ public Builder clearProcessedCount() { - + processedCount_ = 0L; onChanged(); return this; } - private long abortedCount_; + private long abortedCount_ ; /** - * - * *
      * The number of hybrid inspection requests aborted because the job ran
      * out of quota or was ended before they could be processed.
      * 
* * int64 aborted_count = 2; - * * @return The abortedCount. */ @java.lang.Override @@ -593,47 +550,39 @@ public long getAbortedCount() { return abortedCount_; } /** - * - * *
      * The number of hybrid inspection requests aborted because the job ran
      * out of quota or was ended before they could be processed.
      * 
* * int64 aborted_count = 2; - * * @param value The abortedCount to set. * @return This builder for chaining. */ public Builder setAbortedCount(long value) { - + abortedCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of hybrid inspection requests aborted because the job ran
      * out of quota or was ended before they could be processed.
      * 
* * int64 aborted_count = 2; - * * @return This builder for chaining. */ public Builder clearAbortedCount() { - + abortedCount_ = 0L; onChanged(); return this; } - private long pendingCount_; + private long pendingCount_ ; /** - * - * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -643,7 +592,6 @@ public Builder clearAbortedCount() {
      * 
* * int64 pending_count = 3; - * * @return The pendingCount. */ @java.lang.Override @@ -651,8 +599,6 @@ public long getPendingCount() { return pendingCount_; } /** - * - * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -662,19 +608,16 @@ public long getPendingCount() {
      * 
* * int64 pending_count = 3; - * * @param value The pendingCount to set. * @return This builder for chaining. */ public Builder setPendingCount(long value) { - + pendingCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -684,18 +627,17 @@ public Builder setPendingCount(long value) {
      * 
* * int64 pending_count = 3; - * * @return This builder for chaining. */ public Builder clearPendingCount() { - + pendingCount_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -705,12 +647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectStatistics) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectStatistics) private static final com.google.privacy.dlp.v2.HybridInspectStatistics DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectStatistics(); } @@ -719,16 +661,16 @@ public static com.google.privacy.dlp.v2.HybridInspectStatistics getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectStatistics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectStatistics(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectStatistics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectStatistics(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -743,4 +685,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.HybridInspectStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java similarity index 63% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java index e092c04d..4057d7d8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridInspectStatisticsOrBuilder - extends +public interface HybridInspectStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectStatistics) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of hybrid inspection requests processed within this job.
    * 
* * int64 processed_count = 1; - * * @return The processedCount. */ long getProcessedCount(); /** - * - * *
    * The number of hybrid inspection requests aborted because the job ran
    * out of quota or was ended before they could be processed.
    * 
* * int64 aborted_count = 2; - * * @return The abortedCount. */ long getAbortedCount(); /** - * - * *
    * The number of hybrid requests currently being processed. Only populated
    * when called via method `getDlpJob`.
@@ -62,7 +38,6 @@ public interface HybridInspectStatisticsOrBuilder
    * 
* * int64 pending_count = 3; - * * @return The pendingCount. */ long getPendingCount(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java index ebf10f21..c3b94de5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Configuration to control jobs where the content being inspected is outside
  * of Google Cloud Platform.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.HybridOptions}
  */
-public final class HybridOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HybridOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridOptions)
     HybridOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HybridOptions.newBuilder() to construct.
   private HybridOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HybridOptions() {
     description_ = "";
     requiredFindingLabelKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -45,15 +27,16 @@ private HybridOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HybridOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HybridOptions(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,65 +56,61 @@ private HybridOptions(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              requiredFindingLabelKeys_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                requiredFindingLabelKeys_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              requiredFindingLabelKeys_.add(s);
-              break;
+            requiredFindingLabelKeys_.add(s);
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 34: {
+            com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null;
+            if (tableOptions_ != null) {
+              subBuilder = tableOptions_.toBuilder();
             }
-          case 34:
-            {
-              com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null;
-              if (tableOptions_ != null) {
-                subBuilder = tableOptions_.toBuilder();
-              }
-              tableOptions_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tableOptions_);
-                tableOptions_ = subBuilder.buildPartial();
-              }
-
-              break;
+            tableOptions_ = input.readMessage(com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tableOptions_);
+              tableOptions_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         requiredFindingLabelKeys_ = requiredFindingLabelKeys_.getUnmodifiableView();
@@ -140,45 +119,40 @@ private HybridOptions(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_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 3:
         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.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.HybridOptions.class,
-            com.google.privacy.dlp.v2.HybridOptions.Builder.class);
+            com.google.privacy.dlp.v2.HybridOptions.class, com.google.privacy.dlp.v2.HybridOptions.Builder.class);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 1;
   private volatile java.lang.Object description_;
   /**
-   *
-   *
    * 
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -187,30 +161,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; } } /** - * - * *
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; - * * @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 { @@ -221,8 +195,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList requiredFindingLabelKeys_; /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -233,15 +205,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string required_finding_label_keys = 2; - * * @return A list containing the requiredFindingLabelKeys. */ - public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList() { + public com.google.protobuf.ProtocolStringList + getRequiredFindingLabelKeysList() { return requiredFindingLabelKeys_; } /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -252,15 +222,12 @@ public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList()
    * 
* * repeated string required_finding_label_keys = 2; - * * @return The count of requiredFindingLabelKeys. */ public int getRequiredFindingLabelKeysCount() { return requiredFindingLabelKeys_.size(); } /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -271,7 +238,6 @@ public int getRequiredFindingLabelKeysCount() {
    * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index of the element to return. * @return The requiredFindingLabelKeys at the given index. */ @@ -279,8 +245,6 @@ public java.lang.String getRequiredFindingLabelKeys(int index) { return requiredFindingLabelKeys_.get(index); } /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -291,32 +255,33 @@ public java.lang.String getRequiredFindingLabelKeys(int index) {
    * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index of the value to return. * @return The bytes of the requiredFindingLabelKeys at the given index. */ - public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index) { + public com.google.protobuf.ByteString + getRequiredFindingLabelKeysBytes(int index) { return requiredFindingLabelKeys_.getByteString(index); } public static final int LABELS_FIELD_NUMBER = 3; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -325,8 +290,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -341,22 +304,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 3;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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();
   }
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -372,12 +335,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 3;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -393,16 +355,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -418,11 +380,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -432,15 +395,12 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int TABLE_OPTIONS_FIELD_NUMBER = 4;
   private com.google.privacy.dlp.v2.TableOptions tableOptions_;
   /**
-   *
-   *
    * 
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ @java.lang.Override @@ -448,26 +408,19 @@ public boolean hasTableOptions() { return tableOptions_ != null; } /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return The tableOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.TableOptions getTableOptions() { - return tableOptions_ == null - ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() - : tableOptions_; + return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; } /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
@@ -481,7 +434,6 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -493,16 +445,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_);
     }
     for (int i = 0; i < requiredFindingLabelKeys_.size(); i++) {
-      com.google.protobuf.GeneratedMessageV3.writeString(
-          output, 2, requiredFindingLabelKeys_.getRaw(i));
-    }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3);
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requiredFindingLabelKeys_.getRaw(i));
+    }
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        3);
     if (tableOptions_ != null) {
       output.writeMessage(4, getTableOptions());
     }
@@ -526,18 +482,19 @@ public int getSerializedSize() {
       size += dataSize;
       size += 1 * getRequiredFindingLabelKeysList().size();
     }
-    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(3, 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(3, labels__);
     }
     if (tableOptions_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTableOptions());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getTableOptions());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -547,20 +504,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.privacy.dlp.v2.HybridOptions)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.HybridOptions other = (com.google.privacy.dlp.v2.HybridOptions) obj;
 
-    if (!getDescription().equals(other.getDescription())) return false;
-    if (!getRequiredFindingLabelKeysList().equals(other.getRequiredFindingLabelKeysList()))
-      return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
+    if (!getRequiredFindingLabelKeysList()
+        .equals(other.getRequiredFindingLabelKeysList())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
     if (hasTableOptions() != other.hasTableOptions()) return false;
     if (hasTableOptions()) {
-      if (!getTableOptions().equals(other.getTableOptions())) return false;
+      if (!getTableOptions()
+          .equals(other.getTableOptions())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -592,104 +552,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.HybridOptions parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.HybridOptions parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.HybridOptions parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.HybridOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration to control jobs where the content being inspected is outside
    * of Google Cloud Platform.
@@ -697,43 +650,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.HybridOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridOptions)
       com.google.privacy.dlp.v2.HybridOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           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 3:
           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.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.HybridOptions.class,
-              com.google.privacy.dlp.v2.HybridOptions.Builder.class);
+              com.google.privacy.dlp.v2.HybridOptions.class, com.google.privacy.dlp.v2.HybridOptions.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.HybridOptions.newBuilder()
@@ -741,15 +694,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -768,9 +722,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
     }
 
     @java.lang.Override
@@ -789,8 +743,7 @@ public com.google.privacy.dlp.v2.HybridOptions build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.HybridOptions buildPartial() {
-      com.google.privacy.dlp.v2.HybridOptions result =
-          new com.google.privacy.dlp.v2.HybridOptions(this);
+      com.google.privacy.dlp.v2.HybridOptions result = new com.google.privacy.dlp.v2.HybridOptions(this);
       int from_bitField0_ = bitField0_;
       result.description_ = description_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -813,39 +766,38 @@ public com.google.privacy.dlp.v2.HybridOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.HybridOptions) {
-        return mergeFrom((com.google.privacy.dlp.v2.HybridOptions) other);
+        return mergeFrom((com.google.privacy.dlp.v2.HybridOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -868,7 +820,8 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.HybridOptions other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasTableOptions()) {
         mergeTableOptions(other.getTableOptions());
       }
@@ -900,26 +853,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; - * * @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; @@ -928,22 +878,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; - * * @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 { @@ -951,82 +900,70 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList requiredFindingLabelKeys_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList requiredFindingLabelKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRequiredFindingLabelKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requiredFindingLabelKeys_ = - new com.google.protobuf.LazyStringArrayList(requiredFindingLabelKeys_); + requiredFindingLabelKeys_ = new com.google.protobuf.LazyStringArrayList(requiredFindingLabelKeys_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1037,15 +974,13 @@ private void ensureRequiredFindingLabelKeysIsMutable() {
      * 
* * repeated string required_finding_label_keys = 2; - * * @return A list containing the requiredFindingLabelKeys. */ - public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList() { + public com.google.protobuf.ProtocolStringList + getRequiredFindingLabelKeysList() { return requiredFindingLabelKeys_.getUnmodifiableView(); } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1056,15 +991,12 @@ public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList()
      * 
* * repeated string required_finding_label_keys = 2; - * * @return The count of requiredFindingLabelKeys. */ public int getRequiredFindingLabelKeysCount() { return requiredFindingLabelKeys_.size(); } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1075,7 +1007,6 @@ public int getRequiredFindingLabelKeysCount() {
      * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index of the element to return. * @return The requiredFindingLabelKeys at the given index. */ @@ -1083,8 +1014,6 @@ public java.lang.String getRequiredFindingLabelKeys(int index) { return requiredFindingLabelKeys_.get(index); } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1095,16 +1024,14 @@ public java.lang.String getRequiredFindingLabelKeys(int index) {
      * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index of the value to return. * @return The bytes of the requiredFindingLabelKeys at the given index. */ - public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index) { + public com.google.protobuf.ByteString + getRequiredFindingLabelKeysBytes(int index) { return requiredFindingLabelKeys_.getByteString(index); } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1115,23 +1042,21 @@ public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index
      * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index to set the value at. * @param value The requiredFindingLabelKeys to set. * @return This builder for chaining. */ - public Builder setRequiredFindingLabelKeys(int index, java.lang.String value) { + public Builder setRequiredFindingLabelKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRequiredFindingLabelKeysIsMutable(); + throw new NullPointerException(); + } + ensureRequiredFindingLabelKeysIsMutable(); requiredFindingLabelKeys_.set(index, value); onChanged(); return this; } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1142,22 +1067,20 @@ public Builder setRequiredFindingLabelKeys(int index, java.lang.String value) {
      * 
* * repeated string required_finding_label_keys = 2; - * * @param value The requiredFindingLabelKeys to add. * @return This builder for chaining. */ - public Builder addRequiredFindingLabelKeys(java.lang.String value) { + public Builder addRequiredFindingLabelKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRequiredFindingLabelKeysIsMutable(); + throw new NullPointerException(); + } + ensureRequiredFindingLabelKeysIsMutable(); requiredFindingLabelKeys_.add(value); onChanged(); return this; } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1168,19 +1091,18 @@ public Builder addRequiredFindingLabelKeys(java.lang.String value) {
      * 
* * repeated string required_finding_label_keys = 2; - * * @param values The requiredFindingLabelKeys to add. * @return This builder for chaining. */ - public Builder addAllRequiredFindingLabelKeys(java.lang.Iterable values) { + public Builder addAllRequiredFindingLabelKeys( + java.lang.Iterable values) { ensureRequiredFindingLabelKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requiredFindingLabelKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requiredFindingLabelKeys_); onChanged(); return this; } /** - * - * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1191,7 +1113,6 @@ public Builder addAllRequiredFindingLabelKeys(java.lang.Iterable
      *
      * repeated string required_finding_label_keys = 2;
-     *
      * @return This builder for chaining.
      */
     public Builder clearRequiredFindingLabelKeys() {
@@ -1201,8 +1122,6 @@ public Builder clearRequiredFindingLabelKeys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1213,36 +1132,37 @@ public Builder clearRequiredFindingLabelKeys() {
      * 
* * repeated string required_finding_label_keys = 2; - * * @param value The bytes of the requiredFindingLabelKeys to add. * @return This builder for chaining. */ - public Builder addRequiredFindingLabelKeysBytes(com.google.protobuf.ByteString value) { + public Builder addRequiredFindingLabelKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRequiredFindingLabelKeysIsMutable(); requiredFindingLabelKeys_.add(value); onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1254,8 +1174,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1270,22 +1188,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 3;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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();
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1301,12 +1219,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 3;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1322,17 +1239,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 3;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1348,11 +1264,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 3;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1360,12 +1277,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1380,21 +1296,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1409,19 +1327,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 3;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1436,56 +1351,46 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 3;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.privacy.dlp.v2.TableOptions tableOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableOptions,
-            com.google.privacy.dlp.v2.TableOptions.Builder,
-            com.google.privacy.dlp.v2.TableOptionsOrBuilder>
-        tableOptionsBuilder_;
+        com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> tableOptionsBuilder_;
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ public boolean hasTableOptions() { return tableOptionsBuilder_ != null || tableOptions_ != null; } /** - * - * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return The tableOptions. */ public com.google.privacy.dlp.v2.TableOptions getTableOptions() { if (tableOptionsBuilder_ == null) { - return tableOptions_ == null - ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() - : tableOptions_; + return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; } else { return tableOptionsBuilder_.getMessage(); } } /** - * - * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1507,8 +1412,6 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1516,7 +1419,8 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
      *
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
-    public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
+    public Builder setTableOptions(
+        com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
       if (tableOptionsBuilder_ == null) {
         tableOptions_ = builderForValue.build();
         onChanged();
@@ -1527,8 +1431,6 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1540,9 +1442,7 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       if (tableOptionsBuilder_ == null) {
         if (tableOptions_ != null) {
           tableOptions_ =
-              com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_).mergeFrom(value).buildPartial();
         } else {
           tableOptions_ = value;
         }
@@ -1554,8 +1454,6 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1575,8 +1473,6 @@ public Builder clearTableOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1585,13 +1481,11 @@ public Builder clearTableOptions() {
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     public com.google.privacy.dlp.v2.TableOptions.Builder getTableOptionsBuilder() {
-
+      
       onChanged();
       return getTableOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1603,14 +1497,11 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
       if (tableOptionsBuilder_ != null) {
         return tableOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return tableOptions_ == null
-            ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance()
-            : tableOptions_;
+        return tableOptions_ == null ?
+            com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_;
       }
     }
     /**
-     *
-     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1619,24 +1510,21 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableOptions,
-            com.google.privacy.dlp.v2.TableOptions.Builder,
-            com.google.privacy.dlp.v2.TableOptionsOrBuilder>
+        com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> 
         getTableOptionsFieldBuilder() {
       if (tableOptionsBuilder_ == null) {
-        tableOptionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.TableOptions,
-                com.google.privacy.dlp.v2.TableOptions.Builder,
-                com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
-                getTableOptions(), getParentForChildren(), isClean());
+        tableOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
+                getTableOptions(),
+                getParentForChildren(),
+                isClean());
         tableOptions_ = null;
       }
       return tableOptionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1646,12 +1534,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridOptions)
   private static final com.google.privacy.dlp.v2.HybridOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridOptions();
   }
@@ -1660,16 +1548,16 @@ public static com.google.privacy.dlp.v2.HybridOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HybridOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HybridOptions(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HybridOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HybridOptions(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1684,4 +1572,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.HybridOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
similarity index 83%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
index a2942c01..da77cfbb 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface HybridOptionsOrBuilder
-    extends
+public interface HybridOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -63,13 +40,11 @@ public interface HybridOptionsOrBuilder
    * 
* * repeated string required_finding_label_keys = 2; - * * @return A list containing the requiredFindingLabelKeys. */ - java.util.List getRequiredFindingLabelKeysList(); + java.util.List + getRequiredFindingLabelKeysList(); /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -80,13 +55,10 @@ public interface HybridOptionsOrBuilder
    * 
* * repeated string required_finding_label_keys = 2; - * * @return The count of requiredFindingLabelKeys. */ int getRequiredFindingLabelKeysCount(); /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -97,14 +69,11 @@ public interface HybridOptionsOrBuilder
    * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index of the element to return. * @return The requiredFindingLabelKeys at the given index. */ java.lang.String getRequiredFindingLabelKeys(int index); /** - * - * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -115,15 +84,13 @@ public interface HybridOptionsOrBuilder
    * 
* * repeated string required_finding_label_keys = 2; - * * @param index The index of the value to return. * @return The bytes of the requiredFindingLabelKeys at the given index. */ - com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index); + com.google.protobuf.ByteString + getRequiredFindingLabelKeysBytes(int index); /** - * - * *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -140,8 +107,6 @@ public interface HybridOptionsOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -156,13 +121,15 @@ public interface HybridOptionsOrBuilder
    *
    * map<string, string> labels = 3;
    */
-  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();
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -177,10 +144,9 @@ public interface HybridOptionsOrBuilder
    *
    * map<string, string> labels = 3;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -195,10 +161,11 @@ public interface HybridOptionsOrBuilder
    *
    * map<string, string> labels = 3;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -213,37 +180,31 @@ public interface HybridOptionsOrBuilder
    *
    * map<string, string> labels = 3;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ boolean hasTableOptions(); /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return The tableOptions. */ com.google.privacy.dlp.v2.TableOptions getTableOptions(); /** - * - * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
similarity index 74%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
index 193ca4ee..4462ae27 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Location of the finding within an image.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageLocation} */ -public final class ImageLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImageLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageLocation) ImageLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImageLocation.newBuilder() to construct. private ImageLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImageLocation() { boundingBoxes_ = 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 ImageLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImageLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,30 +54,29 @@ private ImageLocation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - boundingBoxes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - boundingBoxes_.add( - input.readMessage( - com.google.privacy.dlp.v2.BoundingBox.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + boundingBoxes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + boundingBoxes_.add( + input.readMessage(com.google.privacy.dlp.v2.BoundingBox.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { boundingBoxes_ = java.util.Collections.unmodifiableList(boundingBoxes_); @@ -103,27 +85,22 @@ private ImageLocation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageLocation.class, - com.google.privacy.dlp.v2.ImageLocation.Builder.class); + com.google.privacy.dlp.v2.ImageLocation.class, com.google.privacy.dlp.v2.ImageLocation.Builder.class); } public static final int BOUNDING_BOXES_FIELD_NUMBER = 1; private java.util.List boundingBoxes_; /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -135,8 +112,6 @@ public java.util.List getBoundingBoxesLis return boundingBoxes_; } /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -144,13 +119,11 @@ public java.util.List getBoundingBoxesLis * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBoundingBoxesOrBuilderList() { return boundingBoxes_; } /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -162,8 +135,6 @@ public int getBoundingBoxesCount() { return boundingBoxes_.size(); } /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -175,8 +146,6 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) { return boundingBoxes_.get(index); } /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -184,12 +153,12 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) { * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index) { + public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( + int index) { return boundingBoxes_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < boundingBoxes_.size(); i++) { output.writeMessage(1, boundingBoxes_.get(i)); } @@ -215,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < boundingBoxes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, boundingBoxes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, boundingBoxes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,14 +196,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.privacy.dlp.v2.ImageLocation)) { return super.equals(obj); } com.google.privacy.dlp.v2.ImageLocation other = (com.google.privacy.dlp.v2.ImageLocation) obj; - if (!getBoundingBoxesList().equals(other.getBoundingBoxesList())) return false; + if (!getBoundingBoxesList() + .equals(other.getBoundingBoxesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,127 +225,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ImageLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ImageLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ImageLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Location of the finding within an image.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageLocation) com.google.privacy.dlp.v2.ImageLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageLocation.class, - com.google.privacy.dlp.v2.ImageLocation.Builder.class); + com.google.privacy.dlp.v2.ImageLocation.class, com.google.privacy.dlp.v2.ImageLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.ImageLocation.newBuilder() @@ -381,17 +344,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBoundingBoxesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -405,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; } @java.lang.Override @@ -426,8 +389,7 @@ public com.google.privacy.dlp.v2.ImageLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.ImageLocation buildPartial() { - com.google.privacy.dlp.v2.ImageLocation result = - new com.google.privacy.dlp.v2.ImageLocation(this); + com.google.privacy.dlp.v2.ImageLocation result = new com.google.privacy.dlp.v2.ImageLocation(this); int from_bitField0_ = bitField0_; if (boundingBoxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -446,39 +408,38 @@ public com.google.privacy.dlp.v2.ImageLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ImageLocation) { - return mergeFrom((com.google.privacy.dlp.v2.ImageLocation) other); + return mergeFrom((com.google.privacy.dlp.v2.ImageLocation)other); } else { super.mergeFrom(other); return this; @@ -505,10 +466,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ImageLocation other) { boundingBoxesBuilder_ = null; boundingBoxes_ = other.boundingBoxes_; bitField0_ = (bitField0_ & ~0x00000001); - boundingBoxesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBoundingBoxesFieldBuilder() - : null; + boundingBoxesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBoundingBoxesFieldBuilder() : null; } else { boundingBoxesBuilder_.addAllMessages(other.boundingBoxes_); } @@ -542,29 +502,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List boundingBoxes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureBoundingBoxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - boundingBoxes_ = - new java.util.ArrayList(boundingBoxes_); + boundingBoxes_ = new java.util.ArrayList(boundingBoxes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BoundingBox, - com.google.privacy.dlp.v2.BoundingBox.Builder, - com.google.privacy.dlp.v2.BoundingBoxOrBuilder> - boundingBoxesBuilder_; + com.google.privacy.dlp.v2.BoundingBox, com.google.privacy.dlp.v2.BoundingBox.Builder, com.google.privacy.dlp.v2.BoundingBoxOrBuilder> boundingBoxesBuilder_; /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -579,8 +531,6 @@ public java.util.List getBoundingBoxesLis } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -595,8 +545,6 @@ public int getBoundingBoxesCount() { } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -611,15 +559,14 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) { } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public Builder setBoundingBoxes(int index, com.google.privacy.dlp.v2.BoundingBox value) { + public Builder setBoundingBoxes( + int index, com.google.privacy.dlp.v2.BoundingBox value) { if (boundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -633,8 +580,6 @@ public Builder setBoundingBoxes(int index, com.google.privacy.dlp.v2.BoundingBox return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -653,8 +598,6 @@ public Builder setBoundingBoxes( return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -675,15 +618,14 @@ public Builder addBoundingBoxes(com.google.privacy.dlp.v2.BoundingBox value) { return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public Builder addBoundingBoxes(int index, com.google.privacy.dlp.v2.BoundingBox value) { + public Builder addBoundingBoxes( + int index, com.google.privacy.dlp.v2.BoundingBox value) { if (boundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -697,15 +639,14 @@ public Builder addBoundingBoxes(int index, com.google.privacy.dlp.v2.BoundingBox return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public Builder addBoundingBoxes(com.google.privacy.dlp.v2.BoundingBox.Builder builderForValue) { + public Builder addBoundingBoxes( + com.google.privacy.dlp.v2.BoundingBox.Builder builderForValue) { if (boundingBoxesBuilder_ == null) { ensureBoundingBoxesIsMutable(); boundingBoxes_.add(builderForValue.build()); @@ -716,8 +657,6 @@ public Builder addBoundingBoxes(com.google.privacy.dlp.v2.BoundingBox.Builder bu return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -736,8 +675,6 @@ public Builder addBoundingBoxes( return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -748,7 +685,8 @@ public Builder addAllBoundingBoxes( java.lang.Iterable values) { if (boundingBoxesBuilder_ == null) { ensureBoundingBoxesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, boundingBoxes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, boundingBoxes_); onChanged(); } else { boundingBoxesBuilder_.addAllMessages(values); @@ -756,8 +694,6 @@ public Builder addAllBoundingBoxes( return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -775,8 +711,6 @@ public Builder clearBoundingBoxes() { return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -794,44 +728,39 @@ public Builder removeBoundingBoxes(int index) { return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public com.google.privacy.dlp.v2.BoundingBox.Builder getBoundingBoxesBuilder(int index) { + public com.google.privacy.dlp.v2.BoundingBox.Builder getBoundingBoxesBuilder( + int index) { return getBoundingBoxesFieldBuilder().getBuilder(index); } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index) { + public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( + int index) { if (boundingBoxesBuilder_ == null) { - return boundingBoxes_.get(index); - } else { + return boundingBoxes_.get(index); } else { return boundingBoxesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public java.util.List - getBoundingBoxesOrBuilderList() { + public java.util.List + getBoundingBoxesOrBuilderList() { if (boundingBoxesBuilder_ != null) { return boundingBoxesBuilder_.getMessageOrBuilderList(); } else { @@ -839,8 +768,6 @@ public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -848,47 +775,38 @@ public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder() { - return getBoundingBoxesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); + return getBoundingBoxesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder(int index) { - return getBoundingBoxesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); + public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder( + int index) { + return getBoundingBoxesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public java.util.List - getBoundingBoxesBuilderList() { + public java.util.List + getBoundingBoxesBuilderList() { return getBoundingBoxesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BoundingBox, - com.google.privacy.dlp.v2.BoundingBox.Builder, - com.google.privacy.dlp.v2.BoundingBoxOrBuilder> + com.google.privacy.dlp.v2.BoundingBox, com.google.privacy.dlp.v2.BoundingBox.Builder, com.google.privacy.dlp.v2.BoundingBoxOrBuilder> getBoundingBoxesFieldBuilder() { if (boundingBoxesBuilder_ == null) { - boundingBoxesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BoundingBox, - com.google.privacy.dlp.v2.BoundingBox.Builder, - com.google.privacy.dlp.v2.BoundingBoxOrBuilder>( + boundingBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.BoundingBox, com.google.privacy.dlp.v2.BoundingBox.Builder, com.google.privacy.dlp.v2.BoundingBoxOrBuilder>( boundingBoxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -897,9 +815,9 @@ public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder(int } return boundingBoxesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -909,12 +827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageLocation) private static final com.google.privacy.dlp.v2.ImageLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageLocation(); } @@ -923,16 +841,16 @@ public static com.google.privacy.dlp.v2.ImageLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +865,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ImageLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java index a9b3ac41..99ddc748 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ImageLocationOrBuilder - extends +public interface ImageLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - java.util.List getBoundingBoxesList(); + java.util.List + getBoundingBoxesList(); /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -44,8 +25,6 @@ public interface ImageLocationOrBuilder */ com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index); /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -54,24 +33,21 @@ public interface ImageLocationOrBuilder */ int getBoundingBoxesCount(); /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - java.util.List + java.util.List getBoundingBoxesOrBuilderList(); /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index); + com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java index b5c8b7ca..d5d96fcc 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Type of information detected by the API.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoType} */ -public final class InfoType extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InfoType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoType) InfoTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InfoType.newBuilder() to construct. private InfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InfoType() { name_ = ""; version_ = ""; @@ -44,15 +26,16 @@ private InfoType() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InfoType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InfoType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,59 +54,53 @@ private InfoType( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_InfoType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoType.class, - com.google.privacy.dlp.v2.InfoType.Builder.class); + com.google.privacy.dlp.v2.InfoType.class, com.google.privacy.dlp.v2.InfoType.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -142,15 +118,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -160,15 +135,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,14 +155,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -195,29 +168,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; } } /** - * - * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -226,7 +199,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -268,15 +241,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.privacy.dlp.v2.InfoType)) { return super.equals(obj); } com.google.privacy.dlp.v2.InfoType other = (com.google.privacy.dlp.v2.InfoType) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,126 +272,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoType parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoType parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoType parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.InfoType parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoType 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.privacy.dlp.v2.InfoType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InfoType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Type of information detected by the API.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoType) com.google.privacy.dlp.v2.InfoTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_InfoType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoType.class, - com.google.privacy.dlp.v2.InfoType.Builder.class); + com.google.privacy.dlp.v2.InfoType.class, com.google.privacy.dlp.v2.InfoType.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoType.newBuilder() @@ -424,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +412,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_InfoType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_descriptor; } @java.lang.Override @@ -476,39 +444,38 @@ public com.google.privacy.dlp.v2.InfoType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoType) { - return mergeFrom((com.google.privacy.dlp.v2.InfoType) other); + return mergeFrom((com.google.privacy.dlp.v2.InfoType)other); } else { super.mergeFrom(other); return this; @@ -556,8 +523,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -567,13 +532,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; @@ -582,8 +547,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -593,14 +556,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -608,8 +572,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -619,22 +581,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -644,18 +604,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -665,16 +622,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -682,20 +639,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -704,21 +659,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -726,68 +680,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - 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 +744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoType) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoType) private static final com.google.privacy.dlp.v2.InfoType DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoType(); } @@ -811,16 +758,16 @@ public static com.google.privacy.dlp.v2.InfoType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -835,4 +782,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java index 5353dc10..453c270b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * InfoType description.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeDescription} */ -public final class InfoTypeDescription extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InfoTypeDescription extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeDescription) InfoTypeDescriptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InfoTypeDescription.newBuilder() to construct. private InfoTypeDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InfoTypeDescription() { name_ = ""; displayName_ = ""; @@ -46,15 +28,16 @@ private InfoTypeDescription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InfoTypeDescription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InfoTypeDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,65 +57,61 @@ private InfoTypeDescription( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedBy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + supportedBy_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedBy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedBy_.add(rawValue); - break; - } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedBy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedBy_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + input.popLimit(oldLimit); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedBy_ = java.util.Collections.unmodifiableList(supportedBy_); @@ -141,33 +120,27 @@ private InfoTypeDescription( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeDescription.class, - com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); + com.google.privacy.dlp.v2.InfoTypeDescription.class, com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Internal name of the infoType.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -176,29 +149,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Internal name of the infoType.
    * 
* * 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 { @@ -209,14 +182,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Human readable form of the infoType name.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -225,29 +195,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; } } /** - * - * *
    * Human readable form of the infoType name.
    * 
* * 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 { @@ -258,45 +228,34 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int SUPPORTED_BY_FIELD_NUMBER = 3; private java.util.List supportedBy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy> - supportedBy_converter_ = + java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy> supportedBy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>() { public com.google.privacy.dlp.v2.InfoTypeSupportedBy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeSupportedBy result = - com.google.privacy.dlp.v2.InfoTypeSupportedBy.valueOf(from); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeSupportedBy.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeSupportedBy result = com.google.privacy.dlp.v2.InfoTypeSupportedBy.valueOf(from); + return result == null ? com.google.privacy.dlp.v2.InfoTypeSupportedBy.UNRECOGNIZED : result; } }; /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return A list containing the supportedBy. */ @java.lang.Override public java.util.List getSupportedByList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>( - supportedBy_, supportedBy_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>(supportedBy_, supportedBy_converter_); } /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return The count of supportedBy. */ @java.lang.Override @@ -304,14 +263,11 @@ public int getSupportedByCount() { return supportedBy_.size(); } /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the element to return. * @return The supportedBy at the given index. */ @@ -320,29 +276,24 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) { return supportedBy_converter_.convert(supportedBy_.get(index)); } /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return A list containing the enum numeric values on the wire for supportedBy. */ @java.lang.Override - public java.util.List getSupportedByValueList() { + public java.util.List + getSupportedByValueList() { return supportedBy_; } /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. */ @@ -350,21 +301,17 @@ public java.util.List getSupportedByValueList() { public int getSupportedByValue(int index) { return supportedBy_.get(index); } - private int supportedByMemoizedSerializedSize; public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** - * - * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -373,30 +320,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; } } /** - * - * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; - * * @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 { @@ -405,7 +352,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,7 +363,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -453,14 +400,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < supportedBy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedBy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedBy_.get(i)); } size += dataSize; - if (!getSupportedByList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedByMemoizedSerializedSize = dataSize; + if (!getSupportedByList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedByMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); @@ -473,18 +420,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.privacy.dlp.v2.InfoTypeDescription)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeDescription other = - (com.google.privacy.dlp.v2.InfoTypeDescription) obj; + com.google.privacy.dlp.v2.InfoTypeDescription other = (com.google.privacy.dlp.v2.InfoTypeDescription) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!supportedBy_.equals(other.supportedBy_)) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -511,127 +460,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeDescription parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeDescription parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * InfoType description.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeDescription} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeDescription) com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeDescription.class, - com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); + com.google.privacy.dlp.v2.InfoTypeDescription.class, com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoTypeDescription.newBuilder() @@ -639,15 +579,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; } @java.lang.Override @@ -684,8 +625,7 @@ public com.google.privacy.dlp.v2.InfoTypeDescription build() { @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() { - com.google.privacy.dlp.v2.InfoTypeDescription result = - new com.google.privacy.dlp.v2.InfoTypeDescription(this); + com.google.privacy.dlp.v2.InfoTypeDescription result = new com.google.privacy.dlp.v2.InfoTypeDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; @@ -703,39 +643,38 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoTypeDescription) { - return mergeFrom((com.google.privacy.dlp.v2.InfoTypeDescription) other); + return mergeFrom((com.google.privacy.dlp.v2.InfoTypeDescription)other); } else { super.mergeFrom(other); return this; @@ -794,25 +733,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Internal name of the infoType.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -821,21 +757,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Internal name of the infoType.
      * 
* * 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 { @@ -843,61 +778,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Internal name of the infoType.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Internal name of the infoType.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Internal name of the infoType.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -905,20 +833,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human readable form of the infoType name.
      * 
* * 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; @@ -927,21 +853,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human readable form of the infoType name.
      * 
* * 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 { @@ -949,68 +874,61 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human readable form of the infoType name.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Human readable form of the infoType name.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human readable form of the infoType name.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - private java.util.List supportedBy_ = java.util.Collections.emptyList(); - + private java.util.List supportedBy_ = + java.util.Collections.emptyList(); private void ensureSupportedByIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedBy_ = new java.util.ArrayList(supportedBy_); @@ -1018,44 +936,34 @@ private void ensureSupportedByIsMutable() { } } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return A list containing the supportedBy. */ public java.util.List getSupportedByList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>( - supportedBy_, supportedBy_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>(supportedBy_, supportedBy_converter_); } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return The count of supportedBy. */ public int getSupportedByCount() { return supportedBy_.size(); } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the element to return. * @return The supportedBy at the given index. */ @@ -1063,19 +971,17 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) { return supportedBy_converter_.convert(supportedBy_.get(index)); } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index to set the value at. * @param value The supportedBy to set. * @return This builder for chaining. */ - public Builder setSupportedBy(int index, com.google.privacy.dlp.v2.InfoTypeSupportedBy value) { + public Builder setSupportedBy( + int index, com.google.privacy.dlp.v2.InfoTypeSupportedBy value) { if (value == null) { throw new NullPointerException(); } @@ -1085,14 +991,11 @@ public Builder setSupportedBy(int index, com.google.privacy.dlp.v2.InfoTypeSuppo return this; } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param value The supportedBy to add. * @return This builder for chaining. */ @@ -1106,14 +1009,11 @@ public Builder addSupportedBy(com.google.privacy.dlp.v2.InfoTypeSupportedBy valu return this; } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param values The supportedBy to add. * @return This builder for chaining. */ @@ -1127,14 +1027,11 @@ public Builder addAllSupportedBy( return this; } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return This builder for chaining. */ public Builder clearSupportedBy() { @@ -1144,28 +1041,23 @@ public Builder clearSupportedBy() { return this; } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return A list containing the enum numeric values on the wire for supportedBy. */ - public java.util.List getSupportedByValueList() { + public java.util.List + getSupportedByValueList() { return java.util.Collections.unmodifiableList(supportedBy_); } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. */ @@ -1173,33 +1065,28 @@ public int getSupportedByValue(int index) { return supportedBy_.get(index); } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. * @return This builder for chaining. */ - public Builder setSupportedByValue(int index, int value) { + public Builder setSupportedByValue( + int index, int value) { ensureSupportedByIsMutable(); supportedBy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param value The enum numeric value on the wire for supportedBy to add. * @return This builder for chaining. */ @@ -1210,18 +1097,16 @@ public Builder addSupportedByValue(int value) { return this; } /** - * - * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param values The enum numeric values on the wire for supportedBy to add. * @return This builder for chaining. */ - public Builder addAllSupportedByValue(java.lang.Iterable values) { + public Builder addAllSupportedByValue( + java.lang.Iterable values) { ensureSupportedByIsMutable(); for (int value : values) { supportedBy_.add(value); @@ -1232,21 +1117,19 @@ public Builder addAllSupportedByValue(java.lang.Iterable valu private java.lang.Object description_ = ""; /** - * - * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; - * * @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; @@ -1255,22 +1138,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; - * * @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 { @@ -1278,71 +1160,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1352,12 +1227,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeDescription) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeDescription) private static final com.google.privacy.dlp.v2.InfoTypeDescription DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeDescription(); } @@ -1366,16 +1241,16 @@ public static com.google.privacy.dlp.v2.InfoTypeDescription getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeDescription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeDescription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeDescription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeDescription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1265,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java index 853f63fb..973a6057 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java @@ -1,165 +1,120 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InfoTypeDescriptionOrBuilder - extends +public interface InfoTypeDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeDescription) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Internal name of the infoType.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Internal name of the infoType.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Human readable form of the infoType name.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human readable form of the infoType name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return A list containing the supportedBy. */ java.util.List getSupportedByList(); /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return The count of supportedBy. */ int getSupportedByCount(); /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the element to return. * @return The supportedBy at the given index. */ com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index); /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @return A list containing the enum numeric values on the wire for supportedBy. */ - java.util.List getSupportedByValueList(); + java.util.List + getSupportedByValueList(); /** - * - * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. */ int getSupportedByValue(int index); /** - * - * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java index f0026243..7786b7ba 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface InfoTypeOrBuilder - extends +public interface InfoTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoType) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -35,13 +17,10 @@ public interface InfoTypeOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -51,33 +30,28 @@ public interface InfoTypeOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java index 7c4772f2..4ad83e45 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Statistics regarding a specific InfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeStats} */ -public final class InfoTypeStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InfoTypeStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeStats) InfoTypeStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InfoTypeStats.newBuilder() to construct. private InfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InfoTypeStats() {} + private InfoTypeStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InfoTypeStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InfoTypeStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,71 +52,64 @@ private InfoTypeStats( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (infoType_ != null) { - subBuilder = infoType_.toBuilder(); - } - infoType_ = - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(infoType_); - infoType_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (infoType_ != null) { + subBuilder = infoType_.toBuilder(); } - case 16: - { - count_ = input.readInt64(); - break; + infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(infoType_); + infoType_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + count_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeStats.class, - com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.InfoTypeStats.class, com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** - * - * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -140,14 +117,11 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -155,8 +129,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
    * The type of finding this stat is for.
    * 
@@ -171,14 +143,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** - * - * *
    * Number of findings for this infoType.
    * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -187,7 +156,6 @@ public long getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -216,10 +185,12 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInfoType()); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, count_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,7 +200,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.privacy.dlp.v2.InfoTypeStats)) { return super.equals(obj); @@ -238,9 +209,11 @@ public boolean equals(final java.lang.Object obj) { if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,133 +230,125 @@ public int hashCode() { hash = (53 * hash) + getInfoType().hashCode(); } hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Statistics regarding a specific InfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeStats) com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeStats.class, - com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.InfoTypeStats.class, com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoTypeStats.newBuilder() @@ -391,15 +356,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; } @java.lang.Override @@ -436,8 +402,7 @@ public com.google.privacy.dlp.v2.InfoTypeStats build() { @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeStats buildPartial() { - com.google.privacy.dlp.v2.InfoTypeStats result = - new com.google.privacy.dlp.v2.InfoTypeStats(this); + com.google.privacy.dlp.v2.InfoTypeStats result = new com.google.privacy.dlp.v2.InfoTypeStats(this); if (infoTypeBuilder_ == null) { result.infoType_ = infoType_; } else { @@ -452,39 +417,38 @@ public com.google.privacy.dlp.v2.InfoTypeStats buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoTypeStats) { - return mergeFrom((com.google.privacy.dlp.v2.InfoTypeStats) other); + return mergeFrom((com.google.privacy.dlp.v2.InfoTypeStats)other); } else { super.mergeFrom(other); return this; @@ -530,47 +494,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InfoType infoType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; /** - * - * *
      * The type of finding this stat is for.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
      * The type of finding this stat is for.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -591,15 +542,14 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; */ - public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + public Builder setInfoType( + com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { if (infoTypeBuilder_ == null) { infoType_ = builderForValue.build(); onChanged(); @@ -610,8 +560,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -622,9 +570,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { if (infoTypeBuilder_ == null) { if (infoType_ != null) { infoType_ = - com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial(); } else { infoType_ = value; } @@ -636,8 +582,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -656,8 +600,6 @@ public Builder clearInfoType() { return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -665,13 +607,11 @@ public Builder clearInfoType() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { - + onChanged(); return getInfoTypeFieldBuilder().getBuilder(); } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -682,14 +622,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { if (infoTypeBuilder_ != null) { return infoTypeBuilder_.getMessageOrBuilder(); } else { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? + com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -697,32 +634,26 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypeFieldBuilder() { if (infoTypeBuilder_ == null) { - infoTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder>( - getInfoType(), getParentForChildren(), isClean()); + infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>( + getInfoType(), + getParentForChildren(), + isClean()); infoType_ = null; } return infoTypeBuilder_; } - private long count_; + private long count_ ; /** - * - * *
      * Number of findings for this infoType.
      * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -730,43 +661,37 @@ public long getCount() { return count_; } /** - * - * *
      * Number of findings for this infoType.
      * 
* * int64 count = 2; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** - * - * *
      * Number of findings for this infoType.
      * 
* * int64 count = 2; - * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeStats) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeStats) private static final com.google.privacy.dlp.v2.InfoTypeStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeStats(); } @@ -790,16 +715,16 @@ public static com.google.privacy.dlp.v2.InfoTypeStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java similarity index 61% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java index 924adfff..da42c2c2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InfoTypeStatsOrBuilder - extends +public interface InfoTypeStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * The type of finding this stat is for.
    * 
@@ -59,14 +35,11 @@ public interface InfoTypeStatsOrBuilder com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); /** - * - * *
    * Number of findings for this infoType.
    * 
* * int64 count = 2; - * * @return The count. */ long getCount(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java index db393fc4..2a0226f6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Parts of the APIs which use certain infoTypes.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeSupportedBy} */ -public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEnum { +public enum InfoTypeSupportedBy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unused.
    * 
@@ -39,8 +21,6 @@ public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEn */ ENUM_TYPE_UNSPECIFIED(0), /** - * - * *
    * Supported by the inspect operations.
    * 
@@ -49,8 +29,6 @@ public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEn */ INSPECT(1), /** - * - * *
    * Supported by the risk analysis operations.
    * 
@@ -62,8 +40,6 @@ public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
    * Unused.
    * 
@@ -72,8 +48,6 @@ public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEn */ public static final int ENUM_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Supported by the inspect operations.
    * 
@@ -82,8 +56,6 @@ public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEn */ public static final int INSPECT_VALUE = 1; /** - * - * *
    * Supported by the risk analysis operations.
    * 
@@ -92,6 +64,7 @@ public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEn */ public static final int RISK_ANALYSIS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,14 +89,10 @@ public static InfoTypeSupportedBy valueOf(int value) { */ public static InfoTypeSupportedBy forNumber(int value) { switch (value) { - case 0: - return ENUM_TYPE_UNSPECIFIED; - case 1: - return INSPECT; - case 2: - return RISK_ANALYSIS; - default: - return null; + case 0: return ENUM_TYPE_UNSPECIFIED; + case 1: return INSPECT; + case 2: return RISK_ANALYSIS; + default: return null; } } @@ -131,28 +100,28 @@ public static InfoTypeSupportedBy forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InfoTypeSupportedBy findValueByNumber(int number) { - return InfoTypeSupportedBy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + InfoTypeSupportedBy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InfoTypeSupportedBy findValueByNumber(int number) { + return InfoTypeSupportedBy.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(4); } @@ -161,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static InfoTypeSupportedBy 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; @@ -177,3 +147,4 @@ private InfoTypeSupportedBy(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.InfoTypeSupportedBy) } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java index e8a0262b..22dfef2f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A type of transformation that will scan unstructured text and
  * apply various `PrimitiveTransformation`s to each finding, where the
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations}
  */
-public final class InfoTypeTransformations extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InfoTypeTransformations extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeTransformations)
     InfoTypeTransformationsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InfoTypeTransformations.newBuilder() to construct.
   private InfoTypeTransformations(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InfoTypeTransformations() {
     transformations_ = 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 InfoTypeTransformations();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InfoTypeTransformations(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,29 @@ private InfoTypeTransformations(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                transformations_ =
-                    new java.util.ArrayList<
-                        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              transformations_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
-                          .parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              transformations_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            transformations_.add(
+                input.readMessage(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         transformations_ = java.util.Collections.unmodifiableList(transformations_);
@@ -110,30 +88,24 @@ private InfoTypeTransformations(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InfoTypeTransformations.class,
-            com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
+            com.google.privacy.dlp.v2.InfoTypeTransformations.class, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
   }
 
-  public interface InfoTypeTransformationOrBuilder
-      extends
+  public interface InfoTypeTransformationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -142,10 +114,9 @@ public interface InfoTypeTransformationOrBuilder
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    java.util.List getInfoTypesList();
+    java.util.List 
+        getInfoTypesList();
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -156,8 +127,6 @@ public interface InfoTypeTransformationOrBuilder
      */
     com.google.privacy.dlp.v2.InfoType getInfoTypes(int index);
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -168,8 +137,6 @@ public interface InfoTypeTransformationOrBuilder
      */
     int getInfoTypesCount();
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -178,11 +145,9 @@ public interface InfoTypeTransformationOrBuilder
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    java.util.List
+    java.util.List 
         getInfoTypesOrBuilderList();
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -191,53 +156,37 @@ public interface InfoTypeTransformationOrBuilder
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index);
+    com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the primitiveTransformation field is set. */ boolean hasPrimitiveTransformation(); /** - * - * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The primitiveTransformation. */ com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation(); /** - * - * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder - getPrimitiveTransformationOrBuilder(); + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder(); } /** - * - * *
    * A transformation to apply to text that is identified as a specific
    * info_type.
@@ -245,31 +194,31 @@ public interface InfoTypeTransformationOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation}
    */
-  public static final class InfoTypeTransformation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class InfoTypeTransformation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
       InfoTypeTransformationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use InfoTypeTransformation.newBuilder() to construct.
     private InfoTypeTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private InfoTypeTransformation() {
       infoTypes_ = 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 InfoTypeTransformation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private InfoTypeTransformation(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -289,47 +238,42 @@ private InfoTypeTransformation(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  infoTypes_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                infoTypes_.add(
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                infoTypes_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
-                if (primitiveTransformation_ != null) {
-                  subBuilder = primitiveTransformation_.toBuilder();
-                }
-                primitiveTransformation_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.PrimitiveTransformation.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(primitiveTransformation_);
-                  primitiveTransformation_ = subBuilder.buildPartial();
-                }
-
-                break;
+              infoTypes_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
+              if (primitiveTransformation_ != null) {
+                subBuilder = primitiveTransformation_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              primitiveTransformation_ = input.readMessage(com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(primitiveTransformation_);
+                primitiveTransformation_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -338,28 +282,22 @@ private InfoTypeTransformation(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class,
-              com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder
-                  .class);
+              com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder.class);
     }
 
     public static final int INFO_TYPES_FIELD_NUMBER = 1;
     private java.util.List infoTypes_;
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -373,8 +311,6 @@ public java.util.List getInfoTypesList() {
       return infoTypes_;
     }
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -384,13 +320,11 @@ public java.util.List getInfoTypesList() {
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getInfoTypesOrBuilderList() {
       return infoTypes_;
     }
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -404,8 +338,6 @@ public int getInfoTypesCount() {
       return infoTypes_.size();
     }
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -419,8 +351,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
       return infoTypes_.get(index);
     }
     /**
-     *
-     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -430,23 +360,19 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+        int index) {
       return infoTypes_.get(index);
     }
 
     public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.PrimitiveTransformation primitiveTransformation_;
     /**
-     *
-     *
      * 
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the primitiveTransformation field is set. */ @java.lang.Override @@ -454,43 +380,30 @@ public boolean hasPrimitiveTransformation() { return primitiveTransformation_ != null; } /** - * - * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The primitiveTransformation. */ @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() { - return primitiveTransformation_ == null - ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() - : primitiveTransformation_; + return primitiveTransformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : primitiveTransformation_; } /** - * - * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder - getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { return getPrimitiveTransformation(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -502,7 +415,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -519,12 +433,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, infoTypes_.get(i)); } if (primitiveTransformation_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getPrimitiveTransformation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPrimitiveTransformation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -534,19 +448,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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)) { + if (!(obj instanceof com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other = - (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) obj; + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other = (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) obj; - if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; + if (!getInfoTypesList() + .equals(other.getInfoTypesList())) return false; if (hasPrimitiveTransformation() != other.hasPrimitiveTransformation()) return false; if (hasPrimitiveTransformation()) { - if (!getPrimitiveTransformation().equals(other.getPrimitiveTransformation())) return false; + if (!getPrimitiveTransformation() + .equals(other.getPrimitiveTransformation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -572,101 +486,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -676,8 +577,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A transformation to apply to text that is identified as a specific
      * info_type.
@@ -685,44 +584,39 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
         com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class,
-                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder
-                    .class);
+                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder.class);
       }
 
-      // Construct using
-      // com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.newBuilder()
+      // Construct using com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getInfoTypesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -742,22 +636,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
-          getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
-            .getDefaultInstance();
+      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation build() {
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result =
-            buildPartial();
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -765,10 +656,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
-          buildPartial() {
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result =
-            new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(this);
+      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation buildPartial() {
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result = new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(this);
         int from_bitField0_ = bitField0_;
         if (infoTypesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -792,54 +681,46 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) {
-          return mergeFrom(
-              (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) other);
+        if (other instanceof com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) {
+          return mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other) {
-        if (other
-            == com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other) {
+        if (other == com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance()) return this;
         if (infoTypesBuilder_ == null) {
           if (!other.infoTypes_.isEmpty()) {
             if (infoTypes_.isEmpty()) {
@@ -858,10 +739,9 @@ public Builder mergeFrom(
               infoTypesBuilder_ = null;
               infoTypes_ = other.infoTypes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              infoTypesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getInfoTypesFieldBuilder()
-                      : null;
+              infoTypesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getInfoTypesFieldBuilder() : null;
             } else {
               infoTypesBuilder_.addAllMessages(other.infoTypes_);
             }
@@ -885,14 +765,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parsedMessage =
-            null;
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -901,28 +778,21 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List infoTypes_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureInfoTypesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           infoTypes_ = new java.util.ArrayList(infoTypes_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoType,
-              com.google.privacy.dlp.v2.InfoType.Builder,
-              com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-          infoTypesBuilder_;
+          com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_;
 
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -939,8 +809,6 @@ public java.util.List getInfoTypesList() {
         }
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -957,8 +825,6 @@ public int getInfoTypesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -975,8 +841,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -985,7 +849,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
+      public Builder setInfoTypes(
+          int index, com.google.privacy.dlp.v2.InfoType value) {
         if (infoTypesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -999,8 +864,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1021,8 +884,6 @@ public Builder setInfoTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1045,8 +906,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1055,7 +914,8 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
+      public Builder addInfoTypes(
+          int index, com.google.privacy.dlp.v2.InfoType value) {
         if (infoTypesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1069,8 +929,6 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1079,7 +937,8 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+      public Builder addInfoTypes(
+          com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
         if (infoTypesBuilder_ == null) {
           ensureInfoTypesIsMutable();
           infoTypes_.add(builderForValue.build());
@@ -1090,8 +949,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderFo
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1112,8 +969,6 @@ public Builder addInfoTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1126,7 +981,8 @@ public Builder addAllInfoTypes(
           java.lang.Iterable values) {
         if (infoTypesBuilder_ == null) {
           ensureInfoTypesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, infoTypes_);
           onChanged();
         } else {
           infoTypesBuilder_.addAllMessages(values);
@@ -1134,8 +990,6 @@ public Builder addAllInfoTypes(
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1155,8 +1009,6 @@ public Builder clearInfoTypes() {
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1176,8 +1028,6 @@ public Builder removeInfoTypes(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1186,12 +1036,11 @@ public Builder removeInfoTypes(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) {
+      public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
+          int index) {
         return getInfoTypesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1200,16 +1049,14 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index)
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+          int index) {
         if (infoTypesBuilder_ == null) {
-          return infoTypes_.get(index);
-        } else {
+          return infoTypes_.get(index);  } else {
           return infoTypesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1218,8 +1065,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public java.util.List
-          getInfoTypesOrBuilderList() {
+      public java.util.List 
+           getInfoTypesOrBuilderList() {
         if (infoTypesBuilder_ != null) {
           return infoTypesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1227,8 +1074,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
         }
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1238,12 +1083,10 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
       public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
-        return getInfoTypesFieldBuilder()
-            .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+        return getInfoTypesFieldBuilder().addBuilder(
+            com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1252,13 +1095,12 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) {
-        return getInfoTypesFieldBuilder()
-            .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+      public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
+          int index) {
+        return getInfoTypesFieldBuilder().addBuilder(
+            index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1267,22 +1109,20 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index)
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public java.util.List getInfoTypesBuilderList() {
+      public java.util.List 
+           getInfoTypesBuilderList() {
         return getInfoTypesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoType,
-              com.google.privacy.dlp.v2.InfoType.Builder,
-              com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+          com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
           getInfoTypesFieldBuilder() {
         if (infoTypesBuilder_ == null) {
-          infoTypesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.privacy.dlp.v2.InfoType,
-                  com.google.privacy.dlp.v2.InfoType.Builder,
-                  com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                  infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                  infoTypes_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           infoTypes_ = null;
         }
         return infoTypesBuilder_;
@@ -1290,61 +1130,41 @@ public java.util.List getInfoTypesBu
 
       private com.google.privacy.dlp.v2.PrimitiveTransformation primitiveTransformation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.PrimitiveTransformation,
-              com.google.privacy.dlp.v2.PrimitiveTransformation.Builder,
-              com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>
-          primitiveTransformationBuilder_;
+          com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> primitiveTransformationBuilder_;
       /**
-       *
-       *
        * 
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the primitiveTransformation field is set. */ public boolean hasPrimitiveTransformation() { return primitiveTransformationBuilder_ != null || primitiveTransformation_ != null; } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The primitiveTransformation. */ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() { if (primitiveTransformationBuilder_ == null) { - return primitiveTransformation_ == null - ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() - : primitiveTransformation_; + return primitiveTransformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : primitiveTransformation_; } else { return primitiveTransformationBuilder_.getMessage(); } } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPrimitiveTransformation( - com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1358,15 +1178,11 @@ public Builder setPrimitiveTransformation( return this; } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPrimitiveTransformation( com.google.privacy.dlp.v2.PrimitiveTransformation.Builder builderForValue) { @@ -1380,25 +1196,17 @@ public Builder setPrimitiveTransformation( return this; } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePrimitiveTransformation( - com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { if (primitiveTransformation_ != null) { primitiveTransformation_ = - com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder( - primitiveTransformation_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder(primitiveTransformation_).mergeFrom(value).buildPartial(); } else { primitiveTransformation_ = value; } @@ -1410,15 +1218,11 @@ public Builder mergePrimitiveTransformation( return this; } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPrimitiveTransformation() { if (primitiveTransformationBuilder_ == null) { @@ -1432,71 +1236,52 @@ public Builder clearPrimitiveTransformation() { return this; } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder - getPrimitiveTransformationBuilder() { - + public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getPrimitiveTransformationBuilder() { + onChanged(); return getPrimitiveTransformationFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder - getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { if (primitiveTransformationBuilder_ != null) { return primitiveTransformationBuilder_.getMessageOrBuilder(); } else { - return primitiveTransformation_ == null - ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() - : primitiveTransformation_; + return primitiveTransformation_ == null ? + com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : primitiveTransformation_; } } /** - * - * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> getPrimitiveTransformationFieldBuilder() { if (primitiveTransformationBuilder_ == null) { - primitiveTransformationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( - getPrimitiveTransformation(), getParentForChildren(), isClean()); + primitiveTransformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( + getPrimitiveTransformation(), + getParentForChildren(), + isClean()); primitiveTransformation_ = null; } return primitiveTransformationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1509,33 +1294,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) - private static final com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - getDefaultInstance() { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeTransformation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeTransformation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeTransformation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,104 +1329,78 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TRANSFORMATIONS_FIELD_NUMBER = 1; - private java.util.List - transformations_; + private java.util.List transformations_; /** - * - * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getTransformationsList() { + public java.util.List getTransformationsList() { return transformations_; } /** - * - * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> + public java.util.List getTransformationsOrBuilderList() { return transformations_; } /** - * - * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getTransformationsCount() { return transformations_.size(); } /** - * - * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - getTransformations(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations(int index) { return transformations_.get(index); } /** - * - * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder - getTransformationsOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder( + int index) { return transformations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1656,7 +1412,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < transformations_.size(); i++) { output.writeMessage(1, transformations_.get(i)); } @@ -1670,7 +1427,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transformations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transformations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transformations_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1680,15 +1438,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.privacy.dlp.v2.InfoTypeTransformations)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeTransformations other = - (com.google.privacy.dlp.v2.InfoTypeTransformations) obj; + com.google.privacy.dlp.v2.InfoTypeTransformations other = (com.google.privacy.dlp.v2.InfoTypeTransformations) obj; - if (!getTransformationsList().equals(other.getTransformationsList())) return false; + if (!getTransformationsList() + .equals(other.getTransformationsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1710,103 +1468,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeTransformations prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 type of transformation that will scan unstructured text and
    * apply various `PrimitiveTransformation`s to each finding, where the
@@ -1816,23 +1567,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeTransformations)
       com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InfoTypeTransformations.class,
-              com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
+              com.google.privacy.dlp.v2.InfoTypeTransformations.class, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder()
@@ -1840,17 +1589,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransformationsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1864,9 +1613,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
     }
 
     @java.lang.Override
@@ -1885,8 +1634,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InfoTypeTransformations buildPartial() {
-      com.google.privacy.dlp.v2.InfoTypeTransformations result =
-          new com.google.privacy.dlp.v2.InfoTypeTransformations(this);
+      com.google.privacy.dlp.v2.InfoTypeTransformations result = new com.google.privacy.dlp.v2.InfoTypeTransformations(this);
       int from_bitField0_ = bitField0_;
       if (transformationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1905,39 +1653,38 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InfoTypeTransformations) {
-        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations) other);
+        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1945,8 +1692,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations other) {
-      if (other == com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) return this;
       if (transformationsBuilder_ == null) {
         if (!other.transformations_.isEmpty()) {
           if (transformations_.isEmpty()) {
@@ -1965,10 +1711,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations other
             transformationsBuilder_ = null;
             transformations_ = other.transformations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            transformationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTransformationsFieldBuilder()
-                    : null;
+            transformationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTransformationsFieldBuilder() : null;
           } else {
             transformationsBuilder_.addAllMessages(other.transformations_);
           }
@@ -1993,8 +1738,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.InfoTypeTransformations) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.InfoTypeTransformations) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2003,42 +1747,29 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        transformations_ = java.util.Collections.emptyList();
-
+    private java.util.List transformations_ =
+      java.util.Collections.emptyList();
     private void ensureTransformationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        transformations_ =
-            new java.util.ArrayList<
-                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation>(
-                transformations_);
+        transformations_ = new java.util.ArrayList(transformations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation,
-            com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder,
-            com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>
-        transformationsBuilder_;
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> transformationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getTransformationsList() { + public java.util.List getTransformationsList() { if (transformationsBuilder_ == null) { return java.util.Collections.unmodifiableList(transformations_); } else { @@ -2046,16 +1777,12 @@ private void ensureTransformationsIsMutable() { } } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getTransformationsCount() { if (transformationsBuilder_ == null) { @@ -2065,19 +1792,14 @@ public int getTransformationsCount() { } } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - getTransformations(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations(int index) { if (transformationsBuilder_ == null) { return transformations_.get(index); } else { @@ -2085,16 +1807,12 @@ public int getTransformationsCount() { } } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransformations( int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { @@ -2111,21 +1829,15 @@ public Builder setTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransformations( - int index, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.set(index, builderForValue.build()); @@ -2136,19 +1848,14 @@ public Builder setTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addTransformations( - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { + public Builder addTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { if (transformationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2162,16 +1869,12 @@ public Builder addTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTransformations( int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { @@ -2188,20 +1891,15 @@ public Builder addTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTransformations( - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder - builderForValue) { + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.add(builderForValue.build()); @@ -2212,21 +1910,15 @@ public Builder addTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTransformations( - int index, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.add(index, builderForValue.build()); @@ -2237,24 +1929,19 @@ public Builder addTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllTransformations( - java.lang.Iterable< - ? extends com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation> - values) { + java.lang.Iterable values) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transformations_); onChanged(); } else { transformationsBuilder_.addAllMessages(values); @@ -2262,16 +1949,12 @@ public Builder addAllTransformations( return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransformations() { if (transformationsBuilder_ == null) { @@ -2284,16 +1967,12 @@ public Builder clearTransformations() { return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeTransformations(int index) { if (transformationsBuilder_ == null) { @@ -2306,57 +1985,42 @@ public Builder removeTransformations(int index) { return this; } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder - getTransformationsBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder getTransformationsBuilder( + int index) { return getTransformationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder - getTransformationsOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder( + int index) { if (transformationsBuilder_ == null) { - return transformations_.get(index); - } else { + return transformations_.get(index); } else { return transformationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> - getTransformationsOrBuilderList() { + public java.util.List + getTransformationsOrBuilderList() { if (transformationsBuilder_ != null) { return transformationsBuilder_.getMessageOrBuilderList(); } else { @@ -2364,73 +2028,48 @@ public Builder removeTransformations(int index) { } } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder - addTransformationsBuilder() { - return getTransformationsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - .getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder() { + return getTransformationsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance()); } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder - addTransformationsBuilder(int index) { - return getTransformationsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation - .getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder( + int index) { + return getTransformationsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance()); } /** - * - * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder> - getTransformationsBuilderList() { + public java.util.List + getTransformationsBuilderList() { return getTransformationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> getTransformationsFieldBuilder() { if (transformationsBuilder_ == null) { - transformationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>( + transformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>( transformations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2439,9 +2078,9 @@ public Builder removeTransformations(int index) { } return transformationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2451,12 +2090,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeTransformations) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeTransformations) private static final com.google.privacy.dlp.v2.InfoTypeTransformations DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeTransformations(); } @@ -2465,16 +2104,16 @@ public static com.google.privacy.dlp.v2.InfoTypeTransformations getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeTransformations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeTransformations(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeTransformations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeTransformations(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2489,4 +2128,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeTransformations getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java new file mode 100644 index 00000000..fc82b6b8 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface InfoTypeTransformationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeTransformations) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getTransformationsList(); + /** + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations(int index); + /** + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + int getTransformationsCount(); + /** + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getTransformationsOrBuilderList(); + /** + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder( + int index); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java index 5c4e2913..a291bec6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Configuration description of the scanning process.
  * When used with redactContent only info_types and min_likelihood are currently
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectConfig}
  */
-public final class InspectConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InspectConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectConfig)
     InspectConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InspectConfig.newBuilder() to construct.
   private InspectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InspectConfig() {
     infoTypes_ = java.util.Collections.emptyList();
     minLikelihood_ = 0;
@@ -49,15 +31,16 @@ private InspectConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InspectConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InspectConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,112 +60,99 @@ private InspectConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                infoTypes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              infoTypes_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              infoTypes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 16:
-            {
-              int rawValue = input.readEnum();
-
-              minLikelihood_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder subBuilder = null;
-              if (limits_ != null) {
-                subBuilder = limits_.toBuilder();
-              }
-              limits_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectConfig.FindingLimits.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(limits_);
-                limits_ = subBuilder.buildPartial();
-              }
+            infoTypes_.add(
+                input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              break;
+            minLikelihood_ = rawValue;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder subBuilder = null;
+            if (limits_ != null) {
+              subBuilder = limits_.toBuilder();
             }
-          case 32:
-            {
-              includeQuote_ = input.readBool();
-              break;
+            limits_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(limits_);
+              limits_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              excludeInfoTypes_ = input.readBool();
-              break;
+
+            break;
+          }
+          case 32: {
+
+            includeQuote_ = input.readBool();
+            break;
+          }
+          case 40: {
+
+            excludeInfoTypes_ = input.readBool();
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              customInfoTypes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                customInfoTypes_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              customInfoTypes_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.parser(), extensionRegistry));
-              break;
+            customInfoTypes_.add(
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.parser(), extensionRegistry));
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              contentOptions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 64:
-            {
+            contentOptions_.add(rawValue);
+            break;
+          }
+          case 66: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 contentOptions_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               contentOptions_.add(rawValue);
-              break;
-            }
-          case 66:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  contentOptions_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                contentOptions_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
             }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                ruleSet_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              ruleSet_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectionRuleSet.parser(), extensionRegistry));
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              ruleSet_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000008;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ruleSet_.add(
+                input.readMessage(com.google.privacy.dlp.v2.InspectionRuleSet.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -200,30 +170,24 @@ private InspectConfig(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectConfig.class,
-            com.google.privacy.dlp.v2.InspectConfig.Builder.class);
+            com.google.privacy.dlp.v2.InspectConfig.class, com.google.privacy.dlp.v2.InspectConfig.Builder.class);
   }
 
-  public interface FindingLimitsOrBuilder
-      extends
+  public interface FindingLimitsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectConfig.FindingLimits)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Max number of findings that will be returned for each item scanned.
      * When set within `InspectJobConfig`,
@@ -232,14 +196,11 @@ public interface FindingLimitsOrBuilder
      * 
* * int32 max_findings_per_item = 1; - * * @return The maxFindingsPerItem. */ int getMaxFindingsPerItem(); /** - * - * *
      * Max number of findings that will be returned per request/job.
      * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -247,112 +208,87 @@ public interface FindingLimitsOrBuilder
      * 
* * int32 max_findings_per_request = 2; - * * @return The maxFindingsPerRequest. */ int getMaxFindingsPerRequest(); /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - java.util.List + java.util.List getMaxFindingsPerInfoTypeList(); /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType( - int index); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index); /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ int getMaxFindingsPerInfoTypeCount(); /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - java.util.List< - ? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> + java.util.List getMaxFindingsPerInfoTypeOrBuilderList(); /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder - getMaxFindingsPerInfoTypeOrBuilder(int index); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder( + int index); } /** - * - * *
-   * Configuration to control the number of findings returned. Cannot be set if
-   * de-identification is requested.
+   * Configuration to control the number of findings returned for inspection.
+   * This is not used for de-identification or data profiling.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits} */ - public static final class FindingLimits extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FindingLimits extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits) FindingLimitsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FindingLimits.newBuilder() to construct. private FindingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FindingLimits() { maxFindingsPerInfoType_ = 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 FindingLimits(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FindingLimits( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -372,44 +308,39 @@ private FindingLimits( case 0: done = true; break; - case 8: - { - maxFindingsPerItem_ = input.readInt32(); - break; - } - case 16: - { - maxFindingsPerRequest_ = input.readInt32(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - maxFindingsPerInfoType_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>(); - mutable_bitField0_ |= 0x00000001; - } - maxFindingsPerInfoType_.add( - input.readMessage( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - .parser(), - extensionRegistry)); - break; + case 8: { + + maxFindingsPerItem_ = input.readInt32(); + break; + } + case 16: { + + maxFindingsPerRequest_ = input.readInt32(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + maxFindingsPerInfoType_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + maxFindingsPerInfoType_.add( + input.readMessage(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { maxFindingsPerInfoType_ = java.util.Collections.unmodifiableList(maxFindingsPerInfoType_); @@ -418,30 +349,24 @@ private FindingLimits( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class); } - public interface InfoTypeLimitOrBuilder - extends + public interface InfoTypeLimitOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -450,13 +375,10 @@ public interface InfoTypeLimitOrBuilder
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -465,13 +387,10 @@ public interface InfoTypeLimitOrBuilder
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -484,21 +403,16 @@ public interface InfoTypeLimitOrBuilder
       com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
       /**
-       *
-       *
        * 
        * Max findings limit for the given infoType.
        * 
* * int32 max_findings = 2; - * * @return The maxFindings. */ int getMaxFindings(); } /** - * - * *
      * Max findings configuration per infoType, per content item or long
      * running DlpJob.
@@ -506,29 +420,30 @@ public interface InfoTypeLimitOrBuilder
      *
      * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit}
      */
-    public static final class InfoTypeLimit extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class InfoTypeLimit extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
         InfoTypeLimitOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use InfoTypeLimit.newBuilder() to construct.
       private InfoTypeLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private InfoTypeLimit() {}
+      private InfoTypeLimit() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new InfoTypeLimit();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private InfoTypeLimit(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -547,67 +462,59 @@ private InfoTypeLimit(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-                  if (infoType_ != null) {
-                    subBuilder = infoType_.toBuilder();
-                  }
-                  infoType_ =
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(infoType_);
-                    infoType_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+              case 10: {
+                com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+                if (infoType_ != null) {
+                  subBuilder = infoType_.toBuilder();
                 }
-              case 16:
-                {
-                  maxFindings_ = input.readInt32();
-                  break;
+                infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(infoType_);
+                  infoType_ = subBuilder.buildPartial();
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+
+                break;
+              }
+              case 16: {
+
+                maxFindings_ = input.readInt32();
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class,
-                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder.class);
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder.class);
       }
 
       public static final int INFO_TYPE_FIELD_NUMBER = 1;
       private com.google.privacy.dlp.v2.InfoType infoType_;
       /**
-       *
-       *
        * 
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -616,7 +523,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -624,8 +530,6 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -634,18 +538,13 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -663,14 +562,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       public static final int MAX_FINDINGS_FIELD_NUMBER = 2;
       private int maxFindings_;
       /**
-       *
-       *
        * 
        * Max findings limit for the given infoType.
        * 
* * int32 max_findings = 2; - * * @return The maxFindings. */ @java.lang.Override @@ -679,7 +575,6 @@ public int getMaxFindings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -691,7 +586,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -708,10 +604,12 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInfoType()); } if (maxFindings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxFindings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxFindings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -721,19 +619,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.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other = - (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) obj; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } - if (getMaxFindings() != other.getMaxFindings()) return false; + if (getMaxFindings() + != other.getMaxFindings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -757,96 +656,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -856,8 +746,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Max findings configuration per infoType, per content item or long
        * running DlpJob.
@@ -865,42 +753,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
           com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.privacy.dlp.v2.DlpProto
-              .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.privacy.dlp.v2.DlpProto
-              .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
+          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class,
-                  com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder
-                      .class);
+                  com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder.class);
         }
 
-        // Construct using
-        // com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.newBuilder()
+        // Construct using com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -916,22 +800,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.privacy.dlp.v2.DlpProto
-              .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
         }
 
         @java.lang.Override
-        public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
-            getDefaultInstanceForType() {
-          return com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
-              .getDefaultInstance();
+        public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType() {
+          return com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit build() {
-          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result =
-              buildPartial();
+          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -940,8 +821,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit build
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit buildPartial() {
-          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result =
-              new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(this);
+          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(this);
           if (infoTypeBuilder_ == null) {
             result.infoType_ = infoType_;
           } else {
@@ -956,54 +836,46 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit build
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) {
-            return mergeFrom(
-                (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) other);
+          if (other instanceof com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) {
+            return mergeFrom((com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other) {
-          if (other
-              == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other) {
+          if (other == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance()) return this;
           if (other.hasInfoType()) {
             mergeInfoType(other.getInfoType());
           }
@@ -1029,9 +901,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -1043,13 +913,8 @@ public Builder mergeFrom(
 
         private com.google.privacy.dlp.v2.InfoType infoType_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-            infoTypeBuilder_;
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_;
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1058,15 +923,12 @@ public Builder mergeFrom(
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1075,21 +937,16 @@ public boolean hasInfoType() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** - * - * *
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1113,8 +970,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1124,7 +979,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
          *
          * .google.privacy.dlp.v2.InfoType info_type = 1;
          */
-        public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+        public Builder setInfoType(
+            com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
           if (infoTypeBuilder_ == null) {
             infoType_ = builderForValue.build();
             onChanged();
@@ -1135,8 +991,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
           return this;
         }
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1150,9 +1004,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           if (infoTypeBuilder_ == null) {
             if (infoType_ != null) {
               infoType_ =
-                  com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial();
             } else {
               infoType_ = value;
             }
@@ -1164,8 +1016,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1187,8 +1037,6 @@ public Builder clearInfoType() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1199,13 +1047,11 @@ public Builder clearInfoType() {
          * .google.privacy.dlp.v2.InfoType info_type = 1;
          */
         public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
-
+          
           onChanged();
           return getInfoTypeFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1219,14 +1065,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
           if (infoTypeBuilder_ != null) {
             return infoTypeBuilder_.getMessageOrBuilder();
           } else {
-            return infoType_ == null
-                ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
-                : infoType_;
+            return infoType_ == null ?
+                com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
           }
         }
         /**
-         *
-         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1237,32 +1080,26 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * .google.privacy.dlp.v2.InfoType info_type = 1;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
             getInfoTypeFieldBuilder() {
           if (infoTypeBuilder_ == null) {
-            infoTypeBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.privacy.dlp.v2.InfoType,
-                    com.google.privacy.dlp.v2.InfoType.Builder,
-                    com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                    getInfoType(), getParentForChildren(), isClean());
+            infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                    getInfoType(),
+                    getParentForChildren(),
+                    isClean());
             infoType_ = null;
           }
           return infoTypeBuilder_;
         }
 
-        private int maxFindings_;
+        private int maxFindings_ ;
         /**
-         *
-         *
          * 
          * Max findings limit for the given infoType.
          * 
* * int32 max_findings = 2; - * * @return The maxFindings. */ @java.lang.Override @@ -1270,41 +1107,34 @@ public int getMaxFindings() { return maxFindings_; } /** - * - * *
          * Max findings limit for the given infoType.
          * 
* * int32 max_findings = 2; - * * @param value The maxFindings to set. * @return This builder for chaining. */ public Builder setMaxFindings(int value) { - + maxFindings_ = value; onChanged(); return this; } /** - * - * *
          * Max findings limit for the given infoType.
          * 
* * int32 max_findings = 2; - * * @return This builder for chaining. */ public Builder clearMaxFindings() { - + maxFindings_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1317,33 +1147,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) - private static final com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - getDefaultInstance() { + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeLimit(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeLimit(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1355,17 +1182,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int MAX_FINDINGS_PER_ITEM_FIELD_NUMBER = 1; private int maxFindingsPerItem_; /** - * - * *
      * Max number of findings that will be returned for each item scanned.
      * When set within `InspectJobConfig`,
@@ -1374,7 +1199,6 @@ public com.google.protobuf.Parser getParserForType() {
      * 
* * int32 max_findings_per_item = 1; - * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1385,8 +1209,6 @@ public int getMaxFindingsPerItem() { public static final int MAX_FINDINGS_PER_REQUEST_FIELD_NUMBER = 2; private int maxFindingsPerRequest_; /** - * - * *
      * Max number of findings that will be returned per request/job.
      * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1394,7 +1216,6 @@ public int getMaxFindingsPerItem() {
      * 
* * int32 max_findings_per_request = 2; - * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1403,91 +1224,66 @@ public int getMaxFindingsPerRequest() { } public static final int MAX_FINDINGS_PER_INFO_TYPE_FIELD_NUMBER = 3; - private java.util.List - maxFindingsPerInfoType_; + private java.util.List maxFindingsPerInfoType_; /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ @java.lang.Override - public java.util.List - getMaxFindingsPerInfoTypeList() { + public java.util.List getMaxFindingsPerInfoTypeList() { return maxFindingsPerInfoType_; } /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> + public java.util.List getMaxFindingsPerInfoTypeOrBuilderList() { return maxFindingsPerInfoType_; } /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ @java.lang.Override public int getMaxFindingsPerInfoTypeCount() { return maxFindingsPerInfoType_.size(); } /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - getMaxFindingsPerInfoType(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index) { return maxFindingsPerInfoType_.get(index); } /** - * - * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder - getMaxFindingsPerInfoTypeOrBuilder(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder( + int index) { return maxFindingsPerInfoType_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1499,7 +1295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxFindingsPerItem_ != 0) { output.writeInt32(1, maxFindingsPerItem_); } @@ -1519,15 +1316,16 @@ public int getSerializedSize() { size = 0; if (maxFindingsPerItem_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxFindingsPerItem_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxFindingsPerItem_); } if (maxFindingsPerRequest_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxFindingsPerRequest_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxFindingsPerRequest_); } for (int i = 0; i < maxFindingsPerInfoType_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, maxFindingsPerInfoType_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, maxFindingsPerInfoType_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1537,18 +1335,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.privacy.dlp.v2.InspectConfig.FindingLimits)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectConfig.FindingLimits other = - (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) obj; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits other = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) obj; - if (getMaxFindingsPerItem() != other.getMaxFindingsPerItem()) return false; - if (getMaxFindingsPerRequest() != other.getMaxFindingsPerRequest()) return false; - if (!getMaxFindingsPerInfoTypeList().equals(other.getMaxFindingsPerInfoTypeList())) - return false; + if (getMaxFindingsPerItem() + != other.getMaxFindingsPerItem()) return false; + if (getMaxFindingsPerRequest() + != other.getMaxFindingsPerRequest()) return false; + if (!getMaxFindingsPerInfoTypeList() + .equals(other.getMaxFindingsPerInfoTypeList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1574,94 +1373,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectConfig.FindingLimits prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1671,33 +1463,28 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
-     * Configuration to control the number of findings returned. Cannot be set if
-     * de-identification is requested.
+     * Configuration to control the number of findings returned for inspection.
+     * This is not used for de-identification or data profiling.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits) com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectConfig.FindingLimits.newBuilder() @@ -1705,17 +1492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMaxFindingsPerInfoTypeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1733,9 +1520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; } @java.lang.Override @@ -1754,15 +1541,13 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig.FindingLimits buildPartial() { - com.google.privacy.dlp.v2.InspectConfig.FindingLimits result = - new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(this); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits result = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(this); int from_bitField0_ = bitField0_; result.maxFindingsPerItem_ = maxFindingsPerItem_; result.maxFindingsPerRequest_ = maxFindingsPerRequest_; if (maxFindingsPerInfoTypeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - maxFindingsPerInfoType_ = - java.util.Collections.unmodifiableList(maxFindingsPerInfoType_); + maxFindingsPerInfoType_ = java.util.Collections.unmodifiableList(maxFindingsPerInfoType_); bitField0_ = (bitField0_ & ~0x00000001); } result.maxFindingsPerInfoType_ = maxFindingsPerInfoType_; @@ -1777,41 +1562,38 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.InspectConfig.FindingLimits) { - return mergeFrom((com.google.privacy.dlp.v2.InspectConfig.FindingLimits) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectConfig.FindingLimits)other); } else { super.mergeFrom(other); return this; @@ -1819,8 +1601,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits other) { - if (other == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance()) return this; if (other.getMaxFindingsPerItem() != 0) { setMaxFindingsPerItem(other.getMaxFindingsPerItem()); } @@ -1845,10 +1626,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits o maxFindingsPerInfoTypeBuilder_ = null; maxFindingsPerInfoType_ = other.maxFindingsPerInfoType_; bitField0_ = (bitField0_ & ~0x00000001); - maxFindingsPerInfoTypeBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMaxFindingsPerInfoTypeFieldBuilder() - : null; + maxFindingsPerInfoTypeBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMaxFindingsPerInfoTypeFieldBuilder() : null; } else { maxFindingsPerInfoTypeBuilder_.addAllMessages(other.maxFindingsPerInfoType_); } @@ -1873,8 +1653,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1883,13 +1662,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private int maxFindingsPerItem_; + private int maxFindingsPerItem_ ; /** - * - * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1898,7 +1674,6 @@ public Builder mergeFrom(
        * 
* * int32 max_findings_per_item = 1; - * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1906,8 +1681,6 @@ public int getMaxFindingsPerItem() { return maxFindingsPerItem_; } /** - * - * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1916,19 +1689,16 @@ public int getMaxFindingsPerItem() {
        * 
* * int32 max_findings_per_item = 1; - * * @param value The maxFindingsPerItem to set. * @return This builder for chaining. */ public Builder setMaxFindingsPerItem(int value) { - + maxFindingsPerItem_ = value; onChanged(); return this; } /** - * - * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1937,20 +1707,17 @@ public Builder setMaxFindingsPerItem(int value) {
        * 
* * int32 max_findings_per_item = 1; - * * @return This builder for chaining. */ public Builder clearMaxFindingsPerItem() { - + maxFindingsPerItem_ = 0; onChanged(); return this; } - private int maxFindingsPerRequest_; + private int maxFindingsPerRequest_ ; /** - * - * *
        * Max number of findings that will be returned per request/job.
        * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1958,7 +1725,6 @@ public Builder clearMaxFindingsPerItem() {
        * 
* * int32 max_findings_per_request = 2; - * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1966,8 +1732,6 @@ public int getMaxFindingsPerRequest() { return maxFindingsPerRequest_; } /** - * - * *
        * Max number of findings that will be returned per request/job.
        * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1975,19 +1739,16 @@ public int getMaxFindingsPerRequest() {
        * 
* * int32 max_findings_per_request = 2; - * * @param value The maxFindingsPerRequest to set. * @return This builder for chaining. */ public Builder setMaxFindingsPerRequest(int value) { - + maxFindingsPerRequest_ = value; onChanged(); return this; } /** - * - * *
        * Max number of findings that will be returned per request/job.
        * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1995,48 +1756,35 @@ public Builder setMaxFindingsPerRequest(int value) {
        * 
* * int32 max_findings_per_request = 2; - * * @return This builder for chaining. */ public Builder clearMaxFindingsPerRequest() { - + maxFindingsPerRequest_ = 0; onChanged(); return this; } - private java.util.List - maxFindingsPerInfoType_ = java.util.Collections.emptyList(); - + private java.util.List maxFindingsPerInfoType_ = + java.util.Collections.emptyList(); private void ensureMaxFindingsPerInfoTypeIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - maxFindingsPerInfoType_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>( - maxFindingsPerInfoType_); + maxFindingsPerInfoType_ = new java.util.ArrayList(maxFindingsPerInfoType_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> - maxFindingsPerInfoTypeBuilder_; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> maxFindingsPerInfoTypeBuilder_; /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public java.util.List - getMaxFindingsPerInfoTypeList() { + public java.util.List getMaxFindingsPerInfoTypeList() { if (maxFindingsPerInfoTypeBuilder_ == null) { return java.util.Collections.unmodifiableList(maxFindingsPerInfoType_); } else { @@ -2044,15 +1792,11 @@ private void ensureMaxFindingsPerInfoTypeIsMutable() { } } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public int getMaxFindingsPerInfoTypeCount() { if (maxFindingsPerInfoTypeBuilder_ == null) { @@ -2062,18 +1806,13 @@ public int getMaxFindingsPerInfoTypeCount() { } } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - getMaxFindingsPerInfoType(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index) { if (maxFindingsPerInfoTypeBuilder_ == null) { return maxFindingsPerInfoType_.get(index); } else { @@ -2081,15 +1820,11 @@ public int getMaxFindingsPerInfoTypeCount() { } } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder setMaxFindingsPerInfoType( int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { @@ -2106,20 +1841,14 @@ public Builder setMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder setMaxFindingsPerInfoType( - int index, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); maxFindingsPerInfoType_.set(index, builderForValue.build()); @@ -2130,18 +1859,13 @@ public Builder setMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public Builder addMaxFindingsPerInfoType( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { + public Builder addMaxFindingsPerInfoType(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { if (maxFindingsPerInfoTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2155,15 +1879,11 @@ public Builder addMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder addMaxFindingsPerInfoType( int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { @@ -2180,19 +1900,14 @@ public Builder addMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder addMaxFindingsPerInfoType( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder - builderForValue) { + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); maxFindingsPerInfoType_.add(builderForValue.build()); @@ -2203,20 +1918,14 @@ public Builder addMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder addMaxFindingsPerInfoType( - int index, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); maxFindingsPerInfoType_.add(index, builderForValue.build()); @@ -2227,23 +1936,18 @@ public Builder addMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder addAllMaxFindingsPerInfoType( - java.lang.Iterable< - ? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit> - values) { + java.lang.Iterable values) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maxFindingsPerInfoType_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, maxFindingsPerInfoType_); onChanged(); } else { maxFindingsPerInfoTypeBuilder_.addAllMessages(values); @@ -2251,15 +1955,11 @@ public Builder addAllMaxFindingsPerInfoType( return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder clearMaxFindingsPerInfoType() { if (maxFindingsPerInfoTypeBuilder_ == null) { @@ -2272,15 +1972,11 @@ public Builder clearMaxFindingsPerInfoType() { return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ public Builder removeMaxFindingsPerInfoType(int index) { if (maxFindingsPerInfoTypeBuilder_ == null) { @@ -2293,54 +1989,39 @@ public Builder removeMaxFindingsPerInfoType(int index) { return this; } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder - getMaxFindingsPerInfoTypeBuilder(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder getMaxFindingsPerInfoTypeBuilder( + int index) { return getMaxFindingsPerInfoTypeFieldBuilder().getBuilder(index); } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder - getMaxFindingsPerInfoTypeOrBuilder(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder( + int index) { if (maxFindingsPerInfoTypeBuilder_ == null) { - return maxFindingsPerInfoType_.get(index); - } else { + return maxFindingsPerInfoType_.get(index); } else { return maxFindingsPerInfoTypeBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> - getMaxFindingsPerInfoTypeOrBuilderList() { + public java.util.List + getMaxFindingsPerInfoTypeOrBuilderList() { if (maxFindingsPerInfoTypeBuilder_ != null) { return maxFindingsPerInfoTypeBuilder_.getMessageOrBuilderList(); } else { @@ -2348,70 +2029,45 @@ public Builder removeMaxFindingsPerInfoType(int index) { } } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder - addMaxFindingsPerInfoTypeBuilder() { - return getMaxFindingsPerInfoTypeFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - .getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder addMaxFindingsPerInfoTypeBuilder() { + return getMaxFindingsPerInfoTypeFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance()); } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder - addMaxFindingsPerInfoTypeBuilder(int index) { - return getMaxFindingsPerInfoTypeFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit - .getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder addMaxFindingsPerInfoTypeBuilder( + int index) { + return getMaxFindingsPerInfoTypeFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance()); } /** - * - * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; */ - public java.util.List< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder> - getMaxFindingsPerInfoTypeBuilderList() { + public java.util.List + getMaxFindingsPerInfoTypeBuilderList() { return getMaxFindingsPerInfoTypeFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> getMaxFindingsPerInfoTypeFieldBuilder() { if (maxFindingsPerInfoTypeBuilder_ == null) { - maxFindingsPerInfoTypeBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder>( + maxFindingsPerInfoTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder>( maxFindingsPerInfoType_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2420,7 +2076,6 @@ public Builder removeMaxFindingsPerInfoType(int index) { } return maxFindingsPerInfoTypeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2433,12 +2088,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits) private static final com.google.privacy.dlp.v2.InspectConfig.FindingLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(); } @@ -2447,16 +2102,16 @@ public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FindingLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FindingLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FindingLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FindingLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2471,13 +2126,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int INFO_TYPES_FIELD_NUMBER = 1; private java.util.List infoTypes_; /** - * - * *
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2497,8 +2151,6 @@ public java.util.List getInfoTypesList() {
     return infoTypes_;
   }
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2514,13 +2166,11 @@ public java.util.List getInfoTypesList() {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getInfoTypesOrBuilderList() {
     return infoTypes_;
   }
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2540,8 +2190,6 @@ public int getInfoTypesCount() {
     return infoTypes_.size();
   }
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2561,8 +2209,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
     return infoTypes_.get(index);
   }
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2578,15 +2224,14 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+      int index) {
     return infoTypes_.get(index);
   }
 
   public static final int MIN_LIKELIHOOD_FIELD_NUMBER = 2;
   private int minLikelihood_;
   /**
-   *
-   *
    * 
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -2594,16 +2239,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return The enum numeric value on the wire for minLikelihood. */ - @java.lang.Override - public int getMinLikelihoodValue() { + @java.lang.Override public int getMinLikelihoodValue() { return minLikelihood_; } /** - * - * *
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -2611,28 +2252,23 @@ public int getMinLikelihoodValue() {
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return The minLikelihood. */ - @java.lang.Override - public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() { + @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } public static final int LIMITS_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.InspectConfig.FindingLimits limits_; /** - * - * *
    * Configuration to control the number of findings returned.
+   * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return Whether the limits field is set. */ @java.lang.Override @@ -2640,27 +2276,22 @@ public boolean hasLimits() { return limits_ != null; } /** - * - * *
    * Configuration to control the number of findings returned.
+   * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return The limits. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() { - return limits_ == null - ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() - : limits_; + return limits_ == null ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() : limits_; } /** - * - * *
    * Configuration to control the number of findings returned.
+   * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -2673,15 +2304,13 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO public static final int INCLUDE_QUOTE_FIELD_NUMBER = 4; private boolean includeQuote_; /** - * - * *
    * When true, a contextual quote from the data that triggered a finding is
    * included in the response; see Finding.quote.
+   * This is not used for data profiling.
    * 
* * bool include_quote = 4; - * * @return The includeQuote. */ @java.lang.Override @@ -2692,14 +2321,12 @@ public boolean getIncludeQuote() { public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER = 5; private boolean excludeInfoTypes_; /** - * - * *
    * When true, excludes type information of the findings.
+   * This is not used for data profiling.
    * 
* * bool exclude_info_types = 5; - * * @return The excludeInfoTypes. */ @java.lang.Override @@ -2710,8 +2337,6 @@ public boolean getExcludeInfoTypes() { public static final int CUSTOM_INFO_TYPES_FIELD_NUMBER = 6; private java.util.List customInfoTypes_; /** - * - * *
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2724,8 +2349,6 @@ public java.util.List getCustomInfoTyp
     return customInfoTypes_;
   }
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2734,13 +2357,11 @@ public java.util.List getCustomInfoTyp
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCustomInfoTypesOrBuilderList() {
     return customInfoTypes_;
   }
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2753,8 +2374,6 @@ public int getCustomInfoTypesCount() {
     return customInfoTypes_.size();
   }
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2767,8 +2386,6 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
     return customInfoTypes_.get(index);
   }
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2777,52 +2394,42 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
+      int index) {
     return customInfoTypes_.get(index);
   }
 
   public static final int CONTENT_OPTIONS_FIELD_NUMBER = 8;
   private java.util.List contentOptions_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>
-      contentOptions_converter_ =
+      java.lang.Integer, com.google.privacy.dlp.v2.ContentOption> contentOptions_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>() {
             public com.google.privacy.dlp.v2.ContentOption convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.privacy.dlp.v2.ContentOption result =
-                  com.google.privacy.dlp.v2.ContentOption.valueOf(from);
+              com.google.privacy.dlp.v2.ContentOption result = com.google.privacy.dlp.v2.ContentOption.valueOf(from);
               return result == null ? com.google.privacy.dlp.v2.ContentOption.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return A list containing the contentOptions. */ @java.lang.Override public java.util.List getContentOptionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>( - contentOptions_, contentOptions_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>(contentOptions_, contentOptions_converter_); } /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return The count of contentOptions. */ @java.lang.Override @@ -2830,15 +2437,11 @@ public int getContentOptionsCount() { return contentOptions_.size(); } /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the element to return. * @return The contentOptions at the given index. */ @@ -2847,31 +2450,24 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) { return contentOptions_converter_.convert(contentOptions_.get(index)); } /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return A list containing the enum numeric values on the wire for contentOptions. */ @java.lang.Override - public java.util.List getContentOptionsValueList() { + public java.util.List + getContentOptionsValueList() { return contentOptions_; } /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. */ @@ -2879,14 +2475,11 @@ public java.util.List getContentOptionsValueList() { public int getContentOptionsValue(int index) { return contentOptions_.get(index); } - private int contentOptionsMemoizedSerializedSize; public static final int RULE_SET_FIELD_NUMBER = 10; private java.util.List ruleSet_; /** - * - * *
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2900,8 +2493,6 @@ public java.util.List getRuleSetLis
     return ruleSet_;
   }
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2911,13 +2502,11 @@ public java.util.List getRuleSetLis
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRuleSetOrBuilderList() {
     return ruleSet_;
   }
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2931,8 +2520,6 @@ public int getRuleSetCount() {
     return ruleSet_.size();
   }
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2946,8 +2533,6 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
     return ruleSet_.get(index);
   }
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2957,12 +2542,12 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
+      int index) {
     return ruleSet_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2974,7 +2559,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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();
     for (int i = 0; i < infoTypes_.size(); i++) {
       output.writeMessage(1, infoTypes_.get(i));
@@ -3014,38 +2600,44 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < infoTypes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, infoTypes_.get(i));
     }
     if (minLikelihood_ != com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, minLikelihood_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, minLikelihood_);
     }
     if (limits_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLimits());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getLimits());
     }
     if (includeQuote_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includeQuote_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, includeQuote_);
     }
     if (excludeInfoTypes_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, excludeInfoTypes_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, excludeInfoTypes_);
     }
     for (int i = 0; i < customInfoTypes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, customInfoTypes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, customInfoTypes_.get(i));
     }
     {
       int dataSize = 0;
       for (int i = 0; i < contentOptions_.size(); i++) {
-        dataSize +=
-            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contentOptions_.get(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeEnumSizeNoTag(contentOptions_.get(i));
       }
       size += dataSize;
-      if (!getContentOptionsList().isEmpty()) {
-        size += 1;
-        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
-      }
-      contentOptionsMemoizedSerializedSize = dataSize;
+      if (!getContentOptionsList().isEmpty()) {  size += 1;
+        size += com.google.protobuf.CodedOutputStream
+          .computeUInt32SizeNoTag(dataSize);
+      }contentOptionsMemoizedSerializedSize = dataSize;
     }
     for (int i = 0; i < ruleSet_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, ruleSet_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, ruleSet_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -3055,24 +2647,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.InspectConfig)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.InspectConfig other = (com.google.privacy.dlp.v2.InspectConfig) obj;
 
-    if (!getInfoTypesList().equals(other.getInfoTypesList())) return false;
+    if (!getInfoTypesList()
+        .equals(other.getInfoTypesList())) return false;
     if (minLikelihood_ != other.minLikelihood_) return false;
     if (hasLimits() != other.hasLimits()) return false;
     if (hasLimits()) {
-      if (!getLimits().equals(other.getLimits())) return false;
-    }
-    if (getIncludeQuote() != other.getIncludeQuote()) return false;
-    if (getExcludeInfoTypes() != other.getExcludeInfoTypes()) return false;
-    if (!getCustomInfoTypesList().equals(other.getCustomInfoTypesList())) return false;
+      if (!getLimits()
+          .equals(other.getLimits())) return false;
+    }
+    if (getIncludeQuote()
+        != other.getIncludeQuote()) return false;
+    if (getExcludeInfoTypes()
+        != other.getExcludeInfoTypes()) return false;
+    if (!getCustomInfoTypesList()
+        .equals(other.getCustomInfoTypesList())) return false;
     if (!contentOptions_.equals(other.contentOptions_)) return false;
-    if (!getRuleSetList().equals(other.getRuleSetList())) return false;
+    if (!getRuleSetList()
+        .equals(other.getRuleSetList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -3095,9 +2693,11 @@ public int hashCode() {
       hash = (53 * hash) + getLimits().hashCode();
     }
     hash = (37 * hash) + INCLUDE_QUOTE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeQuote());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getIncludeQuote());
     hash = (37 * hash) + EXCLUDE_INFO_TYPES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExcludeInfoTypes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getExcludeInfoTypes());
     if (getCustomInfoTypesCount() > 0) {
       hash = (37 * hash) + CUSTOM_INFO_TYPES_FIELD_NUMBER;
       hash = (53 * hash) + getCustomInfoTypesList().hashCode();
@@ -3115,104 +2715,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.InspectConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.InspectConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.InspectConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.InspectConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration description of the scanning process.
    * When used with redactContent only info_types and min_likelihood are currently
@@ -3221,23 +2814,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectConfig)
       com.google.privacy.dlp.v2.InspectConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectConfig.class,
-              com.google.privacy.dlp.v2.InspectConfig.Builder.class);
+              com.google.privacy.dlp.v2.InspectConfig.class, com.google.privacy.dlp.v2.InspectConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectConfig.newBuilder()
@@ -3245,19 +2836,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInfoTypesFieldBuilder();
         getCustomInfoTypesFieldBuilder();
         getRuleSetFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3297,9 +2888,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
     }
 
     @java.lang.Override
@@ -3318,8 +2909,7 @@ public com.google.privacy.dlp.v2.InspectConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectConfig buildPartial() {
-      com.google.privacy.dlp.v2.InspectConfig result =
-          new com.google.privacy.dlp.v2.InspectConfig(this);
+      com.google.privacy.dlp.v2.InspectConfig result = new com.google.privacy.dlp.v2.InspectConfig(this);
       int from_bitField0_ = bitField0_;
       if (infoTypesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -3369,39 +2959,38 @@ public com.google.privacy.dlp.v2.InspectConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3428,10 +3017,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
             infoTypesBuilder_ = null;
             infoTypes_ = other.infoTypes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            infoTypesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInfoTypesFieldBuilder()
-                    : null;
+            infoTypesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInfoTypesFieldBuilder() : null;
           } else {
             infoTypesBuilder_.addAllMessages(other.infoTypes_);
           }
@@ -3467,10 +3055,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
             customInfoTypesBuilder_ = null;
             customInfoTypes_ = other.customInfoTypes_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            customInfoTypesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCustomInfoTypesFieldBuilder()
-                    : null;
+            customInfoTypesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCustomInfoTypesFieldBuilder() : null;
           } else {
             customInfoTypesBuilder_.addAllMessages(other.customInfoTypes_);
           }
@@ -3504,10 +3091,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
             ruleSetBuilder_ = null;
             ruleSet_ = other.ruleSet_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            ruleSetBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRuleSetFieldBuilder()
-                    : null;
+            ruleSetBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRuleSetFieldBuilder() : null;
           } else {
             ruleSetBuilder_.addAllMessages(other.ruleSet_);
           }
@@ -3541,28 +3127,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List infoTypes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInfoTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = new java.util.ArrayList(infoTypes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-        infoTypesBuilder_;
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_;
 
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3585,8 +3164,6 @@ public java.util.List getInfoTypesList() {
       }
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3608,9 +3185,7 @@ public int getInfoTypesCount() {
         return infoTypesBuilder_.getCount();
       }
     }
-    /**
-     *
-     *
+    /**
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3633,8 +3208,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3649,7 +3222,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder setInfoTypes(
+        int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3663,8 +3237,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3691,8 +3263,6 @@ public Builder setInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3721,8 +3291,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3737,7 +3305,8 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder addInfoTypes(
+        int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3751,8 +3320,6 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3767,7 +3334,8 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value)
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder addInfoTypes(
+        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
         infoTypes_.add(builderForValue.build());
@@ -3778,8 +3346,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3806,8 +3372,6 @@ public Builder addInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3826,7 +3390,8 @@ public Builder addAllInfoTypes(
         java.lang.Iterable values) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, infoTypes_);
         onChanged();
       } else {
         infoTypesBuilder_.addAllMessages(values);
@@ -3834,8 +3399,6 @@ public Builder addAllInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3861,8 +3424,6 @@ public Builder clearInfoTypes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3888,8 +3449,6 @@ public Builder removeInfoTypes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3904,12 +3463,11 @@ public Builder removeInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) {
+    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
+        int index) {
       return getInfoTypesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3924,16 +3482,14 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index)
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+        int index) {
       if (infoTypesBuilder_ == null) {
-        return infoTypes_.get(index);
-      } else {
+        return infoTypes_.get(index);  } else {
         return infoTypesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3948,8 +3504,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List
-        getInfoTypesOrBuilderList() {
+    public java.util.List 
+         getInfoTypesOrBuilderList() {
       if (infoTypesBuilder_ != null) {
         return infoTypesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3957,8 +3513,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3974,12 +3528,10 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
-      return getInfoTypesFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+      return getInfoTypesFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3994,13 +3546,12 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) {
-      return getInfoTypesFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
+        int index) {
+      return getInfoTypesFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -4015,22 +3566,20 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index)
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List getInfoTypesBuilderList() {
+    public java.util.List 
+         getInfoTypesBuilderList() {
       return getInfoTypesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getInfoTypesFieldBuilder() {
       if (infoTypesBuilder_ == null) {
-        infoTypesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                infoTypes_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         infoTypes_ = null;
       }
       return infoTypesBuilder_;
@@ -4038,8 +3587,6 @@ public java.util.List getInfoTypesBu
 
     private int minLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -4047,16 +3594,12 @@ public java.util.List getInfoTypesBu
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return The enum numeric value on the wire for minLikelihood. */ - @java.lang.Override - public int getMinLikelihoodValue() { + @java.lang.Override public int getMinLikelihoodValue() { return minLikelihood_; } /** - * - * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -4064,19 +3607,16 @@ public int getMinLikelihoodValue() {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @param value The enum numeric value on the wire for minLikelihood to set. * @return This builder for chaining. */ public Builder setMinLikelihoodValue(int value) { - + minLikelihood_ = value; onChanged(); return this; } /** - * - * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -4084,19 +3624,15 @@ public Builder setMinLikelihoodValue(int value) {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return The minLikelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = - com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); + com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -4104,7 +3640,6 @@ public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @param value The minLikelihood to set. * @return This builder for chaining. */ @@ -4112,14 +3647,12 @@ public Builder setMinLikelihood(com.google.privacy.dlp.v2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + minLikelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -4127,11 +3660,10 @@ public Builder setMinLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearMinLikelihood() { - + minLikelihood_ = 0; onChanged(); return this; @@ -4139,49 +3671,39 @@ public Builder clearMinLikelihood() { private com.google.privacy.dlp.v2.InspectConfig.FindingLimits limits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, - com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> - limitsBuilder_; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> limitsBuilder_; /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return Whether the limits field is set. */ public boolean hasLimits() { return limitsBuilder_ != null || limits_ != null; } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return The limits. */ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() { if (limitsBuilder_ == null) { - return limits_ == null - ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() - : limits_; + return limits_ == null ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() : limits_; } else { return limitsBuilder_.getMessage(); } } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4200,10 +3722,9 @@ public Builder setLimits(com.google.privacy.dlp.v2.InspectConfig.FindingLimits v return this; } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4220,10 +3741,9 @@ public Builder setLimits( return this; } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4232,9 +3752,7 @@ public Builder mergeLimits(com.google.privacy.dlp.v2.InspectConfig.FindingLimits if (limitsBuilder_ == null) { if (limits_ != null) { limits_ = - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.newBuilder(limits_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.newBuilder(limits_).mergeFrom(value).buildPartial(); } else { limits_ = value; } @@ -4246,10 +3764,9 @@ public Builder mergeLimits(com.google.privacy.dlp.v2.InspectConfig.FindingLimits return this; } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4266,24 +3783,22 @@ public Builder clearLimits() { return this; } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; */ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder getLimitsBuilder() { - + onChanged(); return getLimitsFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4292,48 +3807,41 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO if (limitsBuilder_ != null) { return limitsBuilder_.getMessageOrBuilder(); } else { - return limits_ == null - ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() - : limits_; + return limits_ == null ? + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() : limits_; } } /** - * - * *
      * Configuration to control the number of findings returned.
+     * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, - com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> + com.google.privacy.dlp.v2.InspectConfig.FindingLimits, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> getLimitsFieldBuilder() { if (limitsBuilder_ == null) { - limitsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits, - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, - com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder>( - getLimits(), getParentForChildren(), isClean()); + limitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig.FindingLimits, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder>( + getLimits(), + getParentForChildren(), + isClean()); limits_ = null; } return limitsBuilder_; } - private boolean includeQuote_; + private boolean includeQuote_ ; /** - * - * *
      * When true, a contextual quote from the data that triggered a finding is
      * included in the response; see Finding.quote.
+     * This is not used for data profiling.
      * 
* * bool include_quote = 4; - * * @return The includeQuote. */ @java.lang.Override @@ -4341,53 +3849,47 @@ public boolean getIncludeQuote() { return includeQuote_; } /** - * - * *
      * When true, a contextual quote from the data that triggered a finding is
      * included in the response; see Finding.quote.
+     * This is not used for data profiling.
      * 
* * bool include_quote = 4; - * * @param value The includeQuote to set. * @return This builder for chaining. */ public Builder setIncludeQuote(boolean value) { - + includeQuote_ = value; onChanged(); return this; } /** - * - * *
      * When true, a contextual quote from the data that triggered a finding is
      * included in the response; see Finding.quote.
+     * This is not used for data profiling.
      * 
* * bool include_quote = 4; - * * @return This builder for chaining. */ public Builder clearIncludeQuote() { - + includeQuote_ = false; onChanged(); return this; } - private boolean excludeInfoTypes_; + private boolean excludeInfoTypes_ ; /** - * - * *
      * When true, excludes type information of the findings.
+     * This is not used for data profiling.
      * 
* * bool exclude_info_types = 5; - * * @return The excludeInfoTypes. */ @java.lang.Override @@ -4395,61 +3897,50 @@ public boolean getExcludeInfoTypes() { return excludeInfoTypes_; } /** - * - * *
      * When true, excludes type information of the findings.
+     * This is not used for data profiling.
      * 
* * bool exclude_info_types = 5; - * * @param value The excludeInfoTypes to set. * @return This builder for chaining. */ public Builder setExcludeInfoTypes(boolean value) { - + excludeInfoTypes_ = value; onChanged(); return this; } /** - * - * *
      * When true, excludes type information of the findings.
+     * This is not used for data profiling.
      * 
* * bool exclude_info_types = 5; - * * @return This builder for chaining. */ public Builder clearExcludeInfoTypes() { - + excludeInfoTypes_ = false; onChanged(); return this; } private java.util.List customInfoTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomInfoTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - customInfoTypes_ = - new java.util.ArrayList(customInfoTypes_); + customInfoTypes_ = new java.util.ArrayList(customInfoTypes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType, - com.google.privacy.dlp.v2.CustomInfoType.Builder, - com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> - customInfoTypesBuilder_; + com.google.privacy.dlp.v2.CustomInfoType, com.google.privacy.dlp.v2.CustomInfoType.Builder, com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> customInfoTypesBuilder_; /** - * - * *
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4465,8 +3956,6 @@ public java.util.List getCustomInfoTyp
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4482,8 +3971,6 @@ public int getCustomInfoTypesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4499,8 +3986,6 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4508,7 +3993,8 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public Builder setCustomInfoTypes(int index, com.google.privacy.dlp.v2.CustomInfoType value) {
+    public Builder setCustomInfoTypes(
+        int index, com.google.privacy.dlp.v2.CustomInfoType value) {
       if (customInfoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4522,8 +4008,6 @@ public Builder setCustomInfoTypes(int index, com.google.privacy.dlp.v2.CustomInf
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4543,8 +4027,6 @@ public Builder setCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4566,8 +4048,6 @@ public Builder addCustomInfoTypes(com.google.privacy.dlp.v2.CustomInfoType value
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4575,7 +4055,8 @@ public Builder addCustomInfoTypes(com.google.privacy.dlp.v2.CustomInfoType value
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public Builder addCustomInfoTypes(int index, com.google.privacy.dlp.v2.CustomInfoType value) {
+    public Builder addCustomInfoTypes(
+        int index, com.google.privacy.dlp.v2.CustomInfoType value) {
       if (customInfoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4589,8 +4070,6 @@ public Builder addCustomInfoTypes(int index, com.google.privacy.dlp.v2.CustomInf
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4610,8 +4089,6 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4631,8 +4108,6 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4644,7 +4119,8 @@ public Builder addAllCustomInfoTypes(
         java.lang.Iterable values) {
       if (customInfoTypesBuilder_ == null) {
         ensureCustomInfoTypesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customInfoTypes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, customInfoTypes_);
         onChanged();
       } else {
         customInfoTypesBuilder_.addAllMessages(values);
@@ -4652,8 +4128,6 @@ public Builder addAllCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4672,8 +4146,6 @@ public Builder clearCustomInfoTypes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4692,8 +4164,6 @@ public Builder removeCustomInfoTypes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4701,12 +4171,11 @@ public Builder removeCustomInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.Builder getCustomInfoTypesBuilder(int index) {
+    public com.google.privacy.dlp.v2.CustomInfoType.Builder getCustomInfoTypesBuilder(
+        int index) {
       return getCustomInfoTypesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4717,14 +4186,11 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder getCustomInfoTypesBuilde
     public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
         int index) {
       if (customInfoTypesBuilder_ == null) {
-        return customInfoTypes_.get(index);
-      } else {
+        return customInfoTypes_.get(index);  } else {
         return customInfoTypesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4732,8 +4198,8 @@ public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBui
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public java.util.List
-        getCustomInfoTypesOrBuilderList() {
+    public java.util.List 
+         getCustomInfoTypesOrBuilderList() {
       if (customInfoTypesBuilder_ != null) {
         return customInfoTypesBuilder_.getMessageOrBuilderList();
       } else {
@@ -4741,8 +4207,6 @@ public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBui
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4751,12 +4215,10 @@ public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBui
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
     public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilder() {
-      return getCustomInfoTypesFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
+      return getCustomInfoTypesFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4764,13 +4226,12 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilder(int index) {
-      return getCustomInfoTypesFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
+    public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilder(
+        int index) {
+      return getCustomInfoTypesFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4778,22 +4239,16 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public java.util.List
-        getCustomInfoTypesBuilderList() {
+    public java.util.List 
+         getCustomInfoTypesBuilderList() {
       return getCustomInfoTypesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType,
-            com.google.privacy.dlp.v2.CustomInfoType.Builder,
-            com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.CustomInfoType, com.google.privacy.dlp.v2.CustomInfoType.Builder, com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> 
         getCustomInfoTypesFieldBuilder() {
       if (customInfoTypesBuilder_ == null) {
-        customInfoTypesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType,
-                com.google.privacy.dlp.v2.CustomInfoType.Builder,
-                com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>(
+        customInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.CustomInfoType, com.google.privacy.dlp.v2.CustomInfoType.Builder, com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>(
                 customInfoTypes_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -4803,8 +4258,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
       return customInfoTypesBuilder_;
     }
 
-    private java.util.List contentOptions_ = java.util.Collections.emptyList();
-
+    private java.util.List contentOptions_ =
+      java.util.Collections.emptyList();
     private void ensureContentOptionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         contentOptions_ = new java.util.ArrayList(contentOptions_);
@@ -4812,47 +4267,34 @@ private void ensureContentOptionsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return A list containing the contentOptions. */ public java.util.List getContentOptionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>( - contentOptions_, contentOptions_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>(contentOptions_, contentOptions_converter_); } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return The count of contentOptions. */ public int getContentOptionsCount() { return contentOptions_.size(); } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the element to return. * @return The contentOptions at the given index. */ @@ -4860,20 +4302,17 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) { return contentOptions_converter_.convert(contentOptions_.get(index)); } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index to set the value at. * @param value The contentOptions to set. * @return This builder for chaining. */ - public Builder setContentOptions(int index, com.google.privacy.dlp.v2.ContentOption value) { + public Builder setContentOptions( + int index, com.google.privacy.dlp.v2.ContentOption value) { if (value == null) { throw new NullPointerException(); } @@ -4883,15 +4322,11 @@ public Builder setContentOptions(int index, com.google.privacy.dlp.v2.ContentOpt return this; } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param value The contentOptions to add. * @return This builder for chaining. */ @@ -4905,15 +4340,11 @@ public Builder addContentOptions(com.google.privacy.dlp.v2.ContentOption value) return this; } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param values The contentOptions to add. * @return This builder for chaining. */ @@ -4927,15 +4358,11 @@ public Builder addAllContentOptions( return this; } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return This builder for chaining. */ public Builder clearContentOptions() { @@ -4945,30 +4372,23 @@ public Builder clearContentOptions() { return this; } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return A list containing the enum numeric values on the wire for contentOptions. */ - public java.util.List getContentOptionsValueList() { + public java.util.List + getContentOptionsValueList() { return java.util.Collections.unmodifiableList(contentOptions_); } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. */ @@ -4976,35 +4396,28 @@ public int getContentOptionsValue(int index) { return contentOptions_.get(index); } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. * @return This builder for chaining. */ - public Builder setContentOptionsValue(int index, int value) { + public Builder setContentOptionsValue( + int index, int value) { ensureContentOptionsIsMutable(); contentOptions_.set(index, value); onChanged(); return this; } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param value The enum numeric value on the wire for contentOptions to add. * @return This builder for chaining. */ @@ -5015,19 +4428,16 @@ public Builder addContentOptionsValue(int value) { return this; } /** - * - * *
-     * List of options defining data content to scan.
-     * If empty, text, images, and other content will be included.
+     * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param values The enum numeric values on the wire for contentOptions to add. * @return This builder for chaining. */ - public Builder addAllContentOptionsValue(java.lang.Iterable values) { + public Builder addAllContentOptionsValue( + java.lang.Iterable values) { ensureContentOptionsIsMutable(); for (int value : values) { contentOptions_.add(value); @@ -5037,24 +4447,18 @@ public Builder addAllContentOptionsValue(java.lang.Iterable v } private java.util.List ruleSet_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRuleSetIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { ruleSet_ = new java.util.ArrayList(ruleSet_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRuleSet, - com.google.privacy.dlp.v2.InspectionRuleSet.Builder, - com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> - ruleSetBuilder_; + com.google.privacy.dlp.v2.InspectionRuleSet, com.google.privacy.dlp.v2.InspectionRuleSet.Builder, com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> ruleSetBuilder_; /** - * - * *
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5071,8 +4475,6 @@ public java.util.List getRuleSetLis
       }
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5089,8 +4491,6 @@ public int getRuleSetCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5107,8 +4507,6 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5117,7 +4515,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public Builder setRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
+    public Builder setRuleSet(
+        int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
       if (ruleSetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5131,8 +4530,6 @@ public Builder setRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5153,8 +4550,6 @@ public Builder setRuleSet(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5177,8 +4572,6 @@ public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5187,7 +4580,8 @@ public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet value) {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public Builder addRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
+    public Builder addRuleSet(
+        int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
       if (ruleSetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5201,8 +4595,6 @@ public Builder addRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5211,7 +4603,8 @@ public Builder addRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet.Builder builderForValue) {
+    public Builder addRuleSet(
+        com.google.privacy.dlp.v2.InspectionRuleSet.Builder builderForValue) {
       if (ruleSetBuilder_ == null) {
         ensureRuleSetIsMutable();
         ruleSet_.add(builderForValue.build());
@@ -5222,8 +4615,6 @@ public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5244,8 +4635,6 @@ public Builder addRuleSet(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5258,7 +4647,8 @@ public Builder addAllRuleSet(
         java.lang.Iterable values) {
       if (ruleSetBuilder_ == null) {
         ensureRuleSetIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ruleSet_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, ruleSet_);
         onChanged();
       } else {
         ruleSetBuilder_.addAllMessages(values);
@@ -5266,8 +4656,6 @@ public Builder addAllRuleSet(
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5287,8 +4675,6 @@ public Builder clearRuleSet() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5308,8 +4694,6 @@ public Builder removeRuleSet(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5318,12 +4702,11 @@ public Builder removeRuleSet(int index) {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder getRuleSetBuilder(int index) {
+    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder getRuleSetBuilder(
+        int index) {
       return getRuleSetFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5332,16 +4715,14 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder getRuleSetBuilder(int
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
+        int index) {
       if (ruleSetBuilder_ == null) {
-        return ruleSet_.get(index);
-      } else {
+        return ruleSet_.get(index);  } else {
         return ruleSetBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5350,8 +4731,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public java.util.List
-        getRuleSetOrBuilderList() {
+    public java.util.List 
+         getRuleSetOrBuilderList() {
       if (ruleSetBuilder_ != null) {
         return ruleSetBuilder_.getMessageOrBuilderList();
       } else {
@@ -5359,8 +4740,6 @@ public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5370,12 +4749,10 @@ public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
     public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder() {
-      return getRuleSetFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
+      return getRuleSetFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5384,13 +4761,12 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder() {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(int index) {
-      return getRuleSetFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
+    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(
+        int index) {
+      return getRuleSetFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -5399,30 +4775,27 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(int
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public java.util.List
-        getRuleSetBuilderList() {
+    public java.util.List 
+         getRuleSetBuilderList() {
       return getRuleSetFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectionRuleSet,
-            com.google.privacy.dlp.v2.InspectionRuleSet.Builder,
-            com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>
+        com.google.privacy.dlp.v2.InspectionRuleSet, com.google.privacy.dlp.v2.InspectionRuleSet.Builder, com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> 
         getRuleSetFieldBuilder() {
       if (ruleSetBuilder_ == null) {
-        ruleSetBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.InspectionRuleSet,
-                com.google.privacy.dlp.v2.InspectionRuleSet.Builder,
-                com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>(
-                ruleSet_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        ruleSetBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.InspectionRuleSet, com.google.privacy.dlp.v2.InspectionRuleSet.Builder, com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>(
+                ruleSet_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         ruleSet_ = null;
       }
       return ruleSetBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5432,12 +4805,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectConfig)
   private static final com.google.privacy.dlp.v2.InspectConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectConfig();
   }
@@ -5446,16 +4819,16 @@ public static com.google.privacy.dlp.v2.InspectConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public InspectConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new InspectConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public InspectConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new InspectConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -5470,4 +4843,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.InspectConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
similarity index 84%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
index 3aa05111..154722c2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface InspectConfigOrBuilder
-    extends
+public interface InspectConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -40,10 +22,9 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List getInfoTypesList();
+  java.util.List 
+      getInfoTypesList();
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -60,8 +41,6 @@ public interface InspectConfigOrBuilder
    */
   com.google.privacy.dlp.v2.InfoType getInfoTypes(int index);
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -78,8 +57,6 @@ public interface InspectConfigOrBuilder
    */
   int getInfoTypesCount();
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -94,10 +71,9 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List getInfoTypesOrBuilderList();
+  java.util.List 
+      getInfoTypesOrBuilderList();
   /**
-   *
-   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -112,11 +88,10 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index);
+  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -124,13 +99,10 @@ public interface InspectConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return The enum numeric value on the wire for minLikelihood. */ int getMinLikelihoodValue(); /** - * - * *
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -138,40 +110,34 @@ public interface InspectConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; - * * @return The minLikelihood. */ com.google.privacy.dlp.v2.Likelihood getMinLikelihood(); /** - * - * *
    * Configuration to control the number of findings returned.
+   * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return Whether the limits field is set. */ boolean hasLimits(); /** - * - * *
    * Configuration to control the number of findings returned.
+   * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return The limits. */ com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits(); /** - * - * *
    * Configuration to control the number of findings returned.
+   * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -179,35 +145,29 @@ public interface InspectConfigOrBuilder com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder(); /** - * - * *
    * When true, a contextual quote from the data that triggered a finding is
    * included in the response; see Finding.quote.
+   * This is not used for data profiling.
    * 
* * bool include_quote = 4; - * * @return The includeQuote. */ boolean getIncludeQuote(); /** - * - * *
    * When true, excludes type information of the findings.
+   * This is not used for data profiling.
    * 
* * bool exclude_info_types = 5; - * * @return The excludeInfoTypes. */ boolean getExcludeInfoTypes(); /** - * - * *
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -215,10 +175,9 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
-  java.util.List getCustomInfoTypesList();
+  java.util.List 
+      getCustomInfoTypesList();
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -228,8 +187,6 @@ public interface InspectConfigOrBuilder
    */
   com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index);
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -239,8 +196,6 @@ public interface InspectConfigOrBuilder
    */
   int getCustomInfoTypesCount();
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -248,11 +203,9 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
-  java.util.List
+  java.util.List 
       getCustomInfoTypesOrBuilderList();
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -260,79 +213,59 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
-  com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index);
+  com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return A list containing the contentOptions. */ java.util.List getContentOptionsList(); /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return The count of contentOptions. */ int getContentOptionsCount(); /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the element to return. * @return The contentOptions at the given index. */ com.google.privacy.dlp.v2.ContentOption getContentOptions(int index); /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @return A list containing the enum numeric values on the wire for contentOptions. */ - java.util.List getContentOptionsValueList(); + java.util.List + getContentOptionsValueList(); /** - * - * *
-   * List of options defining data content to scan.
-   * If empty, text, images, and other content will be included.
+   * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. */ int getContentOptionsValue(int index); /** - * - * *
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -341,10 +274,9 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
-  java.util.List getRuleSetList();
+  java.util.List 
+      getRuleSetList();
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -355,8 +287,6 @@ public interface InspectConfigOrBuilder
    */
   com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index);
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -367,8 +297,6 @@ public interface InspectConfigOrBuilder
    */
   int getRuleSetCount();
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -377,11 +305,9 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
-  java.util.List
+  java.util.List 
       getRuleSetOrBuilderList();
   /**
-   *
-   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -390,5 +316,6 @@ public interface InspectConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
-  com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index);
+  com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
similarity index 75%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
index 1ef8c335..a31ad476 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Request to search for potentially sensitive info in a ContentItem.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentRequest} */ -public final class InspectContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InspectContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectContentRequest) InspectContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InspectContentRequest.newBuilder() to construct. private InspectContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InspectContentRequest() { parent_ = ""; inspectTemplateName_ = ""; @@ -45,15 +27,16 @@ private InspectContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InspectContentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InspectContentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,98 +55,85 @@ private InspectContentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); - } - inspectConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); - } - - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = - input.readMessage( - com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; + inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - inspectTemplateName_ = s; - break; + break; + } + case 26: { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - - locationId_ = s; - break; + item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + inspectTemplateName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentRequest.class, - com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); + com.google.privacy.dlp.v2.InspectContentRequest.class, com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -180,7 +150,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -189,15 +158,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -214,15 +182,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.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 { @@ -233,15 +202,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** - * - * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -249,26 +215,19 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } /** - * - * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
@@ -284,14 +243,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
   public static final int ITEM_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.ContentItem item_;
   /**
-   *
-   *
    * 
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return Whether the item field is set. */ @java.lang.Override @@ -299,14 +255,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return The item. */ @java.lang.Override @@ -314,8 +267,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The item to inspect.
    * 
@@ -330,8 +281,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object inspectTemplateName_; /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -341,7 +290,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 4; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -350,15 +298,14 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -368,15 +315,16 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 4; - * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -387,14 +335,11 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ @java.lang.Override @@ -403,29 +348,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -434,7 +379,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -446,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -475,10 +420,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInspectConfig()); } if (item_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inspectTemplateName_); @@ -494,25 +441,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.privacy.dlp.v2.InspectContentRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectContentRequest other = - (com.google.privacy.dlp.v2.InspectContentRequest) obj; + com.google.privacy.dlp.v2.InspectContentRequest other = (com.google.privacy.dlp.v2.InspectContentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem().equals(other.getItem())) return false; + if (!getItem() + .equals(other.getItem())) return false; } - if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getInspectTemplateName() + .equals(other.getInspectTemplateName())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -543,127 +494,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in a ContentItem.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectContentRequest) com.google.privacy.dlp.v2.InspectContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentRequest.class, - com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); + com.google.privacy.dlp.v2.InspectContentRequest.class, com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectContentRequest.newBuilder() @@ -671,15 +613,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -705,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; } @java.lang.Override @@ -726,8 +669,7 @@ public com.google.privacy.dlp.v2.InspectContentRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectContentRequest buildPartial() { - com.google.privacy.dlp.v2.InspectContentRequest result = - new com.google.privacy.dlp.v2.InspectContentRequest(this); + com.google.privacy.dlp.v2.InspectContentRequest result = new com.google.privacy.dlp.v2.InspectContentRequest(this); result.parent_ = parent_; if (inspectConfigBuilder_ == null) { result.inspectConfig_ = inspectConfig_; @@ -749,39 +691,38 @@ public com.google.privacy.dlp.v2.InspectContentRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectContentRequest) { - return mergeFrom((com.google.privacy.dlp.v2.InspectContentRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectContentRequest)other); } else { super.mergeFrom(other); return this; @@ -789,8 +730,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectContentRequest other) { - if (other == com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -840,8 +780,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -858,13 +796,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.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; @@ -873,8 +811,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -891,14 +827,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.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 { @@ -906,8 +843,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -924,22 +859,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -956,18 +889,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -984,16 +914,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1001,49 +931,36 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> - inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; /** - * - * *
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1065,8 +982,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1086,8 +1001,6 @@ public Builder setInspectConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1099,9 +1012,7 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       if (inspectConfigBuilder_ == null) {
         if (inspectConfig_ != null) {
           inspectConfig_ =
-              com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial();
         } else {
           inspectConfig_ = value;
         }
@@ -1113,8 +1024,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1134,8 +1043,6 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1144,13 +1051,11 @@ public Builder clearInspectConfig() {
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      */
     public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() {
-
+      
       onChanged();
       return getInspectConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1162,14 +1067,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
       if (inspectConfigBuilder_ != null) {
         return inspectConfigBuilder_.getMessageOrBuilder();
       } else {
-        return inspectConfig_ == null
-            ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
-            : inspectConfig_;
+        return inspectConfig_ == null ?
+            com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1178,17 +1080,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig,
-            com.google.privacy.dlp.v2.InspectConfig.Builder,
-            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
+        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> 
         getInspectConfigFieldBuilder() {
       if (inspectConfigBuilder_ == null) {
-        inspectConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InspectConfig,
-                com.google.privacy.dlp.v2.InspectConfig.Builder,
-                com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
-                getInspectConfig(), getParentForChildren(), isClean());
+        inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
+                getInspectConfig(),
+                getParentForChildren(),
+                isClean());
         inspectConfig_ = null;
       }
       return inspectConfigBuilder_;
@@ -1196,33 +1095,24 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
 
     private com.google.privacy.dlp.v2.ContentItem item_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.ContentItem,
-            com.google.privacy.dlp.v2.ContentItem.Builder,
-            com.google.privacy.dlp.v2.ContentItemOrBuilder>
-        itemBuilder_;
+        com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_;
     /**
-     *
-     *
      * 
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -1233,8 +1123,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to inspect.
      * 
@@ -1255,15 +1143,14 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 3; */ - public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem( + com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -1274,8 +1161,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -1286,9 +1171,7 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -1300,8 +1183,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -1320,8 +1201,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -1329,13 +1208,11 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 3; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** - * - * *
      * The item to inspect.
      * 
@@ -1346,12 +1223,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? + com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** - * - * *
      * The item to inspect.
      * 
@@ -1359,17 +1235,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), getParentForChildren(), isClean()); + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); item_ = null; } return itemBuilder_; @@ -1377,8 +1250,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private java.lang.Object inspectTemplateName_ = ""; /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1388,13 +1259,13 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
      * 
* * string inspect_template_name = 4; - * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1403,8 +1274,6 @@ public java.lang.String getInspectTemplateName() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1414,14 +1283,15 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 4; - * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1429,8 +1299,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1440,22 +1308,20 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
      * 
* * string inspect_template_name = 4; - * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName(java.lang.String value) { + public Builder setInspectTemplateName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1465,18 +1331,15 @@ public Builder setInspectTemplateName(java.lang.String value) {
      * 
* * string inspect_template_name = 4; - * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1486,16 +1349,16 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 4; - * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; @@ -1503,20 +1366,18 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1525,21 +1386,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1547,68 +1407,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1618,12 +1471,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectContentRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectContentRequest) private static final com.google.privacy.dlp.v2.InspectContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectContentRequest(); } @@ -1632,16 +1485,16 @@ public static com.google.privacy.dlp.v2.InspectContentRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectContentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectContentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1656,4 +1509,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java similarity index 83% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java index 340d5c05..d2079954 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectContentRequestOrBuilder - extends +public interface InspectContentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectContentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -42,13 +24,10 @@ public interface InspectContentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -65,40 +44,32 @@ public interface InspectContentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
@@ -109,32 +80,24 @@ public interface InspectContentRequestOrBuilder
   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return Whether the item field is set. */ boolean hasItem(); /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** - * - * *
    * The item to inspect.
    * 
@@ -144,8 +107,6 @@ public interface InspectContentRequestOrBuilder com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -155,13 +116,10 @@ public interface InspectContentRequestOrBuilder
    * 
* * string inspect_template_name = 4; - * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -171,33 +129,28 @@ public interface InspectContentRequestOrBuilder
    * 
* * string inspect_template_name = 4; - * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString getInspectTemplateNameBytes(); + com.google.protobuf.ByteString + getInspectTemplateNameBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java index 9d34c025..5c34b241 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Results of inspecting an item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentResponse} */ -public final class InspectContentResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InspectContentResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectContentResponse) InspectContentResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InspectContentResponse.newBuilder() to construct. private InspectContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InspectContentResponse() {} + private InspectContentResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InspectContentResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InspectContentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,67 +52,59 @@ private InspectContentResponse( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; - if (result_ != null) { - subBuilder = result_.toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(result_); - result_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; + if (result_ != null) { + subBuilder = result_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + result_ = input.readMessage(com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(result_); + result_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentResponse.class, - com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); + com.google.privacy.dlp.v2.InspectContentResponse.class, com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InspectResult result_; /** - * - * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return Whether the result field is set. */ @java.lang.Override @@ -136,14 +112,11 @@ public boolean hasResult() { return result_ != null; } /** - * - * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return The result. */ @java.lang.Override @@ -151,8 +124,6 @@ public com.google.privacy.dlp.v2.InspectResult getResult() { return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; } /** - * - * *
    * The findings.
    * 
@@ -165,7 +136,6 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (result_ != null) { output.writeMessage(1, getResult()); } @@ -191,7 +162,8 @@ public int getSerializedSize() { size = 0; if (result_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -201,17 +173,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.privacy.dlp.v2.InspectContentResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectContentResponse other = - (com.google.privacy.dlp.v2.InspectContentResponse) obj; + com.google.privacy.dlp.v2.InspectContentResponse other = (com.google.privacy.dlp.v2.InspectContentResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult().equals(other.getResult())) return false; + if (!getResult() + .equals(other.getResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -233,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectContentResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectContentResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Results of inspecting an item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectContentResponse) com.google.privacy.dlp.v2.InspectContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentResponse.class, - com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); + com.google.privacy.dlp.v2.InspectContentResponse.class, com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectContentResponse.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; } @java.lang.Override @@ -404,8 +368,7 @@ public com.google.privacy.dlp.v2.InspectContentResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectContentResponse buildPartial() { - com.google.privacy.dlp.v2.InspectContentResponse result = - new com.google.privacy.dlp.v2.InspectContentResponse(this); + com.google.privacy.dlp.v2.InspectContentResponse result = new com.google.privacy.dlp.v2.InspectContentResponse(this); if (resultBuilder_ == null) { result.result_ = result_; } else { @@ -419,39 +382,38 @@ public com.google.privacy.dlp.v2.InspectContentResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectContentResponse) { - return mergeFrom((com.google.privacy.dlp.v2.InspectContentResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectContentResponse)other); } else { super.mergeFrom(other); return this; @@ -459,8 +421,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectContentResponse other) { - if (other == com.google.privacy.dlp.v2.InspectContentResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.InspectContentResponse.getDefaultInstance()) return this; if (other.hasResult()) { mergeResult(other.getResult()); } @@ -495,47 +456,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InspectResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, - com.google.privacy.dlp.v2.InspectResult.Builder, - com.google.privacy.dlp.v2.InspectResultOrBuilder> - resultBuilder_; + com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> resultBuilder_; /** - * - * *
      * The findings.
      * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** - * - * *
      * The findings.
      * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return The result. */ public com.google.privacy.dlp.v2.InspectResult getResult() { if (resultBuilder_ == null) { - return result_ == null - ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** - * - * *
      * The findings.
      * 
@@ -556,15 +504,14 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** - * - * *
      * The findings.
      * 
* * .google.privacy.dlp.v2.InspectResult result = 1; */ - public Builder setResult(com.google.privacy.dlp.v2.InspectResult.Builder builderForValue) { + public Builder setResult( + com.google.privacy.dlp.v2.InspectResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -575,8 +522,6 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectResult.Builder builder return this; } /** - * - * *
      * The findings.
      * 
@@ -587,9 +532,7 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectResult value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = - com.google.privacy.dlp.v2.InspectResult.newBuilder(result_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectResult.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -601,8 +544,6 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** - * - * *
      * The findings.
      * 
@@ -621,8 +562,6 @@ public Builder clearResult() { return this; } /** - * - * *
      * The findings.
      * 
@@ -630,13 +569,11 @@ public Builder clearResult() { * .google.privacy.dlp.v2.InspectResult result = 1; */ public com.google.privacy.dlp.v2.InspectResult.Builder getResultBuilder() { - + onChanged(); return getResultFieldBuilder().getBuilder(); } /** - * - * *
      * The findings.
      * 
@@ -647,14 +584,11 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null - ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() - : result_; + return result_ == null ? + com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; } } /** - * - * *
      * The findings.
      * 
@@ -662,24 +596,21 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { * .google.privacy.dlp.v2.InspectResult result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, - com.google.privacy.dlp.v2.InspectResult.Builder, - com.google.privacy.dlp.v2.InspectResultOrBuilder> + com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, - com.google.privacy.dlp.v2.InspectResult.Builder, - com.google.privacy.dlp.v2.InspectResultOrBuilder>( - getResult(), getParentForChildren(), isClean()); + resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder>( + getResult(), + getParentForChildren(), + isClean()); result_ = null; } return resultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectContentResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectContentResponse) private static final com.google.privacy.dlp.v2.InspectContentResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectContentResponse(); } @@ -703,16 +634,16 @@ public static com.google.privacy.dlp.v2.InspectContentResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectContentResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectContentResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -727,4 +658,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java similarity index 55% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java index cd3ec926..2595a8c8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectContentResponseOrBuilder - extends +public interface InspectContentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectContentResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return Whether the result field is set. */ boolean hasResult(); /** - * - * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return The result. */ com.google.privacy.dlp.v2.InspectResult getResult(); /** - * - * *
    * The findings.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java index 0dce0310..96f86208 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The results of an inspect DataSource job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails} */ -public final class InspectDataSourceDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InspectDataSourceDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectDataSourceDetails) InspectDataSourceDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InspectDataSourceDetails.newBuilder() to construct. private InspectDataSourceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InspectDataSourceDetails() {} + private InspectDataSourceDetails() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InspectDataSourceDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InspectDataSourceDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,109 +52,89 @@ private InspectDataSourceDetails( case 0: done = true; break; - case 18: - { - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder - subBuilder = null; - if (requestedOptions_ != null) { - subBuilder = requestedOptions_.toBuilder(); - } - requestedOptions_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedOptions_); - requestedOptions_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder subBuilder = null; + if (requestedOptions_ != null) { + subBuilder = requestedOptions_.toBuilder(); + } + requestedOptions_ = input.readMessage(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedOptions_); + requestedOptions_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder subBuilder = null; - if (result_ != null) { - subBuilder = result_.toBuilder(); - } - result_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(result_); - result_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder subBuilder = null; + if (result_ != null) { + subBuilder = result_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + result_ = input.readMessage(com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(result_); + result_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.class, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); } - public interface RequestedOptionsOrBuilder - extends + public interface RequestedOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; - * * @return Whether the snapshotInspectTemplate field is set. */ boolean hasSnapshotInspectTemplate(); /** - * - * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; - * * @return The snapshotInspectTemplate. */ com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate(); /** - * - * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
@@ -181,32 +145,24 @@ public interface RequestedOptionsOrBuilder
     com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; - * * @return Whether the jobConfig field is set. */ boolean hasJobConfig(); /** - * - * *
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; - * * @return The jobConfig. */ com.google.privacy.dlp.v2.InspectJobConfig getJobConfig(); /** - * - * *
      * Inspect config.
      * 
@@ -216,37 +172,36 @@ public interface RequestedOptionsOrBuilder com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder(); } /** - * - * *
    * Snapshot of the inspection configuration.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions} */ - public static final class RequestedOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RequestedOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) RequestedOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RequestedOptions.newBuilder() to construct. private RequestedOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RequestedOptions() {} + private RequestedOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RequestedOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RequestedOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -265,84 +220,73 @@ private RequestedOptions( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; - if (snapshotInspectTemplate_ != null) { - subBuilder = snapshotInspectTemplate_.toBuilder(); - } - snapshotInspectTemplate_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotInspectTemplate_); - snapshotInspectTemplate_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; + if (snapshotInspectTemplate_ != null) { + subBuilder = snapshotInspectTemplate_.toBuilder(); + } + snapshotInspectTemplate_ = input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotInspectTemplate_); + snapshotInspectTemplate_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null; - if (jobConfig_ != null) { - subBuilder = jobConfig_.toBuilder(); - } - jobConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobConfig_); - jobConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null; + if (jobConfig_ != null) { + subBuilder = jobConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + jobConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobConfig_); + jobConfig_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); } public static final int SNAPSHOT_INSPECT_TEMPLATE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InspectTemplate snapshotInspectTemplate_; /** - * - * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; - * * @return Whether the snapshotInspectTemplate field is set. */ @java.lang.Override @@ -350,26 +294,19 @@ public boolean hasSnapshotInspectTemplate() { return snapshotInspectTemplate_ != null; } /** - * - * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; - * * @return The snapshotInspectTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() { - return snapshotInspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : snapshotInspectTemplate_; + return snapshotInspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : snapshotInspectTemplate_; } /** - * - * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
@@ -378,22 +315,18 @@ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
      * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InspectTemplateOrBuilder
-        getSnapshotInspectTemplateOrBuilder() {
+    public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder() {
       return getSnapshotInspectTemplate();
     }
 
     public static final int JOB_CONFIG_FIELD_NUMBER = 3;
     private com.google.privacy.dlp.v2.InspectJobConfig jobConfig_;
     /**
-     *
-     *
      * 
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; - * * @return Whether the jobConfig field is set. */ @java.lang.Override @@ -401,25 +334,18 @@ public boolean hasJobConfig() { return jobConfig_ != null; } /** - * - * *
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; - * * @return The jobConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() { - return jobConfig_ == null - ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() - : jobConfig_; + return jobConfig_ == null ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() : jobConfig_; } /** - * - * *
      * Inspect config.
      * 
@@ -432,7 +358,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -444,7 +369,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (snapshotInspectTemplate_ != null) { output.writeMessage(1, getSnapshotInspectTemplate()); } @@ -461,12 +387,12 @@ public int getSerializedSize() { size = 0; if (snapshotInspectTemplate_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getSnapshotInspectTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSnapshotInspectTemplate()); } if (jobConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getJobConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getJobConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -476,21 +402,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.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other = - (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) obj; + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other = (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) obj; if (hasSnapshotInspectTemplate() != other.hasSnapshotInspectTemplate()) return false; if (hasSnapshotInspectTemplate()) { - if (!getSnapshotInspectTemplate().equals(other.getSnapshotInspectTemplate())) return false; + if (!getSnapshotInspectTemplate() + .equals(other.getSnapshotInspectTemplate())) return false; } if (hasJobConfig() != other.hasJobConfig()) return false; if (hasJobConfig()) { - if (!getJobConfig().equals(other.getJobConfig())) return false; + if (!getJobConfig() + .equals(other.getJobConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -517,95 +444,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -615,49 +534,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Snapshot of the inspection configuration.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder() + // Construct using com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -677,16 +591,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - .getDefaultInstance(); + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance(); } @java.lang.Override @@ -700,8 +612,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions build @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions buildPartial() { - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions result = - new com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions(this); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions result = new com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions(this); if (snapshotInspectTemplateBuilder_ == null) { result.snapshotInspectTemplate_ = snapshotInspectTemplate_; } else { @@ -720,53 +631,46 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) { - return mergeFrom( - (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other) { - if (other - == com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other) { + if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance()) return this; if (other.hasSnapshotInspectTemplate()) { mergeSnapshotInspectTemplate(other.getSnapshotInspectTemplate()); } @@ -792,9 +696,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -806,49 +708,36 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InspectTemplate snapshotInspectTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> - snapshotInspectTemplateBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> snapshotInspectTemplateBuilder_; /** - * - * *
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
        * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; - * * @return Whether the snapshotInspectTemplate field is set. */ public boolean hasSnapshotInspectTemplate() { return snapshotInspectTemplateBuilder_ != null || snapshotInspectTemplate_ != null; } /** - * - * *
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
        * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; - * * @return The snapshotInspectTemplate. */ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() { if (snapshotInspectTemplateBuilder_ == null) { - return snapshotInspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : snapshotInspectTemplate_; + return snapshotInspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : snapshotInspectTemplate_; } else { return snapshotInspectTemplateBuilder_.getMessage(); } } /** - * - * *
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -870,8 +759,6 @@ public Builder setSnapshotInspectTemplate(com.google.privacy.dlp.v2.InspectTempl
         return this;
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -891,8 +778,6 @@ public Builder setSnapshotInspectTemplate(
         return this;
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -904,9 +789,7 @@ public Builder mergeSnapshotInspectTemplate(com.google.privacy.dlp.v2.InspectTem
         if (snapshotInspectTemplateBuilder_ == null) {
           if (snapshotInspectTemplate_ != null) {
             snapshotInspectTemplate_ =
-                com.google.privacy.dlp.v2.InspectTemplate.newBuilder(snapshotInspectTemplate_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.InspectTemplate.newBuilder(snapshotInspectTemplate_).mergeFrom(value).buildPartial();
           } else {
             snapshotInspectTemplate_ = value;
           }
@@ -918,8 +801,6 @@ public Builder mergeSnapshotInspectTemplate(com.google.privacy.dlp.v2.InspectTem
         return this;
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -939,8 +820,6 @@ public Builder clearSnapshotInspectTemplate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -949,13 +828,11 @@ public Builder clearSnapshotInspectTemplate() {
        * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
        */
       public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTemplateBuilder() {
-
+        
         onChanged();
         return getSnapshotInspectTemplateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -963,19 +840,15 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTempl
        *
        * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
        */
-      public com.google.privacy.dlp.v2.InspectTemplateOrBuilder
-          getSnapshotInspectTemplateOrBuilder() {
+      public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder() {
         if (snapshotInspectTemplateBuilder_ != null) {
           return snapshotInspectTemplateBuilder_.getMessageOrBuilder();
         } else {
-          return snapshotInspectTemplate_ == null
-              ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()
-              : snapshotInspectTemplate_;
+          return snapshotInspectTemplate_ == null ?
+              com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : snapshotInspectTemplate_;
         }
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -984,17 +857,14 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTempl
        * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.InspectTemplate,
-              com.google.privacy.dlp.v2.InspectTemplate.Builder,
-              com.google.privacy.dlp.v2.InspectTemplateOrBuilder>
+          com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> 
           getSnapshotInspectTemplateFieldBuilder() {
         if (snapshotInspectTemplateBuilder_ == null) {
-          snapshotInspectTemplateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.InspectTemplate,
-                  com.google.privacy.dlp.v2.InspectTemplate.Builder,
-                  com.google.privacy.dlp.v2.InspectTemplateOrBuilder>(
-                  getSnapshotInspectTemplate(), getParentForChildren(), isClean());
+          snapshotInspectTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>(
+                  getSnapshotInspectTemplate(),
+                  getParentForChildren(),
+                  isClean());
           snapshotInspectTemplate_ = null;
         }
         return snapshotInspectTemplateBuilder_;
@@ -1002,47 +872,34 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTempl
 
       private com.google.privacy.dlp.v2.InspectJobConfig jobConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.InspectJobConfig,
-              com.google.privacy.dlp.v2.InspectJobConfig.Builder,
-              com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>
-          jobConfigBuilder_;
+          com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> jobConfigBuilder_;
       /**
-       *
-       *
        * 
        * Inspect config.
        * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; - * * @return Whether the jobConfig field is set. */ public boolean hasJobConfig() { return jobConfigBuilder_ != null || jobConfig_ != null; } /** - * - * *
        * Inspect config.
        * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; - * * @return The jobConfig. */ public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() { if (jobConfigBuilder_ == null) { - return jobConfig_ == null - ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() - : jobConfig_; + return jobConfig_ == null ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() : jobConfig_; } else { return jobConfigBuilder_.getMessage(); } } /** - * - * *
        * Inspect config.
        * 
@@ -1063,8 +920,6 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1083,8 +938,6 @@ public Builder setJobConfig( return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1095,9 +948,7 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) if (jobConfigBuilder_ == null) { if (jobConfig_ != null) { jobConfig_ = - com.google.privacy.dlp.v2.InspectJobConfig.newBuilder(jobConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectJobConfig.newBuilder(jobConfig_).mergeFrom(value).buildPartial(); } else { jobConfig_ = value; } @@ -1109,8 +960,6 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1129,8 +978,6 @@ public Builder clearJobConfig() { return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1138,13 +985,11 @@ public Builder clearJobConfig() { * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; */ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getJobConfigBuilder() { - + onChanged(); return getJobConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Inspect config.
        * 
@@ -1155,14 +1000,11 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder if (jobConfigBuilder_ != null) { return jobConfigBuilder_.getMessageOrBuilder(); } else { - return jobConfig_ == null - ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() - : jobConfig_; + return jobConfig_ == null ? + com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() : jobConfig_; } } /** - * - * *
        * Inspect config.
        * 
@@ -1170,22 +1012,18 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> getJobConfigFieldBuilder() { if (jobConfigBuilder_ == null) { - jobConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( - getJobConfig(), getParentForChildren(), isClean()); + jobConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( + getJobConfig(), + getParentForChildren(), + isClean()); jobConfig_ = null; } return jobConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1198,32 +1036,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) - private static final com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions(); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - getDefaultInstance() { + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestedOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestedOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestedOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RequestedOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1235,46 +1071,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResultOrBuilder - extends + public interface ResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectDataSourceDetails.Result) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Total size in bytes that were processed.
      * 
* * int64 processed_bytes = 1; - * * @return The processedBytes. */ long getProcessedBytes(); /** - * - * *
      * Estimate of the number of bytes to process.
      * 
* * int64 total_estimated_bytes = 2; - * * @return The totalEstimatedBytes. */ long getTotalEstimatedBytes(); /** - * - * *
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1282,10 +1109,9 @@ public interface ResultOrBuilder
      *
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
-    java.util.List getInfoTypeStatsList();
+    java.util.List 
+        getInfoTypeStatsList();
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1295,8 +1121,6 @@ public interface ResultOrBuilder
      */
     com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index);
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1306,8 +1130,6 @@ public interface ResultOrBuilder
      */
     int getInfoTypeStatsCount();
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1315,11 +1137,9 @@ public interface ResultOrBuilder
      *
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
-    java.util.List
+    java.util.List 
         getInfoTypeStatsOrBuilderList();
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1327,35 +1147,28 @@ public interface ResultOrBuilder
      *
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
-    com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index);
+    com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; - * * @return Whether the hybridStats field is set. */ boolean hasHybridStats(); /** - * - * *
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; - * * @return The hybridStats. */ com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats(); /** - * - * *
      * Statistics related to the processing of hybrid inspect.
      * 
@@ -1365,39 +1178,37 @@ public interface ResultOrBuilder com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder(); } /** - * - * *
    * All result fields mentioned below are updated while the job is processing.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.Result} */ - public static final class Result extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Result extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectDataSourceDetails.Result) ResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Result.newBuilder() to construct. private Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Result() { infoTypeStats_ = 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 Result(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Result( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1417,58 +1228,52 @@ private Result( case 0: done = true; break; - case 8: - { - processedBytes_ = input.readInt64(); - break; - } - case 16: - { - totalEstimatedBytes_ = input.readInt64(); - break; + case 8: { + + processedBytes_ = input.readInt64(); + break; + } + case 16: { + + totalEstimatedBytes_ = input.readInt64(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypeStats_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypeStats_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - infoTypeStats_.add( - input.readMessage( - com.google.privacy.dlp.v2.InfoTypeStats.parser(), extensionRegistry)); - break; + infoTypeStats_.add( + input.readMessage(com.google.privacy.dlp.v2.InfoTypeStats.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.privacy.dlp.v2.HybridInspectStatistics.Builder subBuilder = null; + if (hybridStats_ != null) { + subBuilder = hybridStats_.toBuilder(); } - case 58: - { - com.google.privacy.dlp.v2.HybridInspectStatistics.Builder subBuilder = null; - if (hybridStats_ != null) { - subBuilder = hybridStats_.toBuilder(); - } - hybridStats_ = - input.readMessage( - com.google.privacy.dlp.v2.HybridInspectStatistics.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(hybridStats_); - hybridStats_ = subBuilder.buildPartial(); - } - - break; + hybridStats_ = input.readMessage(com.google.privacy.dlp.v2.HybridInspectStatistics.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hybridStats_); + hybridStats_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { infoTypeStats_ = java.util.Collections.unmodifiableList(infoTypeStats_); @@ -1477,33 +1282,27 @@ private Result( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); } public static final int PROCESSED_BYTES_FIELD_NUMBER = 1; private long processedBytes_; /** - * - * *
      * Total size in bytes that were processed.
      * 
* * int64 processed_bytes = 1; - * * @return The processedBytes. */ @java.lang.Override @@ -1514,14 +1313,11 @@ public long getProcessedBytes() { public static final int TOTAL_ESTIMATED_BYTES_FIELD_NUMBER = 2; private long totalEstimatedBytes_; /** - * - * *
      * Estimate of the number of bytes to process.
      * 
* * int64 total_estimated_bytes = 2; - * * @return The totalEstimatedBytes. */ @java.lang.Override @@ -1532,8 +1328,6 @@ public long getTotalEstimatedBytes() { public static final int INFO_TYPE_STATS_FIELD_NUMBER = 3; private java.util.List infoTypeStats_; /** - * - * *
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1546,8 +1340,6 @@ public java.util.List getInfoTypeStatsL
       return infoTypeStats_;
     }
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1556,13 +1348,11 @@ public java.util.List getInfoTypeStatsL
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getInfoTypeStatsOrBuilderList() {
       return infoTypeStats_;
     }
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1575,8 +1365,6 @@ public int getInfoTypeStatsCount() {
       return infoTypeStats_.size();
     }
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1589,8 +1377,6 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
       return infoTypeStats_.get(index);
     }
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1599,21 +1385,19 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(
+        int index) {
       return infoTypeStats_.get(index);
     }
 
     public static final int HYBRID_STATS_FIELD_NUMBER = 7;
     private com.google.privacy.dlp.v2.HybridInspectStatistics hybridStats_;
     /**
-     *
-     *
      * 
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; - * * @return Whether the hybridStats field is set. */ @java.lang.Override @@ -1621,25 +1405,18 @@ public boolean hasHybridStats() { return hybridStats_ != null; } /** - * - * *
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; - * * @return The hybridStats. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() { - return hybridStats_ == null - ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() - : hybridStats_; + return hybridStats_ == null ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() : hybridStats_; } /** - * - * *
      * Statistics related to the processing of hybrid inspect.
      * 
@@ -1652,7 +1429,6 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1664,7 +1440,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (processedBytes_ != 0L) { output.writeInt64(1, processedBytes_); } @@ -1687,16 +1464,20 @@ public int getSerializedSize() { size = 0; if (processedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, processedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, processedBytes_); } if (totalEstimatedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, totalEstimatedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, totalEstimatedBytes_); } for (int i = 0; i < infoTypeStats_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, infoTypeStats_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, infoTypeStats_.get(i)); } if (hybridStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHybridStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getHybridStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1706,20 +1487,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.privacy.dlp.v2.InspectDataSourceDetails.Result)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result other = - (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) obj; + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result other = (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) obj; - if (getProcessedBytes() != other.getProcessedBytes()) return false; - if (getTotalEstimatedBytes() != other.getTotalEstimatedBytes()) return false; - if (!getInfoTypeStatsList().equals(other.getInfoTypeStatsList())) return false; + if (getProcessedBytes() + != other.getProcessedBytes()) return false; + if (getTotalEstimatedBytes() + != other.getTotalEstimatedBytes()) return false; + if (!getInfoTypeStatsList() + .equals(other.getInfoTypeStatsList())) return false; if (hasHybridStats() != other.hasHybridStats()) return false; if (hasHybridStats()) { - if (!getHybridStats().equals(other.getHybridStats())) return false; + if (!getHybridStats() + .equals(other.getHybridStats())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1733,9 +1517,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROCESSED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProcessedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getProcessedBytes()); hash = (37 * hash) + TOTAL_ESTIMATED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalEstimatedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTotalEstimatedBytes()); if (getInfoTypeStatsCount() > 0) { hash = (37 * hash) + INFO_TYPE_STATS_FIELD_NUMBER; hash = (53 * hash) + getInfoTypeStatsList().hashCode(); @@ -1750,94 +1536,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectDataSourceDetails.Result prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1847,32 +1626,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * All result fields mentioned below are updated while the job is processing.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.Result} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectDataSourceDetails.Result) com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.newBuilder() @@ -1880,17 +1654,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInfoTypeStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1914,9 +1688,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; } @java.lang.Override @@ -1935,8 +1709,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result buildPartial() { - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result = - new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(this); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result = new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(this); int from_bitField0_ = bitField0_; result.processedBytes_ = processedBytes_; result.totalEstimatedBytes_ = totalEstimatedBytes_; @@ -1962,41 +1735,38 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.InspectDataSourceDetails.Result) { - return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails.Result)other); } else { super.mergeFrom(other); return this; @@ -2004,8 +1774,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.Result other) { - if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance()) return this; if (other.getProcessedBytes() != 0L) { setProcessedBytes(other.getProcessedBytes()); } @@ -2030,10 +1799,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu infoTypeStatsBuilder_ = null; infoTypeStats_ = other.infoTypeStats_; bitField0_ = (bitField0_ & ~0x00000001); - infoTypeStatsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInfoTypeStatsFieldBuilder() - : null; + infoTypeStatsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInfoTypeStatsFieldBuilder() : null; } else { infoTypeStatsBuilder_.addAllMessages(other.infoTypeStats_); } @@ -2061,8 +1829,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2071,19 +1838,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private long processedBytes_; + private long processedBytes_ ; /** - * - * *
        * Total size in bytes that were processed.
        * 
* * int64 processed_bytes = 1; - * * @return The processedBytes. */ @java.lang.Override @@ -2091,51 +1854,42 @@ public long getProcessedBytes() { return processedBytes_; } /** - * - * *
        * Total size in bytes that were processed.
        * 
* * int64 processed_bytes = 1; - * * @param value The processedBytes to set. * @return This builder for chaining. */ public Builder setProcessedBytes(long value) { - + processedBytes_ = value; onChanged(); return this; } /** - * - * *
        * Total size in bytes that were processed.
        * 
* * int64 processed_bytes = 1; - * * @return This builder for chaining. */ public Builder clearProcessedBytes() { - + processedBytes_ = 0L; onChanged(); return this; } - private long totalEstimatedBytes_; + private long totalEstimatedBytes_ ; /** - * - * *
        * Estimate of the number of bytes to process.
        * 
* * int64 total_estimated_bytes = 2; - * * @return The totalEstimatedBytes. */ @java.lang.Override @@ -2143,61 +1897,48 @@ public long getTotalEstimatedBytes() { return totalEstimatedBytes_; } /** - * - * *
        * Estimate of the number of bytes to process.
        * 
* * int64 total_estimated_bytes = 2; - * * @param value The totalEstimatedBytes to set. * @return This builder for chaining. */ public Builder setTotalEstimatedBytes(long value) { - + totalEstimatedBytes_ = value; onChanged(); return this; } /** - * - * *
        * Estimate of the number of bytes to process.
        * 
* * int64 total_estimated_bytes = 2; - * * @return This builder for chaining. */ public Builder clearTotalEstimatedBytes() { - + totalEstimatedBytes_ = 0L; onChanged(); return this; } private java.util.List infoTypeStats_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInfoTypeStatsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - infoTypeStats_ = - new java.util.ArrayList(infoTypeStats_); + infoTypeStats_ = new java.util.ArrayList(infoTypeStats_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeStats, - com.google.privacy.dlp.v2.InfoTypeStats.Builder, - com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder> - infoTypeStatsBuilder_; + com.google.privacy.dlp.v2.InfoTypeStats, com.google.privacy.dlp.v2.InfoTypeStats.Builder, com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder> infoTypeStatsBuilder_; /** - * - * *
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2213,8 +1954,6 @@ public java.util.List getInfoTypeStatsL
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2230,8 +1969,6 @@ public int getInfoTypeStatsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2247,8 +1984,6 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2256,7 +1991,8 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public Builder setInfoTypeStats(int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
+      public Builder setInfoTypeStats(
+          int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
         if (infoTypeStatsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2270,8 +2006,6 @@ public Builder setInfoTypeStats(int index, com.google.privacy.dlp.v2.InfoTypeSta
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2291,8 +2025,6 @@ public Builder setInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2314,8 +2046,6 @@ public Builder addInfoTypeStats(com.google.privacy.dlp.v2.InfoTypeStats value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2323,7 +2053,8 @@ public Builder addInfoTypeStats(com.google.privacy.dlp.v2.InfoTypeStats value) {
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public Builder addInfoTypeStats(int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
+      public Builder addInfoTypeStats(
+          int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
         if (infoTypeStatsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2337,8 +2068,6 @@ public Builder addInfoTypeStats(int index, com.google.privacy.dlp.v2.InfoTypeSta
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2358,8 +2087,6 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2379,8 +2106,6 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2392,7 +2117,8 @@ public Builder addAllInfoTypeStats(
           java.lang.Iterable values) {
         if (infoTypeStatsBuilder_ == null) {
           ensureInfoTypeStatsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypeStats_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, infoTypeStats_);
           onChanged();
         } else {
           infoTypeStatsBuilder_.addAllMessages(values);
@@ -2400,8 +2126,6 @@ public Builder addAllInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2420,8 +2144,6 @@ public Builder clearInfoTypeStats() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2440,8 +2162,6 @@ public Builder removeInfoTypeStats(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2449,12 +2169,11 @@ public Builder removeInfoTypeStats(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public com.google.privacy.dlp.v2.InfoTypeStats.Builder getInfoTypeStatsBuilder(int index) {
+      public com.google.privacy.dlp.v2.InfoTypeStats.Builder getInfoTypeStatsBuilder(
+          int index) {
         return getInfoTypeStatsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2462,16 +2181,14 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder getInfoTypeStatsBuilder(i
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(
+          int index) {
         if (infoTypeStatsBuilder_ == null) {
-          return infoTypeStats_.get(index);
-        } else {
+          return infoTypeStats_.get(index);  } else {
           return infoTypeStatsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2479,8 +2196,8 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public java.util.List
-          getInfoTypeStatsOrBuilderList() {
+      public java.util.List 
+           getInfoTypeStatsOrBuilderList() {
         if (infoTypeStatsBuilder_ != null) {
           return infoTypeStatsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2488,8 +2205,6 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2498,12 +2213,10 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
       public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder() {
-        return getInfoTypeStatsFieldBuilder()
-            .addBuilder(com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
+        return getInfoTypeStatsFieldBuilder().addBuilder(
+            com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2511,13 +2224,12 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder()
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(int index) {
-        return getInfoTypeStatsFieldBuilder()
-            .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
+      public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(
+          int index) {
+        return getInfoTypeStatsFieldBuilder().addBuilder(
+            index, com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2525,22 +2237,16 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(i
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public java.util.List
-          getInfoTypeStatsBuilderList() {
+      public java.util.List 
+           getInfoTypeStatsBuilderList() {
         return getInfoTypeStatsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoTypeStats,
-              com.google.privacy.dlp.v2.InfoTypeStats.Builder,
-              com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>
+          com.google.privacy.dlp.v2.InfoTypeStats, com.google.privacy.dlp.v2.InfoTypeStats.Builder, com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder> 
           getInfoTypeStatsFieldBuilder() {
         if (infoTypeStatsBuilder_ == null) {
-          infoTypeStatsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.privacy.dlp.v2.InfoTypeStats,
-                  com.google.privacy.dlp.v2.InfoTypeStats.Builder,
-                  com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>(
+          infoTypeStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.privacy.dlp.v2.InfoTypeStats, com.google.privacy.dlp.v2.InfoTypeStats.Builder, com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>(
                   infoTypeStats_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -2552,47 +2258,34 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(i
 
       private com.google.privacy.dlp.v2.HybridInspectStatistics hybridStats_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.HybridInspectStatistics,
-              com.google.privacy.dlp.v2.HybridInspectStatistics.Builder,
-              com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder>
-          hybridStatsBuilder_;
+          com.google.privacy.dlp.v2.HybridInspectStatistics, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder> hybridStatsBuilder_;
       /**
-       *
-       *
        * 
        * Statistics related to the processing of hybrid inspect.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; - * * @return Whether the hybridStats field is set. */ public boolean hasHybridStats() { return hybridStatsBuilder_ != null || hybridStats_ != null; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; - * * @return The hybridStats. */ public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() { if (hybridStatsBuilder_ == null) { - return hybridStats_ == null - ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() - : hybridStats_; + return hybridStats_ == null ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() : hybridStats_; } else { return hybridStatsBuilder_.getMessage(); } } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2613,8 +2306,6 @@ public Builder setHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistics return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2633,8 +2324,6 @@ public Builder setHybridStats( return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2645,9 +2334,7 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic if (hybridStatsBuilder_ == null) { if (hybridStats_ != null) { hybridStats_ = - com.google.privacy.dlp.v2.HybridInspectStatistics.newBuilder(hybridStats_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.HybridInspectStatistics.newBuilder(hybridStats_).mergeFrom(value).buildPartial(); } else { hybridStats_ = value; } @@ -2659,8 +2346,6 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2679,8 +2364,6 @@ public Builder clearHybridStats() { return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2688,13 +2371,11 @@ public Builder clearHybridStats() { * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; */ public com.google.privacy.dlp.v2.HybridInspectStatistics.Builder getHybridStatsBuilder() { - + onChanged(); return getHybridStatsFieldBuilder().getBuilder(); } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2705,14 +2386,11 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats if (hybridStatsBuilder_ != null) { return hybridStatsBuilder_.getMessageOrBuilder(); } else { - return hybridStats_ == null - ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() - : hybridStats_; + return hybridStats_ == null ? + com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() : hybridStats_; } } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2720,22 +2398,18 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridInspectStatistics, - com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, - com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder> + com.google.privacy.dlp.v2.HybridInspectStatistics, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder> getHybridStatsFieldBuilder() { if (hybridStatsBuilder_ == null) { - hybridStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridInspectStatistics, - com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, - com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder>( - getHybridStats(), getParentForChildren(), isClean()); + hybridStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridInspectStatistics, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder>( + getHybridStats(), + getParentForChildren(), + isClean()); hybridStats_ = null; } return hybridStatsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2748,12 +2422,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectDataSourceDetails.Result) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectDataSourceDetails.Result) private static final com.google.privacy.dlp.v2.InspectDataSourceDetails.Result DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(); } @@ -2762,16 +2436,16 @@ public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Result parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Result(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Result(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2786,20 +2460,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int REQUESTED_OPTIONS_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requestedOptions_; /** - * - * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; * @return Whether the requestedOptions field is set. */ @java.lang.Override @@ -2807,50 +2478,37 @@ public boolean hasRequestedOptions() { return requestedOptions_ != null; } /** - * - * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; * @return The requestedOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions() { - return requestedOptions_ == null - ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() - : requestedOptions_; + return requestedOptions_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() : requestedOptions_; } /** - * - * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder - getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder getRequestedOptionsOrBuilder() { return getRequestedOptions(); } public static final int RESULT_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result_; /** - * - * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; - * * @return Whether the result field is set. */ @java.lang.Override @@ -2858,25 +2516,18 @@ public boolean hasResult() { return result_ != null; } /** - * - * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; - * * @return The result. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() { - return result_ == null - ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() - : result_; + return result_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() : result_; } /** - * - * *
    * A summary of the outcome of this inspection job.
    * 
@@ -2889,7 +2540,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2901,7 +2551,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requestedOptions_ != null) { output.writeMessage(2, getRequestedOptions()); } @@ -2918,10 +2569,12 @@ public int getSerializedSize() { size = 0; if (requestedOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestedOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestedOptions()); } if (result_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2931,21 +2584,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.privacy.dlp.v2.InspectDataSourceDetails)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectDataSourceDetails other = - (com.google.privacy.dlp.v2.InspectDataSourceDetails) obj; + com.google.privacy.dlp.v2.InspectDataSourceDetails other = (com.google.privacy.dlp.v2.InspectDataSourceDetails) obj; if (hasRequestedOptions() != other.hasRequestedOptions()) return false; if (hasRequestedOptions()) { - if (!getRequestedOptions().equals(other.getRequestedOptions())) return false; + if (!getRequestedOptions() + .equals(other.getRequestedOptions())) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult().equals(other.getResult())) return false; + if (!getResult() + .equals(other.getResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2972,126 +2626,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectDataSourceDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 results of an inspect DataSource job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectDataSourceDetails) com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.class, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectDataSourceDetails.newBuilder() @@ -3099,15 +2744,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3127,9 +2773,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; } @java.lang.Override @@ -3148,8 +2794,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails buildPartial() { - com.google.privacy.dlp.v2.InspectDataSourceDetails result = - new com.google.privacy.dlp.v2.InspectDataSourceDetails(this); + com.google.privacy.dlp.v2.InspectDataSourceDetails result = new com.google.privacy.dlp.v2.InspectDataSourceDetails(this); if (requestedOptionsBuilder_ == null) { result.requestedOptions_ = requestedOptions_; } else { @@ -3168,39 +2813,38 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectDataSourceDetails) { - return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails)other); } else { super.mergeFrom(other); return this; @@ -3208,8 +2852,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails other) { - if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) return this; if (other.hasRequestedOptions()) { mergeRequestedOptions(other.getRequestedOptions()); } @@ -3235,8 +2878,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.InspectDataSourceDetails) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.InspectDataSourceDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3248,60 +2890,41 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requestedOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> - requestedOptionsBuilder_; + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> requestedOptionsBuilder_; /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; * @return Whether the requestedOptions field is set. */ public boolean hasRequestedOptions() { return requestedOptionsBuilder_ != null || requestedOptions_ != null; } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; * @return The requestedOptions. */ - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - getRequestedOptions() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions() { if (requestedOptionsBuilder_ == null) { - return requestedOptions_ == null - ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - .getDefaultInstance() - : requestedOptions_; + return requestedOptions_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() : requestedOptions_; } else { return requestedOptionsBuilder_.getMessage(); } } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ - public Builder setRequestedOptions( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { + public Builder setRequestedOptions(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { if (requestedOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3315,18 +2938,14 @@ public Builder setRequestedOptions( return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ public Builder setRequestedOptions( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder - builderForValue) { + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder builderForValue) { if (requestedOptionsBuilder_ == null) { requestedOptions_ = builderForValue.build(); onChanged(); @@ -3337,24 +2956,17 @@ public Builder setRequestedOptions( return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ - public Builder mergeRequestedOptions( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { + public Builder mergeRequestedOptions(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { if (requestedOptionsBuilder_ == null) { if (requestedOptions_ != null) { requestedOptions_ = - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder( - requestedOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder(requestedOptions_).mergeFrom(value).buildPartial(); } else { requestedOptions_ = value; } @@ -3366,14 +2978,11 @@ public Builder mergeRequestedOptions( return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ public Builder clearRequestedOptions() { if (requestedOptionsBuilder_ == null) { @@ -3387,64 +2996,48 @@ public Builder clearRequestedOptions() { return this; } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder - getRequestedOptionsBuilder() { - + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder getRequestedOptionsBuilder() { + onChanged(); return getRequestedOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder - getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder getRequestedOptionsOrBuilder() { if (requestedOptionsBuilder_ != null) { return requestedOptionsBuilder_.getMessageOrBuilder(); } else { - return requestedOptions_ == null - ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions - .getDefaultInstance() - : requestedOptions_; + return requestedOptions_ == null ? + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() : requestedOptions_; } } /** - * - * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> getRequestedOptionsFieldBuilder() { if (requestedOptionsBuilder_ == null) { - requestedOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder>( - getRequestedOptions(), getParentForChildren(), isClean()); + requestedOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder>( + getRequestedOptions(), + getParentForChildren(), + isClean()); requestedOptions_ = null; } return requestedOptionsBuilder_; @@ -3452,47 +3045,34 @@ public Builder clearRequestedOptions() { private com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> - resultBuilder_; + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> resultBuilder_; /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; - * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; - * * @return The result. */ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() { if (resultBuilder_ == null) { - return result_ == null - ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() - : result_; + return result_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3513,8 +3093,6 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3533,8 +3111,6 @@ public Builder setResult( return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3545,9 +3121,7 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re if (resultBuilder_ == null) { if (result_ != null) { result_ = - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.newBuilder(result_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -3559,8 +3133,6 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3579,8 +3151,6 @@ public Builder clearResult() { return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3588,13 +3158,11 @@ public Builder clearResult() { * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; */ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder getResultBuilder() { - + onChanged(); return getResultFieldBuilder().getBuilder(); } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3605,14 +3173,11 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null - ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() - : result_; + return result_ == null ? + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() : result_; } } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3620,24 +3185,21 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, - com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder>( - getResult(), getParentForChildren(), isClean()); + resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder>( + getResult(), + getParentForChildren(), + isClean()); result_ = null; } return resultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3647,12 +3209,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectDataSourceDetails) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectDataSourceDetails) private static final com.google.privacy.dlp.v2.InspectDataSourceDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectDataSourceDetails(); } @@ -3661,16 +3223,16 @@ public static com.google.privacy.dlp.v2.InspectDataSourceDetails getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectDataSourceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectDataSourceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectDataSourceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectDataSourceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3685,4 +3247,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectDataSourceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java index af173210..ace7119d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectDataSourceDetailsOrBuilder - extends +public interface InspectDataSourceDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectDataSourceDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; * @return Whether the requestedOptions field is set. */ boolean hasRequestedOptions(); /** - * - * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; * @return The requestedOptions. */ com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions(); /** - * - * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; - * + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; */ - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder - getRequestedOptionsOrBuilder(); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder getRequestedOptionsOrBuilder(); /** - * - * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; - * * @return Whether the result field is set. */ boolean hasResult(); /** - * - * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; - * * @return The result. */ com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult(); /** - * - * *
    * A summary of the outcome of this inspection job.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java index a1c00219..bc0ba2e4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Controls what and how to inspect for findings.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectJobConfig} */ -public final class InspectJobConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InspectJobConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectJobConfig) InspectJobConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InspectJobConfig.newBuilder() to construct. private InspectJobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InspectJobConfig() { inspectTemplateName_ = ""; actions_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private InspectJobConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InspectJobConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InspectJobConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,68 +55,61 @@ private InspectJobConfig( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.StorageConfig.Builder subBuilder = null; - if (storageConfig_ != null) { - subBuilder = storageConfig_.toBuilder(); - } - storageConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.StorageConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(storageConfig_); - storageConfig_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.StorageConfig.Builder subBuilder = null; + if (storageConfig_ != null) { + subBuilder = storageConfig_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); - } - inspectConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); - } - - break; + storageConfig_ = input.readMessage(com.google.privacy.dlp.v2.StorageConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(storageConfig_); + storageConfig_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - inspectTemplateName_ = s; - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); + } + inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - actions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - actions_.add( - input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry)); - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + inspectTemplateName_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + actions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + actions_.add( + input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); @@ -142,33 +118,27 @@ private InspectJobConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectJobConfig.class, - com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); + com.google.privacy.dlp.v2.InspectJobConfig.class, com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); } public static final int STORAGE_CONFIG_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.StorageConfig storageConfig_; /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; - * * @return Whether the storageConfig field is set. */ @java.lang.Override @@ -176,25 +146,18 @@ public boolean hasStorageConfig() { return storageConfig_ != null; } /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; - * * @return The storageConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() { - return storageConfig_ == null - ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() - : storageConfig_; + return storageConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() : storageConfig_; } /** - * - * *
    * The data to scan.
    * 
@@ -209,14 +172,11 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** - * - * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -224,25 +184,18 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } /** - * - * *
    * How and what to scan for.
    * 
@@ -257,8 +210,6 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object inspectTemplateName_; /** - * - * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -266,7 +217,6 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
    * 
* * string inspect_template_name = 3; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -275,15 +225,14 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** - * - * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -291,15 +240,16 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 3; - * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -310,8 +260,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { public static final int ACTIONS_FIELD_NUMBER = 4; private java.util.List actions_; /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -323,8 +271,6 @@ public java.util.List getActionsList() { return actions_; } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -332,13 +278,11 @@ public java.util.List getActionsList() { * repeated .google.privacy.dlp.v2.Action actions = 4; */ @java.lang.Override - public java.util.List + public java.util.List getActionsOrBuilderList() { return actions_; } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -350,8 +294,6 @@ public int getActionsCount() { return actions_.size(); } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -363,8 +305,6 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { return actions_.get(index); } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -372,12 +312,12 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { * repeated .google.privacy.dlp.v2.Action actions = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) { + public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( + int index) { return actions_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +329,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (storageConfig_ != null) { output.writeMessage(1, getStorageConfig()); } @@ -412,16 +353,19 @@ public int getSerializedSize() { size = 0; if (storageConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStorageConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStorageConfig()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInspectConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inspectTemplateName_); } for (int i = 0; i < actions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, actions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, actions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,24 +375,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.InspectJobConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectJobConfig other = - (com.google.privacy.dlp.v2.InspectJobConfig) obj; + com.google.privacy.dlp.v2.InspectJobConfig other = (com.google.privacy.dlp.v2.InspectJobConfig) obj; if (hasStorageConfig() != other.hasStorageConfig()) return false; if (hasStorageConfig()) { - if (!getStorageConfig().equals(other.getStorageConfig())) return false; + if (!getStorageConfig() + .equals(other.getStorageConfig())) return false; } if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } - if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; - if (!getActionsList().equals(other.getActionsList())) return false; + if (!getInspectTemplateName() + .equals(other.getInspectTemplateName())) return false; + if (!getActionsList() + .equals(other.getActionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -479,127 +426,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectJobConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectJobConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectJobConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Controls what and how to inspect for findings.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectJobConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectJobConfig) com.google.privacy.dlp.v2.InspectJobConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectJobConfig.class, - com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); + com.google.privacy.dlp.v2.InspectJobConfig.class, com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectJobConfig.newBuilder() @@ -607,17 +545,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getActionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -645,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; } @java.lang.Override @@ -666,8 +604,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig buildPartial() { - com.google.privacy.dlp.v2.InspectJobConfig result = - new com.google.privacy.dlp.v2.InspectJobConfig(this); + com.google.privacy.dlp.v2.InspectJobConfig result = new com.google.privacy.dlp.v2.InspectJobConfig(this); int from_bitField0_ = bitField0_; if (storageConfigBuilder_ == null) { result.storageConfig_ = storageConfig_; @@ -697,39 +634,38 @@ public com.google.privacy.dlp.v2.InspectJobConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectJobConfig) { - return mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig)other); } else { super.mergeFrom(other); return this; @@ -766,10 +702,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectJobConfig other) { actionsBuilder_ = null; actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); - actionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getActionsFieldBuilder() - : null; + actionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getActionsFieldBuilder() : null; } else { actionsBuilder_.addAllMessages(other.actions_); } @@ -803,52 +738,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.privacy.dlp.v2.StorageConfig storageConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig, - com.google.privacy.dlp.v2.StorageConfig.Builder, - com.google.privacy.dlp.v2.StorageConfigOrBuilder> - storageConfigBuilder_; + com.google.privacy.dlp.v2.StorageConfig, com.google.privacy.dlp.v2.StorageConfig.Builder, com.google.privacy.dlp.v2.StorageConfigOrBuilder> storageConfigBuilder_; /** - * - * *
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; - * * @return Whether the storageConfig field is set. */ public boolean hasStorageConfig() { return storageConfigBuilder_ != null || storageConfig_ != null; } /** - * - * *
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; - * * @return The storageConfig. */ public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() { if (storageConfigBuilder_ == null) { - return storageConfig_ == null - ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() - : storageConfig_; + return storageConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() : storageConfig_; } else { return storageConfigBuilder_.getMessage(); } } /** - * - * *
      * The data to scan.
      * 
@@ -869,8 +790,6 @@ public Builder setStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) { return this; } /** - * - * *
      * The data to scan.
      * 
@@ -889,8 +808,6 @@ public Builder setStorageConfig( return this; } /** - * - * *
      * The data to scan.
      * 
@@ -901,9 +818,7 @@ public Builder mergeStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) if (storageConfigBuilder_ == null) { if (storageConfig_ != null) { storageConfig_ = - com.google.privacy.dlp.v2.StorageConfig.newBuilder(storageConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.StorageConfig.newBuilder(storageConfig_).mergeFrom(value).buildPartial(); } else { storageConfig_ = value; } @@ -915,8 +830,6 @@ public Builder mergeStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) return this; } /** - * - * *
      * The data to scan.
      * 
@@ -935,8 +848,6 @@ public Builder clearStorageConfig() { return this; } /** - * - * *
      * The data to scan.
      * 
@@ -944,13 +855,11 @@ public Builder clearStorageConfig() { * .google.privacy.dlp.v2.StorageConfig storage_config = 1; */ public com.google.privacy.dlp.v2.StorageConfig.Builder getStorageConfigBuilder() { - + onChanged(); return getStorageConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The data to scan.
      * 
@@ -961,14 +870,11 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde if (storageConfigBuilder_ != null) { return storageConfigBuilder_.getMessageOrBuilder(); } else { - return storageConfig_ == null - ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() - : storageConfig_; + return storageConfig_ == null ? + com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() : storageConfig_; } } /** - * - * *
      * The data to scan.
      * 
@@ -976,17 +882,14 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde * .google.privacy.dlp.v2.StorageConfig storage_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig, - com.google.privacy.dlp.v2.StorageConfig.Builder, - com.google.privacy.dlp.v2.StorageConfigOrBuilder> + com.google.privacy.dlp.v2.StorageConfig, com.google.privacy.dlp.v2.StorageConfig.Builder, com.google.privacy.dlp.v2.StorageConfigOrBuilder> getStorageConfigFieldBuilder() { if (storageConfigBuilder_ == null) { - storageConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig, - com.google.privacy.dlp.v2.StorageConfig.Builder, - com.google.privacy.dlp.v2.StorageConfigOrBuilder>( - getStorageConfig(), getParentForChildren(), isClean()); + storageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageConfig, com.google.privacy.dlp.v2.StorageConfig.Builder, com.google.privacy.dlp.v2.StorageConfigOrBuilder>( + getStorageConfig(), + getParentForChildren(), + isClean()); storageConfig_ = null; } return storageConfigBuilder_; @@ -994,47 +897,34 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> - inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; /** - * - * *
      * How and what to scan for.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * How and what to scan for.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** - * - * *
      * How and what to scan for.
      * 
@@ -1055,8 +945,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1075,8 +963,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1087,9 +973,7 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); } else { inspectConfig_ = value; } @@ -1101,8 +985,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1121,8 +1003,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1130,13 +1010,11 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * How and what to scan for.
      * 
@@ -1147,14 +1025,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? + com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } } /** - * - * *
      * How and what to scan for.
      * 
@@ -1162,17 +1037,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), getParentForChildren(), isClean()); + inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), + getParentForChildren(), + isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; @@ -1180,8 +1052,6 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde private java.lang.Object inspectTemplateName_ = ""; /** - * - * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1189,13 +1059,13 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
      * 
* * string inspect_template_name = 3; - * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1204,8 +1074,6 @@ public java.lang.String getInspectTemplateName() { } } /** - * - * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1213,14 +1081,15 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 3; - * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1228,8 +1097,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { } } /** - * - * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1237,22 +1104,20 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
      * 
* * string inspect_template_name = 3; - * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName(java.lang.String value) { + public Builder setInspectTemplateName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** - * - * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1260,18 +1125,15 @@ public Builder setInspectTemplateName(java.lang.String value) {
      * 
* * string inspect_template_name = 3; - * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** - * - * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1279,40 +1141,34 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 3; - * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; } private java.util.List actions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { actions_ = new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, - com.google.privacy.dlp.v2.Action.Builder, - com.google.privacy.dlp.v2.ActionOrBuilder> - actionsBuilder_; + com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> actionsBuilder_; /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1327,8 +1183,6 @@ public java.util.List getActionsList() { } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1343,8 +1197,6 @@ public int getActionsCount() { } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1359,15 +1211,14 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) { + public Builder setActions( + int index, com.google.privacy.dlp.v2.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1381,15 +1232,14 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { + public Builder setActions( + int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.set(index, builderForValue.build()); @@ -1400,8 +1250,6 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder bu return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1422,15 +1270,14 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) { + public Builder addActions( + int index, com.google.privacy.dlp.v2.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1444,15 +1291,14 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForValue) { + public Builder addActions( + com.google.privacy.dlp.v2.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); @@ -1463,15 +1309,14 @@ public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForVal return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { + public Builder addActions( + int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(index, builderForValue.build()); @@ -1482,8 +1327,6 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder bu return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1494,7 +1337,8 @@ public Builder addAllActions( java.lang.Iterable values) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, actions_); onChanged(); } else { actionsBuilder_.addAllMessages(values); @@ -1502,8 +1346,6 @@ public Builder addAllActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1521,8 +1363,6 @@ public Builder clearActions() { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1540,44 +1380,39 @@ public Builder removeActions(int index) { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(int index) { + public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder( + int index) { return getActionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) { + public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( + int index) { if (actionsBuilder_ == null) { - return actions_.get(index); - } else { + return actions_.get(index); } else { return actionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public java.util.List - getActionsOrBuilderList() { + public java.util.List + getActionsOrBuilderList() { if (actionsBuilder_ != null) { return actionsBuilder_.getMessageOrBuilderList(); } else { @@ -1585,8 +1420,6 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1594,54 +1427,49 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) * repeated .google.privacy.dlp.v2.Action actions = 4; */ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() { - return getActionsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Action.getDefaultInstance()); + return getActionsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Action.getDefaultInstance()); } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(int index) { - return getActionsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Action.getDefaultInstance()); + public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder( + int index) { + return getActionsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Action.getDefaultInstance()); } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public java.util.List getActionsBuilderList() { + public java.util.List + getActionsBuilderList() { return getActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, - com.google.privacy.dlp.v2.Action.Builder, - com.google.privacy.dlp.v2.ActionOrBuilder> + com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> getActionsFieldBuilder() { if (actionsBuilder_ == null) { - actionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, - com.google.privacy.dlp.v2.Action.Builder, - com.google.privacy.dlp.v2.ActionOrBuilder>( - actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder>( + actions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); actions_ = null; } return actionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1651,12 +1479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectJobConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectJobConfig) private static final com.google.privacy.dlp.v2.InspectJobConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectJobConfig(); } @@ -1665,16 +1493,16 @@ public static com.google.privacy.dlp.v2.InspectJobConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectJobConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectJobConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectJobConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectJobConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1689,4 +1517,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectJobConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java similarity index 77% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java index f7e55c5e..00a4054b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectJobConfigOrBuilder - extends +public interface InspectJobConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectJobConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; - * * @return Whether the storageConfig field is set. */ boolean hasStorageConfig(); /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; - * * @return The storageConfig. */ com.google.privacy.dlp.v2.StorageConfig getStorageConfig(); /** - * - * *
    * The data to scan.
    * 
@@ -59,32 +35,24 @@ public interface InspectJobConfigOrBuilder com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilder(); /** - * - * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * How and what to scan for.
    * 
@@ -94,8 +62,6 @@ public interface InspectJobConfigOrBuilder com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); /** - * - * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -103,13 +69,10 @@ public interface InspectJobConfigOrBuilder
    * 
* * string inspect_template_name = 3; - * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** - * - * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -117,24 +80,21 @@ public interface InspectJobConfigOrBuilder
    * 
* * string inspect_template_name = 3; - * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString getInspectTemplateNameBytes(); + com.google.protobuf.ByteString + getInspectTemplateNameBytes(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - java.util.List getActionsList(); + java.util.List + getActionsList(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -143,8 +103,6 @@ public interface InspectJobConfigOrBuilder */ com.google.privacy.dlp.v2.Action getActions(int index); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -153,23 +111,21 @@ public interface InspectJobConfigOrBuilder */ int getActionsCount(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - java.util.List getActionsOrBuilderList(); + java.util.List + getActionsOrBuilderList(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index); + com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java index 52016e8c..1cb1578c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * All the findings for a single scanned item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectResult} */ -public final class InspectResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InspectResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectResult) InspectResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InspectResult.newBuilder() to construct. private InspectResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InspectResult() { findings_ = 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 InspectResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InspectResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,34 +54,34 @@ private InspectResult( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - findings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - findings_.add( - input.readMessage(com.google.privacy.dlp.v2.Finding.parser(), extensionRegistry)); - break; - } - case 16: - { - findingsTruncated_ = input.readBool(); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + findings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + findings_.add( + input.readMessage(com.google.privacy.dlp.v2.Finding.parser(), extensionRegistry)); + break; + } + case 16: { + + findingsTruncated_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { findings_ = java.util.Collections.unmodifiableList(findings_); @@ -107,27 +90,22 @@ private InspectResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectResult.class, - com.google.privacy.dlp.v2.InspectResult.Builder.class); + com.google.privacy.dlp.v2.InspectResult.class, com.google.privacy.dlp.v2.InspectResult.Builder.class); } public static final int FINDINGS_FIELD_NUMBER = 1; private java.util.List findings_; /** - * - * *
    * List of findings for an item.
    * 
@@ -139,8 +117,6 @@ public java.util.List getFindingsList() { return findings_; } /** - * - * *
    * List of findings for an item.
    * 
@@ -148,13 +124,11 @@ public java.util.List getFindingsList() { * repeated .google.privacy.dlp.v2.Finding findings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFindingsOrBuilderList() { return findings_; } /** - * - * *
    * List of findings for an item.
    * 
@@ -166,8 +140,6 @@ public int getFindingsCount() { return findings_.size(); } /** - * - * *
    * List of findings for an item.
    * 
@@ -179,8 +151,6 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { return findings_.get(index); } /** - * - * *
    * List of findings for an item.
    * 
@@ -188,15 +158,14 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { * repeated .google.privacy.dlp.v2.Finding findings = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index) { + public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( + int index) { return findings_.get(index); } public static final int FINDINGS_TRUNCATED_FIELD_NUMBER = 2; private boolean findingsTruncated_; /** - * - * *
    * If true, then this item might have more findings than were returned,
    * and the findings returned are an arbitrary subset of all findings.
@@ -207,7 +176,6 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index
    * 
* * bool findings_truncated = 2; - * * @return The findingsTruncated. */ @java.lang.Override @@ -216,7 +184,6 @@ public boolean getFindingsTruncated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +195,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < findings_.size(); i++) { output.writeMessage(1, findings_.get(i)); } @@ -245,10 +213,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < findings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, findings_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, findings_.get(i)); } if (findingsTruncated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, findingsTruncated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, findingsTruncated_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -258,15 +228,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.privacy.dlp.v2.InspectResult)) { return super.equals(obj); } com.google.privacy.dlp.v2.InspectResult other = (com.google.privacy.dlp.v2.InspectResult) obj; - if (!getFindingsList().equals(other.getFindingsList())) return false; - if (getFindingsTruncated() != other.getFindingsTruncated()) return false; + if (!getFindingsList() + .equals(other.getFindingsList())) return false; + if (getFindingsTruncated() + != other.getFindingsTruncated()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -283,133 +255,125 @@ public int hashCode() { hash = (53 * hash) + getFindingsList().hashCode(); } hash = (37 * hash) + FINDINGS_TRUNCATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFindingsTruncated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFindingsTruncated()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.InspectResult parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * All the findings for a single scanned item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectResult) com.google.privacy.dlp.v2.InspectResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectResult.class, - com.google.privacy.dlp.v2.InspectResult.Builder.class); + com.google.privacy.dlp.v2.InspectResult.class, com.google.privacy.dlp.v2.InspectResult.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectResult.newBuilder() @@ -417,17 +381,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFindingsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_descriptor; } @java.lang.Override @@ -464,8 +428,7 @@ public com.google.privacy.dlp.v2.InspectResult build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectResult buildPartial() { - com.google.privacy.dlp.v2.InspectResult result = - new com.google.privacy.dlp.v2.InspectResult(this); + com.google.privacy.dlp.v2.InspectResult result = new com.google.privacy.dlp.v2.InspectResult(this); int from_bitField0_ = bitField0_; if (findingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -485,39 +448,38 @@ public com.google.privacy.dlp.v2.InspectResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectResult) { - return mergeFrom((com.google.privacy.dlp.v2.InspectResult) other); + return mergeFrom((com.google.privacy.dlp.v2.InspectResult)other); } else { super.mergeFrom(other); return this; @@ -544,10 +506,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectResult other) { findingsBuilder_ = null; findings_ = other.findings_; bitField0_ = (bitField0_ & ~0x00000001); - findingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFindingsFieldBuilder() - : null; + findingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFindingsFieldBuilder() : null; } else { findingsBuilder_.addAllMessages(other.findings_); } @@ -584,28 +545,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List findings_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { findings_ = new java.util.ArrayList(findings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Finding, - com.google.privacy.dlp.v2.Finding.Builder, - com.google.privacy.dlp.v2.FindingOrBuilder> - findingsBuilder_; + com.google.privacy.dlp.v2.Finding, com.google.privacy.dlp.v2.Finding.Builder, com.google.privacy.dlp.v2.FindingOrBuilder> findingsBuilder_; /** - * - * *
      * List of findings for an item.
      * 
@@ -620,8 +574,6 @@ public java.util.List getFindingsList() { } } /** - * - * *
      * List of findings for an item.
      * 
@@ -636,8 +588,6 @@ public int getFindingsCount() { } } /** - * - * *
      * List of findings for an item.
      * 
@@ -652,15 +602,14 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { } } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public Builder setFindings(int index, com.google.privacy.dlp.v2.Finding value) { + public Builder setFindings( + int index, com.google.privacy.dlp.v2.Finding value) { if (findingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -674,8 +623,6 @@ public Builder setFindings(int index, com.google.privacy.dlp.v2.Finding value) { return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -694,8 +641,6 @@ public Builder setFindings( return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -716,15 +661,14 @@ public Builder addFindings(com.google.privacy.dlp.v2.Finding value) { return this; } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public Builder addFindings(int index, com.google.privacy.dlp.v2.Finding value) { + public Builder addFindings( + int index, com.google.privacy.dlp.v2.Finding value) { if (findingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -738,15 +682,14 @@ public Builder addFindings(int index, com.google.privacy.dlp.v2.Finding value) { return this; } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public Builder addFindings(com.google.privacy.dlp.v2.Finding.Builder builderForValue) { + public Builder addFindings( + com.google.privacy.dlp.v2.Finding.Builder builderForValue) { if (findingsBuilder_ == null) { ensureFindingsIsMutable(); findings_.add(builderForValue.build()); @@ -757,8 +700,6 @@ public Builder addFindings(com.google.privacy.dlp.v2.Finding.Builder builderForV return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -777,8 +718,6 @@ public Builder addFindings( return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -789,7 +728,8 @@ public Builder addAllFindings( java.lang.Iterable values) { if (findingsBuilder_ == null) { ensureFindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, findings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, findings_); onChanged(); } else { findingsBuilder_.addAllMessages(values); @@ -797,8 +737,6 @@ public Builder addAllFindings( return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -816,8 +754,6 @@ public Builder clearFindings() { return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -835,44 +771,39 @@ public Builder removeFindings(int index) { return this; } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public com.google.privacy.dlp.v2.Finding.Builder getFindingsBuilder(int index) { + public com.google.privacy.dlp.v2.Finding.Builder getFindingsBuilder( + int index) { return getFindingsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index) { + public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( + int index) { if (findingsBuilder_ == null) { - return findings_.get(index); - } else { + return findings_.get(index); } else { return findingsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public java.util.List - getFindingsOrBuilderList() { + public java.util.List + getFindingsOrBuilderList() { if (findingsBuilder_ != null) { return findingsBuilder_.getMessageOrBuilderList(); } else { @@ -880,8 +811,6 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index } } /** - * - * *
      * List of findings for an item.
      * 
@@ -889,56 +818,49 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index * repeated .google.privacy.dlp.v2.Finding findings = 1; */ public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder() { - return getFindingsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Finding.getDefaultInstance()); + return getFindingsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Finding.getDefaultInstance()); } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder(int index) { - return getFindingsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Finding.getDefaultInstance()); + public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder( + int index) { + return getFindingsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Finding.getDefaultInstance()); } /** - * - * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public java.util.List getFindingsBuilderList() { + public java.util.List + getFindingsBuilderList() { return getFindingsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Finding, - com.google.privacy.dlp.v2.Finding.Builder, - com.google.privacy.dlp.v2.FindingOrBuilder> + com.google.privacy.dlp.v2.Finding, com.google.privacy.dlp.v2.Finding.Builder, com.google.privacy.dlp.v2.FindingOrBuilder> getFindingsFieldBuilder() { if (findingsBuilder_ == null) { - findingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Finding, - com.google.privacy.dlp.v2.Finding.Builder, - com.google.privacy.dlp.v2.FindingOrBuilder>( - findings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + findingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Finding, com.google.privacy.dlp.v2.Finding.Builder, com.google.privacy.dlp.v2.FindingOrBuilder>( + findings_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); findings_ = null; } return findingsBuilder_; } - private boolean findingsTruncated_; + private boolean findingsTruncated_ ; /** - * - * *
      * If true, then this item might have more findings than were returned,
      * and the findings returned are an arbitrary subset of all findings.
@@ -949,7 +871,6 @@ public java.util.List getFindingsBuil
      * 
* * bool findings_truncated = 2; - * * @return The findingsTruncated. */ @java.lang.Override @@ -957,8 +878,6 @@ public boolean getFindingsTruncated() { return findingsTruncated_; } /** - * - * *
      * If true, then this item might have more findings than were returned,
      * and the findings returned are an arbitrary subset of all findings.
@@ -969,19 +888,16 @@ public boolean getFindingsTruncated() {
      * 
* * bool findings_truncated = 2; - * * @param value The findingsTruncated to set. * @return This builder for chaining. */ public Builder setFindingsTruncated(boolean value) { - + findingsTruncated_ = value; onChanged(); return this; } /** - * - * *
      * If true, then this item might have more findings than were returned,
      * and the findings returned are an arbitrary subset of all findings.
@@ -992,18 +908,17 @@ public Builder setFindingsTruncated(boolean value) {
      * 
* * bool findings_truncated = 2; - * * @return This builder for chaining. */ public Builder clearFindingsTruncated() { - + findingsTruncated_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1013,12 +928,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectResult) private static final com.google.privacy.dlp.v2.InspectResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectResult(); } @@ -1027,16 +942,16 @@ public static com.google.privacy.dlp.v2.InspectResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1051,4 +966,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java index fc22e3d6..0bd251f5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectResultOrBuilder - extends +public interface InspectResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of findings for an item.
    * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - java.util.List getFindingsList(); + java.util.List + getFindingsList(); /** - * - * *
    * List of findings for an item.
    * 
@@ -44,8 +25,6 @@ public interface InspectResultOrBuilder */ com.google.privacy.dlp.v2.Finding getFindings(int index); /** - * - * *
    * List of findings for an item.
    * 
@@ -54,29 +33,25 @@ public interface InspectResultOrBuilder */ int getFindingsCount(); /** - * - * *
    * List of findings for an item.
    * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - java.util.List getFindingsOrBuilderList(); + java.util.List + getFindingsOrBuilderList(); /** - * - * *
    * List of findings for an item.
    * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index); + com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( + int index); /** - * - * *
    * If true, then this item might have more findings than were returned,
    * and the findings returned are an arbitrary subset of all findings.
@@ -87,7 +62,6 @@ public interface InspectResultOrBuilder
    * 
* * bool findings_truncated = 2; - * * @return The findingsTruncated. */ boolean getFindingsTruncated(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java index b4693f2f..b1fd64e0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The inspectTemplate contains a configuration (set of types of sensitive data
  * to be detected) to be used anywhere you otherwise would normally specify
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectTemplate}
  */
-public final class InspectTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InspectTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectTemplate)
     InspectTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InspectTemplate.newBuilder() to construct.
   private InspectTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InspectTemplate() {
     name_ = "";
     displayName_ = "";
@@ -48,15 +30,16 @@ private InspectTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InspectTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InspectTemplate(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,112 +58,98 @@ private InspectTemplate(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 50: {
+            com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
+            if (inspectConfig_ != null) {
+              subBuilder = inspectConfig_.toBuilder();
             }
-          case 50:
-            {
-              com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
-              if (inspectConfig_ != null) {
-                subBuilder = inspectConfig_.toBuilder();
-              }
-              inspectConfig_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(inspectConfig_);
-                inspectConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(inspectConfig_);
+              inspectConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectTemplate.class,
-            com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
+            com.google.privacy.dlp.v2.InspectTemplate.class, com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -189,7 +158,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -198,15 +166,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -215,15 +182,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -234,14 +202,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -250,29 +215,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; } } /** - * - * *
    * Display name (max 256 chars).
    * 
* * 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 { @@ -283,14 +248,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Short description (max 256 chars).
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -299,29 +261,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; } } /** - * - * *
    * Short description (max 256 chars).
    * 
* * 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 { @@ -332,15 +294,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -348,15 +306,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -364,14 +318,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -381,15 +332,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -397,15 +344,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -413,14 +356,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -430,14 +370,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int INSPECT_CONFIG_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** - * - * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -445,25 +382,18 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; - * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } /** - * - * *
    * The core content of the template. Configuration of the scanning process.
    * 
@@ -476,7 +406,6 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -488,7 +417,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -526,13 +456,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getInspectConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -542,28 +475,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.InspectTemplate)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectTemplate other = - (com.google.privacy.dlp.v2.InspectTemplate) obj; + com.google.privacy.dlp.v2.InspectTemplate other = (com.google.privacy.dlp.v2.InspectTemplate) 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 (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 (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -599,104 +537,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectTemplate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 inspectTemplate contains a configuration (set of types of sensitive data
    * to be detected) to be used anywhere you otherwise would normally specify
@@ -706,23 +637,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectTemplate}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectTemplate)
       com.google.privacy.dlp.v2.InspectTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectTemplate.class,
-              com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
+              com.google.privacy.dlp.v2.InspectTemplate.class, com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectTemplate.newBuilder()
@@ -730,15 +659,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -770,9 +700,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -791,8 +721,7 @@ public com.google.privacy.dlp.v2.InspectTemplate build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectTemplate buildPartial() {
-      com.google.privacy.dlp.v2.InspectTemplate result =
-          new com.google.privacy.dlp.v2.InspectTemplate(this);
+      com.google.privacy.dlp.v2.InspectTemplate result = new com.google.privacy.dlp.v2.InspectTemplate(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -819,39 +748,38 @@ public com.google.privacy.dlp.v2.InspectTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectTemplate) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectTemplate) other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -912,8 +840,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -922,13 +848,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -937,8 +863,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -947,14 +871,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -962,8 +887,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -972,22 +895,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -996,18 +917,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -1016,16 +934,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1033,20 +951,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name (max 256 chars).
      * 
* * 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; @@ -1055,21 +971,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name (max 256 chars).
      * 
* * 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 { @@ -1077,61 +992,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1139,20 +1047,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Short description (max 256 chars).
      * 
* * 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; @@ -1161,21 +1067,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Short description (max 256 chars).
      * 
* * 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 { @@ -1183,61 +1088,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Short description (max 256 chars).
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Short description (max 256 chars).
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Short description (max 256 chars).
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1245,58 +1143,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1312,17 +1191,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1333,21 +1209,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1359,15 +1231,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1381,64 +1249,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.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_; @@ -1446,58 +1298,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1513,17 +1346,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,21 +1364,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1560,15 +1386,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1582,64 +1404,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp 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> 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_; @@ -1647,47 +1453,34 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> - inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; - * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1708,8 +1501,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1728,8 +1519,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1740,9 +1529,7 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); } else { inspectConfig_ = value; } @@ -1754,8 +1541,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1774,8 +1559,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1783,13 +1566,11 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1800,14 +1581,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? + com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1815,24 +1593,21 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), getParentForChildren(), isClean()); + inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), + getParentForChildren(), + isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1842,12 +1617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectTemplate) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectTemplate) private static final com.google.privacy.dlp.v2.InspectTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectTemplate(); } @@ -1856,16 +1631,16 @@ public static com.google.privacy.dlp.v2.InspectTemplate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectTemplate(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1880,4 +1655,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java similarity index 96% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java index 750d1b56..299dcd11 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java @@ -22,6 +22,8 @@ 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; @@ -246,6 +248,26 @@ public static InspectTemplateName parse(String formattedString) { throw new ValidationException("InspectTemplateName.parse: formattedString not in valid format"); } + 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 (InspectTemplateName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + public static boolean isParsableFrom(String formattedString) { return ORGANIZATION_INSPECT_TEMPLATE.matches(formattedString) || PROJECT_INSPECT_TEMPLATE.matches(formattedString) diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java index 249b0048..ad84e9e8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectTemplateOrBuilder - extends +public interface InspectTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -34,13 +16,10 @@ public interface InspectTemplateOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -49,164 +28,124 @@ public interface InspectTemplateOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Short description (max 256 chars).
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Short description (max 256 chars).
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * The core content of the template. Configuration of the scanning process.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java index b3beb83d..3164249c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A single inspection rule to be applied to infoTypes, specified in
  * `InspectionRuleSet`.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectionRule}
  */
-public final class InspectionRule extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InspectionRule extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectionRule)
     InspectionRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InspectionRule.newBuilder() to construct.
   private InspectionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private InspectionRule() {}
+  private InspectionRule() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InspectionRule();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InspectionRule(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,89 +53,75 @@ private InspectionRule(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder
-                  subBuilder = null;
-              if (typeCase_ == 1) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_)
-                        .toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 1;
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder subBuilder = null;
+            if (typeCase_ == 1) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.ExclusionRule.Builder subBuilder = null;
-              if (typeCase_ == 2) {
-                subBuilder = ((com.google.privacy.dlp.v2.ExclusionRule) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.ExclusionRule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExclusionRule) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 2;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
+              type_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            typeCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.ExclusionRule.Builder subBuilder = null;
+            if (typeCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.ExclusionRule) type_).toBuilder();
+            }
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.ExclusionRule.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExclusionRule) type_);
+              type_ = subBuilder.buildPartial();
             }
+            typeCase_ = 2;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectionRule.class,
-            com.google.privacy.dlp.v2.InspectionRule.Builder.class);
+            com.google.privacy.dlp.v2.InspectionRule.class, com.google.privacy.dlp.v2.InspectionRule.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
-
   public enum TypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     HOTWORD_RULE(1),
     EXCLUSION_RULE(2),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -167,36 +137,30 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return HOTWORD_RULE;
-        case 2:
-          return EXCLUSION_RULE;
-        case 0:
-          return TYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return HOTWORD_RULE;
+        case 2: return EXCLUSION_RULE;
+        case 0: return TYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase getTypeCase() {
-    return TypeCase.forNumber(typeCase_);
+  public TypeCase
+  getTypeCase() {
+    return TypeCase.forNumber(
+        typeCase_);
   }
 
   public static final int HOTWORD_RULE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -204,26 +168,21 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** - * - * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * * @return The hotwordRule. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } /** - * - * *
    * Hotword-based detection rule.
    * 
@@ -231,24 +190,20 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder - getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } public static final int EXCLUSION_RULE_FIELD_NUMBER = 2; /** - * - * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return Whether the exclusionRule field is set. */ @java.lang.Override @@ -256,26 +211,21 @@ public boolean hasExclusionRule() { return typeCase_ == 2; } /** - * - * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return The exclusionRule. */ @java.lang.Override public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.ExclusionRule) type_; + return (com.google.privacy.dlp.v2.ExclusionRule) type_; } return com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance(); } /** - * - * *
    * Exclusion rule.
    * 
@@ -285,13 +235,12 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { @java.lang.Override public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.ExclusionRule) type_; + return (com.google.privacy.dlp.v2.ExclusionRule) type_; } return com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,10 +252,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage( - 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.ExclusionRule) type_); @@ -321,14 +270,12 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.ExclusionRule) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.ExclusionRule) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -338,7 +285,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.privacy.dlp.v2.InspectionRule)) { return super.equals(obj); @@ -348,10 +295,12 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getHotwordRule().equals(other.getHotwordRule())) return false; + if (!getHotwordRule() + .equals(other.getHotwordRule())) return false; break; case 2: - if (!getExclusionRule().equals(other.getExclusionRule())) return false; + if (!getExclusionRule() + .equals(other.getExclusionRule())) return false; break; case 0: default: @@ -384,104 +333,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectionRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectionRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectionRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 single inspection rule to be applied to infoTypes, specified in
    * `InspectionRuleSet`.
@@ -489,23 +431,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectionRule}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectionRule)
       com.google.privacy.dlp.v2.InspectionRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectionRule.class,
-              com.google.privacy.dlp.v2.InspectionRule.Builder.class);
+              com.google.privacy.dlp.v2.InspectionRule.class, com.google.privacy.dlp.v2.InspectionRule.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectionRule.newBuilder()
@@ -513,15 +453,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -531,9 +472,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
     }
 
     @java.lang.Override
@@ -552,8 +493,7 @@ public com.google.privacy.dlp.v2.InspectionRule build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectionRule buildPartial() {
-      com.google.privacy.dlp.v2.InspectionRule result =
-          new com.google.privacy.dlp.v2.InspectionRule(this);
+      com.google.privacy.dlp.v2.InspectionRule result = new com.google.privacy.dlp.v2.InspectionRule(this);
       if (typeCase_ == 1) {
         if (hotwordRuleBuilder_ == null) {
           result.type_ = type_;
@@ -577,39 +517,38 @@ public com.google.privacy.dlp.v2.InspectionRule buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectionRule) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectionRule) other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectionRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -619,20 +558,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.InspectionRule other) {
       if (other == com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()) return this;
       switch (other.getTypeCase()) {
-        case HOTWORD_RULE:
-          {
-            mergeHotwordRule(other.getHotwordRule());
-            break;
-          }
-        case EXCLUSION_RULE:
-          {
-            mergeExclusionRule(other.getExclusionRule());
-            break;
-          }
-        case TYPE_NOT_SET:
-          {
-            break;
-          }
+        case HOTWORD_RULE: {
+          mergeHotwordRule(other.getHotwordRule());
+          break;
+        }
+        case EXCLUSION_RULE: {
+          mergeExclusionRule(other.getExclusionRule());
+          break;
+        }
+        case TYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -662,12 +598,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+        getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public Builder clearType() {
@@ -677,21 +613,15 @@ public Builder clearType() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule,
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder,
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>
-        hotwordRuleBuilder_;
+        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> hotwordRuleBuilder_;
     /**
-     *
-     *
      * 
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -699,15 +629,11 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; * @return The hotwordRule. */ @java.lang.Override @@ -716,28 +642,22 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } else { if (typeCase_ == 1) { return hotwordRuleBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - public Builder setHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder setHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,18 +671,14 @@ public Builder setHotwordRule( return this; } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ public Builder setHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder - builderForValue) { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder builderForValue) { if (hotwordRuleBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -773,27 +689,18 @@ public Builder setHotwordRule( return this; } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - public Builder mergeHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder mergeHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { - if (typeCase_ == 1 - && type_ - != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -808,14 +715,11 @@ public Builder mergeHotwordRule( return this; } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ public Builder clearHotwordRule() { if (hotwordRuleBuilder_ == null) { @@ -834,93 +738,67 @@ public Builder clearHotwordRule() { return this; } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder - getHotwordRuleBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder getHotwordRuleBuilder() { return getHotwordRuleFieldBuilder().getBuilder(); } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder - getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { if ((typeCase_ == 1) && (hotwordRuleBuilder_ != null)) { return hotwordRuleBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } } /** - * - * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> getHotwordRuleFieldBuilder() { if (hotwordRuleBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule - .getDefaultInstance(); + type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } - hotwordRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( + hotwordRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return hotwordRuleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExclusionRule, - com.google.privacy.dlp.v2.ExclusionRule.Builder, - com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> - exclusionRuleBuilder_; + com.google.privacy.dlp.v2.ExclusionRule, com.google.privacy.dlp.v2.ExclusionRule.Builder, com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> exclusionRuleBuilder_; /** - * - * *
      * Exclusion rule.
      * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return Whether the exclusionRule field is set. */ @java.lang.Override @@ -928,14 +806,11 @@ public boolean hasExclusionRule() { return typeCase_ == 2; } /** - * - * *
      * Exclusion rule.
      * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return The exclusionRule. */ @java.lang.Override @@ -953,8 +828,6 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { } } /** - * - * *
      * Exclusion rule.
      * 
@@ -975,8 +848,6 @@ public Builder setExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) { return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -995,8 +866,6 @@ public Builder setExclusionRule( return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -1005,13 +874,10 @@ public Builder setExclusionRule( */ public Builder mergeExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) { if (exclusionRuleBuilder_ == null) { - if (typeCase_ == 2 - && type_ != com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.ExclusionRule.newBuilder( - (com.google.privacy.dlp.v2.ExclusionRule) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.ExclusionRule.newBuilder((com.google.privacy.dlp.v2.ExclusionRule) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1026,8 +892,6 @@ public Builder mergeExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -1051,8 +915,6 @@ public Builder clearExclusionRule() { return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -1063,8 +925,6 @@ public com.google.privacy.dlp.v2.ExclusionRule.Builder getExclusionRuleBuilder() return getExclusionRuleFieldBuilder().getBuilder(); } /** - * - * *
      * Exclusion rule.
      * 
@@ -1083,8 +943,6 @@ public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilde } } /** - * - * *
      * Exclusion rule.
      * 
@@ -1092,30 +950,26 @@ public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilde * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExclusionRule, - com.google.privacy.dlp.v2.ExclusionRule.Builder, - com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> + com.google.privacy.dlp.v2.ExclusionRule, com.google.privacy.dlp.v2.ExclusionRule.Builder, com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> getExclusionRuleFieldBuilder() { if (exclusionRuleBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance(); } - exclusionRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExclusionRule, - com.google.privacy.dlp.v2.ExclusionRule.Builder, - com.google.privacy.dlp.v2.ExclusionRuleOrBuilder>( - (com.google.privacy.dlp.v2.ExclusionRule) type_, getParentForChildren(), isClean()); + exclusionRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ExclusionRule, com.google.privacy.dlp.v2.ExclusionRule.Builder, com.google.privacy.dlp.v2.ExclusionRuleOrBuilder>( + (com.google.privacy.dlp.v2.ExclusionRule) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return exclusionRuleBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectionRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectionRule) private static final com.google.privacy.dlp.v2.InspectionRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectionRule(); } @@ -1139,16 +993,16 @@ public static com.google.privacy.dlp.v2.InspectionRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectionRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectionRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,4 +1017,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java index 676fe9b7..ff09d8f3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectionRuleOrBuilder - extends +public interface InspectionRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectionRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * * @return Whether the hotwordRule field is set. */ boolean hasHotwordRule(); /** - * - * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; - * * @return The hotwordRule. */ com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule(); /** - * - * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder - getHotwordRuleOrBuilder(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder(); /** - * - * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return Whether the exclusionRule field is set. */ boolean hasExclusionRule(); /** - * - * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return The exclusionRule. */ com.google.privacy.dlp.v2.ExclusionRule getExclusionRule(); /** - * - * *
    * Exclusion rule.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java index 1cd5e9d5..fef4210e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Rule set for modifying a set of infoTypes to alter behavior under certain
  * circumstances, depending on the specific details of the rules within the set.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectionRuleSet}
  */
-public final class InspectionRuleSet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InspectionRuleSet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectionRuleSet)
     InspectionRuleSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InspectionRuleSet.newBuilder() to construct.
   private InspectionRuleSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InspectionRuleSet() {
     infoTypes_ = java.util.Collections.emptyList();
     rules_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private InspectionRuleSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InspectionRuleSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InspectionRuleSet(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,41 +56,38 @@ private InspectionRuleSet(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                infoTypes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              infoTypes_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              infoTypes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                rules_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              rules_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectionRule.parser(), extensionRegistry));
-              break;
+            infoTypes_.add(
+                input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              rules_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            rules_.add(
+                input.readMessage(com.google.privacy.dlp.v2.InspectionRule.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -119,27 +99,22 @@ private InspectionRuleSet(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectionRuleSet.class,
-            com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
+            com.google.privacy.dlp.v2.InspectionRuleSet.class, com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
   }
 
   public static final int INFO_TYPES_FIELD_NUMBER = 1;
   private java.util.List infoTypes_;
   /**
-   *
-   *
    * 
    * List of infoTypes this rule set is applied to.
    * 
@@ -151,8 +126,6 @@ public java.util.List getInfoTypesList() { return infoTypes_; } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -160,13 +133,11 @@ public java.util.List getInfoTypesList() { * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInfoTypesOrBuilderList() { return infoTypes_; } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -178,8 +149,6 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -191,8 +160,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { return infoTypes_.get(index); } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -200,15 +167,14 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( + int index) { return infoTypes_.get(index); } public static final int RULES_FIELD_NUMBER = 2; private java.util.List rules_; /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -220,8 +186,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -229,13 +193,11 @@ public java.util.List getRulesList() { * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -247,8 +209,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -260,8 +220,6 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) { return rules_.get(index); } /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -269,12 +227,12 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) { * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -303,10 +262,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, infoTypes_.get(i)); } 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -316,16 +277,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.privacy.dlp.v2.InspectionRuleSet)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectionRuleSet other = - (com.google.privacy.dlp.v2.InspectionRuleSet) obj; + com.google.privacy.dlp.v2.InspectionRuleSet other = (com.google.privacy.dlp.v2.InspectionRuleSet) obj; - if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getInfoTypesList() + .equals(other.getInfoTypesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -350,104 +312,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InspectionRuleSet parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InspectionRuleSet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectionRuleSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Rule set for modifying a set of infoTypes to alter behavior under certain
    * circumstances, depending on the specific details of the rules within the set.
@@ -455,23 +410,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectionRuleSet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectionRuleSet)
       com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectionRuleSet.class,
-              com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
+              com.google.privacy.dlp.v2.InspectionRuleSet.class, com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectionRuleSet.newBuilder()
@@ -479,18 +432,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInfoTypesFieldBuilder();
         getRulesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -510,9 +463,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
     }
 
     @java.lang.Override
@@ -531,8 +484,7 @@ public com.google.privacy.dlp.v2.InspectionRuleSet build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectionRuleSet buildPartial() {
-      com.google.privacy.dlp.v2.InspectionRuleSet result =
-          new com.google.privacy.dlp.v2.InspectionRuleSet(this);
+      com.google.privacy.dlp.v2.InspectionRuleSet result = new com.google.privacy.dlp.v2.InspectionRuleSet(this);
       int from_bitField0_ = bitField0_;
       if (infoTypesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -560,39 +512,38 @@ public com.google.privacy.dlp.v2.InspectionRuleSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectionRuleSet) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectionRuleSet) other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectionRuleSet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -619,10 +570,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectionRuleSet other) {
             infoTypesBuilder_ = null;
             infoTypes_ = other.infoTypes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            infoTypesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInfoTypesFieldBuilder()
-                    : null;
+            infoTypesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInfoTypesFieldBuilder() : null;
           } else {
             infoTypesBuilder_.addAllMessages(other.infoTypes_);
           }
@@ -646,10 +596,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectionRuleSet other) {
             rulesBuilder_ = null;
             rules_ = other.rules_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rulesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRulesFieldBuilder()
-                    : null;
+            rulesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRulesFieldBuilder() : null;
           } else {
             rulesBuilder_.addAllMessages(other.rules_);
           }
@@ -683,28 +632,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List infoTypes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInfoTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = new java.util.ArrayList(infoTypes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-        infoTypesBuilder_;
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of infoTypes this rule set is applied to.
      * 
@@ -719,8 +661,6 @@ public java.util.List getInfoTypesList() { } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -735,8 +675,6 @@ public int getInfoTypesCount() { } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -751,15 +689,14 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) { + public Builder setInfoTypes( + int index, com.google.privacy.dlp.v2.InfoType value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -773,8 +710,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -793,8 +728,6 @@ public Builder setInfoTypes( return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -815,15 +748,14 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) { + public Builder addInfoTypes( + int index, com.google.privacy.dlp.v2.InfoType value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -837,15 +769,14 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + public Builder addInfoTypes( + com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { if (infoTypesBuilder_ == null) { ensureInfoTypesIsMutable(); infoTypes_.add(builderForValue.build()); @@ -856,8 +787,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderFo return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -876,8 +805,6 @@ public Builder addInfoTypes( return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -888,7 +815,8 @@ public Builder addAllInfoTypes( java.lang.Iterable values) { if (infoTypesBuilder_ == null) { ensureInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, infoTypes_); onChanged(); } else { infoTypesBuilder_.addAllMessages(values); @@ -896,8 +824,6 @@ public Builder addAllInfoTypes( return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -915,8 +841,6 @@ public Builder clearInfoTypes() { return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -934,44 +858,39 @@ public Builder removeInfoTypes(int index) { return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) { + public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder( + int index) { return getInfoTypesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( + int index) { if (infoTypesBuilder_ == null) { - return infoTypes_.get(index); - } else { + return infoTypes_.get(index); } else { return infoTypesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public java.util.List - getInfoTypesOrBuilderList() { + public java.util.List + getInfoTypesOrBuilderList() { if (infoTypesBuilder_ != null) { return infoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -979,8 +898,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -988,71 +905,60 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() { - return getInfoTypesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); + return getInfoTypesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) { - return getInfoTypesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder( + int index) { + return getInfoTypesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public java.util.List getInfoTypesBuilderList() { + public java.util.List + getInfoTypesBuilderList() { return getInfoTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypesFieldBuilder() { if (infoTypesBuilder_ == null) { - infoTypesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder>( - infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>( + infoTypes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); infoTypes_ = null; } return infoTypesBuilder_; } private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRule, - com.google.privacy.dlp.v2.InspectionRule.Builder, - com.google.privacy.dlp.v2.InspectionRuleOrBuilder> - rulesBuilder_; + com.google.privacy.dlp.v2.InspectionRule, com.google.privacy.dlp.v2.InspectionRule.Builder, com.google.privacy.dlp.v2.InspectionRuleOrBuilder> rulesBuilder_; /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1067,8 +973,6 @@ public java.util.List getRulesList() { } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1083,8 +987,6 @@ public int getRulesCount() { } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1099,15 +1001,14 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) { } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public Builder setRules(int index, com.google.privacy.dlp.v2.InspectionRule value) { + public Builder setRules( + int index, com.google.privacy.dlp.v2.InspectionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1121,8 +1022,6 @@ public Builder setRules(int index, com.google.privacy.dlp.v2.InspectionRule valu return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1141,8 +1040,6 @@ public Builder setRules( return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1163,15 +1060,14 @@ public Builder addRules(com.google.privacy.dlp.v2.InspectionRule value) { return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public Builder addRules(int index, com.google.privacy.dlp.v2.InspectionRule value) { + public Builder addRules( + int index, com.google.privacy.dlp.v2.InspectionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1185,15 +1081,14 @@ public Builder addRules(int index, com.google.privacy.dlp.v2.InspectionRule valu return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public Builder addRules(com.google.privacy.dlp.v2.InspectionRule.Builder builderForValue) { + public Builder addRules( + com.google.privacy.dlp.v2.InspectionRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1204,8 +1099,6 @@ public Builder addRules(com.google.privacy.dlp.v2.InspectionRule.Builder builder return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1224,8 +1117,6 @@ public Builder addRules( return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1236,7 +1127,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1244,8 +1136,6 @@ public Builder addAllRules( return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1263,8 +1153,6 @@ public Builder clearRules() { return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1282,44 +1170,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public com.google.privacy.dlp.v2.InspectionRule.Builder getRulesBuilder(int index) { + public com.google.privacy.dlp.v2.InspectionRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1327,8 +1210,6 @@ public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int i } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1336,54 +1217,49 @@ public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int i * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ public com.google.privacy.dlp.v2.InspectionRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public com.google.privacy.dlp.v2.InspectionRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectionRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRule, - com.google.privacy.dlp.v2.InspectionRule.Builder, - com.google.privacy.dlp.v2.InspectionRuleOrBuilder> + com.google.privacy.dlp.v2.InspectionRule, com.google.privacy.dlp.v2.InspectionRule.Builder, com.google.privacy.dlp.v2.InspectionRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRule, - com.google.privacy.dlp.v2.InspectionRule.Builder, - com.google.privacy.dlp.v2.InspectionRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InspectionRule, com.google.privacy.dlp.v2.InspectionRule.Builder, com.google.privacy.dlp.v2.InspectionRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1393,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectionRuleSet) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectionRuleSet) private static final com.google.privacy.dlp.v2.InspectionRuleSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectionRuleSet(); } @@ -1407,16 +1283,16 @@ public static com.google.privacy.dlp.v2.InspectionRuleSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectionRuleSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectionRuleSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectionRuleSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectionRuleSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1431,4 +1307,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectionRuleSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java index f9eb8c6b..2584c2b9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectionRuleSetOrBuilder - extends +public interface InspectionRuleSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectionRuleSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - java.util.List getInfoTypesList(); + java.util.List + getInfoTypesList(); /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -44,8 +25,6 @@ public interface InspectionRuleSetOrBuilder */ com.google.privacy.dlp.v2.InfoType getInfoTypes(int index); /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -54,39 +33,34 @@ public interface InspectionRuleSetOrBuilder */ int getInfoTypesCount(); /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - java.util.List getInfoTypesOrBuilderList(); + java.util.List + getInfoTypesOrBuilderList(); /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index); + com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( + int index); /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -95,8 +69,6 @@ public interface InspectionRuleSetOrBuilder */ com.google.privacy.dlp.v2.InspectionRule getRules(int index); /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -105,24 +77,21 @@ public interface InspectionRuleSetOrBuilder */ int getRulesCount(); /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index); + com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java index b377c0cd..99578f84 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Contains a configuration to make dlp api calls on a repeating basis.
  * See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.JobTrigger}
  */
-public final class JobTrigger extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobTrigger extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.JobTrigger)
     JobTriggerOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobTrigger.newBuilder() to construct.
   private JobTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobTrigger() {
     name_ = "";
     displayName_ = "";
@@ -49,15 +31,16 @@ private JobTrigger() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobTrigger();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private JobTrigger(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,129 +60,115 @@ private JobTrigger(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
+            if (jobCase_ == 4) {
+              subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
             }
-          case 34:
-            {
-              com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
-              if (jobCase_ == 4) {
-                subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
-              }
-              job_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
-                job_ = subBuilder.buildPartial();
-              }
-              jobCase_ = 4;
-              break;
+            job_ =
+                input.readMessage(com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
+              job_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                triggers_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              triggers_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.JobTrigger.Trigger.parser(), extensionRegistry));
-              break;
+            jobCase_ = 4;
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              triggers_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                errors_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              errors_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
-              break;
+            triggers_.add(
+                input.readMessage(com.google.privacy.dlp.v2.JobTrigger.Trigger.parser(), extensionRegistry));
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              errors_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            errors_.add(
+                input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastRunTime_ != null) {
-                subBuilder = lastRunTime_.toBuilder();
-              }
-              lastRunTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastRunTime_);
-                lastRunTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
+            }
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 80:
-            {
-              int rawValue = input.readEnum();
 
-              status_ = rawValue;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastRunTime_ != null) {
+              subBuilder = lastRunTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            lastRunTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastRunTime_);
+              lastRunTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 80: {
+            int rawValue = input.readEnum();
+
+            status_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         triggers_ = java.util.Collections.unmodifiableList(triggers_);
@@ -211,25 +180,20 @@ private JobTrigger(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.JobTrigger.class,
-            com.google.privacy.dlp.v2.JobTrigger.Builder.class);
+            com.google.privacy.dlp.v2.JobTrigger.class, com.google.privacy.dlp.v2.JobTrigger.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs
    * will be created with this configuration. The service may automatically
@@ -239,10 +203,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.JobTrigger.Status}
    */
-  public enum Status implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Status
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -251,8 +214,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * Trigger is healthy.
      * 
@@ -261,8 +222,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ HEALTHY(1), /** - * - * *
      * Trigger is temporarily paused.
      * 
@@ -271,8 +230,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PAUSED(2), /** - * - * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -284,8 +241,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused.
      * 
@@ -294,8 +249,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Trigger is healthy.
      * 
@@ -304,8 +257,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTHY_VALUE = 1; /** - * - * *
      * Trigger is temporarily paused.
      * 
@@ -314,8 +265,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAUSED_VALUE = 2; /** - * - * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -324,6 +273,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -348,51 +298,50 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: - return STATUS_UNSPECIFIED; - case 1: - return HEALTHY; - case 2: - return PAUSED; - case 3: - return CANCELLED; - default: - return null; + case 0: return STATUS_UNSPECIFIED; + case 1: return HEALTHY; + case 2: return PAUSED; + case 3: return CANCELLED; + 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< + Status> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.JobTrigger.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Status 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; @@ -409,38 +358,29 @@ private Status(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.JobTrigger.Status) } - public interface TriggerOrBuilder - extends + public interface TriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.JobTrigger.Trigger) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; - * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** - * - * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; - * * @return The schedule. */ com.google.privacy.dlp.v2.Schedule getSchedule(); /** - * - * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
@@ -450,32 +390,24 @@ public interface TriggerOrBuilder com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder(); /** - * - * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; - * * @return Whether the manual field is set. */ boolean hasManual(); /** - * - * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; - * * @return The manual. */ com.google.privacy.dlp.v2.Manual getManual(); /** - * - * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
@@ -487,37 +419,36 @@ public interface TriggerOrBuilder public com.google.privacy.dlp.v2.JobTrigger.Trigger.TriggerCase getTriggerCase(); } /** - * - * *
    * What event needs to occur for a new job to be started.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.JobTrigger.Trigger} */ - public static final class Trigger extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Trigger extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.JobTrigger.Trigger) TriggerOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Trigger.newBuilder() to construct. private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Trigger() {} + private Trigger() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Trigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Trigger( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -536,83 +467,75 @@ private Trigger( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Schedule.Builder subBuilder = null; - if (triggerCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.Schedule) trigger_).toBuilder(); - } - trigger_ = - input.readMessage( - com.google.privacy.dlp.v2.Schedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.Schedule) trigger_); - trigger_ = subBuilder.buildPartial(); - } - triggerCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.Schedule.Builder subBuilder = null; + if (triggerCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.Schedule) trigger_).toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.Manual.Builder subBuilder = null; - if (triggerCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.Manual) trigger_).toBuilder(); - } - trigger_ = - input.readMessage(com.google.privacy.dlp.v2.Manual.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.Manual) trigger_); - trigger_ = subBuilder.buildPartial(); - } - triggerCase_ = 2; - break; + trigger_ = + input.readMessage(com.google.privacy.dlp.v2.Schedule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Schedule) trigger_); + trigger_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + triggerCase_ = 1; + break; + } + case 18: { + com.google.privacy.dlp.v2.Manual.Builder subBuilder = null; + if (triggerCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.Manual) trigger_).toBuilder(); + } + trigger_ = + input.readMessage(com.google.privacy.dlp.v2.Manual.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Manual) trigger_); + trigger_ = subBuilder.buildPartial(); } + triggerCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.JobTrigger.Trigger.class, - com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); + com.google.privacy.dlp.v2.JobTrigger.Trigger.class, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); } private int triggerCase_ = 0; private java.lang.Object trigger_; - public enum TriggerCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SCHEDULE(1), MANUAL(2), TRIGGER_NOT_SET(0); private final int value; - private TriggerCase(int value) { this.value = value; } @@ -628,36 +551,30 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 1: - return SCHEDULE; - case 2: - return MANUAL; - case 0: - return TRIGGER_NOT_SET; - default: - return null; + case 1: return SCHEDULE; + case 2: return MANUAL; + case 0: return TRIGGER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TriggerCase getTriggerCase() { - return TriggerCase.forNumber(triggerCase_); + public TriggerCase + getTriggerCase() { + return TriggerCase.forNumber( + triggerCase_); } public static final int SCHEDULE_FIELD_NUMBER = 1; /** - * - * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -665,26 +582,21 @@ public boolean hasSchedule() { return triggerCase_ == 1; } /** - * - * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; - * * @return The schedule. */ @java.lang.Override public com.google.privacy.dlp.v2.Schedule getSchedule() { if (triggerCase_ == 1) { - return (com.google.privacy.dlp.v2.Schedule) trigger_; + return (com.google.privacy.dlp.v2.Schedule) trigger_; } return com.google.privacy.dlp.v2.Schedule.getDefaultInstance(); } /** - * - * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
@@ -694,21 +606,18 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() { @java.lang.Override public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { if (triggerCase_ == 1) { - return (com.google.privacy.dlp.v2.Schedule) trigger_; + return (com.google.privacy.dlp.v2.Schedule) trigger_; } return com.google.privacy.dlp.v2.Schedule.getDefaultInstance(); } public static final int MANUAL_FIELD_NUMBER = 2; /** - * - * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; - * * @return Whether the manual field is set. */ @java.lang.Override @@ -716,26 +625,21 @@ public boolean hasManual() { return triggerCase_ == 2; } /** - * - * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; - * * @return The manual. */ @java.lang.Override public com.google.privacy.dlp.v2.Manual getManual() { if (triggerCase_ == 2) { - return (com.google.privacy.dlp.v2.Manual) trigger_; + return (com.google.privacy.dlp.v2.Manual) trigger_; } return com.google.privacy.dlp.v2.Manual.getDefaultInstance(); } /** - * - * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
@@ -745,13 +649,12 @@ public com.google.privacy.dlp.v2.Manual getManual() { @java.lang.Override public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { if (triggerCase_ == 2) { - return (com.google.privacy.dlp.v2.Manual) trigger_; + return (com.google.privacy.dlp.v2.Manual) trigger_; } return com.google.privacy.dlp.v2.Manual.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -763,7 +666,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (triggerCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.Schedule) trigger_); } @@ -780,14 +684,12 @@ public int getSerializedSize() { size = 0; if (triggerCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.Schedule) trigger_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.Schedule) trigger_); } if (triggerCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.Manual) trigger_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.Manual) trigger_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -797,21 +699,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.privacy.dlp.v2.JobTrigger.Trigger)) { return super.equals(obj); } - com.google.privacy.dlp.v2.JobTrigger.Trigger other = - (com.google.privacy.dlp.v2.JobTrigger.Trigger) obj; + com.google.privacy.dlp.v2.JobTrigger.Trigger other = (com.google.privacy.dlp.v2.JobTrigger.Trigger) obj; if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 1: - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; break; case 2: - if (!getManual().equals(other.getManual())) return false; + if (!getManual() + .equals(other.getManual())) return false; break; case 0: default: @@ -844,94 +747,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.JobTrigger.Trigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -941,32 +838,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * What event needs to occur for a new job to be started.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.JobTrigger.Trigger} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.JobTrigger.Trigger) com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.JobTrigger.Trigger.class, - com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); + com.google.privacy.dlp.v2.JobTrigger.Trigger.class, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); } // Construct using com.google.privacy.dlp.v2.JobTrigger.Trigger.newBuilder() @@ -974,15 +866,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -992,9 +885,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; } @java.lang.Override @@ -1013,8 +906,7 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger build() { @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger.Trigger buildPartial() { - com.google.privacy.dlp.v2.JobTrigger.Trigger result = - new com.google.privacy.dlp.v2.JobTrigger.Trigger(this); + com.google.privacy.dlp.v2.JobTrigger.Trigger result = new com.google.privacy.dlp.v2.JobTrigger.Trigger(this); if (triggerCase_ == 1) { if (scheduleBuilder_ == null) { result.trigger_ = trigger_; @@ -1038,41 +930,38 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.JobTrigger.Trigger) { - return mergeFrom((com.google.privacy.dlp.v2.JobTrigger.Trigger) other); + return mergeFrom((com.google.privacy.dlp.v2.JobTrigger.Trigger)other); } else { super.mergeFrom(other); return this; @@ -1082,20 +971,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger.Trigger other) { if (other == com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance()) return this; switch (other.getTriggerCase()) { - case SCHEDULE: - { - mergeSchedule(other.getSchedule()); - break; - } - case MANUAL: - { - mergeManual(other.getManual()); - break; - } - case TRIGGER_NOT_SET: - { - break; - } + case SCHEDULE: { + mergeSchedule(other.getSchedule()); + break; + } + case MANUAL: { + mergeManual(other.getManual()); + break; + } + case TRIGGER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1125,12 +1011,12 @@ public Builder mergeFrom( } return this; } - private int triggerCase_ = 0; private java.lang.Object trigger_; - - public TriggerCase getTriggerCase() { - return TriggerCase.forNumber(triggerCase_); + public TriggerCase + getTriggerCase() { + return TriggerCase.forNumber( + triggerCase_); } public Builder clearTrigger() { @@ -1140,20 +1026,15 @@ public Builder clearTrigger() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Schedule, - com.google.privacy.dlp.v2.Schedule.Builder, - com.google.privacy.dlp.v2.ScheduleOrBuilder> - scheduleBuilder_; + com.google.privacy.dlp.v2.Schedule, com.google.privacy.dlp.v2.Schedule.Builder, com.google.privacy.dlp.v2.ScheduleOrBuilder> scheduleBuilder_; /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -1161,14 +1042,11 @@ public boolean hasSchedule() { return triggerCase_ == 1; } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; - * * @return The schedule. */ @java.lang.Override @@ -1186,8 +1064,6 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() { } } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1208,15 +1084,14 @@ public Builder setSchedule(com.google.privacy.dlp.v2.Schedule value) { return this; } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; */ - public Builder setSchedule(com.google.privacy.dlp.v2.Schedule.Builder builderForValue) { + public Builder setSchedule( + com.google.privacy.dlp.v2.Schedule.Builder builderForValue) { if (scheduleBuilder_ == null) { trigger_ = builderForValue.build(); onChanged(); @@ -1227,8 +1102,6 @@ public Builder setSchedule(com.google.privacy.dlp.v2.Schedule.Builder builderFor return this; } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1237,13 +1110,10 @@ public Builder setSchedule(com.google.privacy.dlp.v2.Schedule.Builder builderFor */ public Builder mergeSchedule(com.google.privacy.dlp.v2.Schedule value) { if (scheduleBuilder_ == null) { - if (triggerCase_ == 1 - && trigger_ != com.google.privacy.dlp.v2.Schedule.getDefaultInstance()) { - trigger_ = - com.google.privacy.dlp.v2.Schedule.newBuilder( - (com.google.privacy.dlp.v2.Schedule) trigger_) - .mergeFrom(value) - .buildPartial(); + if (triggerCase_ == 1 && + trigger_ != com.google.privacy.dlp.v2.Schedule.getDefaultInstance()) { + trigger_ = com.google.privacy.dlp.v2.Schedule.newBuilder((com.google.privacy.dlp.v2.Schedule) trigger_) + .mergeFrom(value).buildPartial(); } else { trigger_ = value; } @@ -1258,8 +1128,6 @@ public Builder mergeSchedule(com.google.privacy.dlp.v2.Schedule value) { return this; } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1283,8 +1151,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1295,8 +1161,6 @@ public com.google.privacy.dlp.v2.Schedule.Builder getScheduleBuilder() { return getScheduleFieldBuilder().getBuilder(); } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1315,8 +1179,6 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { } } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1324,42 +1186,32 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { * .google.privacy.dlp.v2.Schedule schedule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Schedule, - com.google.privacy.dlp.v2.Schedule.Builder, - com.google.privacy.dlp.v2.ScheduleOrBuilder> + com.google.privacy.dlp.v2.Schedule, com.google.privacy.dlp.v2.Schedule.Builder, com.google.privacy.dlp.v2.ScheduleOrBuilder> getScheduleFieldBuilder() { if (scheduleBuilder_ == null) { if (!(triggerCase_ == 1)) { trigger_ = com.google.privacy.dlp.v2.Schedule.getDefaultInstance(); } - scheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Schedule, - com.google.privacy.dlp.v2.Schedule.Builder, - com.google.privacy.dlp.v2.ScheduleOrBuilder>( - (com.google.privacy.dlp.v2.Schedule) trigger_, getParentForChildren(), isClean()); + scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Schedule, com.google.privacy.dlp.v2.Schedule.Builder, com.google.privacy.dlp.v2.ScheduleOrBuilder>( + (com.google.privacy.dlp.v2.Schedule) trigger_, + getParentForChildren(), + isClean()); trigger_ = null; } triggerCase_ = 1; - onChanged(); - ; + onChanged();; return scheduleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Manual, - com.google.privacy.dlp.v2.Manual.Builder, - com.google.privacy.dlp.v2.ManualOrBuilder> - manualBuilder_; + com.google.privacy.dlp.v2.Manual, com.google.privacy.dlp.v2.Manual.Builder, com.google.privacy.dlp.v2.ManualOrBuilder> manualBuilder_; /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; - * * @return Whether the manual field is set. */ @java.lang.Override @@ -1367,14 +1219,11 @@ public boolean hasManual() { return triggerCase_ == 2; } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; - * * @return The manual. */ @java.lang.Override @@ -1392,8 +1241,6 @@ public com.google.privacy.dlp.v2.Manual getManual() { } } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1414,15 +1261,14 @@ public Builder setManual(com.google.privacy.dlp.v2.Manual value) { return this; } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; */ - public Builder setManual(com.google.privacy.dlp.v2.Manual.Builder builderForValue) { + public Builder setManual( + com.google.privacy.dlp.v2.Manual.Builder builderForValue) { if (manualBuilder_ == null) { trigger_ = builderForValue.build(); onChanged(); @@ -1433,8 +1279,6 @@ public Builder setManual(com.google.privacy.dlp.v2.Manual.Builder builderForValu return this; } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1443,13 +1287,10 @@ public Builder setManual(com.google.privacy.dlp.v2.Manual.Builder builderForValu */ public Builder mergeManual(com.google.privacy.dlp.v2.Manual value) { if (manualBuilder_ == null) { - if (triggerCase_ == 2 - && trigger_ != com.google.privacy.dlp.v2.Manual.getDefaultInstance()) { - trigger_ = - com.google.privacy.dlp.v2.Manual.newBuilder( - (com.google.privacy.dlp.v2.Manual) trigger_) - .mergeFrom(value) - .buildPartial(); + if (triggerCase_ == 2 && + trigger_ != com.google.privacy.dlp.v2.Manual.getDefaultInstance()) { + trigger_ = com.google.privacy.dlp.v2.Manual.newBuilder((com.google.privacy.dlp.v2.Manual) trigger_) + .mergeFrom(value).buildPartial(); } else { trigger_ = value; } @@ -1464,8 +1305,6 @@ public Builder mergeManual(com.google.privacy.dlp.v2.Manual value) { return this; } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1489,8 +1328,6 @@ public Builder clearManual() { return this; } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1501,8 +1338,6 @@ public com.google.privacy.dlp.v2.Manual.Builder getManualBuilder() { return getManualFieldBuilder().getBuilder(); } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1521,8 +1356,6 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { } } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1530,28 +1363,23 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { * .google.privacy.dlp.v2.Manual manual = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Manual, - com.google.privacy.dlp.v2.Manual.Builder, - com.google.privacy.dlp.v2.ManualOrBuilder> + com.google.privacy.dlp.v2.Manual, com.google.privacy.dlp.v2.Manual.Builder, com.google.privacy.dlp.v2.ManualOrBuilder> getManualFieldBuilder() { if (manualBuilder_ == null) { if (!(triggerCase_ == 2)) { trigger_ = com.google.privacy.dlp.v2.Manual.getDefaultInstance(); } - manualBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Manual, - com.google.privacy.dlp.v2.Manual.Builder, - com.google.privacy.dlp.v2.ManualOrBuilder>( - (com.google.privacy.dlp.v2.Manual) trigger_, getParentForChildren(), isClean()); + manualBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Manual, com.google.privacy.dlp.v2.Manual.Builder, com.google.privacy.dlp.v2.ManualOrBuilder>( + (com.google.privacy.dlp.v2.Manual) trigger_, + getParentForChildren(), + isClean()); trigger_ = null; } triggerCase_ = 2; - onChanged(); - ; + onChanged();; return manualBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1564,12 +1392,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.JobTrigger.Trigger) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.JobTrigger.Trigger) private static final com.google.privacy.dlp.v2.JobTrigger.Trigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.JobTrigger.Trigger(); } @@ -1578,16 +1406,16 @@ public static com.google.privacy.dlp.v2.JobTrigger.Trigger getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Trigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1602,19 +1430,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.JobTrigger.Trigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int jobCase_ = 0; private java.lang.Object job_; - public enum JobCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSPECT_JOB(4), JOB_NOT_SET(0); private final int value; - private JobCase(int value) { this.value = value; } @@ -1630,29 +1456,25 @@ public static JobCase valueOf(int value) { public static JobCase forNumber(int value) { switch (value) { - case 4: - return INSPECT_JOB; - case 0: - return JOB_NOT_SET; - default: - return null; + case 4: return INSPECT_JOB; + case 0: return JOB_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public JobCase getJobCase() { - return JobCase.forNumber(jobCase_); + public JobCase + getJobCase() { + return JobCase.forNumber( + jobCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -1660,7 +1482,6 @@ public JobCase getJobCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1669,15 +1490,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -1685,15 +1505,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1704,14 +1525,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name (max 100 chars)
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1720,29 +1538,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; } } /** - * - * *
    * Display name (max 100 chars)
    * 
* * 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 { @@ -1753,14 +1571,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * User provided description (max 256 chars)
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1769,29 +1584,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; } } /** - * - * *
    * User provided description (max 256 chars)
    * 
* * 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 { @@ -1801,14 +1616,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INSPECT_JOB_FIELD_NUMBER = 4; /** - * - * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; - * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -1816,26 +1628,21 @@ public boolean hasInspectJob() { return jobCase_ == 4; } /** - * - * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; - * * @return The inspectJob. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { if (jobCase_ == 4) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } /** - * - * *
    * For inspect jobs, a snapshot of the configuration.
    * 
@@ -1845,7 +1652,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder() { if (jobCase_ == 4) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } @@ -1853,8 +1660,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde public static final int TRIGGERS_FIELD_NUMBER = 5; private java.util.List triggers_; /** - * - * *
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1868,8 +1673,6 @@ public java.util.List getTriggersL
     return triggers_;
   }
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1879,13 +1682,11 @@ public java.util.List getTriggersL
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTriggersOrBuilderList() {
     return triggers_;
   }
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1899,8 +1700,6 @@ public int getTriggersCount() {
     return triggers_.size();
   }
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1914,8 +1713,6 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
     return triggers_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1925,15 +1722,14 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
+      int index) {
     return triggers_.get(index);
   }
 
   public static final int ERRORS_FIELD_NUMBER = 6;
   private java.util.List errors_;
   /**
-   *
-   *
    * 
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1941,17 +1737,13 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1959,18 +1751,14 @@ public java.util.List getErrorsList() {
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1978,17 +1766,13 @@ public java.util.List getErrorsList() {
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1996,17 +1780,13 @@ public int getErrorsCount() {
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.privacy.dlp.v2.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -2014,27 +1794,22 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -2042,15 +1817,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -2058,14 +1829,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -2075,15 +1843,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2091,15 +1855,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -2107,14 +1867,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -2124,16 +1881,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp lastRunTime_; /** - * - * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastRunTime field is set. */ @java.lang.Override @@ -2141,16 +1893,11 @@ public boolean hasLastRunTime() { return lastRunTime_ != null; } /** - * - * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastRunTime. */ @java.lang.Override @@ -2158,15 +1905,11 @@ public com.google.protobuf.Timestamp getLastRunTime() { return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; } /** - * - * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { @@ -2176,45 +1919,31 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { public static final int STATUS_FIELD_NUMBER = 10; private int status_; /** - * - * *
    * Required. A status for this trigger.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * Required. A status for this trigger.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ - @java.lang.Override - public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() { + @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.JobTrigger.Status result = - com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); + com.google.privacy.dlp.v2.JobTrigger.Status result = com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); return result == null ? com.google.privacy.dlp.v2.JobTrigger.Status.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2226,7 +1955,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2276,27 +2006,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (jobCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.InspectJobConfig) job_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.InspectJobConfig) job_); } for (int i = 0; i < triggers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, triggers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, triggers_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, errors_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (lastRunTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastRunTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastRunTime()); } if (status_ != com.google.privacy.dlp.v2.JobTrigger.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2306,35 +2041,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.JobTrigger)) { return super.equals(obj); } com.google.privacy.dlp.v2.JobTrigger other = (com.google.privacy.dlp.v2.JobTrigger) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getTriggersList().equals(other.getTriggersList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getTriggersList() + .equals(other.getTriggersList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) 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 (hasLastRunTime() != other.hasLastRunTime()) return false; if (hasLastRunTime()) { - if (!getLastRunTime().equals(other.getLastRunTime())) return false; + if (!getLastRunTime() + .equals(other.getLastRunTime())) return false; } if (status_ != other.status_) return false; if (!getJobCase().equals(other.getJobCase())) return false; switch (jobCase_) { case 4: - if (!getInspectJob().equals(other.getInspectJob())) return false; + if (!getInspectJob() + .equals(other.getInspectJob())) return false; break; case 0: default: @@ -2391,103 +2135,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.JobTrigger parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger 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.privacy.dlp.v2.JobTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.JobTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains a configuration to make dlp api calls on a repeating basis.
    * See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
@@ -2495,23 +2233,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.JobTrigger}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.JobTrigger)
       com.google.privacy.dlp.v2.JobTriggerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.JobTrigger.class,
-              com.google.privacy.dlp.v2.JobTrigger.Builder.class);
+              com.google.privacy.dlp.v2.JobTrigger.class, com.google.privacy.dlp.v2.JobTrigger.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.JobTrigger.newBuilder()
@@ -2519,18 +2255,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTriggersFieldBuilder();
         getErrorsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2578,9 +2314,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
     }
 
     @java.lang.Override
@@ -2654,39 +2390,38 @@ public com.google.privacy.dlp.v2.JobTrigger buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.JobTrigger) {
-        return mergeFrom((com.google.privacy.dlp.v2.JobTrigger) other);
+        return mergeFrom((com.google.privacy.dlp.v2.JobTrigger)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2725,10 +2460,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
             triggersBuilder_ = null;
             triggers_ = other.triggers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            triggersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTriggersFieldBuilder()
-                    : null;
+            triggersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTriggersFieldBuilder() : null;
           } else {
             triggersBuilder_.addAllMessages(other.triggers_);
           }
@@ -2752,10 +2486,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
             errorsBuilder_ = null;
             errors_ = other.errors_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            errorsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getErrorsFieldBuilder()
-                    : null;
+            errorsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getErrorsFieldBuilder() : null;
           } else {
             errorsBuilder_.addAllMessages(other.errors_);
           }
@@ -2774,15 +2507,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
         setStatusValue(other.getStatusValue());
       }
       switch (other.getJobCase()) {
-        case INSPECT_JOB:
-          {
-            mergeInspectJob(other.getInspectJob());
-            break;
-          }
-        case JOB_NOT_SET:
-          {
-            break;
-          }
+        case INSPECT_JOB: {
+          mergeInspectJob(other.getInspectJob());
+          break;
+        }
+        case JOB_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2812,12 +2543,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int jobCase_ = 0;
     private java.lang.Object job_;
-
-    public JobCase getJobCase() {
-      return JobCase.forNumber(jobCase_);
+    public JobCase
+        getJobCase() {
+      return JobCase.forNumber(
+          jobCase_);
     }
 
     public Builder clearJob() {
@@ -2831,8 +2562,6 @@ public Builder clearJob() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2840,13 +2569,13 @@ public Builder clearJob() {
      * 
* * 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; @@ -2855,8 +2584,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2864,14 +2591,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2879,8 +2607,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2888,22 +2614,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2911,18 +2635,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2930,16 +2651,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2947,20 +2668,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name (max 100 chars)
      * 
* * 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; @@ -2969,21 +2688,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name (max 100 chars)
      * 
* * 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 { @@ -2991,61 +2709,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name (max 100 chars)
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name (max 100 chars)
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name (max 100 chars)
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -3053,20 +2764,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * User provided description (max 256 chars)
      * 
* * 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; @@ -3075,21 +2784,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User provided description (max 256 chars)
      * 
* * 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 { @@ -3097,80 +2805,67 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User provided description (max 256 chars)
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * User provided description (max 256 chars)
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * User provided description (max 256 chars)
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> - inspectJobBuilder_; + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> inspectJobBuilder_; /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; - * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -3178,14 +2873,11 @@ public boolean hasInspectJob() { return jobCase_ == 4; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; - * * @return The inspectJob. */ @java.lang.Override @@ -3203,8 +2895,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3225,8 +2915,6 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3245,8 +2933,6 @@ public Builder setInspectJob( return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3255,13 +2941,10 @@ public Builder setInspectJob( */ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { if (inspectJobBuilder_ == null) { - if (jobCase_ == 4 - && job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { - job_ = - com.google.privacy.dlp.v2.InspectJobConfig.newBuilder( - (com.google.privacy.dlp.v2.InspectJobConfig) job_) - .mergeFrom(value) - .buildPartial(); + if (jobCase_ == 4 && + job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { + job_ = com.google.privacy.dlp.v2.InspectJobConfig.newBuilder((com.google.privacy.dlp.v2.InspectJobConfig) job_) + .mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -3276,8 +2959,6 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3301,8 +2982,6 @@ public Builder clearInspectJob() { return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3313,8 +2992,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3333,8 +3010,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3342,50 +3017,37 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> getInspectJobFieldBuilder() { if (inspectJobBuilder_ == null) { if (!(jobCase_ == 4)) { job_ = com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } - inspectJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, - com.google.privacy.dlp.v2.InspectJobConfig.Builder, - com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( + inspectJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( (com.google.privacy.dlp.v2.InspectJobConfig) job_, getParentForChildren(), isClean()); job_ = null; } jobCase_ = 4; - onChanged(); - ; + onChanged();; return inspectJobBuilder_; } private java.util.List triggers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTriggersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - triggers_ = - new java.util.ArrayList(triggers_); + triggers_ = new java.util.ArrayList(triggers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger.Trigger, - com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, - com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> - triggersBuilder_; + com.google.privacy.dlp.v2.JobTrigger.Trigger, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> triggersBuilder_; /** - * - * *
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3402,8 +3064,6 @@ public java.util.List getTriggersL
       }
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3420,8 +3080,6 @@ public int getTriggersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3438,8 +3096,6 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3448,7 +3104,8 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public Builder setTriggers(int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
+    public Builder setTriggers(
+        int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
       if (triggersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3462,8 +3119,6 @@ public Builder setTriggers(int index, com.google.privacy.dlp.v2.JobTrigger.Trigg
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3484,8 +3139,6 @@ public Builder setTriggers(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3508,8 +3161,6 @@ public Builder addTriggers(com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3518,7 +3169,8 @@ public Builder addTriggers(com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public Builder addTriggers(int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
+    public Builder addTriggers(
+        int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
       if (triggersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3532,8 +3184,6 @@ public Builder addTriggers(int index, com.google.privacy.dlp.v2.JobTrigger.Trigg
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3554,8 +3204,6 @@ public Builder addTriggers(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3576,8 +3224,6 @@ public Builder addTriggers(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3590,7 +3236,8 @@ public Builder addAllTriggers(
         java.lang.Iterable values) {
       if (triggersBuilder_ == null) {
         ensureTriggersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, triggers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, triggers_);
         onChanged();
       } else {
         triggersBuilder_.addAllMessages(values);
@@ -3598,8 +3245,6 @@ public Builder addAllTriggers(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3619,8 +3264,6 @@ public Builder clearTriggers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3640,8 +3283,6 @@ public Builder removeTriggers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3650,12 +3291,11 @@ public Builder removeTriggers(int index) {
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder getTriggersBuilder(int index) {
+    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder getTriggersBuilder(
+        int index) {
       return getTriggersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3664,16 +3304,14 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder getTriggersBuilder(i
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
+        int index) {
       if (triggersBuilder_ == null) {
-        return triggers_.get(index);
-      } else {
+        return triggers_.get(index);  } else {
         return triggersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3682,8 +3320,8 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public java.util.List
-        getTriggersOrBuilderList() {
+    public java.util.List 
+         getTriggersOrBuilderList() {
       if (triggersBuilder_ != null) {
         return triggersBuilder_.getMessageOrBuilderList();
       } else {
@@ -3691,8 +3329,6 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3702,12 +3338,10 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
     public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder() {
-      return getTriggersFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
+      return getTriggersFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3716,13 +3350,12 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder()
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(int index) {
-      return getTriggersFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
+    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(
+        int index) {
+      return getTriggersFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3731,47 +3364,38 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(i
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public java.util.List
-        getTriggersBuilderList() {
+    public java.util.List 
+         getTriggersBuilderList() {
       return getTriggersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.JobTrigger.Trigger,
-            com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder,
-            com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>
+        com.google.privacy.dlp.v2.JobTrigger.Trigger, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> 
         getTriggersFieldBuilder() {
       if (triggersBuilder_ == null) {
-        triggersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.JobTrigger.Trigger,
-                com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder,
-                com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>(
-                triggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        triggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.JobTrigger.Trigger, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>(
+                triggers_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         triggers_ = null;
       }
       return triggersBuilder_;
     }
 
     private java.util.List errors_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureErrorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         errors_ = new java.util.ArrayList(errors_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Error,
-            com.google.privacy.dlp.v2.Error.Builder,
-            com.google.privacy.dlp.v2.ErrorOrBuilder>
-        errorsBuilder_;
+        com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> errorsBuilder_;
 
     /**
-     *
-     *
      * 
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3779,9 +3403,7 @@ private void ensureErrorsIsMutable() {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -3791,8 +3413,6 @@ public java.util.List getErrorsList() { } } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3800,9 +3420,7 @@ public java.util.List getErrorsList() {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -3812,8 +3430,6 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3821,9 +3437,7 @@ public int getErrorsCount() {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.privacy.dlp.v2.Error getErrors(int index) { if (errorsBuilder_ == null) { @@ -3833,8 +3447,6 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { } } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3842,11 +3454,10 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { + public Builder setErrors( + int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3860,8 +3471,6 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3869,11 +3478,10 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder setErrors( + int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -3884,8 +3492,6 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3893,9 +3499,7 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { @@ -3911,8 +3515,6 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3920,11 +3522,10 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { + public Builder addErrors( + int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3938,8 +3539,6 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3947,11 +3546,10 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors( + com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -3962,8 +3560,6 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3971,11 +3567,10 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors( + int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -3986,8 +3581,6 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3995,15 +3588,14 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -4011,8 +3603,6 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4020,9 +3610,7 @@ public Builder addAllErrors(
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -4035,8 +3623,6 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4044,9 +3630,7 @@ public Builder clearErrors() {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -4059,8 +3643,6 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4068,16 +3650,13 @@ public Builder removeErrors(int index) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) { + public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4085,20 +3664,16 @@ public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4106,12 +3681,10 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -4119,8 +3692,6 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { } } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4128,17 +3699,13 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4146,17 +3713,14 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); + public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** - * - * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -4164,26 +3728,22 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) {
      * this list will be cleared.
      * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, - com.google.privacy.dlp.v2.Error.Builder, - com.google.privacy.dlp.v2.ErrorOrBuilder> + com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, - com.google.privacy.dlp.v2.Error.Builder, - com.google.privacy.dlp.v2.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; @@ -4191,58 +3751,39 @@ public java.util.List getErrorsBuilderL 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 creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.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 creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4258,17 +3799,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -4279,21 +3817,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -4305,15 +3839,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -4327,64 +3857,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.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 creation timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.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_; @@ -4392,58 +3906,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4459,17 +3954,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4480,21 +3972,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4506,15 +3994,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4528,64 +4012,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4593,58 +4061,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp lastRunTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastRunTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastRunTimeBuilder_; /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastRunTime field is set. */ public boolean hasLastRunTime() { return lastRunTimeBuilder_ != null || lastRunTime_ != null; } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastRunTime. */ public com.google.protobuf.Timestamp getLastRunTime() { if (lastRunTimeBuilder_ == null) { - return lastRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastRunTime_; + return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; } else { return lastRunTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastRunTime(com.google.protobuf.Timestamp value) { if (lastRunTimeBuilder_ == null) { @@ -4660,17 +4109,14 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastRunTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastRunTimeBuilder_ == null) { lastRunTime_ = builderForValue.build(); onChanged(); @@ -4681,23 +4127,17 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { if (lastRunTimeBuilder_ == null) { if (lastRunTime_ != null) { lastRunTime_ = - com.google.protobuf.Timestamp.newBuilder(lastRunTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastRunTime_).mergeFrom(value).buildPartial(); } else { lastRunTime_ = value; } @@ -4709,15 +4149,11 @@ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastRunTime() { if (lastRunTimeBuilder_ == null) { @@ -4731,64 +4167,48 @@ public Builder clearLastRunTime() { return this; } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastRunTimeBuilder() { - + onChanged(); return getLastRunTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { if (lastRunTimeBuilder_ != null) { return lastRunTimeBuilder_.getMessageOrBuilder(); } else { - return lastRunTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastRunTime_; + return lastRunTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; } } /** - * - * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.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> getLastRunTimeFieldBuilder() { if (lastRunTimeBuilder_ == null) { - lastRunTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastRunTime(), getParentForChildren(), isClean()); + lastRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastRunTime(), + getParentForChildren(), + isClean()); lastRunTime_ = null; } return lastRunTimeBuilder_; @@ -4796,73 +4216,51 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { private int status_ = 0; /** - * - * *
      * Required. A status for this trigger.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * Required. A status for this trigger.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * Required. A status for this trigger.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.JobTrigger.Status result = - com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); + com.google.privacy.dlp.v2.JobTrigger.Status result = com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); return result == null ? com.google.privacy.dlp.v2.JobTrigger.Status.UNRECOGNIZED : result; } /** - * - * *
      * Required. A status for this trigger.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @param value The status to set. * @return This builder for chaining. */ @@ -4870,33 +4268,28 @@ public Builder setStatus(com.google.privacy.dlp.v2.JobTrigger.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. A status for this trigger.
      * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4906,12 +4299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.JobTrigger) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.JobTrigger) private static final com.google.privacy.dlp.v2.JobTrigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.JobTrigger(); } @@ -4920,16 +4313,16 @@ public static com.google.privacy.dlp.v2.JobTrigger getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JobTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JobTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4944,4 +4337,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.JobTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java index 5acc7e47..399e0b46 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface JobTriggerOrBuilder - extends +public interface JobTriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.JobTrigger) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -33,13 +15,10 @@ public interface JobTriggerOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -47,88 +26,70 @@ public interface JobTriggerOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Display name (max 100 chars)
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name (max 100 chars)
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * User provided description (max 256 chars)
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User provided description (max 256 chars)
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; - * * @return Whether the inspectJob field is set. */ boolean hasInspectJob(); /** - * - * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; - * * @return The inspectJob. */ com.google.privacy.dlp.v2.InspectJobConfig getInspectJob(); /** - * - * *
    * For inspect jobs, a snapshot of the configuration.
    * 
@@ -138,8 +99,6 @@ public interface JobTriggerOrBuilder com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder(); /** - * - * *
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -148,10 +107,9 @@ public interface JobTriggerOrBuilder
    *
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
-  java.util.List getTriggersList();
+  java.util.List 
+      getTriggersList();
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -162,8 +120,6 @@ public interface JobTriggerOrBuilder
    */
   com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index);
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -174,8 +130,6 @@ public interface JobTriggerOrBuilder
    */
   int getTriggersCount();
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -184,11 +138,9 @@ public interface JobTriggerOrBuilder
    *
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
-  java.util.List
+  java.util.List 
       getTriggersOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -197,11 +149,10 @@ public interface JobTriggerOrBuilder
    *
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
-  com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index);
+  com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -209,14 +160,11 @@ public interface JobTriggerOrBuilder
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -224,14 +172,10 @@ public interface JobTriggerOrBuilder
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.privacy.dlp.v2.Error getErrors(int index); /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -239,14 +183,10 @@ public interface JobTriggerOrBuilder
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -254,14 +194,11 @@ public interface JobTriggerOrBuilder
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsOrBuilderList(); + java.util.List + getErrorsOrBuilderList(); /** - * - * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -269,154 +206,107 @@ public interface JobTriggerOrBuilder
    * this list will be cleared.
    * 
* - * - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( + int index); /** - * - * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastRunTime field is set. */ boolean hasLastRunTime(); /** - * - * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastRunTime. */ com.google.protobuf.Timestamp getLastRunTime(); /** - * - * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder(); /** - * - * *
    * Required. A status for this trigger.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * Required. A status for this trigger.
    * 
* - * - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ com.google.privacy.dlp.v2.JobTrigger.Status getStatus(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java index 9619ca24..a18aa19f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A unique identifier for a Datastore entity.
  * If a key's partition ID or any of its path kinds or names are
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Key}
  */
-public final class Key extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Key extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Key)
     KeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Key.newBuilder() to construct.
   private Key(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Key() {
     path_ = 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 Key();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Key(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,46 +57,42 @@ private Key(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null;
-              if (partitionId_ != null) {
-                subBuilder = partitionId_.toBuilder();
-              }
-              partitionId_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(partitionId_);
-                partitionId_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null;
+            if (partitionId_ != null) {
+              subBuilder = partitionId_.toBuilder();
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                path_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              path_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Key.PathElement.parser(), extensionRegistry));
-              break;
+            partitionId_ = input.readMessage(com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(partitionId_);
+              partitionId_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              path_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            path_.add(
+                input.readMessage(com.google.privacy.dlp.v2.Key.PathElement.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         path_ = java.util.Collections.unmodifiableList(path_);
@@ -122,29 +101,24 @@ private Key(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_Key_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Key.class, com.google.privacy.dlp.v2.Key.Builder.class);
   }
 
-  public interface PathElementOrBuilder
-      extends
+  public interface PathElementOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Key.PathElement)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -153,13 +127,10 @@ public interface PathElementOrBuilder
      * 
* * string kind = 1; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -168,14 +139,12 @@ public interface PathElementOrBuilder
      * 
* * string kind = 1; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); /** - * - * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -183,13 +152,10 @@ public interface PathElementOrBuilder
      * 
* * int64 id = 2; - * * @return Whether the id field is set. */ boolean hasId(); /** - * - * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -197,14 +163,11 @@ public interface PathElementOrBuilder
      * 
* * int64 id = 2; - * * @return The id. */ long getId(); /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -213,13 +176,10 @@ public interface PathElementOrBuilder
      * 
* * string name = 3; - * * @return Whether the name field is set. */ boolean hasName(); /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -228,13 +188,10 @@ public interface PathElementOrBuilder
      * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -243,16 +200,14 @@ public interface PathElementOrBuilder
      * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); public com.google.privacy.dlp.v2.Key.PathElement.IdTypeCase getIdTypeCase(); } /** - * - * *
    * A (kind, ID/name) pair used to construct a key path.
    * If either name or ID is set, the element is complete.
@@ -261,31 +216,31 @@ public interface PathElementOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.Key.PathElement}
    */
-  public static final class PathElement extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PathElement extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Key.PathElement)
       PathElementOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PathElement.newBuilder() to construct.
     private PathElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PathElement() {
       kind_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PathElement();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PathElement(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -304,72 +259,64 @@ private PathElement(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                kind_ = s;
-                break;
-              }
-            case 16:
-              {
-                idTypeCase_ = 2;
-                idType_ = input.readInt64();
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                idTypeCase_ = 3;
-                idType_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              kind_ = s;
+              break;
+            }
+            case 16: {
+              idTypeCase_ = 2;
+              idType_ = input.readInt64();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              idTypeCase_ = 3;
+              idType_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Key.PathElement.class,
-              com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
+              com.google.privacy.dlp.v2.Key.PathElement.class, com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
     }
 
     private int idTypeCase_ = 0;
     private java.lang.Object idType_;
-
     public enum IdTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ID(2),
       NAME(3),
       IDTYPE_NOT_SET(0);
       private final int value;
-
       private IdTypeCase(int value) {
         this.value = value;
       }
@@ -385,31 +332,26 @@ public static IdTypeCase valueOf(int value) {
 
       public static IdTypeCase forNumber(int value) {
         switch (value) {
-          case 2:
-            return ID;
-          case 3:
-            return NAME;
-          case 0:
-            return IDTYPE_NOT_SET;
-          default:
-            return null;
+          case 2: return ID;
+          case 3: return NAME;
+          case 0: return IDTYPE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public IdTypeCase getIdTypeCase() {
-      return IdTypeCase.forNumber(idTypeCase_);
+    public IdTypeCase
+    getIdTypeCase() {
+      return IdTypeCase.forNumber(
+          idTypeCase_);
     }
 
     public static final int KIND_FIELD_NUMBER = 1;
     private volatile java.lang.Object kind_;
     /**
-     *
-     *
      * 
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -418,7 +360,6 @@ public IdTypeCase getIdTypeCase() {
      * 
* * string kind = 1; - * * @return The kind. */ @java.lang.Override @@ -427,15 +368,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -444,15 +384,16 @@ public java.lang.String getKind() {
      * 
* * string kind = 1; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -462,8 +403,6 @@ public com.google.protobuf.ByteString getKindBytes() { public static final int ID_FIELD_NUMBER = 2; /** - * - * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -471,7 +410,6 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * int64 id = 2; - * * @return Whether the id field is set. */ @java.lang.Override @@ -479,8 +417,6 @@ public boolean hasId() { return idTypeCase_ == 2; } /** - * - * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -488,7 +424,6 @@ public boolean hasId() {
      * 
* * int64 id = 2; - * * @return The id. */ @java.lang.Override @@ -501,8 +436,6 @@ public long getId() { public static final int NAME_FIELD_NUMBER = 3; /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -511,15 +444,12 @@ public long getId() {
      * 
* * string name = 3; - * * @return Whether the name field is set. */ public boolean hasName() { return idTypeCase_ == 3; } /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -528,7 +458,6 @@ public boolean hasName() {
      * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { @@ -539,7 +468,8 @@ 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(); if (idTypeCase_ == 3) { idType_ = s; @@ -548,8 +478,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -558,17 +486,18 @@ public java.lang.String getName() {
      * 
* * string name = 3; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -579,7 +508,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,12 +519,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); } if (idTypeCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) idType_)); + output.writeInt64( + 2, (long)((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, idType_); @@ -614,9 +544,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); } if (idTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) idType_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, idType_); @@ -629,22 +559,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.privacy.dlp.v2.Key.PathElement)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Key.PathElement other = - (com.google.privacy.dlp.v2.Key.PathElement) obj; + com.google.privacy.dlp.v2.Key.PathElement other = (com.google.privacy.dlp.v2.Key.PathElement) obj; - if (!getKind().equals(other.getKind())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!getIdTypeCase().equals(other.getIdTypeCase())) return false; switch (idTypeCase_) { case 2: - if (getId() != other.getId()) return false; + if (getId() + != other.getId()) return false; break; case 3: - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; break; case 0: default: @@ -665,7 +597,8 @@ public int hashCode() { switch (idTypeCase_) { case 2: hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getId()); break; case 3: hash = (37 * hash) + NAME_FIELD_NUMBER; @@ -679,94 +612,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Key.PathElement parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.Key.PathElement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Key.PathElement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Key.PathElement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -776,8 +703,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A (kind, ID/name) pair used to construct a key path.
      * If either name or ID is set, the element is complete.
@@ -786,24 +711,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Key.PathElement}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Key.PathElement)
         com.google.privacy.dlp.v2.Key.PathElementOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Key.PathElement.class,
-                com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
+                com.google.privacy.dlp.v2.Key.PathElement.class, com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Key.PathElement.newBuilder()
@@ -811,15 +733,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -831,9 +754,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
@@ -852,8 +775,7 @@ public com.google.privacy.dlp.v2.Key.PathElement build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Key.PathElement buildPartial() {
-        com.google.privacy.dlp.v2.Key.PathElement result =
-            new com.google.privacy.dlp.v2.Key.PathElement(this);
+        com.google.privacy.dlp.v2.Key.PathElement result = new com.google.privacy.dlp.v2.Key.PathElement(this);
         result.kind_ = kind_;
         if (idTypeCase_ == 2) {
           result.idType_ = idType_;
@@ -870,41 +792,38 @@ public com.google.privacy.dlp.v2.Key.PathElement buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.Key.PathElement) {
-          return mergeFrom((com.google.privacy.dlp.v2.Key.PathElement) other);
+          return mergeFrom((com.google.privacy.dlp.v2.Key.PathElement)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -918,22 +837,19 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Key.PathElement other) {
           onChanged();
         }
         switch (other.getIdTypeCase()) {
-          case ID:
-            {
-              setId(other.getId());
-              break;
-            }
-          case NAME:
-            {
-              idTypeCase_ = 3;
-              idType_ = other.idType_;
-              onChanged();
-              break;
-            }
-          case IDTYPE_NOT_SET:
-            {
-              break;
-            }
+          case ID: {
+            setId(other.getId());
+            break;
+          }
+          case NAME: {
+            idTypeCase_ = 3;
+            idType_ = other.idType_;
+            onChanged();
+            break;
+          }
+          case IDTYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -963,12 +879,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int idTypeCase_ = 0;
       private java.lang.Object idType_;
-
-      public IdTypeCase getIdTypeCase() {
-        return IdTypeCase.forNumber(idTypeCase_);
+      public IdTypeCase
+          getIdTypeCase() {
+        return IdTypeCase.forNumber(
+            idTypeCase_);
       }
 
       public Builder clearIdType() {
@@ -978,10 +894,9 @@ public Builder clearIdType() {
         return this;
       }
 
+
       private java.lang.Object kind_ = "";
       /**
-       *
-       *
        * 
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -990,13 +905,13 @@ public Builder clearIdType() {
        * 
* * string kind = 1; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -1005,8 +920,6 @@ public java.lang.String getKind() { } } /** - * - * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -1015,14 +928,15 @@ public java.lang.String getKind() {
        * 
* * string kind = 1; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -1030,8 +944,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -1040,22 +952,20 @@ public com.google.protobuf.ByteString getKindBytes() {
        * 
* * string kind = 1; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { + public Builder setKind( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** - * - * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -1064,18 +974,15 @@ public Builder setKind(java.lang.String value) {
        * 
* * string kind = 1; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * - * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -1084,24 +991,22 @@ public Builder clearKind() {
        * 
* * string kind = 1; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { + public Builder setKindBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; onChanged(); return this; } /** - * - * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1109,15 +1014,12 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) {
        * 
* * int64 id = 2; - * * @return Whether the id field is set. */ public boolean hasId() { return idTypeCase_ == 2; } /** - * - * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1125,7 +1027,6 @@ public boolean hasId() {
        * 
* * int64 id = 2; - * * @return The id. */ public long getId() { @@ -1135,8 +1036,6 @@ public long getId() { return 0L; } /** - * - * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1144,7 +1043,6 @@ public long getId() {
        * 
* * int64 id = 2; - * * @param value The id to set. * @return This builder for chaining. */ @@ -1155,8 +1053,6 @@ public Builder setId(long value) { return this; } /** - * - * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1164,7 +1060,6 @@ public Builder setId(long value) {
        * 
* * int64 id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1177,8 +1072,6 @@ public Builder clearId() { } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1187,7 +1080,6 @@ public Builder clearId() {
        * 
* * string name = 3; - * * @return Whether the name field is set. */ @java.lang.Override @@ -1195,8 +1087,6 @@ public boolean hasName() { return idTypeCase_ == 3; } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1205,7 +1095,6 @@ public boolean hasName() {
        * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -1215,7 +1104,8 @@ public java.lang.String getName() { ref = idType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (idTypeCase_ == 3) { idType_ = s; @@ -1226,8 +1116,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1236,18 +1124,19 @@ public java.lang.String getName() {
        * 
* * string name = 3; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -1257,8 +1146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1267,22 +1154,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - idTypeCase_ = 3; + throw new NullPointerException(); + } + idTypeCase_ = 3; idType_ = value; onChanged(); return this; } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1291,7 +1176,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1303,8 +1187,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1313,21 +1195,20 @@ public Builder clearName() {
        * 
* * string name = 3; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); idTypeCase_ = 3; idType_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1340,12 +1221,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Key.PathElement) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Key.PathElement) private static final com.google.privacy.dlp.v2.Key.PathElement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Key.PathElement(); } @@ -1354,16 +1235,16 @@ public static com.google.privacy.dlp.v2.Key.PathElement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PathElement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PathElement(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PathElement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PathElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1378,13 +1259,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARTITION_ID_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.PartitionId partitionId_; /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1392,7 +1272,6 @@ public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() {
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -1400,8 +1279,6 @@ public boolean hasPartitionId() { return partitionId_ != null; } /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1409,18 +1286,13 @@ public boolean hasPartitionId() {
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return The partitionId. */ @java.lang.Override public com.google.privacy.dlp.v2.PartitionId getPartitionId() { - return partitionId_ == null - ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; } /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1437,8 +1309,6 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
   public static final int PATH_FIELD_NUMBER = 2;
   private java.util.List path_;
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1457,8 +1327,6 @@ public java.util.List getPathList() {
     return path_;
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1473,13 +1341,11 @@ public java.util.List getPathList() {
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPathOrBuilderList() {
     return path_;
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1498,8 +1364,6 @@ public int getPathCount() {
     return path_.size();
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1518,8 +1382,6 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
     return path_.get(index);
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1534,12 +1396,12 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
+      int index) {
     return path_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1551,7 +1413,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (partitionId_ != null) {
       output.writeMessage(1, getPartitionId());
     }
@@ -1568,10 +1431,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (partitionId_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartitionId());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPartitionId());
     }
     for (int i = 0; i < path_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, path_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, path_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1581,7 +1446,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.privacy.dlp.v2.Key)) {
       return super.equals(obj);
@@ -1590,9 +1455,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasPartitionId() != other.hasPartitionId()) return false;
     if (hasPartitionId()) {
-      if (!getPartitionId().equals(other.getPartitionId())) return false;
+      if (!getPartitionId()
+          .equals(other.getPartitionId())) return false;
     }
-    if (!getPathList().equals(other.getPathList())) return false;
+    if (!getPathList()
+        .equals(other.getPathList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1617,103 +1484,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.Key parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.Key parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Key parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.Key parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.privacy.dlp.v2.Key parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Key parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Key parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Key parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Key parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.Key parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Key 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.privacy.dlp.v2.Key parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.Key parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.privacy.dlp.v2.Key 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.privacy.dlp.v2.Key parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.Key prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 unique identifier for a Datastore entity.
    * If a key's partition ID or any of its path kinds or names are
@@ -1723,20 +1584,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Key}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Key)
       com.google.privacy.dlp.v2.KeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_Key_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Key.class, com.google.privacy.dlp.v2.Key.Builder.class);
     }
@@ -1746,17 +1606,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPathFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1776,9 +1636,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_Key_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_descriptor;
     }
 
     @java.lang.Override
@@ -1821,39 +1681,38 @@ public com.google.privacy.dlp.v2.Key buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Key) {
-        return mergeFrom((com.google.privacy.dlp.v2.Key) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Key)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1883,10 +1742,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Key other) {
             pathBuilder_ = null;
             path_ = other.path_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pathBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPathFieldBuilder()
-                    : null;
+            pathBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPathFieldBuilder() : null;
           } else {
             pathBuilder_.addAllMessages(other.path_);
           }
@@ -1920,18 +1778,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.PartitionId partitionId_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PartitionId,
-            com.google.privacy.dlp.v2.PartitionId.Builder,
-            com.google.privacy.dlp.v2.PartitionIdOrBuilder>
-        partitionIdBuilder_;
+        com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> partitionIdBuilder_;
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1939,15 +1791,12 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return partitionIdBuilder_ != null || partitionId_ != null; } /** - * - * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1955,21 +1804,16 @@ public boolean hasPartitionId() {
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return The partitionId. */ public com.google.privacy.dlp.v2.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null - ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** - * - * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1992,8 +1836,6 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2002,7 +1844,8 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
      *
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
-    public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(
+        com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
         onChanged();
@@ -2013,8 +1856,6 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2027,9 +1868,7 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       if (partitionIdBuilder_ == null) {
         if (partitionId_ != null) {
           partitionId_ =
-              com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_).mergeFrom(value).buildPartial();
         } else {
           partitionId_ = value;
         }
@@ -2041,8 +1880,6 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2063,8 +1900,6 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2074,13 +1909,11 @@ public Builder clearPartitionId() {
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     public com.google.privacy.dlp.v2.PartitionId.Builder getPartitionIdBuilder() {
-
+      
       onChanged();
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2093,14 +1926,11 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null
-            ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance()
-            : partitionId_;
+        return partitionId_ == null ?
+            com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_;
       }
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2110,41 +1940,32 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PartitionId,
-            com.google.privacy.dlp.v2.PartitionId.Builder,
-            com.google.privacy.dlp.v2.PartitionIdOrBuilder>
+        com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> 
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.PartitionId,
-                com.google.privacy.dlp.v2.PartitionId.Builder,
-                com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
-                getPartitionId(), getParentForChildren(), isClean());
+        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
+                getPartitionId(),
+                getParentForChildren(),
+                isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
     }
 
     private java.util.List path_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePathIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         path_ = new java.util.ArrayList(path_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Key.PathElement,
-            com.google.privacy.dlp.v2.Key.PathElement.Builder,
-            com.google.privacy.dlp.v2.Key.PathElementOrBuilder>
-        pathBuilder_;
+        com.google.privacy.dlp.v2.Key.PathElement, com.google.privacy.dlp.v2.Key.PathElement.Builder, com.google.privacy.dlp.v2.Key.PathElementOrBuilder> pathBuilder_;
 
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2166,8 +1987,6 @@ public java.util.List getPathList() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2189,8 +2008,6 @@ public int getPathCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2212,8 +2029,6 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2227,7 +2042,8 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public Builder setPath(int index, com.google.privacy.dlp.v2.Key.PathElement value) {
+    public Builder setPath(
+        int index, com.google.privacy.dlp.v2.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2241,8 +2057,6 @@ public Builder setPath(int index, com.google.privacy.dlp.v2.Key.PathElement valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2268,8 +2082,6 @@ public Builder setPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2297,8 +2109,6 @@ public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2312,7 +2122,8 @@ public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement value) {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public Builder addPath(int index, com.google.privacy.dlp.v2.Key.PathElement value) {
+    public Builder addPath(
+        int index, com.google.privacy.dlp.v2.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2326,8 +2137,6 @@ public Builder addPath(int index, com.google.privacy.dlp.v2.Key.PathElement valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2341,7 +2150,8 @@ public Builder addPath(int index, com.google.privacy.dlp.v2.Key.PathElement valu
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement.Builder builderForValue) {
+    public Builder addPath(
+        com.google.privacy.dlp.v2.Key.PathElement.Builder builderForValue) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
         path_.add(builderForValue.build());
@@ -2352,8 +2162,6 @@ public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2379,8 +2187,6 @@ public Builder addPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2398,7 +2204,8 @@ public Builder addAllPath(
         java.lang.Iterable values) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, path_);
         onChanged();
       } else {
         pathBuilder_.addAllMessages(values);
@@ -2406,8 +2213,6 @@ public Builder addAllPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2432,8 +2237,6 @@ public Builder clearPath() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2458,8 +2261,6 @@ public Builder removePath(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2473,12 +2274,11 @@ public Builder removePath(int index) {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public com.google.privacy.dlp.v2.Key.PathElement.Builder getPathBuilder(int index) {
+    public com.google.privacy.dlp.v2.Key.PathElement.Builder getPathBuilder(
+        int index) {
       return getPathFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2492,16 +2292,14 @@ public com.google.privacy.dlp.v2.Key.PathElement.Builder getPathBuilder(int inde
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
+        int index) {
       if (pathBuilder_ == null) {
-        return path_.get(index);
-      } else {
+        return path_.get(index);  } else {
         return pathBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2515,8 +2313,8 @@ public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int i
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public java.util.List
-        getPathOrBuilderList() {
+    public java.util.List 
+         getPathOrBuilderList() {
       if (pathBuilder_ != null) {
         return pathBuilder_.getMessageOrBuilderList();
       } else {
@@ -2524,8 +2322,6 @@ public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2540,12 +2336,10 @@ public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int i
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
     public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder() {
-      return getPathFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
+      return getPathFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2559,13 +2353,12 @@ public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder() {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder(int index) {
-      return getPathFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
+    public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder(
+        int index) {
+      return getPathFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2579,29 +2372,27 @@ public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder(int inde
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public java.util.List getPathBuilderList() {
+    public java.util.List 
+         getPathBuilderList() {
       return getPathFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Key.PathElement,
-            com.google.privacy.dlp.v2.Key.PathElement.Builder,
-            com.google.privacy.dlp.v2.Key.PathElementOrBuilder>
+        com.google.privacy.dlp.v2.Key.PathElement, com.google.privacy.dlp.v2.Key.PathElement.Builder, com.google.privacy.dlp.v2.Key.PathElementOrBuilder> 
         getPathFieldBuilder() {
       if (pathBuilder_ == null) {
-        pathBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Key.PathElement,
-                com.google.privacy.dlp.v2.Key.PathElement.Builder,
-                com.google.privacy.dlp.v2.Key.PathElementOrBuilder>(
-                path_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        pathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.Key.PathElement, com.google.privacy.dlp.v2.Key.PathElement.Builder, com.google.privacy.dlp.v2.Key.PathElementOrBuilder>(
+                path_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         path_ = null;
       }
       return pathBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2611,12 +2402,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Key)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Key)
   private static final com.google.privacy.dlp.v2.Key DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Key();
   }
@@ -2625,16 +2416,16 @@ public static com.google.privacy.dlp.v2.Key getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Key parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Key(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Key parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Key(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2649,4 +2440,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.Key getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
similarity index 85%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
index 467a004e..0a62e436 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface KeyOrBuilder
-    extends
+public interface KeyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Key)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -33,13 +15,10 @@ public interface KeyOrBuilder
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -47,13 +26,10 @@ public interface KeyOrBuilder
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; - * * @return The partitionId. */ com.google.privacy.dlp.v2.PartitionId getPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -65,8 +41,6 @@ public interface KeyOrBuilder
   com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -80,10 +54,9 @@ public interface KeyOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
-  java.util.List getPathList();
+  java.util.List 
+      getPathList();
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -99,8 +72,6 @@ public interface KeyOrBuilder
    */
   com.google.privacy.dlp.v2.Key.PathElement getPath(int index);
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -116,8 +87,6 @@ public interface KeyOrBuilder
    */
   int getPathCount();
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -131,11 +100,9 @@ public interface KeyOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
-  java.util.List
+  java.util.List 
       getPathOrBuilderList();
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -149,5 +116,6 @@ public interface KeyOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
-  com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index);
+  com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
similarity index 68%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
index 793bc2f9..537cbd70 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * A representation of a Datastore kind.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.KindExpression} */ -public final class KindExpression extends com.google.protobuf.GeneratedMessageV3 - implements +public final class KindExpression extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.KindExpression) KindExpressionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use KindExpression.newBuilder() to construct. private KindExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KindExpression() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new KindExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KindExpression( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,58 +53,52 @@ private KindExpression( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.KindExpression.class, - com.google.privacy.dlp.v2.KindExpression.Builder.class); + com.google.privacy.dlp.v2.KindExpression.class, com.google.privacy.dlp.v2.KindExpression.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the kind.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -130,29 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the kind.
    * 
* * 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 { @@ -161,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -197,14 +174,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.privacy.dlp.v2.KindExpression)) { return super.equals(obj); } com.google.privacy.dlp.v2.KindExpression other = (com.google.privacy.dlp.v2.KindExpression) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,127 +201,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.KindExpression parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.KindExpression parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.KindExpression parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.KindExpression parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.KindExpression parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.KindExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Datastore kind.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.KindExpression} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.KindExpression) com.google.privacy.dlp.v2.KindExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.KindExpression.class, - com.google.privacy.dlp.v2.KindExpression.Builder.class); + com.google.privacy.dlp.v2.KindExpression.class, com.google.privacy.dlp.v2.KindExpression.Builder.class); } // Construct using com.google.privacy.dlp.v2.KindExpression.newBuilder() @@ -351,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -369,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_descriptor; } @java.lang.Override @@ -390,8 +360,7 @@ public com.google.privacy.dlp.v2.KindExpression build() { @java.lang.Override public com.google.privacy.dlp.v2.KindExpression buildPartial() { - com.google.privacy.dlp.v2.KindExpression result = - new com.google.privacy.dlp.v2.KindExpression(this); + com.google.privacy.dlp.v2.KindExpression result = new com.google.privacy.dlp.v2.KindExpression(this); result.name_ = name_; onBuilt(); return result; @@ -401,39 +370,38 @@ public com.google.privacy.dlp.v2.KindExpression buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.KindExpression) { - return mergeFrom((com.google.privacy.dlp.v2.KindExpression) other); + return mergeFrom((com.google.privacy.dlp.v2.KindExpression)other); } else { super.mergeFrom(other); return this; @@ -477,20 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the kind.
      * 
* * 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; @@ -499,21 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the kind.
      * 
* * 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 { @@ -521,68 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the kind.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the kind.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the kind.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.KindExpression) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.KindExpression) private static final com.google.privacy.dlp.v2.KindExpression DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.KindExpression(); } @@ -606,16 +564,16 @@ public static com.google.privacy.dlp.v2.KindExpression getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KindExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KindExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KindExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KindExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -630,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.KindExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java new file mode 100644 index 00000000..42c93757 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/storage.proto + +package com.google.privacy.dlp.v2; + +public interface KindExpressionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KindExpression) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java index bb3ce037..c523d318 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Include to use an existing data crypto key wrapped by KMS.
  * The wrapped key must be a 128-, 192-, or 256-bit key.
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.KmsWrappedCryptoKey}
  */
-public final class KmsWrappedCryptoKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KmsWrappedCryptoKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.KmsWrappedCryptoKey)
     KmsWrappedCryptoKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KmsWrappedCryptoKey.newBuilder() to construct.
   private KmsWrappedCryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private KmsWrappedCryptoKey() {
     wrappedKey_ = com.google.protobuf.ByteString.EMPTY;
     cryptoKeyName_ = "";
@@ -52,15 +34,16 @@ private KmsWrappedCryptoKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KmsWrappedCryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private KmsWrappedCryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,63 +62,57 @@ private KmsWrappedCryptoKey(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              wrappedKey_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              cryptoKeyName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            wrappedKey_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            cryptoKeyName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class,
-            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
   }
 
   public static final int WRAPPED_KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString wrappedKey_;
   /**
-   *
-   *
    * 
    * Required. The wrapped data crypto key.
    * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The wrappedKey. */ @java.lang.Override @@ -146,14 +123,11 @@ public com.google.protobuf.ByteString getWrappedKey() { public static final int CRYPTO_KEY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object cryptoKeyName_; /** - * - * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cryptoKeyName. */ @java.lang.Override @@ -162,29 +136,29 @@ public java.lang.String getCryptoKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cryptoKeyName_ = s; return s; } } /** - * - * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cryptoKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getCryptoKeyNameBytes() { + public com.google.protobuf.ByteString + getCryptoKeyNameBytes() { java.lang.Object ref = cryptoKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cryptoKeyName_ = b; return b; } else { @@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getCryptoKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!wrappedKey_.isEmpty()) { output.writeBytes(1, wrappedKey_); } @@ -222,7 +196,8 @@ public int getSerializedSize() { size = 0; if (!wrappedKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, wrappedKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, wrappedKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cryptoKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cryptoKeyName_); @@ -235,16 +210,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.KmsWrappedCryptoKey)) { return super.equals(obj); } - com.google.privacy.dlp.v2.KmsWrappedCryptoKey other = - (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) obj; + com.google.privacy.dlp.v2.KmsWrappedCryptoKey other = (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) obj; - if (!getWrappedKey().equals(other.getWrappedKey())) return false; - if (!getCryptoKeyName().equals(other.getCryptoKeyName())) return false; + if (!getWrappedKey() + .equals(other.getWrappedKey())) return false; + if (!getCryptoKeyName() + .equals(other.getCryptoKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,104 +241,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.KmsWrappedCryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Include to use an existing data crypto key wrapped by KMS.
    * The wrapped key must be a 128-, 192-, or 256-bit key.
@@ -377,23 +346,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.KmsWrappedCryptoKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.KmsWrappedCryptoKey)
       com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class,
-              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.KmsWrappedCryptoKey.newBuilder()
@@ -401,15 +368,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -421,9 +389,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -442,8 +410,7 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.KmsWrappedCryptoKey buildPartial() {
-      com.google.privacy.dlp.v2.KmsWrappedCryptoKey result =
-          new com.google.privacy.dlp.v2.KmsWrappedCryptoKey(this);
+      com.google.privacy.dlp.v2.KmsWrappedCryptoKey result = new com.google.privacy.dlp.v2.KmsWrappedCryptoKey(this);
       result.wrappedKey_ = wrappedKey_;
       result.cryptoKeyName_ = cryptoKeyName_;
       onBuilt();
@@ -454,39 +421,38 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.KmsWrappedCryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) other);
+        return mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,14 +499,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString wrappedKey_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Required. The wrapped data crypto key.
      * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The wrappedKey. */ @java.lang.Override @@ -548,39 +511,33 @@ public com.google.protobuf.ByteString getWrappedKey() { return wrappedKey_; } /** - * - * *
      * Required. The wrapped data crypto key.
      * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The wrappedKey to set. * @return This builder for chaining. */ public Builder setWrappedKey(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + wrappedKey_ = value; onChanged(); return this; } /** - * - * *
      * Required. The wrapped data crypto key.
      * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearWrappedKey() { - + wrappedKey_ = getDefaultInstance().getWrappedKey(); onChanged(); return this; @@ -588,20 +545,18 @@ public Builder clearWrappedKey() { private java.lang.Object cryptoKeyName_ = ""; /** - * - * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cryptoKeyName. */ public java.lang.String getCryptoKeyName() { java.lang.Object ref = cryptoKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cryptoKeyName_ = s; return s; @@ -610,21 +565,20 @@ public java.lang.String getCryptoKeyName() { } } /** - * - * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cryptoKeyName. */ - public com.google.protobuf.ByteString getCryptoKeyNameBytes() { + public com.google.protobuf.ByteString + getCryptoKeyNameBytes() { java.lang.Object ref = cryptoKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cryptoKeyName_ = b; return b; } else { @@ -632,68 +586,61 @@ public com.google.protobuf.ByteString getCryptoKeyNameBytes() { } } /** - * - * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cryptoKeyName to set. * @return This builder for chaining. */ - public Builder setCryptoKeyName(java.lang.String value) { + public Builder setCryptoKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cryptoKeyName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCryptoKeyName() { - + cryptoKeyName_ = getDefaultInstance().getCryptoKeyName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cryptoKeyName to set. * @return This builder for chaining. */ - public Builder setCryptoKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setCryptoKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cryptoKeyName_ = 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); } @@ -703,12 +650,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.KmsWrappedCryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.KmsWrappedCryptoKey) private static final com.google.privacy.dlp.v2.KmsWrappedCryptoKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.KmsWrappedCryptoKey(); } @@ -717,16 +664,16 @@ public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KmsWrappedCryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KmsWrappedCryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KmsWrappedCryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KmsWrappedCryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,4 +688,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java similarity index 58% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java index 6f12b33b..3c37dfb4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface KmsWrappedCryptoKeyOrBuilder - extends +public interface KmsWrappedCryptoKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KmsWrappedCryptoKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The wrapped data crypto key.
    * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The wrappedKey. */ com.google.protobuf.ByteString getWrappedKey(); /** - * - * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cryptoKeyName. */ java.lang.String getCryptoKeyName(); /** - * - * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cryptoKeyName. */ - com.google.protobuf.ByteString getCryptoKeyNameBytes(); + com.google.protobuf.ByteString + getCryptoKeyNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java index 9b47d288..08ce3eb0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Configuration for a custom dictionary created from a data source of any size
  * up to the maximum size defined in the
@@ -32,29 +15,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryConfig}
  */
-public final class LargeCustomDictionaryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LargeCustomDictionaryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.LargeCustomDictionaryConfig)
     LargeCustomDictionaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LargeCustomDictionaryConfig.newBuilder() to construct.
   private LargeCustomDictionaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private LargeCustomDictionaryConfig() {}
+  private LargeCustomDictionaryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LargeCustomDictionaryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private LargeCustomDictionaryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,100 +57,88 @@ private LargeCustomDictionaryConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null;
-              if (outputPath_ != null) {
-                subBuilder = outputPath_.toBuilder();
-              }
-              outputPath_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputPath_);
-                outputPath_ = subBuilder.buildPartial();
-              }
+          case 10: {
+            com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null;
+            if (outputPath_ != null) {
+              subBuilder = outputPath_.toBuilder();
+            }
+            outputPath_ = input.readMessage(com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputPath_);
+              outputPath_ = subBuilder.buildPartial();
+            }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.CloudStorageFileSet.Builder subBuilder = null;
+            if (sourceCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.CloudStorageFileSet) source_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.CloudStorageFileSet.Builder subBuilder = null;
-              if (sourceCase_ == 2) {
-                subBuilder = ((com.google.privacy.dlp.v2.CloudStorageFileSet) source_).toBuilder();
-              }
-              source_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CloudStorageFileSet.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) source_);
-                source_ = subBuilder.buildPartial();
-              }
-              sourceCase_ = 2;
-              break;
+            source_ =
+                input.readMessage(com.google.privacy.dlp.v2.CloudStorageFileSet.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) source_);
+              source_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.BigQueryField.Builder subBuilder = null;
-              if (sourceCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.BigQueryField) source_).toBuilder();
-              }
-              source_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.BigQueryField.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryField) source_);
-                source_ = subBuilder.buildPartial();
-              }
-              sourceCase_ = 3;
-              break;
+            sourceCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.BigQueryField.Builder subBuilder = null;
+            if (sourceCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.BigQueryField) source_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            source_ =
+                input.readMessage(com.google.privacy.dlp.v2.BigQueryField.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryField) source_);
+              source_ = subBuilder.buildPartial();
             }
+            sourceCase_ = 3;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class,
-            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
+            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
   }
 
   private int sourceCase_ = 0;
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CLOUD_STORAGE_FILE_SET(2),
     BIG_QUERY_FIELD(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -182,31 +154,26 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return CLOUD_STORAGE_FILE_SET;
-        case 3:
-          return BIG_QUERY_FIELD;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 2: return CLOUD_STORAGE_FILE_SET;
+        case 3: return BIG_QUERY_FIELD;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int OUTPUT_PATH_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CloudStoragePath outputPath_;
   /**
-   *
-   *
    * 
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -215,7 +182,6 @@ public SourceCase getSourceCase() {
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return Whether the outputPath field is set. */ @java.lang.Override @@ -223,8 +189,6 @@ public boolean hasOutputPath() { return outputPath_ != null; } /** - * - * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -233,18 +197,13 @@ public boolean hasOutputPath() {
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return The outputPath. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() { - return outputPath_ == null - ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() - : outputPath_; + return outputPath_ == null ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() : outputPath_; } /** - * - * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -261,14 +220,11 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
 
   public static final int CLOUD_STORAGE_FILE_SET_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; - * * @return Whether the cloudStorageFileSet field is set. */ @java.lang.Override @@ -276,26 +232,21 @@ public boolean hasCloudStorageFileSet() { return sourceCase_ == 2; } /** - * - * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; - * * @return The cloudStorageFileSet. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; + return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; } return com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance(); } /** - * - * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
@@ -305,21 +256,18 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; + return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; } return com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance(); } public static final int BIG_QUERY_FIELD_FIELD_NUMBER = 3; /** - * - * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; - * * @return Whether the bigQueryField field is set. */ @java.lang.Override @@ -327,26 +275,21 @@ public boolean hasBigQueryField() { return sourceCase_ == 3; } /** - * - * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; - * * @return The bigQueryField. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryField) source_; + return (com.google.privacy.dlp.v2.BigQueryField) source_; } return com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance(); } /** - * - * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
@@ -356,13 +299,12 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilder() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryField) source_; + return (com.google.privacy.dlp.v2.BigQueryField) source_; } return com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -374,7 +316,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (outputPath_ != null) { output.writeMessage(1, getOutputPath()); } @@ -394,17 +337,16 @@ public int getSerializedSize() { size = 0; if (outputPath_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputPath()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOutputPath()); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.CloudStorageFileSet) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.CloudStorageFileSet) source_); } if (sourceCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.BigQueryField) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.BigQueryField) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -414,25 +356,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig other = - (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) obj; + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig other = (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) obj; if (hasOutputPath() != other.hasOutputPath()) return false; if (hasOutputPath()) { - if (!getOutputPath().equals(other.getOutputPath())) return false; + if (!getOutputPath() + .equals(other.getOutputPath())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getCloudStorageFileSet().equals(other.getCloudStorageFileSet())) return false; + if (!getCloudStorageFileSet() + .equals(other.getCloudStorageFileSet())) return false; break; case 3: - if (!getBigQueryField().equals(other.getBigQueryField())) return false; + if (!getBigQueryField() + .equals(other.getBigQueryField())) return false; break; case 0: default: @@ -470,104 +414,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for a custom dictionary created from a data source of any size
    * up to the maximum size defined in the
@@ -579,23 +515,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.LargeCustomDictionaryConfig)
       com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class,
-              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
+              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.newBuilder()
@@ -603,15 +537,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -627,9 +562,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -648,8 +583,7 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig buildPartial() {
-      com.google.privacy.dlp.v2.LargeCustomDictionaryConfig result =
-          new com.google.privacy.dlp.v2.LargeCustomDictionaryConfig(this);
+      com.google.privacy.dlp.v2.LargeCustomDictionaryConfig result = new com.google.privacy.dlp.v2.LargeCustomDictionaryConfig(this);
       if (outputPathBuilder_ == null) {
         result.outputPath_ = outputPath_;
       } else {
@@ -678,39 +612,38 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -718,26 +651,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig other) {
-      if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance()) return this;
       if (other.hasOutputPath()) {
         mergeOutputPath(other.getOutputPath());
       }
       switch (other.getSourceCase()) {
-        case CLOUD_STORAGE_FILE_SET:
-          {
-            mergeCloudStorageFileSet(other.getCloudStorageFileSet());
-            break;
-          }
-        case BIG_QUERY_FIELD:
-          {
-            mergeBigQueryField(other.getBigQueryField());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case CLOUD_STORAGE_FILE_SET: {
+          mergeCloudStorageFileSet(other.getCloudStorageFileSet());
+          break;
+        }
+        case BIG_QUERY_FIELD: {
+          mergeBigQueryField(other.getBigQueryField());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -758,8 +687,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -768,12 +696,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-
-    public SourceCase getSourceCase() {
-      return SourceCase.forNumber(sourceCase_);
+    public SourceCase
+        getSourceCase() {
+      return SourceCase.forNumber(
+          sourceCase_);
     }
 
     public Builder clearSource() {
@@ -783,15 +711,11 @@ public Builder clearSource() {
       return this;
     }
 
+
     private com.google.privacy.dlp.v2.CloudStoragePath outputPath_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CloudStoragePath,
-            com.google.privacy.dlp.v2.CloudStoragePath.Builder,
-            com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>
-        outputPathBuilder_;
+        com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> outputPathBuilder_;
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -800,15 +724,12 @@ public Builder clearSource() {
      * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return Whether the outputPath field is set. */ public boolean hasOutputPath() { return outputPathBuilder_ != null || outputPath_ != null; } /** - * - * *
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -817,21 +738,16 @@ public boolean hasOutputPath() {
      * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return The outputPath. */ public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() { if (outputPathBuilder_ == null) { - return outputPath_ == null - ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() - : outputPath_; + return outputPath_ == null ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() : outputPath_; } else { return outputPathBuilder_.getMessage(); } } /** - * - * *
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -855,8 +771,6 @@ public Builder setOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -878,8 +792,6 @@ public Builder setOutputPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -893,9 +805,7 @@ public Builder mergeOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value)
       if (outputPathBuilder_ == null) {
         if (outputPath_ != null) {
           outputPath_ =
-              com.google.privacy.dlp.v2.CloudStoragePath.newBuilder(outputPath_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.CloudStoragePath.newBuilder(outputPath_).mergeFrom(value).buildPartial();
         } else {
           outputPath_ = value;
         }
@@ -907,8 +817,6 @@ public Builder mergeOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -930,8 +838,6 @@ public Builder clearOutputPath() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -942,13 +848,11 @@ public Builder clearOutputPath() {
      * .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
      */
     public com.google.privacy.dlp.v2.CloudStoragePath.Builder getOutputPathBuilder() {
-
+      
       onChanged();
       return getOutputPathFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -962,14 +866,11 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
       if (outputPathBuilder_ != null) {
         return outputPathBuilder_.getMessageOrBuilder();
       } else {
-        return outputPath_ == null
-            ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()
-            : outputPath_;
+        return outputPath_ == null ?
+            com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() : outputPath_;
       }
     }
     /**
-     *
-     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -980,36 +881,27 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
      * .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CloudStoragePath,
-            com.google.privacy.dlp.v2.CloudStoragePath.Builder,
-            com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>
+        com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> 
         getOutputPathFieldBuilder() {
       if (outputPathBuilder_ == null) {
-        outputPathBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CloudStoragePath,
-                com.google.privacy.dlp.v2.CloudStoragePath.Builder,
-                com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
-                getOutputPath(), getParentForChildren(), isClean());
+        outputPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
+                getOutputPath(),
+                getParentForChildren(),
+                isClean());
         outputPath_ = null;
       }
       return outputPathBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CloudStorageFileSet,
-            com.google.privacy.dlp.v2.CloudStorageFileSet.Builder,
-            com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder>
-        cloudStorageFileSetBuilder_;
+        com.google.privacy.dlp.v2.CloudStorageFileSet, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder> cloudStorageFileSetBuilder_;
     /**
-     *
-     *
      * 
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; - * * @return Whether the cloudStorageFileSet field is set. */ @java.lang.Override @@ -1017,14 +909,11 @@ public boolean hasCloudStorageFileSet() { return sourceCase_ == 2; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; - * * @return The cloudStorageFileSet. */ @java.lang.Override @@ -1042,8 +931,6 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { } } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1064,8 +951,6 @@ public Builder setCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFile return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1084,8 +969,6 @@ public Builder setCloudStorageFileSet( return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1094,13 +977,10 @@ public Builder setCloudStorageFileSet( */ public Builder mergeCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFileSet value) { if (cloudStorageFileSetBuilder_ == null) { - if (sourceCase_ == 2 - && source_ != com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance()) { - source_ = - com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder( - (com.google.privacy.dlp.v2.CloudStorageFileSet) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance()) { + source_ = com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder((com.google.privacy.dlp.v2.CloudStorageFileSet) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1115,8 +995,6 @@ public Builder mergeCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFi return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1140,8 +1018,6 @@ public Builder clearCloudStorageFileSet() { return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1152,8 +1028,6 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile return getCloudStorageFileSetFieldBuilder().getBuilder(); } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1161,8 +1035,7 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder - getCloudStorageFileSetOrBuilder() { + public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder() { if ((sourceCase_ == 2) && (cloudStorageFileSetBuilder_ != null)) { return cloudStorageFileSetBuilder_.getMessageOrBuilder(); } else { @@ -1173,8 +1046,6 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile } } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1182,44 +1053,32 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageFileSet, - com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, - com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder> + com.google.privacy.dlp.v2.CloudStorageFileSet, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder> getCloudStorageFileSetFieldBuilder() { if (cloudStorageFileSetBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance(); } - cloudStorageFileSetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageFileSet, - com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, - com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder>( + cloudStorageFileSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CloudStorageFileSet, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder>( (com.google.privacy.dlp.v2.CloudStorageFileSet) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return cloudStorageFileSetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryField, - com.google.privacy.dlp.v2.BigQueryField.Builder, - com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> - bigQueryFieldBuilder_; + com.google.privacy.dlp.v2.BigQueryField, com.google.privacy.dlp.v2.BigQueryField.Builder, com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> bigQueryFieldBuilder_; /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; - * * @return Whether the bigQueryField field is set. */ @java.lang.Override @@ -1227,14 +1086,11 @@ public boolean hasBigQueryField() { return sourceCase_ == 3; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; - * * @return The bigQueryField. */ @java.lang.Override @@ -1252,8 +1108,6 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { } } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1274,8 +1128,6 @@ public Builder setBigQueryField(com.google.privacy.dlp.v2.BigQueryField value) { return this; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1294,8 +1146,6 @@ public Builder setBigQueryField( return this; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1304,13 +1154,10 @@ public Builder setBigQueryField( */ public Builder mergeBigQueryField(com.google.privacy.dlp.v2.BigQueryField value) { if (bigQueryFieldBuilder_ == null) { - if (sourceCase_ == 3 - && source_ != com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance()) { - source_ = - com.google.privacy.dlp.v2.BigQueryField.newBuilder( - (com.google.privacy.dlp.v2.BigQueryField) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 3 && + source_ != com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance()) { + source_ = com.google.privacy.dlp.v2.BigQueryField.newBuilder((com.google.privacy.dlp.v2.BigQueryField) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1325,8 +1172,6 @@ public Builder mergeBigQueryField(com.google.privacy.dlp.v2.BigQueryField value) return this; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1350,8 +1195,6 @@ public Builder clearBigQueryField() { return this; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1362,8 +1205,6 @@ public com.google.privacy.dlp.v2.BigQueryField.Builder getBigQueryFieldBuilder() return getBigQueryFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1382,8 +1223,6 @@ public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilde } } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1391,32 +1230,26 @@ public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilde * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryField, - com.google.privacy.dlp.v2.BigQueryField.Builder, - com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> + com.google.privacy.dlp.v2.BigQueryField, com.google.privacy.dlp.v2.BigQueryField.Builder, com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> getBigQueryFieldFieldBuilder() { if (bigQueryFieldBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance(); } - bigQueryFieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryField, - com.google.privacy.dlp.v2.BigQueryField.Builder, - com.google.privacy.dlp.v2.BigQueryFieldOrBuilder>( + bigQueryFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryField, com.google.privacy.dlp.v2.BigQueryField.Builder, com.google.privacy.dlp.v2.BigQueryFieldOrBuilder>( (com.google.privacy.dlp.v2.BigQueryField) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 3; - onChanged(); - ; + onChanged();; return bigQueryFieldBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1426,12 +1259,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.LargeCustomDictionaryConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryConfig) private static final com.google.privacy.dlp.v2.LargeCustomDictionaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.LargeCustomDictionaryConfig(); } @@ -1440,16 +1273,16 @@ public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LargeCustomDictionaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LargeCustomDictionaryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LargeCustomDictionaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LargeCustomDictionaryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1464,4 +1297,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java similarity index 81% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java index 29d55de2..49ba8e3f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface LargeCustomDictionaryConfigOrBuilder - extends +public interface LargeCustomDictionaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -34,13 +16,10 @@ public interface LargeCustomDictionaryConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return Whether the outputPath field is set. */ boolean hasOutputPath(); /** - * - * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -49,13 +28,10 @@ public interface LargeCustomDictionaryConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return The outputPath. */ com.google.privacy.dlp.v2.CloudStoragePath getOutputPath(); /** - * - * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -68,32 +44,24 @@ public interface LargeCustomDictionaryConfigOrBuilder
   com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; - * * @return Whether the cloudStorageFileSet field is set. */ boolean hasCloudStorageFileSet(); /** - * - * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; - * * @return The cloudStorageFileSet. */ com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet(); /** - * - * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
@@ -103,32 +71,24 @@ public interface LargeCustomDictionaryConfigOrBuilder com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder(); /** - * - * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; - * * @return Whether the bigQueryField field is set. */ boolean hasBigQueryField(); /** - * - * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; - * * @return The bigQueryField. */ com.google.privacy.dlp.v2.BigQueryField getBigQueryField(); /** - * - * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java index 486f60df..4d0fbf16 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Summary statistics of a custom dictionary.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryStats} */ -public final class LargeCustomDictionaryStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LargeCustomDictionaryStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.LargeCustomDictionaryStats) LargeCustomDictionaryStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LargeCustomDictionaryStats.newBuilder() to construct. private LargeCustomDictionaryStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LargeCustomDictionaryStats() {} + private LargeCustomDictionaryStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LargeCustomDictionaryStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LargeCustomDictionaryStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,56 +52,51 @@ private LargeCustomDictionaryStats( case 0: done = true; break; - case 8: - { - approxNumPhrases_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + approxNumPhrases_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); } public static final int APPROX_NUM_PHRASES_FIELD_NUMBER = 1; private long approxNumPhrases_; /** - * - * *
    * Approximate number of distinct phrases in the dictionary.
    * 
* * int64 approx_num_phrases = 1; - * * @return The approxNumPhrases. */ @java.lang.Override @@ -126,7 +105,6 @@ public long getApproxNumPhrases() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (approxNumPhrases_ != 0L) { output.writeInt64(1, approxNumPhrases_); } @@ -152,7 +131,8 @@ public int getSerializedSize() { size = 0; if (approxNumPhrases_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, approxNumPhrases_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, approxNumPhrases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -162,15 +142,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryStats)) { return super.equals(obj); } - com.google.privacy.dlp.v2.LargeCustomDictionaryStats other = - (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) obj; + com.google.privacy.dlp.v2.LargeCustomDictionaryStats other = (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) obj; - if (getApproxNumPhrases() != other.getApproxNumPhrases()) return false; + if (getApproxNumPhrases() + != other.getApproxNumPhrases()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -183,133 +163,125 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + APPROX_NUM_PHRASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getApproxNumPhrases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getApproxNumPhrases()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.LargeCustomDictionaryStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Summary statistics of a custom dictionary.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.LargeCustomDictionaryStats) com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); } // Construct using com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder() @@ -317,15 +289,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -335,9 +308,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; } @java.lang.Override @@ -356,8 +329,7 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats build() { @java.lang.Override public com.google.privacy.dlp.v2.LargeCustomDictionaryStats buildPartial() { - com.google.privacy.dlp.v2.LargeCustomDictionaryStats result = - new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(this); + com.google.privacy.dlp.v2.LargeCustomDictionaryStats result = new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(this); result.approxNumPhrases_ = approxNumPhrases_; onBuilt(); return result; @@ -367,39 +339,38 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryStats) { - return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) other); + return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats)other); } else { super.mergeFrom(other); return this; @@ -407,8 +378,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.LargeCustomDictionaryStats other) { - if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) return this; if (other.getApproxNumPhrases() != 0L) { setApproxNumPhrases(other.getApproxNumPhrases()); } @@ -431,8 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -442,16 +411,13 @@ public Builder mergeFrom( return this; } - private long approxNumPhrases_; + private long approxNumPhrases_ ; /** - * - * *
      * Approximate number of distinct phrases in the dictionary.
      * 
* * int64 approx_num_phrases = 1; - * * @return The approxNumPhrases. */ @java.lang.Override @@ -459,43 +425,37 @@ public long getApproxNumPhrases() { return approxNumPhrases_; } /** - * - * *
      * Approximate number of distinct phrases in the dictionary.
      * 
* * int64 approx_num_phrases = 1; - * * @param value The approxNumPhrases to set. * @return This builder for chaining. */ public Builder setApproxNumPhrases(long value) { - + approxNumPhrases_ = value; onChanged(); return this; } /** - * - * *
      * Approximate number of distinct phrases in the dictionary.
      * 
* * int64 approx_num_phrases = 1; - * * @return This builder for chaining. */ public Builder clearApproxNumPhrases() { - + approxNumPhrases_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -505,12 +465,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) private static final com.google.privacy.dlp.v2.LargeCustomDictionaryStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(); } @@ -519,16 +479,16 @@ public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LargeCustomDictionaryStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LargeCustomDictionaryStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LargeCustomDictionaryStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LargeCustomDictionaryStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -543,4 +503,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java new file mode 100644 index 00000000..d61c9bc3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface LargeCustomDictionaryStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryStats) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Approximate number of distinct phrases in the dictionary.
+   * 
+ * + * int64 approx_num_phrases = 1; + * @return The approxNumPhrases. + */ + long getApproxNumPhrases(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java index 636c804a..61805ff7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Categorization of results based on how likely they are to represent a match,
  * based on the number of elements they contain which imply a match.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.Likelihood}
  */
-public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum {
+public enum Likelihood
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value; same as POSSIBLE.
    * 
@@ -40,8 +22,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELIHOOD_UNSPECIFIED(0), /** - * - * *
    * Few matching elements.
    * 
@@ -49,11 +29,11 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { * VERY_UNLIKELY = 1; */ VERY_UNLIKELY(1), - /** UNLIKELY = 2; */ + /** + * UNLIKELY = 2; + */ UNLIKELY(2), /** - * - * *
    * Some matching elements.
    * 
@@ -61,11 +41,11 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { * POSSIBLE = 3; */ POSSIBLE(3), - /** LIKELY = 4; */ + /** + * LIKELY = 4; + */ LIKELY(4), /** - * - * *
    * Many matching elements.
    * 
@@ -77,8 +57,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value; same as POSSIBLE.
    * 
@@ -87,8 +65,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Few matching elements.
    * 
@@ -96,11 +72,11 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { * VERY_UNLIKELY = 1; */ public static final int VERY_UNLIKELY_VALUE = 1; - /** UNLIKELY = 2; */ + /** + * UNLIKELY = 2; + */ public static final int UNLIKELY_VALUE = 2; /** - * - * *
    * Some matching elements.
    * 
@@ -108,11 +84,11 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { * POSSIBLE = 3; */ public static final int POSSIBLE_VALUE = 3; - /** LIKELY = 4; */ + /** + * LIKELY = 4; + */ public static final int LIKELY_VALUE = 4; /** - * - * *
    * Many matching elements.
    * 
@@ -121,6 +97,7 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_LIKELY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -145,55 +122,52 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: - return LIKELIHOOD_UNSPECIFIED; - case 1: - return VERY_UNLIKELY; - case 2: - return UNLIKELY; - case 3: - return POSSIBLE; - case 4: - return LIKELY; - case 5: - return VERY_LIKELY; - default: - return null; + case 0: return LIKELIHOOD_UNSPECIFIED; + case 1: return VERY_UNLIKELY; + case 2: return UNLIKELY; + case 3: return POSSIBLE; + case 4: return LIKELY; + case 5: return VERY_LIKELY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Likelihood> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.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.privacy.dlp.v2.DlpStorage.getDescriptor().getEnumTypes().get(0); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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,3 +183,4 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.Likelihood) } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java index 5cf5e98f..b4f1e337 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for ListDeidentifyTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesRequest} */ -public final class ListDeidentifyTemplatesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDeidentifyTemplatesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) ListDeidentifyTemplatesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDeidentifyTemplatesRequest.newBuilder() to construct. - private ListDeidentifyTemplatesRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDeidentifyTemplatesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDeidentifyTemplatesRequest() { parent_ = ""; pageToken_ = ""; @@ -47,15 +28,16 @@ private ListDeidentifyTemplatesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDeidentifyTemplatesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDeidentifyTemplatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,78 +56,70 @@ private ListDeidentifyTemplatesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: { - orderBy_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -165,10 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -177,15 +148,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -205,18 +175,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -227,15 +196,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -244,30 +210,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; - * * @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 { @@ -278,15 +244,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -297,8 +260,6 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -313,7 +274,6 @@ public int getPageSize() {
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -322,15 +282,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -345,15 +304,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; - * * @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 { @@ -364,14 +324,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ @java.lang.Override @@ -380,29 +337,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -411,7 +368,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,7 +379,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -455,7 +412,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -471,19 +429,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.privacy.dlp.v2.ListDeidentifyTemplatesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest other = - (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest other = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -511,127 +473,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListDeidentifyTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.newBuilder() @@ -639,15 +591,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -665,9 +618,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; } @java.lang.Override @@ -686,8 +639,7 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest buildPartial() { - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest result = - new com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest(this); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest result = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -701,39 +653,38 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest)other); } else { super.mergeFrom(other); return this; @@ -741,8 +692,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest other) { - if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -781,8 +731,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -794,8 +743,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -815,16 +762,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -833,8 +778,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -854,17 +797,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -872,8 +814,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -893,25 +833,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -931,21 +867,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -965,19 +896,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -985,21 +914,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; - * * @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; @@ -1008,22 +935,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; - * * @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 { @@ -1031,80 +957,70 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1112,38 +1028,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1151,8 +1061,6 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1167,13 +1075,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; - * * @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; @@ -1182,8 +1090,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1198,14 +1104,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; - * * @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 { @@ -1213,8 +1120,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1229,22 +1134,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 4; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1259,18 +1162,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 4; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1285,16 +1185,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1302,20 +1202,18 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1324,21 +1222,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1346,68 +1243,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1417,12 +1307,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) private static final com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest(); } @@ -1431,16 +1321,16 @@ public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeidentifyTemplatesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeidentifyTemplatesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeidentifyTemplatesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeidentifyTemplatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1455,4 +1345,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java index 51f57978..232455b5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDeidentifyTemplatesRequestOrBuilder - extends +public interface ListDeidentifyTemplatesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -45,16 +27,11 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -74,58 +51,46 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -140,13 +105,10 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -161,33 +123,28 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java index be71d361..224b5c67 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Response message for ListDeidentifyTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesResponse} */ -public final class ListDeidentifyTemplatesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDeidentifyTemplatesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) ListDeidentifyTemplatesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDeidentifyTemplatesResponse.newBuilder() to construct. - private ListDeidentifyTemplatesResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDeidentifyTemplatesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDeidentifyTemplatesResponse() { deidentifyTemplates_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListDeidentifyTemplatesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDeidentifyTemplatesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDeidentifyTemplatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,38 +55,35 @@ private ListDeidentifyTemplatesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deidentifyTemplates_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deidentifyTemplates_.add( - input.readMessage( - com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deidentifyTemplates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + deidentifyTemplates_.add( + input.readMessage(com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { deidentifyTemplates_ = java.util.Collections.unmodifiableList(deidentifyTemplates_); @@ -113,27 +92,22 @@ private ListDeidentifyTemplatesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); } public static final int DEIDENTIFY_TEMPLATES_FIELD_NUMBER = 1; private java.util.List deidentifyTemplates_; /** - * - * *
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -146,8 +120,6 @@ public java.util.List getDeidentif
     return deidentifyTemplates_;
   }
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -156,13 +128,11 @@ public java.util.List getDeidentif
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDeidentifyTemplatesOrBuilderList() {
     return deidentifyTemplates_;
   }
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -175,8 +145,6 @@ public int getDeidentifyTemplatesCount() {
     return deidentifyTemplates_.size();
   }
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -189,8 +157,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
     return deidentifyTemplates_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -207,15 +173,12 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -224,30 +187,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; } } /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * 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 { @@ -256,7 +219,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < deidentifyTemplates_.size(); i++) { output.writeMessage(1, deidentifyTemplates_.get(i)); } @@ -285,8 +248,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deidentifyTemplates_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, deidentifyTemplates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, deidentifyTemplates_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -299,16 +262,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.privacy.dlp.v2.ListDeidentifyTemplatesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse other = - (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) obj; + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse other = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) obj; - if (!getDeidentifyTemplatesList().equals(other.getDeidentifyTemplatesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDeidentifyTemplatesList() + .equals(other.getDeidentifyTemplatesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,127 +296,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListDeidentifyTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.newBuilder() @@ -460,17 +414,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDeidentifyTemplatesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; } @java.lang.Override @@ -507,8 +461,7 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse buildPartial() { - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse result = - new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(this); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse result = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(this); int from_bitField0_ = bitField0_; if (deidentifyTemplatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +481,38 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse other) { - if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.getDefaultInstance()) return this; if (deidentifyTemplatesBuilder_ == null) { if (!other.deidentifyTemplates_.isEmpty()) { if (deidentifyTemplates_.isEmpty()) { @@ -588,10 +539,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRespon deidentifyTemplatesBuilder_ = null; deidentifyTemplates_ = other.deidentifyTemplates_; bitField0_ = (bitField0_ & ~0x00000001); - deidentifyTemplatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDeidentifyTemplatesFieldBuilder() - : null; + deidentifyTemplatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDeidentifyTemplatesFieldBuilder() : null; } else { deidentifyTemplatesBuilder_.addAllMessages(other.deidentifyTemplates_); } @@ -620,8 +570,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,30 +579,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List deidentifyTemplates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDeidentifyTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deidentifyTemplates_ = - new java.util.ArrayList( - deidentifyTemplates_); + deidentifyTemplates_ = new java.util.ArrayList(deidentifyTemplates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> - deidentifyTemplatesBuilder_; + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> deidentifyTemplatesBuilder_; /** - * - * *
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -661,8 +601,7 @@ private void ensureDeidentifyTemplatesIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
-    public java.util.List
-        getDeidentifyTemplatesList() {
+    public java.util.List getDeidentifyTemplatesList() {
       if (deidentifyTemplatesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(deidentifyTemplates_);
       } else {
@@ -670,8 +609,6 @@ private void ensureDeidentifyTemplatesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -687,8 +624,6 @@ public int getDeidentifyTemplatesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -704,8 +639,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -728,8 +661,6 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -749,8 +680,6 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -772,8 +701,6 @@ public Builder addDeidentifyTemplates(com.google.privacy.dlp.v2.DeidentifyTempla
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -796,8 +723,6 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -817,8 +742,6 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -838,8 +761,6 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -851,7 +772,8 @@ public Builder addAllDeidentifyTemplates(
         java.lang.Iterable values) {
       if (deidentifyTemplatesBuilder_ == null) {
         ensureDeidentifyTemplatesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deidentifyTemplates_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, deidentifyTemplates_);
         onChanged();
       } else {
         deidentifyTemplatesBuilder_.addAllMessages(values);
@@ -859,8 +781,6 @@ public Builder addAllDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -879,8 +799,6 @@ public Builder clearDeidentifyTemplates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -899,8 +817,6 @@ public Builder removeDeidentifyTemplates(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -913,8 +829,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplat
       return getDeidentifyTemplatesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -925,14 +839,11 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplat
     public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(
         int index) {
       if (deidentifyTemplatesBuilder_ == null) {
-        return deidentifyTemplates_.get(index);
-      } else {
+        return deidentifyTemplates_.get(index);  } else {
         return deidentifyTemplatesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -940,8 +851,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
      *
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
-    public java.util.List
-        getDeidentifyTemplatesOrBuilderList() {
+    public java.util.List 
+         getDeidentifyTemplatesOrBuilderList() {
       if (deidentifyTemplatesBuilder_ != null) {
         return deidentifyTemplatesBuilder_.getMessageOrBuilderList();
       } else {
@@ -949,8 +860,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -959,12 +868,10 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
     public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder() {
-      return getDeidentifyTemplatesFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
+      return getDeidentifyTemplatesFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -974,12 +881,10 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
      */
     public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder(
         int index) {
-      return getDeidentifyTemplatesFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
+      return getDeidentifyTemplatesFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -987,22 +892,16 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
      *
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
-    public java.util.List
-        getDeidentifyTemplatesBuilderList() {
+    public java.util.List 
+         getDeidentifyTemplatesBuilderList() {
       return getDeidentifyTemplatesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.DeidentifyTemplate,
-            com.google.privacy.dlp.v2.DeidentifyTemplate.Builder,
-            com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>
+        com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> 
         getDeidentifyTemplatesFieldBuilder() {
       if (deidentifyTemplatesBuilder_ == null) {
-        deidentifyTemplatesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.DeidentifyTemplate,
-                com.google.privacy.dlp.v2.DeidentifyTemplate.Builder,
-                com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>(
+        deidentifyTemplatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>(
                 deidentifyTemplates_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1014,21 +913,19 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * 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; @@ -1037,22 +934,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * 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 { @@ -1060,71 +956,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1134,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) private static final com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(); } @@ -1148,16 +1037,16 @@ public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeidentifyTemplatesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeidentifyTemplatesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeidentifyTemplatesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeidentifyTemplatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1172,4 +1061,6 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java index 317fe803..3c5eaeb8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDeidentifyTemplatesResponseOrBuilder - extends +public interface ListDeidentifyTemplatesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -33,10 +15,9 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
    *
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
-  java.util.List getDeidentifyTemplatesList();
+  java.util.List 
+      getDeidentifyTemplatesList();
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -46,8 +27,6 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
    */
   com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int index);
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -57,8 +36,6 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
    */
   int getDeidentifyTemplatesCount();
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -66,11 +43,9 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
    *
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
-  java.util.List
+  java.util.List 
       getDeidentifyTemplatesOrBuilderList();
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -78,32 +53,28 @@ public interface ListDeidentifyTemplatesResponseOrBuilder
    *
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
-  com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(int index);
+  com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java similarity index 78% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java index 480fcaeb..22a50d75 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The request message for listing DLP jobs.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsRequest} */ -public final class ListDlpJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDlpJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDlpJobsRequest) ListDlpJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDlpJobsRequest.newBuilder() to construct. private ListDlpJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDlpJobsRequest() { parent_ = ""; filter_ = ""; @@ -48,15 +30,16 @@ private ListDlpJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDlpJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDlpJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,92 +58,82 @@ private ListDlpJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - type_ = rawValue; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderBy_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsRequest.class, - com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsRequest.class, com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -176,10 +149,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -188,15 +158,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -212,18 +181,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.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 { @@ -234,8 +202,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 1; private volatile java.lang.Object filter_; /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -263,7 +229,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 1; - * * @return The filter. */ @java.lang.Override @@ -272,15 +237,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -308,15 +272,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1; - * * @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 { @@ -327,14 +292,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The standard list page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -345,14 +307,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -361,29 +320,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 standard list page token.
    * 
* * string page_token = 3; - * * @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,44 +353,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** - * - * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return The type. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DlpJobType getType() { + @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = - com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -446,7 +394,6 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
    * 
* * string order_by = 6; - * * @return The orderBy. */ @java.lang.Override @@ -455,15 +402,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -478,15 +424,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6; - * * @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 { @@ -497,14 +444,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ @java.lang.Override @@ -513,29 +457,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -544,7 +488,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,7 +499,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -591,7 +535,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } 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_); @@ -600,7 +545,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parent_); } if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); @@ -616,21 +562,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.privacy.dlp.v2.ListDlpJobsRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDlpJobsRequest other = - (com.google.privacy.dlp.v2.ListDlpJobsRequest) obj; + com.google.privacy.dlp.v2.ListDlpJobsRequest other = (com.google.privacy.dlp.v2.ListDlpJobsRequest) 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 (!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 (type_ != other.type_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -661,127 +612,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListDlpJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 listing DLP jobs.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDlpJobsRequest) com.google.privacy.dlp.v2.ListDlpJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsRequest.class, - com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsRequest.class, com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDlpJobsRequest.newBuilder() @@ -789,15 +731,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -819,9 +762,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; } @java.lang.Override @@ -840,8 +783,7 @@ public com.google.privacy.dlp.v2.ListDlpJobsRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDlpJobsRequest buildPartial() { - com.google.privacy.dlp.v2.ListDlpJobsRequest result = - new com.google.privacy.dlp.v2.ListDlpJobsRequest(this); + com.google.privacy.dlp.v2.ListDlpJobsRequest result = new com.google.privacy.dlp.v2.ListDlpJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -857,39 +799,38 @@ public com.google.privacy.dlp.v2.ListDlpJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDlpJobsRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -955,8 +896,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -972,16 +911,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.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; @@ -990,8 +927,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1007,17 +942,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.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 { @@ -1025,8 +959,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1042,25 +974,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1076,21 +1004,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1106,19 +1029,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1126,8 +1047,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1155,13 +1074,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 1; - * * @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; @@ -1170,8 +1089,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1199,14 +1116,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1; - * * @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 { @@ -1214,8 +1132,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1243,22 +1159,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 1; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1286,18 +1200,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 1; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1325,31 +1236,28 @@ public Builder clearFilter() {
      * 
* * string filter = 1; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The standard list page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1357,36 +1265,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The standard list page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The standard list page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1394,20 +1296,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 3; - * * @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; @@ -1416,21 +1316,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 3; - * * @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 { @@ -1438,61 +1337,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1500,65 +1392,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = - com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } /** - * - * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1566,24 +1444,21 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1591,8 +1466,6 @@ public Builder clearType() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1607,13 +1480,13 @@ public Builder clearType() {
      * 
* * string order_by = 6; - * * @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; @@ -1622,8 +1495,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1638,14 +1509,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6; - * * @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 { @@ -1653,8 +1525,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1669,22 +1539,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 6; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1699,18 +1567,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 6; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1725,16 +1590,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1742,20 +1607,18 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1764,21 +1627,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1786,68 +1648,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1857,12 +1712,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDlpJobsRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDlpJobsRequest) private static final com.google.privacy.dlp.v2.ListDlpJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDlpJobsRequest(); } @@ -1871,16 +1726,16 @@ public static com.google.privacy.dlp.v2.ListDlpJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDlpJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDlpJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDlpJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDlpJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1895,4 +1750,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListDlpJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java index e1a95847..66a47c19 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDlpJobsRequestOrBuilder - extends +public interface ListDlpJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDlpJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -41,16 +23,11 @@ public interface ListDlpJobsRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -66,17 +43,13 @@ public interface ListDlpJobsRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -104,13 +77,10 @@ public interface ListDlpJobsRequestOrBuilder
    * 
* * string filter = 1; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -138,77 +108,61 @@ public interface ListDlpJobsRequestOrBuilder
    * 
* * string filter = 1; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The standard list page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; - * * @return The type. */ com.google.privacy.dlp.v2.DlpJobType getType(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -223,13 +177,10 @@ public interface ListDlpJobsRequestOrBuilder
    * 
* * string order_by = 6; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -244,33 +195,28 @@ public interface ListDlpJobsRequestOrBuilder
    * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java index 7d00635a..c4deb012 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * The response message for listing DLP jobs.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsResponse} */ -public final class ListDlpJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDlpJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDlpJobsResponse) ListDlpJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDlpJobsResponse.newBuilder() to construct. private ListDlpJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDlpJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDlpJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDlpJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDlpJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,35 @@ private ListDlpJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - jobs_.add( - input.readMessage(com.google.privacy.dlp.v2.DlpJob.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobs_.add( + input.readMessage(com.google.privacy.dlp.v2.DlpJob.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -110,27 +92,22 @@ private ListDlpJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsResponse.class, - com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsResponse.class, com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -142,8 +119,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -151,13 +126,11 @@ public java.util.List getJobsList() { * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -169,8 +142,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -182,8 +153,6 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -191,21 +160,19 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) { * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { + public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -214,29 +181,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; } } /** - * - * *
    * The standard List next-page token.
    * 
* * 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 { @@ -245,7 +212,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -274,7 +241,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -287,16 +255,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.privacy.dlp.v2.ListDlpJobsResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDlpJobsResponse other = - (com.google.privacy.dlp.v2.ListDlpJobsResponse) obj; + com.google.privacy.dlp.v2.ListDlpJobsResponse other = (com.google.privacy.dlp.v2.ListDlpJobsResponse) obj; - if (!getJobsList().equals(other.getJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -319,127 +288,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListDlpJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 listing DLP jobs.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDlpJobsResponse) com.google.privacy.dlp.v2.ListDlpJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsResponse.class, - com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsResponse.class, com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDlpJobsResponse.newBuilder() @@ -447,17 +407,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +433,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; } @java.lang.Override @@ -494,8 +454,7 @@ public com.google.privacy.dlp.v2.ListDlpJobsResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDlpJobsResponse buildPartial() { - com.google.privacy.dlp.v2.ListDlpJobsResponse result = - new com.google.privacy.dlp.v2.ListDlpJobsResponse(this); + com.google.privacy.dlp.v2.ListDlpJobsResponse result = new com.google.privacy.dlp.v2.ListDlpJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -515,39 +474,38 @@ public com.google.privacy.dlp.v2.ListDlpJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDlpJobsResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -574,10 +532,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListDlpJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -615,28 +572,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DlpJob, - com.google.privacy.dlp.v2.DlpJob.Builder, - com.google.privacy.dlp.v2.DlpJobOrBuilder> - jobsBuilder_; + com.google.privacy.dlp.v2.DlpJob, com.google.privacy.dlp.v2.DlpJob.Builder, com.google.privacy.dlp.v2.DlpJobOrBuilder> jobsBuilder_; /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -651,8 +601,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -667,8 +615,6 @@ public int getJobsCount() { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -683,15 +629,14 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder setJobs(int index, com.google.privacy.dlp.v2.DlpJob value) { + public Builder setJobs( + int index, com.google.privacy.dlp.v2.DlpJob value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -705,15 +650,14 @@ public Builder setJobs(int index, com.google.privacy.dlp.v2.DlpJob value) { return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder setJobs(int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { + public Builder setJobs( + int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -724,8 +668,6 @@ public Builder setJobs(int index, com.google.privacy.dlp.v2.DlpJob.Builder build return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -746,15 +688,14 @@ public Builder addJobs(com.google.privacy.dlp.v2.DlpJob value) { return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder addJobs(int index, com.google.privacy.dlp.v2.DlpJob value) { + public Builder addJobs( + int index, com.google.privacy.dlp.v2.DlpJob value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -768,15 +709,14 @@ public Builder addJobs(int index, com.google.privacy.dlp.v2.DlpJob value) { return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder addJobs(com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { + public Builder addJobs( + com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -787,15 +727,14 @@ public Builder addJobs(com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder addJobs(int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { + public Builder addJobs( + int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -806,8 +745,6 @@ public Builder addJobs(int index, com.google.privacy.dlp.v2.DlpJob.Builder build return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -818,7 +755,8 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -826,8 +764,6 @@ public Builder addAllJobs( return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -845,8 +781,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -864,44 +798,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public com.google.privacy.dlp.v2.DlpJob.Builder getJobsBuilder(int index) { + public com.google.privacy.dlp.v2.DlpJob.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { + public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -909,8 +838,6 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -918,47 +845,42 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); + public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DlpJob, - com.google.privacy.dlp.v2.DlpJob.Builder, - com.google.privacy.dlp.v2.DlpJobOrBuilder> + com.google.privacy.dlp.v2.DlpJob, com.google.privacy.dlp.v2.DlpJob.Builder, com.google.privacy.dlp.v2.DlpJobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DlpJob, - com.google.privacy.dlp.v2.DlpJob.Builder, - com.google.privacy.dlp.v2.DlpJobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.DlpJob, com.google.privacy.dlp.v2.DlpJob.Builder, com.google.privacy.dlp.v2.DlpJobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -966,20 +888,18 @@ public java.util.List getJobsBuilderLi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The standard List next-page token.
      * 
* * 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; @@ -988,21 +908,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The standard List next-page token.
      * 
* * 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 { @@ -1010,68 +929,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDlpJobsResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDlpJobsResponse) private static final com.google.privacy.dlp.v2.ListDlpJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDlpJobsResponse(); } @@ -1095,16 +1007,16 @@ public static com.google.privacy.dlp.v2.ListDlpJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDlpJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDlpJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDlpJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDlpJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1031,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListDlpJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java index cca4a80a..6f4aa8cd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDlpJobsResponseOrBuilder - extends +public interface ListDlpJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDlpJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -44,8 +25,6 @@ public interface ListDlpJobsResponseOrBuilder */ com.google.privacy.dlp.v2.DlpJob getJobs(int index); /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -54,48 +33,41 @@ public interface ListDlpJobsResponseOrBuilder */ int getJobsCount(); /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index); + com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java index f891534e..1b835cbf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request for the list of infoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesRequest} */ -public final class ListInfoTypesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInfoTypesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInfoTypesRequest) ListInfoTypesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInfoTypesRequest.newBuilder() to construct. private ListInfoTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInfoTypesRequest() { parent_ = ""; languageCode_ = ""; @@ -46,15 +28,16 @@ private ListInfoTypesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInfoTypesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInfoTypesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +56,65 @@ private ListInfoTypesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + languageCode_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + locationId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesRequest.class, - com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesRequest.class, com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** - * - * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -147,7 +122,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -156,15 +130,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -172,15 +145,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @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 { @@ -191,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** - * - * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -200,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string language_code = 1; - * * @return The languageCode. */ @java.lang.Override @@ -209,15 +180,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -225,15 +195,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -244,15 +215,12 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -261,30 +229,30 @@ 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; } } /** - * - * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -295,14 +263,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; - * * @return The locationId. */ @java.lang.Override @@ -311,29 +276,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -342,7 +307,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,7 +318,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); } @@ -396,18 +361,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.privacy.dlp.v2.ListInfoTypesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInfoTypesRequest other = - (com.google.privacy.dlp.v2.ListInfoTypesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListInfoTypesRequest other = (com.google.privacy.dlp.v2.ListInfoTypesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,127 +400,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListInfoTypesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the list of infoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInfoTypesRequest) com.google.privacy.dlp.v2.ListInfoTypesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesRequest.class, - com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesRequest.class, com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInfoTypesRequest.newBuilder() @@ -560,15 +519,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -584,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; } @java.lang.Override @@ -605,8 +565,7 @@ public com.google.privacy.dlp.v2.ListInfoTypesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInfoTypesRequest buildPartial() { - com.google.privacy.dlp.v2.ListInfoTypesRequest result = - new com.google.privacy.dlp.v2.ListInfoTypesRequest(this); + com.google.privacy.dlp.v2.ListInfoTypesRequest result = new com.google.privacy.dlp.v2.ListInfoTypesRequest(this); result.parent_ = parent_; result.languageCode_ = languageCode_; result.filter_ = filter_; @@ -619,39 +578,38 @@ public com.google.privacy.dlp.v2.ListInfoTypesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInfoTypesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesRequest)other); } else { super.mergeFrom(other); return this; @@ -707,8 +665,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -716,13 +672,13 @@ public Builder mergeFrom(
      * 
* * string parent = 4; - * * @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; @@ -731,8 +687,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -740,14 +694,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @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 { @@ -755,8 +710,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -764,22 +717,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -787,18 +738,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -806,16 +754,16 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -823,8 +771,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -832,13 +778,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 1; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -847,8 +793,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -856,14 +800,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -871,8 +816,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -880,22 +823,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 1; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -903,18 +844,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 1; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -922,16 +860,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -939,21 +877,19 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -962,22 +898,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -985,64 +920,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1050,20 +978,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1072,21 +998,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1094,68 +1019,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1165,12 +1083,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInfoTypesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInfoTypesRequest) private static final com.google.privacy.dlp.v2.ListInfoTypesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInfoTypesRequest(); } @@ -1179,16 +1097,16 @@ public static com.google.privacy.dlp.v2.ListInfoTypesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInfoTypesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInfoTypesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInfoTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInfoTypesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1203,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListInfoTypesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java index d264e50d..b070e590 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInfoTypesRequestOrBuilder - extends +public interface ListInfoTypesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInfoTypesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -33,13 +15,10 @@ public interface ListInfoTypesRequestOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -47,14 +26,12 @@ public interface ListInfoTypesRequestOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -62,13 +39,10 @@ public interface ListInfoTypesRequestOrBuilder
    * 
* * string language_code = 1; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -76,60 +50,50 @@ public interface ListInfoTypesRequestOrBuilder
    * 
* * string language_code = 1; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java index 8064fa7c..7a41e7d6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Response to the ListInfoTypes request.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesResponse} */ -public final class ListInfoTypesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInfoTypesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInfoTypesResponse) ListInfoTypesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInfoTypesResponse.newBuilder() to construct. private ListInfoTypesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInfoTypesResponse() { infoTypes_ = 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 ListInfoTypesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInfoTypesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,31 +54,29 @@ private ListInfoTypesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - infoTypes_.add( - input.readMessage( - com.google.privacy.dlp.v2.InfoTypeDescription.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + infoTypes_.add( + input.readMessage(com.google.privacy.dlp.v2.InfoTypeDescription.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_); @@ -104,27 +85,22 @@ private ListInfoTypesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesResponse.class, - com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesResponse.class, com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); } public static final int INFO_TYPES_FIELD_NUMBER = 1; private java.util.List infoTypes_; /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -136,8 +112,6 @@ public java.util.List getInfoType return infoTypes_; } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -145,13 +119,11 @@ public java.util.List getInfoType * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInfoTypesOrBuilderList() { return infoTypes_; } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -163,8 +135,6 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -176,8 +146,6 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { return infoTypes_.get(index); } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -185,12 +153,12 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder( + int index) { return infoTypes_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -216,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, infoTypes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -226,15 +196,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.privacy.dlp.v2.ListInfoTypesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInfoTypesResponse other = - (com.google.privacy.dlp.v2.ListInfoTypesResponse) obj; + com.google.privacy.dlp.v2.ListInfoTypesResponse other = (com.google.privacy.dlp.v2.ListInfoTypesResponse) obj; - if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; + if (!getInfoTypesList() + .equals(other.getInfoTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -255,127 +225,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListInfoTypesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 to the ListInfoTypes request.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInfoTypesResponse) com.google.privacy.dlp.v2.ListInfoTypesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesResponse.class, - com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesResponse.class, com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInfoTypesResponse.newBuilder() @@ -383,17 +344,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; } @java.lang.Override @@ -428,8 +389,7 @@ public com.google.privacy.dlp.v2.ListInfoTypesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInfoTypesResponse buildPartial() { - com.google.privacy.dlp.v2.ListInfoTypesResponse result = - new com.google.privacy.dlp.v2.ListInfoTypesResponse(this); + com.google.privacy.dlp.v2.ListInfoTypesResponse result = new com.google.privacy.dlp.v2.ListInfoTypesResponse(this); int from_bitField0_ = bitField0_; if (infoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -448,39 +408,38 @@ public com.google.privacy.dlp.v2.ListInfoTypesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInfoTypesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesResponse)other); } else { super.mergeFrom(other); return this; @@ -488,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListInfoTypesResponse other) { - if (other == com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance()) return this; if (infoTypesBuilder_ == null) { if (!other.infoTypes_.isEmpty()) { if (infoTypes_.isEmpty()) { @@ -508,10 +466,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListInfoTypesResponse other) infoTypesBuilder_ = null; infoTypes_ = other.infoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - infoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInfoTypesFieldBuilder() - : null; + infoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInfoTypesFieldBuilder() : null; } else { infoTypesBuilder_.addAllMessages(other.infoTypes_); } @@ -545,29 +502,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List infoTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - infoTypes_ = - new java.util.ArrayList(infoTypes_); + infoTypes_ = new java.util.ArrayList(infoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeDescription, - com.google.privacy.dlp.v2.InfoTypeDescription.Builder, - com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> - infoTypesBuilder_; + com.google.privacy.dlp.v2.InfoTypeDescription, com.google.privacy.dlp.v2.InfoTypeDescription.Builder, com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> infoTypesBuilder_; /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -582,8 +531,6 @@ public java.util.List getInfoType } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -598,8 +545,6 @@ public int getInfoTypesCount() { } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -614,15 +559,14 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { + public Builder setInfoTypes( + int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -636,8 +580,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescrip return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -656,8 +598,6 @@ public Builder setInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -678,15 +618,14 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoTypeDescription value) return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { + public Builder addInfoTypes( + int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -700,8 +639,6 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescrip return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -720,8 +657,6 @@ public Builder addInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -740,8 +675,6 @@ public Builder addInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -752,7 +685,8 @@ public Builder addAllInfoTypes( java.lang.Iterable values) { if (infoTypesBuilder_ == null) { ensureInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, infoTypes_); onChanged(); } else { infoTypesBuilder_.addAllMessages(values); @@ -760,8 +694,6 @@ public Builder addAllInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -779,8 +711,6 @@ public Builder clearInfoTypes() { return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -798,44 +728,39 @@ public Builder removeInfoTypes(int index) { return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeDescription.Builder getInfoTypesBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeDescription.Builder getInfoTypesBuilder( + int index) { return getInfoTypesFieldBuilder().getBuilder(index); } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder( + int index) { if (infoTypesBuilder_ == null) { - return infoTypes_.get(index); - } else { + return infoTypes_.get(index); } else { return infoTypesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public java.util.List - getInfoTypesOrBuilderList() { + public java.util.List + getInfoTypesOrBuilderList() { if (infoTypesBuilder_ != null) { return infoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -843,8 +768,6 @@ public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuil } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -852,55 +775,49 @@ public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuil * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ public com.google.privacy.dlp.v2.InfoTypeDescription.Builder addInfoTypesBuilder() { - return getInfoTypesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); + return getInfoTypesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeDescription.Builder addInfoTypesBuilder(int index) { - return getInfoTypesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeDescription.Builder addInfoTypesBuilder( + int index) { + return getInfoTypesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); } /** - * - * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public java.util.List - getInfoTypesBuilderList() { + public java.util.List + getInfoTypesBuilderList() { return getInfoTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeDescription, - com.google.privacy.dlp.v2.InfoTypeDescription.Builder, - com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> + com.google.privacy.dlp.v2.InfoTypeDescription, com.google.privacy.dlp.v2.InfoTypeDescription.Builder, com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> getInfoTypesFieldBuilder() { if (infoTypesBuilder_ == null) { - infoTypesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeDescription, - com.google.privacy.dlp.v2.InfoTypeDescription.Builder, - com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder>( - infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeDescription, com.google.privacy.dlp.v2.InfoTypeDescription.Builder, com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder>( + infoTypes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); infoTypes_ = null; } return infoTypesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,12 +827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInfoTypesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInfoTypesResponse) private static final com.google.privacy.dlp.v2.ListInfoTypesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInfoTypesResponse(); } @@ -924,16 +841,16 @@ public static com.google.privacy.dlp.v2.ListInfoTypesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInfoTypesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInfoTypesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInfoTypesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInfoTypesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,4 +865,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListInfoTypesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java index 524da6ea..c3217bec 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInfoTypesResponseOrBuilder - extends +public interface ListInfoTypesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInfoTypesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set of sensitive infoTypes.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - java.util.List getInfoTypesList(); + java.util.List + getInfoTypesList(); /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -44,8 +25,6 @@ public interface ListInfoTypesResponseOrBuilder */ com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index); /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -54,24 +33,21 @@ public interface ListInfoTypesResponseOrBuilder */ int getInfoTypesCount(); /** - * - * *
    * Set of sensitive infoTypes.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - java.util.List + java.util.List getInfoTypesOrBuilderList(); /** - * - * *
    * Set of sensitive infoTypes.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index); + com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java index 9e970277..965843f1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for ListInspectTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesRequest} */ -public final class ListInspectTemplatesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInspectTemplatesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInspectTemplatesRequest) ListInspectTemplatesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInspectTemplatesRequest.newBuilder() to construct. private ListInspectTemplatesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInspectTemplatesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListInspectTemplatesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInspectTemplatesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInspectTemplatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,78 +56,70 @@ private ListInspectTemplatesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: { - orderBy_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -164,10 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -176,15 +148,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -204,18 +175,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -226,15 +196,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -243,30 +210,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; - * * @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 { @@ -277,15 +244,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -296,8 +260,6 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -312,7 +274,6 @@ public int getPageSize() {
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -321,15 +282,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -344,15 +304,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; - * * @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 { @@ -363,14 +324,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ @java.lang.Override @@ -379,29 +337,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -410,7 +368,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,7 +379,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -454,7 +412,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -470,19 +429,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.privacy.dlp.v2.ListInspectTemplatesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInspectTemplatesRequest other = - (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListInspectTemplatesRequest other = (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -510,127 +473,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.ListInspectTemplatesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListInspectTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInspectTemplatesRequest) com.google.privacy.dlp.v2.ListInspectTemplatesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInspectTemplatesRequest.newBuilder() @@ -638,15 +591,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -664,9 +618,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; } @java.lang.Override @@ -685,8 +639,7 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInspectTemplatesRequest buildPartial() { - com.google.privacy.dlp.v2.ListInspectTemplatesRequest result = - new com.google.privacy.dlp.v2.ListInspectTemplatesRequest(this); + com.google.privacy.dlp.v2.ListInspectTemplatesRequest result = new com.google.privacy.dlp.v2.ListInspectTemplatesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -700,39 +653,38 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInspectTemplatesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesRequest)other); } else { super.mergeFrom(other); return this; @@ -740,8 +692,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesRequest other) { - if (other == com.google.privacy.dlp.v2.ListInspectTemplatesRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListInspectTemplatesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -780,8 +731,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -793,8 +743,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -814,16 +762,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -832,8 +778,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -853,17 +797,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -871,8 +814,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -892,25 +833,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -930,21 +867,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -964,19 +896,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -984,21 +914,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; - * * @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; @@ -1007,22 +935,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; - * * @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 { @@ -1030,80 +957,70 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1111,38 +1028,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1150,8 +1061,6 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1166,13 +1075,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; - * * @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; @@ -1181,8 +1090,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1197,14 +1104,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; - * * @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 { @@ -1212,8 +1120,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1228,22 +1134,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 4; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1258,18 +1162,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 4; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1284,16 +1185,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1301,20 +1202,18 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1323,21 +1222,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1345,68 +1243,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1416,12 +1307,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInspectTemplatesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInspectTemplatesRequest) private static final com.google.privacy.dlp.v2.ListInspectTemplatesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInspectTemplatesRequest(); } @@ -1430,16 +1321,16 @@ public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInspectTemplatesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInspectTemplatesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInspectTemplatesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInspectTemplatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1454,4 +1345,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.ListInspectTemplatesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java index 12323ef3..64c2d364 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInspectTemplatesRequestOrBuilder - extends +public interface ListInspectTemplatesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInspectTemplatesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -45,16 +27,11 @@ public interface ListInspectTemplatesRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -74,58 +51,46 @@ public interface ListInspectTemplatesRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -140,13 +105,10 @@ public interface ListInspectTemplatesRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -161,33 +123,28 @@ public interface ListInspectTemplatesRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java index d198aed5..22b3adf4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Response message for ListInspectTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesResponse} */ -public final class ListInspectTemplatesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInspectTemplatesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInspectTemplatesResponse) ListInspectTemplatesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInspectTemplatesResponse.newBuilder() to construct. private ListInspectTemplatesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInspectTemplatesResponse() { inspectTemplates_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListInspectTemplatesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInspectTemplatesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListInspectTemplatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,38 +55,35 @@ private ListInspectTemplatesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inspectTemplates_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - inspectTemplates_.add( - input.readMessage( - com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inspectTemplates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + inspectTemplates_.add( + input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inspectTemplates_ = java.util.Collections.unmodifiableList(inspectTemplates_); @@ -112,27 +92,22 @@ private ListInspectTemplatesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); } public static final int INSPECT_TEMPLATES_FIELD_NUMBER = 1; private java.util.List inspectTemplates_; /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -144,8 +119,6 @@ public java.util.List getInspectTempl return inspectTemplates_; } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -153,13 +126,11 @@ public java.util.List getInspectTempl * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInspectTemplatesOrBuilderList() { return inspectTemplates_; } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -171,8 +142,6 @@ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -184,8 +153,6 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) return inspectTemplates_.get(index); } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -201,15 +168,12 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +182,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; } } /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inspectTemplates_.size(); i++) { output.writeMessage(1, inspectTemplates_.get(i)); } @@ -279,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inspectTemplates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inspectTemplates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, inspectTemplates_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +257,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.privacy.dlp.v2.ListInspectTemplatesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInspectTemplatesResponse other = - (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) obj; + com.google.privacy.dlp.v2.ListInspectTemplatesResponse other = (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) obj; - if (!getInspectTemplatesList().equals(other.getInspectTemplatesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInspectTemplatesList() + .equals(other.getInspectTemplatesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +291,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.ListInspectTemplatesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListInspectTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInspectTemplatesResponse) com.google.privacy.dlp.v2.ListInspectTemplatesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInspectTemplatesResponse.newBuilder() @@ -453,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInspectTemplatesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; } @java.lang.Override @@ -500,8 +456,7 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInspectTemplatesResponse buildPartial() { - com.google.privacy.dlp.v2.ListInspectTemplatesResponse result = - new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(this); + com.google.privacy.dlp.v2.ListInspectTemplatesResponse result = new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(this); int from_bitField0_ = bitField0_; if (inspectTemplatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +476,38 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInspectTemplatesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesResponse other) { - if (other == com.google.privacy.dlp.v2.ListInspectTemplatesResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListInspectTemplatesResponse.getDefaultInstance()) return this; if (inspectTemplatesBuilder_ == null) { if (!other.inspectTemplates_.isEmpty()) { if (inspectTemplates_.isEmpty()) { @@ -581,10 +534,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesResponse inspectTemplatesBuilder_ = null; inspectTemplates_ = other.inspectTemplates_; bitField0_ = (bitField0_ & ~0x00000001); - inspectTemplatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInspectTemplatesFieldBuilder() - : null; + inspectTemplatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInspectTemplatesFieldBuilder() : null; } else { inspectTemplatesBuilder_.addAllMessages(other.inspectTemplates_); } @@ -613,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,29 +574,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List inspectTemplates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInspectTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inspectTemplates_ = - new java.util.ArrayList(inspectTemplates_); + inspectTemplates_ = new java.util.ArrayList(inspectTemplates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> - inspectTemplatesBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> inspectTemplatesBuilder_; /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -660,8 +603,6 @@ public java.util.List getInspectTempl } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -676,8 +617,6 @@ public int getInspectTemplatesCount() { } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -692,15 +631,14 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public Builder setInspectTemplates(int index, com.google.privacy.dlp.v2.InspectTemplate value) { + public Builder setInspectTemplates( + int index, com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -714,8 +652,6 @@ public Builder setInspectTemplates(int index, com.google.privacy.dlp.v2.InspectT return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -734,8 +670,6 @@ public Builder setInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -756,15 +690,14 @@ public Builder addInspectTemplates(com.google.privacy.dlp.v2.InspectTemplate val return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public Builder addInspectTemplates(int index, com.google.privacy.dlp.v2.InspectTemplate value) { + public Builder addInspectTemplates( + int index, com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,8 +711,6 @@ public Builder addInspectTemplates(int index, com.google.privacy.dlp.v2.InspectT return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -798,8 +729,6 @@ public Builder addInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -818,8 +747,6 @@ public Builder addInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -830,7 +757,8 @@ public Builder addAllInspectTemplates( java.lang.Iterable values) { if (inspectTemplatesBuilder_ == null) { ensureInspectTemplatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inspectTemplates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inspectTemplates_); onChanged(); } else { inspectTemplatesBuilder_.addAllMessages(values); @@ -838,8 +766,6 @@ public Builder addAllInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -857,8 +783,6 @@ public Builder clearInspectTemplates() { return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -876,20 +800,17 @@ public Builder removeInspectTemplates(int index) { return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplatesBuilder(int index) { + public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplatesBuilder( + int index) { return getInspectTemplatesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -899,22 +820,19 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplatesBuil public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder( int index) { if (inspectTemplatesBuilder_ == null) { - return inspectTemplates_.get(index); - } else { + return inspectTemplates_.get(index); } else { return inspectTemplatesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public java.util.List - getInspectTemplatesOrBuilderList() { + public java.util.List + getInspectTemplatesOrBuilderList() { if (inspectTemplatesBuilder_ != null) { return inspectTemplatesBuilder_.getMessageOrBuilderList(); } else { @@ -922,8 +840,6 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -931,47 +847,38 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuilder() { - return getInspectTemplatesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); + return getInspectTemplatesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuilder(int index) { - return getInspectTemplatesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuilder( + int index) { + return getInspectTemplatesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public java.util.List - getInspectTemplatesBuilderList() { + public java.util.List + getInspectTemplatesBuilderList() { return getInspectTemplatesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> getInspectTemplatesFieldBuilder() { if (inspectTemplatesBuilder_ == null) { - inspectTemplatesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( + inspectTemplatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( inspectTemplates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -983,21 +890,19 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * 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; @@ -1006,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * 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 { @@ -1029,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInspectTemplatesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInspectTemplatesResponse) private static final com.google.privacy.dlp.v2.ListInspectTemplatesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(); } @@ -1117,16 +1014,16 @@ public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInspectTemplatesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInspectTemplatesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInspectTemplatesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInspectTemplatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.ListInspectTemplatesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java index 11a5a9c4..b659793b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInspectTemplatesResponseOrBuilder - extends +public interface ListInspectTemplatesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInspectTemplatesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - java.util.List getInspectTemplatesList(); + java.util.List + getInspectTemplatesList(); /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -44,8 +25,6 @@ public interface ListInspectTemplatesResponseOrBuilder */ com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index); /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -54,51 +33,43 @@ public interface ListInspectTemplatesResponseOrBuilder */ int getInspectTemplatesCount(); /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - java.util.List + java.util.List getInspectTemplatesOrBuilderList(); /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder(int index); + com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder( + int index); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java index 15054d7a..04e4aa52 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for ListJobTriggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersRequest} */ -public final class ListJobTriggersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobTriggersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListJobTriggersRequest) ListJobTriggersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobTriggersRequest.newBuilder() to construct. private ListJobTriggersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobTriggersRequest() { parent_ = ""; pageToken_ = ""; @@ -48,15 +30,16 @@ private ListJobTriggersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobTriggersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobTriggersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,92 +58,82 @@ private ListJobTriggersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: { - orderBy_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 48: - { - int rawValue = input.readEnum(); + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - type_ = rawValue; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 48: { + int rawValue = input.readEnum(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersRequest.class, - com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersRequest.class, com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -176,10 +149,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -188,15 +158,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -212,18 +181,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -234,8 +202,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -243,7 +209,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -252,15 +217,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -268,15 +232,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; - * * @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 { @@ -287,14 +252,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Size of the page, can be limited by a server.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -305,8 +267,6 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** - * - * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -323,7 +283,6 @@ public int getPageSize() {
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -332,15 +291,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -357,15 +315,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; - * * @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 { @@ -376,8 +335,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -401,7 +358,6 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -410,15 +366,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -442,15 +397,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; - * * @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 { @@ -461,50 +417,38 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int TYPE_FIELD_NUMBER = 6; private int type_; /** - * - * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return The type. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DlpJobType getType() { + @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = - com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ @java.lang.Override @@ -513,29 +457,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -544,7 +488,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,7 +499,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -594,7 +538,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -603,7 +548,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); @@ -616,21 +562,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.privacy.dlp.v2.ListJobTriggersRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListJobTriggersRequest other = - (com.google.privacy.dlp.v2.ListJobTriggersRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.privacy.dlp.v2.ListJobTriggersRequest other = (com.google.privacy.dlp.v2.ListJobTriggersRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (type_ != other.type_) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -661,127 +612,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListJobTriggersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListJobTriggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListJobTriggersRequest) com.google.privacy.dlp.v2.ListJobTriggersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersRequest.class, - com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersRequest.class, com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListJobTriggersRequest.newBuilder() @@ -789,15 +731,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -819,9 +762,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; } @java.lang.Override @@ -840,8 +783,7 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { - com.google.privacy.dlp.v2.ListJobTriggersRequest result = - new com.google.privacy.dlp.v2.ListJobTriggersRequest(this); + com.google.privacy.dlp.v2.ListJobTriggersRequest result = new com.google.privacy.dlp.v2.ListJobTriggersRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -857,39 +799,38 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListJobTriggersRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersRequest)other); } else { super.mergeFrom(other); return this; @@ -897,8 +838,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersRequest other) { - if (other == com.google.privacy.dlp.v2.ListJobTriggersRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListJobTriggersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -956,8 +896,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -973,16 +911,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -991,8 +927,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1008,17 +942,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -1026,8 +959,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1043,25 +974,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1077,21 +1004,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1107,19 +1029,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1127,8 +1047,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1136,13 +1054,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string page_token = 2; - * * @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; @@ -1151,8 +1069,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1160,14 +1076,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; - * * @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 { @@ -1175,8 +1092,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1184,22 +1099,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1207,18 +1120,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1226,31 +1136,28 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Size of the page, can be limited by a server.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1258,36 +1165,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Size of the page, can be limited by a server.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of the page, can be limited by a server.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1295,8 +1196,6 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1313,13 +1212,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; - * * @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; @@ -1328,8 +1227,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1346,14 +1243,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; - * * @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 { @@ -1361,8 +1259,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1379,22 +1275,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 4; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1411,18 +1305,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 4; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1439,16 +1330,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1456,8 +1347,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1481,13 +1370,13 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 5; - * * @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; @@ -1496,8 +1385,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1521,14 +1408,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; - * * @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 { @@ -1536,8 +1424,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1561,22 +1447,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1600,18 +1484,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1635,16 +1516,16 @@ public Builder clearFilter() {
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1652,65 +1533,51 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = - com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } /** - * - * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1718,24 +1585,21 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1743,20 +1607,18 @@ public Builder clearType() { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1765,21 +1627,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1787,68 +1648,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1858,12 +1712,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListJobTriggersRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListJobTriggersRequest) private static final com.google.privacy.dlp.v2.ListJobTriggersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListJobTriggersRequest(); } @@ -1872,16 +1726,16 @@ public static com.google.privacy.dlp.v2.ListJobTriggersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobTriggersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTriggersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobTriggersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobTriggersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1896,4 +1750,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListJobTriggersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java index b5337bce..cc7dc1fa 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListJobTriggersRequestOrBuilder - extends +public interface ListJobTriggersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListJobTriggersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -41,16 +23,11 @@ public interface ListJobTriggersRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -66,17 +43,13 @@ public interface ListJobTriggersRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -84,13 +57,10 @@ public interface ListJobTriggersRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -98,27 +68,22 @@ public interface ListJobTriggersRequestOrBuilder
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Size of the page, can be limited by a server.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -135,13 +100,10 @@ public interface ListJobTriggersRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -158,14 +120,12 @@ public interface ListJobTriggersRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -189,13 +149,10 @@ public interface ListJobTriggersRequestOrBuilder
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -219,58 +176,47 @@ public interface ListJobTriggersRequestOrBuilder
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; - * * @return The type. */ com.google.privacy.dlp.v2.DlpJobType getType(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java index 1179c1c4..35e408ce 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Response message for ListJobTriggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersResponse} */ -public final class ListJobTriggersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobTriggersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListJobTriggersResponse) ListJobTriggersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobTriggersResponse.newBuilder() to construct. private ListJobTriggersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobTriggersResponse() { jobTriggers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListJobTriggersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobTriggersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobTriggersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +55,35 @@ private ListJobTriggersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobTriggers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - jobTriggers_.add( - input.readMessage( - com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobTriggers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobTriggers_.add( + input.readMessage(com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobTriggers_ = java.util.Collections.unmodifiableList(jobTriggers_); @@ -111,27 +92,22 @@ private ListJobTriggersResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersResponse.class, - com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersResponse.class, com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); } public static final int JOB_TRIGGERS_FIELD_NUMBER = 1; private java.util.List jobTriggers_; /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -143,8 +119,6 @@ public java.util.List getJobTriggersList() return jobTriggers_; } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -152,13 +126,11 @@ public java.util.List getJobTriggersList() * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobTriggersOrBuilderList() { return jobTriggers_; } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -170,8 +142,6 @@ public int getJobTriggersCount() { return jobTriggers_.size(); } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -183,8 +153,6 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { return jobTriggers_.get(index); } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -192,22 +160,20 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index) { + public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( + int index) { return jobTriggers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -216,30 +182,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; } } /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * 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 { @@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobTriggers_.size(); i++) { output.writeMessage(1, jobTriggers_.get(i)); } @@ -277,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobTriggers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobTriggers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobTriggers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -290,16 +257,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.privacy.dlp.v2.ListJobTriggersResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListJobTriggersResponse other = - (com.google.privacy.dlp.v2.ListJobTriggersResponse) obj; + com.google.privacy.dlp.v2.ListJobTriggersResponse other = (com.google.privacy.dlp.v2.ListJobTriggersResponse) obj; - if (!getJobTriggersList().equals(other.getJobTriggersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getJobTriggersList() + .equals(other.getJobTriggersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,126 +291,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListJobTriggersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListJobTriggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListJobTriggersResponse) com.google.privacy.dlp.v2.ListJobTriggersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersResponse.class, - com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersResponse.class, com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListJobTriggersResponse.newBuilder() @@ -450,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobTriggersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; } @java.lang.Override @@ -497,8 +456,7 @@ public com.google.privacy.dlp.v2.ListJobTriggersResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListJobTriggersResponse buildPartial() { - com.google.privacy.dlp.v2.ListJobTriggersResponse result = - new com.google.privacy.dlp.v2.ListJobTriggersResponse(this); + com.google.privacy.dlp.v2.ListJobTriggersResponse result = new com.google.privacy.dlp.v2.ListJobTriggersResponse(this); int from_bitField0_ = bitField0_; if (jobTriggersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -518,39 +476,38 @@ public com.google.privacy.dlp.v2.ListJobTriggersResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListJobTriggersResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersResponse)other); } else { super.mergeFrom(other); return this; @@ -558,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersResponse other) { - if (other == com.google.privacy.dlp.v2.ListJobTriggersResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListJobTriggersResponse.getDefaultInstance()) return this; if (jobTriggersBuilder_ == null) { if (!other.jobTriggers_.isEmpty()) { if (jobTriggers_.isEmpty()) { @@ -578,10 +534,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersResponse other jobTriggersBuilder_ = null; jobTriggers_ = other.jobTriggers_; bitField0_ = (bitField0_ & ~0x00000001); - jobTriggersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobTriggersFieldBuilder() - : null; + jobTriggersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobTriggersFieldBuilder() : null; } else { jobTriggersBuilder_.addAllMessages(other.jobTriggers_); } @@ -610,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListJobTriggersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListJobTriggersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,28 +574,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List jobTriggers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobTriggersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobTriggers_ = new java.util.ArrayList(jobTriggers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder> - jobTriggersBuilder_; + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> jobTriggersBuilder_; /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -656,8 +603,6 @@ public java.util.List getJobTriggersList() } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -672,8 +617,6 @@ public int getJobTriggersCount() { } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -688,15 +631,14 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public Builder setJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger value) { + public Builder setJobTriggers( + int index, com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,8 +652,6 @@ public Builder setJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger va return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -730,8 +670,6 @@ public Builder setJobTriggers( return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -752,15 +690,14 @@ public Builder addJobTriggers(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public Builder addJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger value) { + public Builder addJobTriggers( + int index, com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -774,15 +711,14 @@ public Builder addJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger va return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public Builder addJobTriggers(com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { + public Builder addJobTriggers( + com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { if (jobTriggersBuilder_ == null) { ensureJobTriggersIsMutable(); jobTriggers_.add(builderForValue.build()); @@ -793,8 +729,6 @@ public Builder addJobTriggers(com.google.privacy.dlp.v2.JobTrigger.Builder build return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -813,8 +747,6 @@ public Builder addJobTriggers( return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -825,7 +757,8 @@ public Builder addAllJobTriggers( java.lang.Iterable values) { if (jobTriggersBuilder_ == null) { ensureJobTriggersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobTriggers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobTriggers_); onChanged(); } else { jobTriggersBuilder_.addAllMessages(values); @@ -833,8 +766,6 @@ public Builder addAllJobTriggers( return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -852,8 +783,6 @@ public Builder clearJobTriggers() { return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -871,44 +800,39 @@ public Builder removeJobTriggers(int index) { return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggersBuilder(int index) { + public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggersBuilder( + int index) { return getJobTriggersFieldBuilder().getBuilder(index); } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index) { + public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( + int index) { if (jobTriggersBuilder_ == null) { - return jobTriggers_.get(index); - } else { + return jobTriggers_.get(index); } else { return jobTriggersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public java.util.List - getJobTriggersOrBuilderList() { + public java.util.List + getJobTriggersOrBuilderList() { if (jobTriggersBuilder_ != null) { return jobTriggersBuilder_.getMessageOrBuilderList(); } else { @@ -916,8 +840,6 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -925,48 +847,42 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder() { - return getJobTriggersFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); + return getJobTriggersFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder(int index) { - return getJobTriggersFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); + public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder( + int index) { + return getJobTriggersFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public java.util.List - getJobTriggersBuilderList() { + public java.util.List + getJobTriggersBuilderList() { return getJobTriggersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder> + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> getJobTriggersFieldBuilder() { if (jobTriggersBuilder_ == null) { - jobTriggersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder>( - jobTriggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobTriggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder>( + jobTriggers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobTriggers_ = null; } return jobTriggersBuilder_; @@ -974,21 +890,19 @@ public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder(int in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * 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; @@ -997,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * 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 { @@ -1020,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListJobTriggersResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListJobTriggersResponse) private static final com.google.privacy.dlp.v2.ListJobTriggersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListJobTriggersResponse(); } @@ -1108,16 +1014,16 @@ public static com.google.privacy.dlp.v2.ListJobTriggersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobTriggersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTriggersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobTriggersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobTriggersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListJobTriggersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java index 75334d6e..622afb7a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListJobTriggersResponseOrBuilder - extends +public interface ListJobTriggersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListJobTriggersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - java.util.List getJobTriggersList(); + java.util.List + getJobTriggersList(); /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -44,8 +25,6 @@ public interface ListJobTriggersResponseOrBuilder */ com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index); /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -54,51 +33,43 @@ public interface ListJobTriggersResponseOrBuilder */ int getJobTriggersCount(); /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - java.util.List + java.util.List getJobTriggersOrBuilderList(); /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index); + com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( + int index); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java index 8416a44a..7e258bcf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for ListStoredInfoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesRequest} */ -public final class ListStoredInfoTypesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListStoredInfoTypesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListStoredInfoTypesRequest) ListStoredInfoTypesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStoredInfoTypesRequest.newBuilder() to construct. private ListStoredInfoTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStoredInfoTypesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListStoredInfoTypesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStoredInfoTypesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStoredInfoTypesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,78 +56,70 @@ private ListStoredInfoTypesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: { - orderBy_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -164,10 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -176,15 +148,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -204,18 +175,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -226,15 +196,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -243,30 +210,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; - * * @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 { @@ -277,15 +244,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -296,8 +260,6 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -313,7 +275,6 @@ public int getPageSize() {
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -322,15 +283,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -346,15 +306,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; - * * @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 { @@ -365,14 +326,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ @java.lang.Override @@ -381,29 +339,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -412,7 +370,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +381,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -456,7 +414,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -472,19 +431,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.privacy.dlp.v2.ListStoredInfoTypesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest other = - (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest other = (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -512,126 +475,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListStoredInfoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListStoredInfoTypesRequest) com.google.privacy.dlp.v2.ListStoredInfoTypesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.newBuilder() @@ -639,15 +593,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -665,9 +620,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; } @java.lang.Override @@ -686,8 +641,7 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest buildPartial() { - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest result = - new com.google.privacy.dlp.v2.ListStoredInfoTypesRequest(this); + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest result = new com.google.privacy.dlp.v2.ListStoredInfoTypesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -701,39 +655,38 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesRequest)other); } else { super.mergeFrom(other); return this; @@ -741,8 +694,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest other) { - if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -781,8 +733,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -794,8 +745,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -815,16 +764,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -833,8 +780,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -854,17 +799,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -872,8 +816,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -893,25 +835,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -931,21 +869,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -965,19 +898,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -985,21 +916,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; - * * @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; @@ -1008,22 +937,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; - * * @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 { @@ -1031,80 +959,70 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1112,38 +1030,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1151,8 +1063,6 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1168,13 +1078,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; - * * @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; @@ -1183,8 +1093,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1200,14 +1108,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; - * * @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 { @@ -1215,8 +1124,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1232,22 +1139,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 4; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1263,18 +1168,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 4; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1290,16 +1192,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1307,20 +1209,18 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1329,21 +1229,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1351,68 +1250,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1422,12 +1314,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListStoredInfoTypesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListStoredInfoTypesRequest) private static final com.google.privacy.dlp.v2.ListStoredInfoTypesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListStoredInfoTypesRequest(); } @@ -1436,16 +1328,16 @@ public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStoredInfoTypesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStoredInfoTypesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStoredInfoTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStoredInfoTypesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1460,4 +1352,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java index 5e85a54a..7ec362bf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListStoredInfoTypesRequestOrBuilder - extends +public interface ListStoredInfoTypesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListStoredInfoTypesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -45,16 +27,11 @@ public interface ListStoredInfoTypesRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -74,58 +51,46 @@ public interface ListStoredInfoTypesRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -141,13 +106,10 @@ public interface ListStoredInfoTypesRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -163,33 +125,28 @@ public interface ListStoredInfoTypesRequestOrBuilder
    * 
* * string order_by = 4; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java index 70997a5d..af199eb5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Response message for ListStoredInfoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesResponse} */ -public final class ListStoredInfoTypesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListStoredInfoTypesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListStoredInfoTypesResponse) ListStoredInfoTypesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListStoredInfoTypesResponse.newBuilder() to construct. private ListStoredInfoTypesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListStoredInfoTypesResponse() { storedInfoTypes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListStoredInfoTypesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListStoredInfoTypesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListStoredInfoTypesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,38 +55,35 @@ private ListStoredInfoTypesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - storedInfoTypes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - storedInfoTypes_.add( - input.readMessage( - com.google.privacy.dlp.v2.StoredInfoType.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + storedInfoTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + storedInfoTypes_.add( + input.readMessage(com.google.privacy.dlp.v2.StoredInfoType.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { storedInfoTypes_ = java.util.Collections.unmodifiableList(storedInfoTypes_); @@ -112,27 +92,22 @@ private ListStoredInfoTypesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); } public static final int STORED_INFO_TYPES_FIELD_NUMBER = 1; private java.util.List storedInfoTypes_; /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -144,8 +119,6 @@ public java.util.List getStoredInfoTyp return storedInfoTypes_; } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -153,13 +126,11 @@ public java.util.List getStoredInfoTyp * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getStoredInfoTypesOrBuilderList() { return storedInfoTypes_; } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -171,8 +142,6 @@ public int getStoredInfoTypesCount() { return storedInfoTypes_.size(); } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -184,8 +153,6 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { return storedInfoTypes_.get(index); } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -193,22 +160,20 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder(int index) { + public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder( + int index) { return storedInfoTypes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -217,30 +182,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; } } /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * 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 { @@ -249,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < storedInfoTypes_.size(); i++) { output.writeMessage(1, storedInfoTypes_.get(i)); } @@ -278,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < storedInfoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, storedInfoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, storedInfoTypes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -291,16 +257,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.privacy.dlp.v2.ListStoredInfoTypesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse other = - (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) obj; + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse other = (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) obj; - if (!getStoredInfoTypesList().equals(other.getStoredInfoTypesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getStoredInfoTypesList() + .equals(other.getStoredInfoTypesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,127 +291,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.ListStoredInfoTypesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListStoredInfoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListStoredInfoTypesResponse) com.google.privacy.dlp.v2.ListStoredInfoTypesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.newBuilder() @@ -452,17 +409,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStoredInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse buildPartial() { - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse result = - new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(this); + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse result = new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(this); int from_bitField0_ = bitField0_; if (storedInfoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +476,38 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesResponse)other); } else { super.mergeFrom(other); return this; @@ -560,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesResponse other) { - if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.getDefaultInstance()) return this; if (storedInfoTypesBuilder_ == null) { if (!other.storedInfoTypes_.isEmpty()) { if (storedInfoTypes_.isEmpty()) { @@ -580,10 +534,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesResponse o storedInfoTypesBuilder_ = null; storedInfoTypes_ = other.storedInfoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - storedInfoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStoredInfoTypesFieldBuilder() - : null; + storedInfoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStoredInfoTypesFieldBuilder() : null; } else { storedInfoTypesBuilder_.addAllMessages(other.storedInfoTypes_); } @@ -612,8 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,29 +574,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List storedInfoTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStoredInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - storedInfoTypes_ = - new java.util.ArrayList(storedInfoTypes_); + storedInfoTypes_ = new java.util.ArrayList(storedInfoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoType, - com.google.privacy.dlp.v2.StoredInfoType.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> - storedInfoTypesBuilder_; + com.google.privacy.dlp.v2.StoredInfoType, com.google.privacy.dlp.v2.StoredInfoType.Builder, com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> storedInfoTypesBuilder_; /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -659,8 +603,6 @@ public java.util.List getStoredInfoTyp } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -675,8 +617,6 @@ public int getStoredInfoTypesCount() { } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -691,15 +631,14 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public Builder setStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInfoType value) { + public Builder setStoredInfoTypes( + int index, com.google.privacy.dlp.v2.StoredInfoType value) { if (storedInfoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +652,6 @@ public Builder setStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInf return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -733,8 +670,6 @@ public Builder setStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -755,15 +690,14 @@ public Builder addStoredInfoTypes(com.google.privacy.dlp.v2.StoredInfoType value return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public Builder addStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInfoType value) { + public Builder addStoredInfoTypes( + int index, com.google.privacy.dlp.v2.StoredInfoType value) { if (storedInfoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,8 +711,6 @@ public Builder addStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInf return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -797,8 +729,6 @@ public Builder addStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -817,8 +747,6 @@ public Builder addStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -829,7 +757,8 @@ public Builder addAllStoredInfoTypes( java.lang.Iterable values) { if (storedInfoTypesBuilder_ == null) { ensureStoredInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, storedInfoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storedInfoTypes_); onChanged(); } else { storedInfoTypesBuilder_.addAllMessages(values); @@ -837,8 +766,6 @@ public Builder addAllStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -856,8 +783,6 @@ public Builder clearStoredInfoTypes() { return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -875,20 +800,17 @@ public Builder removeStoredInfoTypes(int index) { return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public com.google.privacy.dlp.v2.StoredInfoType.Builder getStoredInfoTypesBuilder(int index) { + public com.google.privacy.dlp.v2.StoredInfoType.Builder getStoredInfoTypesBuilder( + int index) { return getStoredInfoTypesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -898,22 +820,19 @@ public com.google.privacy.dlp.v2.StoredInfoType.Builder getStoredInfoTypesBuilde public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder( int index) { if (storedInfoTypesBuilder_ == null) { - return storedInfoTypes_.get(index); - } else { + return storedInfoTypes_.get(index); } else { return storedInfoTypesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public java.util.List - getStoredInfoTypesOrBuilderList() { + public java.util.List + getStoredInfoTypesOrBuilderList() { if (storedInfoTypesBuilder_ != null) { return storedInfoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +840,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -930,47 +847,38 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilder() { - return getStoredInfoTypesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); + return getStoredInfoTypesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilder(int index) { - return getStoredInfoTypesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); + public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilder( + int index) { + return getStoredInfoTypesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public java.util.List - getStoredInfoTypesBuilderList() { + public java.util.List + getStoredInfoTypesBuilderList() { return getStoredInfoTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoType, - com.google.privacy.dlp.v2.StoredInfoType.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> + com.google.privacy.dlp.v2.StoredInfoType, com.google.privacy.dlp.v2.StoredInfoType.Builder, com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> getStoredInfoTypesFieldBuilder() { if (storedInfoTypesBuilder_ == null) { - storedInfoTypesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoType, - com.google.privacy.dlp.v2.StoredInfoType.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder>( + storedInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoType, com.google.privacy.dlp.v2.StoredInfoType.Builder, com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder>( storedInfoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -982,21 +890,19 @@ public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * 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; @@ -1005,22 +911,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1028,71 +933,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListStoredInfoTypesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListStoredInfoTypesResponse) private static final com.google.privacy.dlp.v2.ListStoredInfoTypesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(); } @@ -1116,16 +1014,16 @@ public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStoredInfoTypesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStoredInfoTypesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStoredInfoTypesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStoredInfoTypesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1140,4 +1038,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java index 557c5159..89c319c9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListStoredInfoTypesResponseOrBuilder - extends +public interface ListStoredInfoTypesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListStoredInfoTypesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - java.util.List getStoredInfoTypesList(); + java.util.List + getStoredInfoTypesList(); /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -44,8 +25,6 @@ public interface ListStoredInfoTypesResponseOrBuilder */ com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index); /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -54,51 +33,43 @@ public interface ListStoredInfoTypesResponseOrBuilder */ int getStoredInfoTypesCount(); /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - java.util.List + java.util.List getStoredInfoTypesOrBuilderList(); /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder(int index); + com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder( + int index); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java index c9dd74e5..1be32e8b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Specifies the location of the finding.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { contentLocations_ = 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 Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Location( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,77 +54,68 @@ private Location( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Range.Builder subBuilder = null; - if (byteRange_ != null) { - subBuilder = byteRange_.toBuilder(); - } - byteRange_ = - input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(byteRange_); - byteRange_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Range.Builder subBuilder = null; + if (byteRange_ != null) { + subBuilder = byteRange_.toBuilder(); + } + byteRange_ = input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(byteRange_); + byteRange_ = subBuilder.buildPartial(); } - case 18: - { - com.google.privacy.dlp.v2.Range.Builder subBuilder = null; - if (codepointRange_ != null) { - subBuilder = codepointRange_.toBuilder(); - } - codepointRange_ = - input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(codepointRange_); - codepointRange_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.Range.Builder subBuilder = null; + if (codepointRange_ != null) { + subBuilder = codepointRange_.toBuilder(); } - case 58: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contentLocations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contentLocations_.add( - input.readMessage( - com.google.privacy.dlp.v2.ContentLocation.parser(), extensionRegistry)); - break; + codepointRange_ = input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(codepointRange_); + codepointRange_ = subBuilder.buildPartial(); } - case 66: - { - com.google.privacy.dlp.v2.Container.Builder subBuilder = null; - if (container_ != null) { - subBuilder = container_.toBuilder(); - } - container_ = - input.readMessage( - com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(container_); - container_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contentLocations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + contentLocations_.add( + input.readMessage(com.google.privacy.dlp.v2.ContentLocation.parser(), extensionRegistry)); + break; + } + case 66: { + com.google.privacy.dlp.v2.Container.Builder subBuilder = null; + if (container_ != null) { + subBuilder = container_.toBuilder(); + } + container_ = input.readMessage(com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(container_); + container_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contentLocations_ = java.util.Collections.unmodifiableList(contentLocations_); @@ -150,27 +124,22 @@ private Location( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Location.class, - com.google.privacy.dlp.v2.Location.Builder.class); + com.google.privacy.dlp.v2.Location.class, com.google.privacy.dlp.v2.Location.Builder.class); } public static final int BYTE_RANGE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Range byteRange_; /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -180,7 +149,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return Whether the byteRange field is set. */ @java.lang.Override @@ -188,8 +156,6 @@ public boolean hasByteRange() { return byteRange_ != null; } /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -199,7 +165,6 @@ public boolean hasByteRange() {
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return The byteRange. */ @java.lang.Override @@ -207,8 +172,6 @@ public com.google.privacy.dlp.v2.Range getByteRange() { return byteRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_; } /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -227,8 +190,6 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
   public static final int CODEPOINT_RANGE_FIELD_NUMBER = 2;
   private com.google.privacy.dlp.v2.Range codepointRange_;
   /**
-   *
-   *
    * 
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -236,7 +197,6 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; - * * @return Whether the codepointRange field is set. */ @java.lang.Override @@ -244,8 +204,6 @@ public boolean hasCodepointRange() { return codepointRange_ != null; } /** - * - * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -253,18 +211,13 @@ public boolean hasCodepointRange() {
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; - * * @return The codepointRange. */ @java.lang.Override public com.google.privacy.dlp.v2.Range getCodepointRange() { - return codepointRange_ == null - ? com.google.privacy.dlp.v2.Range.getDefaultInstance() - : codepointRange_; + return codepointRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : codepointRange_; } /** - * - * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -281,8 +234,6 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
   public static final int CONTENT_LOCATIONS_FIELD_NUMBER = 7;
   private java.util.List contentLocations_;
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -295,8 +246,6 @@ public java.util.List getContentLocat
     return contentLocations_;
   }
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -305,13 +254,11 @@ public java.util.List getContentLocat
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getContentLocationsOrBuilderList() {
     return contentLocations_;
   }
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -324,8 +271,6 @@ public int getContentLocationsCount() {
     return contentLocations_.size();
   }
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -338,8 +283,6 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
     return contentLocations_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -356,14 +299,11 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
   public static final int CONTAINER_FIELD_NUMBER = 8;
   private com.google.privacy.dlp.v2.Container container_;
   /**
-   *
-   *
    * 
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; - * * @return Whether the container field is set. */ @java.lang.Override @@ -371,25 +311,18 @@ public boolean hasContainer() { return container_ != null; } /** - * - * *
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; - * * @return The container. */ @java.lang.Override public com.google.privacy.dlp.v2.Container getContainer() { - return container_ == null - ? com.google.privacy.dlp.v2.Container.getDefaultInstance() - : container_; + return container_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : container_; } /** - * - * *
    * Information about the container where this finding occurred, if available.
    * 
@@ -402,7 +335,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,7 +346,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (byteRange_ != null) { output.writeMessage(1, getByteRange()); } @@ -437,16 +370,20 @@ public int getSerializedSize() { size = 0; if (byteRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getByteRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getByteRange()); } if (codepointRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCodepointRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCodepointRange()); } for (int i = 0; i < contentLocations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, contentLocations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, contentLocations_.get(i)); } if (container_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getContainer()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getContainer()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -456,7 +393,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.Location)) { return super.equals(obj); @@ -465,16 +402,20 @@ public boolean equals(final java.lang.Object obj) { if (hasByteRange() != other.hasByteRange()) return false; if (hasByteRange()) { - if (!getByteRange().equals(other.getByteRange())) return false; + if (!getByteRange() + .equals(other.getByteRange())) return false; } if (hasCodepointRange() != other.hasCodepointRange()) return false; if (hasCodepointRange()) { - if (!getCodepointRange().equals(other.getCodepointRange())) return false; + if (!getCodepointRange() + .equals(other.getCodepointRange())) return false; } - if (!getContentLocationsList().equals(other.getContentLocationsList())) return false; + if (!getContentLocationsList() + .equals(other.getContentLocationsList())) return false; if (hasContainer() != other.hasContainer()) return false; if (hasContainer()) { - if (!getContainer().equals(other.getContainer())) return false; + if (!getContainer() + .equals(other.getContainer())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -508,126 +449,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Location parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Location parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Location parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Location parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Location parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Location parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Location parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Location 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.privacy.dlp.v2.Location parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Location parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies the location of the finding.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Location} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Location) com.google.privacy.dlp.v2.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Location.class, - com.google.privacy.dlp.v2.Location.Builder.class); + com.google.privacy.dlp.v2.Location.class, com.google.privacy.dlp.v2.Location.Builder.class); } // Construct using com.google.privacy.dlp.v2.Location.newBuilder() @@ -635,17 +568,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getContentLocationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -677,9 +610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_descriptor; } @java.lang.Override @@ -732,39 +665,38 @@ public com.google.privacy.dlp.v2.Location buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Location) { - return mergeFrom((com.google.privacy.dlp.v2.Location) other); + return mergeFrom((com.google.privacy.dlp.v2.Location)other); } else { super.mergeFrom(other); return this; @@ -797,10 +729,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Location other) { contentLocationsBuilder_ = null; contentLocations_ = other.contentLocations_; bitField0_ = (bitField0_ & ~0x00000001); - contentLocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getContentLocationsFieldBuilder() - : null; + contentLocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getContentLocationsFieldBuilder() : null; } else { contentLocationsBuilder_.addAllMessages(other.contentLocations_); } @@ -837,18 +768,12 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.privacy.dlp.v2.Range byteRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Range, - com.google.privacy.dlp.v2.Range.Builder, - com.google.privacy.dlp.v2.RangeOrBuilder> - byteRangeBuilder_; + com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> byteRangeBuilder_; /** - * - * *
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -858,15 +783,12 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return Whether the byteRange field is set. */ public boolean hasByteRange() { return byteRangeBuilder_ != null || byteRange_ != null; } /** - * - * *
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -876,21 +798,16 @@ public boolean hasByteRange() {
      * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return The byteRange. */ public com.google.privacy.dlp.v2.Range getByteRange() { if (byteRangeBuilder_ == null) { - return byteRange_ == null - ? com.google.privacy.dlp.v2.Range.getDefaultInstance() - : byteRange_; + return byteRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_; } else { return byteRangeBuilder_.getMessage(); } } /** - * - * *
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -915,8 +832,6 @@ public Builder setByteRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -927,7 +842,8 @@ public Builder setByteRange(com.google.privacy.dlp.v2.Range value) {
      *
      * .google.privacy.dlp.v2.Range byte_range = 1;
      */
-    public Builder setByteRange(com.google.privacy.dlp.v2.Range.Builder builderForValue) {
+    public Builder setByteRange(
+        com.google.privacy.dlp.v2.Range.Builder builderForValue) {
       if (byteRangeBuilder_ == null) {
         byteRange_ = builderForValue.build();
         onChanged();
@@ -938,8 +854,6 @@ public Builder setByteRange(com.google.privacy.dlp.v2.Range.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -954,9 +868,7 @@ public Builder mergeByteRange(com.google.privacy.dlp.v2.Range value) {
       if (byteRangeBuilder_ == null) {
         if (byteRange_ != null) {
           byteRange_ =
-              com.google.privacy.dlp.v2.Range.newBuilder(byteRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.Range.newBuilder(byteRange_).mergeFrom(value).buildPartial();
         } else {
           byteRange_ = value;
         }
@@ -968,8 +880,6 @@ public Builder mergeByteRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -992,8 +902,6 @@ public Builder clearByteRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1005,13 +913,11 @@ public Builder clearByteRange() {
      * .google.privacy.dlp.v2.Range byte_range = 1;
      */
     public com.google.privacy.dlp.v2.Range.Builder getByteRangeBuilder() {
-
+      
       onChanged();
       return getByteRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1026,14 +932,11 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
       if (byteRangeBuilder_ != null) {
         return byteRangeBuilder_.getMessageOrBuilder();
       } else {
-        return byteRange_ == null
-            ? com.google.privacy.dlp.v2.Range.getDefaultInstance()
-            : byteRange_;
+        return byteRange_ == null ?
+            com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1045,17 +948,14 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
      * .google.privacy.dlp.v2.Range byte_range = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Range,
-            com.google.privacy.dlp.v2.Range.Builder,
-            com.google.privacy.dlp.v2.RangeOrBuilder>
+        com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> 
         getByteRangeFieldBuilder() {
       if (byteRangeBuilder_ == null) {
-        byteRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.Range,
-                com.google.privacy.dlp.v2.Range.Builder,
-                com.google.privacy.dlp.v2.RangeOrBuilder>(
-                getByteRange(), getParentForChildren(), isClean());
+        byteRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder>(
+                getByteRange(),
+                getParentForChildren(),
+                isClean());
         byteRange_ = null;
       }
       return byteRangeBuilder_;
@@ -1063,13 +963,8 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
 
     private com.google.privacy.dlp.v2.Range codepointRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Range,
-            com.google.privacy.dlp.v2.Range.Builder,
-            com.google.privacy.dlp.v2.RangeOrBuilder>
-        codepointRangeBuilder_;
+        com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> codepointRangeBuilder_;
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1077,15 +972,12 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; - * * @return Whether the codepointRange field is set. */ public boolean hasCodepointRange() { return codepointRangeBuilder_ != null || codepointRange_ != null; } /** - * - * *
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1093,21 +985,16 @@ public boolean hasCodepointRange() {
      * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; - * * @return The codepointRange. */ public com.google.privacy.dlp.v2.Range getCodepointRange() { if (codepointRangeBuilder_ == null) { - return codepointRange_ == null - ? com.google.privacy.dlp.v2.Range.getDefaultInstance() - : codepointRange_; + return codepointRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : codepointRange_; } else { return codepointRangeBuilder_.getMessage(); } } /** - * - * *
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1130,8 +1017,6 @@ public Builder setCodepointRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1140,7 +1025,8 @@ public Builder setCodepointRange(com.google.privacy.dlp.v2.Range value) {
      *
      * .google.privacy.dlp.v2.Range codepoint_range = 2;
      */
-    public Builder setCodepointRange(com.google.privacy.dlp.v2.Range.Builder builderForValue) {
+    public Builder setCodepointRange(
+        com.google.privacy.dlp.v2.Range.Builder builderForValue) {
       if (codepointRangeBuilder_ == null) {
         codepointRange_ = builderForValue.build();
         onChanged();
@@ -1151,8 +1037,6 @@ public Builder setCodepointRange(com.google.privacy.dlp.v2.Range.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1165,9 +1049,7 @@ public Builder mergeCodepointRange(com.google.privacy.dlp.v2.Range value) {
       if (codepointRangeBuilder_ == null) {
         if (codepointRange_ != null) {
           codepointRange_ =
-              com.google.privacy.dlp.v2.Range.newBuilder(codepointRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.Range.newBuilder(codepointRange_).mergeFrom(value).buildPartial();
         } else {
           codepointRange_ = value;
         }
@@ -1179,8 +1061,6 @@ public Builder mergeCodepointRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1201,8 +1081,6 @@ public Builder clearCodepointRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1212,13 +1090,11 @@ public Builder clearCodepointRange() {
      * .google.privacy.dlp.v2.Range codepoint_range = 2;
      */
     public com.google.privacy.dlp.v2.Range.Builder getCodepointRangeBuilder() {
-
+      
       onChanged();
       return getCodepointRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1231,14 +1107,11 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
       if (codepointRangeBuilder_ != null) {
         return codepointRangeBuilder_.getMessageOrBuilder();
       } else {
-        return codepointRange_ == null
-            ? com.google.privacy.dlp.v2.Range.getDefaultInstance()
-            : codepointRange_;
+        return codepointRange_ == null ?
+            com.google.privacy.dlp.v2.Range.getDefaultInstance() : codepointRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1248,42 +1121,32 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
      * .google.privacy.dlp.v2.Range codepoint_range = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Range,
-            com.google.privacy.dlp.v2.Range.Builder,
-            com.google.privacy.dlp.v2.RangeOrBuilder>
+        com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> 
         getCodepointRangeFieldBuilder() {
       if (codepointRangeBuilder_ == null) {
-        codepointRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.Range,
-                com.google.privacy.dlp.v2.Range.Builder,
-                com.google.privacy.dlp.v2.RangeOrBuilder>(
-                getCodepointRange(), getParentForChildren(), isClean());
+        codepointRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder>(
+                getCodepointRange(),
+                getParentForChildren(),
+                isClean());
         codepointRange_ = null;
       }
       return codepointRangeBuilder_;
     }
 
     private java.util.List contentLocations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureContentLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        contentLocations_ =
-            new java.util.ArrayList(contentLocations_);
+        contentLocations_ = new java.util.ArrayList(contentLocations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.ContentLocation,
-            com.google.privacy.dlp.v2.ContentLocation.Builder,
-            com.google.privacy.dlp.v2.ContentLocationOrBuilder>
-        contentLocationsBuilder_;
+        com.google.privacy.dlp.v2.ContentLocation, com.google.privacy.dlp.v2.ContentLocation.Builder, com.google.privacy.dlp.v2.ContentLocationOrBuilder> contentLocationsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1299,8 +1162,6 @@ public java.util.List getContentLocat
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1316,8 +1177,6 @@ public int getContentLocationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1333,8 +1192,6 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1342,7 +1199,8 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public Builder setContentLocations(int index, com.google.privacy.dlp.v2.ContentLocation value) {
+    public Builder setContentLocations(
+        int index, com.google.privacy.dlp.v2.ContentLocation value) {
       if (contentLocationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1356,8 +1214,6 @@ public Builder setContentLocations(int index, com.google.privacy.dlp.v2.ContentL
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1377,8 +1233,6 @@ public Builder setContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1400,8 +1254,6 @@ public Builder addContentLocations(com.google.privacy.dlp.v2.ContentLocation val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1409,7 +1261,8 @@ public Builder addContentLocations(com.google.privacy.dlp.v2.ContentLocation val
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public Builder addContentLocations(int index, com.google.privacy.dlp.v2.ContentLocation value) {
+    public Builder addContentLocations(
+        int index, com.google.privacy.dlp.v2.ContentLocation value) {
       if (contentLocationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1423,8 +1276,6 @@ public Builder addContentLocations(int index, com.google.privacy.dlp.v2.ContentL
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1444,8 +1295,6 @@ public Builder addContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1465,8 +1314,6 @@ public Builder addContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1478,7 +1325,8 @@ public Builder addAllContentLocations(
         java.lang.Iterable values) {
       if (contentLocationsBuilder_ == null) {
         ensureContentLocationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contentLocations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, contentLocations_);
         onChanged();
       } else {
         contentLocationsBuilder_.addAllMessages(values);
@@ -1486,8 +1334,6 @@ public Builder addAllContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1506,8 +1352,6 @@ public Builder clearContentLocations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1526,8 +1370,6 @@ public Builder removeContentLocations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1535,12 +1377,11 @@ public Builder removeContentLocations(int index) {
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public com.google.privacy.dlp.v2.ContentLocation.Builder getContentLocationsBuilder(int index) {
+    public com.google.privacy.dlp.v2.ContentLocation.Builder getContentLocationsBuilder(
+        int index) {
       return getContentLocationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1551,14 +1392,11 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder getContentLocationsBuil
     public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(
         int index) {
       if (contentLocationsBuilder_ == null) {
-        return contentLocations_.get(index);
-      } else {
+        return contentLocations_.get(index);  } else {
         return contentLocationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1566,8 +1404,8 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public java.util.List
-        getContentLocationsOrBuilderList() {
+    public java.util.List 
+         getContentLocationsOrBuilderList() {
       if (contentLocationsBuilder_ != null) {
         return contentLocationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1575,8 +1413,6 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1585,12 +1421,10 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
     public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuilder() {
-      return getContentLocationsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
+      return getContentLocationsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1598,13 +1432,12 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuilder(int index) {
-      return getContentLocationsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
+    public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuilder(
+        int index) {
+      return getContentLocationsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1612,22 +1445,16 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public java.util.List
-        getContentLocationsBuilderList() {
+    public java.util.List 
+         getContentLocationsBuilderList() {
       return getContentLocationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.ContentLocation,
-            com.google.privacy.dlp.v2.ContentLocation.Builder,
-            com.google.privacy.dlp.v2.ContentLocationOrBuilder>
+        com.google.privacy.dlp.v2.ContentLocation, com.google.privacy.dlp.v2.ContentLocation.Builder, com.google.privacy.dlp.v2.ContentLocationOrBuilder> 
         getContentLocationsFieldBuilder() {
       if (contentLocationsBuilder_ == null) {
-        contentLocationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.ContentLocation,
-                com.google.privacy.dlp.v2.ContentLocation.Builder,
-                com.google.privacy.dlp.v2.ContentLocationOrBuilder>(
+        contentLocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.ContentLocation, com.google.privacy.dlp.v2.ContentLocation.Builder, com.google.privacy.dlp.v2.ContentLocationOrBuilder>(
                 contentLocations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1639,47 +1466,34 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
 
     private com.google.privacy.dlp.v2.Container container_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Container,
-            com.google.privacy.dlp.v2.Container.Builder,
-            com.google.privacy.dlp.v2.ContainerOrBuilder>
-        containerBuilder_;
+        com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> containerBuilder_;
     /**
-     *
-     *
      * 
      * Information about the container where this finding occurred, if available.
      * 
* * .google.privacy.dlp.v2.Container container = 8; - * * @return Whether the container field is set. */ public boolean hasContainer() { return containerBuilder_ != null || container_ != null; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
* * .google.privacy.dlp.v2.Container container = 8; - * * @return The container. */ public com.google.privacy.dlp.v2.Container getContainer() { if (containerBuilder_ == null) { - return container_ == null - ? com.google.privacy.dlp.v2.Container.getDefaultInstance() - : container_; + return container_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1700,15 +1514,14 @@ public Builder setContainer(com.google.privacy.dlp.v2.Container value) { return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
* * .google.privacy.dlp.v2.Container container = 8; */ - public Builder setContainer(com.google.privacy.dlp.v2.Container.Builder builderForValue) { + public Builder setContainer( + com.google.privacy.dlp.v2.Container.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); onChanged(); @@ -1719,8 +1532,6 @@ public Builder setContainer(com.google.privacy.dlp.v2.Container.Builder builderF return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1731,9 +1542,7 @@ public Builder mergeContainer(com.google.privacy.dlp.v2.Container value) { if (containerBuilder_ == null) { if (container_ != null) { container_ = - com.google.privacy.dlp.v2.Container.newBuilder(container_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.Container.newBuilder(container_).mergeFrom(value).buildPartial(); } else { container_ = value; } @@ -1745,8 +1554,6 @@ public Builder mergeContainer(com.google.privacy.dlp.v2.Container value) { return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1765,8 +1572,6 @@ public Builder clearContainer() { return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1774,13 +1579,11 @@ public Builder clearContainer() { * .google.privacy.dlp.v2.Container container = 8; */ public com.google.privacy.dlp.v2.Container.Builder getContainerBuilder() { - + onChanged(); return getContainerFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1791,14 +1594,11 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { - return container_ == null - ? com.google.privacy.dlp.v2.Container.getDefaultInstance() - : container_; + return container_ == null ? + com.google.privacy.dlp.v2.Container.getDefaultInstance() : container_; } } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1806,24 +1606,21 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { * .google.privacy.dlp.v2.Container container = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, - com.google.privacy.dlp.v2.Container.Builder, - com.google.privacy.dlp.v2.ContainerOrBuilder> + com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { - containerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, - com.google.privacy.dlp.v2.Container.Builder, - com.google.privacy.dlp.v2.ContainerOrBuilder>( - getContainer(), getParentForChildren(), isClean()); + containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder>( + getContainer(), + getParentForChildren(), + isClean()); container_ = null; } return containerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1833,12 +1630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Location) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Location) private static final com.google.privacy.dlp.v2.Location DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Location(); } @@ -1847,16 +1644,16 @@ public static com.google.privacy.dlp.v2.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Location(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Location(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1871,4 +1668,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java similarity index 83% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java index 1291b914..baba0c5b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface LocationOrBuilder - extends +public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Location) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -35,13 +17,10 @@ public interface LocationOrBuilder
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return Whether the byteRange field is set. */ boolean hasByteRange(); /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -51,13 +30,10 @@ public interface LocationOrBuilder
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return The byteRange. */ com.google.privacy.dlp.v2.Range getByteRange(); /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -71,8 +47,6 @@ public interface LocationOrBuilder
   com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -80,13 +54,10 @@ public interface LocationOrBuilder
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; - * * @return Whether the codepointRange field is set. */ boolean hasCodepointRange(); /** - * - * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -94,13 +65,10 @@ public interface LocationOrBuilder
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; - * * @return The codepointRange. */ com.google.privacy.dlp.v2.Range getCodepointRange(); /** - * - * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -112,8 +80,6 @@ public interface LocationOrBuilder
   com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -121,10 +87,9 @@ public interface LocationOrBuilder
    *
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
-  java.util.List getContentLocationsList();
+  java.util.List 
+      getContentLocationsList();
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -134,8 +99,6 @@ public interface LocationOrBuilder
    */
   com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index);
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -145,8 +108,6 @@ public interface LocationOrBuilder
    */
   int getContentLocationsCount();
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -154,11 +115,9 @@ public interface LocationOrBuilder
    *
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
-  java.util.List
+  java.util.List 
       getContentLocationsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -166,35 +125,28 @@ public interface LocationOrBuilder
    *
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
-  com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(int index);
+  com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; - * * @return Whether the container field is set. */ boolean hasContainer(); /** - * - * *
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; - * * @return The container. */ com.google.privacy.dlp.v2.Container getContainer(); /** - * - * *
    * Information about the container where this finding occurred, if available.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java index 4514a2f0..b00f3822 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Job trigger option for hybrid jobs. Jobs must be manually created
  * and finished.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Manual}
  */
-public final class Manual extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Manual extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Manual)
     ManualOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Manual.newBuilder() to construct.
   private Manual(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Manual() {}
+  private Manual() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Manual();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Manual(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,41 +53,39 @@ private Manual(
           case 0:
             done = true;
             break;
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Manual_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Manual.class, com.google.privacy.dlp.v2.Manual.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -115,7 +97,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     unknownFields.writeTo(output);
   }
 
@@ -133,7 +116,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.privacy.dlp.v2.Manual)) {
       return super.equals(obj);
@@ -156,103 +139,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.Manual parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.Manual parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.Manual parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.privacy.dlp.v2.Manual parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Manual 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.privacy.dlp.v2.Manual parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.Manual parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.Manual prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Job trigger option for hybrid jobs. Jobs must be manually created
    * and finished.
@@ -260,23 +237,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Manual}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Manual)
       com.google.privacy.dlp.v2.ManualOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Manual_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Manual.class,
-              com.google.privacy.dlp.v2.Manual.Builder.class);
+              com.google.privacy.dlp.v2.Manual.class, com.google.privacy.dlp.v2.Manual.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.Manual.newBuilder()
@@ -284,15 +259,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -300,9 +276,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Manual_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_descriptor;
     }
 
     @java.lang.Override
@@ -330,39 +306,38 @@ public com.google.privacy.dlp.v2.Manual buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Manual) {
-        return mergeFrom((com.google.privacy.dlp.v2.Manual) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Manual)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,9 +374,9 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -411,12 +386,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Manual)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Manual)
   private static final com.google.privacy.dlp.v2.Manual DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Manual();
   }
@@ -425,16 +400,16 @@ public static com.google.privacy.dlp.v2.Manual getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Manual parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Manual(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Manual parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Manual(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -449,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.Manual getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java
new file mode 100644
index 00000000..0e9dda65
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+public interface ManualOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Manual)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
similarity index 74%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
index 90d30b09..087861e5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Type of the match which can be applied to different ways of matching, like
  * Dictionary, regular expression and intersecting with findings of another
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.MatchingType}
  */
-public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
+public enum MatchingType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Invalid.
    * 
@@ -41,8 +23,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum { */ MATCHING_TYPE_UNSPECIFIED(0), /** - * - * *
    * Full match.
    * - Dictionary: join of Dictionary results matched complete finding quote
@@ -54,8 +34,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MATCHING_TYPE_FULL_MATCH(1),
   /**
-   *
-   *
    * 
    * Partial match.
    * - Dictionary: at least one of the tokens in the finding matches
@@ -67,8 +45,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MATCHING_TYPE_PARTIAL_MATCH(2),
   /**
-   *
-   *
    * 
    * Inverse match.
    * - Dictionary: no tokens in the finding match the dictionary
@@ -83,8 +59,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Invalid.
    * 
@@ -93,8 +67,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MATCHING_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Full match.
    * - Dictionary: join of Dictionary results matched complete finding quote
@@ -106,8 +78,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MATCHING_TYPE_FULL_MATCH_VALUE = 1;
   /**
-   *
-   *
    * 
    * Partial match.
    * - Dictionary: at least one of the tokens in the finding matches
@@ -119,8 +89,6 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MATCHING_TYPE_PARTIAL_MATCH_VALUE = 2;
   /**
-   *
-   *
    * 
    * Inverse match.
    * - Dictionary: no tokens in the finding match the dictionary
@@ -132,6 +100,7 @@ public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MATCHING_TYPE_INVERSE_MATCH_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -156,51 +125,50 @@ public static MatchingType valueOf(int value) {
    */
   public static MatchingType forNumber(int value) {
     switch (value) {
-      case 0:
-        return MATCHING_TYPE_UNSPECIFIED;
-      case 1:
-        return MATCHING_TYPE_FULL_MATCH;
-      case 2:
-        return MATCHING_TYPE_PARTIAL_MATCH;
-      case 3:
-        return MATCHING_TYPE_INVERSE_MATCH;
-      default:
-        return null;
+      case 0: return MATCHING_TYPE_UNSPECIFIED;
+      case 1: return MATCHING_TYPE_FULL_MATCH;
+      case 2: return MATCHING_TYPE_PARTIAL_MATCH;
+      case 3: return MATCHING_TYPE_INVERSE_MATCH;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public MatchingType findValueByNumber(int number) {
-          return MatchingType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      MatchingType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public MatchingType findValueByNumber(int number) {
+            return MatchingType.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final MatchingType[] VALUES = values();
 
-  public static MatchingType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static MatchingType 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;
@@ -216,3 +184,4 @@ private MatchingType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.MatchingType)
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
similarity index 70%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
index 5a0bcd18..bb785132 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Metadata Location
  * 
* * Protobuf type {@code google.privacy.dlp.v2.MetadataLocation} */ -public final class MetadataLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MetadataLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.MetadataLocation) MetadataLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MetadataLocation.newBuilder() to construct. private MetadataLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetadataLocation() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetadataLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MetadataLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,74 +53,66 @@ private MetadataLocation( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; + type_ = rawValue; + break; + } + case 26: { + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder subBuilder = null; + if (labelCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.StorageMetadataLabel) label_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder subBuilder = null; - if (labelCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.StorageMetadataLabel) label_).toBuilder(); - } - label_ = - input.readMessage( - com.google.privacy.dlp.v2.StorageMetadataLabel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) label_); - label_ = subBuilder.buildPartial(); - } - labelCase_ = 3; - break; + label_ = + input.readMessage(com.google.privacy.dlp.v2.StorageMetadataLabel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + label_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + labelCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.MetadataLocation.class, - com.google.privacy.dlp.v2.MetadataLocation.Builder.class); + com.google.privacy.dlp.v2.MetadataLocation.class, com.google.privacy.dlp.v2.MetadataLocation.Builder.class); } private int labelCase_ = 0; private java.lang.Object label_; - public enum LabelCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STORAGE_LABEL(3), LABEL_NOT_SET(0); private final int value; - private LabelCase(int value) { this.value = value; } @@ -153,70 +128,56 @@ public static LabelCase valueOf(int value) { public static LabelCase forNumber(int value) { switch (value) { - case 3: - return STORAGE_LABEL; - case 0: - return LABEL_NOT_SET; - default: - return null; + case 3: return STORAGE_LABEL; + case 0: return LABEL_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public LabelCase getLabelCase() { - return LabelCase.forNumber(labelCase_); + public LabelCase + getLabelCase() { + return LabelCase.forNumber( + labelCase_); } public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.privacy.dlp.v2.MetadataType getType() { + @java.lang.Override public com.google.privacy.dlp.v2.MetadataType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MetadataType result = - com.google.privacy.dlp.v2.MetadataType.valueOf(type_); + com.google.privacy.dlp.v2.MetadataType result = com.google.privacy.dlp.v2.MetadataType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.MetadataType.UNRECOGNIZED : result; } public static final int STORAGE_LABEL_FIELD_NUMBER = 3; /** - * - * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return Whether the storageLabel field is set. */ @java.lang.Override @@ -224,26 +185,21 @@ public boolean hasStorageLabel() { return labelCase_ == 3; } /** - * - * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return The storageLabel. */ @java.lang.Override public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { if (labelCase_ == 3) { - return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; } return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); } /** - * - * *
    * Storage metadata.
    * 
@@ -253,13 +209,12 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { @java.lang.Override public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder() { if (labelCase_ == 3) { - return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; } return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -288,12 +244,12 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (labelCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.StorageMetadataLabel) label_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,19 +259,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.privacy.dlp.v2.MetadataLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.MetadataLocation other = - (com.google.privacy.dlp.v2.MetadataLocation) obj; + com.google.privacy.dlp.v2.MetadataLocation other = (com.google.privacy.dlp.v2.MetadataLocation) obj; if (type_ != other.type_) return false; if (!getLabelCase().equals(other.getLabelCase())) return false; switch (labelCase_) { case 3: - if (!getStorageLabel().equals(other.getStorageLabel())) return false; + if (!getStorageLabel() + .equals(other.getStorageLabel())) return false; break; case 0: default: @@ -346,127 +302,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.MetadataLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata Location
    * 
* * Protobuf type {@code google.privacy.dlp.v2.MetadataLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.MetadataLocation) com.google.privacy.dlp.v2.MetadataLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.MetadataLocation.class, - com.google.privacy.dlp.v2.MetadataLocation.Builder.class); + com.google.privacy.dlp.v2.MetadataLocation.class, com.google.privacy.dlp.v2.MetadataLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.MetadataLocation.newBuilder() @@ -474,15 +421,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; } @java.lang.Override @@ -515,8 +463,7 @@ public com.google.privacy.dlp.v2.MetadataLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.MetadataLocation buildPartial() { - com.google.privacy.dlp.v2.MetadataLocation result = - new com.google.privacy.dlp.v2.MetadataLocation(this); + com.google.privacy.dlp.v2.MetadataLocation result = new com.google.privacy.dlp.v2.MetadataLocation(this); result.type_ = type_; if (labelCase_ == 3) { if (storageLabelBuilder_ == null) { @@ -534,39 +481,38 @@ public com.google.privacy.dlp.v2.MetadataLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.MetadataLocation) { - return mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) other); + return mergeFrom((com.google.privacy.dlp.v2.MetadataLocation)other); } else { super.mergeFrom(other); return this; @@ -579,15 +525,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.MetadataLocation other) { setTypeValue(other.getTypeValue()); } switch (other.getLabelCase()) { - case STORAGE_LABEL: - { - mergeStorageLabel(other.getStorageLabel()); - break; - } - case LABEL_NOT_SET: - { - break; - } + case STORAGE_LABEL: { + mergeStorageLabel(other.getStorageLabel()); + break; + } + case LABEL_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -617,12 +561,12 @@ public Builder mergeFrom( } return this; } - private int labelCase_ = 0; private java.lang.Object label_; - - public LabelCase getLabelCase() { - return LabelCase.forNumber(labelCase_); + public LabelCase + getLabelCase() { + return LabelCase.forNumber( + labelCase_); } public Builder clearLabel() { @@ -632,67 +576,54 @@ public Builder clearLabel() { return this; } + private int type_ = 0; /** - * - * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.MetadataType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MetadataType result = - com.google.privacy.dlp.v2.MetadataType.valueOf(type_); + com.google.privacy.dlp.v2.MetadataType result = com.google.privacy.dlp.v2.MetadataType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.MetadataType.UNRECOGNIZED : result; } /** - * - * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -700,43 +631,34 @@ public Builder setType(com.google.privacy.dlp.v2.MetadataType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageMetadataLabel, - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, - com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> - storageLabelBuilder_; + com.google.privacy.dlp.v2.StorageMetadataLabel, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> storageLabelBuilder_; /** - * - * *
      * Storage metadata.
      * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return Whether the storageLabel field is set. */ @java.lang.Override @@ -744,14 +666,11 @@ public boolean hasStorageLabel() { return labelCase_ == 3; } /** - * - * *
      * Storage metadata.
      * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return The storageLabel. */ @java.lang.Override @@ -769,8 +688,6 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { } } /** - * - * *
      * Storage metadata.
      * 
@@ -791,8 +708,6 @@ public Builder setStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel va return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -811,8 +726,6 @@ public Builder setStorageLabel( return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -821,13 +734,10 @@ public Builder setStorageLabel( */ public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel value) { if (storageLabelBuilder_ == null) { - if (labelCase_ == 3 - && label_ != com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance()) { - label_ = - com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder( - (com.google.privacy.dlp.v2.StorageMetadataLabel) label_) - .mergeFrom(value) - .buildPartial(); + if (labelCase_ == 3 && + label_ != com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance()) { + label_ = com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder((com.google.privacy.dlp.v2.StorageMetadataLabel) label_) + .mergeFrom(value).buildPartial(); } else { label_ = value; } @@ -842,8 +752,6 @@ public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -867,8 +775,6 @@ public Builder clearStorageLabel() { return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -879,8 +785,6 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel.Builder getStorageLabelBui return getStorageLabelFieldBuilder().getBuilder(); } /** - * - * *
      * Storage metadata.
      * 
@@ -899,8 +803,6 @@ public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOr } } /** - * - * *
      * Storage metadata.
      * 
@@ -908,32 +810,26 @@ public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOr * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageMetadataLabel, - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, - com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> + com.google.privacy.dlp.v2.StorageMetadataLabel, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> getStorageLabelFieldBuilder() { if (storageLabelBuilder_ == null) { if (!(labelCase_ == 3)) { label_ = com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); } - storageLabelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageMetadataLabel, - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, - com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder>( + storageLabelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageMetadataLabel, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder>( (com.google.privacy.dlp.v2.StorageMetadataLabel) label_, getParentForChildren(), isClean()); label_ = null; } labelCase_ = 3; - onChanged(); - ; + onChanged();; return storageLabelBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -943,12 +839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.MetadataLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.MetadataLocation) private static final com.google.privacy.dlp.v2.MetadataLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.MetadataLocation(); } @@ -957,16 +853,16 @@ public static com.google.privacy.dlp.v2.MetadataLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetadataLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetadataLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetadataLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetadataLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,4 +877,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.MetadataLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java index d1605fee..19acf67d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java @@ -1,80 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface MetadataLocationOrBuilder - extends +public interface MetadataLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.MetadataLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; - * * @return The type. */ com.google.privacy.dlp.v2.MetadataType getType(); /** - * - * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return Whether the storageLabel field is set. */ boolean hasStorageLabel(); /** - * - * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return The storageLabel. */ com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel(); /** - * - * *
    * Storage metadata.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java index ec7c0ce6..6f6f7184 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Type of metadata containing the finding.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.MetadataType} */ -public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { +public enum MetadataType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unused
    * 
@@ -39,8 +21,6 @@ public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { */ METADATATYPE_UNSPECIFIED(0), /** - * - * *
    * General file metadata provided by Cloud Storage.
    * 
@@ -52,8 +32,6 @@ public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unused
    * 
@@ -62,8 +40,6 @@ public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METADATATYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * General file metadata provided by Cloud Storage.
    * 
@@ -72,6 +48,7 @@ public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_METADATA_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -96,47 +73,48 @@ public static MetadataType valueOf(int value) { */ public static MetadataType forNumber(int value) { switch (value) { - case 0: - return METADATATYPE_UNSPECIFIED; - case 2: - return STORAGE_METADATA; - default: - return null; + case 0: return METADATATYPE_UNSPECIFIED; + case 2: return STORAGE_METADATA; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetadataType findValueByNumber(int number) { - return MetadataType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + MetadataType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetadataType findValueByNumber(int number) { + return MetadataType.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(3); } private static final MetadataType[] VALUES = values(); - public static MetadataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetadataType 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; @@ -152,3 +130,4 @@ private MetadataType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.MetadataType) } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java similarity index 78% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java index 50c572ce..5b37c495 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Cloud repository for storing output.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.OutputStorageConfig} */ -public final class OutputStorageConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputStorageConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.OutputStorageConfig) OutputStorageConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputStorageConfig.newBuilder() to construct. private OutputStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputStorageConfig() { outputSchema_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputStorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OutputStorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,66 +53,59 @@ private OutputStorageConfig( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.BigQueryTable) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryTable) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.BigQueryTable) type_).toBuilder(); } - case 24: - { - int rawValue = input.readEnum(); - - outputSchema_ = rawValue; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryTable) type_); + type_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + typeCase_ = 1; + break; + } + case 24: { + int rawValue = input.readEnum(); + + outputSchema_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OutputStorageConfig.class, - com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); + com.google.privacy.dlp.v2.OutputStorageConfig.class, com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); } /** - * - * *
    * Predefined schemas for storing findings.
    * Only for use with external storage.
@@ -137,10 +113,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.OutputStorageConfig.OutputSchema}
    */
-  public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum {
+  public enum OutputSchema
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -149,8 +124,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ OUTPUT_SCHEMA_UNSPECIFIED(0), /** - * - * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -160,8 +133,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC_COLUMNS(1),
     /**
-     *
-     *
      * 
      * Schema tailored to findings from scanning Google Cloud Storage.
      * 
@@ -170,8 +141,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ GCS_COLUMNS(2), /** - * - * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -180,8 +149,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ DATASTORE_COLUMNS(3), /** - * - * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -190,8 +157,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ BIG_QUERY_COLUMNS(4), /** - * - * *
      * Schema containing all columns.
      * 
@@ -203,8 +168,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused.
      * 
@@ -213,8 +176,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OUTPUT_SCHEMA_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -224,8 +185,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_COLUMNS_VALUE = 1;
     /**
-     *
-     *
      * 
      * Schema tailored to findings from scanning Google Cloud Storage.
      * 
@@ -234,8 +193,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCS_COLUMNS_VALUE = 2; /** - * - * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -244,8 +201,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATASTORE_COLUMNS_VALUE = 3; /** - * - * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -254,8 +209,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIG_QUERY_COLUMNS_VALUE = 4; /** - * - * *
      * Schema containing all columns.
      * 
@@ -264,6 +217,7 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALL_COLUMNS_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -288,55 +242,52 @@ public static OutputSchema valueOf(int value) { */ public static OutputSchema forNumber(int value) { switch (value) { - case 0: - return OUTPUT_SCHEMA_UNSPECIFIED; - case 1: - return BASIC_COLUMNS; - case 2: - return GCS_COLUMNS; - case 3: - return DATASTORE_COLUMNS; - case 4: - return BIG_QUERY_COLUMNS; - case 5: - return ALL_COLUMNS; - default: - return null; + case 0: return OUTPUT_SCHEMA_UNSPECIFIED; + case 1: return BASIC_COLUMNS; + case 2: return GCS_COLUMNS; + case 3: return DATASTORE_COLUMNS; + case 4: return BIG_QUERY_COLUMNS; + case 5: return ALL_COLUMNS; + 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< + OutputSchema> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OutputSchema findValueByNumber(int number) { + return OutputSchema.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OutputSchema findValueByNumber(int number) { - return OutputSchema.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.OutputStorageConfig.getDescriptor().getEnumTypes().get(0); } private static final OutputSchema[] VALUES = values(); - public static OutputSchema valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static OutputSchema 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; @@ -355,15 +306,12 @@ private OutputSchema(int value) { private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TABLE(1), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -379,28 +327,24 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: - return TABLE; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 1: return TABLE; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int TABLE_FIELD_NUMBER = 1; /** - * - * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -417,7 +361,6 @@ public TypeCase getTypeCase() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ @java.lang.Override @@ -425,8 +368,6 @@ public boolean hasTable() { return typeCase_ == 1; } /** - * - * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -443,19 +384,16 @@ public boolean hasTable() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.BigQueryTable) type_; + return (com.google.privacy.dlp.v2.BigQueryTable) type_; } return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance(); } /** - * - * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -476,7 +414,7 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
     if (typeCase_ == 1) {
-      return (com.google.privacy.dlp.v2.BigQueryTable) type_;
+       return (com.google.privacy.dlp.v2.BigQueryTable) type_;
     }
     return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance();
   }
@@ -484,8 +422,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
   public static final int OUTPUT_SCHEMA_FIELD_NUMBER = 3;
   private int outputSchema_;
   /**
-   *
-   *
    * 
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -499,16 +435,12 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return The enum numeric value on the wire for outputSchema. */ - @java.lang.Override - public int getOutputSchemaValue() { + @java.lang.Override public int getOutputSchemaValue() { return outputSchema_; } /** - * - * *
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -522,21 +454,15 @@ public int getOutputSchemaValue() {
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return The outputSchema. */ - @java.lang.Override - public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() { + @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); - return result == null - ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); + return result == null ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -548,13 +474,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.BigQueryTable) type_); } - if (outputSchema_ - != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED - .getNumber()) { + if (outputSchema_ != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED.getNumber()) { output.writeEnum(3, outputSchema_); } unknownFields.writeTo(output); @@ -567,14 +492,12 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.BigQueryTable) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.BigQueryTable) type_); } - if (outputSchema_ - != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, outputSchema_); + if (outputSchema_ != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, outputSchema_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -584,19 +507,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.privacy.dlp.v2.OutputStorageConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.OutputStorageConfig other = - (com.google.privacy.dlp.v2.OutputStorageConfig) obj; + com.google.privacy.dlp.v2.OutputStorageConfig other = (com.google.privacy.dlp.v2.OutputStorageConfig) obj; if (outputSchema_ != other.outputSchema_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; break; case 0: default: @@ -627,127 +550,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.OutputStorageConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.OutputStorageConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.OutputStorageConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cloud repository for storing output.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.OutputStorageConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.OutputStorageConfig) com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OutputStorageConfig.class, - com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); + com.google.privacy.dlp.v2.OutputStorageConfig.class, com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder() @@ -755,15 +669,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -775,9 +690,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; } @java.lang.Override @@ -796,8 +711,7 @@ public com.google.privacy.dlp.v2.OutputStorageConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig buildPartial() { - com.google.privacy.dlp.v2.OutputStorageConfig result = - new com.google.privacy.dlp.v2.OutputStorageConfig(this); + com.google.privacy.dlp.v2.OutputStorageConfig result = new com.google.privacy.dlp.v2.OutputStorageConfig(this); if (typeCase_ == 1) { if (tableBuilder_ == null) { result.type_ = type_; @@ -815,39 +729,38 @@ public com.google.privacy.dlp.v2.OutputStorageConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.OutputStorageConfig) { - return mergeFrom((com.google.privacy.dlp.v2.OutputStorageConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.OutputStorageConfig)other); } else { super.mergeFrom(other); return this; @@ -860,15 +773,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.OutputStorageConfig other) { setOutputSchemaValue(other.getOutputSchemaValue()); } switch (other.getTypeCase()) { - case TABLE: - { - mergeTable(other.getTable()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case TABLE: { + mergeTable(other.getTable()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -898,12 +809,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -913,14 +824,10 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - tableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_; /** - * - * *
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -937,7 +844,6 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ @java.lang.Override @@ -945,8 +851,6 @@ public boolean hasTable() { return typeCase_ == 1; } /** - * - * *
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -963,7 +867,6 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ @java.lang.Override @@ -981,8 +884,6 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { } } /** - * - * *
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1014,8 +915,6 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1033,7 +932,8 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) {
      *
      * .google.privacy.dlp.v2.BigQueryTable table = 1;
      */
-    public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) {
+    public Builder setTable(
+        com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) {
       if (tableBuilder_ == null) {
         type_ = builderForValue.build();
         onChanged();
@@ -1044,8 +944,6 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1065,13 +963,10 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderF
      */
     public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       if (tableBuilder_ == null) {
-        if (typeCase_ == 1
-            && type_ != com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()) {
-          type_ =
-              com.google.privacy.dlp.v2.BigQueryTable.newBuilder(
-                      (com.google.privacy.dlp.v2.BigQueryTable) type_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeCase_ == 1 &&
+            type_ != com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()) {
+          type_ = com.google.privacy.dlp.v2.BigQueryTable.newBuilder((com.google.privacy.dlp.v2.BigQueryTable) type_)
+              .mergeFrom(value).buildPartial();
         } else {
           type_ = value;
         }
@@ -1086,8 +981,6 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1122,8 +1015,6 @@ public Builder clearTable() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1145,8 +1036,6 @@ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() {
       return getTableFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1176,8 +1065,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1196,32 +1083,26 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
      * .google.privacy.dlp.v2.BigQueryTable table = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.BigQueryTable,
-            com.google.privacy.dlp.v2.BigQueryTable.Builder,
-            com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
+        com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> 
         getTableFieldBuilder() {
       if (tableBuilder_ == null) {
         if (!(typeCase_ == 1)) {
           type_ = com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance();
         }
-        tableBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.BigQueryTable,
-                com.google.privacy.dlp.v2.BigQueryTable.Builder,
-                com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
-                (com.google.privacy.dlp.v2.BigQueryTable) type_, getParentForChildren(), isClean());
+        tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
+                (com.google.privacy.dlp.v2.BigQueryTable) type_,
+                getParentForChildren(),
+                isClean());
         type_ = null;
       }
       typeCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return tableBuilder_;
     }
 
     private int outputSchema_ = 0;
     /**
-     *
-     *
      * 
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1235,16 +1116,12 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return The enum numeric value on the wire for outputSchema. */ - @java.lang.Override - public int getOutputSchemaValue() { + @java.lang.Override public int getOutputSchemaValue() { return outputSchema_; } /** - * - * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1258,19 +1135,16 @@ public int getOutputSchemaValue() {
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @param value The enum numeric value on the wire for outputSchema to set. * @return This builder for chaining. */ public Builder setOutputSchemaValue(int value) { - + outputSchema_ = value; onChanged(); return this; } /** - * - * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1284,21 +1158,15 @@ public Builder setOutputSchemaValue(int value) {
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return The outputSchema. */ @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); - return result == null - ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); + return result == null ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED : result; } /** - * - * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1312,23 +1180,19 @@ public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchem
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @param value The outputSchema to set. * @return This builder for chaining. */ - public Builder setOutputSchema( - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema value) { + public Builder setOutputSchema(com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema value) { if (value == null) { throw new NullPointerException(); } - + outputSchema_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1342,18 +1206,17 @@ public Builder setOutputSchema(
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return This builder for chaining. */ public Builder clearOutputSchema() { - + outputSchema_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1363,12 +1226,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.OutputStorageConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.OutputStorageConfig) private static final com.google.privacy.dlp.v2.OutputStorageConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.OutputStorageConfig(); } @@ -1377,16 +1240,16 @@ public static com.google.privacy.dlp.v2.OutputStorageConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputStorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputStorageConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputStorageConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1401,4 +1264,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.OutputStorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java similarity index 87% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java index d949dab4..69715679 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface OutputStorageConfigOrBuilder - extends +public interface OutputStorageConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.OutputStorageConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -42,13 +24,10 @@ public interface OutputStorageConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -65,13 +44,10 @@ public interface OutputStorageConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** - * - * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -92,8 +68,6 @@ public interface OutputStorageConfigOrBuilder
   com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder();
 
   /**
-   *
-   *
    * 
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -107,13 +81,10 @@ public interface OutputStorageConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return The enum numeric value on the wire for outputSchema. */ int getOutputSchemaValue(); /** - * - * *
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -127,7 +98,6 @@ public interface OutputStorageConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; - * * @return The outputSchema. */ com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java index 59d0d0f9..e7c6013d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Datastore partition ID.
  * A partition ID identifies a grouping of entities. The grouping is always
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.PartitionId}
  */
-public final class PartitionId extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionId extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PartitionId)
     PartitionIdOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionId.newBuilder() to construct.
   private PartitionId(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartitionId() {
     projectId_ = "";
     namespaceId_ = "";
@@ -48,15 +30,16 @@ private PartitionId() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionId();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PartitionId(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,65 +58,58 @@ private PartitionId(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              projectId_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            projectId_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              namespaceId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            namespaceId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage
-        .internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.PartitionId.class,
-            com.google.privacy.dlp.v2.PartitionId.Builder.class);
+            com.google.privacy.dlp.v2.PartitionId.class, com.google.privacy.dlp.v2.PartitionId.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 2;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -142,29 +118,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -175,14 +151,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int NAMESPACE_ID_FIELD_NUMBER = 4; private volatile java.lang.Object namespaceId_; /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The namespaceId. */ @java.lang.Override @@ -191,29 +164,29 @@ public java.lang.String getNamespaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; } } /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The bytes for namespaceId. */ @java.lang.Override - public com.google.protobuf.ByteString getNamespaceIdBytes() { + public com.google.protobuf.ByteString + getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -222,7 +195,6 @@ public com.google.protobuf.ByteString getNamespaceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_); } @@ -264,15 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.PartitionId)) { return super.equals(obj); } com.google.privacy.dlp.v2.PartitionId other = (com.google.privacy.dlp.v2.PartitionId) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getNamespaceId().equals(other.getNamespaceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getNamespaceId() + .equals(other.getNamespaceId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,103 +268,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PartitionId parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.PartitionId parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PartitionId parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.PartitionId parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PartitionId 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.privacy.dlp.v2.PartitionId parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.PartitionId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Datastore partition ID.
    * A partition ID identifies a grouping of entities. The grouping is always
@@ -400,23 +369,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.PartitionId}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PartitionId)
       com.google.privacy.dlp.v2.PartitionIdOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PartitionId.class,
-              com.google.privacy.dlp.v2.PartitionId.Builder.class);
+              com.google.privacy.dlp.v2.PartitionId.class, com.google.privacy.dlp.v2.PartitionId.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.PartitionId.newBuilder()
@@ -424,15 +391,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -444,9 +412,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
     }
 
     @java.lang.Override
@@ -465,8 +433,7 @@ public com.google.privacy.dlp.v2.PartitionId build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.PartitionId buildPartial() {
-      com.google.privacy.dlp.v2.PartitionId result =
-          new com.google.privacy.dlp.v2.PartitionId(this);
+      com.google.privacy.dlp.v2.PartitionId result = new com.google.privacy.dlp.v2.PartitionId(this);
       result.projectId_ = projectId_;
       result.namespaceId_ = namespaceId_;
       onBuilt();
@@ -477,39 +444,38 @@ public com.google.privacy.dlp.v2.PartitionId buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.PartitionId) {
-        return mergeFrom((com.google.privacy.dlp.v2.PartitionId) other);
+        return mergeFrom((com.google.privacy.dlp.v2.PartitionId)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -557,20 +523,18 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -579,21 +543,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -601,61 +564,54 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -663,20 +619,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object namespaceId_ = ""; /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @return The namespaceId. */ public java.lang.String getNamespaceId() { java.lang.Object ref = namespaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; @@ -685,21 +639,20 @@ public java.lang.String getNamespaceId() { } } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @return The bytes for namespaceId. */ - public com.google.protobuf.ByteString getNamespaceIdBytes() { + public com.google.protobuf.ByteString + getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -707,68 +660,61 @@ public com.google.protobuf.ByteString getNamespaceIdBytes() { } } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @param value The namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceId(java.lang.String value) { + public Builder setNamespaceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + namespaceId_ = value; onChanged(); return this; } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @return This builder for chaining. */ public Builder clearNamespaceId() { - + namespaceId_ = getDefaultInstance().getNamespaceId(); onChanged(); return this; } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @param value The bytes for namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) { + public Builder setNamespaceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + namespaceId_ = 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); } @@ -778,12 +724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PartitionId) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PartitionId) private static final com.google.privacy.dlp.v2.PartitionId DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PartitionId(); } @@ -792,16 +738,16 @@ public static com.google.privacy.dlp.v2.PartitionId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionId(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionId(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -816,4 +762,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PartitionId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java similarity index 56% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java index 9fd8b3e3..f386a5d7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface PartitionIdOrBuilder - extends +public interface PartitionIdOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PartitionId) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The namespaceId. */ java.lang.String getNamespaceId(); /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The bytes for namespaceId. */ - com.google.protobuf.ByteString getNamespaceIdBytes(); + com.google.protobuf.ByteString + getNamespaceIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java index a21d6a3e..c2c45528 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A rule for transforming a value.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.PrimitiveTransformation} */ -public final class PrimitiveTransformation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrimitiveTransformation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrimitiveTransformation) PrimitiveTransformationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrimitiveTransformation.newBuilder() to construct. private PrimitiveTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PrimitiveTransformation() {} + private PrimitiveTransformation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrimitiveTransformation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PrimitiveTransformation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,266 +52,210 @@ private PrimitiveTransformation( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder subBuilder = null; - if (transformationCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.ReplaceValueConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder subBuilder = null; + if (transformationCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.ReplaceValueConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 1; + break; + } + case 18: { + com.google.privacy.dlp.v2.RedactConfig.Builder subBuilder = null; + if (transformationCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.RedactConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.RedactConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.RedactConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 2; + break; + } + case 26: { + com.google.privacy.dlp.v2.CharacterMaskConfig.Builder subBuilder = null; + if (transformationCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.CharacterMaskConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 18: - { - com.google.privacy.dlp.v2.RedactConfig.Builder subBuilder = null; - if (transformationCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.RedactConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.RedactConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.RedactConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 2; - break; + transformationCase_ = 3; + break; + } + case 34: { + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder subBuilder = null; + if (transformationCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.CharacterMaskConfig.Builder subBuilder = null; - if (transformationCase_ == 3) { - subBuilder = - ((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.CharacterMaskConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 3; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 34: - { - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder subBuilder = null; - if (transformationCase_ == 4) { - subBuilder = - ((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 4; - break; + transformationCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder subBuilder = null; + if (transformationCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_).toBuilder(); } - case 42: - { - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder subBuilder = null; - if (transformationCase_ == 5) { - subBuilder = - ((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 5; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.FixedSizeBucketingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 50: - { - com.google.privacy.dlp.v2.BucketingConfig.Builder subBuilder = null; - if (transformationCase_ == 6) { - subBuilder = - ((com.google.privacy.dlp.v2.BucketingConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.BucketingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BucketingConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 6; - break; + transformationCase_ = 5; + break; + } + case 50: { + com.google.privacy.dlp.v2.BucketingConfig.Builder subBuilder = null; + if (transformationCase_ == 6) { + subBuilder = ((com.google.privacy.dlp.v2.BucketingConfig) transformation_).toBuilder(); } - case 58: - { - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder subBuilder = null; - if (transformationCase_ == 7) { - subBuilder = - ((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 7; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.BucketingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BucketingConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 66: - { - com.google.privacy.dlp.v2.TimePartConfig.Builder subBuilder = null; - if (transformationCase_ == 8) { - subBuilder = - ((com.google.privacy.dlp.v2.TimePartConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.TimePartConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.TimePartConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 8; - break; + transformationCase_ = 6; + break; + } + case 58: { + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder subBuilder = null; + if (transformationCase_ == 7) { + subBuilder = ((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_).toBuilder(); } - case 74: - { - com.google.privacy.dlp.v2.CryptoHashConfig.Builder subBuilder = null; - if (transformationCase_ == 9) { - subBuilder = - ((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.CryptoHashConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 9; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 90: - { - com.google.privacy.dlp.v2.DateShiftConfig.Builder subBuilder = null; - if (transformationCase_ == 11) { - subBuilder = - ((com.google.privacy.dlp.v2.DateShiftConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.DateShiftConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 11; - break; + transformationCase_ = 7; + break; + } + case 66: { + com.google.privacy.dlp.v2.TimePartConfig.Builder subBuilder = null; + if (transformationCase_ == 8) { + subBuilder = ((com.google.privacy.dlp.v2.TimePartConfig) transformation_).toBuilder(); } - case 98: - { - com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder subBuilder = null; - if (transformationCase_ == 12) { - subBuilder = - ((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.CryptoDeterministicConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 12; - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.TimePartConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.TimePartConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } - case 106: - { - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder subBuilder = null; - if (transformationCase_ == 13) { - subBuilder = - ((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) - .toBuilder(); - } - transformation_ = - input.readMessage( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 13; - break; + transformationCase_ = 8; + break; + } + case 74: { + com.google.privacy.dlp.v2.CryptoHashConfig.Builder subBuilder = null; + if (transformationCase_ == 9) { + subBuilder = ((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.CryptoHashConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); + transformation_ = subBuilder.buildPartial(); } + transformationCase_ = 9; + break; + } + case 90: { + com.google.privacy.dlp.v2.DateShiftConfig.Builder subBuilder = null; + if (transformationCase_ == 11) { + subBuilder = ((com.google.privacy.dlp.v2.DateShiftConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.DateShiftConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 11; + break; + } + case 98: { + com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder subBuilder = null; + if (transformationCase_ == 12) { + subBuilder = ((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.CryptoDeterministicConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 12; + break; + } + case 106: { + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder subBuilder = null; + if (transformationCase_ == 13) { + subBuilder = ((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.ReplaceDictionaryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 13; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrimitiveTransformation.class, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); + com.google.privacy.dlp.v2.PrimitiveTransformation.class, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); } private int transformationCase_ = 0; private java.lang.Object transformation_; - public enum TransformationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REPLACE_CONFIG(1), REDACT_CONFIG(2), @@ -343,7 +271,6 @@ public enum TransformationCase REPLACE_DICTIONARY_CONFIG(13), TRANSFORMATION_NOT_SET(0); private final int value; - private TransformationCase(int value) { this.value = value; } @@ -359,56 +286,40 @@ public static TransformationCase valueOf(int value) { public static TransformationCase forNumber(int value) { switch (value) { - case 1: - return REPLACE_CONFIG; - case 2: - return REDACT_CONFIG; - case 3: - return CHARACTER_MASK_CONFIG; - case 4: - return CRYPTO_REPLACE_FFX_FPE_CONFIG; - case 5: - return FIXED_SIZE_BUCKETING_CONFIG; - case 6: - return BUCKETING_CONFIG; - case 7: - return REPLACE_WITH_INFO_TYPE_CONFIG; - case 8: - return TIME_PART_CONFIG; - case 9: - return CRYPTO_HASH_CONFIG; - case 11: - return DATE_SHIFT_CONFIG; - case 12: - return CRYPTO_DETERMINISTIC_CONFIG; - case 13: - return REPLACE_DICTIONARY_CONFIG; - case 0: - return TRANSFORMATION_NOT_SET; - default: - return null; + case 1: return REPLACE_CONFIG; + case 2: return REDACT_CONFIG; + case 3: return CHARACTER_MASK_CONFIG; + case 4: return CRYPTO_REPLACE_FFX_FPE_CONFIG; + case 5: return FIXED_SIZE_BUCKETING_CONFIG; + case 6: return BUCKETING_CONFIG; + case 7: return REPLACE_WITH_INFO_TYPE_CONFIG; + case 8: return TIME_PART_CONFIG; + case 9: return CRYPTO_HASH_CONFIG; + case 11: return DATE_SHIFT_CONFIG; + case 12: return CRYPTO_DETERMINISTIC_CONFIG; + case 13: return REPLACE_DICTIONARY_CONFIG; + case 0: return TRANSFORMATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransformationCase getTransformationCase() { - return TransformationCase.forNumber(transformationCase_); + public TransformationCase + getTransformationCase() { + return TransformationCase.forNumber( + transformationCase_); } public static final int REPLACE_CONFIG_FIELD_NUMBER = 1; /** - * - * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; - * * @return Whether the replaceConfig field is set. */ @java.lang.Override @@ -416,26 +327,21 @@ public boolean hasReplaceConfig() { return transformationCase_ == 1; } /** - * - * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; - * * @return The replaceConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { if (transformationCase_ == 1) { - return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance(); } /** - * - * *
    * Replace with a specified value.
    * 
@@ -445,21 +351,18 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder() { if (transformationCase_ == 1) { - return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance(); } public static final int REDACT_CONFIG_FIELD_NUMBER = 2; /** - * - * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return Whether the redactConfig field is set. */ @java.lang.Override @@ -467,26 +370,21 @@ public boolean hasRedactConfig() { return transformationCase_ == 2; } /** - * - * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return The redactConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { if (transformationCase_ == 2) { - return (com.google.privacy.dlp.v2.RedactConfig) transformation_; + return (com.google.privacy.dlp.v2.RedactConfig) transformation_; } return com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance(); } /** - * - * *
    * Redact
    * 
@@ -496,21 +394,18 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { @java.lang.Override public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder() { if (transformationCase_ == 2) { - return (com.google.privacy.dlp.v2.RedactConfig) transformation_; + return (com.google.privacy.dlp.v2.RedactConfig) transformation_; } return com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance(); } public static final int CHARACTER_MASK_CONFIG_FIELD_NUMBER = 3; /** - * - * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return Whether the characterMaskConfig field is set. */ @java.lang.Override @@ -518,26 +413,21 @@ public boolean hasCharacterMaskConfig() { return transformationCase_ == 3; } /** - * - * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return The characterMaskConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { if (transformationCase_ == 3) { - return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; + return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; } return com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance(); } /** - * - * *
    * Mask
    * 
@@ -547,22 +437,18 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { @java.lang.Override public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder() { if (transformationCase_ == 3) { - return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; + return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; } return com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance(); } public static final int CRYPTO_REPLACE_FFX_FPE_CONFIG_FIELD_NUMBER = 4; /** - * - * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; * @return Whether the cryptoReplaceFfxFpeConfig field is set. */ @java.lang.Override @@ -570,53 +456,42 @@ public boolean hasCryptoReplaceFfxFpeConfig() { return transformationCase_ == 4; } /** - * - * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; * @return The cryptoReplaceFfxFpeConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); } /** - * - * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder - getCryptoReplaceFfxFpeConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); } public static final int FIXED_SIZE_BUCKETING_CONFIG_FIELD_NUMBER = 5; /** - * - * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; - * * @return Whether the fixedSizeBucketingConfig field is set. */ @java.lang.Override @@ -624,26 +499,21 @@ public boolean hasFixedSizeBucketingConfig() { return transformationCase_ == 5; } /** - * - * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; - * * @return The fixedSizeBucketingConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig() { if (transformationCase_ == 5) { - return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; } return com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance(); } /** - * - * *
    * Fixed size bucketing
    * 
@@ -651,24 +521,20 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder - getFixedSizeBucketingConfigOrBuilder() { + public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder() { if (transformationCase_ == 5) { - return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; } return com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance(); } public static final int BUCKETING_CONFIG_FIELD_NUMBER = 6; /** - * - * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return Whether the bucketingConfig field is set. */ @java.lang.Override @@ -676,26 +542,21 @@ public boolean hasBucketingConfig() { return transformationCase_ == 6; } /** - * - * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return The bucketingConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { if (transformationCase_ == 6) { - return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; } return com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance(); } /** - * - * *
    * Bucketing
    * 
@@ -705,22 +566,18 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { @java.lang.Override public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder() { if (transformationCase_ == 6) { - return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; } return com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance(); } public static final int REPLACE_WITH_INFO_TYPE_CONFIG_FIELD_NUMBER = 7; /** - * - * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; * @return Whether the replaceWithInfoTypeConfig field is set. */ @java.lang.Override @@ -728,53 +585,42 @@ public boolean hasReplaceWithInfoTypeConfig() { return transformationCase_ == 7; } /** - * - * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; * @return The replaceWithInfoTypeConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig() { if (transformationCase_ == 7) { - return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); } /** - * - * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder - getReplaceWithInfoTypeConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder() { if (transformationCase_ == 7) { - return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); } public static final int TIME_PART_CONFIG_FIELD_NUMBER = 8; /** - * - * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return Whether the timePartConfig field is set. */ @java.lang.Override @@ -782,26 +628,21 @@ public boolean hasTimePartConfig() { return transformationCase_ == 8; } /** - * - * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return The timePartConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { if (transformationCase_ == 8) { - return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; + return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; } return com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance(); } /** - * - * *
    * Time extraction
    * 
@@ -811,21 +652,18 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder() { if (transformationCase_ == 8) { - return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; + return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; } return com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance(); } public static final int CRYPTO_HASH_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return Whether the cryptoHashConfig field is set. */ @java.lang.Override @@ -833,26 +671,21 @@ public boolean hasCryptoHashConfig() { return transformationCase_ == 9; } /** - * - * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return The cryptoHashConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { if (transformationCase_ == 9) { - return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance(); } /** - * - * *
    * Crypto
    * 
@@ -862,21 +695,18 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { @java.lang.Override public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder() { if (transformationCase_ == 9) { - return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance(); } public static final int DATE_SHIFT_CONFIG_FIELD_NUMBER = 11; /** - * - * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return Whether the dateShiftConfig field is set. */ @java.lang.Override @@ -884,26 +714,21 @@ public boolean hasDateShiftConfig() { return transformationCase_ == 11; } /** - * - * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return The dateShiftConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { if (transformationCase_ == 11) { - return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; + return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; } return com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance(); } /** - * - * *
    * Date Shift
    * 
@@ -913,21 +738,18 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { @java.lang.Override public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder() { if (transformationCase_ == 11) { - return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; + return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; } return com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance(); } public static final int CRYPTO_DETERMINISTIC_CONFIG_FIELD_NUMBER = 12; /** - * - * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * * @return Whether the cryptoDeterministicConfig field is set. */ @java.lang.Override @@ -935,26 +757,21 @@ public boolean hasCryptoDeterministicConfig() { return transformationCase_ == 12; } /** - * - * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * * @return The cryptoDeterministicConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig() { if (transformationCase_ == 12) { - return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); } /** - * - * *
    * Deterministic Crypto
    * 
@@ -962,24 +779,20 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministi * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder - getCryptoDeterministicConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder() { if (transformationCase_ == 12) { - return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); } public static final int REPLACE_DICTIONARY_CONFIG_FIELD_NUMBER = 13; /** - * - * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; - * * @return Whether the replaceDictionaryConfig field is set. */ @java.lang.Override @@ -987,26 +800,21 @@ public boolean hasReplaceDictionaryConfig() { return transformationCase_ == 13; } /** - * - * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; - * * @return The replaceDictionaryConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig() { if (transformationCase_ == 13) { - return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); } /** - * - * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
@@ -1014,16 +822,14 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryCon * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder - getReplaceDictionaryConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder() { if (transformationCase_ == 13) { - return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1035,7 +841,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transformationCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); } @@ -1067,8 +874,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(11, (com.google.privacy.dlp.v2.DateShiftConfig) transformation_); } if (transformationCase_ == 12) { - output.writeMessage( - 12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); + output.writeMessage(12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); } if (transformationCase_ == 13) { output.writeMessage(13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); @@ -1083,64 +889,52 @@ public int getSerializedSize() { size = 0; if (transformationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); } if (transformationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.RedactConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.RedactConfig) transformation_); } if (transformationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); } if (transformationCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); } if (transformationCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); } if (transformationCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.privacy.dlp.v2.BucketingConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.privacy.dlp.v2.BucketingConfig) transformation_); } if (transformationCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); } if (transformationCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.privacy.dlp.v2.TimePartConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.privacy.dlp.v2.TimePartConfig) transformation_); } if (transformationCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); } if (transformationCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.privacy.dlp.v2.DateShiftConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.privacy.dlp.v2.DateShiftConfig) transformation_); } if (transformationCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); } if (transformationCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1150,55 +944,62 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.PrimitiveTransformation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrimitiveTransformation other = - (com.google.privacy.dlp.v2.PrimitiveTransformation) obj; + com.google.privacy.dlp.v2.PrimitiveTransformation other = (com.google.privacy.dlp.v2.PrimitiveTransformation) obj; if (!getTransformationCase().equals(other.getTransformationCase())) return false; switch (transformationCase_) { case 1: - if (!getReplaceConfig().equals(other.getReplaceConfig())) return false; + if (!getReplaceConfig() + .equals(other.getReplaceConfig())) return false; break; case 2: - if (!getRedactConfig().equals(other.getRedactConfig())) return false; + if (!getRedactConfig() + .equals(other.getRedactConfig())) return false; break; case 3: - if (!getCharacterMaskConfig().equals(other.getCharacterMaskConfig())) return false; + if (!getCharacterMaskConfig() + .equals(other.getCharacterMaskConfig())) return false; break; case 4: - if (!getCryptoReplaceFfxFpeConfig().equals(other.getCryptoReplaceFfxFpeConfig())) - return false; + if (!getCryptoReplaceFfxFpeConfig() + .equals(other.getCryptoReplaceFfxFpeConfig())) return false; break; case 5: - if (!getFixedSizeBucketingConfig().equals(other.getFixedSizeBucketingConfig())) - return false; + if (!getFixedSizeBucketingConfig() + .equals(other.getFixedSizeBucketingConfig())) return false; break; case 6: - if (!getBucketingConfig().equals(other.getBucketingConfig())) return false; + if (!getBucketingConfig() + .equals(other.getBucketingConfig())) return false; break; case 7: - if (!getReplaceWithInfoTypeConfig().equals(other.getReplaceWithInfoTypeConfig())) - return false; + if (!getReplaceWithInfoTypeConfig() + .equals(other.getReplaceWithInfoTypeConfig())) return false; break; case 8: - if (!getTimePartConfig().equals(other.getTimePartConfig())) return false; + if (!getTimePartConfig() + .equals(other.getTimePartConfig())) return false; break; case 9: - if (!getCryptoHashConfig().equals(other.getCryptoHashConfig())) return false; + if (!getCryptoHashConfig() + .equals(other.getCryptoHashConfig())) return false; break; case 11: - if (!getDateShiftConfig().equals(other.getDateShiftConfig())) return false; + if (!getDateShiftConfig() + .equals(other.getDateShiftConfig())) return false; break; case 12: - if (!getCryptoDeterministicConfig().equals(other.getCryptoDeterministicConfig())) - return false; + if (!getCryptoDeterministicConfig() + .equals(other.getCryptoDeterministicConfig())) return false; break; case 13: - if (!getReplaceDictionaryConfig().equals(other.getReplaceDictionaryConfig())) return false; + if (!getReplaceDictionaryConfig() + .equals(other.getReplaceDictionaryConfig())) return false; break; case 0: default: @@ -1272,126 +1073,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.PrimitiveTransformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 rule for transforming a value.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrimitiveTransformation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrimitiveTransformation) com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrimitiveTransformation.class, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); + com.google.privacy.dlp.v2.PrimitiveTransformation.class, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder() @@ -1399,15 +1191,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1417,9 +1210,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; } @java.lang.Override @@ -1438,8 +1231,7 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation build() { @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation buildPartial() { - com.google.privacy.dlp.v2.PrimitiveTransformation result = - new com.google.privacy.dlp.v2.PrimitiveTransformation(this); + com.google.privacy.dlp.v2.PrimitiveTransformation result = new com.google.privacy.dlp.v2.PrimitiveTransformation(this); if (transformationCase_ == 1) { if (replaceConfigBuilder_ == null) { result.transformation_ = transformation_; @@ -1533,39 +1325,38 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.PrimitiveTransformation) { - return mergeFrom((com.google.privacy.dlp.v2.PrimitiveTransformation) other); + return mergeFrom((com.google.privacy.dlp.v2.PrimitiveTransformation)other); } else { super.mergeFrom(other); return this; @@ -1573,73 +1364,59 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.PrimitiveTransformation other) { - if (other == com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) return this; switch (other.getTransformationCase()) { - case REPLACE_CONFIG: - { - mergeReplaceConfig(other.getReplaceConfig()); - break; - } - case REDACT_CONFIG: - { - mergeRedactConfig(other.getRedactConfig()); - break; - } - case CHARACTER_MASK_CONFIG: - { - mergeCharacterMaskConfig(other.getCharacterMaskConfig()); - break; - } - case CRYPTO_REPLACE_FFX_FPE_CONFIG: - { - mergeCryptoReplaceFfxFpeConfig(other.getCryptoReplaceFfxFpeConfig()); - break; - } - case FIXED_SIZE_BUCKETING_CONFIG: - { - mergeFixedSizeBucketingConfig(other.getFixedSizeBucketingConfig()); - break; - } - case BUCKETING_CONFIG: - { - mergeBucketingConfig(other.getBucketingConfig()); - break; - } - case REPLACE_WITH_INFO_TYPE_CONFIG: - { - mergeReplaceWithInfoTypeConfig(other.getReplaceWithInfoTypeConfig()); - break; - } - case TIME_PART_CONFIG: - { - mergeTimePartConfig(other.getTimePartConfig()); - break; - } - case CRYPTO_HASH_CONFIG: - { - mergeCryptoHashConfig(other.getCryptoHashConfig()); - break; - } - case DATE_SHIFT_CONFIG: - { - mergeDateShiftConfig(other.getDateShiftConfig()); - break; - } - case CRYPTO_DETERMINISTIC_CONFIG: - { - mergeCryptoDeterministicConfig(other.getCryptoDeterministicConfig()); - break; - } - case REPLACE_DICTIONARY_CONFIG: - { - mergeReplaceDictionaryConfig(other.getReplaceDictionaryConfig()); - break; - } - case TRANSFORMATION_NOT_SET: - { - break; - } + case REPLACE_CONFIG: { + mergeReplaceConfig(other.getReplaceConfig()); + break; + } + case REDACT_CONFIG: { + mergeRedactConfig(other.getRedactConfig()); + break; + } + case CHARACTER_MASK_CONFIG: { + mergeCharacterMaskConfig(other.getCharacterMaskConfig()); + break; + } + case CRYPTO_REPLACE_FFX_FPE_CONFIG: { + mergeCryptoReplaceFfxFpeConfig(other.getCryptoReplaceFfxFpeConfig()); + break; + } + case FIXED_SIZE_BUCKETING_CONFIG: { + mergeFixedSizeBucketingConfig(other.getFixedSizeBucketingConfig()); + break; + } + case BUCKETING_CONFIG: { + mergeBucketingConfig(other.getBucketingConfig()); + break; + } + case REPLACE_WITH_INFO_TYPE_CONFIG: { + mergeReplaceWithInfoTypeConfig(other.getReplaceWithInfoTypeConfig()); + break; + } + case TIME_PART_CONFIG: { + mergeTimePartConfig(other.getTimePartConfig()); + break; + } + case CRYPTO_HASH_CONFIG: { + mergeCryptoHashConfig(other.getCryptoHashConfig()); + break; + } + case DATE_SHIFT_CONFIG: { + mergeDateShiftConfig(other.getDateShiftConfig()); + break; + } + case CRYPTO_DETERMINISTIC_CONFIG: { + mergeCryptoDeterministicConfig(other.getCryptoDeterministicConfig()); + break; + } + case REPLACE_DICTIONARY_CONFIG: { + mergeReplaceDictionaryConfig(other.getReplaceDictionaryConfig()); + break; + } + case TRANSFORMATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1660,8 +1437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.PrimitiveTransformation) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.PrimitiveTransformation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1670,12 +1446,12 @@ public Builder mergeFrom( } return this; } - private int transformationCase_ = 0; private java.lang.Object transformation_; - - public TransformationCase getTransformationCase() { - return TransformationCase.forNumber(transformationCase_); + public TransformationCase + getTransformationCase() { + return TransformationCase.forNumber( + transformationCase_); } public Builder clearTransformation() { @@ -1685,20 +1461,15 @@ public Builder clearTransformation() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceValueConfig, - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, - com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> - replaceConfigBuilder_; + com.google.privacy.dlp.v2.ReplaceValueConfig, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> replaceConfigBuilder_; /** - * - * *
      * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; - * * @return Whether the replaceConfig field is set. */ @java.lang.Override @@ -1706,14 +1477,11 @@ public boolean hasReplaceConfig() { return transformationCase_ == 1; } /** - * - * *
      * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; - * * @return The replaceConfig. */ @java.lang.Override @@ -1731,8 +1499,6 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { } } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1753,8 +1519,6 @@ public Builder setReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig val return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1773,8 +1537,6 @@ public Builder setReplaceConfig( return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1783,14 +1545,10 @@ public Builder setReplaceConfig( */ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig value) { if (replaceConfigBuilder_ == null) { - if (transformationCase_ == 1 - && transformation_ - != com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.ReplaceValueConfig.newBuilder( - (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 1 && + transformation_ != com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.ReplaceValueConfig.newBuilder((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -1805,8 +1563,6 @@ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig v return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1830,8 +1586,6 @@ public Builder clearReplaceConfig() { return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1842,8 +1596,6 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig.Builder getReplaceConfigBuil return getReplaceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1862,8 +1614,6 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB } } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1871,44 +1621,32 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceValueConfig, - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, - com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> + com.google.privacy.dlp.v2.ReplaceValueConfig, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> getReplaceConfigFieldBuilder() { if (replaceConfigBuilder_ == null) { if (!(transformationCase_ == 1)) { transformation_ = com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance(); } - replaceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceValueConfig, - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, - com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder>( + replaceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceValueConfig, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder>( (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 1; - onChanged(); - ; + onChanged();; return replaceConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RedactConfig, - com.google.privacy.dlp.v2.RedactConfig.Builder, - com.google.privacy.dlp.v2.RedactConfigOrBuilder> - redactConfigBuilder_; + com.google.privacy.dlp.v2.RedactConfig, com.google.privacy.dlp.v2.RedactConfig.Builder, com.google.privacy.dlp.v2.RedactConfigOrBuilder> redactConfigBuilder_; /** - * - * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return Whether the redactConfig field is set. */ @java.lang.Override @@ -1916,14 +1654,11 @@ public boolean hasRedactConfig() { return transformationCase_ == 2; } /** - * - * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return The redactConfig. */ @java.lang.Override @@ -1941,8 +1676,6 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { } } /** - * - * *
      * Redact
      * 
@@ -1963,15 +1696,14 @@ public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { return this; } /** - * - * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; */ - public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig.Builder builderForValue) { + public Builder setRedactConfig( + com.google.privacy.dlp.v2.RedactConfig.Builder builderForValue) { if (redactConfigBuilder_ == null) { transformation_ = builderForValue.build(); onChanged(); @@ -1982,8 +1714,6 @@ public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig.Builder bu return this; } /** - * - * *
      * Redact
      * 
@@ -1992,13 +1722,10 @@ public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig.Builder bu */ public Builder mergeRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { if (redactConfigBuilder_ == null) { - if (transformationCase_ == 2 - && transformation_ != com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.RedactConfig.newBuilder( - (com.google.privacy.dlp.v2.RedactConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 2 && + transformation_ != com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.RedactConfig.newBuilder((com.google.privacy.dlp.v2.RedactConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -2013,8 +1740,6 @@ public Builder mergeRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { return this; } /** - * - * *
      * Redact
      * 
@@ -2038,8 +1763,6 @@ public Builder clearRedactConfig() { return this; } /** - * - * *
      * Redact
      * 
@@ -2050,8 +1773,6 @@ public com.google.privacy.dlp.v2.RedactConfig.Builder getRedactConfigBuilder() { return getRedactConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Redact
      * 
@@ -2070,8 +1791,6 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder( } } /** - * - * *
      * Redact
      * 
@@ -2079,44 +1798,32 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder( * .google.privacy.dlp.v2.RedactConfig redact_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RedactConfig, - com.google.privacy.dlp.v2.RedactConfig.Builder, - com.google.privacy.dlp.v2.RedactConfigOrBuilder> + com.google.privacy.dlp.v2.RedactConfig, com.google.privacy.dlp.v2.RedactConfig.Builder, com.google.privacy.dlp.v2.RedactConfigOrBuilder> getRedactConfigFieldBuilder() { if (redactConfigBuilder_ == null) { if (!(transformationCase_ == 2)) { transformation_ = com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance(); } - redactConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RedactConfig, - com.google.privacy.dlp.v2.RedactConfig.Builder, - com.google.privacy.dlp.v2.RedactConfigOrBuilder>( + redactConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RedactConfig, com.google.privacy.dlp.v2.RedactConfig.Builder, com.google.privacy.dlp.v2.RedactConfigOrBuilder>( (com.google.privacy.dlp.v2.RedactConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 2; - onChanged(); - ; + onChanged();; return redactConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CharacterMaskConfig, - com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, - com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> - characterMaskConfigBuilder_; + com.google.privacy.dlp.v2.CharacterMaskConfig, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> characterMaskConfigBuilder_; /** - * - * *
      * Mask
      * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return Whether the characterMaskConfig field is set. */ @java.lang.Override @@ -2124,14 +1831,11 @@ public boolean hasCharacterMaskConfig() { return transformationCase_ == 3; } /** - * - * *
      * Mask
      * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return The characterMaskConfig. */ @java.lang.Override @@ -2149,8 +1853,6 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { } } /** - * - * *
      * Mask
      * 
@@ -2171,8 +1873,6 @@ public Builder setCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskCon return this; } /** - * - * *
      * Mask
      * 
@@ -2191,8 +1891,6 @@ public Builder setCharacterMaskConfig( return this; } /** - * - * *
      * Mask
      * 
@@ -2201,14 +1899,10 @@ public Builder setCharacterMaskConfig( */ public Builder mergeCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskConfig value) { if (characterMaskConfigBuilder_ == null) { - if (transformationCase_ == 3 - && transformation_ - != com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.CharacterMaskConfig.newBuilder( - (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 3 && + transformation_ != com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.CharacterMaskConfig.newBuilder((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -2223,8 +1917,6 @@ public Builder mergeCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskC return this; } /** - * - * *
      * Mask
      * 
@@ -2248,8 +1940,6 @@ public Builder clearCharacterMaskConfig() { return this; } /** - * - * *
      * Mask
      * 
@@ -2260,8 +1950,6 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon return getCharacterMaskConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Mask
      * 
@@ -2269,8 +1957,7 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder - getCharacterMaskConfigOrBuilder() { + public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder() { if ((transformationCase_ == 3) && (characterMaskConfigBuilder_ != null)) { return characterMaskConfigBuilder_.getMessageOrBuilder(); } else { @@ -2281,8 +1968,6 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon } } /** - * - * *
      * Mask
      * 
@@ -2290,45 +1975,32 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CharacterMaskConfig, - com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, - com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> + com.google.privacy.dlp.v2.CharacterMaskConfig, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> getCharacterMaskConfigFieldBuilder() { if (characterMaskConfigBuilder_ == null) { if (!(transformationCase_ == 3)) { transformation_ = com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance(); } - characterMaskConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CharacterMaskConfig, - com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, - com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder>( + characterMaskConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CharacterMaskConfig, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder>( (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 3; - onChanged(); - ; + onChanged();; return characterMaskConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> - cryptoReplaceFfxFpeConfigBuilder_; + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> cryptoReplaceFfxFpeConfigBuilder_; /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; * @return Whether the cryptoReplaceFfxFpeConfig field is set. */ @java.lang.Override @@ -2336,15 +2008,11 @@ public boolean hasCryptoReplaceFfxFpeConfig() { return transformationCase_ == 4; } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; * @return The cryptoReplaceFfxFpeConfig. */ @java.lang.Override @@ -2362,17 +2030,13 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFp } } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ - public Builder setCryptoReplaceFfxFpeConfig( - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { + public Builder setCryptoReplaceFfxFpeConfig(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2386,14 +2050,11 @@ public Builder setCryptoReplaceFfxFpeConfig( return this; } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ public Builder setCryptoReplaceFfxFpeConfig( com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder builderForValue) { @@ -2407,26 +2068,18 @@ public Builder setCryptoReplaceFfxFpeConfig( return this; } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ - public Builder mergeCryptoReplaceFfxFpeConfig( - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { + public Builder mergeCryptoReplaceFfxFpeConfig(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { - if (transformationCase_ == 4 - && transformation_ - != com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.newBuilder( - (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 4 && + transformation_ != com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.newBuilder((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -2441,14 +2094,11 @@ public Builder mergeCryptoReplaceFfxFpeConfig( return this; } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ public Builder clearCryptoReplaceFfxFpeConfig() { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { @@ -2467,32 +2117,24 @@ public Builder clearCryptoReplaceFfxFpeConfig() { return this; } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder - getCryptoReplaceFfxFpeConfigBuilder() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder getCryptoReplaceFfxFpeConfigBuilder() { return getCryptoReplaceFfxFpeConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder - getCryptoReplaceFfxFpeConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder() { if ((transformationCase_ == 4) && (cryptoReplaceFfxFpeConfigBuilder_ != null)) { return cryptoReplaceFfxFpeConfigBuilder_.getMessageOrBuilder(); } else { @@ -2503,55 +2145,39 @@ public Builder clearCryptoReplaceFfxFpeConfig() { } } /** - * - * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> getCryptoReplaceFfxFpeConfigFieldBuilder() { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { if (!(transformationCase_ == 4)) { - transformation_ = - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); - } - cryptoReplaceFfxFpeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder>( + transformation_ = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); + } + cryptoReplaceFfxFpeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder>( (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 4; - onChanged(); - ; + onChanged();; return cryptoReplaceFfxFpeConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FixedSizeBucketingConfig, - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, - com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> - fixedSizeBucketingConfigBuilder_; + com.google.privacy.dlp.v2.FixedSizeBucketingConfig, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> fixedSizeBucketingConfigBuilder_; /** - * - * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; - * * @return Whether the fixedSizeBucketingConfig field is set. */ @java.lang.Override @@ -2559,14 +2185,11 @@ public boolean hasFixedSizeBucketingConfig() { return transformationCase_ == 5; } /** - * - * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; - * * @return The fixedSizeBucketingConfig. */ @java.lang.Override @@ -2584,16 +2207,13 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC } } /** - * - * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - public Builder setFixedSizeBucketingConfig( - com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { + public Builder setFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { if (fixedSizeBucketingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2607,8 +2227,6 @@ public Builder setFixedSizeBucketingConfig( return this; } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2627,25 +2245,18 @@ public Builder setFixedSizeBucketingConfig( return this; } /** - * - * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - public Builder mergeFixedSizeBucketingConfig( - com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { + public Builder mergeFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { if (fixedSizeBucketingConfigBuilder_ == null) { - if (transformationCase_ == 5 - && transformation_ - != com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.newBuilder( - (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 5 && + transformation_ != com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.FixedSizeBucketingConfig.newBuilder((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -2660,8 +2271,6 @@ public Builder mergeFixedSizeBucketingConfig( return this; } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2685,21 +2294,16 @@ public Builder clearFixedSizeBucketingConfig() { return this; } /** - * - * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - public com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder - getFixedSizeBucketingConfigBuilder() { + public com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder getFixedSizeBucketingConfigBuilder() { return getFixedSizeBucketingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2707,8 +2311,7 @@ public Builder clearFixedSizeBucketingConfig() { * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder - getFixedSizeBucketingConfigOrBuilder() { + public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder() { if ((transformationCase_ == 5) && (fixedSizeBucketingConfigBuilder_ != null)) { return fixedSizeBucketingConfigBuilder_.getMessageOrBuilder(); } else { @@ -2719,8 +2322,6 @@ public Builder clearFixedSizeBucketingConfig() { } } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2728,44 +2329,32 @@ public Builder clearFixedSizeBucketingConfig() { * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FixedSizeBucketingConfig, - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, - com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> + com.google.privacy.dlp.v2.FixedSizeBucketingConfig, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> getFixedSizeBucketingConfigFieldBuilder() { if (fixedSizeBucketingConfigBuilder_ == null) { if (!(transformationCase_ == 5)) { transformation_ = com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance(); } - fixedSizeBucketingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FixedSizeBucketingConfig, - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, - com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder>( + fixedSizeBucketingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FixedSizeBucketingConfig, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder>( (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 5; - onChanged(); - ; + onChanged();; return fixedSizeBucketingConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig, - com.google.privacy.dlp.v2.BucketingConfig.Builder, - com.google.privacy.dlp.v2.BucketingConfigOrBuilder> - bucketingConfigBuilder_; + com.google.privacy.dlp.v2.BucketingConfig, com.google.privacy.dlp.v2.BucketingConfig.Builder, com.google.privacy.dlp.v2.BucketingConfigOrBuilder> bucketingConfigBuilder_; /** - * - * *
      * Bucketing
      * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return Whether the bucketingConfig field is set. */ @java.lang.Override @@ -2773,14 +2362,11 @@ public boolean hasBucketingConfig() { return transformationCase_ == 6; } /** - * - * *
      * Bucketing
      * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return The bucketingConfig. */ @java.lang.Override @@ -2798,8 +2384,6 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { } } /** - * - * *
      * Bucketing
      * 
@@ -2820,8 +2404,6 @@ public Builder setBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig valu return this; } /** - * - * *
      * Bucketing
      * 
@@ -2840,8 +2422,6 @@ public Builder setBucketingConfig( return this; } /** - * - * *
      * Bucketing
      * 
@@ -2850,13 +2430,10 @@ public Builder setBucketingConfig( */ public Builder mergeBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig value) { if (bucketingConfigBuilder_ == null) { - if (transformationCase_ == 6 - && transformation_ != com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.BucketingConfig.newBuilder( - (com.google.privacy.dlp.v2.BucketingConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 6 && + transformation_ != com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.BucketingConfig.newBuilder((com.google.privacy.dlp.v2.BucketingConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -2871,8 +2448,6 @@ public Builder mergeBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig va return this; } /** - * - * *
      * Bucketing
      * 
@@ -2896,8 +2471,6 @@ public Builder clearBucketingConfig() { return this; } /** - * - * *
      * Bucketing
      * 
@@ -2908,8 +2481,6 @@ public com.google.privacy.dlp.v2.BucketingConfig.Builder getBucketingConfigBuild return getBucketingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Bucketing
      * 
@@ -2928,8 +2499,6 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu } } /** - * - * *
      * Bucketing
      * 
@@ -2937,45 +2506,32 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig, - com.google.privacy.dlp.v2.BucketingConfig.Builder, - com.google.privacy.dlp.v2.BucketingConfigOrBuilder> + com.google.privacy.dlp.v2.BucketingConfig, com.google.privacy.dlp.v2.BucketingConfig.Builder, com.google.privacy.dlp.v2.BucketingConfigOrBuilder> getBucketingConfigFieldBuilder() { if (bucketingConfigBuilder_ == null) { if (!(transformationCase_ == 6)) { transformation_ = com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance(); } - bucketingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig, - com.google.privacy.dlp.v2.BucketingConfig.Builder, - com.google.privacy.dlp.v2.BucketingConfigOrBuilder>( + bucketingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BucketingConfig, com.google.privacy.dlp.v2.BucketingConfig.Builder, com.google.privacy.dlp.v2.BucketingConfigOrBuilder>( (com.google.privacy.dlp.v2.BucketingConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 6; - onChanged(); - ; + onChanged();; return bucketingConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> - replaceWithInfoTypeConfigBuilder_; + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> replaceWithInfoTypeConfigBuilder_; /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; * @return Whether the replaceWithInfoTypeConfig field is set. */ @java.lang.Override @@ -2983,15 +2539,11 @@ public boolean hasReplaceWithInfoTypeConfig() { return transformationCase_ == 7; } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; * @return The replaceWithInfoTypeConfig. */ @java.lang.Override @@ -3009,17 +2561,13 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTyp } } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ - public Builder setReplaceWithInfoTypeConfig( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { + public Builder setReplaceWithInfoTypeConfig(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { if (replaceWithInfoTypeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3033,14 +2581,11 @@ public Builder setReplaceWithInfoTypeConfig( return this; } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ public Builder setReplaceWithInfoTypeConfig( com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder builderForValue) { @@ -3054,26 +2599,18 @@ public Builder setReplaceWithInfoTypeConfig( return this; } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ - public Builder mergeReplaceWithInfoTypeConfig( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { + public Builder mergeReplaceWithInfoTypeConfig(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { if (replaceWithInfoTypeConfigBuilder_ == null) { - if (transformationCase_ == 7 - && transformation_ - != com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.newBuilder( - (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 7 && + transformation_ != com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.newBuilder((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -3088,14 +2625,11 @@ public Builder mergeReplaceWithInfoTypeConfig( return this; } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ public Builder clearReplaceWithInfoTypeConfig() { if (replaceWithInfoTypeConfigBuilder_ == null) { @@ -3114,32 +2648,24 @@ public Builder clearReplaceWithInfoTypeConfig() { return this; } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ - public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder - getReplaceWithInfoTypeConfigBuilder() { + public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder getReplaceWithInfoTypeConfigBuilder() { return getReplaceWithInfoTypeConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder - getReplaceWithInfoTypeConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder() { if ((transformationCase_ == 7) && (replaceWithInfoTypeConfigBuilder_ != null)) { return replaceWithInfoTypeConfigBuilder_.getMessageOrBuilder(); } else { @@ -3150,55 +2676,39 @@ public Builder clearReplaceWithInfoTypeConfig() { } } /** - * - * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> getReplaceWithInfoTypeConfigFieldBuilder() { if (replaceWithInfoTypeConfigBuilder_ == null) { if (!(transformationCase_ == 7)) { - transformation_ = - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); - } - replaceWithInfoTypeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder>( + transformation_ = com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); + } + replaceWithInfoTypeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder>( (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 7; - onChanged(); - ; + onChanged();; return replaceWithInfoTypeConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TimePartConfig, - com.google.privacy.dlp.v2.TimePartConfig.Builder, - com.google.privacy.dlp.v2.TimePartConfigOrBuilder> - timePartConfigBuilder_; + com.google.privacy.dlp.v2.TimePartConfig, com.google.privacy.dlp.v2.TimePartConfig.Builder, com.google.privacy.dlp.v2.TimePartConfigOrBuilder> timePartConfigBuilder_; /** - * - * *
      * Time extraction
      * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return Whether the timePartConfig field is set. */ @java.lang.Override @@ -3206,14 +2716,11 @@ public boolean hasTimePartConfig() { return transformationCase_ == 8; } /** - * - * *
      * Time extraction
      * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return The timePartConfig. */ @java.lang.Override @@ -3231,8 +2738,6 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { } } /** - * - * *
      * Time extraction
      * 
@@ -3253,8 +2758,6 @@ public Builder setTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig value) return this; } /** - * - * *
      * Time extraction
      * 
@@ -3273,8 +2776,6 @@ public Builder setTimePartConfig( return this; } /** - * - * *
      * Time extraction
      * 
@@ -3283,13 +2784,10 @@ public Builder setTimePartConfig( */ public Builder mergeTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig value) { if (timePartConfigBuilder_ == null) { - if (transformationCase_ == 8 - && transformation_ != com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.TimePartConfig.newBuilder( - (com.google.privacy.dlp.v2.TimePartConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 8 && + transformation_ != com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.TimePartConfig.newBuilder((com.google.privacy.dlp.v2.TimePartConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -3304,8 +2802,6 @@ public Builder mergeTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig valu return this; } /** - * - * *
      * Time extraction
      * 
@@ -3329,8 +2825,6 @@ public Builder clearTimePartConfig() { return this; } /** - * - * *
      * Time extraction
      * 
@@ -3341,8 +2835,6 @@ public com.google.privacy.dlp.v2.TimePartConfig.Builder getTimePartConfigBuilder return getTimePartConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Time extraction
      * 
@@ -3361,8 +2853,6 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil } } /** - * - * *
      * Time extraction
      * 
@@ -3370,44 +2860,32 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TimePartConfig, - com.google.privacy.dlp.v2.TimePartConfig.Builder, - com.google.privacy.dlp.v2.TimePartConfigOrBuilder> + com.google.privacy.dlp.v2.TimePartConfig, com.google.privacy.dlp.v2.TimePartConfig.Builder, com.google.privacy.dlp.v2.TimePartConfigOrBuilder> getTimePartConfigFieldBuilder() { if (timePartConfigBuilder_ == null) { if (!(transformationCase_ == 8)) { transformation_ = com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance(); } - timePartConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TimePartConfig, - com.google.privacy.dlp.v2.TimePartConfig.Builder, - com.google.privacy.dlp.v2.TimePartConfigOrBuilder>( + timePartConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TimePartConfig, com.google.privacy.dlp.v2.TimePartConfig.Builder, com.google.privacy.dlp.v2.TimePartConfigOrBuilder>( (com.google.privacy.dlp.v2.TimePartConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 8; - onChanged(); - ; + onChanged();; return timePartConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoHashConfig, - com.google.privacy.dlp.v2.CryptoHashConfig.Builder, - com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> - cryptoHashConfigBuilder_; + com.google.privacy.dlp.v2.CryptoHashConfig, com.google.privacy.dlp.v2.CryptoHashConfig.Builder, com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> cryptoHashConfigBuilder_; /** - * - * *
      * Crypto
      * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return Whether the cryptoHashConfig field is set. */ @java.lang.Override @@ -3415,14 +2893,11 @@ public boolean hasCryptoHashConfig() { return transformationCase_ == 9; } /** - * - * *
      * Crypto
      * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return The cryptoHashConfig. */ @java.lang.Override @@ -3440,8 +2915,6 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { } } /** - * - * *
      * Crypto
      * 
@@ -3462,8 +2935,6 @@ public Builder setCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig va return this; } /** - * - * *
      * Crypto
      * 
@@ -3482,8 +2953,6 @@ public Builder setCryptoHashConfig( return this; } /** - * - * *
      * Crypto
      * 
@@ -3492,13 +2961,10 @@ public Builder setCryptoHashConfig( */ public Builder mergeCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig value) { if (cryptoHashConfigBuilder_ == null) { - if (transformationCase_ == 9 - && transformation_ != com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.CryptoHashConfig.newBuilder( - (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 9 && + transformation_ != com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.CryptoHashConfig.newBuilder((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -3513,8 +2979,6 @@ public Builder mergeCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig return this; } /** - * - * *
      * Crypto
      * 
@@ -3538,8 +3002,6 @@ public Builder clearCryptoHashConfig() { return this; } /** - * - * *
      * Crypto
      * 
@@ -3550,8 +3012,6 @@ public com.google.privacy.dlp.v2.CryptoHashConfig.Builder getCryptoHashConfigBui return getCryptoHashConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Crypto
      * 
@@ -3570,8 +3030,6 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr } } /** - * - * *
      * Crypto
      * 
@@ -3579,44 +3037,32 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoHashConfig, - com.google.privacy.dlp.v2.CryptoHashConfig.Builder, - com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> + com.google.privacy.dlp.v2.CryptoHashConfig, com.google.privacy.dlp.v2.CryptoHashConfig.Builder, com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> getCryptoHashConfigFieldBuilder() { if (cryptoHashConfigBuilder_ == null) { if (!(transformationCase_ == 9)) { transformation_ = com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance(); } - cryptoHashConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoHashConfig, - com.google.privacy.dlp.v2.CryptoHashConfig.Builder, - com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder>( + cryptoHashConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoHashConfig, com.google.privacy.dlp.v2.CryptoHashConfig.Builder, com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder>( (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 9; - onChanged(); - ; + onChanged();; return cryptoHashConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateShiftConfig, - com.google.privacy.dlp.v2.DateShiftConfig.Builder, - com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> - dateShiftConfigBuilder_; + com.google.privacy.dlp.v2.DateShiftConfig, com.google.privacy.dlp.v2.DateShiftConfig.Builder, com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> dateShiftConfigBuilder_; /** - * - * *
      * Date Shift
      * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return Whether the dateShiftConfig field is set. */ @java.lang.Override @@ -3624,14 +3070,11 @@ public boolean hasDateShiftConfig() { return transformationCase_ == 11; } /** - * - * *
      * Date Shift
      * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return The dateShiftConfig. */ @java.lang.Override @@ -3649,8 +3092,6 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { } } /** - * - * *
      * Date Shift
      * 
@@ -3671,8 +3112,6 @@ public Builder setDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig valu return this; } /** - * - * *
      * Date Shift
      * 
@@ -3691,8 +3130,6 @@ public Builder setDateShiftConfig( return this; } /** - * - * *
      * Date Shift
      * 
@@ -3701,13 +3138,10 @@ public Builder setDateShiftConfig( */ public Builder mergeDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig value) { if (dateShiftConfigBuilder_ == null) { - if (transformationCase_ == 11 - && transformation_ != com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.DateShiftConfig.newBuilder( - (com.google.privacy.dlp.v2.DateShiftConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 11 && + transformation_ != com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.DateShiftConfig.newBuilder((com.google.privacy.dlp.v2.DateShiftConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -3722,8 +3156,6 @@ public Builder mergeDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig va return this; } /** - * - * *
      * Date Shift
      * 
@@ -3747,8 +3179,6 @@ public Builder clearDateShiftConfig() { return this; } /** - * - * *
      * Date Shift
      * 
@@ -3759,8 +3189,6 @@ public com.google.privacy.dlp.v2.DateShiftConfig.Builder getDateShiftConfigBuild return getDateShiftConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Date Shift
      * 
@@ -3779,8 +3207,6 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu } } /** - * - * *
      * Date Shift
      * 
@@ -3788,45 +3214,32 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateShiftConfig, - com.google.privacy.dlp.v2.DateShiftConfig.Builder, - com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> + com.google.privacy.dlp.v2.DateShiftConfig, com.google.privacy.dlp.v2.DateShiftConfig.Builder, com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> getDateShiftConfigFieldBuilder() { if (dateShiftConfigBuilder_ == null) { if (!(transformationCase_ == 11)) { transformation_ = com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance(); } - dateShiftConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateShiftConfig, - com.google.privacy.dlp.v2.DateShiftConfig.Builder, - com.google.privacy.dlp.v2.DateShiftConfigOrBuilder>( + dateShiftConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DateShiftConfig, com.google.privacy.dlp.v2.DateShiftConfig.Builder, com.google.privacy.dlp.v2.DateShiftConfigOrBuilder>( (com.google.privacy.dlp.v2.DateShiftConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 11; - onChanged(); - ; + onChanged();; return dateShiftConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoDeterministicConfig, - com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, - com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> - cryptoDeterministicConfigBuilder_; + com.google.privacy.dlp.v2.CryptoDeterministicConfig, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> cryptoDeterministicConfigBuilder_; /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; * @return Whether the cryptoDeterministicConfig field is set. */ @java.lang.Override @@ -3834,15 +3247,11 @@ public boolean hasCryptoDeterministicConfig() { return transformationCase_ == 12; } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; * @return The cryptoDeterministicConfig. */ @java.lang.Override @@ -3860,17 +3269,13 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministi } } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ - public Builder setCryptoDeterministicConfig( - com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { + public Builder setCryptoDeterministicConfig(com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { if (cryptoDeterministicConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3884,14 +3289,11 @@ public Builder setCryptoDeterministicConfig( return this; } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ public Builder setCryptoDeterministicConfig( com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder builderForValue) { @@ -3905,26 +3307,18 @@ public Builder setCryptoDeterministicConfig( return this; } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ - public Builder mergeCryptoDeterministicConfig( - com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { + public Builder mergeCryptoDeterministicConfig(com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { if (cryptoDeterministicConfigBuilder_ == null) { - if (transformationCase_ == 12 - && transformation_ - != com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.CryptoDeterministicConfig.newBuilder( - (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 12 && + transformation_ != com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.CryptoDeterministicConfig.newBuilder((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -3939,14 +3333,11 @@ public Builder mergeCryptoDeterministicConfig( return this; } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ public Builder clearCryptoDeterministicConfig() { if (cryptoDeterministicConfigBuilder_ == null) { @@ -3965,32 +3356,24 @@ public Builder clearCryptoDeterministicConfig() { return this; } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ - public com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder - getCryptoDeterministicConfigBuilder() { + public com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder getCryptoDeterministicConfigBuilder() { return getCryptoDeterministicConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder - getCryptoDeterministicConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder() { if ((transformationCase_ == 12) && (cryptoDeterministicConfigBuilder_ != null)) { return cryptoDeterministicConfigBuilder_.getMessageOrBuilder(); } else { @@ -4001,55 +3384,39 @@ public Builder clearCryptoDeterministicConfig() { } } /** - * - * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoDeterministicConfig, - com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, - com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> + com.google.privacy.dlp.v2.CryptoDeterministicConfig, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> getCryptoDeterministicConfigFieldBuilder() { if (cryptoDeterministicConfigBuilder_ == null) { if (!(transformationCase_ == 12)) { - transformation_ = - com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); - } - cryptoDeterministicConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoDeterministicConfig, - com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, - com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder>( + transformation_ = com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); + } + cryptoDeterministicConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoDeterministicConfig, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder>( (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 12; - onChanged(); - ; + onChanged();; return cryptoDeterministicConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceDictionaryConfig, - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, - com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> - replaceDictionaryConfigBuilder_; + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> replaceDictionaryConfigBuilder_; /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; - * * @return Whether the replaceDictionaryConfig field is set. */ @java.lang.Override @@ -4057,14 +3424,11 @@ public boolean hasReplaceDictionaryConfig() { return transformationCase_ == 13; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; - * * @return The replaceDictionaryConfig. */ @java.lang.Override @@ -4082,16 +3446,13 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryCon } } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ - public Builder setReplaceDictionaryConfig( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { + public Builder setReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { if (replaceDictionaryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4105,8 +3466,6 @@ public Builder setReplaceDictionaryConfig( return this; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4125,25 +3484,18 @@ public Builder setReplaceDictionaryConfig( return this; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ - public Builder mergeReplaceDictionaryConfig( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { + public Builder mergeReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { if (replaceDictionaryConfigBuilder_ == null) { - if (transformationCase_ == 13 - && transformation_ - != com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) { - transformation_ = - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder( - (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) - .mergeFrom(value) - .buildPartial(); + if (transformationCase_ == 13 && + transformation_ != com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) + .mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -4158,8 +3510,6 @@ public Builder mergeReplaceDictionaryConfig( return this; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4183,21 +3533,16 @@ public Builder clearReplaceDictionaryConfig() { return this; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ - public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder - getReplaceDictionaryConfigBuilder() { + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder getReplaceDictionaryConfigBuilder() { return getReplaceDictionaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4205,8 +3550,7 @@ public Builder clearReplaceDictionaryConfig() { * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder - getReplaceDictionaryConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder() { if ((transformationCase_ == 13) && (replaceDictionaryConfigBuilder_ != null)) { return replaceDictionaryConfigBuilder_.getMessageOrBuilder(); } else { @@ -4217,8 +3561,6 @@ public Builder clearReplaceDictionaryConfig() { } } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4226,32 +3568,26 @@ public Builder clearReplaceDictionaryConfig() { * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceDictionaryConfig, - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, - com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> getReplaceDictionaryConfigFieldBuilder() { if (replaceDictionaryConfigBuilder_ == null) { if (!(transformationCase_ == 13)) { transformation_ = com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); } - replaceDictionaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceDictionaryConfig, - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, - com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder>( + replaceDictionaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder>( (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 13; - onChanged(); - ; + onChanged();; return replaceDictionaryConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4261,12 +3597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrimitiveTransformation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrimitiveTransformation) private static final com.google.privacy.dlp.v2.PrimitiveTransformation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrimitiveTransformation(); } @@ -4275,16 +3611,16 @@ public static com.google.privacy.dlp.v2.PrimitiveTransformation getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimitiveTransformation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrimitiveTransformation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimitiveTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrimitiveTransformation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4299,4 +3635,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PrimitiveTransformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java similarity index 82% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java index 1a361acb..b025e516 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface PrimitiveTransformationOrBuilder - extends +public interface PrimitiveTransformationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrimitiveTransformation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; - * * @return Whether the replaceConfig field is set. */ boolean hasReplaceConfig(); /** - * - * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; - * * @return The replaceConfig. */ com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig(); /** - * - * *
    * Replace with a specified value.
    * 
@@ -59,32 +35,24 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder(); /** - * - * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return Whether the redactConfig field is set. */ boolean hasRedactConfig(); /** - * - * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return The redactConfig. */ com.google.privacy.dlp.v2.RedactConfig getRedactConfig(); /** - * - * *
    * Redact
    * 
@@ -94,32 +62,24 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder(); /** - * - * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return Whether the characterMaskConfig field is set. */ boolean hasCharacterMaskConfig(); /** - * - * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return The characterMaskConfig. */ com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig(); /** - * - * *
    * Mask
    * 
@@ -129,107 +89,78 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder(); /** - * - * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; * @return Whether the cryptoReplaceFfxFpeConfig field is set. */ boolean hasCryptoReplaceFfxFpeConfig(); /** - * - * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; * @return The cryptoReplaceFfxFpeConfig. */ com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig(); /** - * - * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; - * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; */ - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder - getCryptoReplaceFfxFpeConfigOrBuilder(); + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder(); /** - * - * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; - * * @return Whether the fixedSizeBucketingConfig field is set. */ boolean hasFixedSizeBucketingConfig(); /** - * - * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; - * * @return The fixedSizeBucketingConfig. */ com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig(); /** - * - * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder - getFixedSizeBucketingConfigOrBuilder(); + com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder(); /** - * - * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return Whether the bucketingConfig field is set. */ boolean hasBucketingConfig(); /** - * - * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return The bucketingConfig. */ com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig(); /** - * - * *
    * Bucketing
    * 
@@ -239,71 +170,51 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder(); /** - * - * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; * @return Whether the replaceWithInfoTypeConfig field is set. */ boolean hasReplaceWithInfoTypeConfig(); /** - * - * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; * @return The replaceWithInfoTypeConfig. */ com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig(); /** - * - * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; - * + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; */ - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder - getReplaceWithInfoTypeConfigOrBuilder(); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder(); /** - * - * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return Whether the timePartConfig field is set. */ boolean hasTimePartConfig(); /** - * - * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return The timePartConfig. */ com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig(); /** - * - * *
    * Time extraction
    * 
@@ -313,32 +224,24 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder(); /** - * - * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return Whether the cryptoHashConfig field is set. */ boolean hasCryptoHashConfig(); /** - * - * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return The cryptoHashConfig. */ com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig(); /** - * - * *
    * Crypto
    * 
@@ -348,32 +251,24 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder(); /** - * - * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return Whether the dateShiftConfig field is set. */ boolean hasDateShiftConfig(); /** - * - * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return The dateShiftConfig. */ com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig(); /** - * - * *
    * Date Shift
    * 
@@ -383,68 +278,51 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder(); /** - * - * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * * @return Whether the cryptoDeterministicConfig field is set. */ boolean hasCryptoDeterministicConfig(); /** - * - * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; - * * @return The cryptoDeterministicConfig. */ com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig(); /** - * - * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ - com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder - getCryptoDeterministicConfigOrBuilder(); + com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder(); /** - * - * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; - * * @return Whether the replaceDictionaryConfig field is set. */ boolean hasReplaceDictionaryConfig(); /** - * - * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; - * * @return The replaceDictionaryConfig. */ com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig(); /** - * - * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
@@ -453,6 +331,5 @@ public interface PrimitiveTransformationOrBuilder */ com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder(); - public com.google.privacy.dlp.v2.PrimitiveTransformation.TransformationCase - getTransformationCase(); + public com.google.privacy.dlp.v2.PrimitiveTransformation.TransformationCase getTransformationCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java index 0ceb32d1..fcd250f8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Privacy metric to compute for reidentification risk analysis.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric} */ -public final class PrivacyMetric extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivacyMetric extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric) PrivacyMetricOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivacyMetric.newBuilder() to construct. private PrivacyMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PrivacyMetric() {} + private PrivacyMetric() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivacyMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PrivacyMetric( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,197 +52,147 @@ private PrivacyMetric( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder subBuilder = - null; - if (typeCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_).toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder subBuilder = - null; - if (typeCase_ == 2) { - subBuilder = - ((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); + type_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = - ((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; + typeCase_ = 1; + break; + } + case 18: { + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_).toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder subBuilder = null; - if (typeCase_ == 4) { - subBuilder = - ((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 4; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); + type_ = subBuilder.buildPartial(); } - case 42: - { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder subBuilder = - null; - if (typeCase_ == 5) { - subBuilder = - ((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 5; - break; + typeCase_ = 2; + break; + } + case 26: { + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_).toBuilder(); } - case 50: - { - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder - subBuilder = null; - if (typeCase_ == 6) { - subBuilder = - ((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 6; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); + type_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + typeCase_ = 3; + break; + } + case 34: { + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder subBuilder = null; + if (typeCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_).toBuilder(); + } + type_ = + input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder subBuilder = null; + if (typeCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_).toBuilder(); } + type_ = + input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 5; + break; + } + case 50: { + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder subBuilder = null; + if (typeCase_ == 6) { + subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_).toBuilder(); + } + type_ = + input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 6; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.class, - com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.class, com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); } - public interface NumericalStatsConfigOrBuilder - extends + public interface NumericalStatsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
@@ -269,8 +203,6 @@ public interface NumericalStatsConfigOrBuilder
     com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compute numerical stats over an individual column, including
    * min, max, and quantiles.
@@ -278,29 +210,30 @@ public interface NumericalStatsConfigOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig}
    */
-  public static final class NumericalStatsConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class NumericalStatsConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
       NumericalStatsConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use NumericalStatsConfig.newBuilder() to construct.
     private NumericalStatsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private NumericalStatsConfig() {}
+    private NumericalStatsConfig() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new NumericalStatsConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private NumericalStatsConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -319,68 +252,60 @@ private NumericalStatsConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                if (field_ != null) {
-                  subBuilder = field_.toBuilder();
-                }
-                field_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(field_);
-                  field_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (field_ != null) {
+                subBuilder = field_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(field_);
+                field_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class,
-              com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
-     *
-     *
      * 
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -388,15 +313,12 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -404,8 +326,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
@@ -419,7 +339,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -431,7 +350,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (field_ != null) {
         output.writeMessage(1, getField());
       }
@@ -445,7 +365,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (field_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getField());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -455,17 +376,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.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig other =
-          (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) obj;
 
       if (hasField() != other.hasField()) return false;
       if (hasField()) {
-        if (!getField().equals(other.getField())) return false;
+        if (!getField()
+            .equals(other.getField())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -488,94 +409,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -585,8 +499,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compute numerical stats over an individual column, including
      * min, max, and quantiles.
@@ -594,24 +506,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class,
-                com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.newBuilder()
@@ -619,15 +528,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -641,14 +551,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance();
       }
 
@@ -663,8 +572,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig result =
-            new com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -678,41 +586,38 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) other);
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -720,9 +625,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig other) {
-        if (other
-            == com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance()) return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -745,9 +648,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -759,35 +660,26 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
-          fieldBuilder_;
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -798,8 +690,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -821,8 +711,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -830,7 +718,8 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
        *
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
-      public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder setField(
+          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (fieldBuilder_ == null) {
           field_ = builderForValue.build();
           onChanged();
@@ -841,8 +730,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -854,9 +741,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         if (fieldBuilder_ == null) {
           if (field_ != null) {
             field_ =
-                com.google.privacy.dlp.v2.FieldId.newBuilder(field_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial();
           } else {
             field_ = value;
           }
@@ -868,8 +753,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -889,8 +772,6 @@ public Builder clearField() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -899,13 +780,11 @@ public Builder clearField() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() {
-
+        
         onChanged();
         return getFieldFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -917,12 +796,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
         if (fieldBuilder_ != null) {
           return fieldBuilder_.getMessageOrBuilder();
         } else {
-          return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
+          return field_ == null ?
+              com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
         }
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -931,22 +809,18 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
           getFieldFieldBuilder() {
         if (fieldBuilder_ == null) {
-          fieldBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.FieldId,
-                  com.google.privacy.dlp.v2.FieldId.Builder,
-                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  getField(), getParentForChildren(), isClean());
+          fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  getField(),
+                  getParentForChildren(),
+                  isClean());
           field_ = null;
         }
         return fieldBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -959,32 +833,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
-    private static final com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig();
     }
 
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public NumericalStatsConfig parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new NumericalStatsConfig(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public NumericalStatsConfig parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new NumericalStatsConfig(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -996,20 +868,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CategoricalStatsConfigOrBuilder
-      extends
+  public interface CategoricalStatsConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1018,13 +887,10 @@ public interface CategoricalStatsConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1033,13 +899,10 @@ public interface CategoricalStatsConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1052,8 +915,6 @@ public interface CategoricalStatsConfigOrBuilder
     com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compute numerical stats over an individual column, including
    * number of distinct values and value count distribution.
@@ -1061,29 +922,30 @@ public interface CategoricalStatsConfigOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig}
    */
-  public static final class CategoricalStatsConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CategoricalStatsConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
       CategoricalStatsConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CategoricalStatsConfig.newBuilder() to construct.
     private CategoricalStatsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private CategoricalStatsConfig() {}
+    private CategoricalStatsConfig() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CategoricalStatsConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private CategoricalStatsConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1102,61 +964,54 @@ private CategoricalStatsConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                if (field_ != null) {
-                  subBuilder = field_.toBuilder();
-                }
-                field_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(field_);
-                  field_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (field_ != null) {
+                subBuilder = field_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(field_);
+                field_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class,
-              com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
-     *
-     *
      * 
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1165,7 +1020,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -1173,8 +1027,6 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1183,7 +1035,6 @@ public boolean hasField() {
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -1191,8 +1042,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1208,7 +1057,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1220,7 +1068,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (field_ != null) {
         output.writeMessage(1, getField());
       }
@@ -1234,7 +1083,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (field_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getField());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1244,17 +1094,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.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other =
-          (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) obj;
 
       if (hasField() != other.hasField()) return false;
       if (hasField()) {
-        if (!getField().equals(other.getField())) return false;
+        if (!getField()
+            .equals(other.getField())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1277,94 +1127,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1374,8 +1217,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compute numerical stats over an individual column, including
      * number of distinct values and value count distribution.
@@ -1383,24 +1224,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class,
-                com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.newBuilder()
@@ -1408,15 +1246,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1430,14 +1269,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance();
       }
 
@@ -1452,8 +1290,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig result =
-            new com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -1467,52 +1304,46 @@ public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) other);
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other) {
-        if (other
-            == com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other) {
+        if (other == com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance()) return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -1535,9 +1366,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1549,13 +1378,8 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
-          fieldBuilder_;
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1564,15 +1388,12 @@ public Builder mergeFrom(
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1581,7 +1402,6 @@ public boolean hasField() {
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -1592,8 +1412,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1617,8 +1435,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1628,7 +1444,8 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
        *
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
-      public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder setField(
+          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (fieldBuilder_ == null) {
           field_ = builderForValue.build();
           onChanged();
@@ -1639,8 +1456,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1654,9 +1469,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         if (fieldBuilder_ == null) {
           if (field_ != null) {
             field_ =
-                com.google.privacy.dlp.v2.FieldId.newBuilder(field_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial();
           } else {
             field_ = value;
           }
@@ -1668,8 +1481,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1691,8 +1502,6 @@ public Builder clearField() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1703,13 +1512,11 @@ public Builder clearField() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() {
-
+        
         onChanged();
         return getFieldFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1723,12 +1530,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
         if (fieldBuilder_ != null) {
           return fieldBuilder_.getMessageOrBuilder();
         } else {
-          return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
+          return field_ == null ?
+              com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
         }
       }
       /**
-       *
-       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1739,22 +1545,18 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
           getFieldFieldBuilder() {
         if (fieldBuilder_ == null) {
-          fieldBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.FieldId,
-                  com.google.privacy.dlp.v2.FieldId.Builder,
-                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  getField(), getParentForChildren(), isClean());
+          fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  getField(),
+                  getParentForChildren(),
+                  isClean());
           field_ = null;
         }
         return fieldBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1767,32 +1569,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
-    private static final com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig();
     }
 
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CategoricalStatsConfig parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new CategoricalStatsConfig(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CategoricalStatsConfig parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new CategoricalStatsConfig(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1804,20 +1604,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface KAnonymityConfigOrBuilder
-      extends
+  public interface KAnonymityConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1828,10 +1625,9 @@ public interface KAnonymityConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List getQuasiIdsList();
+    java.util.List 
+        getQuasiIdsList();
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1844,8 +1640,6 @@ public interface KAnonymityConfigOrBuilder
      */
     com.google.privacy.dlp.v2.FieldId getQuasiIds(int index);
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1858,8 +1652,6 @@ public interface KAnonymityConfigOrBuilder
      */
     int getQuasiIdsCount();
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1870,10 +1662,9 @@ public interface KAnonymityConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List getQuasiIdsOrBuilderList();
+    java.util.List 
+        getQuasiIdsOrBuilderList();
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1884,11 +1675,10 @@ public interface KAnonymityConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index);
+    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1902,13 +1692,10 @@ public interface KAnonymityConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; - * * @return Whether the entityId field is set. */ boolean hasEntityId(); /** - * - * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1922,13 +1709,10 @@ public interface KAnonymityConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; - * * @return The entityId. */ com.google.privacy.dlp.v2.EntityId getEntityId(); /** - * - * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1946,39 +1730,37 @@ public interface KAnonymityConfigOrBuilder
     com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder();
   }
   /**
-   *
-   *
    * 
    * k-anonymity metric, used for analysis of reidentification risk.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig} */ - public static final class KAnonymityConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class KAnonymityConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) KAnonymityConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityConfig.newBuilder() to construct. private KAnonymityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KAnonymityConfig() { quasiIds_ = 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 KAnonymityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private KAnonymityConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1998,46 +1780,42 @@ private KAnonymityConfig( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIds_.add( - input.readMessage( - com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.privacy.dlp.v2.EntityId.Builder subBuilder = null; - if (entityId_ != null) { - subBuilder = entityId_.toBuilder(); - } - entityId_ = - input.readMessage( - com.google.privacy.dlp.v2.EntityId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entityId_); - entityId_ = subBuilder.buildPartial(); - } - - break; + quasiIds_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.privacy.dlp.v2.EntityId.Builder subBuilder = null; + if (entityId_ != null) { + subBuilder = entityId_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + entityId_ = input.readMessage(com.google.privacy.dlp.v2.EntityId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityId_); + entityId_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_); @@ -2046,27 +1824,22 @@ private KAnonymityConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); } public static final int QUASI_IDS_FIELD_NUMBER = 1; private java.util.List quasiIds_; /** - * - * *
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -2082,8 +1855,6 @@ public java.util.List getQuasiIdsList() {
       return quasiIds_;
     }
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -2095,13 +1866,11 @@ public java.util.List getQuasiIdsList() {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getQuasiIdsOrBuilderList() {
       return quasiIds_;
     }
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -2117,8 +1886,6 @@ public int getQuasiIdsCount() {
       return quasiIds_.size();
     }
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -2134,8 +1901,6 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
       return quasiIds_.get(index);
     }
     /**
-     *
-     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -2147,15 +1912,14 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
+        int index) {
       return quasiIds_.get(index);
     }
 
     public static final int ENTITY_ID_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.EntityId entityId_;
     /**
-     *
-     *
      * 
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -2169,7 +1933,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; - * * @return Whether the entityId field is set. */ @java.lang.Override @@ -2177,8 +1940,6 @@ public boolean hasEntityId() { return entityId_ != null; } /** - * - * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -2192,18 +1953,13 @@ public boolean hasEntityId() {
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; - * * @return The entityId. */ @java.lang.Override public com.google.privacy.dlp.v2.EntityId getEntityId() { - return entityId_ == null - ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() - : entityId_; + return entityId_ == null ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() : entityId_; } /** - * - * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -2224,7 +1980,6 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2236,7 +1991,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < quasiIds_.size(); i++) {
         output.writeMessage(1, quasiIds_.get(i));
       }
@@ -2253,10 +2009,12 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < quasiIds_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, quasiIds_.get(i));
       }
       if (entityId_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntityId());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getEntityId());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -2266,18 +2024,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.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig other =
-          (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) obj;
 
-      if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false;
+      if (!getQuasiIdsList()
+          .equals(other.getQuasiIdsList())) return false;
       if (hasEntityId() != other.hasEntityId()) return false;
       if (hasEntityId()) {
-        if (!getEntityId().equals(other.getEntityId())) return false;
+        if (!getEntityId()
+            .equals(other.getEntityId())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2304,94 +2063,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2401,32 +2153,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * k-anonymity metric, used for analysis of reidentification risk.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.newBuilder() @@ -2434,17 +2181,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2464,9 +2211,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; } @java.lang.Override @@ -2485,8 +2232,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig result = - new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig(this); + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig(this); int from_bitField0_ = bitField0_; if (quasiIdsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2510,41 +2256,38 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)other); } else { super.mergeFrom(other); return this; @@ -2552,8 +2295,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) return this; if (quasiIdsBuilder_ == null) { if (!other.quasiIds_.isEmpty()) { if (quasiIds_.isEmpty()) { @@ -2572,10 +2314,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfi quasiIdsBuilder_ = null; quasiIds_ = other.quasiIds_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsFieldBuilder() - : null; + quasiIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsFieldBuilder() : null; } else { quasiIdsBuilder_.addAllMessages(other.quasiIds_); } @@ -2603,8 +2344,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2613,28 +2353,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List quasiIds_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { quasiIds_ = new java.util.ArrayList(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - quasiIdsBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> quasiIdsBuilder_; /** - * - * *
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2653,8 +2386,6 @@ public java.util.List getQuasiIdsList() {
         }
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2673,8 +2404,6 @@ public int getQuasiIdsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2693,8 +2422,6 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2705,7 +2432,8 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder setQuasiIds(
+          int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2719,8 +2447,6 @@ public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2743,8 +2469,6 @@ public Builder setQuasiIds(
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2769,8 +2493,6 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2781,7 +2503,8 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder addQuasiIds(
+          int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2795,8 +2518,6 @@ public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2807,7 +2528,8 @@ public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder addQuasiIds(
+          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
           quasiIds_.add(builderForValue.build());
@@ -2818,8 +2540,6 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId.Builder builderForV
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2842,8 +2562,6 @@ public Builder addQuasiIds(
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2858,7 +2576,8 @@ public Builder addAllQuasiIds(
           java.lang.Iterable values) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, quasiIds_);
           onChanged();
         } else {
           quasiIdsBuilder_.addAllMessages(values);
@@ -2866,8 +2585,6 @@ public Builder addAllQuasiIds(
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2889,8 +2606,6 @@ public Builder clearQuasiIds() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2912,8 +2627,6 @@ public Builder removeQuasiIds(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2924,12 +2637,11 @@ public Builder removeQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(int index) {
+      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(
+          int index) {
         return getQuasiIdsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2940,16 +2652,14 @@ public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
+          int index) {
         if (quasiIdsBuilder_ == null) {
-          return quasiIds_.get(index);
-        } else {
+          return quasiIds_.get(index);  } else {
           return quasiIdsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2960,8 +2670,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List
-          getQuasiIdsOrBuilderList() {
+      public java.util.List 
+           getQuasiIdsOrBuilderList() {
         if (quasiIdsBuilder_ != null) {
           return quasiIdsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2969,8 +2679,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
         }
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2982,12 +2690,10 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
-        return getQuasiIdsFieldBuilder()
-            .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+        return getQuasiIdsFieldBuilder().addBuilder(
+            com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2998,13 +2704,12 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(int index) {
-        return getQuasiIdsFieldBuilder()
-            .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
+          int index) {
+        return getQuasiIdsFieldBuilder().addBuilder(
+            index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -3015,22 +2720,20 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List getQuasiIdsBuilderList() {
+      public java.util.List 
+           getQuasiIdsBuilderList() {
         return getQuasiIdsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
           getQuasiIdsFieldBuilder() {
         if (quasiIdsBuilder_ == null) {
-          quasiIdsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.privacy.dlp.v2.FieldId,
-                  com.google.privacy.dlp.v2.FieldId.Builder,
-                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  quasiIds_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           quasiIds_ = null;
         }
         return quasiIdsBuilder_;
@@ -3038,13 +2741,8 @@ public java.util.List getQuasiIdsBuil
 
       private com.google.privacy.dlp.v2.EntityId entityId_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.EntityId,
-              com.google.privacy.dlp.v2.EntityId.Builder,
-              com.google.privacy.dlp.v2.EntityIdOrBuilder>
-          entityIdBuilder_;
+          com.google.privacy.dlp.v2.EntityId, com.google.privacy.dlp.v2.EntityId.Builder, com.google.privacy.dlp.v2.EntityIdOrBuilder> entityIdBuilder_;
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3058,15 +2756,12 @@ public java.util.List getQuasiIdsBuil
        * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; - * * @return Whether the entityId field is set. */ public boolean hasEntityId() { return entityIdBuilder_ != null || entityId_ != null; } /** - * - * *
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3080,21 +2775,16 @@ public boolean hasEntityId() {
        * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; - * * @return The entityId. */ public com.google.privacy.dlp.v2.EntityId getEntityId() { if (entityIdBuilder_ == null) { - return entityId_ == null - ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() - : entityId_; + return entityId_ == null ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() : entityId_; } else { return entityIdBuilder_.getMessage(); } } /** - * - * *
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3123,8 +2813,6 @@ public Builder setEntityId(com.google.privacy.dlp.v2.EntityId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3139,7 +2827,8 @@ public Builder setEntityId(com.google.privacy.dlp.v2.EntityId value) {
        *
        * .google.privacy.dlp.v2.EntityId entity_id = 2;
        */
-      public Builder setEntityId(com.google.privacy.dlp.v2.EntityId.Builder builderForValue) {
+      public Builder setEntityId(
+          com.google.privacy.dlp.v2.EntityId.Builder builderForValue) {
         if (entityIdBuilder_ == null) {
           entityId_ = builderForValue.build();
           onChanged();
@@ -3150,8 +2839,6 @@ public Builder setEntityId(com.google.privacy.dlp.v2.EntityId.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3170,9 +2857,7 @@ public Builder mergeEntityId(com.google.privacy.dlp.v2.EntityId value) {
         if (entityIdBuilder_ == null) {
           if (entityId_ != null) {
             entityId_ =
-                com.google.privacy.dlp.v2.EntityId.newBuilder(entityId_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.EntityId.newBuilder(entityId_).mergeFrom(value).buildPartial();
           } else {
             entityId_ = value;
           }
@@ -3184,8 +2869,6 @@ public Builder mergeEntityId(com.google.privacy.dlp.v2.EntityId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3212,8 +2895,6 @@ public Builder clearEntityId() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3229,13 +2910,11 @@ public Builder clearEntityId() {
        * .google.privacy.dlp.v2.EntityId entity_id = 2;
        */
       public com.google.privacy.dlp.v2.EntityId.Builder getEntityIdBuilder() {
-
+        
         onChanged();
         return getEntityIdFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3254,14 +2933,11 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
         if (entityIdBuilder_ != null) {
           return entityIdBuilder_.getMessageOrBuilder();
         } else {
-          return entityId_ == null
-              ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance()
-              : entityId_;
+          return entityId_ == null ?
+              com.google.privacy.dlp.v2.EntityId.getDefaultInstance() : entityId_;
         }
       }
       /**
-       *
-       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -3277,22 +2953,18 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
        * .google.privacy.dlp.v2.EntityId entity_id = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.EntityId,
-              com.google.privacy.dlp.v2.EntityId.Builder,
-              com.google.privacy.dlp.v2.EntityIdOrBuilder>
+          com.google.privacy.dlp.v2.EntityId, com.google.privacy.dlp.v2.EntityId.Builder, com.google.privacy.dlp.v2.EntityIdOrBuilder> 
           getEntityIdFieldBuilder() {
         if (entityIdBuilder_ == null) {
-          entityIdBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.EntityId,
-                  com.google.privacy.dlp.v2.EntityId.Builder,
-                  com.google.privacy.dlp.v2.EntityIdOrBuilder>(
-                  getEntityId(), getParentForChildren(), isClean());
+          entityIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.EntityId, com.google.privacy.dlp.v2.EntityId.Builder, com.google.privacy.dlp.v2.EntityIdOrBuilder>(
+                  getEntityId(),
+                  getParentForChildren(),
+                  isClean());
           entityId_ = null;
         }
         return entityIdBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3305,12 +2977,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)
     private static final com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig();
     }
@@ -3319,16 +2991,16 @@ public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public KAnonymityConfig parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new KAnonymityConfig(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public KAnonymityConfig parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new KAnonymityConfig(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3343,16 +3015,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface LDiversityConfigOrBuilder
-      extends
+  public interface LDiversityConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3361,10 +3031,9 @@ public interface LDiversityConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List getQuasiIdsList();
+    java.util.List 
+        getQuasiIdsList();
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3375,8 +3044,6 @@ public interface LDiversityConfigOrBuilder
      */
     com.google.privacy.dlp.v2.FieldId getQuasiIds(int index);
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3387,8 +3054,6 @@ public interface LDiversityConfigOrBuilder
      */
     int getQuasiIdsCount();
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3397,10 +3062,9 @@ public interface LDiversityConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List getQuasiIdsOrBuilderList();
+    java.util.List 
+        getQuasiIdsOrBuilderList();
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3409,35 +3073,28 @@ public interface LDiversityConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index);
+    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; - * * @return Whether the sensitiveAttribute field is set. */ boolean hasSensitiveAttribute(); /** - * - * *
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; - * * @return The sensitiveAttribute. */ com.google.privacy.dlp.v2.FieldId getSensitiveAttribute(); /** - * - * *
      * Sensitive field for computing the l-value.
      * 
@@ -3447,39 +3104,37 @@ public interface LDiversityConfigOrBuilder com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder(); } /** - * - * *
    * l-diversity metric, used for analysis of reidentification risk.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig} */ - public static final class LDiversityConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class LDiversityConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) LDiversityConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityConfig.newBuilder() to construct. private LDiversityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LDiversityConfig() { quasiIds_ = 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 LDiversityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LDiversityConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3499,46 +3154,42 @@ private LDiversityConfig( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIds_.add( - input.readMessage( - com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (sensitiveAttribute_ != null) { - subBuilder = sensitiveAttribute_.toBuilder(); - } - sensitiveAttribute_ = - input.readMessage( - com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sensitiveAttribute_); - sensitiveAttribute_ = subBuilder.buildPartial(); - } - - break; + quasiIds_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (sensitiveAttribute_ != null) { + subBuilder = sensitiveAttribute_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sensitiveAttribute_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sensitiveAttribute_); + sensitiveAttribute_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_); @@ -3547,27 +3198,22 @@ private LDiversityConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); } public static final int QUASI_IDS_FIELD_NUMBER = 1; private java.util.List quasiIds_; /** - * - * *
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3581,8 +3227,6 @@ public java.util.List getQuasiIdsList() {
       return quasiIds_;
     }
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3592,13 +3236,11 @@ public java.util.List getQuasiIdsList() {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getQuasiIdsOrBuilderList() {
       return quasiIds_;
     }
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3612,8 +3254,6 @@ public int getQuasiIdsCount() {
       return quasiIds_.size();
     }
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3627,8 +3267,6 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
       return quasiIds_.get(index);
     }
     /**
-     *
-     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3638,21 +3276,19 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
+        int index) {
       return quasiIds_.get(index);
     }
 
     public static final int SENSITIVE_ATTRIBUTE_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.FieldId sensitiveAttribute_;
     /**
-     *
-     *
      * 
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; - * * @return Whether the sensitiveAttribute field is set. */ @java.lang.Override @@ -3660,25 +3296,18 @@ public boolean hasSensitiveAttribute() { return sensitiveAttribute_ != null; } /** - * - * *
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; - * * @return The sensitiveAttribute. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() { - return sensitiveAttribute_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : sensitiveAttribute_; + return sensitiveAttribute_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : sensitiveAttribute_; } /** - * - * *
      * Sensitive field for computing the l-value.
      * 
@@ -3691,7 +3320,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3703,7 +3331,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -3720,11 +3349,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIds_.get(i)); } if (sensitiveAttribute_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSensitiveAttribute()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSensitiveAttribute()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3734,18 +3364,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.privacy.dlp.v2.PrivacyMetric.LDiversityConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig other = - (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) obj; + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) obj; - if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; + if (!getQuasiIdsList() + .equals(other.getQuasiIdsList())) return false; if (hasSensitiveAttribute() != other.hasSensitiveAttribute()) return false; if (hasSensitiveAttribute()) { - if (!getSensitiveAttribute().equals(other.getSensitiveAttribute())) return false; + if (!getSensitiveAttribute() + .equals(other.getSensitiveAttribute())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3772,94 +3403,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3869,32 +3493,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * l-diversity metric, used for analysis of reidentification risk.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.newBuilder() @@ -3902,17 +3521,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3932,9 +3551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; } @java.lang.Override @@ -3953,8 +3572,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig result = - new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(this); + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(this); int from_bitField0_ = bitField0_; if (quasiIdsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3978,41 +3596,38 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig)other); } else { super.mergeFrom(other); return this; @@ -4020,8 +3635,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) return this; if (quasiIdsBuilder_ == null) { if (!other.quasiIds_.isEmpty()) { if (quasiIds_.isEmpty()) { @@ -4040,10 +3654,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfi quasiIdsBuilder_ = null; quasiIds_ = other.quasiIds_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsFieldBuilder() - : null; + quasiIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsFieldBuilder() : null; } else { quasiIdsBuilder_.addAllMessages(other.quasiIds_); } @@ -4071,8 +3684,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4081,28 +3693,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List quasiIds_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { quasiIds_ = new java.util.ArrayList(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - quasiIdsBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> quasiIdsBuilder_; /** - * - * *
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4119,8 +3724,6 @@ public java.util.List getQuasiIdsList() {
         }
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4137,8 +3740,6 @@ public int getQuasiIdsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4155,8 +3756,6 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4165,7 +3764,8 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder setQuasiIds(
+          int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -4179,8 +3779,6 @@ public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4201,8 +3799,6 @@ public Builder setQuasiIds(
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4225,8 +3821,6 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4235,7 +3829,8 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder addQuasiIds(
+          int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -4249,8 +3844,6 @@ public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4259,7 +3852,8 @@ public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder addQuasiIds(
+          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
           quasiIds_.add(builderForValue.build());
@@ -4270,8 +3864,6 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId.Builder builderForV
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4292,8 +3884,6 @@ public Builder addQuasiIds(
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4306,7 +3896,8 @@ public Builder addAllQuasiIds(
           java.lang.Iterable values) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, quasiIds_);
           onChanged();
         } else {
           quasiIdsBuilder_.addAllMessages(values);
@@ -4314,8 +3905,6 @@ public Builder addAllQuasiIds(
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4335,8 +3924,6 @@ public Builder clearQuasiIds() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4356,8 +3943,6 @@ public Builder removeQuasiIds(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4366,12 +3951,11 @@ public Builder removeQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(int index) {
+      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(
+          int index) {
         return getQuasiIdsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4380,16 +3964,14 @@ public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
+      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
+          int index) {
         if (quasiIdsBuilder_ == null) {
-          return quasiIds_.get(index);
-        } else {
+          return quasiIds_.get(index);  } else {
           return quasiIdsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4398,8 +3980,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List
-          getQuasiIdsOrBuilderList() {
+      public java.util.List 
+           getQuasiIdsOrBuilderList() {
         if (quasiIdsBuilder_ != null) {
           return quasiIdsBuilder_.getMessageOrBuilderList();
         } else {
@@ -4407,8 +3989,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
         }
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4418,12 +3998,10 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
-        return getQuasiIdsFieldBuilder()
-            .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+        return getQuasiIdsFieldBuilder().addBuilder(
+            com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4432,13 +4010,12 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(int index) {
-        return getQuasiIdsFieldBuilder()
-            .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
+          int index) {
+        return getQuasiIdsFieldBuilder().addBuilder(
+            index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4447,22 +4024,20 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List getQuasiIdsBuilderList() {
+      public java.util.List 
+           getQuasiIdsBuilderList() {
         return getQuasiIdsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
           getQuasiIdsFieldBuilder() {
         if (quasiIdsBuilder_ == null) {
-          quasiIdsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.privacy.dlp.v2.FieldId,
-                  com.google.privacy.dlp.v2.FieldId.Builder,
-                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  quasiIds_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           quasiIds_ = null;
         }
         return quasiIdsBuilder_;
@@ -4470,47 +4045,34 @@ public java.util.List getQuasiIdsBuil
 
       private com.google.privacy.dlp.v2.FieldId sensitiveAttribute_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
-          sensitiveAttributeBuilder_;
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> sensitiveAttributeBuilder_;
       /**
-       *
-       *
        * 
        * Sensitive field for computing the l-value.
        * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; - * * @return Whether the sensitiveAttribute field is set. */ public boolean hasSensitiveAttribute() { return sensitiveAttributeBuilder_ != null || sensitiveAttribute_ != null; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; - * * @return The sensitiveAttribute. */ public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() { if (sensitiveAttributeBuilder_ == null) { - return sensitiveAttribute_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : sensitiveAttribute_; + return sensitiveAttribute_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : sensitiveAttribute_; } else { return sensitiveAttributeBuilder_.getMessage(); } } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4531,8 +4093,6 @@ public Builder setSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4551,8 +4111,6 @@ public Builder setSensitiveAttribute( return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4563,9 +4121,7 @@ public Builder mergeSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) if (sensitiveAttributeBuilder_ == null) { if (sensitiveAttribute_ != null) { sensitiveAttribute_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(sensitiveAttribute_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(sensitiveAttribute_).mergeFrom(value).buildPartial(); } else { sensitiveAttribute_ = value; } @@ -4577,8 +4133,6 @@ public Builder mergeSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4597,8 +4151,6 @@ public Builder clearSensitiveAttribute() { return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4606,13 +4158,11 @@ public Builder clearSensitiveAttribute() { * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getSensitiveAttributeBuilder() { - + onChanged(); return getSensitiveAttributeFieldBuilder().getBuilder(); } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4623,14 +4173,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder if (sensitiveAttributeBuilder_ != null) { return sensitiveAttributeBuilder_.getMessageOrBuilder(); } else { - return sensitiveAttribute_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : sensitiveAttribute_; + return sensitiveAttribute_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : sensitiveAttribute_; } } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4638,22 +4185,18 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getSensitiveAttributeFieldBuilder() { if (sensitiveAttributeBuilder_ == null) { - sensitiveAttributeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getSensitiveAttribute(), getParentForChildren(), isClean()); + sensitiveAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getSensitiveAttribute(), + getParentForChildren(), + isClean()); sensitiveAttribute_ = null; } return sensitiveAttributeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4666,12 +4209,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) private static final com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(); } @@ -4680,16 +4223,16 @@ public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4704,87 +4247,63 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface KMapEstimationConfigOrBuilder - extends + public interface KMapEstimationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getQuasiIdsList(); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getQuasiIdsCount(); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> + java.util.List getQuasiIdsOrBuilderList(); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder - getQuasiIdsOrBuilder(int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder( + int index); /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -4792,13 +4311,10 @@ public interface KMapEstimationConfigOrBuilder
      * 
* * string region_code = 2; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -4806,92 +4322,66 @@ public interface KMapEstimationConfigOrBuilder
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - java.util.List + java.util.List getAuxiliaryTablesList(); /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables( - int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index); /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ int getAuxiliaryTablesCount(); /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .AuxiliaryTableOrBuilder> + java.util.List getAuxiliaryTablesOrBuilderList(); /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder - getAuxiliaryTablesOrBuilder(int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder( + int index); } /** - * - * *
    * Reidentifiability metric. This corresponds to a risk model similar to what
    * is called "journalist risk" in the literature, except the attack dataset is
@@ -4903,16 +4393,15 @@ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getA
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig}
    */
-  public static final class KMapEstimationConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class KMapEstimationConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)
       KMapEstimationConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use KMapEstimationConfig.newBuilder() to construct.
     private KMapEstimationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private KMapEstimationConfig() {
       quasiIds_ = java.util.Collections.emptyList();
       regionCode_ = "";
@@ -4921,15 +4410,16 @@ private KMapEstimationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new KMapEstimationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private KMapEstimationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4949,58 +4439,44 @@ private KMapEstimationConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  quasiIds_ =
-                      new java.util.ArrayList<
-                          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
-                              .TaggedField>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                quasiIds_.add(
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-                            .parser(),
-                        extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                quasiIds_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              quasiIds_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                regionCode_ = s;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  auxiliaryTables_ =
-                      new java.util.ArrayList<
-                          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
-                              .AuxiliaryTable>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                auxiliaryTables_.add(
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
-                            .parser(),
-                        extensionRegistry));
-                break;
+              regionCode_ = s;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                auxiliaryTables_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              auxiliaryTables_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -5012,68 +4488,51 @@ private KMapEstimationConfig(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class,
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
     }
 
-    public interface TaggedFieldOrBuilder
-        extends
+    public interface TaggedFieldOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** - * - * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -5083,13 +4542,10 @@ public interface TaggedFieldOrBuilder
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -5099,13 +4555,10 @@ public interface TaggedFieldOrBuilder
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -5119,8 +4572,6 @@ public interface TaggedFieldOrBuilder
       com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
       /**
-       *
-       *
        * 
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -5128,13 +4579,10 @@ public interface TaggedFieldOrBuilder
        * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ boolean hasCustomTag(); /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -5142,13 +4590,10 @@ public interface TaggedFieldOrBuilder
        * 
* * string custom_tag = 3; - * * @return The customTag. */ java.lang.String getCustomTag(); /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -5156,40 +4601,32 @@ public interface TaggedFieldOrBuilder
        * 
* * string custom_tag = 3; - * * @return The bytes for customTag. */ - com.google.protobuf.ByteString getCustomTagBytes(); + com.google.protobuf.ByteString + getCustomTagBytes(); /** - * - * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; - * * @return Whether the inferred field is set. */ boolean hasInferred(); /** - * - * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; - * * @return The inferred. */ com.google.protobuf.Empty getInferred(); /** - * - * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
@@ -5199,41 +4636,39 @@ public interface TaggedFieldOrBuilder
        */
       com.google.protobuf.EmptyOrBuilder getInferredOrBuilder();
 
-      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase
-          getTagCase();
+      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase getTagCase();
     }
     /**
-     *
-     *
      * 
      * A column with a semantic tag attached.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField} */ - public static final class TaggedField extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TaggedField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) TaggedFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TaggedField.newBuilder() to construct. private TaggedField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TaggedField() {} + private TaggedField() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TaggedField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TaggedField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5252,108 +4687,95 @@ private TaggedField( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage( - com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } + case 10: { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (tagCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (tagCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); - } - tag_ = - input.readMessage( - com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); - tag_ = subBuilder.buildPartial(); - } - tagCase_ = 2; - break; + tag_ = + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); + tag_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - tagCase_ = 3; - tag_ = s; - break; + tagCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + tagCase_ = 3; + tag_ = s; + break; + } + case 34: { + com.google.protobuf.Empty.Builder subBuilder = null; + if (tagCase_ == 4) { + subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); } - case 34: - { - com.google.protobuf.Empty.Builder subBuilder = null; - if (tagCase_ == 4) { - subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); - } - tag_ = input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); - tag_ = subBuilder.buildPartial(); - } - tagCase_ = 4; - break; + tag_ = + input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tagCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - .class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder.class); } private int tagCase_ = 0; private java.lang.Object tag_; - public enum TagCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE(2), CUSTOM_TAG(3), INFERRED(4), TAG_NOT_SET(0); private final int value; - private TagCase(int value) { this.value = value; } @@ -5369,40 +4791,32 @@ public static TagCase valueOf(int value) { public static TagCase forNumber(int value) { switch (value) { - case 2: - return INFO_TYPE; - case 3: - return CUSTOM_TAG; - case 4: - return INFERRED; - case 0: - return TAG_NOT_SET; - default: - return null; + case 2: return INFO_TYPE; + case 3: return CUSTOM_TAG; + case 4: return INFERRED; + case 0: return TAG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TagCase getTagCase() { - return TagCase.forNumber(tagCase_); + public TagCase + getTagCase() { + return TagCase.forNumber( + tagCase_); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.FieldId field_; /** - * - * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ @java.lang.Override @@ -5410,15 +4824,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ @java.lang.Override @@ -5426,14 +4836,11 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { @@ -5442,8 +4849,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int INFO_TYPE_FIELD_NUMBER = 2; /** - * - * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -5453,7 +4858,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -5461,8 +4865,6 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** - * - * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -5472,19 +4874,16 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { if (tagCase_ == 2) { - return (com.google.privacy.dlp.v2.InfoType) tag_; + return (com.google.privacy.dlp.v2.InfoType) tag_; } return com.google.privacy.dlp.v2.InfoType.getDefaultInstance(); } /** - * - * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -5498,15 +4897,13 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
       @java.lang.Override
       public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
         if (tagCase_ == 2) {
-          return (com.google.privacy.dlp.v2.InfoType) tag_;
+           return (com.google.privacy.dlp.v2.InfoType) tag_;
         }
         return com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
       }
 
       public static final int CUSTOM_TAG_FIELD_NUMBER = 3;
       /**
-       *
-       *
        * 
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -5514,15 +4911,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
        * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ public boolean hasCustomTag() { return tagCase_ == 3; } /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -5530,7 +4924,6 @@ public boolean hasCustomTag() {
        * 
* * string custom_tag = 3; - * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -5541,7 +4934,8 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -5550,8 +4944,6 @@ public java.lang.String getCustomTag() { } } /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -5559,17 +4951,18 @@ public java.lang.String getCustomTag() {
        * 
* * string custom_tag = 3; - * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -5581,15 +4974,12 @@ public com.google.protobuf.ByteString getCustomTagBytes() { public static final int INFERRED_FIELD_NUMBER = 4; /** - * - * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; - * * @return Whether the inferred field is set. */ @java.lang.Override @@ -5597,27 +4987,22 @@ public boolean hasInferred() { return tagCase_ == 4; } /** - * - * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; - * * @return The inferred. */ @java.lang.Override public com.google.protobuf.Empty getInferred() { if (tagCase_ == 4) { - return (com.google.protobuf.Empty) tag_; + return (com.google.protobuf.Empty) tag_; } return com.google.protobuf.Empty.getDefaultInstance(); } /** - * - * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
@@ -5628,13 +5013,12 @@ public com.google.protobuf.Empty getInferred() {
       @java.lang.Override
       public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
         if (tagCase_ == 4) {
-          return (com.google.protobuf.Empty) tag_;
+           return (com.google.protobuf.Empty) tag_;
         }
         return com.google.protobuf.Empty.getDefaultInstance();
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -5646,7 +5030,8 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
         if (field_ != null) {
           output.writeMessage(1, getField());
         }
@@ -5669,20 +5054,19 @@ public int getSerializedSize() {
 
         size = 0;
         if (field_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(1, getField());
         }
         if (tagCase_ == 2) {
-          size +=
-              com.google.protobuf.CodedOutputStream.computeMessageSize(
-                  2, (com.google.privacy.dlp.v2.InfoType) tag_);
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, (com.google.privacy.dlp.v2.InfoType) tag_);
         }
         if (tagCase_ == 3) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tag_);
         }
         if (tagCase_ == 4) {
-          size +=
-              com.google.protobuf.CodedOutputStream.computeMessageSize(
-                  4, (com.google.protobuf.Empty) tag_);
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(4, (com.google.protobuf.Empty) tag_);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -5692,29 +5076,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)) {
+        if (!(obj instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)) {
           return super.equals(obj);
         }
-        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other =
-            (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) obj;
+        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) obj;
 
         if (hasField() != other.hasField()) return false;
         if (hasField()) {
-          if (!getField().equals(other.getField())) return false;
+          if (!getField()
+              .equals(other.getField())) return false;
         }
         if (!getTagCase().equals(other.getTagCase())) return false;
         switch (tagCase_) {
           case 2:
-            if (!getInfoType().equals(other.getInfoType())) return false;
+            if (!getInfoType()
+                .equals(other.getInfoType())) return false;
             break;
           case 3:
-            if (!getCustomTag().equals(other.getCustomTag())) return false;
+            if (!getCustomTag()
+                .equals(other.getCustomTag())) return false;
             break;
           case 4:
-            if (!getInferred().equals(other.getInferred())) return false;
+            if (!getInferred()
+                .equals(other.getInferred())) return false;
             break;
           case 0:
           default:
@@ -5755,103 +5141,88 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(java.nio.ByteBuffer data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(
-              java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(com.google.protobuf.ByteString data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
+          com.google.protobuf.ByteString data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(
-              com.google.protobuf.ByteString data,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
+          com.google.protobuf.ByteString data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseDelimitedFrom(
-              java.io.InputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-            PARSER, input, extensionRegistry);
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField prototype) {
+      public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -5861,50 +5232,44 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * A column with a semantic tag attached.
        * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - .class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.newBuilder() + // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5920,22 +5285,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField - .getDefaultInstance(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField build() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = - buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5943,10 +5305,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField - buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = - new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField(this); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField buildPartial() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -5978,79 +5338,67 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) { - return mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) other); + if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) { + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other) { - if (other - == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other) { + if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } switch (other.getTagCase()) { - case INFO_TYPE: - { - mergeInfoType(other.getInfoType()); - break; - } - case CUSTOM_TAG: - { - tagCase_ = 3; - tag_ = other.tag_; - onChanged(); - break; - } - case INFERRED: - { - mergeInferred(other.getInferred()); - break; - } - case TAG_NOT_SET: - { - break; - } + case INFO_TYPE: { + mergeInfoType(other.getInfoType()); + break; + } + case CUSTOM_TAG: { + tagCase_ = 3; + tag_ = other.tag_; + onChanged(); + break; + } + case INFERRED: { + mergeInferred(other.getInferred()); + break; + } + case TAG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -6067,14 +5415,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parsedMessage = - null; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6083,12 +5428,12 @@ public Builder mergeFrom( } return this; } - private int tagCase_ = 0; private java.lang.Object tag_; - - public TagCase getTagCase() { - return TagCase.forNumber(tagCase_); + public TagCase + getTagCase() { + return TagCase.forNumber( + tagCase_); } public Builder clearTag() { @@ -6098,37 +5443,27 @@ public Builder clearTag() { return this; } + private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -6139,14 +5474,11 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { @@ -6162,16 +5494,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -6182,22 +5512,17 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -6209,14 +5534,11 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -6230,72 +5552,56 @@ public Builder clearField() { return this; } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; /** - * - * *
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6305,7 +5611,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -6313,8 +5618,6 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** - * - * *
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6324,7 +5627,6 @@ public boolean hasInfoType() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override @@ -6342,8 +5644,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { } } /** - * - * *
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6368,8 +5668,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6380,7 +5678,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
          *
          * .google.privacy.dlp.v2.InfoType info_type = 2;
          */
-        public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+        public Builder setInfoType(
+            com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
           if (infoTypeBuilder_ == null) {
             tag_ = builderForValue.build();
             onChanged();
@@ -6391,8 +5690,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
           return this;
         }
         /**
-         *
-         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6405,12 +5702,10 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
          */
         public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           if (infoTypeBuilder_ == null) {
-            if (tagCase_ == 2 && tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
-              tag_ =
-                  com.google.privacy.dlp.v2.InfoType.newBuilder(
-                          (com.google.privacy.dlp.v2.InfoType) tag_)
-                      .mergeFrom(value)
-                      .buildPartial();
+            if (tagCase_ == 2 &&
+                tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
+              tag_ = com.google.privacy.dlp.v2.InfoType.newBuilder((com.google.privacy.dlp.v2.InfoType) tag_)
+                  .mergeFrom(value).buildPartial();
             } else {
               tag_ = value;
             }
@@ -6425,8 +5720,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6454,8 +5747,6 @@ public Builder clearInfoType() {
           return this;
         }
         /**
-         *
-         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6470,8 +5761,6 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
           return getInfoTypeFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6494,8 +5783,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
           }
         }
         /**
-         *
-         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -6507,31 +5794,25 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * .google.privacy.dlp.v2.InfoType info_type = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
             getInfoTypeFieldBuilder() {
           if (infoTypeBuilder_ == null) {
             if (!(tagCase_ == 2)) {
               tag_ = com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
             }
-            infoTypeBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.privacy.dlp.v2.InfoType,
-                    com.google.privacy.dlp.v2.InfoType.Builder,
-                    com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                    (com.google.privacy.dlp.v2.InfoType) tag_, getParentForChildren(), isClean());
+            infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                    (com.google.privacy.dlp.v2.InfoType) tag_,
+                    getParentForChildren(),
+                    isClean());
             tag_ = null;
           }
           tagCase_ = 2;
-          onChanged();
-          ;
+          onChanged();;
           return infoTypeBuilder_;
         }
 
         /**
-         *
-         *
          * 
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -6539,7 +5820,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ @java.lang.Override @@ -6547,8 +5827,6 @@ public boolean hasCustomTag() { return tagCase_ == 3; } /** - * - * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -6556,7 +5834,6 @@ public boolean hasCustomTag() {
          * 
* * string custom_tag = 3; - * * @return The customTag. */ @java.lang.Override @@ -6566,7 +5843,8 @@ public java.lang.String getCustomTag() { ref = tag_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -6577,8 +5855,6 @@ public java.lang.String getCustomTag() { } } /** - * - * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -6586,18 +5862,19 @@ public java.lang.String getCustomTag() {
          * 
* * string custom_tag = 3; - * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -6607,8 +5884,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } } /** - * - * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -6616,22 +5891,20 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
          * 
* * string custom_tag = 3; - * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag(java.lang.String value) { + public Builder setCustomTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - tagCase_ = 3; + throw new NullPointerException(); + } + tagCase_ = 3; tag_ = value; onChanged(); return this; } /** - * - * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -6639,7 +5912,6 @@ public Builder setCustomTag(java.lang.String value) {
          * 
* * string custom_tag = 3; - * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -6651,8 +5923,6 @@ public Builder clearCustomTag() { return this; } /** - * - * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -6660,15 +5930,15 @@ public Builder clearCustomTag() {
          * 
* * string custom_tag = 3; - * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); tagCase_ = 3; tag_ = value; onChanged(); @@ -6676,20 +5946,14 @@ public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Empty, - com.google.protobuf.Empty.Builder, - com.google.protobuf.EmptyOrBuilder> - inferredBuilder_; + com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> inferredBuilder_; /** - * - * *
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
          * 
* * .google.protobuf.Empty inferred = 4; - * * @return Whether the inferred field is set. */ @java.lang.Override @@ -6697,15 +5961,12 @@ public boolean hasInferred() { return tagCase_ == 4; } /** - * - * *
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
          * 
* * .google.protobuf.Empty inferred = 4; - * * @return The inferred. */ @java.lang.Override @@ -6723,8 +5984,6 @@ public com.google.protobuf.Empty getInferred() { } } /** - * - * *
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6746,8 +6005,6 @@ public Builder setInferred(com.google.protobuf.Empty value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6755,7 +6012,8 @@ public Builder setInferred(com.google.protobuf.Empty value) {
          *
          * .google.protobuf.Empty inferred = 4;
          */
-        public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
+        public Builder setInferred(
+            com.google.protobuf.Empty.Builder builderForValue) {
           if (inferredBuilder_ == null) {
             tag_ = builderForValue.build();
             onChanged();
@@ -6766,8 +6024,6 @@ public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
           return this;
         }
         /**
-         *
-         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6777,11 +6033,10 @@ public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
          */
         public Builder mergeInferred(com.google.protobuf.Empty value) {
           if (inferredBuilder_ == null) {
-            if (tagCase_ == 4 && tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
-              tag_ =
-                  com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
-                      .mergeFrom(value)
-                      .buildPartial();
+            if (tagCase_ == 4 &&
+                tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
+              tag_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
+                  .mergeFrom(value).buildPartial();
             } else {
               tag_ = value;
             }
@@ -6796,8 +6051,6 @@ public Builder mergeInferred(com.google.protobuf.Empty value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6822,8 +6075,6 @@ public Builder clearInferred() {
           return this;
         }
         /**
-         *
-         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6835,8 +6086,6 @@ public com.google.protobuf.Empty.Builder getInferredBuilder() {
           return getInferredFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6856,8 +6105,6 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
           }
         }
         /**
-         *
-         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6866,28 +6113,23 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
          * .google.protobuf.Empty inferred = 4;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Empty,
-                com.google.protobuf.Empty.Builder,
-                com.google.protobuf.EmptyOrBuilder>
+            com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> 
             getInferredFieldBuilder() {
           if (inferredBuilder_ == null) {
             if (!(tagCase_ == 4)) {
               tag_ = com.google.protobuf.Empty.getDefaultInstance();
             }
-            inferredBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.protobuf.Empty,
-                    com.google.protobuf.Empty.Builder,
-                    com.google.protobuf.EmptyOrBuilder>(
-                    (com.google.protobuf.Empty) tag_, getParentForChildren(), isClean());
+            inferredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>(
+                    (com.google.protobuf.Empty) tag_,
+                    getParentForChildren(),
+                    isClean());
             tag_ = null;
           }
           tagCase_ = 4;
-          onChanged();
-          ;
+          onChanged();;
           return inferredBuilder_;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6900,33 +6142,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)
       }
 
       // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)
-      private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          DEFAULT_INSTANCE;
-
+      private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField DEFAULT_INSTANCE;
       static {
-        DEFAULT_INSTANCE =
-            new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField();
+        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField();
       }
 
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          getDefaultInstance() {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public TaggedField parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new TaggedField(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TaggedField parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TaggedField(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -6938,176 +6177,118 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
-    public interface AuxiliaryTableOrBuilder
-        extends
+    public interface AuxiliaryTableOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. Auxiliary table location.
        * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
        * Required. Auxiliary table location.
        * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** - * - * *
        * Required. Auxiliary table location.
        * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField> + java.util.List getQuasiIdsList(); /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - getQuasiIds(int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getQuasiIds(int index); /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getQuasiIdsCount(); /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder> + java.util.List getQuasiIdsOrBuilderList(); /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder - getQuasiIdsOrBuilder(int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder getQuasiIdsOrBuilder( + int index); /** - * - * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the relativeFrequency field is set. */ boolean hasRelativeFrequency(); /** - * - * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The relativeFrequency. */ com.google.privacy.dlp.v2.FieldId getRelativeFrequency(); /** - * - * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder(); } /** - * - * *
      * An auxiliary table contains statistical information on the relative
      * frequency of different quasi-identifiers values. It has one or several
@@ -7120,31 +6301,31 @@ public interface AuxiliaryTableOrBuilder
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable}
      */
-    public static final class AuxiliaryTable extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class AuxiliaryTable extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)
         AuxiliaryTableOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use AuxiliaryTable.newBuilder() to construct.
       private AuxiliaryTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private AuxiliaryTable() {
         quasiIds_ = 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 AuxiliaryTable();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private AuxiliaryTable(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7164,68 +6345,55 @@ private AuxiliaryTable(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    quasiIds_ =
-                        new java.util.ArrayList<
-                            com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
-                                .AuxiliaryTable.QuasiIdField>();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  quasiIds_.add(
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
-                              .AuxiliaryTable.QuasiIdField.parser(),
-                          extensionRegistry));
-                  break;
+              case 10: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  quasiIds_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              case 18:
-                {
-                  com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                  if (relativeFrequency_ != null) {
-                    subBuilder = relativeFrequency_.toBuilder();
-                  }
-                  relativeFrequency_ =
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(relativeFrequency_);
-                    relativeFrequency_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+                quasiIds_.add(
+                    input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.parser(), extensionRegistry));
+                break;
+              }
+              case 18: {
+                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                if (relativeFrequency_ != null) {
+                  subBuilder = relativeFrequency_.toBuilder();
+                }
+                relativeFrequency_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(relativeFrequency_);
+                  relativeFrequency_ = subBuilder.buildPartial();
                 }
-              case 26:
-                {
-                  com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-                  if (table_ != null) {
-                    subBuilder = table_.toBuilder();
-                  }
-                  table_ =
-                      input.readMessage(
-                          com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(table_);
-                    table_ = subBuilder.buildPartial();
-                  }
 
-                  break;
+                break;
+              }
+              case 26: {
+                com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+                if (table_ != null) {
+                  subBuilder = table_.toBuilder();
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                table_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(table_);
+                  table_ = subBuilder.buildPartial();
+                }
+
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -7234,55 +6402,42 @@ private AuxiliaryTable(
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class,
-                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder
-                    .class);
+                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder.class);
       }
 
-      public interface QuasiIdFieldOrBuilder
-          extends
+      public interface QuasiIdFieldOrBuilder extends
           // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)
           com.google.protobuf.MessageOrBuilder {
 
         /**
-         *
-         *
          * 
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
          * Identifies the column.
          * 
@@ -7292,66 +6447,58 @@ public interface QuasiIdFieldOrBuilder com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** - * - * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; - * * @return The customTag. */ java.lang.String getCustomTag(); /** - * - * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; - * * @return The bytes for customTag. */ - com.google.protobuf.ByteString getCustomTagBytes(); + com.google.protobuf.ByteString + getCustomTagBytes(); } /** - * - * *
        * A quasi-identifier column has a custom_tag, used to know which column
        * in the data corresponds to which column in the statistical model.
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} + * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} */ - public static final class QuasiIdField extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QuasiIdField extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) QuasiIdFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QuasiIdField.newBuilder() to construct. private QuasiIdField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QuasiIdField() { customTag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QuasiIdField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QuasiIdField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7370,77 +6517,65 @@ private QuasiIdField( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage( - com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - customTag_ = s; - break; + field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + customTag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.class, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.FieldId field_; /** - * - * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -7448,14 +6583,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -7463,8 +6595,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
          * Identifies the column.
          * 
@@ -7479,14 +6609,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int CUSTOM_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object customTag_; /** - * - * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; - * * @return The customTag. */ @java.lang.Override @@ -7495,29 +6622,29 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; } } /** - * - * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; - * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customTag_ = b; return b; } else { @@ -7526,7 +6653,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7539,7 +6665,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } @@ -7556,7 +6682,8 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getField()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, customTag_); @@ -7569,25 +6696,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField)) { + if (!(obj instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - other = - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField) - obj; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } - if (!getCustomTag().equals(other.getCustomTag())) return false; + if (!getCustomTag() + .equals(other.getCustomTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7610,118 +6732,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7731,54 +6823,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
          * A quasi-identifier column has a custom_tag, used to know which column
          * in the data corresponds to which column in the statistical model.
          * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} + * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.class, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.newBuilder() + // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7794,25 +6877,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.getDefaultInstance(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - build() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - result = buildPartial(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField build() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7820,13 +6897,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - result = - new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField(this); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField buildPartial() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -7841,60 +6913,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField) { - return mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField) - other); + if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) { + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - other) { - if (other - == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField other) { + if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } @@ -7917,15 +6975,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - parsedMessage = null; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7937,47 +6991,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; /** - * - * *
            * Identifies the column.
            * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
            * Identifies the column.
            * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { if (fieldBuilder_ == null) { - return field_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } else { return fieldBuilder_.getMessage(); } } /** - * - * *
            * Identifies the column.
            * 
@@ -7998,15 +7039,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
            * Identifies the column.
            * 
* * .google.privacy.dlp.v2.FieldId field = 1; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -8017,8 +7057,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
            * Identifies the column.
            * 
@@ -8029,9 +7067,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -8043,8 +7079,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
            * Identifies the column.
            * 
@@ -8063,8 +7097,6 @@ public Builder clearField() { return this; } /** - * - * *
            * Identifies the column.
            * 
@@ -8072,13 +7104,11 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
            * Identifies the column.
            * 
@@ -8089,14 +7119,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
            * Identifies the column.
            * 
@@ -8104,17 +7131,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -8122,20 +7146,18 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private java.lang.Object customTag_ = ""; /** - * - * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; - * * @return The customTag. */ public java.lang.String getCustomTag() { java.lang.Object ref = customTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; @@ -8144,21 +7166,20 @@ public java.lang.String getCustomTag() { } } /** - * - * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; - * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customTag_ = b; return b; } else { @@ -8166,66 +7187,58 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } } /** - * - * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; - * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag(java.lang.String value) { + public Builder setCustomTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customTag_ = value; onChanged(); return this; } /** - * - * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; - * * @return This builder for chaining. */ public Builder clearCustomTag() { - + customTag_ = getDefaultInstance().getCustomTag(); onChanged(); return this; } /** - * - * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; - * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customTag_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8238,36 +7251,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) - private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .AuxiliaryTable.QuasiIdField - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField(); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - getDefaultInstance() { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuasiIdField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuasiIdField(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuasiIdField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuasiIdField(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8279,26 +7286,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TABLE_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.BigQueryTable table_; /** - * - * *
        * Required. Auxiliary table location.
        * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -8306,34 +7307,23 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
        * Required. Auxiliary table location.
        * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTable() { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } /** - * - * *
        * Required. Auxiliary table location.
        * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { @@ -8341,111 +7331,74 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { } public static final int QUASI_IDS_FIELD_NUMBER = 1; - private java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField> - quasiIds_; + private java.util.List quasiIds_; /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField> - getQuasiIdsList() { + public java.util.List getQuasiIdsList() { return quasiIds_; } /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder> + public java.util.List getQuasiIdsOrBuilderList() { return quasiIds_; } /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - getQuasiIds(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getQuasiIds(int index) { return quasiIds_.get(index); } /** - * - * *
        * Required. Quasi-identifier columns.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder - getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder getQuasiIdsOrBuilder( + int index) { return quasiIds_.get(index); } public static final int RELATIVE_FREQUENCY_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId relativeFrequency_; /** - * - * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the relativeFrequency field is set. */ @java.lang.Override @@ -8453,36 +7406,25 @@ public boolean hasRelativeFrequency() { return relativeFrequency_ != null; } /** - * - * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The relativeFrequency. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { - return relativeFrequency_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : relativeFrequency_; + return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; } /** - * - * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { @@ -8490,7 +7432,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8502,7 +7443,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -8522,14 +7464,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIds_.get(i)); } if (relativeFrequency_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRelativeFrequency()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRelativeFrequency()); } if (table_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTable()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8539,24 +7483,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)) { + if (!(obj instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other = - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) obj; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } - if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; + if (!getQuasiIdsList() + .equals(other.getQuasiIdsList())) return false; if (hasRelativeFrequency() != other.hasRelativeFrequency()) return false; if (hasRelativeFrequency()) { - if (!getRelativeFrequency().equals(other.getRelativeFrequency())) return false; + if (!getRelativeFrequency() + .equals(other.getRelativeFrequency())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -8586,103 +7530,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8692,8 +7621,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * An auxiliary table contains statistical information on the relative
        * frequency of different quasi-identifiers values. It has one or several
@@ -8704,47 +7631,41 @@ protected Builder newBuilderForType(
        * tuple is highly reidentifiable).
        * 
* - * Protobuf type {@code - * google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable} + * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.newBuilder() + // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQuasiIdsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8770,22 +7691,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .getDefaultInstance(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable build() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = - buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8793,10 +7711,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = - new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(this); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable buildPartial() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(this); int from_bitField0_ = bitField0_; if (tableBuilder_ == null) { result.table_ = table_; @@ -8825,56 +7741,46 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) { - return mergeFrom( - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) - other); + if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) { + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other) { - if (other - == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other) { + if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance()) return this; if (other.hasTable()) { mergeTable(other.getTable()); } @@ -8896,10 +7802,9 @@ public Builder mergeFrom( quasiIdsBuilder_ = null; quasiIds_ = other.quasiIds_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQuasiIdsFieldBuilder() - : null; + quasiIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQuasiIdsFieldBuilder() : null; } else { quasiIdsBuilder_.addAllMessages(other.quasiIds_); } @@ -8923,14 +7828,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - parsedMessage = null; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8939,63 +7841,43 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.privacy.dlp.v2.BigQueryTable table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - tableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_; /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (tableBuilder_ == null) { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { @@ -9011,17 +7893,14 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setTable( + com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); @@ -9032,23 +7911,17 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderF return this; } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -9060,15 +7933,11 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { if (tableBuilder_ == null) { @@ -9082,108 +7951,73 @@ public Builder clearTable() { return this; } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { - + onChanged(); return getTableFieldBuilder().getBuilder(); } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } } /** - * - * *
          * Required. Auxiliary table location.
          * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; } - private java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField> - quasiIds_ = java.util.Collections.emptyList(); - + private java.util.List quasiIds_ = + java.util.Collections.emptyList(); private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIds_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField>(quasiIds_); + quasiIds_ = new java.util.ArrayList(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder> - quasiIdsBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder> quasiIdsBuilder_; /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField> - getQuasiIdsList() { + public java.util.List getQuasiIdsList() { if (quasiIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(quasiIds_); } else { @@ -9191,15 +8025,11 @@ private void ensureQuasiIdsIsMutable() { } } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -9209,19 +8039,13 @@ public int getQuasiIdsCount() { } } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField - getQuasiIds(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { return quasiIds_.get(index); } else { @@ -9229,20 +8053,14 @@ public int getQuasiIdsCount() { } } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - value) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9256,21 +8074,14 @@ public Builder setQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - .Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.set(index, builderForValue.build()); @@ -9281,19 +8092,13 @@ public Builder setQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addQuasiIds( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - value) { + public Builder addQuasiIds(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9307,20 +8112,14 @@ public Builder addQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - value) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9334,20 +8133,14 @@ public Builder addQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - .Builder - builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(builderForValue.build()); @@ -9358,21 +8151,14 @@ public Builder addQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField - .Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(index, builderForValue.build()); @@ -9383,25 +8169,18 @@ public Builder addQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllQuasiIds( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField> - values) { + java.lang.Iterable values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -9409,15 +8188,11 @@ public Builder addAllQuasiIds( return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -9430,15 +8205,11 @@ public Builder clearQuasiIds() { return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -9451,57 +8222,39 @@ public Builder removeQuasiIds(int index) { return this; } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder - getQuasiIdsBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder getQuasiIdsBuilder( + int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder - getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder getQuasiIdsOrBuilder( + int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); - } else { + return quasiIds_.get(index); } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder> - getQuasiIdsOrBuilderList() { + public java.util.List + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -9509,80 +8262,49 @@ public Builder removeQuasiIds(int index) { } } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder - addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder addQuasiIdsBuilder() { + return getQuasiIdsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance()); } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder - addQuasiIdsBuilder(int index) { - return getQuasiIdsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder addQuasiIdsBuilder( + int index) { + return getQuasiIdsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance()); } /** - * - * *
          * Required. Quasi-identifier columns.
          * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder> - getQuasiIdsBuilderList() { + public java.util.List + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdField.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .QuasiIdFieldOrBuilder>( - quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder>( + quasiIds_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -9590,61 +8312,42 @@ public Builder removeQuasiIds(int index) { private com.google.privacy.dlp.v2.FieldId relativeFrequency_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - relativeFrequencyBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> relativeFrequencyBuilder_; /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the relativeFrequency field is set. */ public boolean hasRelativeFrequency() { return relativeFrequencyBuilder_ != null || relativeFrequency_ != null; } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The relativeFrequency. */ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { - return relativeFrequency_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : relativeFrequency_; + return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; } else { return relativeFrequencyBuilder_.getMessage(); } } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { @@ -9659,17 +8362,13 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } - /** - * - * + /** *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRelativeFrequency( com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { @@ -9683,24 +8382,18 @@ public Builder setRelativeFrequency( return this; } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { if (relativeFrequency_ != null) { relativeFrequency_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_).mergeFrom(value).buildPartial(); } else { relativeFrequency_ = value; } @@ -9712,16 +8405,12 @@ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { @@ -9735,72 +8424,55 @@ public Builder clearRelativeFrequency() { return this; } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId.Builder getRelativeFrequencyBuilder() { - + onChanged(); return getRelativeFrequencyFieldBuilder().getBuilder(); } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { if (relativeFrequencyBuilder_ != null) { return relativeFrequencyBuilder_.getMessageOrBuilder(); } else { - return relativeFrequency_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : relativeFrequency_; + return relativeFrequency_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; } } /** - * - * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getRelativeFrequencyFieldBuilder() { if (relativeFrequencyBuilder_ == null) { - relativeFrequencyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getRelativeFrequency(), getParentForChildren(), isClean()); + relativeFrequencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getRelativeFrequency(), + getParentForChildren(), + isClean()); relativeFrequency_ = null; } return relativeFrequencyBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9813,34 +8485,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) - private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .AuxiliaryTable - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - getDefaultInstance() { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuxiliaryTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuxiliaryTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuxiliaryTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuxiliaryTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9852,107 +8520,80 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int QUASI_IDS_FIELD_NUMBER = 1; - private java.util.List - quasiIds_; + private java.util.List quasiIds_; /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getQuasiIdsList() { + public java.util.List getQuasiIdsList() { return quasiIds_; } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> + public java.util.List getQuasiIdsOrBuilderList() { return quasiIds_; } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index) { return quasiIds_.get(index); } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder - getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder( + int index) { return quasiIds_.get(index); } public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -9960,7 +8601,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
      * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -9969,15 +8609,14 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -9985,15 +8624,16 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -10002,105 +8642,76 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } public static final int AUXILIARY_TABLES_FIELD_NUMBER = 3; - private java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> - auxiliaryTables_; + private java.util.List auxiliaryTables_; /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ @java.lang.Override - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> - getAuxiliaryTablesList() { + public java.util.List getAuxiliaryTablesList() { return auxiliaryTables_; } /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .AuxiliaryTableOrBuilder> + public java.util.List getAuxiliaryTablesOrBuilderList() { return auxiliaryTables_; } /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ @java.lang.Override public int getAuxiliaryTablesCount() { return auxiliaryTables_.size(); } /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - getAuxiliaryTables(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index) { return auxiliaryTables_.get(index); } /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder - getAuxiliaryTablesOrBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder( + int index) { return auxiliaryTables_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10112,7 +8723,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -10132,14 +8744,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } for (int i = 0; i < auxiliaryTables_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, auxiliaryTables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, auxiliaryTables_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10149,17 +8762,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig other = - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) obj; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) obj; - if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; - if (!getAuxiliaryTablesList().equals(other.getAuxiliaryTablesList())) return false; + if (!getQuasiIdsList() + .equals(other.getQuasiIdsList())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; + if (!getAuxiliaryTablesList() + .equals(other.getAuxiliaryTablesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10187,94 +8802,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10284,8 +8892,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Reidentifiability metric. This corresponds to a risk model similar to what
      * is called "journalist risk" in the literature, except the attack dataset is
@@ -10297,24 +8903,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class,
-                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.newBuilder()
@@ -10322,18 +8925,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getQuasiIdsFieldBuilder();
           getAuxiliaryTablesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10355,14 +8958,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance();
       }
 
@@ -10377,8 +8979,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig result =
-            new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(this);
         int from_bitField0_ = bitField0_;
         if (quasiIdsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -10407,41 +9008,38 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig buildPartial
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) other);
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -10449,9 +9047,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig other) {
-        if (other
-            == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance()) return this;
         if (quasiIdsBuilder_ == null) {
           if (!other.quasiIds_.isEmpty()) {
             if (quasiIds_.isEmpty()) {
@@ -10470,10 +9066,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC
               quasiIdsBuilder_ = null;
               quasiIds_ = other.quasiIds_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              quasiIdsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getQuasiIdsFieldBuilder()
-                      : null;
+              quasiIdsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getQuasiIdsFieldBuilder() : null;
             } else {
               quasiIdsBuilder_.addAllMessages(other.quasiIds_);
             }
@@ -10501,10 +9096,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC
               auxiliaryTablesBuilder_ = null;
               auxiliaryTables_ = other.auxiliaryTables_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              auxiliaryTablesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getAuxiliaryTablesFieldBuilder()
-                      : null;
+              auxiliaryTablesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getAuxiliaryTablesFieldBuilder() : null;
             } else {
               auxiliaryTablesBuilder_.addAllMessages(other.auxiliaryTables_);
             }
@@ -10529,9 +9123,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10540,44 +9132,29 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List<
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField>
-          quasiIds_ = java.util.Collections.emptyList();
-
+      private java.util.List quasiIds_ =
+        java.util.Collections.emptyList();
       private void ensureQuasiIdsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          quasiIds_ =
-              new java.util.ArrayList<
-                  com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField>(
-                  quasiIds_);
+          quasiIds_ = new java.util.ArrayList(quasiIds_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField,
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder,
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder>
-          quasiIdsBuilder_;
+          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> quasiIdsBuilder_;
 
       /**
-       *
-       *
        * 
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField> - getQuasiIdsList() { + public java.util.List getQuasiIdsList() { if (quasiIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(quasiIds_); } else { @@ -10585,16 +9162,12 @@ private void ensureQuasiIdsIsMutable() { } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -10604,19 +9177,14 @@ public int getQuasiIdsCount() { } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { return quasiIds_.get(index); } else { @@ -10624,20 +9192,15 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10651,21 +9214,15 @@ public Builder setQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.set(index, builderForValue.build()); @@ -10676,19 +9233,14 @@ public Builder setQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addQuasiIds( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { + public Builder addQuasiIds(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10702,20 +9254,15 @@ public Builder addQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10729,20 +9276,15 @@ public Builder addQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(builderForValue.build()); @@ -10753,21 +9295,15 @@ public Builder addQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(index, builderForValue.build()); @@ -10778,25 +9314,19 @@ public Builder addQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllQuasiIds( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField> - values) { + java.lang.Iterable values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -10804,16 +9334,12 @@ public Builder addAllQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -10826,16 +9352,12 @@ public Builder clearQuasiIds() { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -10848,57 +9370,42 @@ public Builder removeQuasiIds(int index) { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - getQuasiIdsBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder getQuasiIdsBuilder( + int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder - getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder( + int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); - } else { + return quasiIds_.get(index); } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> - getQuasiIdsOrBuilderList() { + public java.util.List + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -10906,75 +9413,52 @@ public Builder removeQuasiIds(int index) { } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField - .getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder addQuasiIdsBuilder() { + return getQuasiIdsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance()); } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder - addQuasiIdsBuilder(int index) { - return getQuasiIdsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField - .getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder addQuasiIdsBuilder( + int index) { + return getQuasiIdsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance()); } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder> - getQuasiIdsBuilderList() { + public java.util.List + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .TaggedFieldOrBuilder>( - quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder>( + quasiIds_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -10982,8 +9466,6 @@ public Builder removeQuasiIds(int index) { private java.lang.Object regionCode_ = ""; /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -10991,13 +9473,13 @@ public Builder removeQuasiIds(int index) {
        * 
* * string region_code = 2; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -11006,8 +9488,6 @@ public java.lang.String getRegionCode() { } } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11015,14 +9495,15 @@ public java.lang.String getRegionCode() {
        * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -11030,8 +9511,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11039,22 +9518,20 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
        * 
* * string region_code = 2; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11062,18 +9539,15 @@ public Builder setRegionCode(java.lang.String value) {
        * 
* * string region_code = 2; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11081,57 +9555,43 @@ public Builder clearRegionCode() {
        * 
* * string region_code = 2; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; } - private java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> - auxiliaryTables_ = java.util.Collections.emptyList(); - + private java.util.List auxiliaryTables_ = + java.util.Collections.emptyList(); private void ensureAuxiliaryTablesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - auxiliaryTables_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable>( - auxiliaryTables_); + auxiliaryTables_ = new java.util.ArrayList(auxiliaryTables_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> - auxiliaryTablesBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> auxiliaryTablesBuilder_; /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> - getAuxiliaryTablesList() { + public java.util.List getAuxiliaryTablesList() { if (auxiliaryTablesBuilder_ == null) { return java.util.Collections.unmodifiableList(auxiliaryTables_); } else { @@ -11139,17 +9599,13 @@ private void ensureAuxiliaryTablesIsMutable() { } } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public int getAuxiliaryTablesCount() { if (auxiliaryTablesBuilder_ == null) { @@ -11159,20 +9615,15 @@ public int getAuxiliaryTablesCount() { } } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - getAuxiliaryTables(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index) { if (auxiliaryTablesBuilder_ == null) { return auxiliaryTables_.get(index); } else { @@ -11180,21 +9631,16 @@ public int getAuxiliaryTablesCount() { } } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder setAuxiliaryTables( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { if (auxiliaryTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11208,22 +9654,16 @@ public Builder setAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder setAuxiliaryTables( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); auxiliaryTables_.set(index, builderForValue.build()); @@ -11234,20 +9674,15 @@ public Builder setAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public Builder addAuxiliaryTables( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { + public Builder addAuxiliaryTables(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { if (auxiliaryTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11261,21 +9696,16 @@ public Builder addAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder addAuxiliaryTables( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { if (auxiliaryTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11289,21 +9719,16 @@ public Builder addAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder addAuxiliaryTables( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder - builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); auxiliaryTables_.add(builderForValue.build()); @@ -11314,22 +9739,16 @@ public Builder addAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder addAuxiliaryTables( - int index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); auxiliaryTables_.add(index, builderForValue.build()); @@ -11340,26 +9759,20 @@ public Builder addAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder addAllAuxiliaryTables( - java.lang.Iterable< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> - values) { + java.lang.Iterable values) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auxiliaryTables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, auxiliaryTables_); onChanged(); } else { auxiliaryTablesBuilder_.addAllMessages(values); @@ -11367,17 +9780,13 @@ public Builder addAllAuxiliaryTables( return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder clearAuxiliaryTables() { if (auxiliaryTablesBuilder_ == null) { @@ -11390,17 +9799,13 @@ public Builder clearAuxiliaryTables() { return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ public Builder removeAuxiliaryTables(int index) { if (auxiliaryTablesBuilder_ == null) { @@ -11413,61 +9818,45 @@ public Builder removeAuxiliaryTables(int index) { return this; } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder - getAuxiliaryTablesBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder getAuxiliaryTablesBuilder( + int index) { return getAuxiliaryTablesFieldBuilder().getBuilder(index); } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder - getAuxiliaryTablesOrBuilder(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder( + int index) { if (auxiliaryTablesBuilder_ == null) { - return auxiliaryTables_.get(index); - } else { + return auxiliaryTables_.get(index); } else { return auxiliaryTablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .AuxiliaryTableOrBuilder> - getAuxiliaryTablesOrBuilderList() { + public java.util.List + getAuxiliaryTablesOrBuilderList() { if (auxiliaryTablesBuilder_ != null) { return auxiliaryTablesBuilder_.getMessageOrBuilderList(); } else { @@ -11475,78 +9864,51 @@ public Builder removeAuxiliaryTables(int index) { } } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder - addAuxiliaryTablesBuilder() { - return getAuxiliaryTablesFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder addAuxiliaryTablesBuilder() { + return getAuxiliaryTablesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance()); } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder - addAuxiliaryTablesBuilder(int index) { - return getAuxiliaryTablesFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder addAuxiliaryTablesBuilder( + int index) { + return getAuxiliaryTablesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance()); } /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; */ - public java.util.List< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder> - getAuxiliaryTablesBuilderList() { + public java.util.List + getAuxiliaryTablesBuilderList() { return getAuxiliaryTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> getAuxiliaryTablesFieldBuilder() { if (auxiliaryTablesBuilder_ == null) { - auxiliaryTablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable - .Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .AuxiliaryTableOrBuilder>( + auxiliaryTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder>( auxiliaryTables_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -11555,7 +9917,6 @@ public Builder removeAuxiliaryTables(int index) { } return auxiliaryTablesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11568,32 +9929,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) - private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - getDefaultInstance() { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11605,86 +9964,66 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeltaPresenceEstimationConfigOrBuilder - extends + public interface DeltaPresenceEstimationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getQuasiIdsList(); + java.util.List + getQuasiIdsList(); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getQuasiIdsCount(); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getQuasiIdsOrBuilderList(); + java.util.List + getQuasiIdsOrBuilderList(); /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index); + com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( + int index); /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -11692,13 +10031,10 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      * 
* * string region_code = 2; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -11706,14 +10042,12 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); - /** - * - * + /** *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -11722,10 +10056,9 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
-    java.util.List getAuxiliaryTablesList();
+    java.util.List 
+        getAuxiliaryTablesList();
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -11736,8 +10069,6 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      */
     com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index);
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -11748,8 +10079,6 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      */
     int getAuxiliaryTablesCount();
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -11758,11 +10087,9 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
-    java.util.List
+    java.util.List 
         getAuxiliaryTablesOrBuilderList();
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -11771,11 +10098,10 @@ public interface DeltaPresenceEstimationConfigOrBuilder
      *
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
-    com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(int index);
+    com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * δ-presence metric, used to estimate how likely it is for an attacker to
    * figure out that one given individual appears in a de-identified dataset.
@@ -11785,18 +10111,15 @@ public interface DeltaPresenceEstimationConfigOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig}
    */
-  public static final class DeltaPresenceEstimationConfig
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DeltaPresenceEstimationConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
       DeltaPresenceEstimationConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DeltaPresenceEstimationConfig.newBuilder() to construct.
-    private DeltaPresenceEstimationConfig(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private DeltaPresenceEstimationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DeltaPresenceEstimationConfig() {
       quasiIds_ = java.util.Collections.emptyList();
       regionCode_ = "";
@@ -11805,15 +10128,16 @@ private DeltaPresenceEstimationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DeltaPresenceEstimationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private DeltaPresenceEstimationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11833,49 +10157,44 @@ private DeltaPresenceEstimationConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  quasiIds_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                quasiIds_.add(
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.QuasiId.parser(), extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                quasiIds_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              quasiIds_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.QuasiId.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                regionCode_ = s;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  auxiliaryTables_ =
-                      new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                auxiliaryTables_.add(
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.StatisticalTable.parser(), extensionRegistry));
-                break;
+              regionCode_ = s;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                auxiliaryTables_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              auxiliaryTables_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.StatisticalTable.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -11887,111 +10206,87 @@ private DeltaPresenceEstimationConfig(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class,
-              com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
     }
 
     public static final int QUASI_IDS_FIELD_NUMBER = 1;
     private java.util.List quasiIds_;
     /**
-     *
-     *
      * 
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getQuasiIdsList() { return quasiIds_; } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getQuasiIdsOrBuilderList() { return quasiIds_; } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { return quasiIds_.get(index); } /** - * - * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( + int index) { return quasiIds_.get(index); } public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -11999,7 +10294,6 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index
      * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -12008,15 +10302,14 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -12024,15 +10317,16 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -12043,8 +10337,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int AUXILIARY_TABLES_FIELD_NUMBER = 3; private java.util.List auxiliaryTables_; /** - * - * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -12058,8 +10350,6 @@ public java.util.List getAuxiliaryTa
       return auxiliaryTables_;
     }
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -12069,13 +10359,11 @@ public java.util.List getAuxiliaryTa
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getAuxiliaryTablesOrBuilderList() {
       return auxiliaryTables_;
     }
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -12089,8 +10377,6 @@ public int getAuxiliaryTablesCount() {
       return auxiliaryTables_.size();
     }
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -12104,8 +10390,6 @@ public com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index)
       return auxiliaryTables_.get(index);
     }
     /**
-     *
-     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -12121,7 +10405,6 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -12133,7 +10416,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < quasiIds_.size(); i++) {
         output.writeMessage(1, quasiIds_.get(i));
       }
@@ -12153,14 +10437,15 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < quasiIds_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, quasiIds_.get(i));
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_);
       }
       for (int i = 0; i < auxiliaryTables_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(3, auxiliaryTables_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, auxiliaryTables_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -12170,17 +10455,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.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other =
-          (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) obj;
 
-      if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false;
-      if (!getRegionCode().equals(other.getRegionCode())) return false;
-      if (!getAuxiliaryTablesList().equals(other.getAuxiliaryTablesList())) return false;
+      if (!getQuasiIdsList()
+          .equals(other.getQuasiIdsList())) return false;
+      if (!getRegionCode()
+          .equals(other.getRegionCode())) return false;
+      if (!getAuxiliaryTablesList()
+          .equals(other.getAuxiliaryTablesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -12208,95 +10495,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -12306,8 +10585,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * δ-presence metric, used to estimate how likely it is for an attacker to
      * figure out that one given individual appears in a de-identified dataset.
@@ -12317,45 +10594,40 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class,
-                com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder
-                    .class);
+                com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder()
+      // Construct using com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getQuasiIdsFieldBuilder();
           getAuxiliaryTablesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -12377,22 +10649,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-          getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-            .getDefaultInstance();
+      public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig build() {
-        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result =
-            buildPartial();
+        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -12401,8 +10670,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig bui
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result =
-            new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig(this);
         int from_bitField0_ = bitField0_;
         if (quasiIdsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -12431,54 +10699,46 @@ public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig bui
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) {
-          return mergeFrom(
-              (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) other);
+        if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) {
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other) {
-        if (other
-            == com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other) {
+        if (other == com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance()) return this;
         if (quasiIdsBuilder_ == null) {
           if (!other.quasiIds_.isEmpty()) {
             if (quasiIds_.isEmpty()) {
@@ -12497,10 +10757,9 @@ public Builder mergeFrom(
               quasiIdsBuilder_ = null;
               quasiIds_ = other.quasiIds_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              quasiIdsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getQuasiIdsFieldBuilder()
-                      : null;
+              quasiIdsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getQuasiIdsFieldBuilder() : null;
             } else {
               quasiIdsBuilder_.addAllMessages(other.quasiIds_);
             }
@@ -12528,10 +10787,9 @@ public Builder mergeFrom(
               auxiliaryTablesBuilder_ = null;
               auxiliaryTables_ = other.auxiliaryTables_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              auxiliaryTablesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getAuxiliaryTablesFieldBuilder()
-                      : null;
+              auxiliaryTablesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getAuxiliaryTablesFieldBuilder() : null;
             } else {
               auxiliaryTablesBuilder_.addAllMessages(other.auxiliaryTables_);
             }
@@ -12556,9 +10814,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12567,36 +10823,27 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List quasiIds_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureQuasiIdsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           quasiIds_ = new java.util.ArrayList(quasiIds_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.QuasiId,
-              com.google.privacy.dlp.v2.QuasiId.Builder,
-              com.google.privacy.dlp.v2.QuasiIdOrBuilder>
-          quasiIdsBuilder_;
+          com.google.privacy.dlp.v2.QuasiId, com.google.privacy.dlp.v2.QuasiId.Builder, com.google.privacy.dlp.v2.QuasiIdOrBuilder> quasiIdsBuilder_;
 
       /**
-       *
-       *
        * 
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getQuasiIdsList() { if (quasiIdsBuilder_ == null) { @@ -12606,16 +10853,12 @@ public java.util.List getQuasiIdsList() { } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -12625,16 +10868,12 @@ public int getQuasiIdsCount() { } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -12644,18 +10883,15 @@ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { + public Builder setQuasiIds( + int index, com.google.privacy.dlp.v2.QuasiId value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12669,16 +10905,12 @@ public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( int index, com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { @@ -12692,16 +10924,12 @@ public Builder setQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId value) { if (quasiIdsBuilder_ == null) { @@ -12717,18 +10945,15 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId value) { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { + public Builder addQuasiIds( + int index, com.google.privacy.dlp.v2.QuasiId value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12742,18 +10967,15 @@ public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { + public Builder addQuasiIds( + com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(builderForValue.build()); @@ -12764,16 +10986,12 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId.Builder builderForV return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( int index, com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { @@ -12787,22 +11005,19 @@ public Builder addQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllQuasiIds( java.lang.Iterable values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -12810,16 +11025,12 @@ public Builder addAllQuasiIds( return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -12832,16 +11043,12 @@ public Builder clearQuasiIds() { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -12854,53 +11061,42 @@ public Builder removeQuasiIds(int index) { return this; } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.QuasiId.Builder getQuasiIdsBuilder(int index) { + public com.google.privacy.dlp.v2.QuasiId.Builder getQuasiIdsBuilder( + int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( + int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); - } else { + return quasiIds_.get(index); } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getQuasiIdsOrBuilderList() { + public java.util.List + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -12908,65 +11104,52 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index } } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); + return getQuasiIdsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder(int index) { - return getQuasiIdsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); + public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder( + int index) { + return getQuasiIdsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); } /** - * - * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getQuasiIdsBuilderList() { + public java.util.List + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.QuasiId, - com.google.privacy.dlp.v2.QuasiId.Builder, - com.google.privacy.dlp.v2.QuasiIdOrBuilder> + com.google.privacy.dlp.v2.QuasiId, com.google.privacy.dlp.v2.QuasiId.Builder, com.google.privacy.dlp.v2.QuasiIdOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.QuasiId, - com.google.privacy.dlp.v2.QuasiId.Builder, - com.google.privacy.dlp.v2.QuasiIdOrBuilder>( - quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.QuasiId, com.google.privacy.dlp.v2.QuasiId.Builder, com.google.privacy.dlp.v2.QuasiIdOrBuilder>( + quasiIds_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -12974,8 +11157,6 @@ public java.util.List getQuasiIdsBuil private java.lang.Object regionCode_ = ""; /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -12983,13 +11164,13 @@ public java.util.List getQuasiIdsBuil
        * 
* * string region_code = 2; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -12998,8 +11179,6 @@ public java.lang.String getRegionCode() { } } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -13007,14 +11186,15 @@ public java.lang.String getRegionCode() {
        * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -13022,8 +11202,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -13031,22 +11209,20 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
        * 
* * string region_code = 2; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -13054,18 +11230,15 @@ public Builder setRegionCode(java.lang.String value) {
        * 
* * string region_code = 2; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -13073,41 +11246,34 @@ public Builder clearRegionCode() {
        * 
* * string region_code = 2; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; } private java.util.List auxiliaryTables_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAuxiliaryTablesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - auxiliaryTables_ = - new java.util.ArrayList(auxiliaryTables_); + auxiliaryTables_ = new java.util.ArrayList(auxiliaryTables_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable, - com.google.privacy.dlp.v2.StatisticalTable.Builder, - com.google.privacy.dlp.v2.StatisticalTableOrBuilder> - auxiliaryTablesBuilder_; + com.google.privacy.dlp.v2.StatisticalTable, com.google.privacy.dlp.v2.StatisticalTable.Builder, com.google.privacy.dlp.v2.StatisticalTableOrBuilder> auxiliaryTablesBuilder_; /** - * - * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13124,8 +11290,6 @@ public java.util.List getAuxiliaryTa
         }
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13142,8 +11306,6 @@ public int getAuxiliaryTablesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13160,8 +11322,6 @@ public com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index)
         }
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13185,8 +11345,6 @@ public Builder setAuxiliaryTables(
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13207,8 +11365,6 @@ public Builder setAuxiliaryTables(
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13231,8 +11387,6 @@ public Builder addAuxiliaryTables(com.google.privacy.dlp.v2.StatisticalTable val
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13256,8 +11410,6 @@ public Builder addAuxiliaryTables(
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13278,8 +11430,6 @@ public Builder addAuxiliaryTables(
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13300,8 +11450,6 @@ public Builder addAuxiliaryTables(
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13314,7 +11462,8 @@ public Builder addAllAuxiliaryTables(
           java.lang.Iterable values) {
         if (auxiliaryTablesBuilder_ == null) {
           ensureAuxiliaryTablesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auxiliaryTables_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, auxiliaryTables_);
           onChanged();
         } else {
           auxiliaryTablesBuilder_.addAllMessages(values);
@@ -13322,8 +11471,6 @@ public Builder addAllAuxiliaryTables(
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13343,8 +11490,6 @@ public Builder clearAuxiliaryTables() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13364,8 +11509,6 @@ public Builder removeAuxiliaryTables(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13379,8 +11522,6 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder getAuxiliaryTablesBuil
         return getAuxiliaryTablesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13392,14 +11533,11 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder getAuxiliaryTablesBuil
       public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(
           int index) {
         if (auxiliaryTablesBuilder_ == null) {
-          return auxiliaryTables_.get(index);
-        } else {
+          return auxiliaryTables_.get(index);  } else {
           return auxiliaryTablesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13408,8 +11546,8 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
        *
        * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
        */
-      public java.util.List
-          getAuxiliaryTablesOrBuilderList() {
+      public java.util.List 
+           getAuxiliaryTablesOrBuilderList() {
         if (auxiliaryTablesBuilder_ != null) {
           return auxiliaryTablesBuilder_.getMessageOrBuilderList();
         } else {
@@ -13417,8 +11555,6 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
         }
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13428,12 +11564,10 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
        * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
        */
       public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuilder() {
-        return getAuxiliaryTablesFieldBuilder()
-            .addBuilder(com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
+        return getAuxiliaryTablesFieldBuilder().addBuilder(
+            com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13444,12 +11578,10 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
        */
       public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuilder(
           int index) {
-        return getAuxiliaryTablesFieldBuilder()
-            .addBuilder(index, com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
+        return getAuxiliaryTablesFieldBuilder().addBuilder(
+            index, com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -13458,22 +11590,16 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
        *
        * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
        */
-      public java.util.List
-          getAuxiliaryTablesBuilderList() {
+      public java.util.List 
+           getAuxiliaryTablesBuilderList() {
         return getAuxiliaryTablesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.StatisticalTable,
-              com.google.privacy.dlp.v2.StatisticalTable.Builder,
-              com.google.privacy.dlp.v2.StatisticalTableOrBuilder>
+          com.google.privacy.dlp.v2.StatisticalTable, com.google.privacy.dlp.v2.StatisticalTable.Builder, com.google.privacy.dlp.v2.StatisticalTableOrBuilder> 
           getAuxiliaryTablesFieldBuilder() {
         if (auxiliaryTablesBuilder_ == null) {
-          auxiliaryTablesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.privacy.dlp.v2.StatisticalTable,
-                  com.google.privacy.dlp.v2.StatisticalTable.Builder,
-                  com.google.privacy.dlp.v2.StatisticalTableOrBuilder>(
+          auxiliaryTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.privacy.dlp.v2.StatisticalTable, com.google.privacy.dlp.v2.StatisticalTable.Builder, com.google.privacy.dlp.v2.StatisticalTableOrBuilder>(
                   auxiliaryTables_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -13482,7 +11608,6 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
         }
         return auxiliaryTablesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -13495,33 +11620,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
-    private static final com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig();
+      DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig();
     }
 
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DeltaPresenceEstimationConfig parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new DeltaPresenceEstimationConfig(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DeltaPresenceEstimationConfig parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new DeltaPresenceEstimationConfig(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -13533,18 +11655,16 @@ public com.google.protobuf.Parser getParserForTyp
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
-
   public enum TypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NUMERICAL_STATS_CONFIG(1),
     CATEGORICAL_STATS_CONFIG(2),
@@ -13554,7 +11674,6 @@ public enum TypeCase
     DELTA_PRESENCE_ESTIMATION_CONFIG(6),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -13570,45 +11689,34 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return NUMERICAL_STATS_CONFIG;
-        case 2:
-          return CATEGORICAL_STATS_CONFIG;
-        case 3:
-          return K_ANONYMITY_CONFIG;
-        case 4:
-          return L_DIVERSITY_CONFIG;
-        case 5:
-          return K_MAP_ESTIMATION_CONFIG;
-        case 6:
-          return DELTA_PRESENCE_ESTIMATION_CONFIG;
-        case 0:
-          return TYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return NUMERICAL_STATS_CONFIG;
+        case 2: return CATEGORICAL_STATS_CONFIG;
+        case 3: return K_ANONYMITY_CONFIG;
+        case 4: return L_DIVERSITY_CONFIG;
+        case 5: return K_MAP_ESTIMATION_CONFIG;
+        case 6: return DELTA_PRESENCE_ESTIMATION_CONFIG;
+        case 0: return TYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase getTypeCase() {
-    return TypeCase.forNumber(typeCase_);
+  public TypeCase
+  getTypeCase() {
+    return TypeCase.forNumber(
+        typeCase_);
   }
 
   public static final int NUMERICAL_STATS_CONFIG_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; * @return Whether the numericalStatsConfig field is set. */ @java.lang.Override @@ -13616,54 +11724,42 @@ public boolean hasNumericalStatsConfig() { return typeCase_ == 1; } /** - * - * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; * @return The numericalStatsConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance(); } /** - * - * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder - getNumericalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder getNumericalStatsConfigOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance(); } public static final int CATEGORICAL_STATS_CONFIG_FIELD_NUMBER = 2; /** - * - * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; * @return Whether the categoricalStatsConfig field is set. */ @java.lang.Override @@ -13671,54 +11767,42 @@ public boolean hasCategoricalStatsConfig() { return typeCase_ == 2; } /** - * - * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; * @return The categoricalStatsConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig - getCategoricalStatsConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); } /** - * - * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder - getCategoricalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder getCategoricalStatsConfigOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); } public static final int K_ANONYMITY_CONFIG_FIELD_NUMBER = 3; /** - * - * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; - * * @return Whether the kAnonymityConfig field is set. */ @java.lang.Override @@ -13726,26 +11810,21 @@ public boolean hasKAnonymityConfig() { return typeCase_ == 3; } /** - * - * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; - * * @return The kAnonymityConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance(); } /** - * - * *
    * K-anonymity
    * 
@@ -13753,24 +11832,20 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder - getKAnonymityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance(); } public static final int L_DIVERSITY_CONFIG_FIELD_NUMBER = 4; /** - * - * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; - * * @return Whether the lDiversityConfig field is set. */ @java.lang.Override @@ -13778,26 +11853,21 @@ public boolean hasLDiversityConfig() { return typeCase_ == 4; } /** - * - * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; - * * @return The lDiversityConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance(); } /** - * - * *
    * l-diversity
    * 
@@ -13805,25 +11875,20 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder - getLDiversityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance(); } public static final int K_MAP_ESTIMATION_CONFIG_FIELD_NUMBER = 5; /** - * - * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; * @return Whether the kMapEstimationConfig field is set. */ @java.lang.Override @@ -13831,55 +11896,42 @@ public boolean hasKMapEstimationConfig() { return typeCase_ == 5; } /** - * - * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; * @return The kMapEstimationConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance(); } /** - * - * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder - getKMapEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder getKMapEstimationConfigOrBuilder() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance(); } public static final int DELTA_PRESENCE_ESTIMATION_CONFIG_FIELD_NUMBER = 6; /** - * - * *
    * delta-presence
    * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; * @return Whether the deltaPresenceEstimationConfig field is set. */ @java.lang.Override @@ -13887,50 +11939,36 @@ public boolean hasDeltaPresenceEstimationConfig() { return typeCase_ == 6; } /** - * - * *
    * delta-presence
    * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; * @return The deltaPresenceEstimationConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - getDeltaPresenceEstimationConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDeltaPresenceEstimationConfig() { if (typeCase_ == 6) { - return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); } /** - * - * *
    * delta-presence
    * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder - getDeltaPresenceEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder getDeltaPresenceEstimationConfigOrBuilder() { if (typeCase_ == 6) { - return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13942,13 +11980,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); } if (typeCase_ == 2) { - output.writeMessage( - 2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); + output.writeMessage(2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); } if (typeCase_ == 3) { output.writeMessage(3, (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); @@ -13960,8 +11998,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(5, (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); } if (typeCase_ == 6) { - output.writeMessage( - 6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); + output.writeMessage(6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); } unknownFields.writeTo(output); } @@ -13973,34 +12010,28 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); } if (typeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); } if (typeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); } if (typeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14010,7 +12041,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.privacy.dlp.v2.PrivacyMetric)) { return super.equals(obj); @@ -14020,23 +12051,28 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getNumericalStatsConfig().equals(other.getNumericalStatsConfig())) return false; + if (!getNumericalStatsConfig() + .equals(other.getNumericalStatsConfig())) return false; break; case 2: - if (!getCategoricalStatsConfig().equals(other.getCategoricalStatsConfig())) return false; + if (!getCategoricalStatsConfig() + .equals(other.getCategoricalStatsConfig())) return false; break; case 3: - if (!getKAnonymityConfig().equals(other.getKAnonymityConfig())) return false; + if (!getKAnonymityConfig() + .equals(other.getKAnonymityConfig())) return false; break; case 4: - if (!getLDiversityConfig().equals(other.getLDiversityConfig())) return false; + if (!getLDiversityConfig() + .equals(other.getLDiversityConfig())) return false; break; case 5: - if (!getKMapEstimationConfig().equals(other.getKMapEstimationConfig())) return false; + if (!getKMapEstimationConfig() + .equals(other.getKMapEstimationConfig())) return false; break; case 6: - if (!getDeltaPresenceEstimationConfig().equals(other.getDeltaPresenceEstimationConfig())) - return false; + if (!getDeltaPresenceEstimationConfig() + .equals(other.getDeltaPresenceEstimationConfig())) return false; break; case 0: default: @@ -14085,127 +12121,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.PrivacyMetric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.PrivacyMetric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Privacy metric to compute for reidentification risk analysis.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric) com.google.privacy.dlp.v2.PrivacyMetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.class, - com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.class, com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrivacyMetric.newBuilder() @@ -14213,15 +12240,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14231,9 +12259,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; } @java.lang.Override @@ -14252,8 +12280,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric build() { @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric result = - new com.google.privacy.dlp.v2.PrivacyMetric(this); + com.google.privacy.dlp.v2.PrivacyMetric result = new com.google.privacy.dlp.v2.PrivacyMetric(this); if (typeCase_ == 1) { if (numericalStatsConfigBuilder_ == null) { result.type_ = type_; @@ -14305,39 +12332,38 @@ public com.google.privacy.dlp.v2.PrivacyMetric buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric) other); + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric)other); } else { super.mergeFrom(other); return this; @@ -14347,40 +12373,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric other) { if (other == com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance()) return this; switch (other.getTypeCase()) { - case NUMERICAL_STATS_CONFIG: - { - mergeNumericalStatsConfig(other.getNumericalStatsConfig()); - break; - } - case CATEGORICAL_STATS_CONFIG: - { - mergeCategoricalStatsConfig(other.getCategoricalStatsConfig()); - break; - } - case K_ANONYMITY_CONFIG: - { - mergeKAnonymityConfig(other.getKAnonymityConfig()); - break; - } - case L_DIVERSITY_CONFIG: - { - mergeLDiversityConfig(other.getLDiversityConfig()); - break; - } - case K_MAP_ESTIMATION_CONFIG: - { - mergeKMapEstimationConfig(other.getKMapEstimationConfig()); - break; - } - case DELTA_PRESENCE_ESTIMATION_CONFIG: - { - mergeDeltaPresenceEstimationConfig(other.getDeltaPresenceEstimationConfig()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case NUMERICAL_STATS_CONFIG: { + mergeNumericalStatsConfig(other.getNumericalStatsConfig()); + break; + } + case CATEGORICAL_STATS_CONFIG: { + mergeCategoricalStatsConfig(other.getCategoricalStatsConfig()); + break; + } + case K_ANONYMITY_CONFIG: { + mergeKAnonymityConfig(other.getKAnonymityConfig()); + break; + } + case L_DIVERSITY_CONFIG: { + mergeLDiversityConfig(other.getLDiversityConfig()); + break; + } + case K_MAP_ESTIMATION_CONFIG: { + mergeKMapEstimationConfig(other.getKMapEstimationConfig()); + break; + } + case DELTA_PRESENCE_ESTIMATION_CONFIG: { + mergeDeltaPresenceEstimationConfig(other.getDeltaPresenceEstimationConfig()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -14410,12 +12429,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -14425,21 +12444,15 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> - numericalStatsConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> numericalStatsConfigBuilder_; /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; * @return Whether the numericalStatsConfig field is set. */ @java.lang.Override @@ -14447,15 +12460,11 @@ public boolean hasNumericalStatsConfig() { return typeCase_ == 1; } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; * @return The numericalStatsConfig. */ @java.lang.Override @@ -14473,17 +12482,13 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumerical } } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ - public Builder setNumericalStatsConfig( - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { + public Builder setNumericalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { if (numericalStatsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14497,14 +12502,11 @@ public Builder setNumericalStatsConfig( return this; } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ public Builder setNumericalStatsConfig( com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder builderForValue) { @@ -14518,27 +12520,18 @@ public Builder setNumericalStatsConfig( return this; } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ - public Builder mergeNumericalStatsConfig( - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { + public Builder mergeNumericalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { if (numericalStatsConfigBuilder_ == null) { - if (typeCase_ == 1 - && type_ - != com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig - .getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.newBuilder( - (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -14553,14 +12546,11 @@ public Builder mergeNumericalStatsConfig( return this; } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ public Builder clearNumericalStatsConfig() { if (numericalStatsConfigBuilder_ == null) { @@ -14579,32 +12569,24 @@ public Builder clearNumericalStatsConfig() { return this; } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ - public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder - getNumericalStatsConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder getNumericalStatsConfigBuilder() { return getNumericalStatsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder - getNumericalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder getNumericalStatsConfigOrBuilder() { if ((typeCase_ == 1) && (numericalStatsConfigBuilder_ != null)) { return numericalStatsConfigBuilder_.getMessageOrBuilder(); } else { @@ -14615,56 +12597,39 @@ public Builder clearNumericalStatsConfig() { } } /** - * - * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> getNumericalStatsConfigFieldBuilder() { if (numericalStatsConfigBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance(); } - numericalStatsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder>( + numericalStatsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return numericalStatsConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> - categoricalStatsConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> categoricalStatsConfigBuilder_; /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; * @return Whether the categoricalStatsConfig field is set. */ @java.lang.Override @@ -14672,21 +12637,15 @@ public boolean hasCategoricalStatsConfig() { return typeCase_ == 2; } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; * @return The categoricalStatsConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig - getCategoricalStatsConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig() { if (categoricalStatsConfigBuilder_ == null) { if (typeCase_ == 2) { return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; @@ -14700,18 +12659,13 @@ public boolean hasCategoricalStatsConfig() { } } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ - public Builder setCategoricalStatsConfig( - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { + public Builder setCategoricalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { if (categoricalStatsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14725,15 +12679,11 @@ public Builder setCategoricalStatsConfig( return this; } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ public Builder setCategoricalStatsConfig( com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder builderForValue) { @@ -14747,28 +12697,18 @@ public Builder setCategoricalStatsConfig( return this; } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ - public Builder mergeCategoricalStatsConfig( - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { + public Builder mergeCategoricalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { if (categoricalStatsConfigBuilder_ == null) { - if (typeCase_ == 2 - && type_ - != com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig - .getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.newBuilder( - (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -14783,15 +12723,11 @@ public Builder mergeCategoricalStatsConfig( return this; } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ public Builder clearCategoricalStatsConfig() { if (categoricalStatsConfigBuilder_ == null) { @@ -14810,34 +12746,24 @@ public Builder clearCategoricalStatsConfig() { return this; } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder - getCategoricalStatsConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder getCategoricalStatsConfigBuilder() { return getCategoricalStatsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder - getCategoricalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder getCategoricalStatsConfigOrBuilder() { if ((typeCase_ == 2) && (categoricalStatsConfigBuilder_ != null)) { return categoricalStatsConfigBuilder_.getMessageOrBuilder(); } else { @@ -14848,56 +12774,39 @@ public Builder clearCategoricalStatsConfig() { } } /** - * - * *
      * Categorical stats
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> getCategoricalStatsConfigFieldBuilder() { if (categoricalStatsConfigBuilder_ == null) { if (!(typeCase_ == 2)) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); - } - categoricalStatsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder>( + type_ = com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); + } + categoricalStatsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return categoricalStatsConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> - kAnonymityConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> kAnonymityConfigBuilder_; /** - * - * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; - * * @return Whether the kAnonymityConfig field is set. */ @java.lang.Override @@ -14905,14 +12814,11 @@ public boolean hasKAnonymityConfig() { return typeCase_ == 3; } /** - * - * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; - * * @return The kAnonymityConfig. */ @java.lang.Override @@ -14930,16 +12836,13 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon } } /** - * - * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ - public Builder setKAnonymityConfig( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { + public Builder setKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { if (kAnonymityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14953,8 +12856,6 @@ public Builder setKAnonymityConfig( return this; } /** - * - * *
      * K-anonymity
      * 
@@ -14973,25 +12874,18 @@ public Builder setKAnonymityConfig( return this; } /** - * - * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ - public Builder mergeKAnonymityConfig( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { + public Builder mergeKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { if (kAnonymityConfigBuilder_ == null) { - if (typeCase_ == 3 - && type_ - != com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.newBuilder( - (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -15006,8 +12900,6 @@ public Builder mergeKAnonymityConfig( return this; } /** - * - * *
      * K-anonymity
      * 
@@ -15031,21 +12923,16 @@ public Builder clearKAnonymityConfig() { return this; } /** - * - * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder - getKAnonymityConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder getKAnonymityConfigBuilder() { return getKAnonymityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * K-anonymity
      * 
@@ -15053,8 +12940,7 @@ public Builder clearKAnonymityConfig() { * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder - getKAnonymityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder() { if ((typeCase_ == 3) && (kAnonymityConfigBuilder_ != null)) { return kAnonymityConfigBuilder_.getMessageOrBuilder(); } else { @@ -15065,8 +12951,6 @@ public Builder clearKAnonymityConfig() { } } /** - * - * *
      * K-anonymity
      * 
@@ -15074,44 +12958,32 @@ public Builder clearKAnonymityConfig() { * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> getKAnonymityConfigFieldBuilder() { if (kAnonymityConfigBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance(); } - kAnonymityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder>( + kAnonymityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return kAnonymityConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> - lDiversityConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> lDiversityConfigBuilder_; /** - * - * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; - * * @return Whether the lDiversityConfig field is set. */ @java.lang.Override @@ -15119,14 +12991,11 @@ public boolean hasLDiversityConfig() { return typeCase_ == 4; } /** - * - * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; - * * @return The lDiversityConfig. */ @java.lang.Override @@ -15144,16 +13013,13 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon } } /** - * - * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ - public Builder setLDiversityConfig( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { + public Builder setLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { if (lDiversityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15167,8 +13033,6 @@ public Builder setLDiversityConfig( return this; } /** - * - * *
      * l-diversity
      * 
@@ -15187,25 +13051,18 @@ public Builder setLDiversityConfig( return this; } /** - * - * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ - public Builder mergeLDiversityConfig( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { + public Builder mergeLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { if (lDiversityConfigBuilder_ == null) { - if (typeCase_ == 4 - && type_ - != com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.newBuilder( - (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 4 && + type_ != com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -15220,8 +13077,6 @@ public Builder mergeLDiversityConfig( return this; } /** - * - * *
      * l-diversity
      * 
@@ -15245,21 +13100,16 @@ public Builder clearLDiversityConfig() { return this; } /** - * - * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ - public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder - getLDiversityConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder getLDiversityConfigBuilder() { return getLDiversityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * l-diversity
      * 
@@ -15267,8 +13117,7 @@ public Builder clearLDiversityConfig() { * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder - getLDiversityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder() { if ((typeCase_ == 4) && (lDiversityConfigBuilder_ != null)) { return lDiversityConfigBuilder_.getMessageOrBuilder(); } else { @@ -15279,8 +13128,6 @@ public Builder clearLDiversityConfig() { } } /** - * - * *
      * l-diversity
      * 
@@ -15288,45 +13135,32 @@ public Builder clearLDiversityConfig() { * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> getLDiversityConfigFieldBuilder() { if (lDiversityConfigBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance(); } - lDiversityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder>( + lDiversityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged(); - ; + onChanged();; return lDiversityConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> - kMapEstimationConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> kMapEstimationConfigBuilder_; /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; * @return Whether the kMapEstimationConfig field is set. */ @java.lang.Override @@ -15334,15 +13168,11 @@ public boolean hasKMapEstimationConfig() { return typeCase_ == 5; } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; * @return The kMapEstimationConfig. */ @java.lang.Override @@ -15360,17 +13190,13 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstim } } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ - public Builder setKMapEstimationConfig( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { + public Builder setKMapEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { if (kMapEstimationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15384,14 +13210,11 @@ public Builder setKMapEstimationConfig( return this; } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ public Builder setKMapEstimationConfig( com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder builderForValue) { @@ -15405,27 +13228,18 @@ public Builder setKMapEstimationConfig( return this; } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ - public Builder mergeKMapEstimationConfig( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { + public Builder mergeKMapEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { if (kMapEstimationConfigBuilder_ == null) { - if (typeCase_ == 5 - && type_ - != com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig - .getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.newBuilder( - (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 5 && + type_ != com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -15440,14 +13254,11 @@ public Builder mergeKMapEstimationConfig( return this; } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ public Builder clearKMapEstimationConfig() { if (kMapEstimationConfigBuilder_ == null) { @@ -15466,32 +13277,24 @@ public Builder clearKMapEstimationConfig() { return this; } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder - getKMapEstimationConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder getKMapEstimationConfigBuilder() { return getKMapEstimationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder - getKMapEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder getKMapEstimationConfigOrBuilder() { if ((typeCase_ == 5) && (kMapEstimationConfigBuilder_ != null)) { return kMapEstimationConfigBuilder_.getMessageOrBuilder(); } else { @@ -15502,56 +13305,39 @@ public Builder clearKMapEstimationConfig() { } } /** - * - * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> getKMapEstimationConfigFieldBuilder() { if (kMapEstimationConfigBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance(); } - kMapEstimationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder>( + kMapEstimationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; - onChanged(); - ; + onChanged();; return kMapEstimationConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> - deltaPresenceEstimationConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> deltaPresenceEstimationConfigBuilder_; /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; * @return Whether the deltaPresenceEstimationConfig field is set. */ @java.lang.Override @@ -15559,48 +13345,35 @@ public boolean hasDeltaPresenceEstimationConfig() { return typeCase_ == 6; } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; * @return The deltaPresenceEstimationConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - getDeltaPresenceEstimationConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDeltaPresenceEstimationConfig() { if (deltaPresenceEstimationConfigBuilder_ == null) { if (typeCase_ == 6) { return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); } else { if (typeCase_ == 6) { return deltaPresenceEstimationConfigBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); } } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ - public Builder setDeltaPresenceEstimationConfig( - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { + public Builder setDeltaPresenceEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { if (deltaPresenceEstimationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15614,19 +13387,14 @@ public Builder setDeltaPresenceEstimationConfig( return this; } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ public Builder setDeltaPresenceEstimationConfig( - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder - builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder builderForValue) { if (deltaPresenceEstimationConfigBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -15637,28 +13405,18 @@ public Builder setDeltaPresenceEstimationConfig( return this; } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ - public Builder mergeDeltaPresenceEstimationConfig( - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { + public Builder mergeDeltaPresenceEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { if (deltaPresenceEstimationConfigBuilder_ == null) { - if (typeCase_ == 6 - && type_ - != com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder( - (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 6 && + type_ != com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -15673,15 +13431,11 @@ public Builder mergeDeltaPresenceEstimationConfig( return this; } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ public Builder clearDeltaPresenceEstimationConfig() { if (deltaPresenceEstimationConfigBuilder_ == null) { @@ -15700,84 +13454,61 @@ public Builder clearDeltaPresenceEstimationConfig() { return this; } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder - getDeltaPresenceEstimationConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder getDeltaPresenceEstimationConfigBuilder() { return getDeltaPresenceEstimationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder - getDeltaPresenceEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder getDeltaPresenceEstimationConfigOrBuilder() { if ((typeCase_ == 6) && (deltaPresenceEstimationConfigBuilder_ != null)) { return deltaPresenceEstimationConfigBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 6) { return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); } } /** - * - * *
      * delta-presence
      * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> getDeltaPresenceEstimationConfigFieldBuilder() { if (deltaPresenceEstimationConfigBuilder_ == null) { if (!(typeCase_ == 6)) { - type_ = - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - .getDefaultInstance(); - } - deltaPresenceEstimationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder>( + type_ = com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); + } + deltaPresenceEstimationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 6; - onChanged(); - ; + onChanged();; return deltaPresenceEstimationConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -15787,12 +13518,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric) private static final com.google.privacy.dlp.v2.PrivacyMetric DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric(); } @@ -15801,16 +13532,16 @@ public static com.google.privacy.dlp.v2.PrivacyMetric getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivacyMetric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivacyMetric(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivacyMetric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivacyMetric(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15825,4 +13556,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PrivacyMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java index 2a09231c..c04cb76f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java @@ -1,133 +1,85 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface PrivacyMetricOrBuilder - extends +public interface PrivacyMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; * @return Whether the numericalStatsConfig field is set. */ boolean hasNumericalStatsConfig(); /** - * - * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; * @return The numericalStatsConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig(); /** - * - * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; - * + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; */ - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder - getNumericalStatsConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder getNumericalStatsConfigOrBuilder(); /** - * - * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; * @return Whether the categoricalStatsConfig field is set. */ boolean hasCategoricalStatsConfig(); /** - * - * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; * @return The categoricalStatsConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig(); /** - * - * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; - * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; */ - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder - getCategoricalStatsConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder getCategoricalStatsConfigOrBuilder(); /** - * - * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; - * * @return Whether the kAnonymityConfig field is set. */ boolean hasKAnonymityConfig(); /** - * - * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; - * * @return The kAnonymityConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig(); /** - * - * *
    * K-anonymity
    * 
@@ -137,32 +89,24 @@ public interface PrivacyMetricOrBuilder com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder(); /** - * - * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; - * * @return Whether the lDiversityConfig field is set. */ boolean hasLDiversityConfig(); /** - * - * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; - * * @return The lDiversityConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig(); /** - * - * *
    * l-diversity
    * 
@@ -172,86 +116,58 @@ public interface PrivacyMetricOrBuilder com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder(); /** - * - * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; * @return Whether the kMapEstimationConfig field is set. */ boolean hasKMapEstimationConfig(); /** - * - * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; * @return The kMapEstimationConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig(); /** - * - * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; - * + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder - getKMapEstimationConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder getKMapEstimationConfigOrBuilder(); /** - * - * *
    * delta-presence
    * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; * @return Whether the deltaPresenceEstimationConfig field is set. */ boolean hasDeltaPresenceEstimationConfig(); /** - * - * *
    * delta-presence
    * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; * @return The deltaPresenceEstimationConfig. */ - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig - getDeltaPresenceEstimationConfig(); + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDeltaPresenceEstimationConfig(); /** - * - * *
    * delta-presence
    * 
* - * - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; - * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; */ - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder - getDeltaPresenceEstimationConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder getDeltaPresenceEstimationConfigOrBuilder(); public com.google.privacy.dlp.v2.PrivacyMetric.TypeCase getTypeCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java similarity index 100% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java index 4b2ecaa9..54a04ede 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A column with a semantic tag attached.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.QuasiId} */ -public final class QuasiId extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QuasiId extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.QuasiId) QuasiIdOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QuasiId.newBuilder() to construct. private QuasiId(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QuasiId() {} + private QuasiId() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QuasiId(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QuasiId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,104 +52,95 @@ private QuasiId( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } + case 10: { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (tagCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (tagCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); - } - tag_ = - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); - tag_ = subBuilder.buildPartial(); - } - tagCase_ = 2; - break; + tag_ = + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); + tag_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - tagCase_ = 3; - tag_ = s; - break; + tagCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + tagCase_ = 3; + tag_ = s; + break; + } + case 34: { + com.google.protobuf.Empty.Builder subBuilder = null; + if (tagCase_ == 4) { + subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); } - case 34: - { - com.google.protobuf.Empty.Builder subBuilder = null; - if (tagCase_ == 4) { - subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); - } - tag_ = input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); - tag_ = subBuilder.buildPartial(); - } - tagCase_ = 4; - break; + tag_ = + input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tagCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuasiId.class, - com.google.privacy.dlp.v2.QuasiId.Builder.class); + com.google.privacy.dlp.v2.QuasiId.class, com.google.privacy.dlp.v2.QuasiId.Builder.class); } private int tagCase_ = 0; private java.lang.Object tag_; - public enum TagCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE(2), CUSTOM_TAG(3), INFERRED(4), TAG_NOT_SET(0); private final int value; - private TagCase(int value) { this.value = value; } @@ -181,40 +156,32 @@ public static TagCase valueOf(int value) { public static TagCase forNumber(int value) { switch (value) { - case 2: - return INFO_TYPE; - case 3: - return CUSTOM_TAG; - case 4: - return INFERRED; - case 0: - return TAG_NOT_SET; - default: - return null; + case 2: return INFO_TYPE; + case 3: return CUSTOM_TAG; + case 4: return INFERRED; + case 0: return TAG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TagCase getTagCase() { - return TagCase.forNumber(tagCase_); + public TagCase + getTagCase() { + return TagCase.forNumber( + tagCase_); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.FieldId field_; /** - * - * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ @java.lang.Override @@ -222,15 +189,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ @java.lang.Override @@ -238,14 +201,11 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { @@ -254,8 +214,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int INFO_TYPE_FIELD_NUMBER = 2; /** - * - * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -265,7 +223,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -273,8 +230,6 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** - * - * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -284,19 +239,16 @@ public boolean hasInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { if (tagCase_ == 2) { - return (com.google.privacy.dlp.v2.InfoType) tag_; + return (com.google.privacy.dlp.v2.InfoType) tag_; } return com.google.privacy.dlp.v2.InfoType.getDefaultInstance(); } /** - * - * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -310,15 +262,13 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
     if (tagCase_ == 2) {
-      return (com.google.privacy.dlp.v2.InfoType) tag_;
+       return (com.google.privacy.dlp.v2.InfoType) tag_;
     }
     return com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
   }
 
   public static final int CUSTOM_TAG_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -326,15 +276,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
    * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ public boolean hasCustomTag() { return tagCase_ == 3; } /** - * - * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -342,7 +289,6 @@ public boolean hasCustomTag() {
    * 
* * string custom_tag = 3; - * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -353,7 +299,8 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -362,8 +309,6 @@ public java.lang.String getCustomTag() { } } /** - * - * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -371,17 +316,18 @@ public java.lang.String getCustomTag() {
    * 
* * string custom_tag = 3; - * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -393,15 +339,12 @@ public com.google.protobuf.ByteString getCustomTagBytes() { public static final int INFERRED_FIELD_NUMBER = 4; /** - * - * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; - * * @return Whether the inferred field is set. */ @java.lang.Override @@ -409,27 +352,22 @@ public boolean hasInferred() { return tagCase_ == 4; } /** - * - * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; - * * @return The inferred. */ @java.lang.Override public com.google.protobuf.Empty getInferred() { if (tagCase_ == 4) { - return (com.google.protobuf.Empty) tag_; + return (com.google.protobuf.Empty) tag_; } return com.google.protobuf.Empty.getDefaultInstance(); } /** - * - * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
@@ -440,13 +378,12 @@ public com.google.protobuf.Empty getInferred() {
   @java.lang.Override
   public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
     if (tagCase_ == 4) {
-      return (com.google.protobuf.Empty) tag_;
+       return (com.google.protobuf.Empty) tag_;
     }
     return com.google.protobuf.Empty.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -458,7 +395,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (field_ != null) {
       output.writeMessage(1, getField());
     }
@@ -481,20 +419,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (field_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getField());
     }
     if (tagCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.privacy.dlp.v2.InfoType) tag_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.privacy.dlp.v2.InfoType) tag_);
     }
     if (tagCase_ == 3) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tag_);
     }
     if (tagCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Empty) tag_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Empty) tag_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -504,7 +441,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.privacy.dlp.v2.QuasiId)) {
       return super.equals(obj);
@@ -513,18 +450,22 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasField() != other.hasField()) return false;
     if (hasField()) {
-      if (!getField().equals(other.getField())) return false;
+      if (!getField()
+          .equals(other.getField())) return false;
     }
     if (!getTagCase().equals(other.getTagCase())) return false;
     switch (tagCase_) {
       case 2:
-        if (!getInfoType().equals(other.getInfoType())) return false;
+        if (!getInfoType()
+            .equals(other.getInfoType())) return false;
         break;
       case 3:
-        if (!getCustomTag().equals(other.getCustomTag())) return false;
+        if (!getCustomTag()
+            .equals(other.getCustomTag())) return false;
         break;
       case 4:
-        if (!getInferred().equals(other.getInferred())) return false;
+        if (!getInferred()
+            .equals(other.getInferred())) return false;
         break;
       case 0:
       default:
@@ -565,126 +506,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.QuasiId parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.QuasiId parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.QuasiId parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.privacy.dlp.v2.QuasiId parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId 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.privacy.dlp.v2.QuasiId parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.QuasiId prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 column with a semantic tag attached.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.QuasiId} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.QuasiId) com.google.privacy.dlp.v2.QuasiIdOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuasiId.class, - com.google.privacy.dlp.v2.QuasiId.Builder.class); + com.google.privacy.dlp.v2.QuasiId.class, com.google.privacy.dlp.v2.QuasiId.Builder.class); } // Construct using com.google.privacy.dlp.v2.QuasiId.newBuilder() @@ -692,15 +625,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -716,9 +650,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_descriptor; } @java.lang.Override @@ -769,39 +703,38 @@ public com.google.privacy.dlp.v2.QuasiId buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.QuasiId) { - return mergeFrom((com.google.privacy.dlp.v2.QuasiId) other); + return mergeFrom((com.google.privacy.dlp.v2.QuasiId)other); } else { super.mergeFrom(other); return this; @@ -814,27 +747,23 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.QuasiId other) { mergeField(other.getField()); } switch (other.getTagCase()) { - case INFO_TYPE: - { - mergeInfoType(other.getInfoType()); - break; - } - case CUSTOM_TAG: - { - tagCase_ = 3; - tag_ = other.tag_; - onChanged(); - break; - } - case INFERRED: - { - mergeInferred(other.getInferred()); - break; - } - case TAG_NOT_SET: - { - break; - } + case INFO_TYPE: { + mergeInfoType(other.getInfoType()); + break; + } + case CUSTOM_TAG: { + tagCase_ = 3; + tag_ = other.tag_; + onChanged(); + break; + } + case INFERRED: { + mergeInferred(other.getInferred()); + break; + } + case TAG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -864,12 +793,12 @@ public Builder mergeFrom( } return this; } - private int tagCase_ = 0; private java.lang.Object tag_; - - public TagCase getTagCase() { - return TagCase.forNumber(tagCase_); + public TagCase + getTagCase() { + return TagCase.forNumber( + tagCase_); } public Builder clearTag() { @@ -879,37 +808,27 @@ public Builder clearTag() { return this; } + private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -920,14 +839,11 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { @@ -943,16 +859,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -963,20 +877,17 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -988,14 +899,11 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -1009,72 +917,56 @@ public Builder clearField() { return this; } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; /** - * - * *
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1084,7 +976,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -1092,8 +983,6 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** - * - * *
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1103,7 +992,6 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override @@ -1121,8 +1009,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { } } /** - * - * *
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1147,8 +1033,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1159,7 +1043,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
      *
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
-    public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder setInfoType(
+        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypeBuilder_ == null) {
         tag_ = builderForValue.build();
         onChanged();
@@ -1170,8 +1055,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1184,12 +1067,10 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
      */
     public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypeBuilder_ == null) {
-        if (tagCase_ == 2 && tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
-          tag_ =
-              com.google.privacy.dlp.v2.InfoType.newBuilder(
-                      (com.google.privacy.dlp.v2.InfoType) tag_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (tagCase_ == 2 &&
+            tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
+          tag_ = com.google.privacy.dlp.v2.InfoType.newBuilder((com.google.privacy.dlp.v2.InfoType) tag_)
+              .mergeFrom(value).buildPartial();
         } else {
           tag_ = value;
         }
@@ -1204,8 +1085,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1233,8 +1112,6 @@ public Builder clearInfoType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1249,8 +1126,6 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
       return getInfoTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1273,8 +1148,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1286,31 +1159,25 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
         getInfoTypeFieldBuilder() {
       if (infoTypeBuilder_ == null) {
         if (!(tagCase_ == 2)) {
           tag_ = com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
         }
-        infoTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType,
-                com.google.privacy.dlp.v2.InfoType.Builder,
-                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                (com.google.privacy.dlp.v2.InfoType) tag_, getParentForChildren(), isClean());
+        infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                (com.google.privacy.dlp.v2.InfoType) tag_,
+                getParentForChildren(),
+                isClean());
         tag_ = null;
       }
       tagCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return infoTypeBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1318,7 +1185,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ @java.lang.Override @@ -1326,8 +1192,6 @@ public boolean hasCustomTag() { return tagCase_ == 3; } /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1335,7 +1199,6 @@ public boolean hasCustomTag() {
      * 
* * string custom_tag = 3; - * * @return The customTag. */ @java.lang.Override @@ -1345,7 +1208,8 @@ public java.lang.String getCustomTag() { ref = tag_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -1356,8 +1220,6 @@ public java.lang.String getCustomTag() { } } /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1365,18 +1227,19 @@ public java.lang.String getCustomTag() {
      * 
* * string custom_tag = 3; - * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -1386,8 +1249,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } } /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1395,22 +1256,20 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
      * 
* * string custom_tag = 3; - * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag(java.lang.String value) { + public Builder setCustomTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - tagCase_ = 3; + throw new NullPointerException(); + } + tagCase_ = 3; tag_ = value; onChanged(); return this; } /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1418,7 +1277,6 @@ public Builder setCustomTag(java.lang.String value) {
      * 
* * string custom_tag = 3; - * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -1430,8 +1288,6 @@ public Builder clearCustomTag() { return this; } /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1439,15 +1295,15 @@ public Builder clearCustomTag() {
      * 
* * string custom_tag = 3; - * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); tagCase_ = 3; tag_ = value; onChanged(); @@ -1455,20 +1311,14 @@ public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Empty, - com.google.protobuf.Empty.Builder, - com.google.protobuf.EmptyOrBuilder> - inferredBuilder_; + com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> inferredBuilder_; /** - * - * *
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
      * 
* * .google.protobuf.Empty inferred = 4; - * * @return Whether the inferred field is set. */ @java.lang.Override @@ -1476,15 +1326,12 @@ public boolean hasInferred() { return tagCase_ == 4; } /** - * - * *
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
      * 
* * .google.protobuf.Empty inferred = 4; - * * @return The inferred. */ @java.lang.Override @@ -1502,8 +1349,6 @@ public com.google.protobuf.Empty getInferred() { } } /** - * - * *
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1525,8 +1370,6 @@ public Builder setInferred(com.google.protobuf.Empty value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1534,7 +1377,8 @@ public Builder setInferred(com.google.protobuf.Empty value) {
      *
      * .google.protobuf.Empty inferred = 4;
      */
-    public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
+    public Builder setInferred(
+        com.google.protobuf.Empty.Builder builderForValue) {
       if (inferredBuilder_ == null) {
         tag_ = builderForValue.build();
         onChanged();
@@ -1545,8 +1389,6 @@ public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1556,11 +1398,10 @@ public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
      */
     public Builder mergeInferred(com.google.protobuf.Empty value) {
       if (inferredBuilder_ == null) {
-        if (tagCase_ == 4 && tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
-          tag_ =
-              com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (tagCase_ == 4 &&
+            tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
+          tag_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
+              .mergeFrom(value).buildPartial();
         } else {
           tag_ = value;
         }
@@ -1575,8 +1416,6 @@ public Builder mergeInferred(com.google.protobuf.Empty value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1601,8 +1440,6 @@ public Builder clearInferred() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1614,8 +1451,6 @@ public com.google.protobuf.Empty.Builder getInferredBuilder() {
       return getInferredFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1635,8 +1470,6 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1645,30 +1478,26 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
      * .google.protobuf.Empty inferred = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Empty,
-            com.google.protobuf.Empty.Builder,
-            com.google.protobuf.EmptyOrBuilder>
+        com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> 
         getInferredFieldBuilder() {
       if (inferredBuilder_ == null) {
         if (!(tagCase_ == 4)) {
           tag_ = com.google.protobuf.Empty.getDefaultInstance();
         }
-        inferredBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Empty,
-                com.google.protobuf.Empty.Builder,
-                com.google.protobuf.EmptyOrBuilder>(
-                (com.google.protobuf.Empty) tag_, getParentForChildren(), isClean());
+        inferredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>(
+                (com.google.protobuf.Empty) tag_,
+                getParentForChildren(),
+                isClean());
         tag_ = null;
       }
       tagCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return inferredBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1678,12 +1507,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.QuasiId)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.QuasiId)
   private static final com.google.privacy.dlp.v2.QuasiId DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.QuasiId();
   }
@@ -1692,16 +1521,16 @@ public static com.google.privacy.dlp.v2.QuasiId getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public QuasiId parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new QuasiId(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public QuasiId parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new QuasiId(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1716,4 +1545,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.QuasiId getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
similarity index 81%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
index e31f11d4..93fb5b0c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface QuasiIdOrBuilder
-    extends
+public interface QuasiIdOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.QuasiId)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** - * - * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -73,13 +44,10 @@ public interface QuasiIdOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -89,13 +57,10 @@ public interface QuasiIdOrBuilder
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -109,8 +74,6 @@ public interface QuasiIdOrBuilder
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -118,13 +81,10 @@ public interface QuasiIdOrBuilder
    * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ boolean hasCustomTag(); /** - * - * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -132,13 +92,10 @@ public interface QuasiIdOrBuilder
    * 
* * string custom_tag = 3; - * * @return The customTag. */ java.lang.String getCustomTag(); /** - * - * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -146,40 +103,32 @@ public interface QuasiIdOrBuilder
    * 
* * string custom_tag = 3; - * * @return The bytes for customTag. */ - com.google.protobuf.ByteString getCustomTagBytes(); + com.google.protobuf.ByteString + getCustomTagBytes(); /** - * - * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; - * * @return Whether the inferred field is set. */ boolean hasInferred(); /** - * - * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; - * * @return The inferred. */ com.google.protobuf.Empty getInferred(); /** - * - * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
similarity index 69%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
index 4843f416..8e8ff1ce 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Message for infoType-dependent details parsed from quote.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.QuoteInfo} */ -public final class QuoteInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QuoteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.QuoteInfo) QuoteInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QuoteInfo.newBuilder() to construct. private QuoteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QuoteInfo() {} + private QuoteInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QuoteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QuoteInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,66 +52,60 @@ private QuoteInfo( case 0: done = true; break; - case 18: - { - com.google.privacy.dlp.v2.DateTime.Builder subBuilder = null; - if (parsedQuoteCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DateTime) parsedQuote_).toBuilder(); - } - parsedQuote_ = - input.readMessage(com.google.privacy.dlp.v2.DateTime.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateTime) parsedQuote_); - parsedQuote_ = subBuilder.buildPartial(); - } - parsedQuoteCase_ = 2; - break; + case 18: { + com.google.privacy.dlp.v2.DateTime.Builder subBuilder = null; + if (parsedQuoteCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DateTime) parsedQuote_).toBuilder(); + } + parsedQuote_ = + input.readMessage(com.google.privacy.dlp.v2.DateTime.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateTime) parsedQuote_); + parsedQuote_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parsedQuoteCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuoteInfo.class, - com.google.privacy.dlp.v2.QuoteInfo.Builder.class); + com.google.privacy.dlp.v2.QuoteInfo.class, com.google.privacy.dlp.v2.QuoteInfo.Builder.class); } private int parsedQuoteCase_ = 0; private java.lang.Object parsedQuote_; - public enum ParsedQuoteCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATE_TIME(2), PARSEDQUOTE_NOT_SET(0); private final int value; - private ParsedQuoteCase(int value) { this.value = value; } @@ -143,34 +121,29 @@ public static ParsedQuoteCase valueOf(int value) { public static ParsedQuoteCase forNumber(int value) { switch (value) { - case 2: - return DATE_TIME; - case 0: - return PARSEDQUOTE_NOT_SET; - default: - return null; + case 2: return DATE_TIME; + case 0: return PARSEDQUOTE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ParsedQuoteCase getParsedQuoteCase() { - return ParsedQuoteCase.forNumber(parsedQuoteCase_); + public ParsedQuoteCase + getParsedQuoteCase() { + return ParsedQuoteCase.forNumber( + parsedQuoteCase_); } public static final int DATE_TIME_FIELD_NUMBER = 2; /** - * - * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; - * * @return Whether the dateTime field is set. */ @java.lang.Override @@ -178,26 +151,21 @@ public boolean hasDateTime() { return parsedQuoteCase_ == 2; } /** - * - * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; - * * @return The dateTime. */ @java.lang.Override public com.google.privacy.dlp.v2.DateTime getDateTime() { if (parsedQuoteCase_ == 2) { - return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; + return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; } return com.google.privacy.dlp.v2.DateTime.getDefaultInstance(); } /** - * - * *
    * The date time indicated by the quote.
    * 
@@ -207,13 +175,12 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() { @java.lang.Override public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { if (parsedQuoteCase_ == 2) { - return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; + return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; } return com.google.privacy.dlp.v2.DateTime.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +192,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (parsedQuoteCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); } @@ -239,9 +207,8 @@ public int getSerializedSize() { size = 0; if (parsedQuoteCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -251,7 +218,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.privacy.dlp.v2.QuoteInfo)) { return super.equals(obj); @@ -261,7 +228,8 @@ public boolean equals(final java.lang.Object obj) { if (!getParsedQuoteCase().equals(other.getParsedQuoteCase())) return false; switch (parsedQuoteCase_) { case 2: - if (!getDateTime().equals(other.getDateTime())) return false; + if (!getDateTime() + .equals(other.getDateTime())) return false; break; case 0: default: @@ -290,126 +258,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.QuoteInfo 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.privacy.dlp.v2.QuoteInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.QuoteInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for infoType-dependent details parsed from quote.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.QuoteInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.QuoteInfo) com.google.privacy.dlp.v2.QuoteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuoteInfo.class, - com.google.privacy.dlp.v2.QuoteInfo.Builder.class); + com.google.privacy.dlp.v2.QuoteInfo.class, com.google.privacy.dlp.v2.QuoteInfo.Builder.class); } // Construct using com.google.privacy.dlp.v2.QuoteInfo.newBuilder() @@ -417,15 +377,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; } @java.lang.Override @@ -473,39 +434,38 @@ public com.google.privacy.dlp.v2.QuoteInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.QuoteInfo) { - return mergeFrom((com.google.privacy.dlp.v2.QuoteInfo) other); + return mergeFrom((com.google.privacy.dlp.v2.QuoteInfo)other); } else { super.mergeFrom(other); return this; @@ -515,15 +475,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.QuoteInfo other) { if (other == com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance()) return this; switch (other.getParsedQuoteCase()) { - case DATE_TIME: - { - mergeDateTime(other.getDateTime()); - break; - } - case PARSEDQUOTE_NOT_SET: - { - break; - } + case DATE_TIME: { + mergeDateTime(other.getDateTime()); + break; + } + case PARSEDQUOTE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -553,12 +511,12 @@ public Builder mergeFrom( } return this; } - private int parsedQuoteCase_ = 0; private java.lang.Object parsedQuote_; - - public ParsedQuoteCase getParsedQuoteCase() { - return ParsedQuoteCase.forNumber(parsedQuoteCase_); + public ParsedQuoteCase + getParsedQuoteCase() { + return ParsedQuoteCase.forNumber( + parsedQuoteCase_); } public Builder clearParsedQuote() { @@ -568,20 +526,15 @@ public Builder clearParsedQuote() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime, - com.google.privacy.dlp.v2.DateTime.Builder, - com.google.privacy.dlp.v2.DateTimeOrBuilder> - dateTimeBuilder_; + com.google.privacy.dlp.v2.DateTime, com.google.privacy.dlp.v2.DateTime.Builder, com.google.privacy.dlp.v2.DateTimeOrBuilder> dateTimeBuilder_; /** - * - * *
      * The date time indicated by the quote.
      * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; - * * @return Whether the dateTime field is set. */ @java.lang.Override @@ -589,14 +542,11 @@ public boolean hasDateTime() { return parsedQuoteCase_ == 2; } /** - * - * *
      * The date time indicated by the quote.
      * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; - * * @return The dateTime. */ @java.lang.Override @@ -614,8 +564,6 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() { } } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -636,15 +584,14 @@ public Builder setDateTime(com.google.privacy.dlp.v2.DateTime value) { return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; */ - public Builder setDateTime(com.google.privacy.dlp.v2.DateTime.Builder builderForValue) { + public Builder setDateTime( + com.google.privacy.dlp.v2.DateTime.Builder builderForValue) { if (dateTimeBuilder_ == null) { parsedQuote_ = builderForValue.build(); onChanged(); @@ -655,8 +602,6 @@ public Builder setDateTime(com.google.privacy.dlp.v2.DateTime.Builder builderFor return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -665,13 +610,10 @@ public Builder setDateTime(com.google.privacy.dlp.v2.DateTime.Builder builderFor */ public Builder mergeDateTime(com.google.privacy.dlp.v2.DateTime value) { if (dateTimeBuilder_ == null) { - if (parsedQuoteCase_ == 2 - && parsedQuote_ != com.google.privacy.dlp.v2.DateTime.getDefaultInstance()) { - parsedQuote_ = - com.google.privacy.dlp.v2.DateTime.newBuilder( - (com.google.privacy.dlp.v2.DateTime) parsedQuote_) - .mergeFrom(value) - .buildPartial(); + if (parsedQuoteCase_ == 2 && + parsedQuote_ != com.google.privacy.dlp.v2.DateTime.getDefaultInstance()) { + parsedQuote_ = com.google.privacy.dlp.v2.DateTime.newBuilder((com.google.privacy.dlp.v2.DateTime) parsedQuote_) + .mergeFrom(value).buildPartial(); } else { parsedQuote_ = value; } @@ -686,8 +628,6 @@ public Builder mergeDateTime(com.google.privacy.dlp.v2.DateTime value) { return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -711,8 +651,6 @@ public Builder clearDateTime() { return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -723,8 +661,6 @@ public com.google.privacy.dlp.v2.DateTime.Builder getDateTimeBuilder() { return getDateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -743,8 +679,6 @@ public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { } } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -752,32 +686,26 @@ public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { * .google.privacy.dlp.v2.DateTime date_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime, - com.google.privacy.dlp.v2.DateTime.Builder, - com.google.privacy.dlp.v2.DateTimeOrBuilder> + com.google.privacy.dlp.v2.DateTime, com.google.privacy.dlp.v2.DateTime.Builder, com.google.privacy.dlp.v2.DateTimeOrBuilder> getDateTimeFieldBuilder() { if (dateTimeBuilder_ == null) { if (!(parsedQuoteCase_ == 2)) { parsedQuote_ = com.google.privacy.dlp.v2.DateTime.getDefaultInstance(); } - dateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime, - com.google.privacy.dlp.v2.DateTime.Builder, - com.google.privacy.dlp.v2.DateTimeOrBuilder>( + dateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DateTime, com.google.privacy.dlp.v2.DateTime.Builder, com.google.privacy.dlp.v2.DateTimeOrBuilder>( (com.google.privacy.dlp.v2.DateTime) parsedQuote_, getParentForChildren(), isClean()); parsedQuote_ = null; } parsedQuoteCase_ = 2; - onChanged(); - ; + onChanged();; return dateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -787,12 +715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.QuoteInfo) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.QuoteInfo) private static final com.google.privacy.dlp.v2.QuoteInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.QuoteInfo(); } @@ -801,16 +729,16 @@ public static com.google.privacy.dlp.v2.QuoteInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuoteInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuoteInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuoteInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuoteInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.QuoteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java similarity index 59% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java index 89f287b1..021beda9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface QuoteInfoOrBuilder - extends +public interface QuoteInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.QuoteInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; - * * @return Whether the dateTime field is set. */ boolean hasDateTime(); /** - * - * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; - * * @return The dateTime. */ com.google.privacy.dlp.v2.DateTime getDateTime(); /** - * - * *
    * The date time indicated by the quote.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java index a5b86da1..7865ceb3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Generic half-open interval [start, end)
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Range} */ -public final class Range extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Range extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Range) RangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Range() {} + private Range() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Range(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Range( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,44 @@ private Range( case 0: done = true; break; - case 8: - { - start_ = input.readInt64(); - break; - } - case 16: - { - end_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + start_ = input.readInt64(); + break; + } + case 16: { + + end_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Range.class, com.google.privacy.dlp.v2.Range.Builder.class); } @@ -114,14 +97,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int START_FIELD_NUMBER = 1; private long start_; /** - * - * *
    * Index of the first character of the range (inclusive).
    * 
* * int64 start = 1; - * * @return The start. */ @java.lang.Override @@ -132,14 +112,11 @@ public long getStart() { public static final int END_FIELD_NUMBER = 2; private long end_; /** - * - * *
    * Index of the last character of the range (exclusive).
    * 
* * int64 end = 2; - * * @return The end. */ @java.lang.Override @@ -148,7 +125,6 @@ public long getEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,7 +136,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (start_ != 0L) { output.writeInt64(1, start_); } @@ -177,10 +154,12 @@ public int getSerializedSize() { size = 0; if (start_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, start_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, start_); } if (end_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, end_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, end_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -190,15 +169,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.privacy.dlp.v2.Range)) { return super.equals(obj); } com.google.privacy.dlp.v2.Range other = (com.google.privacy.dlp.v2.Range) obj; - if (getStart() != other.getStart()) return false; - if (getEnd() != other.getEnd()) return false; + if (getStart() + != other.getStart()) return false; + if (getEnd() + != other.getEnd()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -211,131 +192,126 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStart()); hash = (37 * hash) + END_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEnd()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEnd()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.Range parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Range parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Range parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Range parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Range parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Range parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Range parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Range parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Range parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Range 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.privacy.dlp.v2.Range parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Range parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Range parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Range prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Generic half-open interval [start, end)
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Range} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Range) com.google.privacy.dlp.v2.RangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Range.class, com.google.privacy.dlp.v2.Range.Builder.class); } @@ -345,15 +321,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -365,9 +342,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Range_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_descriptor; } @java.lang.Override @@ -397,39 +374,38 @@ public com.google.privacy.dlp.v2.Range buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Range) { - return mergeFrom((com.google.privacy.dlp.v2.Range) other); + return mergeFrom((com.google.privacy.dlp.v2.Range)other); } else { super.mergeFrom(other); return this; @@ -473,16 +449,13 @@ public Builder mergeFrom( return this; } - private long start_; + private long start_ ; /** - * - * *
      * Index of the first character of the range (inclusive).
      * 
* * int64 start = 1; - * * @return The start. */ @java.lang.Override @@ -490,51 +463,42 @@ public long getStart() { return start_; } /** - * - * *
      * Index of the first character of the range (inclusive).
      * 
* * int64 start = 1; - * * @param value The start to set. * @return This builder for chaining. */ public Builder setStart(long value) { - + start_ = value; onChanged(); return this; } /** - * - * *
      * Index of the first character of the range (inclusive).
      * 
* * int64 start = 1; - * * @return This builder for chaining. */ public Builder clearStart() { - + start_ = 0L; onChanged(); return this; } - private long end_; + private long end_ ; /** - * - * *
      * Index of the last character of the range (exclusive).
      * 
* * int64 end = 2; - * * @return The end. */ @java.lang.Override @@ -542,43 +506,37 @@ public long getEnd() { return end_; } /** - * - * *
      * Index of the last character of the range (exclusive).
      * 
* * int64 end = 2; - * * @param value The end to set. * @return This builder for chaining. */ public Builder setEnd(long value) { - + end_ = value; onChanged(); return this; } /** - * - * *
      * Index of the last character of the range (exclusive).
      * 
* * int64 end = 2; - * * @return This builder for chaining. */ public Builder clearEnd() { - + end_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +546,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Range) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Range) private static final com.google.privacy.dlp.v2.Range DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Range(); } @@ -602,16 +560,16 @@ public static com.google.privacy.dlp.v2.Range getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Range parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Range(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Range parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Range(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -626,4 +584,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java new file mode 100644 index 00000000..c52c250e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface RangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Range) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Index of the first character of the range (inclusive).
+   * 
+ * + * int64 start = 1; + * @return The start. + */ + long getStart(); + + /** + *
+   * Index of the last character of the range (exclusive).
+   * 
+ * + * int64 end = 2; + * @return The end. + */ + long getEnd(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java index 00ec26ed..6fc16861 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A condition for determining whether a transformation should be applied to
  * a field.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RecordCondition}
  */
-public final class RecordCondition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RecordCondition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition)
     RecordConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RecordCondition.newBuilder() to construct.
   private RecordCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RecordCondition() {}
+  private RecordCondition() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RecordCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RecordCondition(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,156 +53,120 @@ private RecordCondition(
           case 0:
             done = true;
             break;
-          case 26:
-            {
-              com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder subBuilder = null;
-              if (expressions_ != null) {
-                subBuilder = expressions_.toBuilder();
-              }
-              expressions_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RecordCondition.Expressions.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(expressions_);
-                expressions_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 26: {
+            com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder subBuilder = null;
+            if (expressions_ != null) {
+              subBuilder = expressions_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            expressions_ = input.readMessage(com.google.privacy.dlp.v2.RecordCondition.Expressions.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(expressions_);
+              expressions_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordCondition.class,
-            com.google.privacy.dlp.v2.RecordCondition.Builder.class);
+            com.google.privacy.dlp.v2.RecordCondition.class, com.google.privacy.dlp.v2.RecordCondition.Builder.class);
   }
 
-  public interface ConditionOrBuilder
-      extends
+  public interface ConditionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition.Condition)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** - * - * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for operator. */ int getOperatorValue(); /** - * - * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The operator. */ com.google.privacy.dlp.v2.RelationalOperator getOperator(); /** - * - * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; - * * @return The value. */ com.google.privacy.dlp.v2.Value getValue(); /** - * - * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
@@ -228,8 +176,6 @@ public interface ConditionOrBuilder com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder(); } /** - * - * *
    * The field type of `value` and `field` do not need to match to be
    * considered equal, but not all comparisons are possible.
@@ -252,31 +198,31 @@ public interface ConditionOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Condition}
    */
-  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Condition extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition.Condition)
       ConditionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Condition() {
       operator_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Condition();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Condition(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -295,90 +241,78 @@ private Condition(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                if (field_ != null) {
-                  subBuilder = field_.toBuilder();
-                }
-                field_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(field_);
-                  field_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (field_ != null) {
+                subBuilder = field_.toBuilder();
               }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(field_);
+                field_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                operator_ = rawValue;
-                break;
+              operator_ = rawValue;
+              break;
+            }
+            case 34: {
+              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
+              if (value_ != null) {
+                subBuilder = value_.toBuilder();
               }
-            case 34:
-              {
-                com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
-                if (value_ != null) {
-                  subBuilder = value_.toBuilder();
-                }
-                value_ =
-                    input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(value_);
-                  value_ = subBuilder.buildPartial();
-                }
-
-                break;
+              value_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(value_);
+                value_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordCondition.Condition.class,
-              com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
+              com.google.privacy.dlp.v2.RecordCondition.Condition.class, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
-     *
-     *
      * 
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ @java.lang.Override @@ -386,15 +320,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ @java.lang.Override @@ -402,14 +332,11 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { @@ -419,54 +346,38 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int OPERATOR_FIELD_NUMBER = 3; private int operator_; /** - * - * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for operator. */ - @java.lang.Override - public int getOperatorValue() { + @java.lang.Override public int getOperatorValue() { return operator_; } /** - * - * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The operator. */ - @java.lang.Override - public com.google.privacy.dlp.v2.RelationalOperator getOperator() { + @java.lang.Override public com.google.privacy.dlp.v2.RelationalOperator getOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RelationalOperator result = - com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); + com.google.privacy.dlp.v2.RelationalOperator result = com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); return result == null ? com.google.privacy.dlp.v2.RelationalOperator.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.Value value_; /** - * - * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; - * * @return Whether the value field is set. */ @java.lang.Override @@ -474,14 +385,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; - * * @return The value. */ @java.lang.Override @@ -489,8 +397,6 @@ public com.google.privacy.dlp.v2.Value getValue() { return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } /** - * - * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
@@ -503,7 +409,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -515,13 +420,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } - if (operator_ - != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED - .getNumber()) { + if (operator_ != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED.getNumber()) { output.writeEnum(3, operator_); } if (value_ != null) { @@ -537,15 +441,16 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getField()); } - if (operator_ - != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operator_); + if (operator_ != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operator_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -555,22 +460,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.privacy.dlp.v2.RecordCondition.Condition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition.Condition other = - (com.google.privacy.dlp.v2.RecordCondition.Condition) obj; + com.google.privacy.dlp.v2.RecordCondition.Condition other = (com.google.privacy.dlp.v2.RecordCondition.Condition) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } if (operator_ != other.operator_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -599,94 +505,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.RecordCondition.Condition prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition.Condition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -696,8 +595,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The field type of `value` and `field` do not need to match to be
      * considered equal, but not all comparisons are possible.
@@ -720,24 +617,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Condition}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition.Condition)
         com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.RecordCondition.Condition.class,
-                com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
+                com.google.privacy.dlp.v2.RecordCondition.Condition.class, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.RecordCondition.Condition.newBuilder()
@@ -745,15 +639,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -775,9 +670,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -796,8 +691,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.RecordCondition.Condition buildPartial() {
-        com.google.privacy.dlp.v2.RecordCondition.Condition result =
-            new com.google.privacy.dlp.v2.RecordCondition.Condition(this);
+        com.google.privacy.dlp.v2.RecordCondition.Condition result = new com.google.privacy.dlp.v2.RecordCondition.Condition(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -817,41 +711,38 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.RecordCondition.Condition) {
-          return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Condition) other);
+          return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Condition)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -859,8 +750,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Condition other) {
-        if (other == com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()) return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -889,8 +779,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.RecordCondition.Condition) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.RecordCondition.Condition) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -902,35 +791,24 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
-          fieldBuilder_;
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
       /**
-       *
-       *
        * 
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -941,14 +819,11 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { @@ -964,16 +839,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -984,22 +857,17 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -1011,14 +879,11 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -1032,59 +897,48 @@ public Builder clearField() { return this; } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -1092,73 +946,51 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private int operator_ = 0; /** - * - * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for operator. */ - @java.lang.Override - public int getOperatorValue() { + @java.lang.Override public int getOperatorValue() { return operator_; } /** - * - * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for operator to set. * @return This builder for chaining. */ public Builder setOperatorValue(int value) { - + operator_ = value; onChanged(); return this; } /** - * - * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The operator. */ @java.lang.Override public com.google.privacy.dlp.v2.RelationalOperator getOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RelationalOperator result = - com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); + com.google.privacy.dlp.v2.RelationalOperator result = com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); return result == null ? com.google.privacy.dlp.v2.RelationalOperator.UNRECOGNIZED : result; } /** - * - * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The operator to set. * @return This builder for chaining. */ @@ -1166,26 +998,21 @@ public Builder setOperator(com.google.privacy.dlp.v2.RelationalOperator value) { if (value == null) { throw new NullPointerException(); } - + operator_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearOperator() { - + operator_ = 0; onChanged(); return this; @@ -1193,33 +1020,24 @@ public Builder clearOperator() { private com.google.privacy.dlp.v2.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - valueBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> valueBuilder_; /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
* * .google.privacy.dlp.v2.Value value = 4; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
* * .google.privacy.dlp.v2.Value value = 4; - * * @return The value. */ public com.google.privacy.dlp.v2.Value getValue() { @@ -1230,8 +1048,6 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1252,15 +1068,14 @@ public Builder setValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
* * .google.privacy.dlp.v2.Value value = 4; */ - public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setValue( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1271,8 +1086,6 @@ public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1283,7 +1096,7 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -1295,8 +1108,6 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1315,8 +1126,6 @@ public Builder clearValue() { return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1324,13 +1133,11 @@ public Builder clearValue() { * .google.privacy.dlp.v2.Value value = 4; */ public com.google.privacy.dlp.v2.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1341,12 +1148,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; + return value_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1354,22 +1160,18 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { * .google.privacy.dlp.v2.Value value = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1382,12 +1184,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition.Condition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Condition) private static final com.google.privacy.dlp.v2.RecordCondition.Condition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition.Condition(); } @@ -1396,16 +1198,16 @@ public static com.google.privacy.dlp.v2.RecordCondition.Condition getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Condition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Condition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Condition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1420,26 +1222,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition.Condition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConditionsOrBuilder - extends + public interface ConditionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition.Conditions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A collection of conditions.
      * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
      * A collection of conditions.
      * 
@@ -1448,8 +1247,6 @@ public interface ConditionsOrBuilder */ com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int index); /** - * - * *
      * A collection of conditions.
      * 
@@ -1458,61 +1255,56 @@ public interface ConditionsOrBuilder */ int getConditionsCount(); /** - * - * *
      * A collection of conditions.
      * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** - * - * *
      * A collection of conditions.
      * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder(int index); + com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder( + int index); } /** - * - * *
    * A collection of conditions.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Conditions} */ - public static final class Conditions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Conditions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition.Conditions) ConditionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Conditions.newBuilder() to construct. private Conditions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Conditions() { conditions_ = 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 Conditions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Conditions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1532,33 +1324,29 @@ private Conditions( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conditions_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.RecordCondition.Condition>(); - mutable_bitField0_ |= 0x00000001; - } - conditions_.add( - input.readMessage( - com.google.privacy.dlp.v2.RecordCondition.Condition.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conditions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + conditions_.add( + input.readMessage(com.google.privacy.dlp.v2.RecordCondition.Condition.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conditions_ = java.util.Collections.unmodifiableList(conditions_); @@ -1567,27 +1355,22 @@ private Conditions( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Conditions.class, - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Conditions.class, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); } public static final int CONDITIONS_FIELD_NUMBER = 1; private java.util.List conditions_; /** - * - * *
      * A collection of conditions.
      * 
@@ -1599,8 +1382,6 @@ public java.util.List getCo return conditions_; } /** - * - * *
      * A collection of conditions.
      * 
@@ -1608,13 +1389,11 @@ public java.util.List getCo * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
      * A collection of conditions.
      * 
@@ -1626,8 +1405,6 @@ public int getConditionsCount() { return conditions_.size(); } /** - * - * *
      * A collection of conditions.
      * 
@@ -1639,8 +1416,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind return conditions_.get(index); } /** - * - * *
      * A collection of conditions.
      * 
@@ -1654,7 +1429,6 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1666,7 +1440,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < conditions_.size(); i++) { output.writeMessage(1, conditions_.get(i)); } @@ -1680,7 +1455,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, conditions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1690,15 +1466,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.privacy.dlp.v2.RecordCondition.Conditions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition.Conditions other = - (com.google.privacy.dlp.v2.RecordCondition.Conditions) obj; + com.google.privacy.dlp.v2.RecordCondition.Conditions other = (com.google.privacy.dlp.v2.RecordCondition.Conditions) obj; - if (!getConditionsList().equals(other.getConditionsList())) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1720,94 +1496,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.RecordCondition.Conditions prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition.Conditions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1817,32 +1586,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A collection of conditions.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Conditions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition.Conditions) com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Conditions.class, - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Conditions.class, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordCondition.Conditions.newBuilder() @@ -1850,17 +1614,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConditionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1874,9 +1638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; } @java.lang.Override @@ -1895,8 +1659,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Conditions buildPartial() { - com.google.privacy.dlp.v2.RecordCondition.Conditions result = - new com.google.privacy.dlp.v2.RecordCondition.Conditions(this); + com.google.privacy.dlp.v2.RecordCondition.Conditions result = new com.google.privacy.dlp.v2.RecordCondition.Conditions(this); int from_bitField0_ = bitField0_; if (conditionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1915,41 +1678,38 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.RecordCondition.Conditions) { - return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Conditions) other); + return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Conditions)other); } else { super.mergeFrom(other); return this; @@ -1957,8 +1717,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Conditions other) { - if (other == com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) return this; if (conditionsBuilder_ == null) { if (!other.conditions_.isEmpty()) { if (conditions_.isEmpty()) { @@ -1977,10 +1736,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Conditions ot conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000001); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConditionsFieldBuilder() - : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConditionsFieldBuilder() : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -2005,8 +1763,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.RecordCondition.Conditions) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.RecordCondition.Conditions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2015,38 +1772,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conditions_ = - new java.util.ArrayList( - conditions_); + conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Condition, - com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, - com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> - conditionsBuilder_; + com.google.privacy.dlp.v2.RecordCondition.Condition, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> conditionsBuilder_; /** - * - * *
        * A collection of conditions.
        * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - public java.util.List - getConditionsList() { + public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(conditions_); } else { @@ -2054,8 +1801,6 @@ private void ensureConditionsIsMutable() { } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2070,8 +1815,6 @@ public int getConditionsCount() { } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2086,8 +1829,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2109,8 +1850,6 @@ public Builder setConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2129,8 +1868,6 @@ public Builder setConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2151,8 +1888,6 @@ public Builder addConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2174,8 +1909,6 @@ public Builder addConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2194,8 +1927,6 @@ public Builder addConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2214,8 +1945,6 @@ public Builder addConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2223,11 +1952,11 @@ public Builder addConditions( * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ public Builder addAllConditions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -2235,8 +1964,6 @@ public Builder addAllConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2254,8 +1981,6 @@ public Builder clearConditions() { return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2273,8 +1998,6 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2286,8 +2009,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder getConditions return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
        * A collection of conditions.
        * 
@@ -2297,22 +2018,19 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder getConditions public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder( int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A collection of conditions.
        * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -2320,8 +2038,6 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2329,12 +2045,10 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); } /** - * - * *
        * A collection of conditions.
        * 
@@ -2343,41 +2057,34 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder addConditions */ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder addConditionsBuilder( int index) { - return getConditionsFieldBuilder() - .addBuilder( - index, com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); } /** - * - * *
        * A collection of conditions.
        * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Condition, - com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, - com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> + com.google.privacy.dlp.v2.RecordCondition.Condition, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Condition, - com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, - com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.RecordCondition.Condition, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2390,12 +2097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition.Conditions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Conditions) private static final com.google.privacy.dlp.v2.RecordCondition.Conditions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition.Conditions(); } @@ -2404,16 +2111,16 @@ public static com.google.privacy.dlp.v2.RecordCondition.Conditions getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Conditions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Conditions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Conditions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Conditions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2428,71 +2135,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition.Conditions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExpressionsOrBuilder - extends + public interface ExpressionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition.Expressions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return The enum numeric value on the wire for logicalOperator. */ int getLogicalOperatorValue(); /** - * - * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return The logicalOperator. */ com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator(); /** - * - * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; - * * @return Whether the conditions field is set. */ boolean hasConditions(); /** - * - * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; - * * @return The conditions. */ com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions(); /** - * - * *
      * Conditions to apply to the expression.
      * 
@@ -2504,39 +2193,37 @@ public interface ExpressionsOrBuilder public com.google.privacy.dlp.v2.RecordCondition.Expressions.TypeCase getTypeCase(); } /** - * - * *
    * An expression, consisting or an operator and conditions.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Expressions} */ - public static final class Expressions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Expressions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition.Expressions) ExpressionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Expressions.newBuilder() to construct. private Expressions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Expressions() { logicalOperator_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Expressions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Expressions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2555,79 +2242,68 @@ private Expressions( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - logicalOperator_ = rawValue; - break; + logicalOperator_ = rawValue; + break; + } + case 26: { + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = - ((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.RecordCondition.Conditions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.RecordCondition.Conditions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); + type_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + typeCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Expressions.class, - com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Expressions.class, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); } /** - * - * *
      * Logical operators for conditional checks.
      * 
* * Protobuf enum {@code google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator} */ - public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { + public enum LogicalOperator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unused
        * 
@@ -2636,8 +2312,6 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { */ LOGICAL_OPERATOR_UNSPECIFIED(0), /** - * - * *
        * Conditional AND
        * 
@@ -2649,8 +2323,6 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unused
        * 
@@ -2659,8 +2331,6 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOGICAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Conditional AND
        * 
@@ -2669,6 +2339,7 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AND_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2693,12 +2364,9 @@ public static LogicalOperator valueOf(int value) { */ public static LogicalOperator forNumber(int value) { switch (value) { - case 0: - return LOGICAL_OPERATOR_UNSPECIFIED; - case 1: - return AND; - default: - return null; + case 0: return LOGICAL_OPERATOR_UNSPECIFIED; + case 1: return AND; + default: return null; } } @@ -2706,31 +2374,29 @@ public static LogicalOperator forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LogicalOperator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LogicalOperator findValueByNumber(int number) { + return LogicalOperator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LogicalOperator findValueByNumber(int number) { - return LogicalOperator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.privacy.dlp.v2.RecordCondition.Expressions.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.RecordCondition.Expressions.getDescriptor().getEnumTypes().get(0); } private static final LogicalOperator[] VALUES = values(); @@ -2738,7 +2404,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LogicalOperator 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; @@ -2757,15 +2424,12 @@ private LogicalOperator(int value) { private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONDITIONS(3), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -2781,80 +2445,58 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 3: - return CONDITIONS; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 3: return CONDITIONS; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int LOGICAL_OPERATOR_FIELD_NUMBER = 1; private int logicalOperator_; /** - * - * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return The enum numeric value on the wire for logicalOperator. */ - @java.lang.Override - public int getLogicalOperatorValue() { + @java.lang.Override public int getLogicalOperatorValue() { return logicalOperator_; } /** - * - * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return The logicalOperator. */ - @java.lang.Override - public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator - getLogicalOperator() { + @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf( - logicalOperator_); - return result == null - ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf(logicalOperator_); + return result == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED : result; } public static final int CONDITIONS_FIELD_NUMBER = 3; /** - * - * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; - * * @return Whether the conditions field is set. */ @java.lang.Override @@ -2862,26 +2504,21 @@ public boolean hasConditions() { return typeCase_ == 3; } /** - * - * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; - * * @return The conditions. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; + return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; } return com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance(); } /** - * - * *
      * Conditions to apply to the expression.
      * 
@@ -2891,13 +2528,12 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditionsOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; + return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; } return com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2909,11 +2545,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (logicalOperator_ - != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator - .LOGICAL_OPERATOR_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (logicalOperator_ != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { output.writeEnum(1, logicalOperator_); } if (typeCase_ == 3) { @@ -2928,16 +2562,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (logicalOperator_ - != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator - .LOGICAL_OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logicalOperator_); + if (logicalOperator_ != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, logicalOperator_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2947,19 +2578,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.privacy.dlp.v2.RecordCondition.Expressions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition.Expressions other = - (com.google.privacy.dlp.v2.RecordCondition.Expressions) obj; + com.google.privacy.dlp.v2.RecordCondition.Expressions other = (com.google.privacy.dlp.v2.RecordCondition.Expressions) obj; if (logicalOperator_ != other.logicalOperator_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 3: - if (!getConditions().equals(other.getConditions())) return false; + if (!getConditions() + .equals(other.getConditions())) return false; break; case 0: default: @@ -2991,94 +2622,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.RecordCondition.Expressions prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition.Expressions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3088,32 +2712,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An expression, consisting or an operator and conditions.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Expressions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition.Expressions) com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Expressions.class, - com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Expressions.class, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordCondition.Expressions.newBuilder() @@ -3121,15 +2740,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3141,9 +2761,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; } @java.lang.Override @@ -3162,8 +2782,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Expressions buildPartial() { - com.google.privacy.dlp.v2.RecordCondition.Expressions result = - new com.google.privacy.dlp.v2.RecordCondition.Expressions(this); + com.google.privacy.dlp.v2.RecordCondition.Expressions result = new com.google.privacy.dlp.v2.RecordCondition.Expressions(this); result.logicalOperator_ = logicalOperator_; if (typeCase_ == 3) { if (conditionsBuilder_ == null) { @@ -3181,41 +2800,38 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.RecordCondition.Expressions) { - return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Expressions) other); + return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Expressions)other); } else { super.mergeFrom(other); return this; @@ -3223,21 +2839,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Expressions other) { - if (other == com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance()) return this; if (other.logicalOperator_ != 0) { setLogicalOperatorValue(other.getLogicalOperatorValue()); } switch (other.getTypeCase()) { - case CONDITIONS: - { - mergeConditions(other.getConditions()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case CONDITIONS: { + mergeConditions(other.getConditions()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3258,8 +2871,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.RecordCondition.Expressions) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.RecordCondition.Expressions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3268,12 +2880,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -3283,131 +2895,94 @@ public Builder clearType() { return this; } + private int logicalOperator_ = 0; /** - * - * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return The enum numeric value on the wire for logicalOperator. */ - @java.lang.Override - public int getLogicalOperatorValue() { + @java.lang.Override public int getLogicalOperatorValue() { return logicalOperator_; } /** - * - * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @param value The enum numeric value on the wire for logicalOperator to set. * @return This builder for chaining. */ public Builder setLogicalOperatorValue(int value) { - + logicalOperator_ = value; onChanged(); return this; } /** - * - * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return The logicalOperator. */ @java.lang.Override - public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator - getLogicalOperator() { + public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf( - logicalOperator_); - return result == null - ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf(logicalOperator_); + return result == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED : result; } /** - * - * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @param value The logicalOperator to set. * @return This builder for chaining. */ - public Builder setLogicalOperator( - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator value) { + public Builder setLogicalOperator(com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator value) { if (value == null) { throw new NullPointerException(); } - + logicalOperator_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; * @return This builder for chaining. */ public Builder clearLogicalOperator() { - + logicalOperator_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Conditions, - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, - com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> - conditionsBuilder_; + com.google.privacy.dlp.v2.RecordCondition.Conditions, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> conditionsBuilder_; /** - * - * *
        * Conditions to apply to the expression.
        * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; - * * @return Whether the conditions field is set. */ @java.lang.Override @@ -3415,14 +2990,11 @@ public boolean hasConditions() { return typeCase_ == 3; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; - * * @return The conditions. */ @java.lang.Override @@ -3440,8 +3012,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { } } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3462,8 +3032,6 @@ public Builder setConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3482,8 +3050,6 @@ public Builder setConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3492,14 +3058,10 @@ public Builder setConditions( */ public Builder mergeConditions(com.google.privacy.dlp.v2.RecordCondition.Conditions value) { if (conditionsBuilder_ == null) { - if (typeCase_ == 3 - && type_ - != com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.RecordCondition.Conditions.newBuilder( - (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.RecordCondition.Conditions.newBuilder((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -3514,8 +3076,6 @@ public Builder mergeConditions(com.google.privacy.dlp.v2.RecordCondition.Conditi return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3539,8 +3099,6 @@ public Builder clearConditions() { return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3551,8 +3109,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition return getConditionsFieldBuilder().getBuilder(); } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3560,8 +3116,7 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder - getConditionsOrBuilder() { + public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditionsOrBuilder() { if ((typeCase_ == 3) && (conditionsBuilder_ != null)) { return conditionsBuilder_.getMessageOrBuilder(); } else { @@ -3572,8 +3127,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition } } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3581,30 +3134,23 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Conditions, - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, - com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> + com.google.privacy.dlp.v2.RecordCondition.Conditions, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance(); } - conditionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Conditions, - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, - com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder>( + conditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordCondition.Conditions, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder>( (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return conditionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3617,12 +3163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition.Expressions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Expressions) private static final com.google.privacy.dlp.v2.RecordCondition.Expressions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition.Expressions(); } @@ -3631,16 +3177,16 @@ public static com.google.privacy.dlp.v2.RecordCondition.Expressions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Expressions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Expressions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Expressions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Expressions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3655,19 +3201,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition.Expressions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int EXPRESSIONS_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.RecordCondition.Expressions expressions_; /** - * - * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; - * * @return Whether the expressions field is set. */ @java.lang.Override @@ -3675,25 +3219,18 @@ public boolean hasExpressions() { return expressions_ != null; } /** - * - * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; - * * @return The expressions. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() { - return expressions_ == null - ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() - : expressions_; + return expressions_ == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() : expressions_; } /** - * - * *
    * An expression.
    * 
@@ -3706,7 +3243,6 @@ public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpress } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3718,7 +3254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (expressions_ != null) { output.writeMessage(3, getExpressions()); } @@ -3732,7 +3269,8 @@ public int getSerializedSize() { size = 0; if (expressions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpressions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpressions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3742,17 +3280,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.privacy.dlp.v2.RecordCondition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition other = - (com.google.privacy.dlp.v2.RecordCondition) obj; + com.google.privacy.dlp.v2.RecordCondition other = (com.google.privacy.dlp.v2.RecordCondition) obj; if (hasExpressions() != other.hasExpressions()) return false; if (hasExpressions()) { - if (!getExpressions().equals(other.getExpressions())) return false; + if (!getExpressions() + .equals(other.getExpressions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3774,104 +3312,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordCondition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 condition for determining whether a transformation should be applied to
    * a field.
@@ -3879,23 +3410,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordCondition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition)
       com.google.privacy.dlp.v2.RecordConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordCondition.class,
-              com.google.privacy.dlp.v2.RecordCondition.Builder.class);
+              com.google.privacy.dlp.v2.RecordCondition.class, com.google.privacy.dlp.v2.RecordCondition.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RecordCondition.newBuilder()
@@ -3903,15 +3432,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3925,9 +3455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
     }
 
     @java.lang.Override
@@ -3946,8 +3476,7 @@ public com.google.privacy.dlp.v2.RecordCondition build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RecordCondition buildPartial() {
-      com.google.privacy.dlp.v2.RecordCondition result =
-          new com.google.privacy.dlp.v2.RecordCondition(this);
+      com.google.privacy.dlp.v2.RecordCondition result = new com.google.privacy.dlp.v2.RecordCondition(this);
       if (expressionsBuilder_ == null) {
         result.expressions_ = expressions_;
       } else {
@@ -3961,39 +3490,38 @@ public com.google.privacy.dlp.v2.RecordCondition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RecordCondition) {
-        return mergeFrom((com.google.privacy.dlp.v2.RecordCondition) other);
+        return mergeFrom((com.google.privacy.dlp.v2.RecordCondition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4036,47 +3564,34 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.RecordCondition.Expressions expressions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordCondition.Expressions,
-            com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder,
-            com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder>
-        expressionsBuilder_;
+        com.google.privacy.dlp.v2.RecordCondition.Expressions, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder> expressionsBuilder_;
     /**
-     *
-     *
      * 
      * An expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; - * * @return Whether the expressions field is set. */ public boolean hasExpressions() { return expressionsBuilder_ != null || expressions_ != null; } /** - * - * *
      * An expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; - * * @return The expressions. */ public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() { if (expressionsBuilder_ == null) { - return expressions_ == null - ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() - : expressions_; + return expressions_ == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() : expressions_; } else { return expressionsBuilder_.getMessage(); } } /** - * - * *
      * An expression.
      * 
@@ -4097,8 +3612,6 @@ public Builder setExpressions(com.google.privacy.dlp.v2.RecordCondition.Expressi return this; } /** - * - * *
      * An expression.
      * 
@@ -4117,8 +3630,6 @@ public Builder setExpressions( return this; } /** - * - * *
      * An expression.
      * 
@@ -4129,9 +3640,7 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.RecordCondition.Expres if (expressionsBuilder_ == null) { if (expressions_ != null) { expressions_ = - com.google.privacy.dlp.v2.RecordCondition.Expressions.newBuilder(expressions_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.RecordCondition.Expressions.newBuilder(expressions_).mergeFrom(value).buildPartial(); } else { expressions_ = value; } @@ -4143,8 +3652,6 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.RecordCondition.Expres return this; } /** - * - * *
      * An expression.
      * 
@@ -4163,8 +3670,6 @@ public Builder clearExpressions() { return this; } /** - * - * *
      * An expression.
      * 
@@ -4172,32 +3677,26 @@ public Builder clearExpressions() { * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; */ public com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder getExpressionsBuilder() { - + onChanged(); return getExpressionsFieldBuilder().getBuilder(); } /** - * - * *
      * An expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; */ - public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder - getExpressionsOrBuilder() { + public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilder(); } else { - return expressions_ == null - ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() - : expressions_; + return expressions_ == null ? + com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() : expressions_; } } /** - * - * *
      * An expression.
      * 
@@ -4205,24 +3704,21 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder getExpressi * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Expressions, - com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, - com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder> + com.google.privacy.dlp.v2.RecordCondition.Expressions, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Expressions, - com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, - com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder>( - getExpressions(), getParentForChildren(), isClean()); + expressionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordCondition.Expressions, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder>( + getExpressions(), + getParentForChildren(), + isClean()); expressions_ = null; } return expressionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4232,12 +3728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition) private static final com.google.privacy.dlp.v2.RecordCondition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition(); } @@ -4246,16 +3742,16 @@ public static com.google.privacy.dlp.v2.RecordCondition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordCondition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4270,4 +3766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java similarity index 58% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java index a5f55e24..8a5ae866 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RecordConditionOrBuilder - extends +public interface RecordConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; - * * @return Whether the expressions field is set. */ boolean hasExpressions(); /** - * - * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; - * * @return The expressions. */ com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions(); /** - * - * *
    * An expression.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java index 476cf305..d234f364 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Message for a unique key indicating a record that contains a finding.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordKey} */ -public final class RecordKey extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RecordKey extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordKey) RecordKeyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RecordKey.newBuilder() to construct. private RecordKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecordKey() { idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecordKey(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RecordKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,61 +54,57 @@ private RecordKey( case 0: done = true; break; - case 18: - { - com.google.privacy.dlp.v2.DatastoreKey.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DatastoreKey) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.DatastoreKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreKey) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; + case 18: { + com.google.privacy.dlp.v2.DatastoreKey.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DatastoreKey) type_).toBuilder(); + } + type_ = + input.readMessage(com.google.privacy.dlp.v2.DatastoreKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreKey) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 2; + break; + } + case 26: { + com.google.privacy.dlp.v2.BigQueryKey.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.BigQueryKey) type_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.BigQueryKey.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.BigQueryKey) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryKey) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.BigQueryKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryKey) type_); + type_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - idValues_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - idValues_.add(s); - break; + typeCase_ = 3; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + idValues_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + idValues_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { idValues_ = idValues_.getUnmodifiableView(); @@ -134,34 +113,28 @@ private RecordKey( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordKey.class, - com.google.privacy.dlp.v2.RecordKey.Builder.class); + com.google.privacy.dlp.v2.RecordKey.class, com.google.privacy.dlp.v2.RecordKey.Builder.class); } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATASTORE_KEY(2), BIG_QUERY_KEY(3), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -177,30 +150,26 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 2: - return DATASTORE_KEY; - case 3: - return BIG_QUERY_KEY; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 2: return DATASTORE_KEY; + case 3: return BIG_QUERY_KEY; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int DATASTORE_KEY_FIELD_NUMBER = 2; /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return Whether the datastoreKey field is set. */ @java.lang.Override @@ -209,21 +178,22 @@ public boolean hasDatastoreKey() { } /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return The datastoreKey. */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreKey) type_; + return (com.google.privacy.dlp.v2.DatastoreKey) type_; } return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreKey) type_; + return (com.google.privacy.dlp.v2.DatastoreKey) type_; } return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } @@ -231,7 +201,6 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder( public static final int BIG_QUERY_KEY_FIELD_NUMBER = 3; /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return Whether the bigQueryKey field is set. */ @java.lang.Override @@ -240,21 +209,22 @@ public boolean hasBigQueryKey() { } /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return The bigQueryKey. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryKey) type_; + return (com.google.privacy.dlp.v2.BigQueryKey) type_; } return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryKey) type_; + return (com.google.privacy.dlp.v2.BigQueryKey) type_; } return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } @@ -262,45 +232,37 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() public static final int ID_VALUES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList idValues_; /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @return A list containing the idValues. */ - public com.google.protobuf.ProtocolStringList getIdValuesList() { + public com.google.protobuf.ProtocolStringList + getIdValuesList() { return idValues_; } /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @return The count of idValues. */ public int getIdValuesCount() { return idValues_.size(); } /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @param index The index of the element to return. * @return The idValues at the given index. */ @@ -308,24 +270,21 @@ public java.lang.String getIdValues(int index) { return idValues_.get(index); } /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @param index The index of the value to return. * @return The bytes of the idValues at the given index. */ - public com.google.protobuf.ByteString getIdValuesBytes(int index) { + public com.google.protobuf.ByteString + getIdValuesBytes(int index) { return idValues_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +296,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DatastoreKey) type_); } @@ -357,14 +317,12 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.DatastoreKey) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.DatastoreKey) type_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.BigQueryKey) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.BigQueryKey) type_); } { int dataSize = 0; @@ -382,21 +340,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.privacy.dlp.v2.RecordKey)) { return super.equals(obj); } com.google.privacy.dlp.v2.RecordKey other = (com.google.privacy.dlp.v2.RecordKey) obj; - if (!getIdValuesList().equals(other.getIdValuesList())) return false; + if (!getIdValuesList() + .equals(other.getIdValuesList())) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 2: - if (!getDatastoreKey().equals(other.getDatastoreKey())) return false; + if (!getDatastoreKey() + .equals(other.getDatastoreKey())) return false; break; case 3: - if (!getBigQueryKey().equals(other.getBigQueryKey())) return false; + if (!getBigQueryKey() + .equals(other.getBigQueryKey())) return false; break; case 0: default: @@ -433,126 +394,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordKey parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.RecordKey parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordKey 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.privacy.dlp.v2.RecordKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RecordKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for a unique key indicating a record that contains a finding.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordKey} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordKey) com.google.privacy.dlp.v2.RecordKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordKey.class, - com.google.privacy.dlp.v2.RecordKey.Builder.class); + com.google.privacy.dlp.v2.RecordKey.class, com.google.privacy.dlp.v2.RecordKey.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordKey.newBuilder() @@ -560,15 +513,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -580,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_descriptor; } @java.lang.Override @@ -631,39 +585,38 @@ public com.google.privacy.dlp.v2.RecordKey buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RecordKey) { - return mergeFrom((com.google.privacy.dlp.v2.RecordKey) other); + return mergeFrom((com.google.privacy.dlp.v2.RecordKey)other); } else { super.mergeFrom(other); return this; @@ -683,20 +636,17 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordKey other) { onChanged(); } switch (other.getTypeCase()) { - case DATASTORE_KEY: - { - mergeDatastoreKey(other.getDatastoreKey()); - break; - } - case BIG_QUERY_KEY: - { - mergeBigQueryKey(other.getBigQueryKey()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case DATASTORE_KEY: { + mergeDatastoreKey(other.getDatastoreKey()); + break; + } + case BIG_QUERY_KEY: { + mergeBigQueryKey(other.getBigQueryKey()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -726,12 +676,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -744,13 +694,9 @@ public Builder clearType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreKey, - com.google.privacy.dlp.v2.DatastoreKey.Builder, - com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> - datastoreKeyBuilder_; + com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> datastoreKeyBuilder_; /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return Whether the datastoreKey field is set. */ @java.lang.Override @@ -759,7 +705,6 @@ public boolean hasDatastoreKey() { } /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return The datastoreKey. */ @java.lang.Override @@ -776,7 +721,9 @@ public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() { return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { if (datastoreKeyBuilder_ == null) { if (value == null) { @@ -790,8 +737,11 @@ public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { typeCase_ = 2; return this; } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ - public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey.Builder builderForValue) { + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ + public Builder setDatastoreKey( + com.google.privacy.dlp.v2.DatastoreKey.Builder builderForValue) { if (datastoreKeyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -801,16 +751,15 @@ public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey.Builder bu typeCase_ = 2; return this; } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ public Builder mergeDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { if (datastoreKeyBuilder_ == null) { - if (typeCase_ == 2 - && type_ != com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.DatastoreKey.newBuilder( - (com.google.privacy.dlp.v2.DatastoreKey) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.DatastoreKey.newBuilder((com.google.privacy.dlp.v2.DatastoreKey) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -824,7 +773,9 @@ public Builder mergeDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { typeCase_ = 2; return this; } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ public Builder clearDatastoreKey() { if (datastoreKeyBuilder_ == null) { if (typeCase_ == 2) { @@ -841,11 +792,15 @@ public Builder clearDatastoreKey() { } return this; } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ public com.google.privacy.dlp.v2.DatastoreKey.Builder getDatastoreKeyBuilder() { return getDatastoreKeyFieldBuilder().getBuilder(); } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder() { if ((typeCase_ == 2) && (datastoreKeyBuilder_ != null)) { @@ -857,38 +812,32 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder( return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } } - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreKey, - com.google.privacy.dlp.v2.DatastoreKey.Builder, - com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> + com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> getDatastoreKeyFieldBuilder() { if (datastoreKeyBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } - datastoreKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreKey, - com.google.privacy.dlp.v2.DatastoreKey.Builder, - com.google.privacy.dlp.v2.DatastoreKeyOrBuilder>( - (com.google.privacy.dlp.v2.DatastoreKey) type_, getParentForChildren(), isClean()); + datastoreKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, com.google.privacy.dlp.v2.DatastoreKeyOrBuilder>( + (com.google.privacy.dlp.v2.DatastoreKey) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return datastoreKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryKey, - com.google.privacy.dlp.v2.BigQueryKey.Builder, - com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> - bigQueryKeyBuilder_; + com.google.privacy.dlp.v2.BigQueryKey, com.google.privacy.dlp.v2.BigQueryKey.Builder, com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> bigQueryKeyBuilder_; /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return Whether the bigQueryKey field is set. */ @java.lang.Override @@ -897,7 +846,6 @@ public boolean hasBigQueryKey() { } /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return The bigQueryKey. */ @java.lang.Override @@ -914,7 +862,9 @@ public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() { return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { if (bigQueryKeyBuilder_ == null) { if (value == null) { @@ -928,8 +878,11 @@ public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { typeCase_ = 3; return this; } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ - public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey.Builder builderForValue) { + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ + public Builder setBigQueryKey( + com.google.privacy.dlp.v2.BigQueryKey.Builder builderForValue) { if (bigQueryKeyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -939,15 +892,15 @@ public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey.Builder buil typeCase_ = 3; return this; } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ public Builder mergeBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { if (bigQueryKeyBuilder_ == null) { - if (typeCase_ == 3 && type_ != com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.BigQueryKey.newBuilder( - (com.google.privacy.dlp.v2.BigQueryKey) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.BigQueryKey.newBuilder((com.google.privacy.dlp.v2.BigQueryKey) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -961,7 +914,9 @@ public Builder mergeBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { typeCase_ = 3; return this; } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ public Builder clearBigQueryKey() { if (bigQueryKeyBuilder_ == null) { if (typeCase_ == 3) { @@ -978,11 +933,15 @@ public Builder clearBigQueryKey() { } return this; } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ public com.google.privacy.dlp.v2.BigQueryKey.Builder getBigQueryKeyBuilder() { return getBigQueryKeyFieldBuilder().getBuilder(); } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() { if ((typeCase_ == 3) && (bigQueryKeyBuilder_ != null)) { @@ -994,79 +953,67 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } } - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryKey, - com.google.privacy.dlp.v2.BigQueryKey.Builder, - com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> + com.google.privacy.dlp.v2.BigQueryKey, com.google.privacy.dlp.v2.BigQueryKey.Builder, com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> getBigQueryKeyFieldBuilder() { if (bigQueryKeyBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } - bigQueryKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryKey, - com.google.privacy.dlp.v2.BigQueryKey.Builder, - com.google.privacy.dlp.v2.BigQueryKeyOrBuilder>( - (com.google.privacy.dlp.v2.BigQueryKey) type_, getParentForChildren(), isClean()); + bigQueryKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryKey, com.google.privacy.dlp.v2.BigQueryKey.Builder, com.google.privacy.dlp.v2.BigQueryKeyOrBuilder>( + (com.google.privacy.dlp.v2.BigQueryKey) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return bigQueryKeyBuilder_; } - private com.google.protobuf.LazyStringList idValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIdValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { idValues_ = new com.google.protobuf.LazyStringArrayList(idValues_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @return A list containing the idValues. */ - public com.google.protobuf.ProtocolStringList getIdValuesList() { + public com.google.protobuf.ProtocolStringList + getIdValuesList() { return idValues_.getUnmodifiableView(); } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @return The count of idValues. */ public int getIdValuesCount() { return idValues_.size(); } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @param index The index of the element to return. * @return The idValues at the given index. */ @@ -1074,95 +1021,85 @@ public java.lang.String getIdValues(int index) { return idValues_.get(index); } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @param index The index of the value to return. * @return The bytes of the idValues at the given index. */ - public com.google.protobuf.ByteString getIdValuesBytes(int index) { + public com.google.protobuf.ByteString + getIdValuesBytes(int index) { return idValues_.getByteString(index); } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @param index The index to set the value at. * @param value The idValues to set. * @return This builder for chaining. */ - public Builder setIdValues(int index, java.lang.String value) { + public Builder setIdValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdValuesIsMutable(); + throw new NullPointerException(); + } + ensureIdValuesIsMutable(); idValues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @param value The idValues to add. * @return This builder for chaining. */ - public Builder addIdValues(java.lang.String value) { + public Builder addIdValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdValuesIsMutable(); + throw new NullPointerException(); + } + ensureIdValuesIsMutable(); idValues_.add(value); onChanged(); return this; } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @param values The idValues to add. * @return This builder for chaining. */ - public Builder addAllIdValues(java.lang.Iterable values) { + public Builder addAllIdValues( + java.lang.Iterable values) { ensureIdValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, idValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, idValues_); onChanged(); return this; } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @return This builder for chaining. */ public Builder clearIdValues() { @@ -1172,31 +1109,29 @@ public Builder clearIdValues() { return this; } /** - * - * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; - * * @param value The bytes of the idValues to add. * @return This builder for chaining. */ - public Builder addIdValuesBytes(com.google.protobuf.ByteString value) { + public Builder addIdValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdValuesIsMutable(); idValues_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1206,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordKey) private static final com.google.privacy.dlp.v2.RecordKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordKey(); } @@ -1220,16 +1155,16 @@ public static com.google.privacy.dlp.v2.RecordKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,4 +1179,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java index 5fa03079..04fa1b15 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java @@ -1,112 +1,86 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface RecordKeyOrBuilder - extends +public interface RecordKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordKey) com.google.protobuf.MessageOrBuilder { /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return Whether the datastoreKey field is set. */ boolean hasDatastoreKey(); /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return The datastoreKey. */ com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey(); - /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + /** + * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + */ com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(); /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return Whether the bigQueryKey field is set. */ boolean hasBigQueryKey(); /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return The bigQueryKey. */ com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey(); - /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + /** + * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + */ com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder(); /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @return A list containing the idValues. */ - java.util.List getIdValuesList(); + java.util.List + getIdValuesList(); /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @return The count of idValues. */ int getIdValuesCount(); /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @param index The index of the element to return. * @return The idValues at the given index. */ java.lang.String getIdValues(int index); /** - * - * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; - * * @param index The index of the value to return. * @return The bytes of the idValues at the given index. */ - com.google.protobuf.ByteString getIdValuesBytes(int index); + com.google.protobuf.ByteString + getIdValuesBytes(int index); public com.google.privacy.dlp.v2.RecordKey.TypeCase getTypeCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java index ed93ac37..05c70b7b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Location of a finding within a row or record.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordLocation} */ -public final class RecordLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RecordLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordLocation) RecordLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RecordLocation.newBuilder() to construct. private RecordLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RecordLocation() {} + private RecordLocation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecordLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RecordLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,98 +52,85 @@ private RecordLocation( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.RecordKey.Builder subBuilder = null; - if (recordKey_ != null) { - subBuilder = recordKey_.toBuilder(); - } - recordKey_ = - input.readMessage( - com.google.privacy.dlp.v2.RecordKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(recordKey_); - recordKey_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.RecordKey.Builder subBuilder = null; + if (recordKey_ != null) { + subBuilder = recordKey_.toBuilder(); + } + recordKey_ = input.readMessage(com.google.privacy.dlp.v2.RecordKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(recordKey_); + recordKey_ = subBuilder.buildPartial(); } - case 18: - { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (fieldId_ != null) { - subBuilder = fieldId_.toBuilder(); - } - fieldId_ = - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fieldId_); - fieldId_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (fieldId_ != null) { + subBuilder = fieldId_.toBuilder(); + } + fieldId_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fieldId_); + fieldId_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.TableLocation.Builder subBuilder = null; - if (tableLocation_ != null) { - subBuilder = tableLocation_.toBuilder(); - } - tableLocation_ = - input.readMessage( - com.google.privacy.dlp.v2.TableLocation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableLocation_); - tableLocation_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.privacy.dlp.v2.TableLocation.Builder subBuilder = null; + if (tableLocation_ != null) { + subBuilder = tableLocation_.toBuilder(); + } + tableLocation_ = input.readMessage(com.google.privacy.dlp.v2.TableLocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableLocation_); + tableLocation_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordLocation.class, - com.google.privacy.dlp.v2.RecordLocation.Builder.class); + com.google.privacy.dlp.v2.RecordLocation.class, com.google.privacy.dlp.v2.RecordLocation.Builder.class); } public static final int RECORD_KEY_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.RecordKey recordKey_; /** - * - * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; - * * @return Whether the recordKey field is set. */ @java.lang.Override @@ -167,25 +138,18 @@ public boolean hasRecordKey() { return recordKey_ != null; } /** - * - * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; - * * @return The recordKey. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordKey getRecordKey() { - return recordKey_ == null - ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() - : recordKey_; + return recordKey_ == null ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() : recordKey_; } /** - * - * *
    * Key of the finding.
    * 
@@ -200,14 +164,11 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { public static final int FIELD_ID_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId fieldId_; /** - * - * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; - * * @return Whether the fieldId field is set. */ @java.lang.Override @@ -215,14 +176,11 @@ public boolean hasFieldId() { return fieldId_ != null; } /** - * - * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; - * * @return The fieldId. */ @java.lang.Override @@ -230,8 +188,6 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; } /** - * - * *
    * Field id of the field containing the finding.
    * 
@@ -246,14 +202,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { public static final int TABLE_LOCATION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.TableLocation tableLocation_; /** - * - * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; - * * @return Whether the tableLocation field is set. */ @java.lang.Override @@ -261,25 +214,18 @@ public boolean hasTableLocation() { return tableLocation_ != null; } /** - * - * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; - * * @return The tableLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.TableLocation getTableLocation() { - return tableLocation_ == null - ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() - : tableLocation_; + return tableLocation_ == null ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() : tableLocation_; } /** - * - * *
    * Location within a `ContentItem.Table`.
    * 
@@ -292,7 +238,6 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +249,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (recordKey_ != null) { output.writeMessage(1, getRecordKey()); } @@ -324,13 +270,16 @@ public int getSerializedSize() { size = 0; if (recordKey_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRecordKey()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRecordKey()); } if (fieldId_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldId()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFieldId()); } if (tableLocation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTableLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTableLocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -340,7 +289,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.RecordLocation)) { return super.equals(obj); @@ -349,15 +298,18 @@ public boolean equals(final java.lang.Object obj) { if (hasRecordKey() != other.hasRecordKey()) return false; if (hasRecordKey()) { - if (!getRecordKey().equals(other.getRecordKey())) return false; + if (!getRecordKey() + .equals(other.getRecordKey())) return false; } if (hasFieldId() != other.hasFieldId()) return false; if (hasFieldId()) { - if (!getFieldId().equals(other.getFieldId())) return false; + if (!getFieldId() + .equals(other.getFieldId())) return false; } if (hasTableLocation() != other.hasTableLocation()) return false; if (hasTableLocation()) { - if (!getTableLocation().equals(other.getTableLocation())) return false; + if (!getTableLocation() + .equals(other.getTableLocation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -387,127 +339,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RecordLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RecordLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RecordLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Location of a finding within a row or record.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordLocation) com.google.privacy.dlp.v2.RecordLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordLocation.class, - com.google.privacy.dlp.v2.RecordLocation.Builder.class); + com.google.privacy.dlp.v2.RecordLocation.class, com.google.privacy.dlp.v2.RecordLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordLocation.newBuilder() @@ -515,15 +458,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -549,9 +493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; } @java.lang.Override @@ -570,8 +514,7 @@ public com.google.privacy.dlp.v2.RecordLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordLocation buildPartial() { - com.google.privacy.dlp.v2.RecordLocation result = - new com.google.privacy.dlp.v2.RecordLocation(this); + com.google.privacy.dlp.v2.RecordLocation result = new com.google.privacy.dlp.v2.RecordLocation(this); if (recordKeyBuilder_ == null) { result.recordKey_ = recordKey_; } else { @@ -595,39 +538,38 @@ public com.google.privacy.dlp.v2.RecordLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RecordLocation) { - return mergeFrom((com.google.privacy.dlp.v2.RecordLocation) other); + return mergeFrom((com.google.privacy.dlp.v2.RecordLocation)other); } else { super.mergeFrom(other); return this; @@ -676,47 +618,34 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.RecordKey recordKey_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordKey, - com.google.privacy.dlp.v2.RecordKey.Builder, - com.google.privacy.dlp.v2.RecordKeyOrBuilder> - recordKeyBuilder_; + com.google.privacy.dlp.v2.RecordKey, com.google.privacy.dlp.v2.RecordKey.Builder, com.google.privacy.dlp.v2.RecordKeyOrBuilder> recordKeyBuilder_; /** - * - * *
      * Key of the finding.
      * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; - * * @return Whether the recordKey field is set. */ public boolean hasRecordKey() { return recordKeyBuilder_ != null || recordKey_ != null; } /** - * - * *
      * Key of the finding.
      * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; - * * @return The recordKey. */ public com.google.privacy.dlp.v2.RecordKey getRecordKey() { if (recordKeyBuilder_ == null) { - return recordKey_ == null - ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() - : recordKey_; + return recordKey_ == null ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() : recordKey_; } else { return recordKeyBuilder_.getMessage(); } } /** - * - * *
      * Key of the finding.
      * 
@@ -737,15 +666,14 @@ public Builder setRecordKey(com.google.privacy.dlp.v2.RecordKey value) { return this; } /** - * - * *
      * Key of the finding.
      * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; */ - public Builder setRecordKey(com.google.privacy.dlp.v2.RecordKey.Builder builderForValue) { + public Builder setRecordKey( + com.google.privacy.dlp.v2.RecordKey.Builder builderForValue) { if (recordKeyBuilder_ == null) { recordKey_ = builderForValue.build(); onChanged(); @@ -756,8 +684,6 @@ public Builder setRecordKey(com.google.privacy.dlp.v2.RecordKey.Builder builderF return this; } /** - * - * *
      * Key of the finding.
      * 
@@ -768,9 +694,7 @@ public Builder mergeRecordKey(com.google.privacy.dlp.v2.RecordKey value) { if (recordKeyBuilder_ == null) { if (recordKey_ != null) { recordKey_ = - com.google.privacy.dlp.v2.RecordKey.newBuilder(recordKey_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.RecordKey.newBuilder(recordKey_).mergeFrom(value).buildPartial(); } else { recordKey_ = value; } @@ -782,8 +706,6 @@ public Builder mergeRecordKey(com.google.privacy.dlp.v2.RecordKey value) { return this; } /** - * - * *
      * Key of the finding.
      * 
@@ -802,8 +724,6 @@ public Builder clearRecordKey() { return this; } /** - * - * *
      * Key of the finding.
      * 
@@ -811,13 +731,11 @@ public Builder clearRecordKey() { * .google.privacy.dlp.v2.RecordKey record_key = 1; */ public com.google.privacy.dlp.v2.RecordKey.Builder getRecordKeyBuilder() { - + onChanged(); return getRecordKeyFieldBuilder().getBuilder(); } /** - * - * *
      * Key of the finding.
      * 
@@ -828,14 +746,11 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { if (recordKeyBuilder_ != null) { return recordKeyBuilder_.getMessageOrBuilder(); } else { - return recordKey_ == null - ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() - : recordKey_; + return recordKey_ == null ? + com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() : recordKey_; } } /** - * - * *
      * Key of the finding.
      * 
@@ -843,17 +758,14 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { * .google.privacy.dlp.v2.RecordKey record_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordKey, - com.google.privacy.dlp.v2.RecordKey.Builder, - com.google.privacy.dlp.v2.RecordKeyOrBuilder> + com.google.privacy.dlp.v2.RecordKey, com.google.privacy.dlp.v2.RecordKey.Builder, com.google.privacy.dlp.v2.RecordKeyOrBuilder> getRecordKeyFieldBuilder() { if (recordKeyBuilder_ == null) { - recordKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordKey, - com.google.privacy.dlp.v2.RecordKey.Builder, - com.google.privacy.dlp.v2.RecordKeyOrBuilder>( - getRecordKey(), getParentForChildren(), isClean()); + recordKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordKey, com.google.privacy.dlp.v2.RecordKey.Builder, com.google.privacy.dlp.v2.RecordKeyOrBuilder>( + getRecordKey(), + getParentForChildren(), + isClean()); recordKey_ = null; } return recordKeyBuilder_; @@ -861,33 +773,24 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { private com.google.privacy.dlp.v2.FieldId fieldId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldIdBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldIdBuilder_; /** - * - * *
      * Field id of the field containing the finding.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; - * * @return Whether the fieldId field is set. */ public boolean hasFieldId() { return fieldIdBuilder_ != null || fieldId_ != null; } /** - * - * *
      * Field id of the field containing the finding.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; - * * @return The fieldId. */ public com.google.privacy.dlp.v2.FieldId getFieldId() { @@ -898,8 +801,6 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { } } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -920,15 +821,14 @@ public Builder setFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; */ - public Builder setFieldId(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setFieldId( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldIdBuilder_ == null) { fieldId_ = builderForValue.build(); onChanged(); @@ -939,8 +839,6 @@ public Builder setFieldId(com.google.privacy.dlp.v2.FieldId.Builder builderForVa return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -951,9 +849,7 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { if (fieldIdBuilder_ == null) { if (fieldId_ != null) { fieldId_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(fieldId_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(fieldId_).mergeFrom(value).buildPartial(); } else { fieldId_ = value; } @@ -965,8 +861,6 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -985,8 +879,6 @@ public Builder clearFieldId() { return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -994,13 +886,11 @@ public Builder clearFieldId() { * .google.privacy.dlp.v2.FieldId field_id = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldIdBuilder() { - + onChanged(); return getFieldIdFieldBuilder().getBuilder(); } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -1011,12 +901,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { if (fieldIdBuilder_ != null) { return fieldIdBuilder_.getMessageOrBuilder(); } else { - return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; + return fieldId_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; } } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -1024,17 +913,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { * .google.privacy.dlp.v2.FieldId field_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldIdFieldBuilder() { if (fieldIdBuilder_ == null) { - fieldIdBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getFieldId(), getParentForChildren(), isClean()); + fieldIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getFieldId(), + getParentForChildren(), + isClean()); fieldId_ = null; } return fieldIdBuilder_; @@ -1042,47 +928,34 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { private com.google.privacy.dlp.v2.TableLocation tableLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableLocation, - com.google.privacy.dlp.v2.TableLocation.Builder, - com.google.privacy.dlp.v2.TableLocationOrBuilder> - tableLocationBuilder_; + com.google.privacy.dlp.v2.TableLocation, com.google.privacy.dlp.v2.TableLocation.Builder, com.google.privacy.dlp.v2.TableLocationOrBuilder> tableLocationBuilder_; /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; - * * @return Whether the tableLocation field is set. */ public boolean hasTableLocation() { return tableLocationBuilder_ != null || tableLocation_ != null; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; - * * @return The tableLocation. */ public com.google.privacy.dlp.v2.TableLocation getTableLocation() { if (tableLocationBuilder_ == null) { - return tableLocation_ == null - ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() - : tableLocation_; + return tableLocation_ == null ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() : tableLocation_; } else { return tableLocationBuilder_.getMessage(); } } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1103,8 +976,6 @@ public Builder setTableLocation(com.google.privacy.dlp.v2.TableLocation value) { return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1123,8 +994,6 @@ public Builder setTableLocation( return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1135,9 +1004,7 @@ public Builder mergeTableLocation(com.google.privacy.dlp.v2.TableLocation value) if (tableLocationBuilder_ == null) { if (tableLocation_ != null) { tableLocation_ = - com.google.privacy.dlp.v2.TableLocation.newBuilder(tableLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.TableLocation.newBuilder(tableLocation_).mergeFrom(value).buildPartial(); } else { tableLocation_ = value; } @@ -1149,8 +1016,6 @@ public Builder mergeTableLocation(com.google.privacy.dlp.v2.TableLocation value) return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1169,8 +1034,6 @@ public Builder clearTableLocation() { return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1178,13 +1041,11 @@ public Builder clearTableLocation() { * .google.privacy.dlp.v2.TableLocation table_location = 3; */ public com.google.privacy.dlp.v2.TableLocation.Builder getTableLocationBuilder() { - + onChanged(); return getTableLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1195,14 +1056,11 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde if (tableLocationBuilder_ != null) { return tableLocationBuilder_.getMessageOrBuilder(); } else { - return tableLocation_ == null - ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() - : tableLocation_; + return tableLocation_ == null ? + com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() : tableLocation_; } } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1210,24 +1068,21 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde * .google.privacy.dlp.v2.TableLocation table_location = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableLocation, - com.google.privacy.dlp.v2.TableLocation.Builder, - com.google.privacy.dlp.v2.TableLocationOrBuilder> + com.google.privacy.dlp.v2.TableLocation, com.google.privacy.dlp.v2.TableLocation.Builder, com.google.privacy.dlp.v2.TableLocationOrBuilder> getTableLocationFieldBuilder() { if (tableLocationBuilder_ == null) { - tableLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableLocation, - com.google.privacy.dlp.v2.TableLocation.Builder, - com.google.privacy.dlp.v2.TableLocationOrBuilder>( - getTableLocation(), getParentForChildren(), isClean()); + tableLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TableLocation, com.google.privacy.dlp.v2.TableLocation.Builder, com.google.privacy.dlp.v2.TableLocationOrBuilder>( + getTableLocation(), + getParentForChildren(), + isClean()); tableLocation_ = null; } return tableLocationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1237,12 +1092,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordLocation) private static final com.google.privacy.dlp.v2.RecordLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordLocation(); } @@ -1251,16 +1106,16 @@ public static com.google.privacy.dlp.v2.RecordLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1275,4 +1130,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java index 1bb66452..1c1cbc5b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RecordLocationOrBuilder - extends +public interface RecordLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; - * * @return Whether the recordKey field is set. */ boolean hasRecordKey(); /** - * - * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; - * * @return The recordKey. */ com.google.privacy.dlp.v2.RecordKey getRecordKey(); /** - * - * *
    * Key of the finding.
    * 
@@ -59,32 +35,24 @@ public interface RecordLocationOrBuilder com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder(); /** - * - * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; - * * @return Whether the fieldId field is set. */ boolean hasFieldId(); /** - * - * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; - * * @return The fieldId. */ com.google.privacy.dlp.v2.FieldId getFieldId(); /** - * - * *
    * Field id of the field containing the finding.
    * 
@@ -94,32 +62,24 @@ public interface RecordLocationOrBuilder com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder(); /** - * - * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; - * * @return Whether the tableLocation field is set. */ boolean hasTableLocation(); /** - * - * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; - * * @return The tableLocation. */ com.google.privacy.dlp.v2.TableLocation getTableLocation(); /** - * - * *
    * Location within a `ContentItem.Table`.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java index 404ac9d0..1430655f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Configuration to suppress records whose suppression conditions evaluate to
  * true.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RecordSuppression}
  */
-public final class RecordSuppression extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RecordSuppression extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordSuppression)
     RecordSuppressionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RecordSuppression.newBuilder() to construct.
   private RecordSuppression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RecordSuppression() {}
+  private RecordSuppression() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RecordSuppression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RecordSuppression(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,60 @@ private RecordSuppression(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null;
-              if (condition_ != null) {
-                subBuilder = condition_.toBuilder();
-              }
-              condition_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(condition_);
-                condition_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null;
+            if (condition_ != null) {
+              subBuilder = condition_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            condition_ = input.readMessage(com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(condition_);
+              condition_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordSuppression.class,
-            com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
+            com.google.privacy.dlp.v2.RecordSuppression.class, com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
   }
 
   public static final int CONDITION_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.RecordCondition condition_;
   /**
-   *
-   *
    * 
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -138,26 +114,19 @@ public boolean hasCondition() { return condition_ != null; } /** - * - * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; - * * @return The condition. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition getCondition() { - return condition_ == null - ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() - : condition_; + return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; } /** - * - * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
@@ -171,7 +140,6 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -183,7 +151,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (condition_ != null) {
       output.writeMessage(1, getCondition());
     }
@@ -197,7 +166,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (condition_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCondition());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCondition());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -207,17 +177,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.RecordSuppression)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.RecordSuppression other =
-        (com.google.privacy.dlp.v2.RecordSuppression) obj;
+    com.google.privacy.dlp.v2.RecordSuppression other = (com.google.privacy.dlp.v2.RecordSuppression) obj;
 
     if (hasCondition() != other.hasCondition()) return false;
     if (hasCondition()) {
-      if (!getCondition().equals(other.getCondition())) return false;
+      if (!getCondition()
+          .equals(other.getCondition())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -239,104 +209,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.RecordSuppression parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.RecordSuppression parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.RecordSuppression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration to suppress records whose suppression conditions evaluate to
    * true.
@@ -344,23 +307,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordSuppression}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordSuppression)
       com.google.privacy.dlp.v2.RecordSuppressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordSuppression.class,
-              com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
+              com.google.privacy.dlp.v2.RecordSuppression.class, com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RecordSuppression.newBuilder()
@@ -368,15 +329,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -390,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
     }
 
     @java.lang.Override
@@ -411,8 +373,7 @@ public com.google.privacy.dlp.v2.RecordSuppression build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RecordSuppression buildPartial() {
-      com.google.privacy.dlp.v2.RecordSuppression result =
-          new com.google.privacy.dlp.v2.RecordSuppression(this);
+      com.google.privacy.dlp.v2.RecordSuppression result = new com.google.privacy.dlp.v2.RecordSuppression(this);
       if (conditionBuilder_ == null) {
         result.condition_ = condition_;
       } else {
@@ -426,39 +387,38 @@ public com.google.privacy.dlp.v2.RecordSuppression buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RecordSuppression) {
-        return mergeFrom((com.google.privacy.dlp.v2.RecordSuppression) other);
+        return mergeFrom((com.google.privacy.dlp.v2.RecordSuppression)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,49 +461,36 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.RecordCondition condition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordCondition,
-            com.google.privacy.dlp.v2.RecordCondition.Builder,
-            com.google.privacy.dlp.v2.RecordConditionOrBuilder>
-        conditionBuilder_;
+        com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> conditionBuilder_;
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; - * * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** - * - * *
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; - * * @return The condition. */ public com.google.privacy.dlp.v2.RecordCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null - ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() - : condition_; + return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; } else { return conditionBuilder_.getMessage(); } } /** - * - * *
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -565,8 +512,6 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -574,7 +519,8 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
      *
      * .google.privacy.dlp.v2.RecordCondition condition = 1;
      */
-    public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
+    public Builder setCondition(
+        com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
       if (conditionBuilder_ == null) {
         condition_ = builderForValue.build();
         onChanged();
@@ -585,8 +531,6 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -598,9 +542,7 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       if (conditionBuilder_ == null) {
         if (condition_ != null) {
           condition_ =
-              com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_).mergeFrom(value).buildPartial();
         } else {
           condition_ = value;
         }
@@ -612,8 +554,6 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -633,8 +573,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -643,13 +581,11 @@ public Builder clearCondition() {
      * .google.privacy.dlp.v2.RecordCondition condition = 1;
      */
     public com.google.privacy.dlp.v2.RecordCondition.Builder getConditionBuilder() {
-
+      
       onChanged();
       return getConditionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -661,14 +597,11 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
       if (conditionBuilder_ != null) {
         return conditionBuilder_.getMessageOrBuilder();
       } else {
-        return condition_ == null
-            ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance()
-            : condition_;
+        return condition_ == null ?
+            com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_;
       }
     }
     /**
-     *
-     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -677,24 +610,21 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
      * .google.privacy.dlp.v2.RecordCondition condition = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordCondition,
-            com.google.privacy.dlp.v2.RecordCondition.Builder,
-            com.google.privacy.dlp.v2.RecordConditionOrBuilder>
+        com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> 
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
-        conditionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.RecordCondition,
-                com.google.privacy.dlp.v2.RecordCondition.Builder,
-                com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
-                getCondition(), getParentForChildren(), isClean());
+        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
+                getCondition(),
+                getParentForChildren(),
+                isClean());
         condition_ = null;
       }
       return conditionBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -704,12 +634,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordSuppression)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordSuppression)
   private static final com.google.privacy.dlp.v2.RecordSuppression DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordSuppression();
   }
@@ -718,16 +648,16 @@ public static com.google.privacy.dlp.v2.RecordSuppression getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RecordSuppression parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RecordSuppression(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RecordSuppression parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new RecordSuppression(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -742,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RecordSuppression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
similarity index 64%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
index 9e622a68..70c511b7 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface RecordSuppressionOrBuilder
-    extends
+public interface RecordSuppressionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordSuppression)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; - * * @return The condition. */ com.google.privacy.dlp.v2.RecordCondition getCondition(); /** - * - * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
similarity index 79%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
index 7c75cca8..cdcae494 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * A type of transformation that is applied over structured data such as a
  * table.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RecordTransformations}
  */
-public final class RecordTransformations extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RecordTransformations extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordTransformations)
     RecordTransformationsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RecordTransformations.newBuilder() to construct.
   private RecordTransformations(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RecordTransformations() {
     fieldTransformations_ = java.util.Collections.emptyList();
     recordSuppressions_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private RecordTransformations() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RecordTransformations();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RecordTransformations(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,43 +56,38 @@ private RecordTransformations(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                fieldTransformations_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              fieldTransformations_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              fieldTransformations_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                recordSuppressions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              recordSuppressions_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry));
-              break;
+            fieldTransformations_.add(
+                input.readMessage(com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              recordSuppressions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            recordSuppressions_.add(
+                input.readMessage(com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         fieldTransformations_ = java.util.Collections.unmodifiableList(fieldTransformations_);
@@ -121,27 +99,22 @@ private RecordTransformations(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordTransformations.class,
-            com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
+            com.google.privacy.dlp.v2.RecordTransformations.class, com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
   }
 
   public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER = 1;
   private java.util.List fieldTransformations_;
   /**
-   *
-   *
    * 
    * Transform the record by applying various field transformations.
    * 
@@ -149,13 +122,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ @java.lang.Override - public java.util.List - getFieldTransformationsList() { + public java.util.List getFieldTransformationsList() { return fieldTransformations_; } /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -163,13 +133,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldTransformationsOrBuilderList() { return fieldTransformations_; } /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -181,8 +149,6 @@ public int getFieldTransformationsCount() { return fieldTransformations_.size(); } /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -194,8 +160,6 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int return fieldTransformations_.get(index); } /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -211,8 +175,6 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma public static final int RECORD_SUPPRESSIONS_FIELD_NUMBER = 2; private java.util.List recordSuppressions_; /** - * - * *
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -225,8 +187,6 @@ public java.util.List getRecordSupp
     return recordSuppressions_;
   }
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -235,13 +195,11 @@ public java.util.List getRecordSupp
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRecordSuppressionsOrBuilderList() {
     return recordSuppressions_;
   }
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -254,8 +212,6 @@ public int getRecordSuppressionsCount() {
     return recordSuppressions_.size();
   }
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -268,8 +224,6 @@ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int ind
     return recordSuppressions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -284,7 +238,6 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -296,7 +249,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < fieldTransformations_.size(); i++) {
       output.writeMessage(1, fieldTransformations_.get(i));
     }
@@ -313,12 +267,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < fieldTransformations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, fieldTransformations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, fieldTransformations_.get(i));
     }
     for (int i = 0; i < recordSuppressions_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(2, recordSuppressions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, recordSuppressions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -328,16 +282,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.privacy.dlp.v2.RecordTransformations)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.RecordTransformations other =
-        (com.google.privacy.dlp.v2.RecordTransformations) obj;
+    com.google.privacy.dlp.v2.RecordTransformations other = (com.google.privacy.dlp.v2.RecordTransformations) obj;
 
-    if (!getFieldTransformationsList().equals(other.getFieldTransformationsList())) return false;
-    if (!getRecordSuppressionsList().equals(other.getRecordSuppressionsList())) return false;
+    if (!getFieldTransformationsList()
+        .equals(other.getFieldTransformationsList())) return false;
+    if (!getRecordSuppressionsList()
+        .equals(other.getRecordSuppressionsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -362,104 +317,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.RecordTransformations parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.RecordTransformations parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.RecordTransformations prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 type of transformation that is applied over structured data such as a
    * table.
@@ -467,23 +415,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordTransformations}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordTransformations)
       com.google.privacy.dlp.v2.RecordTransformationsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordTransformations.class,
-              com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
+              com.google.privacy.dlp.v2.RecordTransformations.class, com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RecordTransformations.newBuilder()
@@ -491,18 +437,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getFieldTransformationsFieldBuilder();
         getRecordSuppressionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -522,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
     }
 
     @java.lang.Override
@@ -543,8 +489,7 @@ public com.google.privacy.dlp.v2.RecordTransformations build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RecordTransformations buildPartial() {
-      com.google.privacy.dlp.v2.RecordTransformations result =
-          new com.google.privacy.dlp.v2.RecordTransformations(this);
+      com.google.privacy.dlp.v2.RecordTransformations result = new com.google.privacy.dlp.v2.RecordTransformations(this);
       int from_bitField0_ = bitField0_;
       if (fieldTransformationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -572,39 +517,38 @@ public com.google.privacy.dlp.v2.RecordTransformations buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RecordTransformations) {
-        return mergeFrom((com.google.privacy.dlp.v2.RecordTransformations) other);
+        return mergeFrom((com.google.privacy.dlp.v2.RecordTransformations)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformations other) {
-      if (other == com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance()) return this;
       if (fieldTransformationsBuilder_ == null) {
         if (!other.fieldTransformations_.isEmpty()) {
           if (fieldTransformations_.isEmpty()) {
@@ -632,10 +575,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformations other)
             fieldTransformationsBuilder_ = null;
             fieldTransformations_ = other.fieldTransformations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            fieldTransformationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFieldTransformationsFieldBuilder()
-                    : null;
+            fieldTransformationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFieldTransformationsFieldBuilder() : null;
           } else {
             fieldTransformationsBuilder_.addAllMessages(other.fieldTransformations_);
           }
@@ -659,10 +601,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformations other)
             recordSuppressionsBuilder_ = null;
             recordSuppressions_ = other.recordSuppressions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            recordSuppressionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRecordSuppressionsFieldBuilder()
-                    : null;
+            recordSuppressionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRecordSuppressionsFieldBuilder() : null;
           } else {
             recordSuppressionsBuilder_.addAllMessages(other.recordSuppressions_);
           }
@@ -696,38 +637,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List fieldTransformations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFieldTransformationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        fieldTransformations_ =
-            new java.util.ArrayList(
-                fieldTransformations_);
+        fieldTransformations_ = new java.util.ArrayList(fieldTransformations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldTransformation,
-            com.google.privacy.dlp.v2.FieldTransformation.Builder,
-            com.google.privacy.dlp.v2.FieldTransformationOrBuilder>
-        fieldTransformationsBuilder_;
+        com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> fieldTransformationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Transform the record by applying various field transformations.
      * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - public java.util.List - getFieldTransformationsList() { + public java.util.List getFieldTransformationsList() { if (fieldTransformationsBuilder_ == null) { return java.util.Collections.unmodifiableList(fieldTransformations_); } else { @@ -735,8 +666,6 @@ private void ensureFieldTransformationsIsMutable() { } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -751,8 +680,6 @@ public int getFieldTransformationsCount() { } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -767,8 +694,6 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -790,8 +715,6 @@ public Builder setFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -810,8 +733,6 @@ public Builder setFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -832,8 +753,6 @@ public Builder addFieldTransformations(com.google.privacy.dlp.v2.FieldTransforma return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -855,8 +774,6 @@ public Builder addFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -875,8 +792,6 @@ public Builder addFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -895,8 +810,6 @@ public Builder addFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -907,7 +820,8 @@ public Builder addAllFieldTransformations( java.lang.Iterable values) { if (fieldTransformationsBuilder_ == null) { ensureFieldTransformationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransformations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldTransformations_); onChanged(); } else { fieldTransformationsBuilder_.addAllMessages(values); @@ -915,8 +829,6 @@ public Builder addAllFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -934,8 +846,6 @@ public Builder clearFieldTransformations() { return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -953,8 +863,6 @@ public Builder removeFieldTransformations(int index) { return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -966,8 +874,6 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat return getFieldTransformationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -977,22 +883,19 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOrBuilder( int index) { if (fieldTransformationsBuilder_ == null) { - return fieldTransformations_.get(index); - } else { + return fieldTransformations_.get(index); } else { return fieldTransformationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - public java.util.List - getFieldTransformationsOrBuilderList() { + public java.util.List + getFieldTransformationsOrBuilderList() { if (fieldTransformationsBuilder_ != null) { return fieldTransformationsBuilder_.getMessageOrBuilderList(); } else { @@ -1000,8 +903,6 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -1009,12 +910,10 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder() { - return getFieldTransformationsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); + return getFieldTransformationsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -1023,34 +922,26 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat */ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder( int index) { - return getFieldTransformationsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); + return getFieldTransformationsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - public java.util.List - getFieldTransformationsBuilderList() { + public java.util.List + getFieldTransformationsBuilderList() { return getFieldTransformationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldTransformation, - com.google.privacy.dlp.v2.FieldTransformation.Builder, - com.google.privacy.dlp.v2.FieldTransformationOrBuilder> + com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> getFieldTransformationsFieldBuilder() { if (fieldTransformationsBuilder_ == null) { - fieldTransformationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldTransformation, - com.google.privacy.dlp.v2.FieldTransformation.Builder, - com.google.privacy.dlp.v2.FieldTransformationOrBuilder>( + fieldTransformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder>( fieldTransformations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1061,26 +952,18 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat } private java.util.List recordSuppressions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRecordSuppressionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - recordSuppressions_ = - new java.util.ArrayList( - recordSuppressions_); + recordSuppressions_ = new java.util.ArrayList(recordSuppressions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordSuppression, - com.google.privacy.dlp.v2.RecordSuppression.Builder, - com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> - recordSuppressionsBuilder_; + com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> recordSuppressionsBuilder_; /** - * - * *
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1096,8 +979,6 @@ public java.util.List getRecordSupp
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1113,8 +994,6 @@ public int getRecordSuppressionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1130,8 +1009,6 @@ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1154,8 +1031,6 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1175,8 +1050,6 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1198,8 +1071,6 @@ public Builder addRecordSuppressions(com.google.privacy.dlp.v2.RecordSuppression
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1222,8 +1093,6 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1243,8 +1112,6 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1264,8 +1131,6 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1277,7 +1142,8 @@ public Builder addAllRecordSuppressions(
         java.lang.Iterable values) {
       if (recordSuppressionsBuilder_ == null) {
         ensureRecordSuppressionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recordSuppressions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, recordSuppressions_);
         onChanged();
       } else {
         recordSuppressionsBuilder_.addAllMessages(values);
@@ -1285,8 +1151,6 @@ public Builder addAllRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1305,8 +1169,6 @@ public Builder clearRecordSuppressions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1325,8 +1187,6 @@ public Builder removeRecordSuppressions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1339,8 +1199,6 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder getRecordSuppressions
       return getRecordSuppressionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1351,14 +1209,11 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder getRecordSuppressions
     public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(
         int index) {
       if (recordSuppressionsBuilder_ == null) {
-        return recordSuppressions_.get(index);
-      } else {
+        return recordSuppressions_.get(index);  } else {
         return recordSuppressionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1366,8 +1221,8 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
      *
      * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      */
-    public java.util.List
-        getRecordSuppressionsOrBuilderList() {
+    public java.util.List 
+         getRecordSuppressionsOrBuilderList() {
       if (recordSuppressionsBuilder_ != null) {
         return recordSuppressionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1375,8 +1230,6 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1385,12 +1238,10 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
      * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      */
     public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressionsBuilder() {
-      return getRecordSuppressionsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
+      return getRecordSuppressionsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1400,12 +1251,10 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressions
      */
     public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressionsBuilder(
         int index) {
-      return getRecordSuppressionsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
+      return getRecordSuppressionsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1413,22 +1262,16 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressions
      *
      * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      */
-    public java.util.List
-        getRecordSuppressionsBuilderList() {
+    public java.util.List 
+         getRecordSuppressionsBuilderList() {
       return getRecordSuppressionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordSuppression,
-            com.google.privacy.dlp.v2.RecordSuppression.Builder,
-            com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>
+        com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> 
         getRecordSuppressionsFieldBuilder() {
       if (recordSuppressionsBuilder_ == null) {
-        recordSuppressionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.RecordSuppression,
-                com.google.privacy.dlp.v2.RecordSuppression.Builder,
-                com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>(
+        recordSuppressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>(
                 recordSuppressions_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1437,9 +1280,9 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressions
       }
       return recordSuppressionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1449,12 +1292,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordTransformations)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordTransformations)
   private static final com.google.privacy.dlp.v2.RecordTransformations DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordTransformations();
   }
@@ -1463,16 +1306,16 @@ public static com.google.privacy.dlp.v2.RecordTransformations getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RecordTransformations parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RecordTransformations(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RecordTransformations parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new RecordTransformations(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1487,4 +1330,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RecordTransformations getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
similarity index 78%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
index ba8a461a..a6934a37 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface RecordTransformationsOrBuilder
-    extends
+public interface RecordTransformationsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordTransformations)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Transform the record by applying various field transformations.
    * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - java.util.List getFieldTransformationsList(); + java.util.List + getFieldTransformationsList(); /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -44,8 +25,6 @@ public interface RecordTransformationsOrBuilder */ com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int index); /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -54,19 +33,15 @@ public interface RecordTransformationsOrBuilder */ int getFieldTransformationsCount(); /** - * - * *
    * Transform the record by applying various field transformations.
    * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - java.util.List + java.util.List getFieldTransformationsOrBuilderList(); /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -77,8 +52,6 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr int index); /** - * - * *
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -86,10 +59,9 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    *
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
-  java.util.List getRecordSuppressionsList();
+  java.util.List 
+      getRecordSuppressionsList();
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -99,8 +71,6 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    */
   com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int index);
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -110,8 +80,6 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    */
   int getRecordSuppressionsCount();
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -119,11 +87,9 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    *
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
-  java.util.List
+  java.util.List 
       getRecordSuppressionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -131,5 +97,6 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    *
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
-  com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(int index);
+  com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
similarity index 67%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
index d5136551..fc91b326 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Redact a given value. For example, if used with an `InfoTypeTransformation`
  * transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RedactConfig}
  */
-public final class RedactConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RedactConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactConfig)
     RedactConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RedactConfig.newBuilder() to construct.
   private RedactConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RedactConfig() {}
+  private RedactConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RedactConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RedactConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,42 +54,39 @@ private RedactConfig(
           case 0:
             done = true;
             break;
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RedactConfig.class,
-            com.google.privacy.dlp.v2.RedactConfig.Builder.class);
+            com.google.privacy.dlp.v2.RedactConfig.class, com.google.privacy.dlp.v2.RedactConfig.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -117,7 +98,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     unknownFields.writeTo(output);
   }
 
@@ -135,7 +117,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.privacy.dlp.v2.RedactConfig)) {
       return super.equals(obj);
@@ -158,104 +140,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RedactConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig 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.privacy.dlp.v2.RedactConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.RedactConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Redact a given value. For example, if used with an `InfoTypeTransformation`
    * transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
@@ -264,23 +239,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.RedactConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactConfig)
       com.google.privacy.dlp.v2.RedactConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RedactConfig.class,
-              com.google.privacy.dlp.v2.RedactConfig.Builder.class);
+              com.google.privacy.dlp.v2.RedactConfig.class, com.google.privacy.dlp.v2.RedactConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RedactConfig.newBuilder()
@@ -288,15 +261,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -304,9 +278,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
     }
 
     @java.lang.Override
@@ -325,8 +299,7 @@ public com.google.privacy.dlp.v2.RedactConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RedactConfig buildPartial() {
-      com.google.privacy.dlp.v2.RedactConfig result =
-          new com.google.privacy.dlp.v2.RedactConfig(this);
+      com.google.privacy.dlp.v2.RedactConfig result = new com.google.privacy.dlp.v2.RedactConfig(this);
       onBuilt();
       return result;
     }
@@ -335,39 +308,38 @@ public com.google.privacy.dlp.v2.RedactConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RedactConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.RedactConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.RedactConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,9 +376,9 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -416,12 +388,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactConfig)
   private static final com.google.privacy.dlp.v2.RedactConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactConfig();
   }
@@ -430,16 +402,16 @@ public static com.google.privacy.dlp.v2.RedactConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RedactConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RedactConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RedactConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new RedactConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -454,4 +426,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RedactConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java
new file mode 100644
index 00000000..5bbd13c0
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+public interface RedactConfigOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactConfig)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
similarity index 72%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
index a93b64a8..60546ae3 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Request to search for potentially sensitive info in an image and redact it
  * by covering it with a colored rectangle.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest}
  */
-public final class RedactImageRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RedactImageRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactImageRequest)
     RedactImageRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RedactImageRequest.newBuilder() to construct.
   private RedactImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RedactImageRequest() {
     parent_ = "";
     locationId_ = "";
@@ -46,15 +28,16 @@ private RedactImageRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RedactImageRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RedactImageRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,84 +57,72 @@ private RedactImageRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
+            if (inspectConfig_ != null) {
+              subBuilder = inspectConfig_.toBuilder();
+            }
+            inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(inspectConfig_);
+              inspectConfig_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
-              if (inspectConfig_ != null) {
-                subBuilder = inspectConfig_.toBuilder();
-              }
-              inspectConfig_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(inspectConfig_);
-                inspectConfig_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              imageRedactionConfigs_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                imageRedactionConfigs_ =
-                    new java.util.ArrayList<
-                        com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              imageRedactionConfigs_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.parser(),
-                      extensionRegistry));
-              break;
+            imageRedactionConfigs_.add(
+                input.readMessage(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.parser(), extensionRegistry));
+            break;
+          }
+          case 48: {
+
+            includeFindings_ = input.readBool();
+            break;
+          }
+          case 58: {
+            com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null;
+            if (byteItem_ != null) {
+              subBuilder = byteItem_.toBuilder();
             }
-          case 48:
-            {
-              includeFindings_ = input.readBool();
-              break;
+            byteItem_ = input.readMessage(com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(byteItem_);
+              byteItem_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null;
-              if (byteItem_ != null) {
-                subBuilder = byteItem_.toBuilder();
-              }
-              byteItem_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(byteItem_);
-                byteItem_ = subBuilder.buildPartial();
-              }
 
-              break;
-            }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              locationId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            locationId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         imageRedactionConfigs_ = java.util.Collections.unmodifiableList(imageRedactionConfigs_);
@@ -160,30 +131,24 @@ private RedactImageRequest(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RedactImageRequest.class,
-            com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
+            com.google.privacy.dlp.v2.RedactImageRequest.class, com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
   }
 
-  public interface ImageRedactionConfigOrBuilder
-      extends
+  public interface ImageRedactionConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -192,13 +157,10 @@ public interface ImageRedactionConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -207,13 +169,10 @@ public interface ImageRedactionConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -226,61 +185,47 @@ public interface ImageRedactionConfigOrBuilder
     com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
     /**
-     *
-     *
      * 
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; - * * @return Whether the redactAllText field is set. */ boolean hasRedactAllText(); /** - * - * *
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; - * * @return The redactAllText. */ boolean getRedactAllText(); /** - * - * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; - * * @return Whether the redactionColor field is set. */ boolean hasRedactionColor(); /** - * - * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; - * * @return The redactionColor. */ com.google.privacy.dlp.v2.Color getRedactionColor(); /** - * - * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
@@ -290,41 +235,39 @@ public interface ImageRedactionConfigOrBuilder
      */
     com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder();
 
-    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.TargetCase
-        getTargetCase();
+    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.TargetCase getTargetCase();
   }
   /**
-   *
-   *
    * 
    * Configuration for determining how redaction of images should occur.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig} */ - public static final class ImageRedactionConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ImageRedactionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) ImageRedactionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageRedactionConfig.newBuilder() to construct. private ImageRedactionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImageRedactionConfig() {} + private ImageRedactionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImageRedactionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImageRedactionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -343,89 +286,79 @@ private ImageRedactionConfig( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (targetCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.InfoType) target_).toBuilder(); - } - target_ = - input.readMessage( - com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (targetCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.InfoType) target_).toBuilder(); + } + target_ = + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) target_); + target_ = subBuilder.buildPartial(); } - case 16: - { - targetCase_ = 2; - target_ = input.readBool(); - break; + targetCase_ = 1; + break; + } + case 16: { + targetCase_ = 2; + target_ = input.readBool(); + break; + } + case 26: { + com.google.privacy.dlp.v2.Color.Builder subBuilder = null; + if (redactionColor_ != null) { + subBuilder = redactionColor_.toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.Color.Builder subBuilder = null; - if (redactionColor_ != null) { - subBuilder = redactionColor_.toBuilder(); - } - redactionColor_ = - input.readMessage(com.google.privacy.dlp.v2.Color.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(redactionColor_); - redactionColor_ = subBuilder.buildPartial(); - } - - break; + redactionColor_ = input.readMessage(com.google.privacy.dlp.v2.Color.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(redactionColor_); + redactionColor_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); } private int targetCase_ = 0; private java.lang.Object target_; - public enum TargetCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE(1), REDACT_ALL_TEXT(2), TARGET_NOT_SET(0); private final int value; - private TargetCase(int value) { this.value = value; } @@ -441,30 +374,25 @@ public static TargetCase valueOf(int value) { public static TargetCase forNumber(int value) { switch (value) { - case 1: - return INFO_TYPE; - case 2: - return REDACT_ALL_TEXT; - case 0: - return TARGET_NOT_SET; - default: - return null; + case 1: return INFO_TYPE; + case 2: return REDACT_ALL_TEXT; + case 0: return TARGET_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); } public static final int INFO_TYPE_FIELD_NUMBER = 1; /** - * - * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -473,7 +401,6 @@ public TargetCase getTargetCase() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -481,8 +408,6 @@ public boolean hasInfoType() { return targetCase_ == 1; } /** - * - * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -491,19 +416,16 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { if (targetCase_ == 1) { - return (com.google.privacy.dlp.v2.InfoType) target_; + return (com.google.privacy.dlp.v2.InfoType) target_; } return com.google.privacy.dlp.v2.InfoType.getDefaultInstance(); } /** - * - * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -516,22 +438,19 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
     @java.lang.Override
     public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       if (targetCase_ == 1) {
-        return (com.google.privacy.dlp.v2.InfoType) target_;
+         return (com.google.privacy.dlp.v2.InfoType) target_;
       }
       return com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
     }
 
     public static final int REDACT_ALL_TEXT_FIELD_NUMBER = 2;
     /**
-     *
-     *
      * 
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; - * * @return Whether the redactAllText field is set. */ @java.lang.Override @@ -539,15 +458,12 @@ public boolean hasRedactAllText() { return targetCase_ == 2; } /** - * - * *
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; - * * @return The redactAllText. */ @java.lang.Override @@ -561,15 +477,12 @@ public boolean getRedactAllText() { public static final int REDACTION_COLOR_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.Color redactionColor_; /** - * - * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; - * * @return Whether the redactionColor field is set. */ @java.lang.Override @@ -577,26 +490,19 @@ public boolean hasRedactionColor() { return redactionColor_ != null; } /** - * - * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; - * * @return The redactionColor. */ @java.lang.Override public com.google.privacy.dlp.v2.Color getRedactionColor() { - return redactionColor_ == null - ? com.google.privacy.dlp.v2.Color.getDefaultInstance() - : redactionColor_; + return redactionColor_ == null ? com.google.privacy.dlp.v2.Color.getDefaultInstance() : redactionColor_; } /** - * - * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
@@ -610,7 +516,6 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -622,12 +527,14 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (targetCase_ == 1) {
         output.writeMessage(1, (com.google.privacy.dlp.v2.InfoType) target_);
       }
       if (targetCase_ == 2) {
-        output.writeBool(2, (boolean) ((java.lang.Boolean) target_));
+        output.writeBool(
+            2, (boolean)((java.lang.Boolean) target_));
       }
       if (redactionColor_ != null) {
         output.writeMessage(3, getRedactionColor());
@@ -642,17 +549,17 @@ public int getSerializedSize() {
 
       size = 0;
       if (targetCase_ == 1) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                1, (com.google.privacy.dlp.v2.InfoType) target_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, (com.google.privacy.dlp.v2.InfoType) target_);
       }
       if (targetCase_ == 2) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeBoolSize(
-                2, (boolean) ((java.lang.Boolean) target_));
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(
+              2, (boolean)((java.lang.Boolean) target_));
       }
       if (redactionColor_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRedactionColor());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getRedactionColor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -662,25 +569,27 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other =
-          (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) obj;
+      com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other = (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) obj;
 
       if (hasRedactionColor() != other.hasRedactionColor()) return false;
       if (hasRedactionColor()) {
-        if (!getRedactionColor().equals(other.getRedactionColor())) return false;
+        if (!getRedactionColor()
+            .equals(other.getRedactionColor())) return false;
       }
       if (!getTargetCase().equals(other.getTargetCase())) return false;
       switch (targetCase_) {
         case 1:
-          if (!getInfoType().equals(other.getInfoType())) return false;
+          if (!getInfoType()
+              .equals(other.getInfoType())) return false;
           break;
         case 2:
-          if (getRedactAllText() != other.getRedactAllText()) return false;
+          if (getRedactAllText()
+              != other.getRedactAllText()) return false;
           break;
         case 0:
         default:
@@ -707,7 +616,8 @@ public int hashCode() {
           break;
         case 2:
           hash = (37 * hash) + REDACT_ALL_TEXT_FIELD_NUMBER;
-          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRedactAllText());
+          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+              getRedactAllText());
           break;
         case 0:
         default:
@@ -718,95 +628,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -816,49 +718,44 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Configuration for determining how redaction of images should occur.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.newBuilder() + // Construct using com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -874,16 +771,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig - .getDefaultInstance(); + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance(); } @java.lang.Override @@ -897,8 +792,7 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig build() @java.lang.Override public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig buildPartial() { - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig result = - new com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig(this); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig result = new com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig(this); if (targetCase_ == 1) { if (infoTypeBuilder_ == null) { result.target_ = target_; @@ -923,71 +817,61 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) { - return mergeFrom( - (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other) { - if (other - == com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other) { + if (other == com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance()) return this; if (other.hasRedactionColor()) { mergeRedactionColor(other.getRedactionColor()); } switch (other.getTargetCase()) { - case INFO_TYPE: - { - mergeInfoType(other.getInfoType()); - break; - } - case REDACT_ALL_TEXT: - { - setRedactAllText(other.getRedactAllText()); - break; - } - case TARGET_NOT_SET: - { - break; - } + case INFO_TYPE: { + mergeInfoType(other.getInfoType()); + break; + } + case REDACT_ALL_TEXT: { + setRedactAllText(other.getRedactAllText()); + break; + } + case TARGET_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1008,9 +892,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1019,12 +901,12 @@ public Builder mergeFrom( } return this; } - private int targetCase_ = 0; private java.lang.Object target_; - - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); } public Builder clearTarget() { @@ -1034,14 +916,10 @@ public Builder clearTarget() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> - infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; /** - * - * *
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1050,7 +928,6 @@ public Builder clearTarget() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -1058,8 +935,6 @@ public boolean hasInfoType() { return targetCase_ == 1; } /** - * - * *
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1068,7 +943,6 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -1086,8 +960,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { } } /** - * - * *
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1111,8 +983,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1122,7 +992,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
        *
        * .google.privacy.dlp.v2.InfoType info_type = 1;
        */
-      public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+      public Builder setInfoType(
+          com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
         if (infoTypeBuilder_ == null) {
           target_ = builderForValue.build();
           onChanged();
@@ -1133,8 +1004,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1146,13 +1015,10 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor
        */
       public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
         if (infoTypeBuilder_ == null) {
-          if (targetCase_ == 1
-              && target_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
-            target_ =
-                com.google.privacy.dlp.v2.InfoType.newBuilder(
-                        (com.google.privacy.dlp.v2.InfoType) target_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (targetCase_ == 1 &&
+              target_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
+            target_ = com.google.privacy.dlp.v2.InfoType.newBuilder((com.google.privacy.dlp.v2.InfoType) target_)
+                .mergeFrom(value).buildPartial();
           } else {
             target_ = value;
           }
@@ -1167,8 +1033,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1195,8 +1059,6 @@ public Builder clearInfoType() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1210,8 +1072,6 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
         return getInfoTypeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1233,8 +1093,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1245,53 +1103,43 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
        * .google.privacy.dlp.v2.InfoType info_type = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoType,
-              com.google.privacy.dlp.v2.InfoType.Builder,
-              com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+          com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
           getInfoTypeFieldBuilder() {
         if (infoTypeBuilder_ == null) {
           if (!(targetCase_ == 1)) {
             target_ = com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
           }
-          infoTypeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.InfoType,
-                  com.google.privacy.dlp.v2.InfoType.Builder,
-                  com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                  (com.google.privacy.dlp.v2.InfoType) target_, getParentForChildren(), isClean());
+          infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                  (com.google.privacy.dlp.v2.InfoType) target_,
+                  getParentForChildren(),
+                  isClean());
           target_ = null;
         }
         targetCase_ = 1;
-        onChanged();
-        ;
+        onChanged();;
         return infoTypeBuilder_;
       }
 
       /**
-       *
-       *
        * 
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; - * * @return Whether the redactAllText field is set. */ public boolean hasRedactAllText() { return targetCase_ == 2; } /** - * - * *
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; - * * @return The redactAllText. */ public boolean getRedactAllText() { @@ -1301,15 +1149,12 @@ public boolean getRedactAllText() { return false; } /** - * - * *
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; - * * @param value The redactAllText to set. * @return This builder for chaining. */ @@ -1320,15 +1165,12 @@ public Builder setRedactAllText(boolean value) { return this; } /** - * - * *
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; - * * @return This builder for chaining. */ public Builder clearRedactAllText() { @@ -1342,49 +1184,36 @@ public Builder clearRedactAllText() { private com.google.privacy.dlp.v2.Color redactionColor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Color, - com.google.privacy.dlp.v2.Color.Builder, - com.google.privacy.dlp.v2.ColorOrBuilder> - redactionColorBuilder_; + com.google.privacy.dlp.v2.Color, com.google.privacy.dlp.v2.Color.Builder, com.google.privacy.dlp.v2.ColorOrBuilder> redactionColorBuilder_; /** - * - * *
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
        * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; - * * @return Whether the redactionColor field is set. */ public boolean hasRedactionColor() { return redactionColorBuilder_ != null || redactionColor_ != null; } /** - * - * *
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
        * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; - * * @return The redactionColor. */ public com.google.privacy.dlp.v2.Color getRedactionColor() { if (redactionColorBuilder_ == null) { - return redactionColor_ == null - ? com.google.privacy.dlp.v2.Color.getDefaultInstance() - : redactionColor_; + return redactionColor_ == null ? com.google.privacy.dlp.v2.Color.getDefaultInstance() : redactionColor_; } else { return redactionColorBuilder_.getMessage(); } } /** - * - * *
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1406,8 +1235,6 @@ public Builder setRedactionColor(com.google.privacy.dlp.v2.Color value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1415,7 +1242,8 @@ public Builder setRedactionColor(com.google.privacy.dlp.v2.Color value) {
        *
        * .google.privacy.dlp.v2.Color redaction_color = 3;
        */
-      public Builder setRedactionColor(com.google.privacy.dlp.v2.Color.Builder builderForValue) {
+      public Builder setRedactionColor(
+          com.google.privacy.dlp.v2.Color.Builder builderForValue) {
         if (redactionColorBuilder_ == null) {
           redactionColor_ = builderForValue.build();
           onChanged();
@@ -1426,8 +1254,6 @@ public Builder setRedactionColor(com.google.privacy.dlp.v2.Color.Builder builder
         return this;
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1439,9 +1265,7 @@ public Builder mergeRedactionColor(com.google.privacy.dlp.v2.Color value) {
         if (redactionColorBuilder_ == null) {
           if (redactionColor_ != null) {
             redactionColor_ =
-                com.google.privacy.dlp.v2.Color.newBuilder(redactionColor_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.Color.newBuilder(redactionColor_).mergeFrom(value).buildPartial();
           } else {
             redactionColor_ = value;
           }
@@ -1453,8 +1277,6 @@ public Builder mergeRedactionColor(com.google.privacy.dlp.v2.Color value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1474,8 +1296,6 @@ public Builder clearRedactionColor() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1484,13 +1304,11 @@ public Builder clearRedactionColor() {
        * .google.privacy.dlp.v2.Color redaction_color = 3;
        */
       public com.google.privacy.dlp.v2.Color.Builder getRedactionColorBuilder() {
-
+        
         onChanged();
         return getRedactionColorFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1502,14 +1320,11 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
         if (redactionColorBuilder_ != null) {
           return redactionColorBuilder_.getMessageOrBuilder();
         } else {
-          return redactionColor_ == null
-              ? com.google.privacy.dlp.v2.Color.getDefaultInstance()
-              : redactionColor_;
+          return redactionColor_ == null ?
+              com.google.privacy.dlp.v2.Color.getDefaultInstance() : redactionColor_;
         }
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1518,22 +1333,18 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
        * .google.privacy.dlp.v2.Color redaction_color = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.Color,
-              com.google.privacy.dlp.v2.Color.Builder,
-              com.google.privacy.dlp.v2.ColorOrBuilder>
+          com.google.privacy.dlp.v2.Color, com.google.privacy.dlp.v2.Color.Builder, com.google.privacy.dlp.v2.ColorOrBuilder> 
           getRedactionColorFieldBuilder() {
         if (redactionColorBuilder_ == null) {
-          redactionColorBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.Color,
-                  com.google.privacy.dlp.v2.Color.Builder,
-                  com.google.privacy.dlp.v2.ColorOrBuilder>(
-                  getRedactionColor(), getParentForChildren(), isClean());
+          redactionColorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.Color, com.google.privacy.dlp.v2.Color.Builder, com.google.privacy.dlp.v2.ColorOrBuilder>(
+                  getRedactionColor(),
+                  getParentForChildren(),
+                  isClean());
           redactionColor_ = null;
         }
         return redactionColorBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1546,32 +1357,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)
-    private static final com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig();
     }
 
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ImageRedactionConfig parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new ImageRedactionConfig(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ImageRedactionConfig parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new ImageRedactionConfig(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1583,17 +1392,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -1610,7 +1417,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -1619,15 +1425,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -1644,15 +1449,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.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 { @@ -1663,14 +1469,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 8; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; - * * @return The locationId. */ @java.lang.Override @@ -1679,29 +1482,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1712,14 +1515,11 @@ public com.google.protobuf.ByteString getLocationIdBytes() { public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** - * - * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -1727,25 +1527,18 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } /** - * - * *
    * Configuration for the inspector.
    * 
@@ -1758,101 +1551,74 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde } public static final int IMAGE_REDACTION_CONFIGS_FIELD_NUMBER = 5; - private java.util.List - imageRedactionConfigs_; + private java.util.List imageRedactionConfigs_; /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ @java.lang.Override - public java.util.List - getImageRedactionConfigsList() { + public java.util.List getImageRedactionConfigsList() { return imageRedactionConfigs_; } /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ @java.lang.Override - public java.util.List< - ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> + public java.util.List getImageRedactionConfigsOrBuilderList() { return imageRedactionConfigs_; } /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ @java.lang.Override public int getImageRedactionConfigsCount() { return imageRedactionConfigs_.size(); } /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs( - int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index) { return imageRedactionConfigs_.get(index); } /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder - getImageRedactionConfigsOrBuilder(int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder( + int index) { return imageRedactionConfigs_.get(index); } public static final int INCLUDE_FINDINGS_FIELD_NUMBER = 6; private boolean includeFindings_; /** - * - * *
    * Whether the response should include findings along with the redacted
    * image.
    * 
* * bool include_findings = 6; - * * @return The includeFindings. */ @java.lang.Override @@ -1863,14 +1629,11 @@ public boolean getIncludeFindings() { public static final int BYTE_ITEM_FIELD_NUMBER = 7; private com.google.privacy.dlp.v2.ByteContentItem byteItem_; /** - * - * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; - * * @return Whether the byteItem field is set. */ @java.lang.Override @@ -1878,25 +1641,18 @@ public boolean hasByteItem() { return byteItem_ != null; } /** - * - * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; - * * @return The byteItem. */ @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { - return byteItem_ == null - ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() - : byteItem_; + return byteItem_ == null ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() : byteItem_; } /** - * - * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
@@ -1909,7 +1665,6 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1921,7 +1676,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1953,18 +1709,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInspectConfig()); } for (int i = 0; i < imageRedactionConfigs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, imageRedactionConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, imageRedactionConfigs_.get(i)); } if (includeFindings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, includeFindings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, includeFindings_); } if (byteItem_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getByteItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getByteItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, locationId_); @@ -1977,25 +1735,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.RedactImageRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RedactImageRequest other = - (com.google.privacy.dlp.v2.RedactImageRequest) obj; + com.google.privacy.dlp.v2.RedactImageRequest other = (com.google.privacy.dlp.v2.RedactImageRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } - if (!getImageRedactionConfigsList().equals(other.getImageRedactionConfigsList())) return false; - if (getIncludeFindings() != other.getIncludeFindings()) return false; + if (!getImageRedactionConfigsList() + .equals(other.getImageRedactionConfigsList())) return false; + if (getIncludeFindings() + != other.getIncludeFindings()) return false; if (hasByteItem() != other.hasByteItem()) return false; if (hasByteItem()) { - if (!getByteItem().equals(other.getByteItem())) return false; + if (!getByteItem() + .equals(other.getByteItem())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2021,7 +1784,8 @@ public int hashCode() { hash = (53 * hash) + getImageRedactionConfigsList().hashCode(); } hash = (37 * hash) + INCLUDE_FINDINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeFindings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeFindings()); if (hasByteItem()) { hash = (37 * hash) + BYTE_ITEM_FIELD_NUMBER; hash = (53 * hash) + getByteItem().hashCode(); @@ -2031,104 +1795,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RedactImageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RedactImageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RedactImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in an image and redact it
    * by covering it with a colored rectangle.
@@ -2136,23 +1893,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactImageRequest)
       com.google.privacy.dlp.v2.RedactImageRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RedactImageRequest.class,
-              com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
+              com.google.privacy.dlp.v2.RedactImageRequest.class, com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RedactImageRequest.newBuilder()
@@ -2160,17 +1915,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getImageRedactionConfigsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2202,9 +1957,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2223,8 +1978,7 @@ public com.google.privacy.dlp.v2.RedactImageRequest build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
-      com.google.privacy.dlp.v2.RedactImageRequest result =
-          new com.google.privacy.dlp.v2.RedactImageRequest(this);
+      com.google.privacy.dlp.v2.RedactImageRequest result = new com.google.privacy.dlp.v2.RedactImageRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       result.locationId_ = locationId_;
@@ -2256,39 +2010,38 @@ public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RedactImageRequest) {
-        return mergeFrom((com.google.privacy.dlp.v2.RedactImageRequest) other);
+        return mergeFrom((com.google.privacy.dlp.v2.RedactImageRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2326,10 +2079,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) {
             imageRedactionConfigsBuilder_ = null;
             imageRedactionConfigs_ = other.imageRedactionConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            imageRedactionConfigsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getImageRedactionConfigsFieldBuilder()
-                    : null;
+            imageRedactionConfigsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getImageRedactionConfigsFieldBuilder() : null;
           } else {
             imageRedactionConfigsBuilder_.addAllMessages(other.imageRedactionConfigs_);
           }
@@ -2369,13 +2121,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2392,13 +2141,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.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; @@ -2407,8 +2156,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2425,14 +2172,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.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 { @@ -2440,8 +2188,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2458,22 +2204,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2490,18 +2234,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2518,16 +2259,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -2535,20 +2276,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -2557,21 +2296,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -2579,61 +2317,54 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; @@ -2641,47 +2372,34 @@ public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> - inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; /** - * - * *
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2702,8 +2420,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2722,8 +2438,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2734,9 +2448,7 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); } else { inspectConfig_ = value; } @@ -2748,8 +2460,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2768,8 +2478,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2777,13 +2485,11 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2794,14 +2500,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? + com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2809,54 +2512,39 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), getParentForChildren(), isClean()); + inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), + getParentForChildren(), + isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; } - private java.util.List - imageRedactionConfigs_ = java.util.Collections.emptyList(); - + private java.util.List imageRedactionConfigs_ = + java.util.Collections.emptyList(); private void ensureImageRedactionConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - imageRedactionConfigs_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>( - imageRedactionConfigs_); + imageRedactionConfigs_ = new java.util.ArrayList(imageRedactionConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> - imageRedactionConfigsBuilder_; + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> imageRedactionConfigsBuilder_; /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public java.util.List - getImageRedactionConfigsList() { + public java.util.List getImageRedactionConfigsList() { if (imageRedactionConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(imageRedactionConfigs_); } else { @@ -2864,15 +2552,11 @@ private void ensureImageRedactionConfigsIsMutable() { } } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public int getImageRedactionConfigsCount() { if (imageRedactionConfigsBuilder_ == null) { @@ -2882,18 +2566,13 @@ public int getImageRedactionConfigsCount() { } } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig - getImageRedactionConfigs(int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index) { if (imageRedactionConfigsBuilder_ == null) { return imageRedactionConfigs_.get(index); } else { @@ -2901,15 +2580,11 @@ public int getImageRedactionConfigsCount() { } } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder setImageRedactionConfigs( int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { @@ -2926,19 +2601,14 @@ public Builder setImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder setImageRedactionConfigs( - int index, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { + int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { if (imageRedactionConfigsBuilder_ == null) { ensureImageRedactionConfigsIsMutable(); imageRedactionConfigs_.set(index, builderForValue.build()); @@ -2949,18 +2619,13 @@ public Builder setImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public Builder addImageRedactionConfigs( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { + public Builder addImageRedactionConfigs(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { if (imageRedactionConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2974,15 +2639,11 @@ public Builder addImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder addImageRedactionConfigs( int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { @@ -2999,15 +2660,11 @@ public Builder addImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder addImageRedactionConfigs( com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { @@ -3021,19 +2678,14 @@ public Builder addImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder addImageRedactionConfigs( - int index, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { + int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { if (imageRedactionConfigsBuilder_ == null) { ensureImageRedactionConfigsIsMutable(); imageRedactionConfigs_.add(index, builderForValue.build()); @@ -3044,23 +2696,18 @@ public Builder addImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder addAllImageRedactionConfigs( - java.lang.Iterable< - ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig> - values) { + java.lang.Iterable values) { if (imageRedactionConfigsBuilder_ == null) { ensureImageRedactionConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, imageRedactionConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, imageRedactionConfigs_); onChanged(); } else { imageRedactionConfigsBuilder_.addAllMessages(values); @@ -3068,15 +2715,11 @@ public Builder addAllImageRedactionConfigs( return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder clearImageRedactionConfigs() { if (imageRedactionConfigsBuilder_ == null) { @@ -3089,15 +2732,11 @@ public Builder clearImageRedactionConfigs() { return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ public Builder removeImageRedactionConfigs(int index) { if (imageRedactionConfigsBuilder_ == null) { @@ -3110,53 +2749,39 @@ public Builder removeImageRedactionConfigs(int index) { return this; } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder - getImageRedactionConfigsBuilder(int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder getImageRedactionConfigsBuilder( + int index) { return getImageRedactionConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder - getImageRedactionConfigsOrBuilder(int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder( + int index) { if (imageRedactionConfigsBuilder_ == null) { - return imageRedactionConfigs_.get(index); - } else { + return imageRedactionConfigs_.get(index); } else { return imageRedactionConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public java.util.List< - ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> - getImageRedactionConfigsOrBuilderList() { + public java.util.List + getImageRedactionConfigsOrBuilderList() { if (imageRedactionConfigsBuilder_ != null) { return imageRedactionConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -3164,69 +2789,45 @@ public Builder removeImageRedactionConfigs(int index) { } } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder - addImageRedactionConfigsBuilder() { - return getImageRedactionConfigsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig - .getDefaultInstance()); + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder() { + return getImageRedactionConfigsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance()); } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder - addImageRedactionConfigsBuilder(int index) { - return getImageRedactionConfigsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig - .getDefaultInstance()); + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder( + int index) { + return getImageRedactionConfigsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance()); } /** - * - * *
      * The configuration for specifying what content to redact from images.
      * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - public java.util.List - getImageRedactionConfigsBuilderList() { + public java.util.List + getImageRedactionConfigsBuilderList() { return getImageRedactionConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> getImageRedactionConfigsFieldBuilder() { if (imageRedactionConfigsBuilder_ == null) { - imageRedactionConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>( + imageRedactionConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>( imageRedactionConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3236,17 +2837,14 @@ public Builder removeImageRedactionConfigs(int index) { return imageRedactionConfigsBuilder_; } - private boolean includeFindings_; + private boolean includeFindings_ ; /** - * - * *
      * Whether the response should include findings along with the redacted
      * image.
      * 
* * bool include_findings = 6; - * * @return The includeFindings. */ @java.lang.Override @@ -3254,38 +2852,32 @@ public boolean getIncludeFindings() { return includeFindings_; } /** - * - * *
      * Whether the response should include findings along with the redacted
      * image.
      * 
* * bool include_findings = 6; - * * @param value The includeFindings to set. * @return This builder for chaining. */ public Builder setIncludeFindings(boolean value) { - + includeFindings_ = value; onChanged(); return this; } /** - * - * *
      * Whether the response should include findings along with the redacted
      * image.
      * 
* * bool include_findings = 6; - * * @return This builder for chaining. */ public Builder clearIncludeFindings() { - + includeFindings_ = false; onChanged(); return this; @@ -3293,47 +2885,34 @@ public Builder clearIncludeFindings() { private com.google.privacy.dlp.v2.ByteContentItem byteItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, - com.google.privacy.dlp.v2.ByteContentItem.Builder, - com.google.privacy.dlp.v2.ByteContentItemOrBuilder> - byteItemBuilder_; + com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> byteItemBuilder_; /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; - * * @return Whether the byteItem field is set. */ public boolean hasByteItem() { return byteItemBuilder_ != null || byteItem_ != null; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; - * * @return The byteItem. */ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { if (byteItemBuilder_ == null) { - return byteItem_ == null - ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() - : byteItem_; + return byteItem_ == null ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() : byteItem_; } else { return byteItemBuilder_.getMessage(); } } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3354,15 +2933,14 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; */ - public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { + public Builder setByteItem( + com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { if (byteItemBuilder_ == null) { byteItem_ = builderForValue.build(); onChanged(); @@ -3373,8 +2951,6 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder bui return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3385,9 +2961,7 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { if (byteItemBuilder_ == null) { if (byteItem_ != null) { byteItem_ = - com.google.privacy.dlp.v2.ByteContentItem.newBuilder(byteItem_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ByteContentItem.newBuilder(byteItem_).mergeFrom(value).buildPartial(); } else { byteItem_ = value; } @@ -3399,8 +2973,6 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3419,8 +2991,6 @@ public Builder clearByteItem() { return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3428,13 +2998,11 @@ public Builder clearByteItem() { * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; */ public com.google.privacy.dlp.v2.ByteContentItem.Builder getByteItemBuilder() { - + onChanged(); return getByteItemFieldBuilder().getBuilder(); } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3445,14 +3013,11 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() if (byteItemBuilder_ != null) { return byteItemBuilder_.getMessageOrBuilder(); } else { - return byteItem_ == null - ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() - : byteItem_; + return byteItem_ == null ? + com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() : byteItem_; } } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3460,24 +3025,21 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, - com.google.privacy.dlp.v2.ByteContentItem.Builder, - com.google.privacy.dlp.v2.ByteContentItemOrBuilder> + com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> getByteItemFieldBuilder() { if (byteItemBuilder_ == null) { - byteItemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, - com.google.privacy.dlp.v2.ByteContentItem.Builder, - com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( - getByteItem(), getParentForChildren(), isClean()); + byteItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( + getByteItem(), + getParentForChildren(), + isClean()); byteItem_ = null; } return byteItemBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3487,12 +3049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactImageRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactImageRequest) private static final com.google.privacy.dlp.v2.RedactImageRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactImageRequest(); } @@ -3501,16 +3063,16 @@ public static com.google.privacy.dlp.v2.RedactImageRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedactImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedactImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RedactImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3525,4 +3087,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RedactImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java index 6cf557b7..72859285 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RedactImageRequestOrBuilder - extends +public interface RedactImageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -42,13 +24,10 @@ public interface RedactImageRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -65,63 +44,50 @@ public interface RedactImageRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); /** - * - * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * Configuration for the inspector.
    * 
@@ -131,112 +97,79 @@ public interface RedactImageRequestOrBuilder com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - java.util.List + java.util.List getImageRedactionConfigsList(); /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs( - int index); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index); /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ int getImageRedactionConfigsCount(); /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - java.util.List< - ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> + java.util.List getImageRedactionConfigsOrBuilderList(); /** - * - * *
    * The configuration for specifying what content to redact from images.
    * 
* - * - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; */ - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder - getImageRedactionConfigsOrBuilder(int index); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder( + int index); /** - * - * *
    * Whether the response should include findings along with the redacted
    * image.
    * 
* * bool include_findings = 6; - * * @return The includeFindings. */ boolean getIncludeFindings(); /** - * - * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; - * * @return Whether the byteItem field is set. */ boolean hasByteItem(); /** - * - * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; - * * @return The byteItem. */ com.google.privacy.dlp.v2.ByteContentItem getByteItem(); /** - * - * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java index f8a78b44..edc938b8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Results of redacting an image.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageResponse} */ -public final class RedactImageResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RedactImageResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactImageResponse) RedactImageResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RedactImageResponse.newBuilder() to construct. private RedactImageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RedactImageResponse() { redactedImage_ = com.google.protobuf.ByteString.EMPTY; extractedText_ = ""; @@ -44,15 +26,16 @@ private RedactImageResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RedactImageResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RedactImageResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,79 +54,70 @@ private RedactImageResponse( case 0: done = true; break; - case 10: - { - redactedImage_ = input.readBytes(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { - extractedText_ = s; - break; + redactedImage_ = input.readBytes(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + extractedText_ = s; + break; + } + case 26: { + com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; + if (inspectResult_ != null) { + subBuilder = inspectResult_.toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; - if (inspectResult_ != null) { - subBuilder = inspectResult_.toBuilder(); - } - inspectResult_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectResult_); - inspectResult_ = subBuilder.buildPartial(); - } - - break; + inspectResult_ = input.readMessage(com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectResult_); + inspectResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageResponse.class, - com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); + com.google.privacy.dlp.v2.RedactImageResponse.class, com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); } public static final int REDACTED_IMAGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString redactedImage_; /** - * - * *
    * The redacted image. The type will be the same as the original image.
    * 
* * bytes redacted_image = 1; - * * @return The redactedImage. */ @java.lang.Override @@ -154,8 +128,6 @@ public com.google.protobuf.ByteString getRedactedImage() { public static final int EXTRACTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object extractedText_; /** - * - * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -163,7 +135,6 @@ public com.google.protobuf.ByteString getRedactedImage() {
    * 
* * string extracted_text = 2; - * * @return The extractedText. */ @java.lang.Override @@ -172,15 +143,14 @@ public java.lang.String getExtractedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); extractedText_ = s; return s; } } /** - * - * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -188,15 +158,16 @@ public java.lang.String getExtractedText() {
    * 
* * string extracted_text = 2; - * * @return The bytes for extractedText. */ @java.lang.Override - public com.google.protobuf.ByteString getExtractedTextBytes() { + public com.google.protobuf.ByteString + getExtractedTextBytes() { java.lang.Object ref = extractedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); extractedText_ = b; return b; } else { @@ -207,14 +178,11 @@ public com.google.protobuf.ByteString getExtractedTextBytes() { public static final int INSPECT_RESULT_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.InspectResult inspectResult_; /** - * - * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; - * * @return Whether the inspectResult field is set. */ @java.lang.Override @@ -222,25 +190,18 @@ public boolean hasInspectResult() { return inspectResult_ != null; } /** - * - * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; - * * @return The inspectResult. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectResult getInspectResult() { - return inspectResult_ == null - ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() - : inspectResult_; + return inspectResult_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : inspectResult_; } /** - * - * *
    * The findings. Populated when include_findings in the request is true.
    * 
@@ -253,7 +214,6 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!redactedImage_.isEmpty()) { output.writeBytes(1, redactedImage_); } @@ -285,13 +246,15 @@ public int getSerializedSize() { size = 0; if (!redactedImage_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, redactedImage_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, redactedImage_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extractedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, extractedText_); } if (inspectResult_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInspectResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInspectResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,19 +264,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.privacy.dlp.v2.RedactImageResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RedactImageResponse other = - (com.google.privacy.dlp.v2.RedactImageResponse) obj; + com.google.privacy.dlp.v2.RedactImageResponse other = (com.google.privacy.dlp.v2.RedactImageResponse) obj; - if (!getRedactedImage().equals(other.getRedactedImage())) return false; - if (!getExtractedText().equals(other.getExtractedText())) return false; + if (!getRedactedImage() + .equals(other.getRedactedImage())) return false; + if (!getExtractedText() + .equals(other.getExtractedText())) return false; if (hasInspectResult() != other.hasInspectResult()) return false; if (hasInspectResult()) { - if (!getInspectResult().equals(other.getInspectResult())) return false; + if (!getInspectResult() + .equals(other.getInspectResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -339,127 +304,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.RedactImageResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.RedactImageResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RedactImageResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Results of redacting an image.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactImageResponse) com.google.privacy.dlp.v2.RedactImageResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageResponse.class, - com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); + com.google.privacy.dlp.v2.RedactImageResponse.class, com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.RedactImageResponse.newBuilder() @@ -467,15 +423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -493,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; } @java.lang.Override @@ -514,8 +471,7 @@ public com.google.privacy.dlp.v2.RedactImageResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.RedactImageResponse buildPartial() { - com.google.privacy.dlp.v2.RedactImageResponse result = - new com.google.privacy.dlp.v2.RedactImageResponse(this); + com.google.privacy.dlp.v2.RedactImageResponse result = new com.google.privacy.dlp.v2.RedactImageResponse(this); result.redactedImage_ = redactedImage_; result.extractedText_ = extractedText_; if (inspectResultBuilder_ == null) { @@ -531,39 +487,38 @@ public com.google.privacy.dlp.v2.RedactImageResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RedactImageResponse) { - return mergeFrom((com.google.privacy.dlp.v2.RedactImageResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.RedactImageResponse)other); } else { super.mergeFrom(other); return this; @@ -613,14 +568,11 @@ public Builder mergeFrom( private com.google.protobuf.ByteString redactedImage_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The redacted image. The type will be the same as the original image.
      * 
* * bytes redacted_image = 1; - * * @return The redactedImage. */ @java.lang.Override @@ -628,39 +580,33 @@ public com.google.protobuf.ByteString getRedactedImage() { return redactedImage_; } /** - * - * *
      * The redacted image. The type will be the same as the original image.
      * 
* * bytes redacted_image = 1; - * * @param value The redactedImage to set. * @return This builder for chaining. */ public Builder setRedactedImage(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + redactedImage_ = value; onChanged(); return this; } /** - * - * *
      * The redacted image. The type will be the same as the original image.
      * 
* * bytes redacted_image = 1; - * * @return This builder for chaining. */ public Builder clearRedactedImage() { - + redactedImage_ = getDefaultInstance().getRedactedImage(); onChanged(); return this; @@ -668,8 +614,6 @@ public Builder clearRedactedImage() { private java.lang.Object extractedText_ = ""; /** - * - * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -677,13 +621,13 @@ public Builder clearRedactedImage() {
      * 
* * string extracted_text = 2; - * * @return The extractedText. */ public java.lang.String getExtractedText() { java.lang.Object ref = extractedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); extractedText_ = s; return s; @@ -692,8 +636,6 @@ public java.lang.String getExtractedText() { } } /** - * - * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -701,14 +643,15 @@ public java.lang.String getExtractedText() {
      * 
* * string extracted_text = 2; - * * @return The bytes for extractedText. */ - public com.google.protobuf.ByteString getExtractedTextBytes() { + public com.google.protobuf.ByteString + getExtractedTextBytes() { java.lang.Object ref = extractedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); extractedText_ = b; return b; } else { @@ -716,8 +659,6 @@ public com.google.protobuf.ByteString getExtractedTextBytes() { } } /** - * - * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -725,22 +666,20 @@ public com.google.protobuf.ByteString getExtractedTextBytes() {
      * 
* * string extracted_text = 2; - * * @param value The extractedText to set. * @return This builder for chaining. */ - public Builder setExtractedText(java.lang.String value) { + public Builder setExtractedText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + extractedText_ = value; onChanged(); return this; } /** - * - * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -748,18 +687,15 @@ public Builder setExtractedText(java.lang.String value) {
      * 
* * string extracted_text = 2; - * * @return This builder for chaining. */ public Builder clearExtractedText() { - + extractedText_ = getDefaultInstance().getExtractedText(); onChanged(); return this; } /** - * - * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -767,16 +703,16 @@ public Builder clearExtractedText() {
      * 
* * string extracted_text = 2; - * * @param value The bytes for extractedText to set. * @return This builder for chaining. */ - public Builder setExtractedTextBytes(com.google.protobuf.ByteString value) { + public Builder setExtractedTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + extractedText_ = value; onChanged(); return this; @@ -784,47 +720,34 @@ public Builder setExtractedTextBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.InspectResult inspectResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, - com.google.privacy.dlp.v2.InspectResult.Builder, - com.google.privacy.dlp.v2.InspectResultOrBuilder> - inspectResultBuilder_; + com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> inspectResultBuilder_; /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; - * * @return Whether the inspectResult field is set. */ public boolean hasInspectResult() { return inspectResultBuilder_ != null || inspectResult_ != null; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; - * * @return The inspectResult. */ public com.google.privacy.dlp.v2.InspectResult getInspectResult() { if (inspectResultBuilder_ == null) { - return inspectResult_ == null - ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() - : inspectResult_; + return inspectResult_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : inspectResult_; } else { return inspectResultBuilder_.getMessage(); } } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -845,8 +768,6 @@ public Builder setInspectResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -865,8 +786,6 @@ public Builder setInspectResult( return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -877,9 +796,7 @@ public Builder mergeInspectResult(com.google.privacy.dlp.v2.InspectResult value) if (inspectResultBuilder_ == null) { if (inspectResult_ != null) { inspectResult_ = - com.google.privacy.dlp.v2.InspectResult.newBuilder(inspectResult_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectResult.newBuilder(inspectResult_).mergeFrom(value).buildPartial(); } else { inspectResult_ = value; } @@ -891,8 +808,6 @@ public Builder mergeInspectResult(com.google.privacy.dlp.v2.InspectResult value) return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -911,8 +826,6 @@ public Builder clearInspectResult() { return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -920,13 +833,11 @@ public Builder clearInspectResult() { * .google.privacy.dlp.v2.InspectResult inspect_result = 3; */ public com.google.privacy.dlp.v2.InspectResult.Builder getInspectResultBuilder() { - + onChanged(); return getInspectResultFieldBuilder().getBuilder(); } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -937,14 +848,11 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde if (inspectResultBuilder_ != null) { return inspectResultBuilder_.getMessageOrBuilder(); } else { - return inspectResult_ == null - ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() - : inspectResult_; + return inspectResult_ == null ? + com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : inspectResult_; } } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -952,24 +860,21 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde * .google.privacy.dlp.v2.InspectResult inspect_result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, - com.google.privacy.dlp.v2.InspectResult.Builder, - com.google.privacy.dlp.v2.InspectResultOrBuilder> + com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> getInspectResultFieldBuilder() { if (inspectResultBuilder_ == null) { - inspectResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, - com.google.privacy.dlp.v2.InspectResult.Builder, - com.google.privacy.dlp.v2.InspectResultOrBuilder>( - getInspectResult(), getParentForChildren(), isClean()); + inspectResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder>( + getInspectResult(), + getParentForChildren(), + isClean()); inspectResult_ = null; } return inspectResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactImageResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactImageResponse) private static final com.google.privacy.dlp.v2.RedactImageResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactImageResponse(); } @@ -993,16 +898,16 @@ public static com.google.privacy.dlp.v2.RedactImageResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedactImageResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactImageResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedactImageResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RedactImageResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1017,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RedactImageResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java index 54194549..daf06874 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RedactImageResponseOrBuilder - extends +public interface RedactImageResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The redacted image. The type will be the same as the original image.
    * 
* * bytes redacted_image = 1; - * * @return The redactedImage. */ com.google.protobuf.ByteString getRedactedImage(); /** - * - * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -46,13 +25,10 @@ public interface RedactImageResponseOrBuilder
    * 
* * string extracted_text = 2; - * * @return The extractedText. */ java.lang.String getExtractedText(); /** - * - * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -60,38 +36,30 @@ public interface RedactImageResponseOrBuilder
    * 
* * string extracted_text = 2; - * * @return The bytes for extractedText. */ - com.google.protobuf.ByteString getExtractedTextBytes(); + com.google.protobuf.ByteString + getExtractedTextBytes(); /** - * - * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; - * * @return Whether the inspectResult field is set. */ boolean hasInspectResult(); /** - * - * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; - * * @return The inspectResult. */ com.google.privacy.dlp.v2.InspectResult getInspectResult(); /** - * - * *
    * The findings. Populated when include_findings in the request is true.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java index ce2a2756..7bb9ff7a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request to re-identify an item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentRequest} */ -public final class ReidentifyContentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReidentifyContentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReidentifyContentRequest) ReidentifyContentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReidentifyContentRequest.newBuilder() to construct. private ReidentifyContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReidentifyContentRequest() { parent_ = ""; inspectTemplateName_ = ""; @@ -46,15 +28,16 @@ private ReidentifyContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReidentifyContentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReidentifyContentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,121 +56,104 @@ private ReidentifyContentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; + if (reidentifyConfig_ != null) { + subBuilder = reidentifyConfig_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; - if (reidentifyConfig_ != null) { - subBuilder = reidentifyConfig_.toBuilder(); - } - reidentifyConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reidentifyConfig_); - reidentifyConfig_ = subBuilder.buildPartial(); - } - - break; + reidentifyConfig_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reidentifyConfig_); + reidentifyConfig_ = subBuilder.buildPartial(); } - case 26: - { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); - } - inspectConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); } - case 34: - { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = - input.readMessage( - com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; + inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - inspectTemplateName_ = s; - break; + break; + } + case 34: { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - reidentifyTemplateName_ = s; - break; + item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + inspectTemplateName_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + reidentifyTemplateName_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentRequest.class, - com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentRequest.class, com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -203,10 +169,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 @@ -215,15 +178,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -239,18 +201,17 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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 { @@ -261,8 +222,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REIDENTIFY_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyConfig reidentifyConfig_; /** - * - * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -276,7 +235,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; - * * @return Whether the reidentifyConfig field is set. */ @java.lang.Override @@ -284,8 +242,6 @@ public boolean hasReidentifyConfig() { return reidentifyConfig_ != null; } /** - * - * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -299,18 +255,13 @@ public boolean hasReidentifyConfig() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; - * * @return The reidentifyConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() { - return reidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : reidentifyConfig_; + return reidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : reidentifyConfig_; } /** - * - * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -333,14 +284,11 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
   public static final int INSPECT_CONFIG_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -348,25 +296,18 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } /** - * - * *
    * Configuration for the inspector.
    * 
@@ -381,14 +322,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde public static final int ITEM_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.ContentItem item_; /** - * - * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return Whether the item field is set. */ @java.lang.Override @@ -396,14 +334,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return The item. */ @java.lang.Override @@ -411,8 +346,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The item to re-identify. Will be treated as text.
    * 
@@ -427,8 +360,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object inspectTemplateName_; /** - * - * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -438,7 +369,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -447,15 +377,14 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** - * - * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -465,15 +394,16 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 5; - * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -484,8 +414,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { public static final int REIDENTIFY_TEMPLATE_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object reidentifyTemplateName_; /** - * - * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -497,7 +425,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
    * 
* * string reidentify_template_name = 6; - * * @return The reidentifyTemplateName. */ @java.lang.Override @@ -506,15 +433,14 @@ public java.lang.String getReidentifyTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reidentifyTemplateName_ = s; return s; } } /** - * - * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -526,15 +452,16 @@ public java.lang.String getReidentifyTemplateName() {
    * 
* * string reidentify_template_name = 6; - * * @return The bytes for reidentifyTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString + getReidentifyTemplateNameBytes() { java.lang.Object ref = reidentifyTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reidentifyTemplateName_ = b; return b; } else { @@ -545,14 +472,11 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ @java.lang.Override @@ -561,29 +485,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -592,7 +516,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -604,7 +527,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -639,13 +563,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (reidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReidentifyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReidentifyConfig()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInspectConfig()); } if (item_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inspectTemplateName_); @@ -664,30 +591,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ReidentifyContentRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReidentifyContentRequest other = - (com.google.privacy.dlp.v2.ReidentifyContentRequest) obj; + com.google.privacy.dlp.v2.ReidentifyContentRequest other = (com.google.privacy.dlp.v2.ReidentifyContentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReidentifyConfig() != other.hasReidentifyConfig()) return false; if (hasReidentifyConfig()) { - if (!getReidentifyConfig().equals(other.getReidentifyConfig())) return false; + if (!getReidentifyConfig() + .equals(other.getReidentifyConfig())) return false; } if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem().equals(other.getItem())) return false; - } - if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; - if (!getReidentifyTemplateName().equals(other.getReidentifyTemplateName())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getItem() + .equals(other.getItem())) return false; + } + if (!getInspectTemplateName() + .equals(other.getInspectTemplateName())) return false; + if (!getReidentifyTemplateName() + .equals(other.getReidentifyTemplateName())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -725,126 +658,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ReidentifyContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 re-identify an item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReidentifyContentRequest) com.google.privacy.dlp.v2.ReidentifyContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentRequest.class, - com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentRequest.class, com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReidentifyContentRequest.newBuilder() @@ -852,15 +776,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -894,9 +819,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; } @java.lang.Override @@ -915,8 +840,7 @@ public com.google.privacy.dlp.v2.ReidentifyContentRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ReidentifyContentRequest buildPartial() { - com.google.privacy.dlp.v2.ReidentifyContentRequest result = - new com.google.privacy.dlp.v2.ReidentifyContentRequest(this); + com.google.privacy.dlp.v2.ReidentifyContentRequest result = new com.google.privacy.dlp.v2.ReidentifyContentRequest(this); result.parent_ = parent_; if (reidentifyConfigBuilder_ == null) { result.reidentifyConfig_ = reidentifyConfig_; @@ -944,39 +868,38 @@ public com.google.privacy.dlp.v2.ReidentifyContentRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReidentifyContentRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentRequest)other); } else { super.mergeFrom(other); return this; @@ -984,8 +907,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReidentifyContentRequest other) { - if (other == com.google.privacy.dlp.v2.ReidentifyContentRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ReidentifyContentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1030,8 +952,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ReidentifyContentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ReidentifyContentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1043,8 +964,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1060,16 +979,14 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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; @@ -1078,8 +995,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1095,17 +1010,16 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 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 { @@ -1113,8 +1027,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1130,25 +1042,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1164,21 +1072,16 @@ public Builder setParent(java.lang.String value) {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1194,19 +1097,17 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1214,13 +1115,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.DeidentifyConfig reidentifyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, - com.google.privacy.dlp.v2.DeidentifyConfig.Builder, - com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> - reidentifyConfigBuilder_; + com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> reidentifyConfigBuilder_; /** - * - * *
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1234,15 +1130,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; - * * @return Whether the reidentifyConfig field is set. */ public boolean hasReidentifyConfig() { return reidentifyConfigBuilder_ != null || reidentifyConfig_ != null; } /** - * - * *
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1256,21 +1149,16 @@ public boolean hasReidentifyConfig() {
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; - * * @return The reidentifyConfig. */ public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() { if (reidentifyConfigBuilder_ == null) { - return reidentifyConfig_ == null - ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() - : reidentifyConfig_; + return reidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : reidentifyConfig_; } else { return reidentifyConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1299,8 +1187,6 @@ public Builder setReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1327,8 +1213,6 @@ public Builder setReidentifyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1347,9 +1231,7 @@ public Builder mergeReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       if (reidentifyConfigBuilder_ == null) {
         if (reidentifyConfig_ != null) {
           reidentifyConfig_ =
-              com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(reidentifyConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(reidentifyConfig_).mergeFrom(value).buildPartial();
         } else {
           reidentifyConfig_ = value;
         }
@@ -1361,8 +1243,6 @@ public Builder mergeReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1389,8 +1269,6 @@ public Builder clearReidentifyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1406,13 +1284,11 @@ public Builder clearReidentifyConfig() {
      * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
      */
     public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getReidentifyConfigBuilder() {
-
+      
       onChanged();
       return getReidentifyConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1431,14 +1307,11 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
       if (reidentifyConfigBuilder_ != null) {
         return reidentifyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return reidentifyConfig_ == null
-            ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
-            : reidentifyConfig_;
+        return reidentifyConfig_ == null ?
+            com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : reidentifyConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1454,17 +1327,14 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
      * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.DeidentifyConfig,
-            com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
-            com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>
+        com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> 
         getReidentifyConfigFieldBuilder() {
       if (reidentifyConfigBuilder_ == null) {
-        reidentifyConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.DeidentifyConfig,
-                com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
-                com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
-                getReidentifyConfig(), getParentForChildren(), isClean());
+        reidentifyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
+                getReidentifyConfig(),
+                getParentForChildren(),
+                isClean());
         reidentifyConfig_ = null;
       }
       return reidentifyConfigBuilder_;
@@ -1472,47 +1342,34 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
 
     private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig,
-            com.google.privacy.dlp.v2.InspectConfig.Builder,
-            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
-        inspectConfigBuilder_;
+        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1533,8 +1390,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1553,8 +1408,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1565,9 +1418,7 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); } else { inspectConfig_ = value; } @@ -1579,8 +1430,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1599,8 +1448,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1608,13 +1455,11 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1625,14 +1470,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null - ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() - : inspectConfig_; + return inspectConfig_ == null ? + com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; } } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1640,17 +1482,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, - com.google.privacy.dlp.v2.InspectConfig.Builder, - com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), getParentForChildren(), isClean()); + inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), + getParentForChildren(), + isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; @@ -1658,33 +1497,24 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde private com.google.privacy.dlp.v2.ContentItem item_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> - itemBuilder_; + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_; /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -1695,8 +1525,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1717,15 +1545,14 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; */ - public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem( + com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -1736,8 +1563,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1748,9 +1573,7 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -1762,8 +1585,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1782,8 +1603,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1791,13 +1610,11 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 4; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1808,12 +1625,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? + com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1821,17 +1637,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), getParentForChildren(), isClean()); + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); item_ = null; } return itemBuilder_; @@ -1839,8 +1652,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private java.lang.Object inspectTemplateName_ = ""; /** - * - * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1850,13 +1661,13 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
      * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1865,8 +1676,6 @@ public java.lang.String getInspectTemplateName() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1876,14 +1685,15 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 5; - * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString + getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1891,8 +1701,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { } } /** - * - * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1902,22 +1710,20 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
      * 
* * string inspect_template_name = 5; - * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName(java.lang.String value) { + public Builder setInspectTemplateName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1927,18 +1733,15 @@ public Builder setInspectTemplateName(java.lang.String value) {
      * 
* * string inspect_template_name = 5; - * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** - * - * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1948,16 +1751,16 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 5; - * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; @@ -1965,8 +1768,6 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) private java.lang.Object reidentifyTemplateName_ = ""; /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1978,13 +1779,13 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
      * 
* * string reidentify_template_name = 6; - * * @return The reidentifyTemplateName. */ public java.lang.String getReidentifyTemplateName() { java.lang.Object ref = reidentifyTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reidentifyTemplateName_ = s; return s; @@ -1993,8 +1794,6 @@ public java.lang.String getReidentifyTemplateName() { } } /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -2006,14 +1805,15 @@ public java.lang.String getReidentifyTemplateName() {
      * 
* * string reidentify_template_name = 6; - * * @return The bytes for reidentifyTemplateName. */ - public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString + getReidentifyTemplateNameBytes() { java.lang.Object ref = reidentifyTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reidentifyTemplateName_ = b; return b; } else { @@ -2021,8 +1821,6 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { } } /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -2034,22 +1832,20 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() {
      * 
* * string reidentify_template_name = 6; - * * @param value The reidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setReidentifyTemplateName(java.lang.String value) { + public Builder setReidentifyTemplateName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reidentifyTemplateName_ = value; onChanged(); return this; } /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -2061,18 +1857,15 @@ public Builder setReidentifyTemplateName(java.lang.String value) {
      * 
* * string reidentify_template_name = 6; - * * @return This builder for chaining. */ public Builder clearReidentifyTemplateName() { - + reidentifyTemplateName_ = getDefaultInstance().getReidentifyTemplateName(); onChanged(); return this; } /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -2084,16 +1877,16 @@ public Builder clearReidentifyTemplateName() {
      * 
* * string reidentify_template_name = 6; - * * @param value The bytes for reidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString value) { + public Builder setReidentifyTemplateNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reidentifyTemplateName_ = value; onChanged(); return this; @@ -2101,20 +1894,18 @@ public Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString val private java.lang.Object locationId_ = ""; /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -2123,21 +1914,20 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -2145,68 +1935,61 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -2216,12 +1999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReidentifyContentRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReidentifyContentRequest) private static final com.google.privacy.dlp.v2.ReidentifyContentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReidentifyContentRequest(); } @@ -2230,16 +2013,16 @@ public static com.google.privacy.dlp.v2.ReidentifyContentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReidentifyContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReidentifyContentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReidentifyContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReidentifyContentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2254,4 +2037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ReidentifyContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java similarity index 85% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java index f86e61d8..49de25cb 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ReidentifyContentRequestOrBuilder - extends +public interface ReidentifyContentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReidentifyContentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -41,16 +23,11 @@ public interface ReidentifyContentRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -66,17 +43,13 @@ public interface ReidentifyContentRequestOrBuilder
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * - * string parent = 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(); /** - * - * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -90,13 +63,10 @@ public interface ReidentifyContentRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; - * * @return Whether the reidentifyConfig field is set. */ boolean hasReidentifyConfig(); /** - * - * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -110,13 +80,10 @@ public interface ReidentifyContentRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; - * * @return The reidentifyConfig. */ com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig(); /** - * - * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -134,32 +101,24 @@ public interface ReidentifyContentRequestOrBuilder
   com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * Configuration for the inspector.
    * 
@@ -169,32 +128,24 @@ public interface ReidentifyContentRequestOrBuilder com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); /** - * - * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return Whether the item field is set. */ boolean hasItem(); /** - * - * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; - * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** - * - * *
    * The item to re-identify. Will be treated as text.
    * 
@@ -204,8 +155,6 @@ public interface ReidentifyContentRequestOrBuilder com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -215,13 +164,10 @@ public interface ReidentifyContentRequestOrBuilder
    * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** - * - * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -231,14 +177,12 @@ public interface ReidentifyContentRequestOrBuilder
    * 
* * string inspect_template_name = 5; - * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString getInspectTemplateNameBytes(); + com.google.protobuf.ByteString + getInspectTemplateNameBytes(); /** - * - * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -250,13 +194,10 @@ public interface ReidentifyContentRequestOrBuilder
    * 
* * string reidentify_template_name = 6; - * * @return The reidentifyTemplateName. */ java.lang.String getReidentifyTemplateName(); /** - * - * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -268,33 +209,28 @@ public interface ReidentifyContentRequestOrBuilder
    * 
* * string reidentify_template_name = 6; - * * @return The bytes for reidentifyTemplateName. */ - com.google.protobuf.ByteString getReidentifyTemplateNameBytes(); + com.google.protobuf.ByteString + getReidentifyTemplateNameBytes(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java index 653b0bc8..c8e189a8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Results of re-identifying a item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentResponse} */ -public final class ReidentifyContentResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReidentifyContentResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReidentifyContentResponse) ReidentifyContentResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReidentifyContentResponse.newBuilder() to construct. private ReidentifyContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReidentifyContentResponse() {} + private ReidentifyContentResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReidentifyContentResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReidentifyContentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,83 +52,72 @@ private ReidentifyContentResponse( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = - input.readMessage( - com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; + if (overview_ != null) { + subBuilder = overview_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; - if (overview_ != null) { - subBuilder = overview_.toBuilder(); - } - overview_ = - input.readMessage( - com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(overview_); - overview_ = subBuilder.buildPartial(); - } - - break; + overview_ = input.readMessage(com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(overview_); + overview_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentResponse.class, - com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentResponse.class, com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); } public static final int ITEM_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.ContentItem item_; /** - * - * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ @java.lang.Override @@ -152,14 +125,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ @java.lang.Override @@ -167,8 +137,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The re-identified item.
    * 
@@ -183,14 +151,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int OVERVIEW_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.TransformationOverview overview_; /** - * - * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return Whether the overview field is set. */ @java.lang.Override @@ -198,25 +163,18 @@ public boolean hasOverview() { return overview_ != null; } /** - * - * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return The overview. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationOverview getOverview() { - return overview_ == null - ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() - : overview_; + return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; } /** - * - * *
    * An overview of the changes that were made to the `item`.
    * 
@@ -229,7 +187,6 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (item_ != null) { output.writeMessage(1, getItem()); } @@ -258,10 +216,12 @@ public int getSerializedSize() { size = 0; if (item_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getItem()); } if (overview_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOverview()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOverview()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,21 +231,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.privacy.dlp.v2.ReidentifyContentResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReidentifyContentResponse other = - (com.google.privacy.dlp.v2.ReidentifyContentResponse) obj; + com.google.privacy.dlp.v2.ReidentifyContentResponse other = (com.google.privacy.dlp.v2.ReidentifyContentResponse) obj; if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem().equals(other.getItem())) return false; + if (!getItem() + .equals(other.getItem())) return false; } if (hasOverview() != other.hasOverview()) return false; if (hasOverview()) { - if (!getOverview().equals(other.getOverview())) return false; + if (!getOverview() + .equals(other.getOverview())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -312,126 +273,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ReidentifyContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Results of re-identifying a item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReidentifyContentResponse) com.google.privacy.dlp.v2.ReidentifyContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentResponse.class, - com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentResponse.class, com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReidentifyContentResponse.newBuilder() @@ -439,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; } @java.lang.Override @@ -488,8 +441,7 @@ public com.google.privacy.dlp.v2.ReidentifyContentResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ReidentifyContentResponse buildPartial() { - com.google.privacy.dlp.v2.ReidentifyContentResponse result = - new com.google.privacy.dlp.v2.ReidentifyContentResponse(this); + com.google.privacy.dlp.v2.ReidentifyContentResponse result = new com.google.privacy.dlp.v2.ReidentifyContentResponse(this); if (itemBuilder_ == null) { result.item_ = item_; } else { @@ -508,39 +460,38 @@ public com.google.privacy.dlp.v2.ReidentifyContentResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReidentifyContentResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentResponse) other); + return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentResponse)other); } else { super.mergeFrom(other); return this; @@ -548,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReidentifyContentResponse other) { - if (other == com.google.privacy.dlp.v2.ReidentifyContentResponse.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ReidentifyContentResponse.getDefaultInstance()) return this; if (other.hasItem()) { mergeItem(other.getItem()); } @@ -575,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ReidentifyContentResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ReidentifyContentResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -588,33 +537,24 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.ContentItem item_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> - itemBuilder_; + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_; /** - * - * *
      * The re-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** - * - * *
      * The re-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -625,8 +565,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The re-identified item.
      * 
@@ -647,15 +585,14 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The re-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; */ - public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem( + com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -666,8 +603,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The re-identified item.
      * 
@@ -678,9 +613,7 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); } else { item_ = value; } @@ -692,8 +625,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The re-identified item.
      * 
@@ -712,8 +643,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The re-identified item.
      * 
@@ -721,13 +650,11 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 1; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** - * - * *
      * The re-identified item.
      * 
@@ -738,12 +665,11 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? + com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** - * - * *
      * The re-identified item.
      * 
@@ -751,17 +677,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, - com.google.privacy.dlp.v2.ContentItem.Builder, - com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), getParentForChildren(), isClean()); + itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), + getParentForChildren(), + isClean()); item_ = null; } return itemBuilder_; @@ -769,47 +692,34 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private com.google.privacy.dlp.v2.TransformationOverview overview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, - com.google.privacy.dlp.v2.TransformationOverview.Builder, - com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> - overviewBuilder_; + com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> overviewBuilder_; /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return Whether the overview field is set. */ public boolean hasOverview() { return overviewBuilder_ != null || overview_ != null; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return The overview. */ public com.google.privacy.dlp.v2.TransformationOverview getOverview() { if (overviewBuilder_ == null) { - return overview_ == null - ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() - : overview_; + return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; } else { return overviewBuilder_.getMessage(); } } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -830,8 +740,6 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -850,8 +758,6 @@ public Builder setOverview( return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -862,9 +768,7 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va if (overviewBuilder_ == null) { if (overview_ != null) { overview_ = - com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_).mergeFrom(value).buildPartial(); } else { overview_ = value; } @@ -876,8 +780,6 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -896,8 +798,6 @@ public Builder clearOverview() { return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -905,13 +805,11 @@ public Builder clearOverview() { * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ public com.google.privacy.dlp.v2.TransformationOverview.Builder getOverviewBuilder() { - + onChanged(); return getOverviewFieldBuilder().getBuilder(); } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -922,14 +820,11 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu if (overviewBuilder_ != null) { return overviewBuilder_.getMessageOrBuilder(); } else { - return overview_ == null - ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() - : overview_; + return overview_ == null ? + com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; } } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -937,24 +832,21 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, - com.google.privacy.dlp.v2.TransformationOverview.Builder, - com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> + com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> getOverviewFieldBuilder() { if (overviewBuilder_ == null) { - overviewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, - com.google.privacy.dlp.v2.TransformationOverview.Builder, - com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( - getOverview(), getParentForChildren(), isClean()); + overviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( + getOverview(), + getParentForChildren(), + isClean()); overview_ = null; } return overviewBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -964,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReidentifyContentResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReidentifyContentResponse) private static final com.google.privacy.dlp.v2.ReidentifyContentResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReidentifyContentResponse(); } @@ -978,16 +870,16 @@ public static com.google.privacy.dlp.v2.ReidentifyContentResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReidentifyContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReidentifyContentResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReidentifyContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReidentifyContentResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,4 +894,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ReidentifyContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java index ef1a19a1..a805fd99 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ReidentifyContentResponseOrBuilder - extends +public interface ReidentifyContentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReidentifyContentResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return Whether the item field is set. */ boolean hasItem(); /** - * - * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** - * - * *
    * The re-identified item.
    * 
@@ -59,32 +35,24 @@ public interface ReidentifyContentResponseOrBuilder com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** - * - * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return Whether the overview field is set. */ boolean hasOverview(); /** - * - * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; - * * @return The overview. */ com.google.privacy.dlp.v2.TransformationOverview getOverview(); /** - * - * *
    * An overview of the changes that were made to the `item`.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java index 3057f215..878b2cc3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Operators available for comparing the value of fields.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.RelationalOperator} */ -public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnum { +public enum RelationalOperator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unused
    * 
@@ -39,8 +21,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ RELATIONAL_OPERATOR_UNSPECIFIED(0), /** - * - * *
    * Equal. Attempts to match even with incompatible types.
    * 
@@ -49,8 +29,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ EQUAL_TO(1), /** - * - * *
    * Not equal to. Attempts to match even with incompatible types.
    * 
@@ -59,8 +37,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ NOT_EQUAL_TO(2), /** - * - * *
    * Greater than.
    * 
@@ -69,8 +45,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ GREATER_THAN(3), /** - * - * *
    * Less than.
    * 
@@ -79,8 +53,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ LESS_THAN(4), /** - * - * *
    * Greater than or equals.
    * 
@@ -89,8 +61,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ GREATER_THAN_OR_EQUALS(5), /** - * - * *
    * Less than or equals.
    * 
@@ -99,8 +69,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ LESS_THAN_OR_EQUALS(6), /** - * - * *
    * Exists
    * 
@@ -112,8 +80,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unused
    * 
@@ -122,8 +88,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int RELATIONAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Equal. Attempts to match even with incompatible types.
    * 
@@ -132,8 +96,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int EQUAL_TO_VALUE = 1; /** - * - * *
    * Not equal to. Attempts to match even with incompatible types.
    * 
@@ -142,8 +104,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int NOT_EQUAL_TO_VALUE = 2; /** - * - * *
    * Greater than.
    * 
@@ -152,8 +112,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int GREATER_THAN_VALUE = 3; /** - * - * *
    * Less than.
    * 
@@ -162,8 +120,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int LESS_THAN_VALUE = 4; /** - * - * *
    * Greater than or equals.
    * 
@@ -172,8 +128,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int GREATER_THAN_OR_EQUALS_VALUE = 5; /** - * - * *
    * Less than or equals.
    * 
@@ -182,8 +136,6 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int LESS_THAN_OR_EQUALS_VALUE = 6; /** - * - * *
    * Exists
    * 
@@ -192,6 +144,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu */ public static final int EXISTS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,52 +169,44 @@ public static RelationalOperator valueOf(int value) { */ public static RelationalOperator forNumber(int value) { switch (value) { - case 0: - return RELATIONAL_OPERATOR_UNSPECIFIED; - case 1: - return EQUAL_TO; - case 2: - return NOT_EQUAL_TO; - case 3: - return GREATER_THAN; - case 4: - return LESS_THAN; - case 5: - return GREATER_THAN_OR_EQUALS; - case 6: - return LESS_THAN_OR_EQUALS; - case 7: - return EXISTS; - default: - return null; + case 0: return RELATIONAL_OPERATOR_UNSPECIFIED; + case 1: return EQUAL_TO; + case 2: return NOT_EQUAL_TO; + case 3: return GREATER_THAN; + case 4: return LESS_THAN; + case 5: return GREATER_THAN_OR_EQUALS; + case 6: return LESS_THAN_OR_EQUALS; + case 7: return EXISTS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RelationalOperator findValueByNumber(int number) { - return RelationalOperator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + RelationalOperator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RelationalOperator findValueByNumber(int number) { + return RelationalOperator.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(0); } @@ -270,7 +215,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RelationalOperator 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; @@ -286,3 +232,4 @@ private RelationalOperator(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.RelationalOperator) } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java index 1e5af9fd..d29f3b67 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Replace each input value with a value randomly selected from the dictionary.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceDictionaryConfig} */ -public final class ReplaceDictionaryConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplaceDictionaryConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceDictionaryConfig) ReplaceDictionaryConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplaceDictionaryConfig.newBuilder() to construct. private ReplaceDictionaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReplaceDictionaryConfig() {} + private ReplaceDictionaryConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplaceDictionaryConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplaceDictionaryConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,72 +52,60 @@ private ReplaceDictionaryConfig( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = - null; - if (typeCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); + type_ = subBuilder.buildPartial(); } + typeCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WORD_LIST(1), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -149,28 +121,24 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: - return WORD_LIST; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 1: return WORD_LIST; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int WORD_LIST_FIELD_NUMBER = 1; /** - * - * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -178,7 +146,6 @@ public TypeCase getTypeCase() {
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ @java.lang.Override @@ -186,8 +153,6 @@ public boolean hasWordList() { return typeCase_ == 1; } /** - * - * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -195,19 +160,16 @@ public boolean hasWordList() {
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } /** - * - * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -217,16 +179,14 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(
    * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder
-      getWordListOrBuilder() {
+  public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() {
     if (typeCase_ == 1) {
-      return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_;
+       return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_;
     }
     return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -238,7 +198,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (typeCase_ == 1) {
       output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
     }
@@ -252,9 +213,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (typeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -264,18 +224,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.privacy.dlp.v2.ReplaceDictionaryConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.ReplaceDictionaryConfig other =
-        (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) obj;
+    com.google.privacy.dlp.v2.ReplaceDictionaryConfig other = (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) obj;
 
     if (!getTypeCase().equals(other.getTypeCase())) return false;
     switch (typeCase_) {
       case 1:
-        if (!getWordList().equals(other.getWordList())) return false;
+        if (!getWordList()
+            .equals(other.getWordList())) return false;
         break;
       case 0:
       default:
@@ -305,126 +265,117 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceDictionaryConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Replace each input value with a value randomly selected from the dictionary.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceDictionaryConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceDictionaryConfig) com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder() @@ -432,15 +383,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; } @java.lang.Override @@ -471,8 +423,7 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceDictionaryConfig buildPartial() { - com.google.privacy.dlp.v2.ReplaceDictionaryConfig result = - new com.google.privacy.dlp.v2.ReplaceDictionaryConfig(this); + com.google.privacy.dlp.v2.ReplaceDictionaryConfig result = new com.google.privacy.dlp.v2.ReplaceDictionaryConfig(this); if (typeCase_ == 1) { if (wordListBuilder_ == null) { result.type_ = type_; @@ -489,39 +440,38 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReplaceDictionaryConfig) { - return mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig)other); } else { super.mergeFrom(other); return this; @@ -529,18 +479,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReplaceDictionaryConfig other) { - if (other == com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) return this; switch (other.getTypeCase()) { - case WORD_LIST: - { - mergeWordList(other.getWordList()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case WORD_LIST: { + mergeWordList(other.getWordList()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -561,8 +508,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,12 +517,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -586,14 +532,10 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> - wordListBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> wordListBuilder_; /** - * - * *
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -601,7 +543,6 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ @java.lang.Override @@ -609,8 +550,6 @@ public boolean hasWordList() { return typeCase_ == 1; } /** - * - * *
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -618,7 +557,6 @@ public boolean hasWordList() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ @java.lang.Override @@ -636,8 +574,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList( } } /** - * - * *
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -660,8 +596,6 @@ public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.W
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -682,8 +616,6 @@ public Builder setWordList(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -692,18 +624,12 @@ public Builder setWordList(
      *
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
-    public Builder mergeWordList(
-        com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) {
+    public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) {
       if (wordListBuilder_ == null) {
-        if (typeCase_ == 1
-            && type_
-                != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList
-                    .getDefaultInstance()) {
-          type_ =
-              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder(
-                      (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (typeCase_ == 1 &&
+            type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) {
+          type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_)
+              .mergeFrom(value).buildPartial();
         } else {
           type_ = value;
         }
@@ -718,8 +644,6 @@ public Builder mergeWordList(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -745,8 +669,6 @@ public Builder clearWordList() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -755,13 +677,10 @@ public Builder clearWordList() {
      *
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder
-        getWordListBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder getWordListBuilder() {
       return getWordListFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -771,8 +690,7 @@ public Builder clearWordList() {
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder
-        getWordListOrBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() {
       if ((typeCase_ == 1) && (wordListBuilder_ != null)) {
         return wordListBuilder_.getMessageOrBuilder();
       } else {
@@ -783,8 +701,6 @@ public Builder clearWordList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -794,32 +710,26 @@ public Builder clearWordList() {
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList,
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder,
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>
+        com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> 
         getWordListFieldBuilder() {
       if (wordListBuilder_ == null) {
         if (!(typeCase_ == 1)) {
           type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance();
         }
-        wordListBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList,
-                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder,
-                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>(
+        wordListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>(
                 (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_,
                 getParentForChildren(),
                 isClean());
         type_ = null;
       }
       typeCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return wordListBuilder_;
     }
-
     @java.lang.Override
-    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 +739,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceDictionaryConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceDictionaryConfig)
   private static final com.google.privacy.dlp.v2.ReplaceDictionaryConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceDictionaryConfig();
   }
@@ -843,16 +753,16 @@ public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReplaceDictionaryConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ReplaceDictionaryConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReplaceDictionaryConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ReplaceDictionaryConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -867,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
similarity index 69%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
index e7ca199a..d4ce18a5 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface ReplaceDictionaryConfigOrBuilder
-    extends
+public interface ReplaceDictionaryConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceDictionaryConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -33,13 +15,10 @@ public interface ReplaceDictionaryConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ boolean hasWordList(); /** - * - * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -47,13 +26,10 @@ public interface ReplaceDictionaryConfigOrBuilder
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(); /** - * - * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
similarity index 69%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
index 432d446c..dfcca2b2 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Replace each input value with a given `Value`.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceValueConfig} */ -public final class ReplaceValueConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplaceValueConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceValueConfig) ReplaceValueConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplaceValueConfig.newBuilder() to construct. private ReplaceValueConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReplaceValueConfig() {} + private ReplaceValueConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplaceValueConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplaceValueConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,66 +52,59 @@ private ReplaceValueConfig( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (newValue_ != null) { - subBuilder = newValue_.toBuilder(); - } - newValue_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(newValue_); - newValue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (newValue_ != null) { + subBuilder = newValue_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + newValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(newValue_); + newValue_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceValueConfig.class, - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceValueConfig.class, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); } public static final int NEW_VALUE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value newValue_; /** - * - * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; - * * @return Whether the newValue field is set. */ @java.lang.Override @@ -135,14 +112,11 @@ public boolean hasNewValue() { return newValue_ != null; } /** - * - * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; - * * @return The newValue. */ @java.lang.Override @@ -150,8 +124,6 @@ public com.google.privacy.dlp.v2.Value getNewValue() { return newValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_; } /** - * - * *
    * Value to replace it with.
    * 
@@ -164,7 +136,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (newValue_ != null) { output.writeMessage(1, getNewValue()); } @@ -190,7 +162,8 @@ public int getSerializedSize() { size = 0; if (newValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNewValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNewValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,17 +173,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.privacy.dlp.v2.ReplaceValueConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReplaceValueConfig other = - (com.google.privacy.dlp.v2.ReplaceValueConfig) obj; + com.google.privacy.dlp.v2.ReplaceValueConfig other = (com.google.privacy.dlp.v2.ReplaceValueConfig) obj; if (hasNewValue() != other.hasNewValue()) return false; if (hasNewValue()) { - if (!getNewValue().equals(other.getNewValue())) return false; + if (!getNewValue() + .equals(other.getNewValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceValueConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Replace each input value with a given `Value`.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceValueConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceValueConfig) com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceValueConfig.class, - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceValueConfig.class, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReplaceValueConfig.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; } @java.lang.Override @@ -403,8 +368,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceValueConfig buildPartial() { - com.google.privacy.dlp.v2.ReplaceValueConfig result = - new com.google.privacy.dlp.v2.ReplaceValueConfig(this); + com.google.privacy.dlp.v2.ReplaceValueConfig result = new com.google.privacy.dlp.v2.ReplaceValueConfig(this); if (newValueBuilder_ == null) { result.newValue_ = newValue_; } else { @@ -418,39 +382,38 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReplaceValueConfig) { - return mergeFrom((com.google.privacy.dlp.v2.ReplaceValueConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.ReplaceValueConfig)other); } else { super.mergeFrom(other); return this; @@ -493,33 +456,24 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Value newValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - newValueBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> newValueBuilder_; /** - * - * *
      * Value to replace it with.
      * 
* * .google.privacy.dlp.v2.Value new_value = 1; - * * @return Whether the newValue field is set. */ public boolean hasNewValue() { return newValueBuilder_ != null || newValue_ != null; } /** - * - * *
      * Value to replace it with.
      * 
* * .google.privacy.dlp.v2.Value new_value = 1; - * * @return The newValue. */ public com.google.privacy.dlp.v2.Value getNewValue() { @@ -530,8 +484,6 @@ public com.google.privacy.dlp.v2.Value getNewValue() { } } /** - * - * *
      * Value to replace it with.
      * 
@@ -552,15 +504,14 @@ public Builder setNewValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Value to replace it with.
      * 
* * .google.privacy.dlp.v2.Value new_value = 1; */ - public Builder setNewValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setNewValue( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (newValueBuilder_ == null) { newValue_ = builderForValue.build(); onChanged(); @@ -571,8 +522,6 @@ public Builder setNewValue(com.google.privacy.dlp.v2.Value.Builder builderForVal return this; } /** - * - * *
      * Value to replace it with.
      * 
@@ -583,7 +532,7 @@ public Builder mergeNewValue(com.google.privacy.dlp.v2.Value value) { if (newValueBuilder_ == null) { if (newValue_ != null) { newValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(newValue_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(newValue_).mergeFrom(value).buildPartial(); } else { newValue_ = value; } @@ -595,8 +544,6 @@ public Builder mergeNewValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Value to replace it with.
      * 
@@ -615,8 +562,6 @@ public Builder clearNewValue() { return this; } /** - * - * *
      * Value to replace it with.
      * 
@@ -624,13 +569,11 @@ public Builder clearNewValue() { * .google.privacy.dlp.v2.Value new_value = 1; */ public com.google.privacy.dlp.v2.Value.Builder getNewValueBuilder() { - + onChanged(); return getNewValueFieldBuilder().getBuilder(); } /** - * - * *
      * Value to replace it with.
      * 
@@ -641,12 +584,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { if (newValueBuilder_ != null) { return newValueBuilder_.getMessageOrBuilder(); } else { - return newValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_; + return newValue_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_; } } /** - * - * *
      * Value to replace it with.
      * 
@@ -654,24 +596,21 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { * .google.privacy.dlp.v2.Value new_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getNewValueFieldBuilder() { if (newValueBuilder_ == null) { - newValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getNewValue(), getParentForChildren(), isClean()); + newValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getNewValue(), + getParentForChildren(), + isClean()); newValue_ = null; } return newValueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -681,12 +620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceValueConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceValueConfig) private static final com.google.privacy.dlp.v2.ReplaceValueConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceValueConfig(); } @@ -695,16 +634,16 @@ public static com.google.privacy.dlp.v2.ReplaceValueConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceValueConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceValueConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceValueConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceValueConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,4 +658,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ReplaceValueConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java similarity index 56% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java index aaa6d67c..61fbf07f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ReplaceValueConfigOrBuilder - extends +public interface ReplaceValueConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceValueConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; - * * @return Whether the newValue field is set. */ boolean hasNewValue(); /** - * - * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; - * * @return The newValue. */ com.google.privacy.dlp.v2.Value getNewValue(); /** - * - * *
    * Value to replace it with.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java index 256790e7..9bcb9727 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Replace each matching finding with the name of the info_type.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceWithInfoTypeConfig} */ -public final class ReplaceWithInfoTypeConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplaceWithInfoTypeConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) ReplaceWithInfoTypeConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplaceWithInfoTypeConfig.newBuilder() to construct. private ReplaceWithInfoTypeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReplaceWithInfoTypeConfig() {} + private ReplaceWithInfoTypeConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplaceWithInfoTypeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplaceWithInfoTypeConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,42 +52,39 @@ private ReplaceWithInfoTypeConfig( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,7 +96,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -133,13 +115,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig other = - (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) obj; + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig other = (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -158,126 +139,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Replace each matching finding with the name of the info_type.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceWithInfoTypeConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.newBuilder() @@ -285,15 +257,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +274,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; } @java.lang.Override @@ -322,8 +295,7 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig buildPartial() { - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig result = - new com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig(this); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig result = new com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig(this); onBuilt(); return result; } @@ -332,39 +304,38 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) { - return mergeFrom((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig)other); } else { super.mergeFrom(other); return this; @@ -372,8 +343,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig other) { - if (other == com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -393,8 +363,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -403,9 +372,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -415,12 +384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) private static final com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig(); } @@ -429,16 +398,16 @@ public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceWithInfoTypeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceWithInfoTypeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceWithInfoTypeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceWithInfoTypeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -453,4 +422,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java new file mode 100644 index 00000000..8f9400b2 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface ReplaceWithInfoTypeConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java similarity index 73% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java index f635352c..3e99c608 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Configuration for a risk analysis job. See
  * https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RiskAnalysisJobConfig}
  */
-public final class RiskAnalysisJobConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RiskAnalysisJobConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RiskAnalysisJobConfig)
     RiskAnalysisJobConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RiskAnalysisJobConfig.newBuilder() to construct.
   private RiskAnalysisJobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RiskAnalysisJobConfig() {
     actions_ = 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 RiskAnalysisJobConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RiskAnalysisJobConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,61 +55,55 @@ private RiskAnalysisJobConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null;
-              if (privacyMetric_ != null) {
-                subBuilder = privacyMetric_.toBuilder();
-              }
-              privacyMetric_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(privacyMetric_);
-                privacyMetric_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null;
+            if (privacyMetric_ != null) {
+              subBuilder = privacyMetric_.toBuilder();
+            }
+            privacyMetric_ = input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(privacyMetric_);
+              privacyMetric_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-              if (sourceTable_ != null) {
-                subBuilder = sourceTable_.toBuilder();
-              }
-              sourceTable_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sourceTable_);
-                sourceTable_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+            if (sourceTable_ != null) {
+              subBuilder = sourceTable_.toBuilder();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                actions_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              actions_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry));
-              break;
+            sourceTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sourceTable_);
+              sourceTable_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              actions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            actions_.add(
+                input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         actions_ = java.util.Collections.unmodifiableList(actions_);
@@ -135,33 +112,27 @@ private RiskAnalysisJobConfig(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class,
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
   }
 
   public static final int PRIVACY_METRIC_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.PrivacyMetric privacyMetric_;
   /**
-   *
-   *
    * 
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; - * * @return Whether the privacyMetric field is set. */ @java.lang.Override @@ -169,25 +140,18 @@ public boolean hasPrivacyMetric() { return privacyMetric_ != null; } /** - * - * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; - * * @return The privacyMetric. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() { - return privacyMetric_ == null - ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() - : privacyMetric_; + return privacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : privacyMetric_; } /** - * - * *
    * Privacy metric to compute.
    * 
@@ -202,14 +166,11 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde public static final int SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.BigQueryTable sourceTable_; /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; - * * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -217,25 +178,18 @@ public boolean hasSourceTable() { return sourceTable_ != null; } /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; - * * @return The sourceTable. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() { - return sourceTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : sourceTable_; } /** - * - * *
    * Input dataset to compute metrics over.
    * 
@@ -250,8 +204,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder( public static final int ACTIONS_FIELD_NUMBER = 3; private java.util.List actions_; /** - * - * *
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -264,8 +216,6 @@ public java.util.List getActionsList() {
     return actions_;
   }
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -274,13 +224,11 @@ public java.util.List getActionsList() {
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getActionsOrBuilderList() {
     return actions_;
   }
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -293,8 +241,6 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -307,8 +253,6 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
     return actions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -317,12 +261,12 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
+      int index) {
     return actions_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -334,7 +278,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (privacyMetric_ != null) {
       output.writeMessage(1, getPrivacyMetric());
     }
@@ -354,13 +299,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (privacyMetric_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrivacyMetric());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPrivacyMetric());
     }
     if (sourceTable_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceTable());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getSourceTable());
     }
     for (int i = 0; i < actions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, actions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, actions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -370,23 +318,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.privacy.dlp.v2.RiskAnalysisJobConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.RiskAnalysisJobConfig other =
-        (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) obj;
+    com.google.privacy.dlp.v2.RiskAnalysisJobConfig other = (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) obj;
 
     if (hasPrivacyMetric() != other.hasPrivacyMetric()) return false;
     if (hasPrivacyMetric()) {
-      if (!getPrivacyMetric().equals(other.getPrivacyMetric())) return false;
+      if (!getPrivacyMetric()
+          .equals(other.getPrivacyMetric())) return false;
     }
     if (hasSourceTable() != other.hasSourceTable()) return false;
     if (hasSourceTable()) {
-      if (!getSourceTable().equals(other.getSourceTable())) return false;
+      if (!getSourceTable()
+          .equals(other.getSourceTable())) return false;
     }
-    if (!getActionsList().equals(other.getActionsList())) return false;
+    if (!getActionsList()
+        .equals(other.getActionsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -415,104 +365,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.RiskAnalysisJobConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for a risk analysis job. See
    * https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
@@ -520,23 +463,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.RiskAnalysisJobConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RiskAnalysisJobConfig)
       com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class,
-              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
+              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder()
@@ -544,17 +485,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getActionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +521,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
     }
 
     @java.lang.Override
@@ -601,8 +542,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RiskAnalysisJobConfig buildPartial() {
-      com.google.privacy.dlp.v2.RiskAnalysisJobConfig result =
-          new com.google.privacy.dlp.v2.RiskAnalysisJobConfig(this);
+      com.google.privacy.dlp.v2.RiskAnalysisJobConfig result = new com.google.privacy.dlp.v2.RiskAnalysisJobConfig(this);
       int from_bitField0_ = bitField0_;
       if (privacyMetricBuilder_ == null) {
         result.privacyMetric_ = privacyMetric_;
@@ -631,39 +571,38 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RiskAnalysisJobConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -671,8 +610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.RiskAnalysisJobConfig other) {
-      if (other == com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) return this;
       if (other.hasPrivacyMetric()) {
         mergePrivacyMetric(other.getPrivacyMetric());
       }
@@ -697,10 +635,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RiskAnalysisJobConfig other)
             actionsBuilder_ = null;
             actions_ = other.actions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            actionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getActionsFieldBuilder()
-                    : null;
+            actionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getActionsFieldBuilder() : null;
           } else {
             actionsBuilder_.addAllMessages(other.actions_);
           }
@@ -734,52 +671,38 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.PrivacyMetric privacyMetric_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PrivacyMetric,
-            com.google.privacy.dlp.v2.PrivacyMetric.Builder,
-            com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>
-        privacyMetricBuilder_;
+        com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> privacyMetricBuilder_;
     /**
-     *
-     *
      * 
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; - * * @return Whether the privacyMetric field is set. */ public boolean hasPrivacyMetric() { return privacyMetricBuilder_ != null || privacyMetric_ != null; } /** - * - * *
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; - * * @return The privacyMetric. */ public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() { if (privacyMetricBuilder_ == null) { - return privacyMetric_ == null - ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() - : privacyMetric_; + return privacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : privacyMetric_; } else { return privacyMetricBuilder_.getMessage(); } } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -800,8 +723,6 @@ public Builder setPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) { return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -820,8 +741,6 @@ public Builder setPrivacyMetric( return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -832,9 +751,7 @@ public Builder mergePrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) if (privacyMetricBuilder_ == null) { if (privacyMetric_ != null) { privacyMetric_ = - com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(privacyMetric_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(privacyMetric_).mergeFrom(value).buildPartial(); } else { privacyMetric_ = value; } @@ -846,8 +763,6 @@ public Builder mergePrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -866,8 +781,6 @@ public Builder clearPrivacyMetric() { return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -875,13 +788,11 @@ public Builder clearPrivacyMetric() { * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; */ public com.google.privacy.dlp.v2.PrivacyMetric.Builder getPrivacyMetricBuilder() { - + onChanged(); return getPrivacyMetricFieldBuilder().getBuilder(); } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -892,14 +803,11 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde if (privacyMetricBuilder_ != null) { return privacyMetricBuilder_.getMessageOrBuilder(); } else { - return privacyMetric_ == null - ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() - : privacyMetric_; + return privacyMetric_ == null ? + com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : privacyMetric_; } } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -907,17 +815,14 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, - com.google.privacy.dlp.v2.PrivacyMetric.Builder, - com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> getPrivacyMetricFieldBuilder() { if (privacyMetricBuilder_ == null) { - privacyMetricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, - com.google.privacy.dlp.v2.PrivacyMetric.Builder, - com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( - getPrivacyMetric(), getParentForChildren(), isClean()); + privacyMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( + getPrivacyMetric(), + getParentForChildren(), + isClean()); privacyMetric_ = null; } return privacyMetricBuilder_; @@ -925,47 +830,34 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde private com.google.privacy.dlp.v2.BigQueryTable sourceTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> - sourceTableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> sourceTableBuilder_; /** - * - * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; - * * @return Whether the sourceTable field is set. */ public boolean hasSourceTable() { return sourceTableBuilder_ != null || sourceTable_ != null; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; - * * @return The sourceTable. */ public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() { if (sourceTableBuilder_ == null) { - return sourceTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : sourceTable_; } else { return sourceTableBuilder_.getMessage(); } } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -986,15 +878,14 @@ public Builder setSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; */ - public Builder setSourceTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setSourceTable( + com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (sourceTableBuilder_ == null) { sourceTable_ = builderForValue.build(); onChanged(); @@ -1005,8 +896,6 @@ public Builder setSourceTable(com.google.privacy.dlp.v2.BigQueryTable.Builder bu return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1017,9 +906,7 @@ public Builder mergeSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (sourceTableBuilder_ == null) { if (sourceTable_ != null) { sourceTable_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(sourceTable_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(sourceTable_).mergeFrom(value).buildPartial(); } else { sourceTable_ = value; } @@ -1031,8 +918,6 @@ public Builder mergeSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1051,8 +936,6 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1060,13 +943,11 @@ public Builder clearSourceTable() { * .google.privacy.dlp.v2.BigQueryTable source_table = 2; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getSourceTableBuilder() { - + onChanged(); return getSourceTableFieldBuilder().getBuilder(); } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1077,14 +958,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder( if (sourceTableBuilder_ != null) { return sourceTableBuilder_.getMessageOrBuilder(); } else { - return sourceTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : sourceTable_; } } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1092,41 +970,32 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder( * .google.privacy.dlp.v2.BigQueryTable source_table = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getSourceTableFieldBuilder() { if (sourceTableBuilder_ == null) { - sourceTableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getSourceTable(), getParentForChildren(), isClean()); + sourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getSourceTable(), + getParentForChildren(), + isClean()); sourceTable_ = null; } return sourceTableBuilder_; } private java.util.List actions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { actions_ = new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, - com.google.privacy.dlp.v2.Action.Builder, - com.google.privacy.dlp.v2.ActionOrBuilder> - actionsBuilder_; + com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> actionsBuilder_; /** - * - * *
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1142,8 +1011,6 @@ public java.util.List getActionsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1159,8 +1026,6 @@ public int getActionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1176,8 +1041,6 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1185,7 +1048,8 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) {
+    public Builder setActions(
+        int index, com.google.privacy.dlp.v2.Action value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1199,8 +1063,6 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1208,7 +1070,8 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
+    public Builder setActions(
+        int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.set(index, builderForValue.build());
@@ -1219,8 +1082,6 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1242,8 +1103,6 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1251,7 +1110,8 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) {
+    public Builder addActions(
+        int index, com.google.privacy.dlp.v2.Action value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1265,8 +1125,6 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1274,7 +1132,8 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForValue) {
+    public Builder addActions(
+        com.google.privacy.dlp.v2.Action.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.add(builderForValue.build());
@@ -1285,8 +1144,6 @@ public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1294,7 +1151,8 @@ public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForVal
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
+    public Builder addActions(
+        int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.add(index, builderForValue.build());
@@ -1305,8 +1163,6 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1318,7 +1174,8 @@ public Builder addAllActions(
         java.lang.Iterable values) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, actions_);
         onChanged();
       } else {
         actionsBuilder_.addAllMessages(values);
@@ -1326,8 +1183,6 @@ public Builder addAllActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1346,8 +1201,6 @@ public Builder clearActions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1366,8 +1219,6 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1375,12 +1226,11 @@ public Builder removeActions(int index) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(int index) {
+    public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(
+        int index) {
       return getActionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1388,16 +1238,14 @@ public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(int index) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
+        int index) {
       if (actionsBuilder_ == null) {
-        return actions_.get(index);
-      } else {
+        return actions_.get(index);  } else {
         return actionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1405,8 +1253,8 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index)
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public java.util.List
-        getActionsOrBuilderList() {
+    public java.util.List 
+         getActionsOrBuilderList() {
       if (actionsBuilder_ != null) {
         return actionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1414,8 +1262,6 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1424,12 +1270,10 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index)
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
     public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() {
-      return getActionsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.Action.getDefaultInstance());
+      return getActionsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.Action.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1437,13 +1281,12 @@ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(int index) {
-      return getActionsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.Action.getDefaultInstance());
+    public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(
+        int index) {
+      return getActionsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.Action.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1451,29 +1294,27 @@ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(int index) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public java.util.List getActionsBuilderList() {
+    public java.util.List 
+         getActionsBuilderList() {
       return getActionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Action,
-            com.google.privacy.dlp.v2.Action.Builder,
-            com.google.privacy.dlp.v2.ActionOrBuilder>
+        com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> 
         getActionsFieldBuilder() {
       if (actionsBuilder_ == null) {
-        actionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Action,
-                com.google.privacy.dlp.v2.Action.Builder,
-                com.google.privacy.dlp.v2.ActionOrBuilder>(
-                actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder>(
+                actions_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         actions_ = null;
       }
       return actionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1483,12 +1324,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RiskAnalysisJobConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RiskAnalysisJobConfig)
   private static final com.google.privacy.dlp.v2.RiskAnalysisJobConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RiskAnalysisJobConfig();
   }
@@ -1497,16 +1338,16 @@ public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RiskAnalysisJobConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RiskAnalysisJobConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RiskAnalysisJobConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new RiskAnalysisJobConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1521,4 +1362,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
similarity index 76%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
index cbe48f18..c3f296ca 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface RiskAnalysisJobConfigOrBuilder
-    extends
+public interface RiskAnalysisJobConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RiskAnalysisJobConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; - * * @return Whether the privacyMetric field is set. */ boolean hasPrivacyMetric(); /** - * - * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; - * * @return The privacyMetric. */ com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric(); /** - * - * *
    * Privacy metric to compute.
    * 
@@ -59,32 +35,24 @@ public interface RiskAnalysisJobConfigOrBuilder com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilder(); /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; - * * @return Whether the sourceTable field is set. */ boolean hasSourceTable(); /** - * - * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; - * * @return The sourceTable. */ com.google.privacy.dlp.v2.BigQueryTable getSourceTable(); /** - * - * *
    * Input dataset to compute metrics over.
    * 
@@ -94,8 +62,6 @@ public interface RiskAnalysisJobConfigOrBuilder com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder(); /** - * - * *
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -103,10 +69,9 @@ public interface RiskAnalysisJobConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
-  java.util.List getActionsList();
+  java.util.List 
+      getActionsList();
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -116,8 +81,6 @@ public interface RiskAnalysisJobConfigOrBuilder
    */
   com.google.privacy.dlp.v2.Action getActions(int index);
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -127,8 +90,6 @@ public interface RiskAnalysisJobConfigOrBuilder
    */
   int getActionsCount();
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -136,10 +97,9 @@ public interface RiskAnalysisJobConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
-  java.util.List getActionsOrBuilderList();
+  java.util.List 
+      getActionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -147,5 +107,6 @@ public interface RiskAnalysisJobConfigOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
-  com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index);
+  com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
similarity index 73%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
index e753fad0..a9a32b2d 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Schedule for inspect job triggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Schedule} */ -public final class Schedule extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Schedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Schedule) ScheduleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Schedule.newBuilder() to construct. private Schedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Schedule() {} + private Schedule() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Schedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Schedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,65 +52,60 @@ private Schedule( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (optionCase_ == 1) { - subBuilder = ((com.google.protobuf.Duration) option_).toBuilder(); - } - option_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) option_); - option_ = subBuilder.buildPartial(); - } - optionCase_ = 1; - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (optionCase_ == 1) { + subBuilder = ((com.google.protobuf.Duration) option_).toBuilder(); + } + option_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) option_); + option_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + optionCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Schedule.class, - com.google.privacy.dlp.v2.Schedule.Builder.class); + com.google.privacy.dlp.v2.Schedule.class, com.google.privacy.dlp.v2.Schedule.Builder.class); } private int optionCase_ = 0; private java.lang.Object option_; - public enum OptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RECURRENCE_PERIOD_DURATION(1), OPTION_NOT_SET(0); private final int value; - private OptionCase(int value) { this.value = value; } @@ -142,28 +121,24 @@ public static OptionCase valueOf(int value) { public static OptionCase forNumber(int value) { switch (value) { - case 1: - return RECURRENCE_PERIOD_DURATION; - case 0: - return OPTION_NOT_SET; - default: - return null; + case 1: return RECURRENCE_PERIOD_DURATION; + case 0: return OPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OptionCase getOptionCase() { - return OptionCase.forNumber(optionCase_); + public OptionCase + getOptionCase() { + return OptionCase.forNumber( + optionCase_); } public static final int RECURRENCE_PERIOD_DURATION_FIELD_NUMBER = 1; /** - * - * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -174,7 +149,6 @@ public OptionCase getOptionCase() {
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -182,8 +156,6 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** - * - * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -194,19 +166,16 @@ public boolean hasRecurrencePeriodDuration() {
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return The recurrencePeriodDuration. */ @java.lang.Override public com.google.protobuf.Duration getRecurrencePeriodDuration() { if (optionCase_ == 1) { - return (com.google.protobuf.Duration) option_; + return (com.google.protobuf.Duration) option_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -221,13 +190,12 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilder() {
     if (optionCase_ == 1) {
-      return (com.google.protobuf.Duration) option_;
+       return (com.google.protobuf.Duration) option_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -239,7 +207,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (optionCase_ == 1) {
       output.writeMessage(1, (com.google.protobuf.Duration) option_);
     }
@@ -253,9 +222,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (optionCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.protobuf.Duration) option_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.protobuf.Duration) option_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -265,7 +233,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.privacy.dlp.v2.Schedule)) {
       return super.equals(obj);
@@ -275,8 +243,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOptionCase().equals(other.getOptionCase())) return false;
     switch (optionCase_) {
       case 1:
-        if (!getRecurrencePeriodDuration().equals(other.getRecurrencePeriodDuration()))
-          return false;
+        if (!getRecurrencePeriodDuration()
+            .equals(other.getRecurrencePeriodDuration())) return false;
         break;
       case 0:
       default:
@@ -305,126 +273,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.Schedule parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.Schedule parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.Schedule parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.privacy.dlp.v2.Schedule parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Schedule 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.privacy.dlp.v2.Schedule parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.Schedule prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Schedule for inspect job triggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Schedule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Schedule) com.google.privacy.dlp.v2.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Schedule.class, - com.google.privacy.dlp.v2.Schedule.Builder.class); + com.google.privacy.dlp.v2.Schedule.class, com.google.privacy.dlp.v2.Schedule.Builder.class); } // Construct using com.google.privacy.dlp.v2.Schedule.newBuilder() @@ -432,15 +392,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Schedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_descriptor; } @java.lang.Override @@ -488,39 +449,38 @@ public com.google.privacy.dlp.v2.Schedule buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Schedule) { - return mergeFrom((com.google.privacy.dlp.v2.Schedule) other); + return mergeFrom((com.google.privacy.dlp.v2.Schedule)other); } else { super.mergeFrom(other); return this; @@ -530,15 +490,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.Schedule other) { if (other == com.google.privacy.dlp.v2.Schedule.getDefaultInstance()) return this; switch (other.getOptionCase()) { - case RECURRENCE_PERIOD_DURATION: - { - mergeRecurrencePeriodDuration(other.getRecurrencePeriodDuration()); - break; - } - case OPTION_NOT_SET: - { - break; - } + case RECURRENCE_PERIOD_DURATION: { + mergeRecurrencePeriodDuration(other.getRecurrencePeriodDuration()); + break; + } + case OPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -568,12 +526,12 @@ public Builder mergeFrom( } return this; } - private int optionCase_ = 0; private java.lang.Object option_; - - public OptionCase getOptionCase() { - return OptionCase.forNumber(optionCase_); + public OptionCase + getOptionCase() { + return OptionCase.forNumber( + optionCase_); } public Builder clearOption() { @@ -583,14 +541,10 @@ public Builder clearOption() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - recurrencePeriodDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> recurrencePeriodDurationBuilder_; /** - * - * *
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -601,7 +555,6 @@ public Builder clearOption() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -609,8 +562,6 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** - * - * *
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -621,7 +572,6 @@ public boolean hasRecurrencePeriodDuration() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return The recurrencePeriodDuration. */ @java.lang.Override @@ -639,8 +589,6 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() { } } /** - * - * *
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -666,8 +614,6 @@ public Builder setRecurrencePeriodDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -691,8 +637,6 @@ public Builder setRecurrencePeriodDuration(
       return this;
     }
     /**
-     *
-     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -706,11 +650,10 @@ public Builder setRecurrencePeriodDuration(
      */
     public Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value) {
       if (recurrencePeriodDurationBuilder_ == null) {
-        if (optionCase_ == 1 && option_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          option_ =
-              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) option_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (optionCase_ == 1 &&
+            option_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          option_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) option_)
+              .mergeFrom(value).buildPartial();
         } else {
           option_ = value;
         }
@@ -725,8 +668,6 @@ public Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value)
       return this;
     }
     /**
-     *
-     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -755,8 +696,6 @@ public Builder clearRecurrencePeriodDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -772,8 +711,6 @@ public com.google.protobuf.Duration.Builder getRecurrencePeriodDurationBuilder()
       return getRecurrencePeriodDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -797,8 +734,6 @@ public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -811,30 +746,26 @@ public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilde
      * .google.protobuf.Duration recurrence_period_duration = 1;
      */
     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> 
         getRecurrencePeriodDurationFieldBuilder() {
       if (recurrencePeriodDurationBuilder_ == null) {
         if (!(optionCase_ == 1)) {
           option_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        recurrencePeriodDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) option_, getParentForChildren(), isClean());
+        recurrencePeriodDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) option_,
+                getParentForChildren(),
+                isClean());
         option_ = null;
       }
       optionCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return recurrencePeriodDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -844,12 +775,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Schedule)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Schedule)
   private static final com.google.privacy.dlp.v2.Schedule DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Schedule();
   }
@@ -858,16 +789,16 @@ public static com.google.privacy.dlp.v2.Schedule getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Schedule parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Schedule(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Schedule parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Schedule(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -882,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.Schedule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
similarity index 74%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
index 29d27eb9..131eb9a0 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface ScheduleOrBuilder
-    extends
+public interface ScheduleOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Schedule)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -36,13 +18,10 @@ public interface ScheduleOrBuilder
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return Whether the recurrencePeriodDuration field is set. */ boolean hasRecurrencePeriodDuration(); /** - * - * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -53,13 +32,10 @@ public interface ScheduleOrBuilder
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return The recurrencePeriodDuration. */ com.google.protobuf.Duration getRecurrencePeriodDuration(); /** - * - * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
similarity index 65%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
index df7d8a3f..42429cb9 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * An auxiliary table containing statistical information on the relative
  * frequency of different quasi-identifiers values. It has one or several
@@ -33,31 +16,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable}
  */
-public final class StatisticalTable extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StatisticalTable extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StatisticalTable)
     StatisticalTableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StatisticalTable.newBuilder() to construct.
   private StatisticalTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StatisticalTable() {
     quasiIds_ = 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 StatisticalTable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StatisticalTable(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,64 +60,55 @@ private StatisticalTable(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                quasiIds_ =
-                    new java.util.ArrayList<
-                        com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              quasiIds_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              quasiIds_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (relativeFrequency_ != null) {
-                subBuilder = relativeFrequency_.toBuilder();
-              }
-              relativeFrequency_ =
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relativeFrequency_);
-                relativeFrequency_ = subBuilder.buildPartial();
-              }
-
-              break;
+            quasiIds_.add(
+                input.readMessage(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+            if (relativeFrequency_ != null) {
+              subBuilder = relativeFrequency_.toBuilder();
+            }
+            relativeFrequency_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(relativeFrequency_);
+              relativeFrequency_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-              if (table_ != null) {
-                subBuilder = table_.toBuilder();
-              }
-              table_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(table_);
-                table_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+            if (table_ != null) {
+              subBuilder = table_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            table_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(table_);
+              table_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -143,54 +117,42 @@ private StatisticalTable(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StatisticalTable.class,
-            com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
+            com.google.privacy.dlp.v2.StatisticalTable.class, com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
   }
 
-  public interface QuasiIdentifierFieldOrBuilder
-      extends
+  public interface QuasiIdentifierFieldOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
      * Identifies the column.
      * 
@@ -200,8 +162,6 @@ public interface QuasiIdentifierFieldOrBuilder com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -209,13 +169,10 @@ public interface QuasiIdentifierFieldOrBuilder
      * 
* * string custom_tag = 2; - * * @return The customTag. */ java.lang.String getCustomTag(); /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -223,14 +180,12 @@ public interface QuasiIdentifierFieldOrBuilder
      * 
* * string custom_tag = 2; - * * @return The bytes for customTag. */ - com.google.protobuf.ByteString getCustomTagBytes(); + com.google.protobuf.ByteString + getCustomTagBytes(); } /** - * - * *
    * A quasi-identifier column has a custom_tag, used to know which column
    * in the data corresponds to which column in the statistical model.
@@ -238,31 +193,31 @@ public interface QuasiIdentifierFieldOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField}
    */
-  public static final class QuasiIdentifierField extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuasiIdentifierField extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
       QuasiIdentifierFieldOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuasiIdentifierField.newBuilder() to construct.
     private QuasiIdentifierField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private QuasiIdentifierField() {
       customTag_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuasiIdentifierField();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private QuasiIdentifierField(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -281,74 +236,65 @@ private QuasiIdentifierField(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                if (field_ != null) {
-                  subBuilder = field_.toBuilder();
-                }
-                field_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(field_);
-                  field_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (field_ != null) {
+                subBuilder = field_.toBuilder();
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                customTag_ = s;
-                break;
+              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(field_);
+                field_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              customTag_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class,
-              com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
+              com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
-     *
-     *
      * 
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -356,14 +302,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -371,8 +314,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
      * Identifies the column.
      * 
@@ -387,8 +328,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int CUSTOM_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object customTag_; /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -396,7 +335,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
      * 
* * string custom_tag = 2; - * * @return The customTag. */ @java.lang.Override @@ -405,15 +343,14 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; } } /** - * - * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -421,15 +358,16 @@ public java.lang.String getCustomTag() {
      * 
* * string custom_tag = 2; - * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customTag_ = b; return b; } else { @@ -438,7 +376,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -450,7 +387,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } @@ -467,7 +405,8 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getField()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, customTag_); @@ -480,19 +419,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.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other = - (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) obj; + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other = (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } - if (!getCustomTag().equals(other.getCustomTag())) return false; + if (!getCustomTag() + .equals(other.getCustomTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -516,95 +456,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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,8 +546,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A quasi-identifier column has a custom_tag, used to know which column
      * in the data corresponds to which column in the statistical model.
@@ -623,41 +553,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
         com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class,
-                com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
+                com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
       }
 
-      // Construct using
-      // com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.newBuilder()
+      // Construct using com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -673,14 +600,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance();
       }
 
@@ -695,8 +621,7 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField buildPartial() {
-        com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField result =
-            new com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField(this);
+        com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField result = new com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -711,52 +636,46 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField buildPart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) {
-          return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) other);
+          return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other) {
-        if (other
-            == com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other) {
+        if (other == com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()) return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -783,9 +702,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -797,33 +714,24 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
-          fieldBuilder_;
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
       /**
-       *
-       *
        * 
        * Identifies the column.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
        * Identifies the column.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -834,8 +742,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
        * Identifies the column.
        * 
@@ -856,15 +762,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Identifies the column.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -875,8 +780,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
        * Identifies the column.
        * 
@@ -887,9 +790,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -901,8 +802,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Identifies the column.
        * 
@@ -921,8 +820,6 @@ public Builder clearField() { return this; } /** - * - * *
        * Identifies the column.
        * 
@@ -930,13 +827,11 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * Identifies the column.
        * 
@@ -947,12 +842,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
        * Identifies the column.
        * 
@@ -960,17 +854,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -978,8 +869,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private java.lang.Object customTag_ = ""; /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -987,13 +876,13 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * 
* * string custom_tag = 2; - * * @return The customTag. */ public java.lang.String getCustomTag() { java.lang.Object ref = customTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; @@ -1002,8 +891,6 @@ public java.lang.String getCustomTag() { } } /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -1011,14 +898,15 @@ public java.lang.String getCustomTag() {
        * 
* * string custom_tag = 2; - * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString getCustomTagBytes() { + public com.google.protobuf.ByteString + getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customTag_ = b; return b; } else { @@ -1026,8 +914,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } } /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -1035,22 +921,20 @@ public com.google.protobuf.ByteString getCustomTagBytes() {
        * 
* * string custom_tag = 2; - * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag(java.lang.String value) { + public Builder setCustomTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customTag_ = value; onChanged(); return this; } /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -1058,18 +942,15 @@ public Builder setCustomTag(java.lang.String value) {
        * 
* * string custom_tag = 2; - * * @return This builder for chaining. */ public Builder clearCustomTag() { - + customTag_ = getDefaultInstance().getCustomTag(); onChanged(); return this; } /** - * - * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -1077,21 +958,20 @@ public Builder clearCustomTag() {
        * 
* * string custom_tag = 2; - * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customTag_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1104,32 +984,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) - private static final com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField(); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField - getDefaultInstance() { + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuasiIdentifierField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuasiIdentifierField(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuasiIdentifierField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuasiIdentifierField(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,24 +1019,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TABLE_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.BigQueryTable table_; /** - * - * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -1166,15 +1040,11 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -1182,14 +1052,11 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } /** - * - * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { @@ -1199,99 +1066,72 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { public static final int QUASI_IDS_FIELD_NUMBER = 1; private java.util.List quasiIds_; /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getQuasiIdsList() { + public java.util.List getQuasiIdsList() { return quasiIds_; } /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> + public java.util.List getQuasiIdsOrBuilderList() { return quasiIds_; } /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index) { return quasiIds_.get(index); } /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder - getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder( + int index) { return quasiIds_.get(index); } public static final int RELATIVE_FREQUENCY_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId relativeFrequency_; /** - * - * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the relativeFrequency field is set. */ @java.lang.Override @@ -1299,36 +1139,25 @@ public boolean hasRelativeFrequency() { return relativeFrequency_ != null; } /** - * - * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The relativeFrequency. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { - return relativeFrequency_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : relativeFrequency_; + return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; } /** - * - * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { @@ -1336,7 +1165,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1348,7 +1176,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -1368,13 +1197,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, quasiIds_.get(i)); } if (relativeFrequency_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRelativeFrequency()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRelativeFrequency()); } if (table_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTable()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1384,22 +1216,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.privacy.dlp.v2.StatisticalTable)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StatisticalTable other = - (com.google.privacy.dlp.v2.StatisticalTable) obj; + com.google.privacy.dlp.v2.StatisticalTable other = (com.google.privacy.dlp.v2.StatisticalTable) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } - if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; + if (!getQuasiIdsList() + .equals(other.getQuasiIdsList())) return false; if (hasRelativeFrequency() != other.hasRelativeFrequency()) return false; if (hasRelativeFrequency()) { - if (!getRelativeFrequency().equals(other.getRelativeFrequency())) return false; + if (!getRelativeFrequency() + .equals(other.getRelativeFrequency())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1429,104 +1263,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StatisticalTable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StatisticalTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StatisticalTable parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StatisticalTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 auxiliary table containing statistical information on the relative
    * frequency of different quasi-identifiers values. It has one or several
@@ -1539,23 +1366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StatisticalTable)
       com.google.privacy.dlp.v2.StatisticalTableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StatisticalTable.class,
-              com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
+              com.google.privacy.dlp.v2.StatisticalTable.class, com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StatisticalTable.newBuilder()
@@ -1563,17 +1388,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getQuasiIdsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1599,9 +1424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
     }
 
     @java.lang.Override
@@ -1620,8 +1445,7 @@ public com.google.privacy.dlp.v2.StatisticalTable build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StatisticalTable buildPartial() {
-      com.google.privacy.dlp.v2.StatisticalTable result =
-          new com.google.privacy.dlp.v2.StatisticalTable(this);
+      com.google.privacy.dlp.v2.StatisticalTable result = new com.google.privacy.dlp.v2.StatisticalTable(this);
       int from_bitField0_ = bitField0_;
       if (tableBuilder_ == null) {
         result.table_ = table_;
@@ -1650,39 +1474,38 @@ public com.google.privacy.dlp.v2.StatisticalTable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StatisticalTable) {
-        return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable) other);
+        return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1712,10 +1535,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StatisticalTable other) {
             quasiIdsBuilder_ = null;
             quasiIds_ = other.quasiIds_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            quasiIdsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getQuasiIdsFieldBuilder()
-                    : null;
+            quasiIdsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getQuasiIdsFieldBuilder() : null;
           } else {
             quasiIdsBuilder_.addAllMessages(other.quasiIds_);
           }
@@ -1752,63 +1574,43 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.BigQueryTable table_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.BigQueryTable,
-            com.google.privacy.dlp.v2.BigQueryTable.Builder,
-            com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
-        tableBuilder_;
+        com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_;
     /**
-     *
-     *
      * 
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (tableBuilder_ == null) { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { @@ -1824,17 +1626,14 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setTable( + com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); @@ -1845,23 +1644,17 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderF return this; } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -1873,15 +1666,11 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { if (tableBuilder_ == null) { @@ -1895,100 +1684,73 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { - + onChanged(); return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : table_; + return table_ == null ? + com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } } /** - * - * *
      * Required. Auxiliary table location.
      * 
* - * - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, - com.google.privacy.dlp.v2.BigQueryTable.Builder, - com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; } - private java.util.List - quasiIds_ = java.util.Collections.emptyList(); - + private java.util.List quasiIds_ = + java.util.Collections.emptyList(); private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIds_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>(quasiIds_); + quasiIds_ = new java.util.ArrayList(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> - quasiIdsBuilder_; + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> quasiIdsBuilder_; /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getQuasiIdsList() { + public java.util.List getQuasiIdsList() { if (quasiIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(quasiIds_); } else { @@ -1996,15 +1758,11 @@ private void ensureQuasiIdsIsMutable() { } } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -2014,15 +1772,11 @@ public int getQuasiIdsCount() { } } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -2032,15 +1786,11 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiI } } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { @@ -2057,19 +1807,14 @@ public Builder setQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQuasiIds( - int index, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { + int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.set(index, builderForValue.build()); @@ -2080,18 +1825,13 @@ public Builder setQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addQuasiIds( - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { + public Builder addQuasiIds(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2105,15 +1845,11 @@ public Builder addQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { @@ -2130,15 +1866,11 @@ public Builder addQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { @@ -2152,19 +1884,14 @@ public Builder addQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addQuasiIds( - int index, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { + int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(index, builderForValue.build()); @@ -2175,23 +1902,18 @@ public Builder addQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllQuasiIds( - java.lang.Iterable< - ? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField> - values) { + java.lang.Iterable values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -2199,15 +1921,11 @@ public Builder addAllQuasiIds( return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -2220,15 +1938,11 @@ public Builder clearQuasiIds() { return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -2241,53 +1955,39 @@ public Builder removeQuasiIds(int index) { return this; } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder - getQuasiIdsBuilder(int index) { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder getQuasiIdsBuilder( + int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder - getQuasiIdsOrBuilder(int index) { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder( + int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); - } else { + return quasiIds_.get(index); } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> - getQuasiIdsOrBuilderList() { + public java.util.List + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -2295,68 +1995,49 @@ public Builder removeQuasiIds(int index) { } } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder - addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder addQuasiIdsBuilder() { + return getQuasiIdsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder - addQuasiIdsBuilder(int index) { - return getQuasiIdsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder addQuasiIdsBuilder( + int index) { + return getQuasiIdsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); } /** - * - * *
      * Required. Quasi-identifier columns.
      * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getQuasiIdsBuilderList() { + public java.util.List + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>( - quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>( + quasiIds_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -2364,61 +2045,42 @@ public Builder removeQuasiIds(int index) { private com.google.privacy.dlp.v2.FieldId relativeFrequency_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - relativeFrequencyBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> relativeFrequencyBuilder_; /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the relativeFrequency field is set. */ public boolean hasRelativeFrequency() { return relativeFrequencyBuilder_ != null || relativeFrequency_ != null; } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The relativeFrequency. */ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { - return relativeFrequency_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : relativeFrequency_; + return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; } else { return relativeFrequencyBuilder_.getMessage(); } } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { @@ -2434,18 +2096,15 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setRelativeFrequency( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (relativeFrequencyBuilder_ == null) { relativeFrequency_ = builderForValue.build(); onChanged(); @@ -2456,24 +2115,18 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId.Builder bu return this; } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { if (relativeFrequency_ != null) { relativeFrequency_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_).mergeFrom(value).buildPartial(); } else { relativeFrequency_ = value; } @@ -2485,16 +2138,12 @@ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { @@ -2508,74 +2157,58 @@ public Builder clearRelativeFrequency() { return this; } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldId.Builder getRelativeFrequencyBuilder() { - + onChanged(); return getRelativeFrequencyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { if (relativeFrequencyBuilder_ != null) { return relativeFrequencyBuilder_.getMessageOrBuilder(); } else { - return relativeFrequency_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : relativeFrequency_; + return relativeFrequency_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; } } /** - * - * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getRelativeFrequencyFieldBuilder() { if (relativeFrequencyBuilder_ == null) { - relativeFrequencyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getRelativeFrequency(), getParentForChildren(), isClean()); + relativeFrequencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getRelativeFrequency(), + getParentForChildren(), + isClean()); relativeFrequency_ = null; } return relativeFrequencyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2585,12 +2218,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StatisticalTable) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StatisticalTable) private static final com.google.privacy.dlp.v2.StatisticalTable DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StatisticalTable(); } @@ -2599,16 +2232,16 @@ public static com.google.privacy.dlp.v2.StatisticalTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatisticalTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StatisticalTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatisticalTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatisticalTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2623,4 +2256,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StatisticalTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java similarity index 54% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java index 241449da..36a59a94 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java @@ -1,170 +1,110 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StatisticalTableOrBuilder - extends +public interface StatisticalTableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StatisticalTable) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** - * - * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getQuasiIdsList(); + java.util.List + getQuasiIdsList(); /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index); /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getQuasiIdsCount(); /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getQuasiIdsOrBuilderList(); /** - * - * *
    * Required. Quasi-identifier columns.
    * 
* - * - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder( int index); /** - * - * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the relativeFrequency field is set. */ boolean hasRelativeFrequency(); /** - * - * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The relativeFrequency. */ com.google.privacy.dlp.v2.FieldId getRelativeFrequency(); /** - * - * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java index 6dc71af0..3c497fa8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Shared message indicating Cloud storage type.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageConfig} */ -public final class StorageConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StorageConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageConfig) StorageConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StorageConfig.newBuilder() to construct. private StorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StorageConfig() {} + private StorageConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,155 +52,132 @@ private StorageConfig( case 0: done = true; break; - case 18: - { - com.google.privacy.dlp.v2.DatastoreOptions.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DatastoreOptions) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.DatastoreOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; + case 18: { + com.google.privacy.dlp.v2.DatastoreOptions.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DatastoreOptions) type_).toBuilder(); } - case 26: - { - com.google.privacy.dlp.v2.CloudStorageOptions.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.CloudStorageOptions) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.CloudStorageOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.DatastoreOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions) type_); + type_ = subBuilder.buildPartial(); } - case 34: - { - com.google.privacy.dlp.v2.BigQueryOptions.Builder subBuilder = null; - if (typeCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.BigQueryOptions) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.BigQueryOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 4; - break; + typeCase_ = 2; + break; + } + case 26: { + com.google.privacy.dlp.v2.CloudStorageOptions.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.CloudStorageOptions) type_).toBuilder(); + } + type_ = + input.readMessage(com.google.privacy.dlp.v2.CloudStorageOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 3; + break; + } + case 34: { + com.google.privacy.dlp.v2.BigQueryOptions.Builder subBuilder = null; + if (typeCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.BigQueryOptions) type_).toBuilder(); + } + type_ = + input.readMessage(com.google.privacy.dlp.v2.BigQueryOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 4; + break; + } + case 50: { + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder subBuilder = null; + if (timespanConfig_ != null) { + subBuilder = timespanConfig_.toBuilder(); + } + timespanConfig_ = input.readMessage(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timespanConfig_); + timespanConfig_ = subBuilder.buildPartial(); } - case 50: - { - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder subBuilder = null; - if (timespanConfig_ != null) { - subBuilder = timespanConfig_.toBuilder(); - } - timespanConfig_ = - input.readMessage( - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timespanConfig_); - timespanConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.privacy.dlp.v2.HybridOptions.Builder subBuilder = null; + if (typeCase_ == 9) { + subBuilder = ((com.google.privacy.dlp.v2.HybridOptions) type_).toBuilder(); } - case 74: - { - com.google.privacy.dlp.v2.HybridOptions.Builder subBuilder = null; - if (typeCase_ == 9) { - subBuilder = ((com.google.privacy.dlp.v2.HybridOptions) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.HybridOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.HybridOptions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 9; - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.HybridOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.HybridOptions) type_); + type_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + typeCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageConfig.class, - com.google.privacy.dlp.v2.StorageConfig.Builder.class); + com.google.privacy.dlp.v2.StorageConfig.class, com.google.privacy.dlp.v2.StorageConfig.Builder.class); } - public interface TimespanConfigOrBuilder - extends + public interface TimespanConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageConfig.TimespanConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
@@ -227,34 +188,26 @@ public interface TimespanConfigOrBuilder
     com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
     /**
-     *
-     *
      * 
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
@@ -265,8 +218,6 @@ public interface TimespanConfigOrBuilder
     com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
     /**
-     *
-     *
      * 
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -286,13 +237,10 @@ public interface TimespanConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return Whether the timestampField field is set. */ boolean hasTimestampField(); /** - * - * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -312,13 +260,10 @@ public interface TimespanConfigOrBuilder
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return The timestampField. */ com.google.privacy.dlp.v2.FieldId getTimestampField(); /** - * - * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -342,8 +287,6 @@ public interface TimespanConfigOrBuilder
     com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder();
 
     /**
-     *
-     *
      * 
      * When the job is started by a JobTrigger we will automatically figure out
      * a valid start_time to avoid scanning files that have not been modified
@@ -352,14 +295,11 @@ public interface TimespanConfigOrBuilder
      * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @return The enableAutoPopulationOfTimespanConfig. */ boolean getEnableAutoPopulationOfTimespanConfig(); } /** - * - * *
    * Configuration of the timespan of the items to include in scanning.
    * Currently only supported when inspecting Google Cloud Storage and BigQuery.
@@ -367,29 +307,30 @@ public interface TimespanConfigOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.StorageConfig.TimespanConfig}
    */
-  public static final class TimespanConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TimespanConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageConfig.TimespanConfig)
       TimespanConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TimespanConfig.newBuilder() to construct.
     private TimespanConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private TimespanConfig() {}
+    private TimespanConfig() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TimespanConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private TimespanConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -408,103 +349,91 @@ private TimespanConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (startTime_ != null) {
-                  subBuilder = startTime_.toBuilder();
-                }
-                startTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(startTime_);
-                  startTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            case 18: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
               }
-            case 18:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (endTime_ != null) {
-                  subBuilder = endTime_.toBuilder();
-                }
-                endTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(endTime_);
-                  endTime_ = subBuilder.buildPartial();
-                }
-
-                break;
+              endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
               }
-            case 26:
-              {
-                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                if (timestampField_ != null) {
-                  subBuilder = timestampField_.toBuilder();
-                }
-                timestampField_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(timestampField_);
-                  timestampField_ = subBuilder.buildPartial();
-                }
-
-                break;
+
+              break;
+            }
+            case 26: {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (timestampField_ != null) {
+                subBuilder = timestampField_.toBuilder();
               }
-            case 32:
-              {
-                enableAutoPopulationOfTimespanConfig_ = input.readBool();
-                break;
+              timestampField_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timestampField_);
+                timestampField_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 32: {
+
+              enableAutoPopulationOfTimespanConfig_ = input.readBool();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage
-          .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class,
-              com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
+              com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
     }
 
     public static final int START_TIME_FIELD_NUMBER = 1;
     private com.google.protobuf.Timestamp startTime_;
     /**
-     *
-     *
      * 
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -512,15 +441,12 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -528,8 +454,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
@@ -545,15 +469,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     public static final int END_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp endTime_;
     /**
-     *
-     *
      * 
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -561,15 +482,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -577,8 +495,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
@@ -594,8 +510,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
     public static final int TIMESTAMP_FIELD_FIELD_NUMBER = 3;
     private com.google.privacy.dlp.v2.FieldId timestampField_;
     /**
-     *
-     *
      * 
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -615,7 +529,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return Whether the timestampField field is set. */ @java.lang.Override @@ -623,8 +536,6 @@ public boolean hasTimestampField() { return timestampField_ != null; } /** - * - * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -644,18 +555,13 @@ public boolean hasTimestampField() {
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return The timestampField. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getTimestampField() { - return timestampField_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : timestampField_; + return timestampField_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : timestampField_; } /** - * - * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -684,8 +590,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
     public static final int ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER = 4;
     private boolean enableAutoPopulationOfTimespanConfig_;
     /**
-     *
-     *
      * 
      * When the job is started by a JobTrigger we will automatically figure out
      * a valid start_time to avoid scanning files that have not been modified
@@ -694,7 +598,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
      * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -703,7 +606,6 @@ public boolean getEnableAutoPopulationOfTimespanConfig() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -715,7 +617,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -738,18 +641,20 @@ 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()); } if (timestampField_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimestampField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimestampField()); } if (enableAutoPopulationOfTimespanConfig_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, enableAutoPopulationOfTimespanConfig_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, enableAutoPopulationOfTimespanConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -759,25 +664,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.StorageConfig.TimespanConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig other = - (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) obj; + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig other = (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) 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 (hasTimestampField() != other.hasTimestampField()) return false; if (hasTimestampField()) { - if (!getTimestampField().equals(other.getTimestampField())) return false; + if (!getTimestampField() + .equals(other.getTimestampField())) return false; } if (getEnableAutoPopulationOfTimespanConfig() != other.getEnableAutoPopulationOfTimespanConfig()) return false; @@ -805,103 +712,95 @@ public int hashCode() { hash = (53 * hash) + getTimestampField().hashCode(); } hash = (37 * hash) + ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getEnableAutoPopulationOfTimespanConfig()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableAutoPopulationOfTimespanConfig()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -911,8 +810,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration of the timespan of the items to include in scanning.
      * Currently only supported when inspecting Google Cloud Storage and BigQuery.
@@ -920,24 +817,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.StorageConfig.TimespanConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageConfig.TimespanConfig)
         com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class,
-                com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
+                com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.newBuilder()
@@ -945,15 +839,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -981,9 +876,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage
-            .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1002,8 +897,7 @@ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig buildPartial() {
-        com.google.privacy.dlp.v2.StorageConfig.TimespanConfig result =
-            new com.google.privacy.dlp.v2.StorageConfig.TimespanConfig(this);
+        com.google.privacy.dlp.v2.StorageConfig.TimespanConfig result = new com.google.privacy.dlp.v2.StorageConfig.TimespanConfig(this);
         if (startTimeBuilder_ == null) {
           result.startTime_ = startTime_;
         } else {
@@ -1028,41 +922,38 @@ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.StorageConfig.TimespanConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) other);
+          return mergeFrom((com.google.privacy.dlp.v2.StorageConfig.TimespanConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1070,8 +961,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig other) {
-        if (other == com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance()) return this;
         if (other.hasStartTime()) {
           mergeStartTime(other.getStartTime());
         }
@@ -1103,8 +993,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1116,49 +1005,36 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Timestamp startTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          startTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
        * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1180,8 +1056,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1189,7 +1063,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp start_time = 1;
        */
-      public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setStartTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (startTimeBuilder_ == null) {
           startTime_ = builderForValue.build();
           onChanged();
@@ -1200,8 +1075,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1213,9 +1086,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         if (startTimeBuilder_ == null) {
           if (startTime_ != null) {
             startTime_ =
-                com.google.protobuf.Timestamp.newBuilder(startTime_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
           } else {
             startTime_ = value;
           }
@@ -1227,8 +1098,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1248,8 +1117,6 @@ public Builder clearStartTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1258,13 +1125,11 @@ public Builder clearStartTime() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+        
         onChanged();
         return getStartTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1276,14 +1141,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
         if (startTimeBuilder_ != null) {
           return startTimeBuilder_.getMessageOrBuilder();
         } else {
-          return startTime_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : startTime_;
+          return startTime_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
         }
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1292,17 +1154,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getStartTimeFieldBuilder() {
         if (startTimeBuilder_ == null) {
-          startTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getStartTime(), getParentForChildren(), isClean());
+          startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getStartTime(),
+                  getParentForChildren(),
+                  isClean());
           startTime_ = null;
         }
         return startTimeBuilder_;
@@ -1310,35 +1169,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
       private com.google.protobuf.Timestamp endTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          endTimeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
        * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
        * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1349,8 +1199,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1372,8 +1220,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1381,7 +1227,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp end_time = 2;
        */
-      public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setEndTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (endTimeBuilder_ == null) {
           endTime_ = builderForValue.build();
           onChanged();
@@ -1392,8 +1239,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1405,7 +1250,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         if (endTimeBuilder_ == null) {
           if (endTime_ != null) {
             endTime_ =
-                com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
           } else {
             endTime_ = value;
           }
@@ -1417,8 +1262,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1438,8 +1281,6 @@ public Builder clearEndTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1448,13 +1289,11 @@ public Builder clearEndTime() {
        * .google.protobuf.Timestamp end_time = 2;
        */
       public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+        
         onChanged();
         return getEndTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1466,12 +1305,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
         if (endTimeBuilder_ != null) {
           return endTimeBuilder_.getMessageOrBuilder();
         } else {
-          return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+          return endTime_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
         }
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1480,17 +1318,14 @@ 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_;
@@ -1498,13 +1333,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
       private com.google.privacy.dlp.v2.FieldId timestampField_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
-          timestampFieldBuilder_;
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> timestampFieldBuilder_;
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1524,15 +1354,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return Whether the timestampField field is set. */ public boolean hasTimestampField() { return timestampFieldBuilder_ != null || timestampField_ != null; } /** - * - * *
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1552,21 +1379,16 @@ public boolean hasTimestampField() {
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return The timestampField. */ public com.google.privacy.dlp.v2.FieldId getTimestampField() { if (timestampFieldBuilder_ == null) { - return timestampField_ == null - ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() - : timestampField_; + return timestampField_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : timestampField_; } else { return timestampFieldBuilder_.getMessage(); } } /** - * - * *
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1601,8 +1423,6 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1623,7 +1443,8 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId value) {
        *
        * .google.privacy.dlp.v2.FieldId timestamp_field = 3;
        */
-      public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder setTimestampField(
+          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (timestampFieldBuilder_ == null) {
           timestampField_ = builderForValue.build();
           onChanged();
@@ -1634,8 +1455,6 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1660,9 +1479,7 @@ public Builder mergeTimestampField(com.google.privacy.dlp.v2.FieldId value) {
         if (timestampFieldBuilder_ == null) {
           if (timestampField_ != null) {
             timestampField_ =
-                com.google.privacy.dlp.v2.FieldId.newBuilder(timestampField_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.FieldId.newBuilder(timestampField_).mergeFrom(value).buildPartial();
           } else {
             timestampField_ = value;
           }
@@ -1674,8 +1491,6 @@ public Builder mergeTimestampField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1708,8 +1523,6 @@ public Builder clearTimestampField() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1731,13 +1544,11 @@ public Builder clearTimestampField() {
        * .google.privacy.dlp.v2.FieldId timestamp_field = 3;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder getTimestampFieldBuilder() {
-
+        
         onChanged();
         return getTimestampFieldFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1762,14 +1573,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
         if (timestampFieldBuilder_ != null) {
           return timestampFieldBuilder_.getMessageOrBuilder();
         } else {
-          return timestampField_ == null
-              ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance()
-              : timestampField_;
+          return timestampField_ == null ?
+              com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : timestampField_;
         }
       }
       /**
-       *
-       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1791,26 +1599,21 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
        * .google.privacy.dlp.v2.FieldId timestamp_field = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId,
-              com.google.privacy.dlp.v2.FieldId.Builder,
-              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
           getTimestampFieldFieldBuilder() {
         if (timestampFieldBuilder_ == null) {
-          timestampFieldBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.FieldId,
-                  com.google.privacy.dlp.v2.FieldId.Builder,
-                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  getTimestampField(), getParentForChildren(), isClean());
+          timestampFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  getTimestampField(),
+                  getParentForChildren(),
+                  isClean());
           timestampField_ = null;
         }
         return timestampFieldBuilder_;
       }
 
-      private boolean enableAutoPopulationOfTimespanConfig_;
+      private boolean enableAutoPopulationOfTimespanConfig_ ;
       /**
-       *
-       *
        * 
        * When the job is started by a JobTrigger we will automatically figure out
        * a valid start_time to avoid scanning files that have not been modified
@@ -1819,7 +1622,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
        * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -1827,8 +1629,6 @@ public boolean getEnableAutoPopulationOfTimespanConfig() { return enableAutoPopulationOfTimespanConfig_; } /** - * - * *
        * When the job is started by a JobTrigger we will automatically figure out
        * a valid start_time to avoid scanning files that have not been modified
@@ -1837,19 +1637,16 @@ public boolean getEnableAutoPopulationOfTimespanConfig() {
        * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @param value The enableAutoPopulationOfTimespanConfig to set. * @return This builder for chaining. */ public Builder setEnableAutoPopulationOfTimespanConfig(boolean value) { - + enableAutoPopulationOfTimespanConfig_ = value; onChanged(); return this; } /** - * - * *
        * When the job is started by a JobTrigger we will automatically figure out
        * a valid start_time to avoid scanning files that have not been modified
@@ -1858,16 +1655,14 @@ public Builder setEnableAutoPopulationOfTimespanConfig(boolean value) {
        * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @return This builder for chaining. */ public Builder clearEnableAutoPopulationOfTimespanConfig() { - + enableAutoPopulationOfTimespanConfig_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1880,12 +1675,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StorageConfig.TimespanConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageConfig.TimespanConfig) private static final com.google.privacy.dlp.v2.StorageConfig.TimespanConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageConfig.TimespanConfig(); } @@ -1894,16 +1689,16 @@ public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimespanConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimespanConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimespanConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimespanConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1918,14 +1713,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATASTORE_OPTIONS(2), CLOUD_STORAGE_OPTIONS(3), @@ -1933,7 +1727,6 @@ public enum TypeCase HYBRID_OPTIONS(9), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -1949,40 +1742,32 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 2: - return DATASTORE_OPTIONS; - case 3: - return CLOUD_STORAGE_OPTIONS; - case 4: - return BIG_QUERY_OPTIONS; - case 9: - return HYBRID_OPTIONS; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 2: return DATASTORE_OPTIONS; + case 3: return CLOUD_STORAGE_OPTIONS; + case 4: return BIG_QUERY_OPTIONS; + case 9: return HYBRID_OPTIONS; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int DATASTORE_OPTIONS_FIELD_NUMBER = 2; /** - * - * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; - * * @return Whether the datastoreOptions field is set. */ @java.lang.Override @@ -1990,26 +1775,21 @@ public boolean hasDatastoreOptions() { return typeCase_ == 2; } /** - * - * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; - * * @return The datastoreOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreOptions) type_; + return (com.google.privacy.dlp.v2.DatastoreOptions) type_; } return com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance(); } /** - * - * *
    * Google Cloud Datastore options.
    * 
@@ -2019,21 +1799,18 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { @java.lang.Override public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreOptions) type_; + return (com.google.privacy.dlp.v2.DatastoreOptions) type_; } return com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance(); } public static final int CLOUD_STORAGE_OPTIONS_FIELD_NUMBER = 3; /** - * - * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2041,26 +1818,21 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** - * - * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return The cloudStorageOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; + return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; } return com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage options.
    * 
@@ -2070,21 +1842,18 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; + return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; } return com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance(); } public static final int BIG_QUERY_OPTIONS_FIELD_NUMBER = 4; /** - * - * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return Whether the bigQueryOptions field is set. */ @java.lang.Override @@ -2092,26 +1861,21 @@ public boolean hasBigQueryOptions() { return typeCase_ == 4; } /** - * - * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return The bigQueryOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.BigQueryOptions) type_; + return (com.google.privacy.dlp.v2.BigQueryOptions) type_; } return com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance(); } /** - * - * *
    * BigQuery options.
    * 
@@ -2121,21 +1885,18 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.BigQueryOptions) type_; + return (com.google.privacy.dlp.v2.BigQueryOptions) type_; } return com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance(); } public static final int HYBRID_OPTIONS_FIELD_NUMBER = 9; /** - * - * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return Whether the hybridOptions field is set. */ @java.lang.Override @@ -2143,26 +1904,21 @@ public boolean hasHybridOptions() { return typeCase_ == 9; } /** - * - * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return The hybridOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { if (typeCase_ == 9) { - return (com.google.privacy.dlp.v2.HybridOptions) type_; + return (com.google.privacy.dlp.v2.HybridOptions) type_; } return com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance(); } /** - * - * *
    * Hybrid inspection options.
    * 
@@ -2172,7 +1928,7 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { @java.lang.Override public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilder() { if (typeCase_ == 9) { - return (com.google.privacy.dlp.v2.HybridOptions) type_; + return (com.google.privacy.dlp.v2.HybridOptions) type_; } return com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance(); } @@ -2181,7 +1937,6 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde private com.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespanConfig_; /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - * * @return Whether the timespanConfig field is set. */ @java.lang.Override @@ -2190,24 +1945,21 @@ public boolean hasTimespanConfig() { } /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - * * @return The timespanConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() { - return timespanConfig_ == null - ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() - : timespanConfig_; + return timespanConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() : timespanConfig_; } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ @java.lang.Override - public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder - getTimespanConfigOrBuilder() { + public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder() { return getTimespanConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2219,7 +1971,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DatastoreOptions) type_); } @@ -2245,27 +1998,24 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.DatastoreOptions) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.DatastoreOptions) type_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.CloudStorageOptions) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.CloudStorageOptions) type_); } if (typeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.BigQueryOptions) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.BigQueryOptions) type_); } if (timespanConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimespanConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getTimespanConfig()); } if (typeCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.privacy.dlp.v2.HybridOptions) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.privacy.dlp.v2.HybridOptions) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2275,7 +2025,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.privacy.dlp.v2.StorageConfig)) { return super.equals(obj); @@ -2284,21 +2034,26 @@ public boolean equals(final java.lang.Object obj) { if (hasTimespanConfig() != other.hasTimespanConfig()) return false; if (hasTimespanConfig()) { - if (!getTimespanConfig().equals(other.getTimespanConfig())) return false; + if (!getTimespanConfig() + .equals(other.getTimespanConfig())) return false; } if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 2: - if (!getDatastoreOptions().equals(other.getDatastoreOptions())) return false; + if (!getDatastoreOptions() + .equals(other.getDatastoreOptions())) return false; break; case 3: - if (!getCloudStorageOptions().equals(other.getCloudStorageOptions())) return false; + if (!getCloudStorageOptions() + .equals(other.getCloudStorageOptions())) return false; break; case 4: - if (!getBigQueryOptions().equals(other.getBigQueryOptions())) return false; + if (!getBigQueryOptions() + .equals(other.getBigQueryOptions())) return false; break; case 9: - if (!getHybridOptions().equals(other.getHybridOptions())) return false; + if (!getHybridOptions() + .equals(other.getHybridOptions())) return false; break; case 0: default: @@ -2343,127 +2098,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StorageConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StorageConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StorageConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Shared message indicating Cloud storage type.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageConfig) com.google.privacy.dlp.v2.StorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageConfig.class, - com.google.privacy.dlp.v2.StorageConfig.Builder.class); + com.google.privacy.dlp.v2.StorageConfig.class, com.google.privacy.dlp.v2.StorageConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.StorageConfig.newBuilder() @@ -2471,15 +2217,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2495,9 +2242,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; } @java.lang.Override @@ -2516,8 +2263,7 @@ public com.google.privacy.dlp.v2.StorageConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.StorageConfig buildPartial() { - com.google.privacy.dlp.v2.StorageConfig result = - new com.google.privacy.dlp.v2.StorageConfig(this); + com.google.privacy.dlp.v2.StorageConfig result = new com.google.privacy.dlp.v2.StorageConfig(this); if (typeCase_ == 2) { if (datastoreOptionsBuilder_ == null) { result.type_ = type_; @@ -2560,39 +2306,38 @@ public com.google.privacy.dlp.v2.StorageConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StorageConfig) { - return mergeFrom((com.google.privacy.dlp.v2.StorageConfig) other); + return mergeFrom((com.google.privacy.dlp.v2.StorageConfig)other); } else { super.mergeFrom(other); return this; @@ -2605,30 +2350,25 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StorageConfig other) { mergeTimespanConfig(other.getTimespanConfig()); } switch (other.getTypeCase()) { - case DATASTORE_OPTIONS: - { - mergeDatastoreOptions(other.getDatastoreOptions()); - break; - } - case CLOUD_STORAGE_OPTIONS: - { - mergeCloudStorageOptions(other.getCloudStorageOptions()); - break; - } - case BIG_QUERY_OPTIONS: - { - mergeBigQueryOptions(other.getBigQueryOptions()); - break; - } - case HYBRID_OPTIONS: - { - mergeHybridOptions(other.getHybridOptions()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case DATASTORE_OPTIONS: { + mergeDatastoreOptions(other.getDatastoreOptions()); + break; + } + case CLOUD_STORAGE_OPTIONS: { + mergeCloudStorageOptions(other.getCloudStorageOptions()); + break; + } + case BIG_QUERY_OPTIONS: { + mergeBigQueryOptions(other.getBigQueryOptions()); + break; + } + case HYBRID_OPTIONS: { + mergeHybridOptions(other.getHybridOptions()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2658,12 +2398,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -2673,20 +2413,15 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreOptions, - com.google.privacy.dlp.v2.DatastoreOptions.Builder, - com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> - datastoreOptionsBuilder_; + com.google.privacy.dlp.v2.DatastoreOptions, com.google.privacy.dlp.v2.DatastoreOptions.Builder, com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> datastoreOptionsBuilder_; /** - * - * *
      * Google Cloud Datastore options.
      * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; - * * @return Whether the datastoreOptions field is set. */ @java.lang.Override @@ -2694,14 +2429,11 @@ public boolean hasDatastoreOptions() { return typeCase_ == 2; } /** - * - * *
      * Google Cloud Datastore options.
      * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; - * * @return The datastoreOptions. */ @java.lang.Override @@ -2719,8 +2451,6 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { } } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2741,8 +2471,6 @@ public Builder setDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions va return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2761,8 +2489,6 @@ public Builder setDatastoreOptions( return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2771,13 +2497,10 @@ public Builder setDatastoreOptions( */ public Builder mergeDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions value) { if (datastoreOptionsBuilder_ == null) { - if (typeCase_ == 2 - && type_ != com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.DatastoreOptions.newBuilder( - (com.google.privacy.dlp.v2.DatastoreOptions) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.DatastoreOptions.newBuilder((com.google.privacy.dlp.v2.DatastoreOptions) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -2792,8 +2515,6 @@ public Builder mergeDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2817,8 +2538,6 @@ public Builder clearDatastoreOptions() { return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2829,8 +2548,6 @@ public com.google.privacy.dlp.v2.DatastoreOptions.Builder getDatastoreOptionsBui return getDatastoreOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2849,8 +2566,6 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr } } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2858,44 +2573,32 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreOptions, - com.google.privacy.dlp.v2.DatastoreOptions.Builder, - com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> + com.google.privacy.dlp.v2.DatastoreOptions, com.google.privacy.dlp.v2.DatastoreOptions.Builder, com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> getDatastoreOptionsFieldBuilder() { if (datastoreOptionsBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance(); } - datastoreOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreOptions, - com.google.privacy.dlp.v2.DatastoreOptions.Builder, - com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder>( + datastoreOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DatastoreOptions, com.google.privacy.dlp.v2.DatastoreOptions.Builder, com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder>( (com.google.privacy.dlp.v2.DatastoreOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return datastoreOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions, - com.google.privacy.dlp.v2.CloudStorageOptions.Builder, - com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> - cloudStorageOptionsBuilder_; + com.google.privacy.dlp.v2.CloudStorageOptions, com.google.privacy.dlp.v2.CloudStorageOptions.Builder, com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> cloudStorageOptionsBuilder_; /** - * - * *
      * Google Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2903,14 +2606,11 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** - * - * *
      * Google Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return The cloudStorageOptions. */ @java.lang.Override @@ -2928,8 +2628,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { } } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -2950,8 +2648,6 @@ public Builder setCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOpti return this; } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -2970,8 +2666,6 @@ public Builder setCloudStorageOptions( return this; } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -2980,13 +2674,10 @@ public Builder setCloudStorageOptions( */ public Builder mergeCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOptions value) { if (cloudStorageOptionsBuilder_ == null) { - if (typeCase_ == 3 - && type_ != com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CloudStorageOptions.newBuilder( - (com.google.privacy.dlp.v2.CloudStorageOptions) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CloudStorageOptions.newBuilder((com.google.privacy.dlp.v2.CloudStorageOptions) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -3001,8 +2692,6 @@ public Builder mergeCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOp return this; } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -3026,8 +2715,6 @@ public Builder clearCloudStorageOptions() { return this; } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -3038,8 +2725,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti return getCloudStorageOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -3047,8 +2732,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder - getCloudStorageOptionsOrBuilder() { + public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder() { if ((typeCase_ == 3) && (cloudStorageOptionsBuilder_ != null)) { return cloudStorageOptionsBuilder_.getMessageOrBuilder(); } else { @@ -3059,8 +2743,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti } } /** - * - * *
      * Google Cloud Storage options.
      * 
@@ -3068,44 +2750,32 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions, - com.google.privacy.dlp.v2.CloudStorageOptions.Builder, - com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> + com.google.privacy.dlp.v2.CloudStorageOptions, com.google.privacy.dlp.v2.CloudStorageOptions.Builder, com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> getCloudStorageOptionsFieldBuilder() { if (cloudStorageOptionsBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance(); } - cloudStorageOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions, - com.google.privacy.dlp.v2.CloudStorageOptions.Builder, - com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder>( + cloudStorageOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CloudStorageOptions, com.google.privacy.dlp.v2.CloudStorageOptions.Builder, com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder>( (com.google.privacy.dlp.v2.CloudStorageOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return cloudStorageOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryOptions, - com.google.privacy.dlp.v2.BigQueryOptions.Builder, - com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> - bigQueryOptionsBuilder_; + com.google.privacy.dlp.v2.BigQueryOptions, com.google.privacy.dlp.v2.BigQueryOptions.Builder, com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> bigQueryOptionsBuilder_; /** - * - * *
      * BigQuery options.
      * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return Whether the bigQueryOptions field is set. */ @java.lang.Override @@ -3113,14 +2783,11 @@ public boolean hasBigQueryOptions() { return typeCase_ == 4; } /** - * - * *
      * BigQuery options.
      * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return The bigQueryOptions. */ @java.lang.Override @@ -3138,8 +2805,6 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { } } /** - * - * *
      * BigQuery options.
      * 
@@ -3160,8 +2825,6 @@ public Builder setBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions valu return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3180,8 +2843,6 @@ public Builder setBigQueryOptions( return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3190,13 +2851,10 @@ public Builder setBigQueryOptions( */ public Builder mergeBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions value) { if (bigQueryOptionsBuilder_ == null) { - if (typeCase_ == 4 - && type_ != com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.BigQueryOptions.newBuilder( - (com.google.privacy.dlp.v2.BigQueryOptions) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 4 && + type_ != com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.BigQueryOptions.newBuilder((com.google.privacy.dlp.v2.BigQueryOptions) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -3211,8 +2869,6 @@ public Builder mergeBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions va return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3236,8 +2892,6 @@ public Builder clearBigQueryOptions() { return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3248,8 +2902,6 @@ public com.google.privacy.dlp.v2.BigQueryOptions.Builder getBigQueryOptionsBuild return getBigQueryOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * BigQuery options.
      * 
@@ -3268,8 +2920,6 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu } } /** - * - * *
      * BigQuery options.
      * 
@@ -3277,44 +2927,32 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryOptions, - com.google.privacy.dlp.v2.BigQueryOptions.Builder, - com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> + com.google.privacy.dlp.v2.BigQueryOptions, com.google.privacy.dlp.v2.BigQueryOptions.Builder, com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> getBigQueryOptionsFieldBuilder() { if (bigQueryOptionsBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance(); } - bigQueryOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryOptions, - com.google.privacy.dlp.v2.BigQueryOptions.Builder, - com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder>( + bigQueryOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryOptions, com.google.privacy.dlp.v2.BigQueryOptions.Builder, com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder>( (com.google.privacy.dlp.v2.BigQueryOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged(); - ; + onChanged();; return bigQueryOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridOptions, - com.google.privacy.dlp.v2.HybridOptions.Builder, - com.google.privacy.dlp.v2.HybridOptionsOrBuilder> - hybridOptionsBuilder_; + com.google.privacy.dlp.v2.HybridOptions, com.google.privacy.dlp.v2.HybridOptions.Builder, com.google.privacy.dlp.v2.HybridOptionsOrBuilder> hybridOptionsBuilder_; /** - * - * *
      * Hybrid inspection options.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return Whether the hybridOptions field is set. */ @java.lang.Override @@ -3322,14 +2960,11 @@ public boolean hasHybridOptions() { return typeCase_ == 9; } /** - * - * *
      * Hybrid inspection options.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return The hybridOptions. */ @java.lang.Override @@ -3347,8 +2982,6 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { } } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3369,8 +3002,6 @@ public Builder setHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3389,8 +3020,6 @@ public Builder setHybridOptions( return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3399,13 +3028,10 @@ public Builder setHybridOptions( */ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { if (hybridOptionsBuilder_ == null) { - if (typeCase_ == 9 - && type_ != com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.HybridOptions.newBuilder( - (com.google.privacy.dlp.v2.HybridOptions) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 9 && + type_ != com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.HybridOptions.newBuilder((com.google.privacy.dlp.v2.HybridOptions) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -3420,8 +3046,6 @@ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3445,8 +3069,6 @@ public Builder clearHybridOptions() { return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3457,8 +3079,6 @@ public com.google.privacy.dlp.v2.HybridOptions.Builder getHybridOptionsBuilder() return getHybridOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3477,8 +3097,6 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde } } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3486,37 +3104,29 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridOptions, - com.google.privacy.dlp.v2.HybridOptions.Builder, - com.google.privacy.dlp.v2.HybridOptionsOrBuilder> + com.google.privacy.dlp.v2.HybridOptions, com.google.privacy.dlp.v2.HybridOptions.Builder, com.google.privacy.dlp.v2.HybridOptionsOrBuilder> getHybridOptionsFieldBuilder() { if (hybridOptionsBuilder_ == null) { if (!(typeCase_ == 9)) { type_ = com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance(); } - hybridOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridOptions, - com.google.privacy.dlp.v2.HybridOptions.Builder, - com.google.privacy.dlp.v2.HybridOptionsOrBuilder>( - (com.google.privacy.dlp.v2.HybridOptions) type_, getParentForChildren(), isClean()); + hybridOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridOptions, com.google.privacy.dlp.v2.HybridOptions.Builder, com.google.privacy.dlp.v2.HybridOptionsOrBuilder>( + (com.google.privacy.dlp.v2.HybridOptions) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 9; - onChanged(); - ; + onChanged();; return hybridOptionsBuilder_; } private com.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespanConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, - com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> - timespanConfigBuilder_; + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> timespanConfigBuilder_; /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - * * @return Whether the timespanConfig field is set. */ public boolean hasTimespanConfig() { @@ -3524,19 +3134,18 @@ public boolean hasTimespanConfig() { } /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - * * @return The timespanConfig. */ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() { if (timespanConfigBuilder_ == null) { - return timespanConfig_ == null - ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() - : timespanConfig_; + return timespanConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() : timespanConfig_; } else { return timespanConfigBuilder_.getMessage(); } } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ public Builder setTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig value) { if (timespanConfigBuilder_ == null) { if (value == null) { @@ -3550,7 +3159,9 @@ public Builder setTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.Timespa return this; } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ public Builder setTimespanConfig( com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder builderForValue) { if (timespanConfigBuilder_ == null) { @@ -3562,15 +3173,14 @@ public Builder setTimespanConfig( return this; } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ - public Builder mergeTimespanConfig( - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig value) { + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ + public Builder mergeTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig value) { if (timespanConfigBuilder_ == null) { if (timespanConfig_ != null) { timespanConfig_ = - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.newBuilder(timespanConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.newBuilder(timespanConfig_).mergeFrom(value).buildPartial(); } else { timespanConfig_ = value; } @@ -3581,7 +3191,9 @@ public Builder mergeTimespanConfig( return this; } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ public Builder clearTimespanConfig() { if (timespanConfigBuilder_ == null) { timespanConfig_ = null; @@ -3593,44 +3205,44 @@ public Builder clearTimespanConfig() { return this; } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ - public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder - getTimespanConfigBuilder() { - + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ + public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder getTimespanConfigBuilder() { + onChanged(); return getTimespanConfigFieldBuilder().getBuilder(); } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ - public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder - getTimespanConfigOrBuilder() { + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ + public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder() { if (timespanConfigBuilder_ != null) { return timespanConfigBuilder_.getMessageOrBuilder(); } else { - return timespanConfig_ == null - ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() - : timespanConfig_; + return timespanConfig_ == null ? + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() : timespanConfig_; } } - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, - com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> getTimespanConfigFieldBuilder() { if (timespanConfigBuilder_ == null) { - timespanConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, - com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder>( - getTimespanConfig(), getParentForChildren(), isClean()); + timespanConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder>( + getTimespanConfig(), + getParentForChildren(), + isClean()); timespanConfig_ = null; } return timespanConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3640,12 +3252,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StorageConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageConfig) private static final com.google.privacy.dlp.v2.StorageConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageConfig(); } @@ -3654,16 +3266,16 @@ public static com.google.privacy.dlp.v2.StorageConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StorageConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StorageConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3678,4 +3290,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java index 172abf1a..12b11f1f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface StorageConfigOrBuilder - extends +public interface StorageConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; - * * @return Whether the datastoreOptions field is set. */ boolean hasDatastoreOptions(); /** - * - * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; - * * @return The datastoreOptions. */ com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions(); /** - * - * *
    * Google Cloud Datastore options.
    * 
@@ -59,32 +35,24 @@ public interface StorageConfigOrBuilder com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder(); /** - * - * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return Whether the cloudStorageOptions field is set. */ boolean hasCloudStorageOptions(); /** - * - * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return The cloudStorageOptions. */ com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions(); /** - * - * *
    * Google Cloud Storage options.
    * 
@@ -94,32 +62,24 @@ public interface StorageConfigOrBuilder com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder(); /** - * - * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return Whether the bigQueryOptions field is set. */ boolean hasBigQueryOptions(); /** - * - * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return The bigQueryOptions. */ com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions(); /** - * - * *
    * BigQuery options.
    * 
@@ -129,32 +89,24 @@ public interface StorageConfigOrBuilder com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder(); /** - * - * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return Whether the hybridOptions field is set. */ boolean hasHybridOptions(); /** - * - * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return The hybridOptions. */ com.google.privacy.dlp.v2.HybridOptions getHybridOptions(); /** - * - * *
    * Hybrid inspection options.
    * 
@@ -165,17 +117,17 @@ public interface StorageConfigOrBuilder /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - * * @return Whether the timespanConfig field is set. */ boolean hasTimespanConfig(); /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - * * @return The timespanConfig. */ com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig(); - /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + /** + * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + */ com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder(); public com.google.privacy.dlp.v2.StorageConfig.TypeCase getTypeCase(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java index 625f4e7a..1b1d151d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Storage metadata label to indicate which metadata entry contains findings.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageMetadataLabel} */ -public final class StorageMetadataLabel extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StorageMetadataLabel extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageMetadataLabel) StorageMetadataLabelOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StorageMetadataLabel.newBuilder() to construct. private StorageMetadataLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StorageMetadataLabel() { key_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StorageMetadataLabel(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StorageMetadataLabel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,52 +53,48 @@ private StorageMetadataLabel( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + key_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageMetadataLabel.class, - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); + com.google.privacy.dlp.v2.StorageMetadataLabel.class, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** * string key = 1; - * * @return The key. */ @java.lang.Override @@ -124,7 +103,8 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -132,15 +112,16 @@ public java.lang.String getKey() { } /** * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -149,7 +130,6 @@ public com.google.protobuf.ByteString getKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -185,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.StorageMetadataLabel)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StorageMetadataLabel other = - (com.google.privacy.dlp.v2.StorageMetadataLabel) obj; + com.google.privacy.dlp.v2.StorageMetadataLabel other = (com.google.privacy.dlp.v2.StorageMetadataLabel) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,127 +193,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StorageMetadataLabel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Storage metadata label to indicate which metadata entry contains findings.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageMetadataLabel} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageMetadataLabel) com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageMetadataLabel.class, - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); + com.google.privacy.dlp.v2.StorageMetadataLabel.class, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); } // Construct using com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder() @@ -340,15 +312,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +331,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; } @java.lang.Override @@ -379,8 +352,7 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel build() { @java.lang.Override public com.google.privacy.dlp.v2.StorageMetadataLabel buildPartial() { - com.google.privacy.dlp.v2.StorageMetadataLabel result = - new com.google.privacy.dlp.v2.StorageMetadataLabel(this); + com.google.privacy.dlp.v2.StorageMetadataLabel result = new com.google.privacy.dlp.v2.StorageMetadataLabel(this); result.key_ = key_; onBuilt(); return result; @@ -390,39 +362,38 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StorageMetadataLabel) { - return mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) other); + return mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel)other); } else { super.mergeFrom(other); return this; @@ -467,13 +438,13 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -483,14 +454,15 @@ public java.lang.String getKey() { } /** * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -499,49 +471,48 @@ public com.google.protobuf.ByteString getKeyBytes() { } /** * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = 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); } @@ -551,12 +522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StorageMetadataLabel) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageMetadataLabel) private static final com.google.privacy.dlp.v2.StorageMetadataLabel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageMetadataLabel(); } @@ -565,16 +536,16 @@ public static com.google.privacy.dlp.v2.StorageMetadataLabel getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageMetadataLabel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StorageMetadataLabel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageMetadataLabel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StorageMetadataLabel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,4 +560,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StorageMetadataLabel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java new file mode 100644 index 00000000..aee8b378 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface StorageMetadataLabelOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageMetadataLabel) + com.google.protobuf.MessageOrBuilder { + + /** + * string key = 1; + * @return The key. + */ + java.lang.String getKey(); + /** + * string key = 1; + * @return The bytes for key. + */ + com.google.protobuf.ByteString + getKeyBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java index f94a7865..3534ba4f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * StoredInfoType resource message that contains information about the current
  * version and any pending updates.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StoredInfoType}
  */
-public final class StoredInfoType extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StoredInfoType extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoType)
     StoredInfoTypeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StoredInfoType.newBuilder() to construct.
   private StoredInfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StoredInfoType() {
     name_ = "";
     pendingVersions_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private StoredInfoType() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StoredInfoType();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StoredInfoType(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,54 +56,48 @@ private StoredInfoType(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder subBuilder = null;
+            if (currentVersion_ != null) {
+              subBuilder = currentVersion_.toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder subBuilder = null;
-              if (currentVersion_ != null) {
-                subBuilder = currentVersion_.toBuilder();
-              }
-              currentVersion_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(currentVersion_);
-                currentVersion_ = subBuilder.buildPartial();
-              }
-
-              break;
+            currentVersion_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(currentVersion_);
+              currentVersion_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                pendingVersions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              pendingVersions_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              pendingVersions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pendingVersions_.add(
+                input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         pendingVersions_ = java.util.Collections.unmodifiableList(pendingVersions_);
@@ -129,33 +106,27 @@ private StoredInfoType(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StoredInfoType.class,
-            com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
+            com.google.privacy.dlp.v2.StoredInfoType.class, com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -164,29 +135,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -197,14 +168,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CURRENT_VERSION_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.StoredInfoTypeVersion currentVersion_; /** - * - * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; - * * @return Whether the currentVersion field is set. */ @java.lang.Override @@ -212,25 +180,18 @@ public boolean hasCurrentVersion() { return currentVersion_ != null; } /** - * - * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; - * * @return The currentVersion. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() { - return currentVersion_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() - : currentVersion_; + return currentVersion_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() : currentVersion_; } /** - * - * *
    * Current version of the stored info type.
    * 
@@ -245,8 +206,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio public static final int PENDING_VERSIONS_FIELD_NUMBER = 3; private java.util.List pendingVersions_; /** - * - * *
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -259,8 +218,6 @@ public java.util.List getPendin
     return pendingVersions_;
   }
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -269,13 +226,11 @@ public java.util.List getPendin
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPendingVersionsOrBuilderList() {
     return pendingVersions_;
   }
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -288,8 +243,6 @@ public int getPendingVersionsCount() {
     return pendingVersions_.size();
   }
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -302,8 +255,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
     return pendingVersions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -318,7 +269,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -330,7 +280,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -353,10 +304,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (currentVersion_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCurrentVersion());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCurrentVersion());
     }
     for (int i = 0; i < pendingVersions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pendingVersions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, pendingVersions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -366,19 +319,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.StoredInfoType)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.StoredInfoType other = (com.google.privacy.dlp.v2.StoredInfoType) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasCurrentVersion() != other.hasCurrentVersion()) return false;
     if (hasCurrentVersion()) {
-      if (!getCurrentVersion().equals(other.getCurrentVersion())) return false;
+      if (!getCurrentVersion()
+          .equals(other.getCurrentVersion())) return false;
     }
-    if (!getPendingVersionsList().equals(other.getPendingVersionsList())) return false;
+    if (!getPendingVersionsList()
+        .equals(other.getPendingVersionsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -405,104 +361,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.StoredInfoType parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.privacy.dlp.v2.StoredInfoType parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * StoredInfoType resource message that contains information about the current
    * version and any pending updates.
@@ -510,23 +459,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.StoredInfoType}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoType)
       com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StoredInfoType.class,
-              com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
+              com.google.privacy.dlp.v2.StoredInfoType.class, com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StoredInfoType.newBuilder()
@@ -534,17 +481,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPendingVersionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -566,9 +513,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
     }
 
     @java.lang.Override
@@ -587,8 +534,7 @@ public com.google.privacy.dlp.v2.StoredInfoType build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StoredInfoType buildPartial() {
-      com.google.privacy.dlp.v2.StoredInfoType result =
-          new com.google.privacy.dlp.v2.StoredInfoType(this);
+      com.google.privacy.dlp.v2.StoredInfoType result = new com.google.privacy.dlp.v2.StoredInfoType(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (currentVersionBuilder_ == null) {
@@ -613,39 +559,38 @@ public com.google.privacy.dlp.v2.StoredInfoType buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StoredInfoType) {
-        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoType) other);
+        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoType)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -679,10 +624,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoType other) {
             pendingVersionsBuilder_ = null;
             pendingVersions_ = other.pendingVersions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pendingVersionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPendingVersionsFieldBuilder()
-                    : null;
+            pendingVersionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPendingVersionsFieldBuilder() : null;
           } else {
             pendingVersionsBuilder_.addAllMessages(other.pendingVersions_);
           }
@@ -716,25 +660,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -743,21 +684,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -765,61 +705,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -827,47 +760,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.StoredInfoTypeVersion currentVersion_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, - com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> - currentVersionBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> currentVersionBuilder_; /** - * - * *
      * Current version of the stored info type.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; - * * @return Whether the currentVersion field is set. */ public boolean hasCurrentVersion() { return currentVersionBuilder_ != null || currentVersion_ != null; } /** - * - * *
      * Current version of the stored info type.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; - * * @return The currentVersion. */ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() { if (currentVersionBuilder_ == null) { - return currentVersion_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() - : currentVersion_; + return currentVersion_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() : currentVersion_; } else { return currentVersionBuilder_.getMessage(); } } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -888,8 +808,6 @@ public Builder setCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersion return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -908,8 +826,6 @@ public Builder setCurrentVersion( return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -920,9 +836,7 @@ public Builder mergeCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersi if (currentVersionBuilder_ == null) { if (currentVersion_ != null) { currentVersion_ = - com.google.privacy.dlp.v2.StoredInfoTypeVersion.newBuilder(currentVersion_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeVersion.newBuilder(currentVersion_).mergeFrom(value).buildPartial(); } else { currentVersion_ = value; } @@ -934,8 +848,6 @@ public Builder mergeCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersi return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -954,8 +866,6 @@ public Builder clearCurrentVersion() { return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -963,13 +873,11 @@ public Builder clearCurrentVersion() { * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; */ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder getCurrentVersionBuilder() { - + onChanged(); return getCurrentVersionFieldBuilder().getBuilder(); } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -980,14 +888,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio if (currentVersionBuilder_ != null) { return currentVersionBuilder_.getMessageOrBuilder(); } else { - return currentVersion_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() - : currentVersion_; + return currentVersion_ == null ? + com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() : currentVersion_; } } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -995,43 +900,32 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, - com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> getCurrentVersionFieldBuilder() { if (currentVersionBuilder_ == null) { - currentVersionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, - com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>( - getCurrentVersion(), getParentForChildren(), isClean()); + currentVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>( + getCurrentVersion(), + getParentForChildren(), + isClean()); currentVersion_ = null; } return currentVersionBuilder_; } private java.util.List pendingVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePendingVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pendingVersions_ = - new java.util.ArrayList( - pendingVersions_); + pendingVersions_ = new java.util.ArrayList(pendingVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, - com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> - pendingVersionsBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> pendingVersionsBuilder_; /** - * - * *
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1039,8 +933,7 @@ private void ensurePendingVersionsIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
-    public java.util.List
-        getPendingVersionsList() {
+    public java.util.List getPendingVersionsList() {
       if (pendingVersionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(pendingVersions_);
       } else {
@@ -1048,8 +941,6 @@ private void ensurePendingVersionsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1065,8 +956,6 @@ public int getPendingVersionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1082,8 +971,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1106,8 +993,6 @@ public Builder setPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1127,8 +1012,6 @@ public Builder setPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1150,8 +1033,6 @@ public Builder addPendingVersions(com.google.privacy.dlp.v2.StoredInfoTypeVersio
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1174,8 +1055,6 @@ public Builder addPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1195,8 +1074,6 @@ public Builder addPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1216,8 +1093,6 @@ public Builder addPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1229,7 +1104,8 @@ public Builder addAllPendingVersions(
         java.lang.Iterable values) {
       if (pendingVersionsBuilder_ == null) {
         ensurePendingVersionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pendingVersions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, pendingVersions_);
         onChanged();
       } else {
         pendingVersionsBuilder_.addAllMessages(values);
@@ -1237,8 +1113,6 @@ public Builder addAllPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1257,8 +1131,6 @@ public Builder clearPendingVersions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1277,8 +1149,6 @@ public Builder removePendingVersions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1291,8 +1161,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder getPendingVersion
       return getPendingVersionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1303,14 +1171,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder getPendingVersion
     public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(
         int index) {
       if (pendingVersionsBuilder_ == null) {
-        return pendingVersions_.get(index);
-      } else {
+        return pendingVersions_.get(index);  } else {
         return pendingVersionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1318,8 +1183,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
      *
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
-    public java.util.List
-        getPendingVersionsOrBuilderList() {
+    public java.util.List 
+         getPendingVersionsOrBuilderList() {
       if (pendingVersionsBuilder_ != null) {
         return pendingVersionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1327,8 +1192,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1337,12 +1200,10 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
     public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersionsBuilder() {
-      return getPendingVersionsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
+      return getPendingVersionsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1352,12 +1213,10 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
      */
     public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersionsBuilder(
         int index) {
-      return getPendingVersionsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
+      return getPendingVersionsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1365,22 +1224,16 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
      *
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
-    public java.util.List
-        getPendingVersionsBuilderList() {
+    public java.util.List 
+         getPendingVersionsBuilderList() {
       return getPendingVersionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion,
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder,
-            com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>
+        com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> 
         getPendingVersionsFieldBuilder() {
       if (pendingVersionsBuilder_ == null) {
-        pendingVersionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.StoredInfoTypeVersion,
-                com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder,
-                com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>(
+        pendingVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>(
                 pendingVersions_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1389,9 +1242,9 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
       }
       return pendingVersionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1401,12 +1254,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoType)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoType)
   private static final com.google.privacy.dlp.v2.StoredInfoType DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoType();
   }
@@ -1415,16 +1268,16 @@ public static com.google.privacy.dlp.v2.StoredInfoType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StoredInfoType parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new StoredInfoType(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StoredInfoType parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new StoredInfoType(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1439,4 +1292,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.StoredInfoType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
similarity index 72%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
index 4d69ea49..e0de904a 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Configuration for stored infoTypes. All fields and subfield are provided
  * by the user. For more information, see
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeConfig}
  */
-public final class StoredInfoTypeConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StoredInfoTypeConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeConfig)
     StoredInfoTypeConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StoredInfoTypeConfig.newBuilder() to construct.
   private StoredInfoTypeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StoredInfoTypeConfig() {
     displayName_ = "";
     description_ = "";
@@ -46,15 +28,16 @@ private StoredInfoTypeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StoredInfoTypeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StoredInfoTypeConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,119 +56,102 @@ private StoredInfoTypeConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder subBuilder = null;
+            if (typeCase_ == 3) {
+              subBuilder = ((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_).toBuilder();
+            }
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_);
+              type_ = subBuilder.buildPartial();
+            }
+            typeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
+            if (typeCase_ == 4) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder subBuilder = null;
-              if (typeCase_ == 3) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 3;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
-              if (typeCase_ == 4) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 4;
-              break;
+            typeCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+            if (typeCase_ == 5) {
+              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
             }
-          case 42:
-            {
-              com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-              if (typeCase_ == 5) {
-                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 5;
-              break;
+            type_ =
+                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
+              type_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            typeCase_ = 5;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.class,
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.class, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
-
   public enum TypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LARGE_CUSTOM_DICTIONARY(3),
     DICTIONARY(4),
     REGEX(5),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -201,39 +167,32 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return LARGE_CUSTOM_DICTIONARY;
-        case 4:
-          return DICTIONARY;
-        case 5:
-          return REGEX;
-        case 0:
-          return TYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return LARGE_CUSTOM_DICTIONARY;
+        case 4: return DICTIONARY;
+        case 5: return REGEX;
+        case 0: return TYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase getTypeCase() {
-    return TypeCase.forNumber(typeCase_);
+  public TypeCase
+  getTypeCase() {
+    return TypeCase.forNumber(
+        typeCase_);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object displayName_;
   /**
-   *
-   *
    * 
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -242,29 +201,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; } } /** - * - * *
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * 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 { @@ -275,14 +234,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Description of the StoredInfoType (max 256 characters).
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -291,29 +247,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; } } /** - * - * *
    * Description of the StoredInfoType (max 256 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 { @@ -323,14 +279,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER = 3; /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; - * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -338,26 +291,21 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 3; } /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; - * * @return The largeCustomDictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance(); } /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
@@ -365,24 +313,20 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDicti * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder - getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance(); } public static final int DICTIONARY_FIELD_NUMBER = 4; /** - * - * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; - * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -390,26 +334,21 @@ public boolean hasDictionary() { return typeCase_ == 4; } /** - * - * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; - * * @return The dictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } /** - * - * *
    * Store dictionary-based CustomInfoType.
    * 
@@ -419,21 +358,18 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } public static final int REGEX_FIELD_NUMBER = 5; /** - * - * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; - * * @return Whether the regex field is set. */ @java.lang.Override @@ -441,26 +377,21 @@ public boolean hasRegex() { return typeCase_ == 5; } /** - * - * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; - * * @return The regex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } /** - * - * *
    * Store regular expression-based StoredInfoType.
    * 
@@ -470,13 +401,12 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -488,7 +418,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -520,19 +451,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_); } if (typeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } if (typeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -542,26 +470,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.StoredInfoTypeConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StoredInfoTypeConfig other = - (com.google.privacy.dlp.v2.StoredInfoTypeConfig) obj; + com.google.privacy.dlp.v2.StoredInfoTypeConfig other = (com.google.privacy.dlp.v2.StoredInfoTypeConfig) obj; - 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 (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 3: - if (!getLargeCustomDictionary().equals(other.getLargeCustomDictionary())) return false; + if (!getLargeCustomDictionary() + .equals(other.getLargeCustomDictionary())) return false; break; case 4: - if (!getDictionary().equals(other.getDictionary())) return false; + if (!getDictionary() + .equals(other.getDictionary())) return false; break; case 5: - if (!getRegex().equals(other.getRegex())) return false; + if (!getRegex() + .equals(other.getRegex())) return false; break; case 0: default: @@ -602,104 +534,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for stored infoTypes. All fields and subfield are provided
    * by the user. For more information, see
@@ -708,23 +633,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeConfig)
       com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StoredInfoTypeConfig.class,
-              com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
+              com.google.privacy.dlp.v2.StoredInfoTypeConfig.class, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder()
@@ -732,15 +655,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -754,9 +678,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -775,8 +699,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StoredInfoTypeConfig buildPartial() {
-      com.google.privacy.dlp.v2.StoredInfoTypeConfig result =
-          new com.google.privacy.dlp.v2.StoredInfoTypeConfig(this);
+      com.google.privacy.dlp.v2.StoredInfoTypeConfig result = new com.google.privacy.dlp.v2.StoredInfoTypeConfig(this);
       result.displayName_ = displayName_;
       result.description_ = description_;
       if (typeCase_ == 3) {
@@ -809,39 +732,38 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -859,25 +781,21 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeConfig other) {
         onChanged();
       }
       switch (other.getTypeCase()) {
-        case LARGE_CUSTOM_DICTIONARY:
-          {
-            mergeLargeCustomDictionary(other.getLargeCustomDictionary());
-            break;
-          }
-        case DICTIONARY:
-          {
-            mergeDictionary(other.getDictionary());
-            break;
-          }
-        case REGEX:
-          {
-            mergeRegex(other.getRegex());
-            break;
-          }
-        case TYPE_NOT_SET:
-          {
-            break;
-          }
+        case LARGE_CUSTOM_DICTIONARY: {
+          mergeLargeCustomDictionary(other.getLargeCustomDictionary());
+          break;
+        }
+        case DICTIONARY: {
+          mergeDictionary(other.getDictionary());
+          break;
+        }
+        case REGEX: {
+          mergeRegex(other.getRegex());
+          break;
+        }
+        case TYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -907,12 +825,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+        getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public Builder clearType() {
@@ -922,22 +840,21 @@ public Builder clearType() {
       return this;
     }
 
+
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * 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; @@ -946,21 +863,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * 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 { @@ -968,61 +884,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1030,20 +939,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of the StoredInfoType (max 256 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; @@ -1052,21 +959,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the StoredInfoType (max 256 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 { @@ -1074,80 +980,67 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the StoredInfoType (max 256 characters).
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of the StoredInfoType (max 256 characters).
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Description of the StoredInfoType (max 256 characters).
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, - com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> - largeCustomDictionaryBuilder_; + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> largeCustomDictionaryBuilder_; /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; - * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -1155,14 +1048,11 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 3; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; - * * @return The largeCustomDictionary. */ @java.lang.Override @@ -1180,16 +1070,13 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDicti } } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - public Builder setLargeCustomDictionary( - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { + public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { if (largeCustomDictionaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1203,8 +1090,6 @@ public Builder setLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1223,25 +1108,18 @@ public Builder setLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - public Builder mergeLargeCustomDictionary( - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { + public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { if (largeCustomDictionaryBuilder_ == null) { - if (typeCase_ == 3 - && type_ - != com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.newBuilder( - (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.newBuilder((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1256,8 +1134,6 @@ public Builder mergeLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1281,21 +1157,16 @@ public Builder clearLargeCustomDictionary() { return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder - getLargeCustomDictionaryBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder getLargeCustomDictionaryBuilder() { return getLargeCustomDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1303,8 +1174,7 @@ public Builder clearLargeCustomDictionary() { * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder - getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder() { if ((typeCase_ == 3) && (largeCustomDictionaryBuilder_ != null)) { return largeCustomDictionaryBuilder_.getMessageOrBuilder(); } else { @@ -1315,8 +1185,6 @@ public Builder clearLargeCustomDictionary() { } } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1324,44 +1192,32 @@ public Builder clearLargeCustomDictionary() { * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, - com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> getLargeCustomDictionaryFieldBuilder() { if (largeCustomDictionaryBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance(); } - largeCustomDictionaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, - com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder>( + largeCustomDictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder>( (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return largeCustomDictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> - dictionaryBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> dictionaryBuilder_; /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; - * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -1369,14 +1225,11 @@ public boolean hasDictionary() { return typeCase_ == 4; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; - * * @return The dictionary. */ @java.lang.Override @@ -1394,8 +1247,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1416,8 +1267,6 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1436,8 +1285,6 @@ public Builder setDictionary( return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1446,13 +1293,10 @@ public Builder setDictionary( */ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary value) { if (dictionaryBuilder_ == null) { - if (typeCase_ == 4 - && type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 4 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1467,8 +1311,6 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1492,8 +1334,6 @@ public Builder clearDictionary() { return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1504,8 +1344,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1524,8 +1362,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1533,44 +1369,32 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> getDictionaryFieldBuilder() { if (dictionaryBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } - dictionaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, - com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( + dictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged(); - ; + onChanged();; return dictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> - regexBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> regexBuilder_; /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; - * * @return Whether the regex field is set. */ @java.lang.Override @@ -1578,14 +1402,11 @@ public boolean hasRegex() { return typeCase_ == 5; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; - * * @return The regex. */ @java.lang.Override @@ -1603,8 +1424,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1625,8 +1444,6 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1645,8 +1462,6 @@ public Builder setRegex( return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1655,13 +1470,10 @@ public Builder setRegex( */ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { if (regexBuilder_ == null) { - if (typeCase_ == 5 - && type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder( - (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 5 && + type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1676,8 +1488,6 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1701,8 +1511,6 @@ public Builder clearRegex() { return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1713,8 +1521,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1733,8 +1539,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1742,32 +1546,26 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getRegexFieldBuilder() { if (regexBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } - regexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, - com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, - com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + regexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; - onChanged(); - ; + onChanged();; return regexBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1777,12 +1575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeConfig) private static final com.google.privacy.dlp.v2.StoredInfoTypeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeConfig(); } @@ -1791,16 +1589,16 @@ public static com.google.privacy.dlp.v2.StoredInfoTypeConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StoredInfoTypeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StoredInfoTypeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1815,4 +1613,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StoredInfoTypeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java similarity index 78% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java index 3d06d8d4..bd4966de 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java @@ -1,141 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeConfigOrBuilder - extends +public interface StoredInfoTypeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Description of the StoredInfoType (max 256 characters).
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the StoredInfoType (max 256 characters).
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; - * * @return Whether the largeCustomDictionary field is set. */ boolean hasLargeCustomDictionary(); /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; - * * @return The largeCustomDictionary. */ com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary(); /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder - getLargeCustomDictionaryOrBuilder(); + com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder(); /** - * - * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; - * * @return Whether the dictionary field is set. */ boolean hasDictionary(); /** - * - * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; - * * @return The dictionary. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); /** - * - * *
    * Store dictionary-based CustomInfoType.
    * 
@@ -145,32 +102,24 @@ public interface StoredInfoTypeConfigOrBuilder com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); /** - * - * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; - * * @return Whether the regex field is set. */ boolean hasRegex(); /** - * - * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; - * * @return The regex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); /** - * - * *
    * Store regular expression-based StoredInfoType.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java similarity index 96% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java index f8fe437b..e88d0317 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java @@ -22,6 +22,8 @@ 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; @@ -245,6 +247,26 @@ public static StoredInfoTypeName parse(String formattedString) { throw new ValidationException("StoredInfoTypeName.parse: formattedString not in valid format"); } + 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 (StoredInfoTypeName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + public static boolean isParsableFrom(String formattedString) { return ORGANIZATION_STORED_INFO_TYPE.matches(formattedString) || PROJECT_STORED_INFO_TYPE.matches(formattedString) diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java index c2df8d0b..96b13d2f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeOrBuilder - extends +public interface StoredInfoTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoType) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; - * * @return Whether the currentVersion field is set. */ boolean hasCurrentVersion(); /** - * - * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; - * * @return The currentVersion. */ com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion(); /** - * - * *
    * Current version of the stored info type.
    * 
@@ -84,8 +55,6 @@ public interface StoredInfoTypeOrBuilder com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder(); /** - * - * *
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -93,10 +62,9 @@ public interface StoredInfoTypeOrBuilder
    *
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
-  java.util.List getPendingVersionsList();
+  java.util.List 
+      getPendingVersionsList();
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -106,8 +74,6 @@ public interface StoredInfoTypeOrBuilder
    */
   com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int index);
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -117,8 +83,6 @@ public interface StoredInfoTypeOrBuilder
    */
   int getPendingVersionsCount();
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -126,11 +90,9 @@ public interface StoredInfoTypeOrBuilder
    *
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
-  java.util.List
+  java.util.List 
       getPendingVersionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -138,5 +100,6 @@ public interface StoredInfoTypeOrBuilder
    *
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
-  com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(int index);
+  com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
similarity index 73%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
index 0db5f67e..2282351f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * State of a StoredInfoType version.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.StoredInfoTypeState} */ -public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEnum { +public enum StoredInfoTypeState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unused
    * 
@@ -39,8 +21,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn */ STORED_INFO_TYPE_STATE_UNSPECIFIED(0), /** - * - * *
    * StoredInfoType version is being created.
    * 
@@ -49,8 +29,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn */ PENDING(1), /** - * - * *
    * StoredInfoType version is ready for use.
    * 
@@ -59,8 +37,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn */ READY(2), /** - * - * *
    * StoredInfoType creation failed. All relevant error messages are returned in
    * the `StoredInfoTypeVersion` message.
@@ -70,8 +46,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn
    */
   FAILED(3),
   /**
-   *
-   *
    * 
    * StoredInfoType is no longer valid because artifacts stored in
    * user-controlled storage were modified. To fix an invalid StoredInfoType,
@@ -85,8 +59,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn
   ;
 
   /**
-   *
-   *
    * 
    * Unused
    * 
@@ -95,8 +67,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn */ public static final int STORED_INFO_TYPE_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * StoredInfoType version is being created.
    * 
@@ -105,8 +75,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn */ public static final int PENDING_VALUE = 1; /** - * - * *
    * StoredInfoType version is ready for use.
    * 
@@ -115,8 +83,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn */ public static final int READY_VALUE = 2; /** - * - * *
    * StoredInfoType creation failed. All relevant error messages are returned in
    * the `StoredInfoTypeVersion` message.
@@ -126,8 +92,6 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int FAILED_VALUE = 3;
   /**
-   *
-   *
    * 
    * StoredInfoType is no longer valid because artifacts stored in
    * user-controlled storage were modified. To fix an invalid StoredInfoType,
@@ -138,6 +102,7 @@ public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int INVALID_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -162,18 +127,12 @@ public static StoredInfoTypeState valueOf(int value) {
    */
   public static StoredInfoTypeState forNumber(int value) {
     switch (value) {
-      case 0:
-        return STORED_INFO_TYPE_STATE_UNSPECIFIED;
-      case 1:
-        return PENDING;
-      case 2:
-        return READY;
-      case 3:
-        return FAILED;
-      case 4:
-        return INVALID;
-      default:
-        return null;
+      case 0: return STORED_INFO_TYPE_STATE_UNSPECIFIED;
+      case 1: return PENDING;
+      case 2: return READY;
+      case 3: return FAILED;
+      case 4: return INVALID;
+      default: return null;
     }
   }
 
@@ -181,28 +140,28 @@ public static StoredInfoTypeState forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public StoredInfoTypeState findValueByNumber(int number) {
-              return StoredInfoTypeState.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      StoredInfoTypeState> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public StoredInfoTypeState findValueByNumber(int number) {
+            return StoredInfoTypeState.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(6);
   }
 
@@ -211,7 +170,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static StoredInfoTypeState 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;
@@ -227,3 +187,4 @@ private StoredInfoTypeState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.StoredInfoTypeState)
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
similarity index 69%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
index 348de681..b5289690 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Statistics for a StoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeStats} */ -public final class StoredInfoTypeStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StoredInfoTypeStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeStats) StoredInfoTypeStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StoredInfoTypeStats.newBuilder() to construct. private StoredInfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StoredInfoTypeStats() {} + private StoredInfoTypeStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StoredInfoTypeStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StoredInfoTypeStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,69 +52,60 @@ private StoredInfoTypeStats( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_).toBuilder(); - } - type_ = - input.readMessage( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = + input.readMessage(com.google.privacy.dlp.v2.LargeCustomDictionaryStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + type_ = subBuilder.buildPartial(); } + typeCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredInfoTypeStats.class, - com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.StoredInfoTypeStats.class, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); } private int typeCase_ = 0; private java.lang.Object type_; - public enum TypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LARGE_CUSTOM_DICTIONARY(1), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -146,34 +121,29 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: - return LARGE_CUSTOM_DICTIONARY; - case 0: - return TYPE_NOT_SET; - default: - return null; + case 1: return LARGE_CUSTOM_DICTIONARY; + case 0: return TYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER = 1; /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; - * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -181,26 +151,21 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 1; } /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; - * * @return The largeCustomDictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); } /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
@@ -208,16 +173,14 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictio * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder - getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCustomDictionaryOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +192,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); } @@ -243,9 +207,8 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,18 +218,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.privacy.dlp.v2.StoredInfoTypeStats)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StoredInfoTypeStats other = - (com.google.privacy.dlp.v2.StoredInfoTypeStats) obj; + com.google.privacy.dlp.v2.StoredInfoTypeStats other = (com.google.privacy.dlp.v2.StoredInfoTypeStats) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getLargeCustomDictionary().equals(other.getLargeCustomDictionary())) return false; + if (!getLargeCustomDictionary() + .equals(other.getLargeCustomDictionary())) return false; break; case 0: default: @@ -295,127 +258,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Statistics for a StoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeStats) com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredInfoTypeStats.class, - com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.StoredInfoTypeStats.class, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); } // Construct using com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder() @@ -423,15 +377,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; } @java.lang.Override @@ -462,8 +417,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStats build() { @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeStats buildPartial() { - com.google.privacy.dlp.v2.StoredInfoTypeStats result = - new com.google.privacy.dlp.v2.StoredInfoTypeStats(this); + com.google.privacy.dlp.v2.StoredInfoTypeStats result = new com.google.privacy.dlp.v2.StoredInfoTypeStats(this); if (typeCase_ == 1) { if (largeCustomDictionaryBuilder_ == null) { result.type_ = type_; @@ -480,39 +434,38 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStats buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeStats) { - return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeStats) other); + return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeStats)other); } else { super.mergeFrom(other); return this; @@ -522,15 +475,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeStats other) { if (other == com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance()) return this; switch (other.getTypeCase()) { - case LARGE_CUSTOM_DICTIONARY: - { - mergeLargeCustomDictionary(other.getLargeCustomDictionary()); - break; - } - case TYPE_NOT_SET: - { - break; - } + case LARGE_CUSTOM_DICTIONARY: { + mergeLargeCustomDictionary(other.getLargeCustomDictionary()); + break; + } + case TYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -560,12 +511,12 @@ public Builder mergeFrom( } return this; } - private int typeCase_ = 0; private java.lang.Object type_; - - public TypeCase getTypeCase() { - return TypeCase.forNumber(typeCase_); + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); } public Builder clearType() { @@ -575,20 +526,15 @@ public Builder clearType() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryStats, - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, - com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> - largeCustomDictionaryBuilder_; + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> largeCustomDictionaryBuilder_; /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; - * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -596,14 +542,11 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 1; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; - * * @return The largeCustomDictionary. */ @java.lang.Override @@ -621,16 +564,13 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictio } } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ - public Builder setLargeCustomDictionary( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { + public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { if (largeCustomDictionaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -644,8 +584,6 @@ public Builder setLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -664,24 +602,18 @@ public Builder setLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ - public Builder mergeLargeCustomDictionary( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { + public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { if (largeCustomDictionaryBuilder_ == null) { - if (typeCase_ == 1 - && type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) { - type_ = - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder( - (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) { + type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -696,8 +628,6 @@ public Builder mergeLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -721,21 +651,16 @@ public Builder clearLargeCustomDictionary() { return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ - public com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder - getLargeCustomDictionaryBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder getLargeCustomDictionaryBuilder() { return getLargeCustomDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -743,8 +668,7 @@ public Builder clearLargeCustomDictionary() { * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder - getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCustomDictionaryOrBuilder() { if ((typeCase_ == 1) && (largeCustomDictionaryBuilder_ != null)) { return largeCustomDictionaryBuilder_.getMessageOrBuilder(); } else { @@ -755,8 +679,6 @@ public Builder clearLargeCustomDictionary() { } } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -764,32 +686,26 @@ public Builder clearLargeCustomDictionary() { * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryStats, - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, - com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> getLargeCustomDictionaryFieldBuilder() { if (largeCustomDictionaryBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); } - largeCustomDictionaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryStats, - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, - com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder>( + largeCustomDictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder>( (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return largeCustomDictionaryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -799,12 +715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeStats) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeStats) private static final com.google.privacy.dlp.v2.StoredInfoTypeStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeStats(); } @@ -813,16 +729,16 @@ public static com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StoredInfoTypeStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StoredInfoTypeStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java index 7e12b338..667339e8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeStatsOrBuilder - extends +public interface StoredInfoTypeStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; - * * @return Whether the largeCustomDictionary field is set. */ boolean hasLargeCustomDictionary(); /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; - * * @return The largeCustomDictionary. */ com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary(); /** - * - * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java index 7ebdaaa4..1b0fd2ff 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Version of a StoredInfoType, including the configuration used to build it,
  * create timestamp, and current state.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeVersion}
  */
-public final class StoredInfoTypeVersion extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StoredInfoTypeVersion extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeVersion)
     StoredInfoTypeVersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StoredInfoTypeVersion.newBuilder() to construct.
   private StoredInfoTypeVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StoredInfoTypeVersion() {
     state_ = 0;
     errors_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private StoredInfoTypeVersion() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StoredInfoTypeVersion();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StoredInfoTypeVersion(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,83 +56,74 @@ private StoredInfoTypeVersion(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null;
-              if (config_ != null) {
-                subBuilder = config_.toBuilder();
-              }
-              config_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(config_);
-                config_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null;
+            if (config_ != null) {
+              subBuilder = config_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            config_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(config_);
+              config_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              errors_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                errors_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              errors_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
-              break;
+            errors_.add(
+                input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
+            break;
+          }
+          case 42: {
+            com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
             }
-          case 42:
-            {
-              com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.StoredInfoTypeStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+            stats_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         errors_ = java.util.Collections.unmodifiableList(errors_);
@@ -158,33 +132,27 @@ private StoredInfoTypeVersion(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion.class,
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion.class, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
   }
 
   public static final int CONFIG_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_;
   /**
-   *
-   *
    * 
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; - * * @return Whether the config field is set. */ @java.lang.Override @@ -192,25 +160,18 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; - * * @return The config. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } /** - * - * *
    * StoredInfoType configuration.
    * 
@@ -225,15 +186,12 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -241,15 +199,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -257,8 +212,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
@@ -274,46 +227,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 3;
   private int state_;
   /**
-   *
-   *
    * 
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.privacy.dlp.v2.StoredInfoTypeState getState() { + @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.StoredInfoTypeState result = - com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); + com.google.privacy.dlp.v2.StoredInfoTypeState result = com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.StoredInfoTypeState.UNRECOGNIZED : result; } public static final int ERRORS_FIELD_NUMBER = 4; private java.util.List errors_; /** - * - * *
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -335,8 +277,6 @@ public java.util.List getErrorsList() {
     return errors_;
   }
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -354,13 +294,11 @@ public java.util.List getErrorsList() {
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getErrorsOrBuilderList() {
     return errors_;
   }
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -382,8 +320,6 @@ public int getErrorsCount() {
     return errors_.size();
   }
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -405,8 +341,6 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
     return errors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -424,21 +358,19 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
+      int index) {
     return errors_.get(index);
   }
 
   public static final int STATS_FIELD_NUMBER = 5;
   private com.google.privacy.dlp.v2.StoredInfoTypeStats stats_;
   /**
-   *
-   *
    * 
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -446,25 +378,18 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; - * * @return The stats. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() { - return stats_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() : stats_; } /** - * - * *
    * Statistics about this storedInfoType version.
    * 
@@ -477,7 +402,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -489,16 +413,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 (config_ != null) { output.writeMessage(1, getConfig()); } if (createTime_ != null) { output.writeMessage(2, getCreateTime()); } - if (state_ - != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, state_); } for (int i = 0; i < errors_.size(); i++) { @@ -517,21 +440,24 @@ public int getSerializedSize() { size = 0; if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getConfig()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } - if (state_ - != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + if (state_ != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, errors_.get(i)); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -541,27 +467,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.StoredInfoTypeVersion)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StoredInfoTypeVersion other = - (com.google.privacy.dlp.v2.StoredInfoTypeVersion) obj; + com.google.privacy.dlp.v2.StoredInfoTypeVersion other = (com.google.privacy.dlp.v2.StoredInfoTypeVersion) obj; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) 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 (state_ != other.state_) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -597,104 +526,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Version of a StoredInfoType, including the configuration used to build it,
    * create timestamp, and current state.
@@ -702,23 +624,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeVersion}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeVersion)
       com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StoredInfoTypeVersion.class,
-              com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
+              com.google.privacy.dlp.v2.StoredInfoTypeVersion.class, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StoredInfoTypeVersion.newBuilder()
@@ -726,17 +646,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getErrorsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -770,9 +690,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
     }
 
     @java.lang.Override
@@ -791,8 +711,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
-      com.google.privacy.dlp.v2.StoredInfoTypeVersion result =
-          new com.google.privacy.dlp.v2.StoredInfoTypeVersion(this);
+      com.google.privacy.dlp.v2.StoredInfoTypeVersion result = new com.google.privacy.dlp.v2.StoredInfoTypeVersion(this);
       int from_bitField0_ = bitField0_;
       if (configBuilder_ == null) {
         result.config_ = config_;
@@ -827,39 +746,38 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeVersion) {
-        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeVersion) other);
+        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeVersion)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -867,8 +785,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other) {
-      if (other == com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance()) return this;
       if (other.hasConfig()) {
         mergeConfig(other.getConfig());
       }
@@ -896,10 +813,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other)
             errorsBuilder_ = null;
             errors_ = other.errors_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            errorsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getErrorsFieldBuilder()
-                    : null;
+            errorsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getErrorsFieldBuilder() : null;
           } else {
             errorsBuilder_.addAllMessages(other.errors_);
           }
@@ -936,52 +852,38 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig,
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder,
-            com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>
-        configBuilder_;
+        com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> configBuilder_;
     /**
-     *
-     *
      * 
      * StoredInfoType configuration.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; - * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * StoredInfoType configuration.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; - * * @return The config. */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1002,8 +904,6 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1022,8 +922,6 @@ public Builder setConfig( return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1034,9 +932,7 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -1048,8 +944,6 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1068,8 +962,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1077,13 +969,11 @@ public Builder clearConfig() { * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1094,14 +984,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? + com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1109,17 +996,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; @@ -1127,49 +1011,36 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde 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_; /** - * - * *
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @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(); } } /** - * - * *
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1191,8 +1062,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1200,7 +1069,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
         onChanged();
@@ -1211,8 +1081,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1224,7 +1092,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -1236,8 +1104,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1257,8 +1123,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1267,13 +1131,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1285,14 +1147,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : createTime_;
+        return createTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1301,17 +1160,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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> 
         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_;
@@ -1319,69 +1175,55 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return The state. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.StoredInfoTypeState result = - com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); + com.google.privacy.dlp.v2.StoredInfoTypeState result = com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.StoredInfoTypeState.UNRECOGNIZED : result; } /** - * - * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1389,49 +1231,40 @@ public Builder setState(com.google.privacy.dlp.v2.StoredInfoTypeState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, - com.google.privacy.dlp.v2.Error.Builder, - com.google.privacy.dlp.v2.ErrorOrBuilder> - errorsBuilder_; + com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1456,8 +1289,6 @@ public java.util.List getErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1482,8 +1313,6 @@ public int getErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1508,8 +1337,6 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1526,7 +1353,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) {
+    public Builder setErrors(
+        int index, com.google.privacy.dlp.v2.Error value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1540,8 +1368,6 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1558,7 +1384,8 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
+    public Builder setErrors(
+        int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.set(index, builderForValue.build());
@@ -1569,8 +1396,6 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1601,8 +1426,6 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1619,7 +1442,8 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) {
+    public Builder addErrors(
+        int index, com.google.privacy.dlp.v2.Error value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1633,8 +1457,6 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1651,7 +1473,8 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue) {
+    public Builder addErrors(
+        com.google.privacy.dlp.v2.Error.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(builderForValue.build());
@@ -1662,8 +1485,6 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1680,7 +1501,8 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
+    public Builder addErrors(
+        int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(index, builderForValue.build());
@@ -1691,8 +1513,6 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1713,7 +1533,8 @@ public Builder addAllErrors(
         java.lang.Iterable values) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, errors_);
         onChanged();
       } else {
         errorsBuilder_.addAllMessages(values);
@@ -1721,8 +1542,6 @@ public Builder addAllErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1750,8 +1569,6 @@ public Builder clearErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1779,8 +1596,6 @@ public Builder removeErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1797,12 +1612,11 @@ public Builder removeErrors(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) {
+    public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(
+        int index) {
       return getErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1819,16 +1633,14 @@ public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
+        int index) {
       if (errorsBuilder_ == null) {
-        return errors_.get(index);
-      } else {
+        return errors_.get(index);  } else {
         return errorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1845,8 +1657,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public java.util.List
-        getErrorsOrBuilderList() {
+    public java.util.List 
+         getErrorsOrBuilderList() {
       if (errorsBuilder_ != null) {
         return errorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1854,8 +1666,6 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1873,12 +1683,10 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
     public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() {
-      return getErrorsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.Error.getDefaultInstance());
+      return getErrorsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.Error.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1895,13 +1703,12 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) {
-      return getErrorsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.Error.getDefaultInstance());
+    public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(
+        int index) {
+      return getErrorsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.Error.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1918,22 +1725,20 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public java.util.List getErrorsBuilderList() {
+    public java.util.List 
+         getErrorsBuilderList() {
       return getErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Error,
-            com.google.privacy.dlp.v2.Error.Builder,
-            com.google.privacy.dlp.v2.ErrorOrBuilder>
+        com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> 
         getErrorsFieldBuilder() {
       if (errorsBuilder_ == null) {
-        errorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Error,
-                com.google.privacy.dlp.v2.Error.Builder,
-                com.google.privacy.dlp.v2.ErrorOrBuilder>(
-                errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder>(
+                errors_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         errors_ = null;
       }
       return errorsBuilder_;
@@ -1941,47 +1746,34 @@ public java.util.List getErrorsBuilderL
 
     private com.google.privacy.dlp.v2.StoredInfoTypeStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredInfoTypeStats,
-            com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder,
-            com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>
-        statsBuilder_;
+        com.google.privacy.dlp.v2.StoredInfoTypeStats, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> statsBuilder_;
     /**
-     *
-     *
      * 
      * Statistics about this storedInfoType version.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; - * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; - * * @return The stats. */ public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2002,15 +1794,14 @@ public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; */ - public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder builderForValue) { + public Builder setStats( + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -2021,8 +1812,6 @@ public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder bu return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2033,9 +1822,7 @@ public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -2047,8 +1834,6 @@ public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2067,8 +1852,6 @@ public Builder clearStats() { return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2076,13 +1859,11 @@ public Builder clearStats() { * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; */ public com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2093,14 +1874,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2108,24 +1886,21 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeStats, - com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeStats, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeStats, - com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeStats, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2135,12 +1910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeVersion) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeVersion) private static final com.google.privacy.dlp.v2.StoredInfoTypeVersion DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeVersion(); } @@ -2149,16 +1924,16 @@ public static com.google.privacy.dlp.v2.StoredInfoTypeVersion getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StoredInfoTypeVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StoredInfoTypeVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2173,4 +1948,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StoredInfoTypeVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java similarity index 88% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java index 2bc0782d..0a654f6e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeVersionOrBuilder - extends +public interface StoredInfoTypeVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeVersion) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; - * * @return The config. */ com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig(); /** - * - * *
    * StoredInfoType configuration.
    * 
@@ -59,34 +35,26 @@ public interface StoredInfoTypeVersionOrBuilder com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
@@ -97,35 +65,27 @@ public interface StoredInfoTypeVersionOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; - * * @return The state. */ com.google.privacy.dlp.v2.StoredInfoTypeState getState(); /** - * - * *
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -142,10 +102,9 @@ public interface StoredInfoTypeVersionOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
-  java.util.List getErrorsList();
+  java.util.List 
+      getErrorsList();
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -164,8 +123,6 @@ public interface StoredInfoTypeVersionOrBuilder
    */
   com.google.privacy.dlp.v2.Error getErrors(int index);
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -184,8 +141,6 @@ public interface StoredInfoTypeVersionOrBuilder
    */
   int getErrorsCount();
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -202,10 +157,9 @@ public interface StoredInfoTypeVersionOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
-  java.util.List getErrorsOrBuilderList();
+  java.util.List 
+      getErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -222,35 +176,28 @@ public interface StoredInfoTypeVersionOrBuilder
    *
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
-  com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index);
+  com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; - * * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; - * * @return The stats. */ com.google.privacy.dlp.v2.StoredInfoTypeStats getStats(); /** - * - * *
    * Statistics about this storedInfoType version.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java index d9bcbe6c..38df65a4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A reference to a StoredInfoType to use with scanning.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredType} */ -public final class StoredType extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StoredType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredType) StoredTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StoredType.newBuilder() to construct. private StoredType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StoredType() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StoredType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StoredType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,67 +53,60 @@ private StoredType( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StoredType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredType.class, - com.google.privacy.dlp.v2.StoredType.Builder.class); + com.google.privacy.dlp.v2.StoredType.class, com.google.privacy.dlp.v2.StoredType.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -138,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -147,15 +122,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -163,15 +137,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -182,15 +157,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -198,15 +170,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -214,8 +183,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
@@ -229,7 +196,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,7 +207,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -261,7 +228,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCreateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -271,17 +239,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.StoredType)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.StoredType other = (com.google.privacy.dlp.v2.StoredType) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -305,126 +275,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.StoredType parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.StoredType parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.privacy.dlp.v2.StoredType parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.privacy.dlp.v2.StoredType parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredType 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.privacy.dlp.v2.StoredType parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.StoredType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 reference to a StoredInfoType to use with scanning.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredType) com.google.privacy.dlp.v2.StoredTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StoredType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredType.class, - com.google.privacy.dlp.v2.StoredType.Builder.class); + com.google.privacy.dlp.v2.StoredType.class, com.google.privacy.dlp.v2.StoredType.Builder.class); } // Construct using com.google.privacy.dlp.v2.StoredType.newBuilder() @@ -432,15 +394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_StoredType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_descriptor; } @java.lang.Override @@ -492,39 +455,38 @@ public com.google.privacy.dlp.v2.StoredType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StoredType) { - return mergeFrom((com.google.privacy.dlp.v2.StoredType) other); + return mergeFrom((com.google.privacy.dlp.v2.StoredType)other); } else { super.mergeFrom(other); return this; @@ -571,8 +533,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -580,13 +540,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; @@ -595,8 +555,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -604,14 +562,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -619,8 +578,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -628,22 +585,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -651,18 +606,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -670,16 +622,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -687,49 +639,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @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(); } } /** - * - * *
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -751,8 +690,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -760,7 +697,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
         onChanged();
@@ -771,8 +709,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -784,7 +720,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -796,8 +732,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -817,8 +751,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -827,13 +759,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -845,14 +775,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : createTime_;
+        return createTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -861,24 +788,21 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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> 
         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);
     }
 
@@ -888,12 +812,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredType)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredType)
   private static final com.google.privacy.dlp.v2.StoredType DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredType();
   }
@@ -902,16 +826,16 @@ public static com.google.privacy.dlp.v2.StoredType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StoredType parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new StoredType(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StoredType parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new StoredType(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -926,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.StoredType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
similarity index 70%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
index 89f0deea..c72c5d38 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface StoredTypeOrBuilder
-    extends
+public interface StoredTypeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredType)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -33,13 +15,10 @@ public interface StoredTypeOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -47,40 +26,32 @@ public interface StoredTypeOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
similarity index 76%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
index 6f93ddc6..99f8d45c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
  * https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Table}
  */
-public final class Table extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Table extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Table)
     TableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Table.newBuilder() to construct.
   private Table(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Table() {
     headers_ = java.util.Collections.emptyList();
     rows_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Table();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Table(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,40 +57,38 @@ private Table(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              headers_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                rows_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              rows_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.Table.Row.parser(), extensionRegistry));
-              break;
+            headers_.add(
+                input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              rows_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            rows_.add(
+                input.readMessage(com.google.privacy.dlp.v2.Table.Row.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         headers_ = java.util.Collections.unmodifiableList(headers_);
@@ -119,39 +100,33 @@ private Table(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Table_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Table.class, com.google.privacy.dlp.v2.Table.Builder.class);
   }
 
-  public interface RowOrBuilder
-      extends
+  public interface RowOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Table.Row)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Individual cells.
      * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
      * Individual cells.
      * 
@@ -160,8 +135,6 @@ public interface RowOrBuilder */ com.google.privacy.dlp.v2.Value getValues(int index); /** - * - * *
      * Individual cells.
      * 
@@ -170,60 +143,56 @@ public interface RowOrBuilder */ int getValuesCount(); /** - * - * *
      * Individual cells.
      * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - java.util.List getValuesOrBuilderList(); + java.util.List + getValuesOrBuilderList(); /** - * - * *
      * Individual cells.
      * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index); + com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( + int index); } /** - * - * *
    * Values of the row.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Table.Row} */ - public static final class Row extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Row extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Table.Row) RowOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Row.newBuilder() to construct. private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Row() { values_ = 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 Row(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Row( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -243,29 +212,29 @@ private Row( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + values_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { values_ = java.util.Collections.unmodifiableList(values_); @@ -274,27 +243,22 @@ private Row( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Table.Row.class, - com.google.privacy.dlp.v2.Table.Row.Builder.class); + com.google.privacy.dlp.v2.Table.Row.class, com.google.privacy.dlp.v2.Table.Row.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** - * - * *
      * Individual cells.
      * 
@@ -306,8 +270,6 @@ public java.util.List getValuesList() { return values_; } /** - * - * *
      * Individual cells.
      * 
@@ -315,13 +277,11 @@ public java.util.List getValuesList() { * repeated .google.privacy.dlp.v2.Value values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** - * - * *
      * Individual cells.
      * 
@@ -333,8 +293,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Individual cells.
      * 
@@ -346,8 +304,6 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { return values_.get(index); } /** - * - * *
      * Individual cells.
      * 
@@ -355,12 +311,12 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { * repeated .google.privacy.dlp.v2.Value values = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( + int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,7 +328,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -386,7 +343,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -396,14 +354,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.privacy.dlp.v2.Table.Row)) { return super.equals(obj); } com.google.privacy.dlp.v2.Table.Row other = (com.google.privacy.dlp.v2.Table.Row) obj; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -424,93 +383,88 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Table.Row parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Table.Row parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Table.Row parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Table.Row parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table.Row 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.privacy.dlp.v2.Table.Row parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Table.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -520,32 +474,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Values of the row.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.Table.Row} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Table.Row) com.google.privacy.dlp.v2.Table.RowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Table.Row.class, - com.google.privacy.dlp.v2.Table.Row.Builder.class); + com.google.privacy.dlp.v2.Table.Row.class, com.google.privacy.dlp.v2.Table.Row.Builder.class); } // Construct using com.google.privacy.dlp.v2.Table.Row.newBuilder() @@ -553,17 +502,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -577,9 +526,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_descriptor; } @java.lang.Override @@ -617,41 +566,38 @@ public com.google.privacy.dlp.v2.Table.Row buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.privacy.dlp.v2.Table.Row) { - return mergeFrom((com.google.privacy.dlp.v2.Table.Row) other); + return mergeFrom((com.google.privacy.dlp.v2.Table.Row)other); } else { super.mergeFrom(other); return this; @@ -678,10 +624,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Table.Row other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -715,28 +660,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - valuesBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> valuesBuilder_; /** - * - * *
        * Individual cells.
        * 
@@ -751,8 +689,6 @@ public java.util.List getValuesList() { } } /** - * - * *
        * Individual cells.
        * 
@@ -767,8 +703,6 @@ public int getValuesCount() { } } /** - * - * *
        * Individual cells.
        * 
@@ -783,15 +717,14 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { } } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder setValues(int index, com.google.privacy.dlp.v2.Value value) { + public Builder setValues( + int index, com.google.privacy.dlp.v2.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,15 +738,14 @@ public Builder setValues(int index, com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder setValues(int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setValues( + int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); @@ -824,8 +756,6 @@ public Builder setValues(int index, com.google.privacy.dlp.v2.Value.Builder buil return this; } /** - * - * *
        * Individual cells.
        * 
@@ -846,15 +776,14 @@ public Builder addValues(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder addValues(int index, com.google.privacy.dlp.v2.Value value) { + public Builder addValues( + int index, com.google.privacy.dlp.v2.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -868,15 +797,14 @@ public Builder addValues(int index, com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder addValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addValues( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -887,15 +815,14 @@ public Builder addValues(com.google.privacy.dlp.v2.Value.Builder builderForValue return this; } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder addValues(int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addValues( + int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); @@ -906,8 +833,6 @@ public Builder addValues(int index, com.google.privacy.dlp.v2.Value.Builder buil return this; } /** - * - * *
        * Individual cells.
        * 
@@ -918,7 +843,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -926,8 +852,6 @@ public Builder addAllValues( return this; } /** - * - * *
        * Individual cells.
        * 
@@ -945,8 +869,6 @@ public Builder clearValues() { return this; } /** - * - * *
        * Individual cells.
        * 
@@ -964,44 +886,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder getValuesBuilder(int index) { + public com.google.privacy.dlp.v2.Value.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -1009,8 +926,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { } } /** - * - * *
        * Individual cells.
        * 
@@ -1018,52 +933,46 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { * repeated .google.privacy.dlp.v2.Value values = 1; */ public com.google.privacy.dlp.v2.Value.Builder addValuesBuilder() { - return getValuesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); + public com.google.privacy.dlp.v2.Value.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** - * - * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public java.util.List getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1076,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Table.Row) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Table.Row) private static final com.google.privacy.dlp.v2.Table.Row DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Table.Row(); } @@ -1090,16 +999,16 @@ public static com.google.privacy.dlp.v2.Table.Row getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Row parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Row(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1114,13 +1023,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Table.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int HEADERS_FIELD_NUMBER = 1; private java.util.List headers_; /** - * - * *
    * Headers of the table.
    * 
@@ -1132,8 +1040,6 @@ public java.util.List getHeadersList() { return headers_; } /** - * - * *
    * Headers of the table.
    * 
@@ -1141,13 +1047,11 @@ public java.util.List getHeadersList() { * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getHeadersOrBuilderList() { return headers_; } /** - * - * *
    * Headers of the table.
    * 
@@ -1159,8 +1063,6 @@ public int getHeadersCount() { return headers_.size(); } /** - * - * *
    * Headers of the table.
    * 
@@ -1172,8 +1074,6 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { return headers_.get(index); } /** - * - * *
    * Headers of the table.
    * 
@@ -1181,15 +1081,14 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( + int index) { return headers_.get(index); } public static final int ROWS_FIELD_NUMBER = 2; private java.util.List rows_; /** - * - * *
    * Rows of the table.
    * 
@@ -1201,8 +1100,6 @@ public java.util.List getRowsList() { return rows_; } /** - * - * *
    * Rows of the table.
    * 
@@ -1210,13 +1107,11 @@ public java.util.List getRowsList() { * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** - * - * *
    * Rows of the table.
    * 
@@ -1228,8 +1123,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Rows of the table.
    * 
@@ -1241,8 +1134,6 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { return rows_.get(index); } /** - * - * *
    * Rows of the table.
    * 
@@ -1250,12 +1141,12 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( + int index) { return rows_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1267,7 +1158,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < headers_.size(); i++) { output.writeMessage(1, headers_.get(i)); } @@ -1284,10 +1176,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < headers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, headers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, headers_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, rows_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1297,15 +1191,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.privacy.dlp.v2.Table)) { return super.equals(obj); } com.google.privacy.dlp.v2.Table other = (com.google.privacy.dlp.v2.Table) obj; - if (!getHeadersList().equals(other.getHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; + if (!getHeadersList() + .equals(other.getHeadersList())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1330,103 +1226,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Table parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Table parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Table parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Table parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Table parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Table parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Table parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Table parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table 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.privacy.dlp.v2.Table parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Table parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Table prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
    * https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
@@ -1435,20 +1325,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Table}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Table)
       com.google.privacy.dlp.v2.TableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Table_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Table.class, com.google.privacy.dlp.v2.Table.Builder.class);
     }
@@ -1458,18 +1347,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getHeadersFieldBuilder();
         getRowsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1489,9 +1378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Table_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_descriptor;
     }
 
     @java.lang.Override
@@ -1538,39 +1427,38 @@ public com.google.privacy.dlp.v2.Table buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Table) {
-        return mergeFrom((com.google.privacy.dlp.v2.Table) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Table)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1597,10 +1485,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Table other) {
             headersBuilder_ = null;
             headers_ = other.headers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            headersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getHeadersFieldBuilder()
-                    : null;
+            headersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getHeadersFieldBuilder() : null;
           } else {
             headersBuilder_.addAllMessages(other.headers_);
           }
@@ -1624,10 +1511,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Table other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rowsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRowsFieldBuilder()
-                    : null;
+            rowsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRowsFieldBuilder() : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -1661,28 +1547,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List headers_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureHeadersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         headers_ = new java.util.ArrayList(headers_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
-        headersBuilder_;
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> headersBuilder_;
 
     /**
-     *
-     *
      * 
      * Headers of the table.
      * 
@@ -1697,8 +1576,6 @@ public java.util.List getHeadersList() { } } /** - * - * *
      * Headers of the table.
      * 
@@ -1713,8 +1590,6 @@ public int getHeadersCount() { } } /** - * - * *
      * Headers of the table.
      * 
@@ -1729,15 +1604,14 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { } } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public Builder setHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder setHeaders( + int index, com.google.privacy.dlp.v2.FieldId value) { if (headersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1751,8 +1625,6 @@ public Builder setHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1771,8 +1643,6 @@ public Builder setHeaders( return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1793,15 +1663,14 @@ public Builder addHeaders(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public Builder addHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder addHeaders( + int index, com.google.privacy.dlp.v2.FieldId value) { if (headersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1815,15 +1684,14 @@ public Builder addHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public Builder addHeaders(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addHeaders( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (headersBuilder_ == null) { ensureHeadersIsMutable(); headers_.add(builderForValue.build()); @@ -1834,8 +1702,6 @@ public Builder addHeaders(com.google.privacy.dlp.v2.FieldId.Builder builderForVa return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1854,8 +1720,6 @@ public Builder addHeaders( return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1866,7 +1730,8 @@ public Builder addAllHeaders( java.lang.Iterable values) { if (headersBuilder_ == null) { ensureHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, headers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, headers_); onChanged(); } else { headersBuilder_.addAllMessages(values); @@ -1874,8 +1739,6 @@ public Builder addAllHeaders( return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1893,8 +1756,6 @@ public Builder clearHeaders() { return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1912,44 +1773,39 @@ public Builder removeHeaders(int index) { return this; } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public com.google.privacy.dlp.v2.FieldId.Builder getHeadersBuilder(int index) { + public com.google.privacy.dlp.v2.FieldId.Builder getHeadersBuilder( + int index) { return getHeadersFieldBuilder().getBuilder(index); } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( + int index) { if (headersBuilder_ == null) { - return headers_.get(index); - } else { + return headers_.get(index); } else { return headersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public java.util.List - getHeadersOrBuilderList() { + public java.util.List + getHeadersOrBuilderList() { if (headersBuilder_ != null) { return headersBuilder_.getMessageOrBuilderList(); } else { @@ -1957,8 +1813,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) } } /** - * - * *
      * Headers of the table.
      * 
@@ -1966,71 +1820,60 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder addHeadersBuilder() { - return getHeadersFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + return getHeadersFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public com.google.privacy.dlp.v2.FieldId.Builder addHeadersBuilder(int index) { - return getHeadersFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + public com.google.privacy.dlp.v2.FieldId.Builder addHeadersBuilder( + int index) { + return getHeadersFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** - * - * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public java.util.List getHeadersBuilderList() { + public java.util.List + getHeadersBuilderList() { return getHeadersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getHeadersFieldBuilder() { if (headersBuilder_ == null) { - headersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - headers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + headers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); headers_ = null; } return headersBuilder_; } private java.util.List rows_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Table.Row, - com.google.privacy.dlp.v2.Table.Row.Builder, - com.google.privacy.dlp.v2.Table.RowOrBuilder> - rowsBuilder_; + com.google.privacy.dlp.v2.Table.Row, com.google.privacy.dlp.v2.Table.Row.Builder, com.google.privacy.dlp.v2.Table.RowOrBuilder> rowsBuilder_; /** - * - * *
      * Rows of the table.
      * 
@@ -2045,8 +1888,6 @@ public java.util.List getRowsList() { } } /** - * - * *
      * Rows of the table.
      * 
@@ -2061,8 +1902,6 @@ public int getRowsCount() { } } /** - * - * *
      * Rows of the table.
      * 
@@ -2077,15 +1916,14 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { } } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row value) { + public Builder setRows( + int index, com.google.privacy.dlp.v2.Table.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2099,15 +1937,14 @@ public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row value) { return this; } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { + public Builder setRows( + int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.set(index, builderForValue.build()); @@ -2118,8 +1955,6 @@ public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder bu return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2140,15 +1975,14 @@ public Builder addRows(com.google.privacy.dlp.v2.Table.Row value) { return this; } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row value) { + public Builder addRows( + int index, com.google.privacy.dlp.v2.Table.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2162,15 +1996,14 @@ public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row value) { return this; } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder addRows(com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { + public Builder addRows( + com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -2181,15 +2014,14 @@ public Builder addRows(com.google.privacy.dlp.v2.Table.Row.Builder builderForVal return this; } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { + public Builder addRows( + int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(index, builderForValue.build()); @@ -2200,8 +2032,6 @@ public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder bu return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2212,7 +2042,8 @@ 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); @@ -2220,8 +2051,6 @@ public Builder addAllRows( return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2239,8 +2068,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2258,44 +2085,39 @@ public Builder removeRows(int index) { return this; } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public com.google.privacy.dlp.v2.Table.Row.Builder getRowsBuilder(int index) { + public com.google.privacy.dlp.v2.Table.Row.Builder getRowsBuilder( + int index) { return getRowsFieldBuilder().getBuilder(index); } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( + int index) { if (rowsBuilder_ == null) { - return rows_.get(index); - } else { + return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2303,8 +2125,6 @@ public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) } } /** - * - * *
      * Rows of the table.
      * 
@@ -2312,54 +2132,49 @@ public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ public com.google.privacy.dlp.v2.Table.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public com.google.privacy.dlp.v2.Table.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); + public com.google.privacy.dlp.v2.Table.Row.Builder addRowsBuilder( + int index) { + return getRowsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); } /** - * - * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public java.util.List getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Table.Row, - com.google.privacy.dlp.v2.Table.Row.Builder, - com.google.privacy.dlp.v2.Table.RowOrBuilder> + com.google.privacy.dlp.v2.Table.Row, com.google.privacy.dlp.v2.Table.Row.Builder, com.google.privacy.dlp.v2.Table.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Table.Row, - com.google.privacy.dlp.v2.Table.Row.Builder, - com.google.privacy.dlp.v2.Table.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Table.Row, com.google.privacy.dlp.v2.Table.Row.Builder, com.google.privacy.dlp.v2.Table.RowOrBuilder>( + rows_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); rows_ = null; } return rowsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2369,12 +2184,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Table) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Table) private static final com.google.privacy.dlp.v2.Table DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Table(); } @@ -2383,16 +2198,16 @@ public static com.google.privacy.dlp.v2.Table getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Table parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Table(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Table parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Table(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -2407,4 +2222,6 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.privacy.dlp.v2.Table getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java index 5e1aacbc..557c35e2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Location of a finding within a table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TableLocation} */ -public final class TableLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TableLocation) TableLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableLocation.newBuilder() to construct. private TableLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TableLocation() {} + private TableLocation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,50 +52,46 @@ private TableLocation( case 0: done = true; break; - case 8: - { - rowIndex_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + rowIndex_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableLocation.class, - com.google.privacy.dlp.v2.TableLocation.Builder.class); + com.google.privacy.dlp.v2.TableLocation.class, com.google.privacy.dlp.v2.TableLocation.Builder.class); } public static final int ROW_INDEX_FIELD_NUMBER = 1; private long rowIndex_; /** - * - * *
    * The zero-based index of the row where the finding is located. Only
    * populated for resources that have a natural ordering, not BigQuery. In
@@ -122,7 +102,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 row_index = 1; - * * @return The rowIndex. */ @java.lang.Override @@ -131,7 +110,6 @@ public long getRowIndex() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowIndex_ != 0L) { output.writeInt64(1, rowIndex_); } @@ -157,7 +136,8 @@ public int getSerializedSize() { size = 0; if (rowIndex_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, rowIndex_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -167,14 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.TableLocation)) { return super.equals(obj); } com.google.privacy.dlp.v2.TableLocation other = (com.google.privacy.dlp.v2.TableLocation) obj; - if (getRowIndex() != other.getRowIndex()) return false; + if (getRowIndex() + != other.getRowIndex()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -187,133 +168,125 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowIndex()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowIndex()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.TableLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TableLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TableLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TableLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TableLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TableLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Location of a finding within a table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TableLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TableLocation) com.google.privacy.dlp.v2.TableLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableLocation.class, - com.google.privacy.dlp.v2.TableLocation.Builder.class); + com.google.privacy.dlp.v2.TableLocation.class, com.google.privacy.dlp.v2.TableLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.TableLocation.newBuilder() @@ -321,15 +294,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_descriptor; } @java.lang.Override @@ -360,8 +334,7 @@ public com.google.privacy.dlp.v2.TableLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.TableLocation buildPartial() { - com.google.privacy.dlp.v2.TableLocation result = - new com.google.privacy.dlp.v2.TableLocation(this); + com.google.privacy.dlp.v2.TableLocation result = new com.google.privacy.dlp.v2.TableLocation(this); result.rowIndex_ = rowIndex_; onBuilt(); return result; @@ -371,39 +344,38 @@ public com.google.privacy.dlp.v2.TableLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TableLocation) { - return mergeFrom((com.google.privacy.dlp.v2.TableLocation) other); + return mergeFrom((com.google.privacy.dlp.v2.TableLocation)other); } else { super.mergeFrom(other); return this; @@ -444,10 +416,8 @@ public Builder mergeFrom( return this; } - private long rowIndex_; + private long rowIndex_ ; /** - * - * *
      * The zero-based index of the row where the finding is located. Only
      * populated for resources that have a natural ordering, not BigQuery. In
@@ -458,7 +428,6 @@ public Builder mergeFrom(
      * 
* * int64 row_index = 1; - * * @return The rowIndex. */ @java.lang.Override @@ -466,8 +435,6 @@ public long getRowIndex() { return rowIndex_; } /** - * - * *
      * The zero-based index of the row where the finding is located. Only
      * populated for resources that have a natural ordering, not BigQuery. In
@@ -478,19 +445,16 @@ public long getRowIndex() {
      * 
* * int64 row_index = 1; - * * @param value The rowIndex to set. * @return This builder for chaining. */ public Builder setRowIndex(long value) { - + rowIndex_ = value; onChanged(); return this; } /** - * - * *
      * The zero-based index of the row where the finding is located. Only
      * populated for resources that have a natural ordering, not BigQuery. In
@@ -501,18 +465,17 @@ public Builder setRowIndex(long value) {
      * 
* * int64 row_index = 1; - * * @return This builder for chaining. */ public Builder clearRowIndex() { - + rowIndex_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TableLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableLocation) private static final com.google.privacy.dlp.v2.TableLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TableLocation(); } @@ -536,16 +499,16 @@ public static com.google.privacy.dlp.v2.TableLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TableLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TableLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -560,4 +523,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TableLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java similarity index 54% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java index 1368fa25..c823d019 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TableLocationOrBuilder - extends +public interface TableLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The zero-based index of the row where the finding is located. Only
    * populated for resources that have a natural ordering, not BigQuery. In
@@ -36,7 +18,6 @@ public interface TableLocationOrBuilder
    * 
* * int64 row_index = 1; - * * @return The rowIndex. */ long getRowIndex(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java similarity index 78% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java index 3a656e15..6bcaed64 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Instructions regarding the table content being inspected.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TableOptions} */ -public final class TableOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TableOptions) TableOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableOptions.newBuilder() to construct. private TableOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableOptions() { identifyingFields_ = 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 TableOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,29 +54,29 @@ private TableOptions( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - identifyingFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identifyingFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + identifyingFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { identifyingFields_ = java.util.Collections.unmodifiableList(identifyingFields_); @@ -102,27 +85,22 @@ private TableOptions( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableOptions.class, - com.google.privacy.dlp.v2.TableOptions.Builder.class); + com.google.privacy.dlp.v2.TableOptions.class, com.google.privacy.dlp.v2.TableOptions.Builder.class); } public static final int IDENTIFYING_FIELDS_FIELD_NUMBER = 1; private java.util.List identifyingFields_; /** - * - * *
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -137,8 +115,6 @@ public java.util.List getIdentifyingFieldsLis
     return identifyingFields_;
   }
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -149,13 +125,11 @@ public java.util.List getIdentifyingFieldsLis
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getIdentifyingFieldsOrBuilderList() {
     return identifyingFields_;
   }
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -170,8 +144,6 @@ public int getIdentifyingFieldsCount() {
     return identifyingFields_.size();
   }
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -186,8 +158,6 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
     return identifyingFields_.get(index);
   }
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -198,12 +168,12 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
+  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
+      int index) {
     return identifyingFields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,7 +185,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < identifyingFields_.size(); i++) {
       output.writeMessage(1, identifyingFields_.get(i));
     }
@@ -229,8 +200,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < identifyingFields_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, identifyingFields_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, identifyingFields_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -240,14 +211,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.TableOptions)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.TableOptions other = (com.google.privacy.dlp.v2.TableOptions) obj;
 
-    if (!getIdentifyingFieldsList().equals(other.getIdentifyingFieldsList())) return false;
+    if (!getIdentifyingFieldsList()
+        .equals(other.getIdentifyingFieldsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -268,127 +240,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.TableOptions parseFrom(java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.TableOptions parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions 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.privacy.dlp.v2.TableOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.privacy.dlp.v2.TableOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Instructions regarding the table content being inspected.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TableOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TableOptions) com.google.privacy.dlp.v2.TableOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableOptions.class, - com.google.privacy.dlp.v2.TableOptions.Builder.class); + com.google.privacy.dlp.v2.TableOptions.class, com.google.privacy.dlp.v2.TableOptions.Builder.class); } // Construct using com.google.privacy.dlp.v2.TableOptions.newBuilder() @@ -396,17 +359,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIdentifyingFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage - .internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_descriptor; } @java.lang.Override @@ -441,8 +404,7 @@ public com.google.privacy.dlp.v2.TableOptions build() { @java.lang.Override public com.google.privacy.dlp.v2.TableOptions buildPartial() { - com.google.privacy.dlp.v2.TableOptions result = - new com.google.privacy.dlp.v2.TableOptions(this); + com.google.privacy.dlp.v2.TableOptions result = new com.google.privacy.dlp.v2.TableOptions(this); int from_bitField0_ = bitField0_; if (identifyingFieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -461,39 +423,38 @@ public com.google.privacy.dlp.v2.TableOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TableOptions) { - return mergeFrom((com.google.privacy.dlp.v2.TableOptions) other); + return mergeFrom((com.google.privacy.dlp.v2.TableOptions)other); } else { super.mergeFrom(other); return this; @@ -520,10 +481,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableOptions other) { identifyingFieldsBuilder_ = null; identifyingFields_ = other.identifyingFields_; bitField0_ = (bitField0_ & ~0x00000001); - identifyingFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIdentifyingFieldsFieldBuilder() - : null; + identifyingFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIdentifyingFieldsFieldBuilder() : null; } else { identifyingFieldsBuilder_.addAllMessages(other.identifyingFields_); } @@ -557,29 +517,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List identifyingFields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIdentifyingFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = - new java.util.ArrayList(identifyingFields_); + identifyingFields_ = new java.util.ArrayList(identifyingFields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - identifyingFieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> identifyingFieldsBuilder_; /** - * - * *
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -597,8 +549,6 @@ public java.util.List getIdentifyingFieldsLis
       }
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -616,8 +566,6 @@ public int getIdentifyingFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -635,8 +583,6 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -646,7 +592,8 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public Builder setIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder setIdentifyingFields(
+        int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -660,8 +607,6 @@ public Builder setIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -683,8 +628,6 @@ public Builder setIdentifyingFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -708,8 +651,6 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -719,7 +660,8 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder addIdentifyingFields(
+        int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -733,8 +675,6 @@ public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -744,7 +684,8 @@ public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder addIdentifyingFields(
+        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
         identifyingFields_.add(builderForValue.build());
@@ -755,8 +696,6 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -778,8 +717,6 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -793,7 +730,8 @@ public Builder addAllIdentifyingFields(
         java.lang.Iterable values) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identifyingFields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, identifyingFields_);
         onChanged();
       } else {
         identifyingFieldsBuilder_.addAllMessages(values);
@@ -801,8 +739,6 @@ public Builder addAllIdentifyingFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -823,8 +759,6 @@ public Builder clearIdentifyingFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -845,8 +779,6 @@ public Builder removeIdentifyingFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -856,12 +788,11 @@ public Builder removeIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(
+        int index) {
       return getIdentifyingFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -871,16 +802,14 @@ public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(int
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
+        int index) {
       if (identifyingFieldsBuilder_ == null) {
-        return identifyingFields_.get(index);
-      } else {
+        return identifyingFields_.get(index);  } else {
         return identifyingFieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -890,8 +819,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public java.util.List
-        getIdentifyingFieldsOrBuilderList() {
+    public java.util.List 
+         getIdentifyingFieldsOrBuilderList() {
       if (identifyingFieldsBuilder_ != null) {
         return identifyingFieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -899,8 +828,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -911,12 +838,10 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
-      return getIdentifyingFieldsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      return getIdentifyingFieldsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -926,13 +851,12 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int index) {
-      return getIdentifyingFieldsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
+        int index) {
+      return getIdentifyingFieldsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -942,22 +866,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public java.util.List
-        getIdentifyingFieldsBuilderList() {
+    public java.util.List 
+         getIdentifyingFieldsBuilderList() {
       return getIdentifyingFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId,
-            com.google.privacy.dlp.v2.FieldId.Builder,
-            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
         getIdentifyingFieldsFieldBuilder() {
       if (identifyingFieldsBuilder_ == null) {
-        identifyingFieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldId,
-                com.google.privacy.dlp.v2.FieldId.Builder,
-                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+        identifyingFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
                 identifyingFields_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -966,9 +884,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
       }
       return identifyingFieldsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -978,12 +896,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TableOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableOptions)
   private static final com.google.privacy.dlp.v2.TableOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TableOptions();
   }
@@ -992,16 +910,16 @@ public static com.google.privacy.dlp.v2.TableOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TableOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TableOptions(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TableOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TableOptions(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1016,4 +934,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.TableOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
similarity index 75%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
index 7717727e..0c70d736 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface TableOptionsOrBuilder
-    extends
+public interface TableOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -35,10 +17,9 @@ public interface TableOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
-  java.util.List getIdentifyingFieldsList();
+  java.util.List 
+      getIdentifyingFieldsList();
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -50,8 +31,6 @@ public interface TableOptionsOrBuilder
    */
   com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index);
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -63,8 +42,6 @@ public interface TableOptionsOrBuilder
    */
   int getIdentifyingFieldsCount();
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -74,11 +51,9 @@ public interface TableOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
-  java.util.List
+  java.util.List 
       getIdentifyingFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -88,5 +63,6 @@ public interface TableOptionsOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
-  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index);
+  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
similarity index 67%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
index 8490769d..5608646c 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface TableOrBuilder
-    extends
+public interface TableOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Table)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Headers of the table.
    * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - java.util.List getHeadersList(); + java.util.List + getHeadersList(); /** - * - * *
    * Headers of the table.
    * 
@@ -44,8 +25,6 @@ public interface TableOrBuilder */ com.google.privacy.dlp.v2.FieldId getHeaders(int index); /** - * - * *
    * Headers of the table.
    * 
@@ -54,39 +33,34 @@ public interface TableOrBuilder */ int getHeadersCount(); /** - * - * *
    * Headers of the table.
    * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - java.util.List getHeadersOrBuilderList(); + java.util.List + getHeadersOrBuilderList(); /** - * - * *
    * Headers of the table.
    * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index); + com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( + int index); /** - * - * *
    * Rows of the table.
    * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - java.util.List getRowsList(); + java.util.List + getRowsList(); /** - * - * *
    * Rows of the table.
    * 
@@ -95,8 +69,6 @@ public interface TableOrBuilder */ com.google.privacy.dlp.v2.Table.Row getRows(int index); /** - * - * *
    * Rows of the table.
    * 
@@ -105,23 +77,21 @@ public interface TableOrBuilder */ int getRowsCount(); /** - * - * *
    * Rows of the table.
    * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - java.util.List getRowsOrBuilderList(); + java.util.List + getRowsOrBuilderList(); /** - * - * *
    * Rows of the table.
    * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index); + com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java index 9f6106a7..2bbadd8b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
  * portion of the value.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TimePartConfig}
  */
-public final class TimePartConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimePartConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TimePartConfig)
     TimePartConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimePartConfig.newBuilder() to construct.
   private TimePartConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TimePartConfig() {
     partToExtract_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimePartConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimePartConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,60 +54,54 @@ private TimePartConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              partToExtract_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            partToExtract_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TimePartConfig.class,
-            com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
+            com.google.privacy.dlp.v2.TimePartConfig.class, com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Components that make up time.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.TimePartConfig.TimePart} */ - public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { + public enum TimePart + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused
      * 
@@ -133,8 +110,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ TIME_PART_UNSPECIFIED(0), /** - * - * *
      * [0-9999]
      * 
@@ -143,8 +118,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ YEAR(1), /** - * - * *
      * [1-12]
      * 
@@ -153,8 +126,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ MONTH(2), /** - * - * *
      * [1-31]
      * 
@@ -163,8 +134,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ DAY_OF_MONTH(3), /** - * - * *
      * [1-7]
      * 
@@ -173,8 +142,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ DAY_OF_WEEK(4), /** - * - * *
      * [1-53]
      * 
@@ -183,8 +150,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ WEEK_OF_YEAR(5), /** - * - * *
      * [0-23]
      * 
@@ -196,8 +161,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused
      * 
@@ -206,8 +169,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_PART_UNSPECIFIED_VALUE = 0; /** - * - * *
      * [0-9999]
      * 
@@ -216,8 +177,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YEAR_VALUE = 1; /** - * - * *
      * [1-12]
      * 
@@ -226,8 +185,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MONTH_VALUE = 2; /** - * - * *
      * [1-31]
      * 
@@ -236,8 +193,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DAY_OF_MONTH_VALUE = 3; /** - * - * *
      * [1-7]
      * 
@@ -246,8 +201,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DAY_OF_WEEK_VALUE = 4; /** - * - * *
      * [1-53]
      * 
@@ -256,8 +209,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WEEK_OF_YEAR_VALUE = 5; /** - * - * *
      * [0-23]
      * 
@@ -266,6 +217,7 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HOUR_OF_DAY_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -290,57 +242,53 @@ public static TimePart valueOf(int value) { */ public static TimePart forNumber(int value) { switch (value) { - case 0: - return TIME_PART_UNSPECIFIED; - case 1: - return YEAR; - case 2: - return MONTH; - case 3: - return DAY_OF_MONTH; - case 4: - return DAY_OF_WEEK; - case 5: - return WEEK_OF_YEAR; - case 6: - return HOUR_OF_DAY; - default: - return null; + case 0: return TIME_PART_UNSPECIFIED; + case 1: return YEAR; + case 2: return MONTH; + case 3: return DAY_OF_MONTH; + case 4: return DAY_OF_WEEK; + case 5: return WEEK_OF_YEAR; + case 6: return HOUR_OF_DAY; + 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< + TimePart> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TimePart findValueByNumber(int number) { + return TimePart.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimePart findValueByNumber(int number) { - return TimePart.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.TimePartConfig.getDescriptor().getEnumTypes().get(0); } private static final TimePart[] VALUES = values(); - public static TimePart valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TimePart 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; @@ -360,41 +308,31 @@ private TimePart(int value) { public static final int PART_TO_EXTRACT_FIELD_NUMBER = 1; private int partToExtract_; /** - * - * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return The enum numeric value on the wire for partToExtract. */ - @java.lang.Override - public int getPartToExtractValue() { + @java.lang.Override public int getPartToExtractValue() { return partToExtract_; } /** - * - * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return The partToExtract. */ - @java.lang.Override - public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() { + @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TimePartConfig.TimePart result = - com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); + com.google.privacy.dlp.v2.TimePartConfig.TimePart result = com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); return result == null ? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,9 +344,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (partToExtract_ - != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (partToExtract_ != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { output.writeEnum(1, partToExtract_); } unknownFields.writeTo(output); @@ -420,9 +358,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (partToExtract_ - != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, partToExtract_); + if (partToExtract_ != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, partToExtract_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -432,7 +370,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.privacy.dlp.v2.TimePartConfig)) { return super.equals(obj); @@ -458,104 +396,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TimePartConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TimePartConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TimePartConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TimePartConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
    * portion of the value.
@@ -563,23 +494,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.TimePartConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TimePartConfig)
       com.google.privacy.dlp.v2.TimePartConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TimePartConfig.class,
-              com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
+              com.google.privacy.dlp.v2.TimePartConfig.class, com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TimePartConfig.newBuilder()
@@ -587,15 +516,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -605,9 +535,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
     }
 
     @java.lang.Override
@@ -626,8 +556,7 @@ public com.google.privacy.dlp.v2.TimePartConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TimePartConfig buildPartial() {
-      com.google.privacy.dlp.v2.TimePartConfig result =
-          new com.google.privacy.dlp.v2.TimePartConfig(this);
+      com.google.privacy.dlp.v2.TimePartConfig result = new com.google.privacy.dlp.v2.TimePartConfig(this);
       result.partToExtract_ = partToExtract_;
       onBuilt();
       return result;
@@ -637,39 +566,38 @@ public com.google.privacy.dlp.v2.TimePartConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TimePartConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.TimePartConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.TimePartConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -712,67 +640,51 @@ public Builder mergeFrom(
 
     private int partToExtract_ = 0;
     /**
-     *
-     *
      * 
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return The enum numeric value on the wire for partToExtract. */ - @java.lang.Override - public int getPartToExtractValue() { + @java.lang.Override public int getPartToExtractValue() { return partToExtract_; } /** - * - * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @param value The enum numeric value on the wire for partToExtract to set. * @return This builder for chaining. */ public Builder setPartToExtractValue(int value) { - + partToExtract_ = value; onChanged(); return this; } /** - * - * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return The partToExtract. */ @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TimePartConfig.TimePart result = - com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); - return result == null - ? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.TimePartConfig.TimePart result = com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); + return result == null ? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED : result; } /** - * - * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @param value The partToExtract to set. * @return This builder for chaining. */ @@ -780,31 +692,28 @@ public Builder setPartToExtract(com.google.privacy.dlp.v2.TimePartConfig.TimePar if (value == null) { throw new NullPointerException(); } - + partToExtract_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return This builder for chaining. */ public Builder clearPartToExtract() { - + partToExtract_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -814,12 +723,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TimePartConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TimePartConfig) private static final com.google.privacy.dlp.v2.TimePartConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TimePartConfig(); } @@ -828,16 +737,16 @@ public static com.google.privacy.dlp.v2.TimePartConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimePartConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimePartConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimePartConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimePartConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,4 +761,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TimePartConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java index d846cc71..e42fb6dd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TimePartConfigOrBuilder - extends +public interface TimePartConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TimePartConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return The enum numeric value on the wire for partToExtract. */ int getPartToExtractValue(); /** - * - * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; - * * @return The partToExtract. */ com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java similarity index 61% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java index 47e3672d..99dcdc29 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * How to handle transformation errors during de-identification. A
  * transformation error occurs when the requested transformation is incompatible
@@ -34,29 +17,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling}
  */
-public final class TransformationErrorHandling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransformationErrorHandling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationErrorHandling)
     TransformationErrorHandlingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransformationErrorHandling.newBuilder() to construct.
   private TransformationErrorHandling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransformationErrorHandling() {}
+  private TransformationErrorHandling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransformationErrorHandling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TransformationErrorHandling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,121 +59,101 @@ private TransformationErrorHandling(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder subBuilder =
-                  null;
-              if (modeCase_ == 1) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_)
-                        .toBuilder();
-              }
-              mode_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_);
-                mode_ = subBuilder.buildPartial();
-              }
-              modeCase_ = 1;
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder subBuilder = null;
+            if (modeCase_ == 1) {
+              subBuilder = ((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_).toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder
-                  subBuilder = null;
-              if (modeCase_ == 2) {
-                subBuilder =
-                    ((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
-                            mode_)
-                        .toBuilder();
-              }
-              mode_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
-                        mode_);
-                mode_ = subBuilder.buildPartial();
-              }
-              modeCase_ = 2;
-              break;
+            mode_ =
+                input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_);
+              mode_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            modeCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder subBuilder = null;
+            if (modeCase_ == 2) {
+              subBuilder = ((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_).toBuilder();
+            }
+            mode_ =
+                input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_);
+              mode_ = subBuilder.buildPartial();
+            }
+            modeCase_ = 2;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationErrorHandling.class,
-            com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
+            com.google.privacy.dlp.v2.TransformationErrorHandling.class, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
   }
 
-  public interface ThrowErrorOrBuilder
-      extends
+  public interface ThrowErrorOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Throw an error and fail the request when a transformation error occurs.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.ThrowError} */ - public static final class ThrowError extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ThrowError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) ThrowErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThrowError.newBuilder() to construct. private ThrowError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ThrowError() {} + private ThrowError() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ThrowError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ThrowError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -208,42 +172,39 @@ private ThrowError( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -273,13 +235,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other = - (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) obj; + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other = (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -298,95 +259,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -396,49 +349,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Throw an error and fail the request when a transformation error occurs.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.ThrowError} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder() + // Construct using com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - .getDefaultInstance(); + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } @java.lang.Override @@ -469,8 +415,7 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError build() @java.lang.Override public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError buildPartial() { - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError result = - new com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError(this); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError result = new com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError(this); onBuilt(); return result; } @@ -479,53 +424,46 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) { - return mergeFrom( - (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) other); + return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other) { - if (other - == com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other) { + if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -545,9 +483,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,7 +492,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -569,32 +504,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) - private static final com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError(); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - getDefaultInstance() { + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrowError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ThrowError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrowError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ThrowError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -606,19 +539,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LeaveUntransformedOrBuilder - extends + public interface LeaveUntransformedOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Skips the data without modifying it if the requested transformation would
    * cause an error. For example, if a `DateShift` transformation were applied
@@ -628,29 +559,30 @@ public interface LeaveUntransformedOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed}
    */
-  public static final class LeaveUntransformed extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class LeaveUntransformed extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
       LeaveUntransformedOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use LeaveUntransformed.newBuilder() to construct.
     private LeaveUntransformed(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private LeaveUntransformed() {}
+    private LeaveUntransformed() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new LeaveUntransformed();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private LeaveUntransformed(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -669,43 +601,39 @@ private LeaveUntransformed(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class,
-              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder
-                  .class);
+              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -717,7 +645,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -735,14 +664,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)) {
+      if (!(obj instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other =
-          (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) obj;
+      com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other = (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -760,101 +687,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed 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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed 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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed prototype) {
+    public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -864,8 +778,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Skips the data without modifying it if the requested transformation would
      * cause an error. For example, if a `DateShift` transformation were applied
@@ -875,42 +787,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
         com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class,
-                com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder
-                    .class);
+                com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder.class);
       }
 
-      // Construct using
-      // com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder()
+      // Construct using com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -918,22 +826,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-          getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-            .getDefaultInstance();
+      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed build() {
-        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result =
-            buildPartial();
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -941,10 +846,8 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-          buildPartial() {
-        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result =
-            new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed(this);
+      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed buildPartial() {
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result = new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed(this);
         onBuilt();
         return result;
       }
@@ -953,54 +856,46 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) {
-          return mergeFrom(
-              (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) other);
+        if (other instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) {
+          return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other) {
-        if (other
-            == com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other) {
+        if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -1016,14 +911,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parsedMessage =
-            null;
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1032,7 +924,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1045,33 +936,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
-    private static final com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        DEFAULT_INSTANCE;
-
+    private static final com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed();
+      DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed();
     }
 
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public LeaveUntransformed parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new LeaveUntransformed(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public LeaveUntransformed parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new LeaveUntransformed(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1083,24 +971,21 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
-        getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
-
   public enum ModeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     THROW_ERROR(1),
     LEAVE_UNTRANSFORMED(2),
     MODE_NOT_SET(0);
     private final int value;
-
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1116,36 +1001,30 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return THROW_ERROR;
-        case 2:
-          return LEAVE_UNTRANSFORMED;
-        case 0:
-          return MODE_NOT_SET;
-        default:
-          return null;
+        case 1: return THROW_ERROR;
+        case 2: return LEAVE_UNTRANSFORMED;
+        case 0: return MODE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase getModeCase() {
-    return ModeCase.forNumber(modeCase_);
+  public ModeCase
+  getModeCase() {
+    return ModeCase.forNumber(
+        modeCase_);
   }
 
   public static final int THROW_ERROR_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; - * * @return Whether the throwError field is set. */ @java.lang.Override @@ -1153,26 +1032,21 @@ public boolean hasThrowError() { return modeCase_ == 1; } /** - * - * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; - * * @return The throwError. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError() { if (modeCase_ == 1) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } /** - * - * *
    * Throw an error
    * 
@@ -1180,26 +1054,20 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrow * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder - getThrowErrorOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder() { if (modeCase_ == 1) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } public static final int LEAVE_UNTRANSFORMED_FIELD_NUMBER = 2; /** - * - * *
    * Ignore errors
    * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; * @return Whether the leaveUntransformed field is set. */ @java.lang.Override @@ -1207,50 +1075,36 @@ public boolean hasLeaveUntransformed() { return modeCase_ == 2; } /** - * - * *
    * Ignore errors
    * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; * @return The leaveUntransformed. */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - getLeaveUntransformed() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed() { if (modeCase_ == 2) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); } /** - * - * *
    * Ignore errors
    * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder - getLeaveUntransformedOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder() { if (modeCase_ == 2) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1262,14 +1116,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 1) { - output.writeMessage( - 1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); + output.writeMessage(1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); } if (modeCase_ == 2) { - output.writeMessage( - 2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); + output.writeMessage(2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); } unknownFields.writeTo(output); } @@ -1281,14 +1134,12 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); } if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1298,21 +1149,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.privacy.dlp.v2.TransformationErrorHandling)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationErrorHandling other = - (com.google.privacy.dlp.v2.TransformationErrorHandling) obj; + com.google.privacy.dlp.v2.TransformationErrorHandling other = (com.google.privacy.dlp.v2.TransformationErrorHandling) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (!getThrowError().equals(other.getThrowError())) return false; + if (!getThrowError() + .equals(other.getThrowError())) return false; break; case 2: - if (!getLeaveUntransformed().equals(other.getLeaveUntransformed())) return false; + if (!getLeaveUntransformed() + .equals(other.getLeaveUntransformed())) return false; break; case 0: default: @@ -1346,104 +1198,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.TransformationErrorHandling prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationErrorHandling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * How to handle transformation errors during de-identification. A
    * transformation error occurs when the requested transformation is incompatible
@@ -1457,23 +1301,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationErrorHandling)
       com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationErrorHandling.class,
-              com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
+              com.google.privacy.dlp.v2.TransformationErrorHandling.class, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationErrorHandling.newBuilder()
@@ -1481,15 +1323,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1499,9 +1342,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
     }
 
     @java.lang.Override
@@ -1520,8 +1363,7 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationErrorHandling buildPartial() {
-      com.google.privacy.dlp.v2.TransformationErrorHandling result =
-          new com.google.privacy.dlp.v2.TransformationErrorHandling(this);
+      com.google.privacy.dlp.v2.TransformationErrorHandling result = new com.google.privacy.dlp.v2.TransformationErrorHandling(this);
       if (modeCase_ == 1) {
         if (throwErrorBuilder_ == null) {
           result.mode_ = mode_;
@@ -1545,39 +1387,38 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationErrorHandling) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling) other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1585,23 +1426,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationErrorHandling other) {
-      if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance()) return this;
       switch (other.getModeCase()) {
-        case THROW_ERROR:
-          {
-            mergeThrowError(other.getThrowError());
-            break;
-          }
-        case LEAVE_UNTRANSFORMED:
-          {
-            mergeLeaveUntransformed(other.getLeaveUntransformed());
-            break;
-          }
-        case MODE_NOT_SET:
-          {
-            break;
-          }
+        case THROW_ERROR: {
+          mergeThrowError(other.getThrowError());
+          break;
+        }
+        case LEAVE_UNTRANSFORMED: {
+          mergeLeaveUntransformed(other.getLeaveUntransformed());
+          break;
+        }
+        case MODE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1622,8 +1459,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.privacy.dlp.v2.TransformationErrorHandling) e.getUnfinishedMessage();
+        parsedMessage = (com.google.privacy.dlp.v2.TransformationErrorHandling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1632,12 +1468,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-
-    public ModeCase getModeCase() {
-      return ModeCase.forNumber(modeCase_);
+    public ModeCase
+        getModeCase() {
+      return ModeCase.forNumber(
+          modeCase_);
     }
 
     public Builder clearMode() {
@@ -1647,20 +1483,15 @@ public Builder clearMode() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError,
-            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder,
-            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder>
-        throwErrorBuilder_;
+        com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder> throwErrorBuilder_;
     /**
-     *
-     *
      * 
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; - * * @return Whether the throwError field is set. */ @java.lang.Override @@ -1668,14 +1499,11 @@ public boolean hasThrowError() { return modeCase_ == 1; } /** - * - * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; - * * @return The throwError. */ @java.lang.Override @@ -1684,27 +1512,22 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrow if (modeCase_ == 1) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } else { if (modeCase_ == 1) { return throwErrorBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } } /** - * - * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - public Builder setThrowError( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { + public Builder setThrowError(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { if (throwErrorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1718,8 +1541,6 @@ public Builder setThrowError( return this; } /** - * - * *
      * Throw an error
      * 
@@ -1738,26 +1559,18 @@ public Builder setThrowError( return this; } /** - * - * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - public Builder mergeThrowError( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { + public Builder mergeThrowError(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { if (throwErrorBuilder_ == null) { - if (modeCase_ == 1 - && mode_ - != com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - .getDefaultInstance()) { - mode_ = - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder( - (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 1 && + mode_ != com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance()) { + mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -1772,8 +1585,6 @@ public Builder mergeThrowError( return this; } /** - * - * *
      * Throw an error
      * 
@@ -1797,21 +1608,16 @@ public Builder clearThrowError() { return this; } /** - * - * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder - getThrowErrorBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder getThrowErrorBuilder() { return getThrowErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Throw an error
      * 
@@ -1819,21 +1625,17 @@ public Builder clearThrowError() { * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder - getThrowErrorOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder() { if ((modeCase_ == 1) && (throwErrorBuilder_ != null)) { return throwErrorBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 1) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } } /** - * - * *
      * Throw an error
      * 
@@ -1841,47 +1643,32 @@ public Builder clearThrowError() { * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder> + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder> getThrowErrorFieldBuilder() { if (throwErrorBuilder_ == null) { if (!(modeCase_ == 1)) { - mode_ = - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); + mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } - throwErrorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder>( + throwErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder>( (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 1; - onChanged(); - ; + onChanged();; return throwErrorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> - leaveUntransformedBuilder_; + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> leaveUntransformedBuilder_; /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; * @return Whether the leaveUntransformed field is set. */ @java.lang.Override @@ -1889,48 +1676,35 @@ public boolean hasLeaveUntransformed() { return modeCase_ == 2; } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; * @return The leaveUntransformed. */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - getLeaveUntransformed() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed() { if (leaveUntransformedBuilder_ == null) { if (modeCase_ == 2) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); } else { if (modeCase_ == 2) { return leaveUntransformedBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); } } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ - public Builder setLeaveUntransformed( - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { + public Builder setLeaveUntransformed(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { if (leaveUntransformedBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1944,19 +1718,14 @@ public Builder setLeaveUntransformed( return this; } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ public Builder setLeaveUntransformed( - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder - builderForValue) { + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder builderForValue) { if (leaveUntransformedBuilder_ == null) { mode_ = builderForValue.build(); onChanged(); @@ -1967,29 +1736,18 @@ public Builder setLeaveUntransformed( return this; } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ - public Builder mergeLeaveUntransformed( - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { + public Builder mergeLeaveUntransformed(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { if (leaveUntransformedBuilder_ == null) { - if (modeCase_ == 2 - && mode_ - != com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance()) { - mode_ = - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder( - (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) - mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 2 && + mode_ != com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance()) { + mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2004,15 +1762,11 @@ public Builder mergeLeaveUntransformed( return this; } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ public Builder clearLeaveUntransformed() { if (leaveUntransformedBuilder_ == null) { @@ -2031,84 +1785,61 @@ public Builder clearLeaveUntransformed() { return this; } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder - getLeaveUntransformedBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder getLeaveUntransformedBuilder() { return getLeaveUntransformedFieldBuilder().getBuilder(); } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder - getLeaveUntransformedOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder() { if ((modeCase_ == 2) && (leaveUntransformedBuilder_ != null)) { return leaveUntransformedBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 2) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); } } /** - * - * *
      * Ignore errors
      * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> getLeaveUntransformedFieldBuilder() { if (leaveUntransformedBuilder_ == null) { if (!(modeCase_ == 2)) { - mode_ = - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed - .getDefaultInstance(); + mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); } - leaveUntransformedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder>( + leaveUntransformedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder>( (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 2; - onChanged(); - ; + onChanged();; return leaveUntransformedBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2118,12 +1849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationErrorHandling) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationErrorHandling) private static final com.google.privacy.dlp.v2.TransformationErrorHandling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationErrorHandling(); } @@ -2132,16 +1863,16 @@ public static com.google.privacy.dlp.v2.TransformationErrorHandling getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationErrorHandling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationErrorHandling(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationErrorHandling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationErrorHandling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2156,4 +1887,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.TransformationErrorHandling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java similarity index 56% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java index 425f209f..d088516e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java @@ -1,105 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationErrorHandlingOrBuilder - extends +public interface TransformationErrorHandlingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; - * * @return Whether the throwError field is set. */ boolean hasThrowError(); /** - * - * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; - * * @return The throwError. */ com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError(); /** - * - * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder - getThrowErrorOrBuilder(); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder(); /** - * - * *
    * Ignore errors
    * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; * @return Whether the leaveUntransformed field is set. */ boolean hasLeaveUntransformed(); /** - * - * *
    * Ignore errors
    * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; * @return The leaveUntransformed. */ com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed(); /** - * - * *
    * Ignore errors
    * 
* - * - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; - * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; */ - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder - getLeaveUntransformedOrBuilder(); + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder(); public com.google.privacy.dlp.v2.TransformationErrorHandling.ModeCase getModeCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java index 3657ca6f..42fb1b3e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Overview of the modifications that occurred.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationOverview} */ -public final class TransformationOverview extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransformationOverview extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationOverview) TransformationOverviewOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransformationOverview.newBuilder() to construct. private TransformationOverview(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransformationOverview() { transformationSummaries_ = 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 TransformationOverview(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransformationOverview( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,36 +54,34 @@ private TransformationOverview( case 0: done = true; break; - case 16: - { - transformedBytes_ = input.readInt64(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transformationSummaries_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - transformationSummaries_.add( - input.readMessage( - com.google.privacy.dlp.v2.TransformationSummary.parser(), extensionRegistry)); - break; + case 16: { + + transformedBytes_ = input.readInt64(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transformationSummaries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transformationSummaries_.add( + input.readMessage(com.google.privacy.dlp.v2.TransformationSummary.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transformationSummaries_ = java.util.Collections.unmodifiableList(transformationSummaries_); @@ -109,33 +90,27 @@ private TransformationOverview( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationOverview.class, - com.google.privacy.dlp.v2.TransformationOverview.Builder.class); + com.google.privacy.dlp.v2.TransformationOverview.class, com.google.privacy.dlp.v2.TransformationOverview.Builder.class); } public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 2; private long transformedBytes_; /** - * - * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 2; - * * @return The transformedBytes. */ @java.lang.Override @@ -146,81 +121,64 @@ public long getTransformedBytes() { public static final int TRANSFORMATION_SUMMARIES_FIELD_NUMBER = 3; private java.util.List transformationSummaries_; /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ @java.lang.Override - public java.util.List - getTransformationSummariesList() { + public java.util.List getTransformationSummariesList() { return transformationSummaries_; } /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ @java.lang.Override - public java.util.List + public java.util.List getTransformationSummariesOrBuilderList() { return transformationSummaries_; } /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ @java.lang.Override public int getTransformationSummariesCount() { return transformationSummaries_.size(); } /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index) { return transformationSummaries_.get(index); } /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder - getTransformationSummariesOrBuilder(int index) { + public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformationSummariesOrBuilder( + int index) { return transformationSummaries_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +190,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transformedBytes_ != 0L) { output.writeInt64(2, transformedBytes_); } @@ -249,12 +208,12 @@ public int getSerializedSize() { size = 0; if (transformedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, transformedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, transformedBytes_); } for (int i = 0; i < transformationSummaries_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, transformationSummaries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, transformationSummaries_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -264,17 +223,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.privacy.dlp.v2.TransformationOverview)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationOverview other = - (com.google.privacy.dlp.v2.TransformationOverview) obj; + com.google.privacy.dlp.v2.TransformationOverview other = (com.google.privacy.dlp.v2.TransformationOverview) obj; - if (getTransformedBytes() != other.getTransformedBytes()) return false; - if (!getTransformationSummariesList().equals(other.getTransformationSummariesList())) - return false; + if (getTransformedBytes() + != other.getTransformedBytes()) return false; + if (!getTransformationSummariesList() + .equals(other.getTransformationSummariesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,7 +246,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TRANSFORMED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTransformedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTransformedBytes()); if (getTransformationSummariesCount() > 0) { hash = (37 * hash) + TRANSFORMATION_SUMMARIES_FIELD_NUMBER; hash = (53 * hash) + getTransformationSummariesList().hashCode(); @@ -297,127 +257,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationOverview parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationOverview parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationOverview parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationOverview prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Overview of the modifications that occurred.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationOverview} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationOverview) com.google.privacy.dlp.v2.TransformationOverviewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationOverview.class, - com.google.privacy.dlp.v2.TransformationOverview.Builder.class); + com.google.privacy.dlp.v2.TransformationOverview.class, com.google.privacy.dlp.v2.TransformationOverview.Builder.class); } // Construct using com.google.privacy.dlp.v2.TransformationOverview.newBuilder() @@ -425,17 +376,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransformationSummariesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; } @java.lang.Override @@ -472,14 +423,12 @@ public com.google.privacy.dlp.v2.TransformationOverview build() { @java.lang.Override public com.google.privacy.dlp.v2.TransformationOverview buildPartial() { - com.google.privacy.dlp.v2.TransformationOverview result = - new com.google.privacy.dlp.v2.TransformationOverview(this); + com.google.privacy.dlp.v2.TransformationOverview result = new com.google.privacy.dlp.v2.TransformationOverview(this); int from_bitField0_ = bitField0_; result.transformedBytes_ = transformedBytes_; if (transformationSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - transformationSummaries_ = - java.util.Collections.unmodifiableList(transformationSummaries_); + transformationSummaries_ = java.util.Collections.unmodifiableList(transformationSummaries_); bitField0_ = (bitField0_ & ~0x00000001); } result.transformationSummaries_ = transformationSummaries_; @@ -494,39 +443,38 @@ public com.google.privacy.dlp.v2.TransformationOverview buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationOverview) { - return mergeFrom((com.google.privacy.dlp.v2.TransformationOverview) other); + return mergeFrom((com.google.privacy.dlp.v2.TransformationOverview)other); } else { super.mergeFrom(other); return this; @@ -534,8 +482,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationOverview other) { - if (other == com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance()) return this; if (other.getTransformedBytes() != 0L) { setTransformedBytes(other.getTransformedBytes()); } @@ -557,10 +504,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationOverview other) transformationSummariesBuilder_ = null; transformationSummaries_ = other.transformationSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - transformationSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransformationSummariesFieldBuilder() - : null; + transformationSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransformationSummariesFieldBuilder() : null; } else { transformationSummariesBuilder_.addAllMessages(other.transformationSummaries_); } @@ -594,19 +540,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private long transformedBytes_; + private long transformedBytes_ ; /** - * - * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 2; - * * @return The transformedBytes. */ @java.lang.Override @@ -614,71 +556,55 @@ public long getTransformedBytes() { return transformedBytes_; } /** - * - * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 2; - * * @param value The transformedBytes to set. * @return This builder for chaining. */ public Builder setTransformedBytes(long value) { - + transformedBytes_ = value; onChanged(); return this; } /** - * - * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 2; - * * @return This builder for chaining. */ public Builder clearTransformedBytes() { - + transformedBytes_ = 0L; onChanged(); return this; } - private java.util.List - transformationSummaries_ = java.util.Collections.emptyList(); - + private java.util.List transformationSummaries_ = + java.util.Collections.emptyList(); private void ensureTransformationSummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transformationSummaries_ = - new java.util.ArrayList( - transformationSummaries_); + transformationSummaries_ = new java.util.ArrayList(transformationSummaries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary, - com.google.privacy.dlp.v2.TransformationSummary.Builder, - com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> - transformationSummariesBuilder_; + com.google.privacy.dlp.v2.TransformationSummary, com.google.privacy.dlp.v2.TransformationSummary.Builder, com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> transformationSummariesBuilder_; /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public java.util.List - getTransformationSummariesList() { + public java.util.List getTransformationSummariesList() { if (transformationSummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(transformationSummaries_); } else { @@ -686,14 +612,11 @@ private void ensureTransformationSummariesIsMutable() { } } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public int getTransformationSummariesCount() { if (transformationSummariesBuilder_ == null) { @@ -703,14 +626,11 @@ public int getTransformationSummariesCount() { } } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index) { if (transformationSummariesBuilder_ == null) { @@ -720,14 +640,11 @@ public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummarie } } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder setTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary value) { @@ -744,14 +661,11 @@ public Builder setTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder setTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary.Builder builderForValue) { @@ -765,17 +679,13 @@ public Builder setTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public Builder addTransformationSummaries( - com.google.privacy.dlp.v2.TransformationSummary value) { + public Builder addTransformationSummaries(com.google.privacy.dlp.v2.TransformationSummary value) { if (transformationSummariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,14 +699,11 @@ public Builder addTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder addTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary value) { @@ -813,14 +720,11 @@ public Builder addTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder addTransformationSummaries( com.google.privacy.dlp.v2.TransformationSummary.Builder builderForValue) { @@ -834,14 +738,11 @@ public Builder addTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder addTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary.Builder builderForValue) { @@ -855,20 +756,18 @@ public Builder addTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder addAllTransformationSummaries( java.lang.Iterable values) { if (transformationSummariesBuilder_ == null) { ensureTransformationSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformationSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transformationSummaries_); onChanged(); } else { transformationSummariesBuilder_.addAllMessages(values); @@ -876,14 +775,11 @@ public Builder addAllTransformationSummaries( return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder clearTransformationSummaries() { if (transformationSummariesBuilder_ == null) { @@ -896,14 +792,11 @@ public Builder clearTransformationSummaries() { return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ public Builder removeTransformationSummaries(int index) { if (transformationSummariesBuilder_ == null) { @@ -916,49 +809,39 @@ public Builder removeTransformationSummaries(int index) { return this; } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public com.google.privacy.dlp.v2.TransformationSummary.Builder - getTransformationSummariesBuilder(int index) { + public com.google.privacy.dlp.v2.TransformationSummary.Builder getTransformationSummariesBuilder( + int index) { return getTransformationSummariesFieldBuilder().getBuilder(index); } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder - getTransformationSummariesOrBuilder(int index) { + public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformationSummariesOrBuilder( + int index) { if (transformationSummariesBuilder_ == null) { - return transformationSummaries_.get(index); - } else { + return transformationSummaries_.get(index); } else { return transformationSummariesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public java.util.List - getTransformationSummariesOrBuilderList() { + public java.util.List + getTransformationSummariesOrBuilderList() { if (transformationSummariesBuilder_ != null) { return transformationSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -966,61 +849,45 @@ public Builder removeTransformationSummaries(int index) { } } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public com.google.privacy.dlp.v2.TransformationSummary.Builder - addTransformationSummariesBuilder() { - return getTransformationSummariesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); + public com.google.privacy.dlp.v2.TransformationSummary.Builder addTransformationSummariesBuilder() { + return getTransformationSummariesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public com.google.privacy.dlp.v2.TransformationSummary.Builder - addTransformationSummariesBuilder(int index) { - return getTransformationSummariesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); + public com.google.privacy.dlp.v2.TransformationSummary.Builder addTransformationSummariesBuilder( + int index) { + return getTransformationSummariesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); } /** - * - * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - public java.util.List - getTransformationSummariesBuilderList() { + public java.util.List + getTransformationSummariesBuilderList() { return getTransformationSummariesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary, - com.google.privacy.dlp.v2.TransformationSummary.Builder, - com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> + com.google.privacy.dlp.v2.TransformationSummary, com.google.privacy.dlp.v2.TransformationSummary.Builder, com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> getTransformationSummariesFieldBuilder() { if (transformationSummariesBuilder_ == null) { - transformationSummariesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary, - com.google.privacy.dlp.v2.TransformationSummary.Builder, - com.google.privacy.dlp.v2.TransformationSummaryOrBuilder>( + transformationSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationSummary, com.google.privacy.dlp.v2.TransformationSummary.Builder, com.google.privacy.dlp.v2.TransformationSummaryOrBuilder>( transformationSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1029,9 +896,9 @@ public Builder removeTransformationSummaries(int index) { } return transformationSummariesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1041,12 +908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationOverview) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationOverview) private static final com.google.privacy.dlp.v2.TransformationOverview DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationOverview(); } @@ -1055,16 +922,16 @@ public static com.google.privacy.dlp.v2.TransformationOverview getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationOverview parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationOverview(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationOverview parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationOverview(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1079,4 +946,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationOverview getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java similarity index 62% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java index 679ff811..e293041d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java @@ -1,95 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationOverviewOrBuilder - extends +public interface TransformationOverviewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationOverview) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 2; - * * @return The transformedBytes. */ long getTransformedBytes(); /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - java.util.List getTransformationSummariesList(); + java.util.List + getTransformationSummariesList(); /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index); /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ int getTransformationSummariesCount(); /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ - java.util.List + java.util.List getTransformationSummariesOrBuilderList(); /** - * - * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; */ com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformationSummariesOrBuilder( int index); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java similarity index 75% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java index 429fff5f..fe4873c8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Summary of a single transformation.
  * Only one of 'transformation', 'field_transformation', or 'record_suppress'
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary}
  */
-public final class TransformationSummary extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransformationSummary extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationSummary)
     TransformationSummaryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransformationSummary.newBuilder() to construct.
   private TransformationSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TransformationSummary() {
     fieldTransformations_ = java.util.Collections.emptyList();
     results_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private TransformationSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransformationSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TransformationSummary(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,113 +57,95 @@ private TransformationSummary(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-              if (infoType_ != null) {
-                subBuilder = infoType_.toBuilder();
-              }
-              infoType_ =
-                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(infoType_);
-                infoType_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+            if (infoType_ != null) {
+              subBuilder = infoType_.toBuilder();
             }
-          case 18:
-            {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (field_ != null) {
-                subBuilder = field_.toBuilder();
-              }
-              field_ =
-                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(field_);
-                field_ = subBuilder.buildPartial();
-              }
-
-              break;
+            infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(infoType_);
+              infoType_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
-              if (transformation_ != null) {
-                subBuilder = transformation_.toBuilder();
-              }
-              transformation_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.PrimitiveTransformation.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(transformation_);
-                transformation_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+            if (field_ != null) {
+              subBuilder = field_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                results_ =
-                    new java.util.ArrayList<
-                        com.google.privacy.dlp.v2.TransformationSummary.SummaryResult>();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              results_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.parser(),
-                      extensionRegistry));
-              break;
+            field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(field_);
+              field_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                fieldTransformations_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              fieldTransformations_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
+            if (transformation_ != null) {
+              subBuilder = transformation_.toBuilder();
+            }
+            transformation_ = input.readMessage(com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(transformation_);
+              transformation_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.privacy.dlp.v2.RecordSuppression.Builder subBuilder = null;
-              if (recordSuppress_ != null) {
-                subBuilder = recordSuppress_.toBuilder();
-              }
-              recordSuppress_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(recordSuppress_);
-                recordSuppress_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              results_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 56:
-            {
-              transformedBytes_ = input.readInt64();
-              break;
+            results_.add(
+                input.readMessage(com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.parser(), extensionRegistry));
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              fieldTransformations_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            fieldTransformations_.add(
+                input.readMessage(com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
+            break;
+          }
+          case 50: {
+            com.google.privacy.dlp.v2.RecordSuppression.Builder subBuilder = null;
+            if (recordSuppress_ != null) {
+              subBuilder = recordSuppress_.toBuilder();
+            }
+            recordSuppress_ = input.readMessage(com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(recordSuppress_);
+              recordSuppress_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 56: {
+
+            transformedBytes_ = input.readInt64();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         results_ = java.util.Collections.unmodifiableList(results_);
@@ -192,35 +157,29 @@ private TransformationSummary(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationSummary.class,
-            com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
+            com.google.privacy.dlp.v2.TransformationSummary.class, com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible outcomes of transformations.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.TransformationSummary.TransformationResultCode} */ - public enum TransformationResultCode implements com.google.protobuf.ProtocolMessageEnum { + public enum TransformationResultCode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused
      * 
@@ -229,8 +188,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ TRANSFORMATION_RESULT_CODE_UNSPECIFIED(0), /** - * - * *
      * Transformation completed without an error.
      * 
@@ -239,8 +196,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ SUCCESS(1), /** - * - * *
      * Transformation had an error.
      * 
@@ -252,8 +207,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess ; /** - * - * *
      * Unused
      * 
@@ -262,8 +215,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ public static final int TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Transformation completed without an error.
      * 
@@ -272,8 +223,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ public static final int SUCCESS_VALUE = 1; /** - * - * *
      * Transformation had an error.
      * 
@@ -282,6 +231,7 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ public static final int ERROR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,14 +256,10 @@ public static TransformationResultCode valueOf(int value) { */ public static TransformationResultCode forNumber(int value) { switch (value) { - case 0: - return TRANSFORMATION_RESULT_CODE_UNSPECIFIED; - case 1: - return SUCCESS; - case 2: - return ERROR; - default: - return null; + case 0: return TRANSFORMATION_RESULT_CODE_UNSPECIFIED; + case 1: return SUCCESS; + case 2: return ERROR; + default: return null; } } @@ -321,28 +267,28 @@ public static TransformationResultCode forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TransformationResultCode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransformationResultCode findValueByNumber(int number) { + return TransformationResultCode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransformationResultCode findValueByNumber(int number) { - return TransformationResultCode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.privacy.dlp.v2.TransformationSummary.getDescriptor().getEnumTypes().get(0); } @@ -351,7 +297,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TransformationResultCode 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; @@ -368,79 +315,62 @@ private TransformationResultCode(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationSummary.TransformationResultCode) } - public interface SummaryResultOrBuilder - extends + public interface SummaryResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationSummary.SummaryResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Number of transformations counted by this result.
      * 
* * int64 count = 1; - * * @return The count. */ long getCount(); /** - * - * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * * @return The code. */ com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode(); /** - * - * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; - * * @return The details. */ java.lang.String getDetails(); /** - * - * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; - * * @return The bytes for details. */ - com.google.protobuf.ByteString getDetailsBytes(); + com.google.protobuf.ByteString + getDetailsBytes(); } /** - * - * *
    * A collection that informs the user the number of times a particular
    * `TransformationResultCode` and error details occurred.
@@ -448,16 +378,15 @@ public interface SummaryResultOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary.SummaryResult}
    */
-  public static final class SummaryResult extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SummaryResult extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationSummary.SummaryResult)
       SummaryResultOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SummaryResult.newBuilder() to construct.
     private SummaryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SummaryResult() {
       code_ = 0;
       details_ = "";
@@ -465,15 +394,16 @@ private SummaryResult() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SummaryResult();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private SummaryResult(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -492,70 +422,63 @@ private SummaryResult(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                count_ = input.readInt64();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                code_ = rawValue;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              count_ = input.readInt64();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                details_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              code_ = rawValue;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              details_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class,
-              com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
+              com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private long count_;
     /**
-     *
-     *
      * 
      * Number of transformations counted by this result.
      * 
* * int64 count = 1; - * * @return The count. */ @java.lang.Override @@ -566,53 +489,39 @@ public long getCount() { public static final int CODE_FIELD_NUMBER = 2; private int code_; /** - * - * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * * @return The code. */ - @java.lang.Override - public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() { + @java.lang.Override public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); - return result == null - ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); + return result == null ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED : result; } public static final int DETAILS_FIELD_NUMBER = 3; private volatile java.lang.Object details_; /** - * - * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; - * * @return The details. */ @java.lang.Override @@ -621,30 +530,30 @@ public java.lang.String getDetails() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } } /** - * - * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; - * * @return The bytes for details. */ @java.lang.Override - public com.google.protobuf.ByteString getDetailsBytes() { + public com.google.protobuf.ByteString + getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); details_ = b; return b; } else { @@ -653,7 +562,6 @@ public com.google.protobuf.ByteString getDetailsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -665,14 +573,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (count_ != 0L) { output.writeInt64(1, count_); } - if (code_ - != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode - .TRANSFORMATION_RESULT_CODE_UNSPECIFIED - .getNumber()) { + if (code_ != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { @@ -688,13 +594,12 @@ public int getSerializedSize() { size = 0; if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, count_); } - if (code_ - != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode - .TRANSFORMATION_RESULT_CODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, code_); + if (code_ != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, details_); @@ -707,17 +612,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.privacy.dlp.v2.TransformationSummary.SummaryResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other = - (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) obj; + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other = (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) obj; - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; if (code_ != other.code_) return false; - if (!getDetails().equals(other.getDetails())) return false; + if (!getDetails() + .equals(other.getDetails())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -730,7 +636,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCount()); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + code_; hash = (37 * hash) + DETAILS_FIELD_NUMBER; @@ -741,94 +648,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationSummary.SummaryResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -838,8 +738,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A collection that informs the user the number of times a particular
      * `TransformationResultCode` and error details occurred.
@@ -847,24 +745,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary.SummaryResult}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationSummary.SummaryResult)
         com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class,
-                com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
+                com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.newBuilder()
@@ -872,15 +767,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -894,14 +790,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance();
       }
 
@@ -916,8 +811,7 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult buildPartial() {
-        com.google.privacy.dlp.v2.TransformationSummary.SummaryResult result =
-            new com.google.privacy.dlp.v2.TransformationSummary.SummaryResult(this);
+        com.google.privacy.dlp.v2.TransformationSummary.SummaryResult result = new com.google.privacy.dlp.v2.TransformationSummary.SummaryResult(this);
         result.count_ = count_;
         result.code_ = code_;
         result.details_ = details_;
@@ -929,52 +823,46 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) {
-          return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) other);
+          return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary.SummaryResult)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other) {
-        if (other
-            == com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other) {
+        if (other == com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()) return this;
         if (other.getCount() != 0L) {
           setCount(other.getCount());
         }
@@ -1004,9 +892,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1016,16 +902,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private long count_;
+      private long count_ ;
       /**
-       *
-       *
        * 
        * Number of transformations counted by this result.
        * 
* * int64 count = 1; - * * @return The count. */ @java.lang.Override @@ -1033,36 +916,30 @@ public long getCount() { return count_; } /** - * - * *
        * Number of transformations counted by this result.
        * 
* * int64 count = 1; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** - * - * *
        * Number of transformations counted by this result.
        * 
* * int64 count = 1; - * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; @@ -1070,98 +947,73 @@ public Builder clearCount() { private int code_ = 0; /** - * - * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * - * + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * - * + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** - * - * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * - * + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; * @return The code. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); - return result == null - ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); + return result == null ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED : result; } /** - * - * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * - * + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode value) { + public Builder setCode(com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; - * - * + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -1169,21 +1021,19 @@ public Builder clearCode() { private java.lang.Object details_ = ""; /** - * - * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; - * * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; @@ -1192,22 +1042,21 @@ public java.lang.String getDetails() { } } /** - * - * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; - * * @return The bytes for details. */ - public com.google.protobuf.ByteString getDetailsBytes() { + public com.google.protobuf.ByteString + getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); details_ = b; return b; } else { @@ -1215,69 +1064,61 @@ public com.google.protobuf.ByteString getDetailsBytes() { } } /** - * - * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; - * * @param value The details to set. * @return This builder for chaining. */ - public Builder setDetails(java.lang.String value) { + public Builder setDetails( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + details_ = value; onChanged(); return this; } /** - * - * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; - * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** - * - * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; - * * @param value The bytes for details to set. * @return This builder for chaining. */ - public Builder setDetailsBytes(com.google.protobuf.ByteString value) { + public Builder setDetailsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + details_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1290,32 +1131,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationSummary.SummaryResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationSummary.SummaryResult) - private static final com.google.privacy.dlp.v2.TransformationSummary.SummaryResult - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.TransformationSummary.SummaryResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationSummary.SummaryResult(); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult - getDefaultInstance() { + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SummaryResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SummaryResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SummaryResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SummaryResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1327,23 +1166,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** - * - * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -1351,14 +1187,11 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -1366,8 +1199,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
    * Set if the transformation was limited to a specific InfoType.
    * 
@@ -1382,14 +1213,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { public static final int FIELD_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId field_; /** - * - * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return Whether the field field is set. */ @java.lang.Override @@ -1397,14 +1225,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return The field. */ @java.lang.Override @@ -1412,8 +1237,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
    * Set if the transformation was limited to a specific FieldId.
    * 
@@ -1428,14 +1251,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int TRANSFORMATION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.PrimitiveTransformation transformation_; /** - * - * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; - * * @return Whether the transformation field is set. */ @java.lang.Override @@ -1443,25 +1263,18 @@ public boolean hasTransformation() { return transformation_ != null; } /** - * - * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; - * * @return The transformation. */ @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() { - return transformation_ == null - ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() - : transformation_; + return transformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : transformation_; } /** - * - * *
    * The specific transformation these stats apply to.
    * 
@@ -1476,8 +1289,6 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER = 5; private java.util.List fieldTransformations_; /** - * - * *
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1487,13 +1298,10 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
   @java.lang.Override
-  public java.util.List
-      getFieldTransformationsList() {
+  public java.util.List getFieldTransformationsList() {
     return fieldTransformations_;
   }
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1503,13 +1311,11 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFieldTransformationsOrBuilderList() {
     return fieldTransformations_;
   }
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1523,8 +1329,6 @@ public int getFieldTransformationsCount() {
     return fieldTransformations_.size();
   }
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1538,8 +1342,6 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int
     return fieldTransformations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1557,14 +1359,11 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
   public static final int RECORD_SUPPRESS_FIELD_NUMBER = 6;
   private com.google.privacy.dlp.v2.RecordSuppression recordSuppress_;
   /**
-   *
-   *
    * 
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; - * * @return Whether the recordSuppress field is set. */ @java.lang.Override @@ -1572,25 +1371,18 @@ public boolean hasRecordSuppress() { return recordSuppress_ != null; } /** - * - * *
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; - * * @return The recordSuppress. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() { - return recordSuppress_ == null - ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() - : recordSuppress_; + return recordSuppress_ == null ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() : recordSuppress_; } - /** - * - * + /** *
    * The specific suppression option these stats apply to.
    * 
@@ -1605,8 +1397,6 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB public static final int RESULTS_FIELD_NUMBER = 4; private java.util.List results_; /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1614,13 +1404,10 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ @java.lang.Override - public java.util.List - getResultsList() { + public java.util.List getResultsList() { return results_; } /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1628,14 +1415,11 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> + public java.util.List getResultsOrBuilderList() { return results_; } /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1647,8 +1431,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1660,8 +1442,6 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults( return results_.get(index); } /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1677,14 +1457,11 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder ge public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 7; private long transformedBytes_; /** - * - * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 7; - * * @return The transformedBytes. */ @java.lang.Override @@ -1693,7 +1470,6 @@ public long getTransformedBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1705,7 +1481,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -1737,26 +1514,32 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInfoType()); } if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getField()); } if (transformation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTransformation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTransformation()); } for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, results_.get(i)); } for (int i = 0; i < fieldTransformations_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(5, fieldTransformations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, fieldTransformations_.get(i)); } if (recordSuppress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRecordSuppress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRecordSuppress()); } if (transformedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, transformedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, transformedBytes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1766,33 +1549,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.TransformationSummary)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationSummary other = - (com.google.privacy.dlp.v2.TransformationSummary) obj; + com.google.privacy.dlp.v2.TransformationSummary other = (com.google.privacy.dlp.v2.TransformationSummary) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } if (hasTransformation() != other.hasTransformation()) return false; if (hasTransformation()) { - if (!getTransformation().equals(other.getTransformation())) return false; + if (!getTransformation() + .equals(other.getTransformation())) return false; } - if (!getFieldTransformationsList().equals(other.getFieldTransformationsList())) return false; + if (!getFieldTransformationsList() + .equals(other.getFieldTransformationsList())) return false; if (hasRecordSuppress() != other.hasRecordSuppress()) return false; if (hasRecordSuppress()) { - if (!getRecordSuppress().equals(other.getRecordSuppress())) return false; + if (!getRecordSuppress() + .equals(other.getRecordSuppress())) return false; } - if (!getResultsList().equals(other.getResultsList())) return false; - if (getTransformedBytes() != other.getTransformedBytes()) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (getTransformedBytes() + != other.getTransformedBytes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1829,110 +1618,104 @@ public int hashCode() { hash = (53 * hash) + getResultsList().hashCode(); } hash = (37 * hash) + TRANSFORMED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTransformedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTransformedBytes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransformationSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransformationSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Summary of a single transformation.
    * Only one of 'transformation', 'field_transformation', or 'record_suppress'
@@ -1941,23 +1724,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationSummary)
       com.google.privacy.dlp.v2.TransformationSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationSummary.class,
-              com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
+              com.google.privacy.dlp.v2.TransformationSummary.class, com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationSummary.newBuilder()
@@ -1965,18 +1746,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getFieldTransformationsFieldBuilder();
         getResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2022,9 +1803,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
     }
 
     @java.lang.Override
@@ -2043,8 +1824,7 @@ public com.google.privacy.dlp.v2.TransformationSummary build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
-      com.google.privacy.dlp.v2.TransformationSummary result =
-          new com.google.privacy.dlp.v2.TransformationSummary(this);
+      com.google.privacy.dlp.v2.TransformationSummary result = new com.google.privacy.dlp.v2.TransformationSummary(this);
       int from_bitField0_ = bitField0_;
       if (infoTypeBuilder_ == null) {
         result.infoType_ = infoType_;
@@ -2093,39 +1873,38 @@ public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationSummary) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary) other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2133,8 +1912,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other) {
-      if (other == com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance())
-        return this;
+      if (other == com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()) return this;
       if (other.hasInfoType()) {
         mergeInfoType(other.getInfoType());
       }
@@ -2162,10 +1940,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
             fieldTransformationsBuilder_ = null;
             fieldTransformations_ = other.fieldTransformations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            fieldTransformationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFieldTransformationsFieldBuilder()
-                    : null;
+            fieldTransformationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFieldTransformationsFieldBuilder() : null;
           } else {
             fieldTransformationsBuilder_.addAllMessages(other.fieldTransformations_);
           }
@@ -2192,10 +1969,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
             resultsBuilder_ = null;
             results_ = other.results_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            resultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResultsFieldBuilder()
-                    : null;
+            resultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResultsFieldBuilder() : null;
           } else {
             resultsBuilder_.addAllMessages(other.results_);
           }
@@ -2232,52 +2008,38 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.InfoType infoType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType,
-            com.google.privacy.dlp.v2.InfoType.Builder,
-            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
-        infoTypeBuilder_;
+        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_;
     /**
-     *
-     *
      * 
      * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2298,15 +2060,14 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; */ - public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + public Builder setInfoType( + com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { if (infoTypeBuilder_ == null) { infoType_ = builderForValue.build(); onChanged(); @@ -2317,8 +2078,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2329,9 +2088,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { if (infoTypeBuilder_ == null) { if (infoType_ != null) { infoType_ = - com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial(); } else { infoType_ = value; } @@ -2343,8 +2100,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2363,8 +2118,6 @@ public Builder clearInfoType() { return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2372,13 +2125,11 @@ public Builder clearInfoType() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { - + onChanged(); return getInfoTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2389,14 +2140,11 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { if (infoTypeBuilder_ != null) { return infoTypeBuilder_.getMessageOrBuilder(); } else { - return infoType_ == null - ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() - : infoType_; + return infoType_ == null ? + com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2404,17 +2152,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder> + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypeFieldBuilder() { if (infoTypeBuilder_ == null) { - infoTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, - com.google.privacy.dlp.v2.InfoType.Builder, - com.google.privacy.dlp.v2.InfoTypeOrBuilder>( - getInfoType(), getParentForChildren(), isClean()); + infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>( + getInfoType(), + getParentForChildren(), + isClean()); infoType_ = null; } return infoTypeBuilder_; @@ -2422,33 +2167,24 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> - fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -2459,8 +2195,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2481,15 +2215,14 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; */ - public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -2500,8 +2233,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2512,7 +2243,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -2524,8 +2255,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2544,8 +2273,6 @@ public Builder clearField() { return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2553,13 +2280,11 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2570,12 +2295,11 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? + com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2583,17 +2307,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, - com.google.privacy.dlp.v2.FieldId.Builder, - com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -2601,47 +2322,34 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private com.google.privacy.dlp.v2.PrimitiveTransformation transformation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> - transformationBuilder_; + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> transformationBuilder_; /** - * - * *
      * The specific transformation these stats apply to.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; - * * @return Whether the transformation field is set. */ public boolean hasTransformation() { return transformationBuilder_ != null || transformation_ != null; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; - * * @return The transformation. */ public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() { if (transformationBuilder_ == null) { - return transformation_ == null - ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() - : transformation_; + return transformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : transformation_; } else { return transformationBuilder_.getMessage(); } } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2662,8 +2370,6 @@ public Builder setTransformation(com.google.privacy.dlp.v2.PrimitiveTransformati return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2682,8 +2388,6 @@ public Builder setTransformation( return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2694,9 +2398,7 @@ public Builder mergeTransformation(com.google.privacy.dlp.v2.PrimitiveTransforma if (transformationBuilder_ == null) { if (transformation_ != null) { transformation_ = - com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder(transformation_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder(transformation_).mergeFrom(value).buildPartial(); } else { transformation_ = value; } @@ -2708,8 +2410,6 @@ public Builder mergeTransformation(com.google.privacy.dlp.v2.PrimitiveTransforma return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2728,8 +2428,6 @@ public Builder clearTransformation() { return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2737,13 +2435,11 @@ public Builder clearTransformation() { * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; */ public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getTransformationBuilder() { - + onChanged(); return getTransformationFieldBuilder().getBuilder(); } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2754,14 +2450,11 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat if (transformationBuilder_ != null) { return transformationBuilder_.getMessageOrBuilder(); } else { - return transformation_ == null - ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() - : transformation_; + return transformation_ == null ? + com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : transformation_; } } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2769,43 +2462,32 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> getTransformationFieldBuilder() { if (transformationBuilder_ == null) { - transformationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( - getTransformation(), getParentForChildren(), isClean()); + transformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( + getTransformation(), + getParentForChildren(), + isClean()); transformation_ = null; } return transformationBuilder_; } private java.util.List fieldTransformations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldTransformationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fieldTransformations_ = - new java.util.ArrayList( - fieldTransformations_); + fieldTransformations_ = new java.util.ArrayList(fieldTransformations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldTransformation, - com.google.privacy.dlp.v2.FieldTransformation.Builder, - com.google.privacy.dlp.v2.FieldTransformationOrBuilder> - fieldTransformationsBuilder_; + com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> fieldTransformationsBuilder_; /** - * - * *
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2814,8 +2496,7 @@ private void ensureFieldTransformationsIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
-    public java.util.List
-        getFieldTransformationsList() {
+    public java.util.List getFieldTransformationsList() {
       if (fieldTransformationsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(fieldTransformations_);
       } else {
@@ -2823,8 +2504,6 @@ private void ensureFieldTransformationsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2841,8 +2520,6 @@ public int getFieldTransformationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2859,8 +2536,6 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2884,8 +2559,6 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2906,8 +2579,6 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2930,8 +2601,6 @@ public Builder addFieldTransformations(com.google.privacy.dlp.v2.FieldTransforma
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2955,8 +2624,6 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2977,8 +2644,6 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2999,8 +2664,6 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3013,7 +2676,8 @@ public Builder addAllFieldTransformations(
         java.lang.Iterable values) {
       if (fieldTransformationsBuilder_ == null) {
         ensureFieldTransformationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransformations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, fieldTransformations_);
         onChanged();
       } else {
         fieldTransformationsBuilder_.addAllMessages(values);
@@ -3021,8 +2685,6 @@ public Builder addAllFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3042,8 +2704,6 @@ public Builder clearFieldTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3063,8 +2723,6 @@ public Builder removeFieldTransformations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3078,8 +2736,6 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat
       return getFieldTransformationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3091,14 +2747,11 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat
     public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOrBuilder(
         int index) {
       if (fieldTransformationsBuilder_ == null) {
-        return fieldTransformations_.get(index);
-      } else {
+        return fieldTransformations_.get(index);  } else {
         return fieldTransformationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3107,8 +2760,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
      *
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
-    public java.util.List
-        getFieldTransformationsOrBuilderList() {
+    public java.util.List 
+         getFieldTransformationsOrBuilderList() {
       if (fieldTransformationsBuilder_ != null) {
         return fieldTransformationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3116,8 +2769,6 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3127,12 +2778,10 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
     public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder() {
-      return getFieldTransformationsFieldBuilder()
-          .addBuilder(com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
+      return getFieldTransformationsFieldBuilder().addBuilder(
+          com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3143,12 +2792,10 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
      */
     public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder(
         int index) {
-      return getFieldTransformationsFieldBuilder()
-          .addBuilder(index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
+      return getFieldTransformationsFieldBuilder().addBuilder(
+          index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3157,22 +2804,16 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
      *
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
-    public java.util.List
-        getFieldTransformationsBuilderList() {
+    public java.util.List 
+         getFieldTransformationsBuilderList() {
       return getFieldTransformationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldTransformation,
-            com.google.privacy.dlp.v2.FieldTransformation.Builder,
-            com.google.privacy.dlp.v2.FieldTransformationOrBuilder>
+        com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> 
         getFieldTransformationsFieldBuilder() {
       if (fieldTransformationsBuilder_ == null) {
-        fieldTransformationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.FieldTransformation,
-                com.google.privacy.dlp.v2.FieldTransformation.Builder,
-                com.google.privacy.dlp.v2.FieldTransformationOrBuilder>(
+        fieldTransformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder>(
                 fieldTransformations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -3184,47 +2825,34 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
 
     private com.google.privacy.dlp.v2.RecordSuppression recordSuppress_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordSuppression,
-            com.google.privacy.dlp.v2.RecordSuppression.Builder,
-            com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>
-        recordSuppressBuilder_;
+        com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> recordSuppressBuilder_;
     /**
-     *
-     *
      * 
      * The specific suppression option these stats apply to.
      * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; - * * @return Whether the recordSuppress field is set. */ public boolean hasRecordSuppress() { return recordSuppressBuilder_ != null || recordSuppress_ != null; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; - * * @return The recordSuppress. */ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() { if (recordSuppressBuilder_ == null) { - return recordSuppress_ == null - ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() - : recordSuppress_; + return recordSuppress_ == null ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() : recordSuppress_; } else { return recordSuppressBuilder_.getMessage(); } } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3245,8 +2873,6 @@ public Builder setRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression val return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3265,8 +2891,6 @@ public Builder setRecordSuppress( return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3277,9 +2901,7 @@ public Builder mergeRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression v if (recordSuppressBuilder_ == null) { if (recordSuppress_ != null) { recordSuppress_ = - com.google.privacy.dlp.v2.RecordSuppression.newBuilder(recordSuppress_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.RecordSuppression.newBuilder(recordSuppress_).mergeFrom(value).buildPartial(); } else { recordSuppress_ = value; } @@ -3291,8 +2913,6 @@ public Builder mergeRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression v return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3311,8 +2931,6 @@ public Builder clearRecordSuppress() { return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3320,13 +2938,11 @@ public Builder clearRecordSuppress() { * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; */ public com.google.privacy.dlp.v2.RecordSuppression.Builder getRecordSuppressBuilder() { - + onChanged(); return getRecordSuppressFieldBuilder().getBuilder(); } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3337,14 +2953,11 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB if (recordSuppressBuilder_ != null) { return recordSuppressBuilder_.getMessageOrBuilder(); } else { - return recordSuppress_ == null - ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() - : recordSuppress_; + return recordSuppress_ == null ? + com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() : recordSuppress_; } } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3352,51 +2965,39 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordSuppression, - com.google.privacy.dlp.v2.RecordSuppression.Builder, - com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> + com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> getRecordSuppressFieldBuilder() { if (recordSuppressBuilder_ == null) { - recordSuppressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordSuppression, - com.google.privacy.dlp.v2.RecordSuppression.Builder, - com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>( - getRecordSuppress(), getParentForChildren(), isClean()); + recordSuppressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>( + getRecordSuppress(), + getParentForChildren(), + isClean()); recordSuppress_ = null; } return recordSuppressBuilder_; } private java.util.List results_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - results_ = - new java.util.ArrayList( - results_); + results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> - resultsBuilder_; + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> resultsBuilder_; /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public java.util.List - getResultsList() { + public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { @@ -3404,8 +3005,6 @@ private void ensureResultsIsMutable() { } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3420,8 +3019,6 @@ public int getResultsCount() { } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3436,8 +3033,6 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults( } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3459,8 +3054,6 @@ public Builder setResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3468,8 +3061,7 @@ public Builder setResults( * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ public Builder setResults( - int index, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { + int index, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); @@ -3480,8 +3072,6 @@ public Builder setResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3502,8 +3092,6 @@ public Builder addResults(com.google.privacy.dlp.v2.TransformationSummary.Summar return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3525,8 +3113,6 @@ public Builder addResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3545,8 +3131,6 @@ public Builder addResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3554,8 +3138,7 @@ public Builder addResults( * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ public Builder addResults( - int index, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { + int index, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); @@ -3566,8 +3149,6 @@ public Builder addResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3575,11 +3156,11 @@ public Builder addResults( * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ 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); @@ -3587,8 +3168,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3606,8 +3185,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3625,8 +3202,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3638,34 +3213,28 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder get return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder - getResultsOrBuilder(int index) { + public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder( + int index) { if (resultsBuilder_ == null) { - return results_.get(index); - } else { + return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public java.util.List< - ? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> - getResultsOrBuilderList() { + public java.util.List + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -3673,23 +3242,17 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder get } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder - addResultsBuilder() { - return getResultsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); + public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder addResultsBuilder() { + return getResultsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3698,52 +3261,42 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder get */ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, - com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>( - results_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>( + results_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); results_ = null; } return resultsBuilder_; } - private long transformedBytes_; + private long transformedBytes_ ; /** - * - * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 7; - * * @return The transformedBytes. */ @java.lang.Override @@ -3751,43 +3304,37 @@ public long getTransformedBytes() { return transformedBytes_; } /** - * - * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 7; - * * @param value The transformedBytes to set. * @return This builder for chaining. */ public Builder setTransformedBytes(long value) { - + transformedBytes_ = value; onChanged(); return this; } /** - * - * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 7; - * * @return This builder for chaining. */ public Builder clearTransformedBytes() { - + transformedBytes_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3797,12 +3344,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationSummary) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationSummary) private static final com.google.privacy.dlp.v2.TransformationSummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationSummary(); } @@ -3811,16 +3358,16 @@ public static com.google.privacy.dlp.v2.TransformationSummary getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3835,4 +3382,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java similarity index 87% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java index 79cc1c18..680cc231 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationSummaryOrBuilder - extends +public interface TransformationSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * Set if the transformation was limited to a specific InfoType.
    * 
@@ -59,32 +35,24 @@ public interface TransformationSummaryOrBuilder com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); /** - * - * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; - * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** - * - * *
    * Set if the transformation was limited to a specific FieldId.
    * 
@@ -94,32 +62,24 @@ public interface TransformationSummaryOrBuilder com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** - * - * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; - * * @return Whether the transformation field is set. */ boolean hasTransformation(); /** - * - * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; - * * @return The transformation. */ com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation(); /** - * - * *
    * The specific transformation these stats apply to.
    * 
@@ -129,8 +89,6 @@ public interface TransformationSummaryOrBuilder com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformationOrBuilder(); /** - * - * *
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -139,10 +97,9 @@ public interface TransformationSummaryOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
-  java.util.List getFieldTransformationsList();
+  java.util.List 
+      getFieldTransformationsList();
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -153,8 +110,6 @@ public interface TransformationSummaryOrBuilder
    */
   com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int index);
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -165,8 +120,6 @@ public interface TransformationSummaryOrBuilder
    */
   int getFieldTransformationsCount();
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -175,11 +128,9 @@ public interface TransformationSummaryOrBuilder
    *
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
-  java.util.List
+  java.util.List 
       getFieldTransformationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -192,32 +143,24 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
       int index);
 
   /**
-   *
-   *
    * 
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; - * * @return Whether the recordSuppress field is set. */ boolean hasRecordSuppress(); /** - * - * *
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; - * * @return The recordSuppress. */ com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress(); /** - * - * *
    * The specific suppression option these stats apply to.
    * 
@@ -227,18 +170,15 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrBuilder(); /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - java.util.List getResultsList(); + java.util.List + getResultsList(); /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -247,8 +187,6 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr */ com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults(int index); /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -257,19 +195,15 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr */ int getResultsCount(); /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -280,14 +214,11 @@ com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder getResult int index); /** - * - * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 7; - * * @return The transformedBytes. */ long getTransformedBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java index 15a57eb9..f5b2a9b5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Use this to have a random data crypto key generated.
  * It will be discarded after the request finishes.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransientCryptoKey}
  */
-public final class TransientCryptoKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransientCryptoKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransientCryptoKey)
     TransientCryptoKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransientCryptoKey.newBuilder() to construct.
   private TransientCryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TransientCryptoKey() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransientCryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TransientCryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,52 +54,47 @@ private TransientCryptoKey(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransientCryptoKey.class,
-            com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.TransientCryptoKey.class, com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -127,7 +105,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -136,15 +113,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -155,15 +131,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -172,7 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -208,15 +185,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.privacy.dlp.v2.TransientCryptoKey)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransientCryptoKey other = - (com.google.privacy.dlp.v2.TransientCryptoKey) obj; + com.google.privacy.dlp.v2.TransientCryptoKey other = (com.google.privacy.dlp.v2.TransientCryptoKey) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,104 +212,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TransientCryptoKey parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TransientCryptoKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TransientCryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Use this to have a random data crypto key generated.
    * It will be discarded after the request finishes.
@@ -340,23 +310,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransientCryptoKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransientCryptoKey)
       com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransientCryptoKey.class,
-              com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.TransientCryptoKey.class, com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransientCryptoKey.newBuilder()
@@ -364,15 +332,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -382,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -403,8 +372,7 @@ public com.google.privacy.dlp.v2.TransientCryptoKey build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransientCryptoKey buildPartial() {
-      com.google.privacy.dlp.v2.TransientCryptoKey result =
-          new com.google.privacy.dlp.v2.TransientCryptoKey(this);
+      com.google.privacy.dlp.v2.TransientCryptoKey result = new com.google.privacy.dlp.v2.TransientCryptoKey(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -414,39 +382,38 @@ public com.google.privacy.dlp.v2.TransientCryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransientCryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey) other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -490,8 +457,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -502,13 +467,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; @@ -517,8 +482,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -529,14 +492,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -544,8 +508,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -556,22 +518,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -582,18 +542,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -604,23 +561,23 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransientCryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransientCryptoKey) private static final com.google.privacy.dlp.v2.TransientCryptoKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransientCryptoKey(); } @@ -644,16 +601,16 @@ public static com.google.privacy.dlp.v2.TransientCryptoKey getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransientCryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransientCryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransientCryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransientCryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,4 +625,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransientCryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java index b76b8722..072f5f73 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransientCryptoKeyOrBuilder - extends +public interface TransientCryptoKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransientCryptoKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -36,13 +18,10 @@ public interface TransientCryptoKeyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -53,8 +32,8 @@ public interface TransientCryptoKeyOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java index 15d7cd9a..72e399fe 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Using raw keys is prone to security risks due to accidentally
  * leaking the key. Choose another type of key if possible.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.UnwrappedCryptoKey}
  */
-public final class UnwrappedCryptoKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UnwrappedCryptoKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UnwrappedCryptoKey)
     UnwrappedCryptoKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UnwrappedCryptoKey.newBuilder() to construct.
   private UnwrappedCryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UnwrappedCryptoKey() {
     key_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UnwrappedCryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UnwrappedCryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,56 +54,51 @@ private UnwrappedCryptoKey(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              key_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 10: {
+
+            key_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.UnwrappedCryptoKey.class,
-            com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.UnwrappedCryptoKey.class, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
   }
 
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString key_;
   /**
-   *
-   *
    * 
    * Required. A 128/192/256 bit key.
    * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The key. */ @java.lang.Override @@ -129,7 +107,6 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -155,7 +133,8 @@ public int getSerializedSize() { size = 0; if (!key_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, key_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -165,15 +144,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.privacy.dlp.v2.UnwrappedCryptoKey)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UnwrappedCryptoKey other = - (com.google.privacy.dlp.v2.UnwrappedCryptoKey) obj; + com.google.privacy.dlp.v2.UnwrappedCryptoKey other = (com.google.privacy.dlp.v2.UnwrappedCryptoKey) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -192,104 +171,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.UnwrappedCryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Using raw keys is prone to security risks due to accidentally
    * leaking the key. Choose another type of key if possible.
@@ -297,23 +269,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.UnwrappedCryptoKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UnwrappedCryptoKey)
       com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.UnwrappedCryptoKey.class,
-              com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.UnwrappedCryptoKey.class, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.UnwrappedCryptoKey.newBuilder()
@@ -321,15 +291,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -339,9 +310,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -360,8 +331,7 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.UnwrappedCryptoKey buildPartial() {
-      com.google.privacy.dlp.v2.UnwrappedCryptoKey result =
-          new com.google.privacy.dlp.v2.UnwrappedCryptoKey(this);
+      com.google.privacy.dlp.v2.UnwrappedCryptoKey result = new com.google.privacy.dlp.v2.UnwrappedCryptoKey(this);
       result.key_ = key_;
       onBuilt();
       return result;
@@ -371,39 +341,38 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.UnwrappedCryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey) other);
+        return mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,14 +415,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Required. A 128/192/256 bit key.
      * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The key. */ @java.lang.Override @@ -461,46 +427,40 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
      * Required. A 128/192/256 bit key.
      * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * Required. A 128/192/256 bit key.
      * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -510,12 +470,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UnwrappedCryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UnwrappedCryptoKey) private static final com.google.privacy.dlp.v2.UnwrappedCryptoKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UnwrappedCryptoKey(); } @@ -524,16 +484,16 @@ public static com.google.privacy.dlp.v2.UnwrappedCryptoKey getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnwrappedCryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnwrappedCryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnwrappedCryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnwrappedCryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -548,4 +508,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.UnwrappedCryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java new file mode 100644 index 00000000..ce245761 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface UnwrappedCryptoKeyOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UnwrappedCryptoKey) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A 128/192/256 bit key.
+   * 
+ * + * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The key. + */ + com.google.protobuf.ByteString getKey(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java index b1737ab2..c9ba02fc 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for UpdateDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest} */ -public final class UpdateDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDeidentifyTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) UpdateDeidentifyTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDeidentifyTemplateRequest.newBuilder() to construct. - private UpdateDeidentifyTemplateRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDeidentifyTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,93 +53,80 @@ private UpdateDeidentifyTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; + if (deidentifyTemplate_ != null) { + subBuilder = deidentifyTemplate_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; - if (deidentifyTemplate_ != null) { - subBuilder = deidentifyTemplate_.toBuilder(); - } - deidentifyTemplate_ = - input.readMessage( - com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deidentifyTemplate_); - deidentifyTemplate_ = subBuilder.buildPartial(); - } - - break; + deidentifyTemplate_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deidentifyTemplate_); + deidentifyTemplate_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * 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 @@ -166,33 +135,31 @@ 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. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * 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 { @@ -203,14 +170,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; /** - * - * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; - * * @return Whether the deidentifyTemplate field is set. */ @java.lang.Override @@ -218,25 +182,18 @@ public boolean hasDeidentifyTemplate() { return deidentifyTemplate_ != null; } /** - * - * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; - * * @return The deidentifyTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { - return deidentifyTemplate_ == null - ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() - : deidentifyTemplate_; + return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; } /** - * - * *
    * New DeidentifyTemplate value.
    * 
@@ -251,14 +208,11 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -266,14 +220,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -281,8 +232,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -295,7 +244,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -330,10 +279,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (deidentifyTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDeidentifyTemplate()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -343,22 +294,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.privacy.dlp.v2.UpdateDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest other = - (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasDeidentifyTemplate() != other.hasDeidentifyTemplate()) return false; if (hasDeidentifyTemplate()) { - if (!getDeidentifyTemplate().equals(other.getDeidentifyTemplate())) return false; + if (!getDeidentifyTemplate() + .equals(other.getDeidentifyTemplate())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -387,127 +340,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.newBuilder() @@ -515,15 +458,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -566,8 +510,7 @@ public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest result = - new com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest(this); result.name_ = name_; if (deidentifyTemplateBuilder_ == null) { result.deidentifyTemplate_ = deidentifyTemplate_; @@ -587,39 +530,38 @@ public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -627,8 +569,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -658,8 +599,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -671,24 +611,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * 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; @@ -697,25 +633,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * 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 { @@ -723,73 +656,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -797,47 +717,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> - deidentifyTemplateBuilder_; + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> deidentifyTemplateBuilder_; /** - * - * *
      * New DeidentifyTemplate value.
      * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; - * * @return Whether the deidentifyTemplate field is set. */ public boolean hasDeidentifyTemplate() { return deidentifyTemplateBuilder_ != null || deidentifyTemplate_ != null; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; - * * @return The deidentifyTemplate. */ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { if (deidentifyTemplateBuilder_ == null) { - return deidentifyTemplate_ == null - ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() - : deidentifyTemplate_; + return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; } else { return deidentifyTemplateBuilder_.getMessage(); } } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -858,8 +765,6 @@ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplat return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -878,8 +783,6 @@ public Builder setDeidentifyTemplate( return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -890,9 +793,7 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl if (deidentifyTemplateBuilder_ == null) { if (deidentifyTemplate_ != null) { deidentifyTemplate_ = - com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_).mergeFrom(value).buildPartial(); } else { deidentifyTemplate_ = value; } @@ -904,8 +805,6 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -924,8 +823,6 @@ public Builder clearDeidentifyTemplate() { return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -933,13 +830,11 @@ public Builder clearDeidentifyTemplate() { * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; */ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplateBuilder() { - + onChanged(); return getDeidentifyTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -950,14 +845,11 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla if (deidentifyTemplateBuilder_ != null) { return deidentifyTemplateBuilder_.getMessageOrBuilder(); } else { - return deidentifyTemplate_ == null - ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() - : deidentifyTemplate_; + return deidentifyTemplate_ == null ? + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; } } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -965,17 +857,14 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> getDeidentifyTemplateFieldBuilder() { if (deidentifyTemplateBuilder_ == null) { - deidentifyTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, - com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( - getDeidentifyTemplate(), getParentForChildren(), isClean()); + deidentifyTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( + getDeidentifyTemplate(), + getParentForChildren(), + isClean()); deidentifyTemplate_ = null; } return deidentifyTemplateBuilder_; @@ -983,47 +872,34 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla 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_; /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1044,15 +920,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1063,8 +938,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1075,7 +948,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1087,8 +960,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1107,8 +978,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1116,13 +985,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1133,14 +1000,11 @@ 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_; } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1148,24 +1012,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1175,12 +1036,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest(); } @@ -1189,16 +1050,16 @@ public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1213,4 +1074,6 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java index 4dd521b8..72bfe90f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java @@ -1,88 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateDeidentifyTemplateRequestOrBuilder - extends +public interface UpdateDeidentifyTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * 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. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * - * 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(); /** - * - * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; - * * @return Whether the deidentifyTemplate field is set. */ boolean hasDeidentifyTemplate(); /** - * - * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; - * * @return The deidentifyTemplate. */ com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate(); /** - * - * *
    * New DeidentifyTemplate value.
    * 
@@ -92,32 +59,24 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java index ab49307f..6cda5a80 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for UpdateInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateInspectTemplateRequest} */ -public final class UpdateInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateInspectTemplateRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateInspectTemplateRequest) UpdateInspectTemplateRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateInspectTemplateRequest.newBuilder() to construct. private UpdateInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateInspectTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,93 +53,80 @@ private UpdateInspectTemplateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; + if (inspectTemplate_ != null) { + subBuilder = inspectTemplate_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; - if (inspectTemplate_ != null) { - subBuilder = inspectTemplate_.toBuilder(); - } - inspectTemplate_ = - input.readMessage( - com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectTemplate_); - inspectTemplate_ = subBuilder.buildPartial(); - } - - break; + inspectTemplate_ = input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectTemplate_); + inspectTemplate_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * 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 @@ -165,33 +135,31 @@ 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. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * 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 { @@ -202,14 +170,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSPECT_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; /** - * - * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; - * * @return Whether the inspectTemplate field is set. */ @java.lang.Override @@ -217,25 +182,18 @@ public boolean hasInspectTemplate() { return inspectTemplate_ != null; } /** - * - * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; - * * @return The inspectTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { - return inspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : inspectTemplate_; + return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; } /** - * - * *
    * New InspectTemplate value.
    * 
@@ -250,14 +208,11 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -265,14 +220,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -280,8 +232,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -294,7 +244,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -329,10 +279,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (inspectTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInspectTemplate()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,22 +294,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.privacy.dlp.v2.UpdateInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest other = - (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest other = (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasInspectTemplate() != other.hasInspectTemplate()) return false; if (hasInspectTemplate()) { - if (!getInspectTemplate().equals(other.getInspectTemplate())) return false; + if (!getInspectTemplate() + .equals(other.getInspectTemplate())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -386,127 +340,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateInspectTemplateRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateInspectTemplateRequest) com.google.privacy.dlp.v2.UpdateInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.newBuilder() @@ -514,15 +458,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; } @java.lang.Override @@ -565,8 +510,7 @@ public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest result = - new com.google.privacy.dlp.v2.UpdateInspectTemplateRequest(this); + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest result = new com.google.privacy.dlp.v2.UpdateInspectTemplateRequest(this); result.name_ = name_; if (inspectTemplateBuilder_ == null) { result.inspectTemplate_ = inspectTemplate_; @@ -586,39 +530,38 @@ public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateInspectTemplateRequest)other); } else { super.mergeFrom(other); return this; @@ -626,8 +569,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -657,8 +599,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,24 +611,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * 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; @@ -696,25 +633,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * 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 { @@ -722,73 +656,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -796,47 +717,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> - inspectTemplateBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> inspectTemplateBuilder_; /** - * - * *
      * New InspectTemplate value.
      * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; - * * @return Whether the inspectTemplate field is set. */ public boolean hasInspectTemplate() { return inspectTemplateBuilder_ != null || inspectTemplate_ != null; } /** - * - * *
      * New InspectTemplate value.
      * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; - * * @return The inspectTemplate. */ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { if (inspectTemplateBuilder_ == null) { - return inspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : inspectTemplate_; + return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; } else { return inspectTemplateBuilder_.getMessage(); } } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -857,8 +765,6 @@ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate valu return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -877,8 +783,6 @@ public Builder setInspectTemplate( return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -889,9 +793,7 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va if (inspectTemplateBuilder_ == null) { if (inspectTemplate_ != null) { inspectTemplate_ = - com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_).mergeFrom(value).buildPartial(); } else { inspectTemplate_ = value; } @@ -903,8 +805,6 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -923,8 +823,6 @@ public Builder clearInspectTemplate() { return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -932,13 +830,11 @@ public Builder clearInspectTemplate() { * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; */ public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplateBuilder() { - + onChanged(); return getInspectTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -949,14 +845,11 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu if (inspectTemplateBuilder_ != null) { return inspectTemplateBuilder_.getMessageOrBuilder(); } else { - return inspectTemplate_ == null - ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() - : inspectTemplate_; + return inspectTemplate_ == null ? + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; } } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -964,17 +857,14 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> getInspectTemplateFieldBuilder() { if (inspectTemplateBuilder_ == null) { - inspectTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, - com.google.privacy.dlp.v2.InspectTemplate.Builder, - com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( - getInspectTemplate(), getParentForChildren(), isClean()); + inspectTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( + getInspectTemplate(), + getParentForChildren(), + isClean()); inspectTemplate_ = null; } return inspectTemplateBuilder_; @@ -982,47 +872,34 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu 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_; /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1043,15 +920,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1062,8 +938,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1074,7 +948,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1086,8 +960,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1106,8 +978,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1115,13 +985,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1132,14 +1000,11 @@ 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_; } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1147,24 +1012,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1174,12 +1036,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateInspectTemplateRequest) private static final com.google.privacy.dlp.v2.UpdateInspectTemplateRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateInspectTemplateRequest(); } @@ -1188,16 +1050,16 @@ public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1212,4 +1074,6 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java index e98a8648..bbe54d47 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java @@ -1,88 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateInspectTemplateRequestOrBuilder - extends +public interface UpdateInspectTemplateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateInspectTemplateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * 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. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * - * 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(); /** - * - * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; - * * @return Whether the inspectTemplate field is set. */ boolean hasInspectTemplate(); /** - * - * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; - * * @return The inspectTemplate. */ com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate(); /** - * - * *
    * New InspectTemplate value.
    * 
@@ -92,32 +59,24 @@ public interface UpdateInspectTemplateRequestOrBuilder com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java index 79598f4c..57a8959c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for UpdateJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateJobTriggerRequest} */ -public final class UpdateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateJobTriggerRequest) UpdateJobTriggerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobTriggerRequest.newBuilder() to construct. private UpdateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,92 +53,79 @@ private UpdateJobTriggerRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; + if (jobTrigger_ != null) { + subBuilder = jobTrigger_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; - if (jobTrigger_ != null) { - subBuilder = jobTrigger_.toBuilder(); - } - jobTrigger_ = - input.readMessage( - com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobTrigger_); - jobTrigger_ = subBuilder.buildPartial(); - } - - break; + jobTrigger_ = input.readMessage(com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobTrigger_); + jobTrigger_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 @@ -164,32 +134,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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 { @@ -200,14 +168,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int JOB_TRIGGER_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; /** - * - * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; - * * @return Whether the jobTrigger field is set. */ @java.lang.Override @@ -215,25 +180,18 @@ public boolean hasJobTrigger() { return jobTrigger_ != null; } /** - * - * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; - * * @return The jobTrigger. */ @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { - return jobTrigger_ == null - ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() - : jobTrigger_; + return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; } /** - * - * *
    * New JobTrigger value.
    * 
@@ -248,14 +206,11 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -263,14 +218,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -278,8 +230,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -292,7 +242,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +253,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -327,10 +277,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (jobTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJobTrigger()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -340,22 +292,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.privacy.dlp.v2.UpdateJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateJobTriggerRequest other = - (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) obj; + com.google.privacy.dlp.v2.UpdateJobTriggerRequest other = (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasJobTrigger() != other.hasJobTrigger()) return false; if (hasJobTrigger()) { - if (!getJobTrigger().equals(other.getJobTrigger())) return false; + if (!getJobTrigger() + .equals(other.getJobTrigger())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -384,126 +338,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateJobTriggerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateJobTriggerRequest) com.google.privacy.dlp.v2.UpdateJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateJobTriggerRequest.newBuilder() @@ -511,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; } @java.lang.Override @@ -562,8 +508,7 @@ public com.google.privacy.dlp.v2.UpdateJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateJobTriggerRequest result = - new com.google.privacy.dlp.v2.UpdateJobTriggerRequest(this); + com.google.privacy.dlp.v2.UpdateJobTriggerRequest result = new com.google.privacy.dlp.v2.UpdateJobTriggerRequest(this); result.name_ = name_; if (jobTriggerBuilder_ == null) { result.jobTrigger_ = jobTrigger_; @@ -583,39 +528,38 @@ public com.google.privacy.dlp.v2.UpdateJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateJobTriggerRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateJobTriggerRequest)other); } else { super.mergeFrom(other); return this; @@ -623,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateJobTriggerRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.UpdateJobTriggerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -654,8 +597,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,23 +609,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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; @@ -692,24 +630,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * 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 { @@ -717,70 +652,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -788,47 +710,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder> - jobTriggerBuilder_; + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> jobTriggerBuilder_; /** - * - * *
      * New JobTrigger value.
      * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; - * * @return Whether the jobTrigger field is set. */ public boolean hasJobTrigger() { return jobTriggerBuilder_ != null || jobTrigger_ != null; } /** - * - * *
      * New JobTrigger value.
      * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; - * * @return The jobTrigger. */ public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { if (jobTriggerBuilder_ == null) { - return jobTrigger_ == null - ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() - : jobTrigger_; + return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; } else { return jobTriggerBuilder_.getMessage(); } } /** - * - * *
      * New JobTrigger value.
      * 
@@ -849,15 +758,14 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** - * - * *
      * New JobTrigger value.
      * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; */ - public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { + public Builder setJobTrigger( + com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { if (jobTriggerBuilder_ == null) { jobTrigger_ = builderForValue.build(); onChanged(); @@ -868,8 +776,6 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builde return this; } /** - * - * *
      * New JobTrigger value.
      * 
@@ -880,9 +786,7 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggerBuilder_ == null) { if (jobTrigger_ != null) { jobTrigger_ = - com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_).mergeFrom(value).buildPartial(); } else { jobTrigger_ = value; } @@ -894,8 +798,6 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** - * - * *
      * New JobTrigger value.
      * 
@@ -914,8 +816,6 @@ public Builder clearJobTrigger() { return this; } /** - * - * *
      * New JobTrigger value.
      * 
@@ -923,13 +823,11 @@ public Builder clearJobTrigger() { * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; */ public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggerBuilder() { - + onChanged(); return getJobTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * New JobTrigger value.
      * 
@@ -940,14 +838,11 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { if (jobTriggerBuilder_ != null) { return jobTriggerBuilder_.getMessageOrBuilder(); } else { - return jobTrigger_ == null - ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() - : jobTrigger_; + return jobTrigger_ == null ? + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; } } /** - * - * *
      * New JobTrigger value.
      * 
@@ -955,17 +850,14 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder> + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> getJobTriggerFieldBuilder() { if (jobTriggerBuilder_ == null) { - jobTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, - com.google.privacy.dlp.v2.JobTrigger.Builder, - com.google.privacy.dlp.v2.JobTriggerOrBuilder>( - getJobTrigger(), getParentForChildren(), isClean()); + jobTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder>( + getJobTrigger(), + getParentForChildren(), + isClean()); jobTrigger_ = null; } return jobTriggerBuilder_; @@ -973,47 +865,34 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { 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_; /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1034,15 +913,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1053,8 +931,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1065,7 +941,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1077,8 +953,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1097,8 +971,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1106,13 +978,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1123,14 +993,11 @@ 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_; } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1138,24 +1005,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1165,12 +1029,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateJobTriggerRequest) private static final com.google.privacy.dlp.v2.UpdateJobTriggerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateJobTriggerRequest(); } @@ -1179,16 +1043,16 @@ public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1203,4 +1067,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.UpdateJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java index 10d7cd58..513d1bc8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateJobTriggerRequestOrBuilder - extends +public interface UpdateJobTriggerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateJobTriggerRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * - * 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(); /** - * - * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; - * * @return Whether the jobTrigger field is set. */ boolean hasJobTrigger(); /** - * - * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; - * * @return The jobTrigger. */ com.google.privacy.dlp.v2.JobTrigger getJobTrigger(); /** - * - * *
    * New JobTrigger value.
    * 
@@ -90,32 +57,24 @@ public interface UpdateJobTriggerRequestOrBuilder com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java index 6db6a348..4cd63f2a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Request message for UpdateStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateStoredInfoTypeRequest} */ -public final class UpdateStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateStoredInfoTypeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) UpdateStoredInfoTypeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateStoredInfoTypeRequest.newBuilder() to construct. private UpdateStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateStoredInfoTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,93 +53,80 @@ private UpdateStoredInfoTypeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + config_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * 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 @@ -165,33 +135,31 @@ 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. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * 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 { @@ -202,8 +170,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; /** - * - * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -211,7 +177,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -219,8 +184,6 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -228,18 +191,13 @@ public boolean hasConfig() {
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return The config. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } /** - * - * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -256,14 +214,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
   public static final int UPDATE_MASK_FIELD_NUMBER = 3;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -271,14 +226,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -286,8 +238,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -300,7 +250,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -335,10 +285,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConfig()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,22 +300,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.privacy.dlp.v2.UpdateStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest other = - (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -392,127 +346,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateStoredInfoTypeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.newBuilder() @@ -520,15 +464,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -571,8 +516,7 @@ public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest result = - new com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest(this); result.name_ = name_; if (configBuilder_ == null) { result.config_ = config_; @@ -592,39 +536,38 @@ public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest)other); } else { super.mergeFrom(other); return this; @@ -632,8 +575,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -663,8 +605,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,24 +617,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * 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; @@ -702,25 +639,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * 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 { @@ -728,73 +662,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -802,13 +723,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, - com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> - configBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> configBuilder_; /** - * - * *
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -816,15 +732,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -832,21 +745,16 @@ public boolean hasConfig() {
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return The config. */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -869,8 +777,6 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -891,8 +797,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -905,9 +809,7 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value)
       if (configBuilder_ == null) {
         if (config_ != null) {
           config_ =
-              com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_).mergeFrom(value).buildPartial();
         } else {
           config_ = value;
         }
@@ -919,8 +821,6 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -941,8 +841,6 @@ public Builder clearConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -952,13 +850,11 @@ public Builder clearConfig() {
      * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
      */
     public com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder getConfigBuilder() {
-
+      
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -971,14 +867,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
       if (configBuilder_ != null) {
         return configBuilder_.getMessageOrBuilder();
       } else {
-        return config_ == null
-            ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance()
-            : config_;
+        return config_ == null ?
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_;
       }
     }
     /**
-     *
-     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -988,17 +881,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
      * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig,
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder,
-            com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>
+        com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> 
         getConfigFieldBuilder() {
       if (configBuilder_ == null) {
-        configBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.StoredInfoTypeConfig,
-                com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder,
-                com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>(
-                getConfig(), getParentForChildren(), isClean());
+        configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>(
+                getConfig(),
+                getParentForChildren(),
+                isClean());
         config_ = null;
       }
       return configBuilder_;
@@ -1006,47 +896,34 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
 
     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_;
     /**
-     *
-     *
      * 
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1067,15 +944,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1086,8 +962,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1098,7 +972,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1110,8 +984,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1130,8 +1002,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1139,13 +1009,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1156,14 +1024,11 @@ 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_; } } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1171,24 +1036,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1198,12 +1060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest(); } @@ -1212,16 +1074,16 @@ public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1236,4 +1098,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java index db754e33..57169717 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateStoredInfoTypeRequestOrBuilder - extends +public interface UpdateStoredInfoTypeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * 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. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * - * 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(); /** - * - * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -66,13 +39,10 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -80,13 +50,10 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return The config. */ com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig(); /** - * - * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -98,32 +65,24 @@ public interface UpdateStoredInfoTypeRequestOrBuilder
   com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Mask to control which fields get updated.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java index 7a7959dd..eb9ea593 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * Set of primitive values supported by the system.
  * Note that for the purposes of inspection or transformation, the number
@@ -32,29 +15,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Value}
  */
-public final class Value extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Value extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Value)
     ValueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Value.newBuilder() to construct.
   private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Value() {}
+  private Value() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Value();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Value(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,119 +57,111 @@ private Value(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              typeCase_ = 1;
-              type_ = input.readInt64();
-              break;
-            }
-          case 17:
-            {
-              typeCase_ = 2;
-              type_ = input.readDouble();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              typeCase_ = 3;
-              type_ = s;
-              break;
+          case 8: {
+            typeCase_ = 1;
+            type_ = input.readInt64();
+            break;
+          }
+          case 17: {
+            typeCase_ = 2;
+            type_ = input.readDouble();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            typeCase_ = 3;
+            type_ = s;
+            break;
+          }
+          case 32: {
+            typeCase_ = 4;
+            type_ = input.readBool();
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (typeCase_ == 5) {
+              subBuilder = ((com.google.protobuf.Timestamp) type_).toBuilder();
             }
-          case 32:
-            {
-              typeCase_ = 4;
-              type_ = input.readBool();
-              break;
+            type_ =
+                input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.protobuf.Timestamp) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (typeCase_ == 5) {
-                subBuilder = ((com.google.protobuf.Timestamp) type_).toBuilder();
-              }
-              type_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.protobuf.Timestamp) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 5;
-              break;
+            typeCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.type.TimeOfDay.Builder subBuilder = null;
+            if (typeCase_ == 6) {
+              subBuilder = ((com.google.type.TimeOfDay) type_).toBuilder();
             }
-          case 50:
-            {
-              com.google.type.TimeOfDay.Builder subBuilder = null;
-              if (typeCase_ == 6) {
-                subBuilder = ((com.google.type.TimeOfDay) type_).toBuilder();
-              }
-              type_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.type.TimeOfDay) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 6;
-              break;
+            type_ =
+                input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.type.TimeOfDay) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.type.Date.Builder subBuilder = null;
-              if (typeCase_ == 7) {
-                subBuilder = ((com.google.type.Date) type_).toBuilder();
-              }
-              type_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.type.Date) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 7;
-              break;
+            typeCase_ = 6;
+            break;
+          }
+          case 58: {
+            com.google.type.Date.Builder subBuilder = null;
+            if (typeCase_ == 7) {
+              subBuilder = ((com.google.type.Date) type_).toBuilder();
             }
-          case 64:
-            {
-              int rawValue = input.readEnum();
-              typeCase_ = 8;
-              type_ = rawValue;
-              break;
+            type_ =
+                input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.type.Date) type_);
+              type_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            typeCase_ = 7;
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
+            typeCase_ = 8;
+            type_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Value_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Value.class, com.google.privacy.dlp.v2.Value.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
-
   public enum TypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGER_VALUE(1),
     FLOAT_VALUE(2),
@@ -197,7 +173,6 @@ public enum TypeCase
     DAY_OF_WEEK_VALUE(8),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -213,48 +188,36 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return INTEGER_VALUE;
-        case 2:
-          return FLOAT_VALUE;
-        case 3:
-          return STRING_VALUE;
-        case 4:
-          return BOOLEAN_VALUE;
-        case 5:
-          return TIMESTAMP_VALUE;
-        case 6:
-          return TIME_VALUE;
-        case 7:
-          return DATE_VALUE;
-        case 8:
-          return DAY_OF_WEEK_VALUE;
-        case 0:
-          return TYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return INTEGER_VALUE;
+        case 2: return FLOAT_VALUE;
+        case 3: return STRING_VALUE;
+        case 4: return BOOLEAN_VALUE;
+        case 5: return TIMESTAMP_VALUE;
+        case 6: return TIME_VALUE;
+        case 7: return DATE_VALUE;
+        case 8: return DAY_OF_WEEK_VALUE;
+        case 0: return TYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase getTypeCase() {
-    return TypeCase.forNumber(typeCase_);
+  public TypeCase
+  getTypeCase() {
+    return TypeCase.forNumber(
+        typeCase_);
   }
 
   public static final int INTEGER_VALUE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * integer
    * 
* * int64 integer_value = 1; - * * @return Whether the integerValue field is set. */ @java.lang.Override @@ -262,14 +225,11 @@ public boolean hasIntegerValue() { return typeCase_ == 1; } /** - * - * *
    * integer
    * 
* * int64 integer_value = 1; - * * @return The integerValue. */ @java.lang.Override @@ -282,14 +242,11 @@ public long getIntegerValue() { public static final int FLOAT_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * float
    * 
* * double float_value = 2; - * * @return Whether the floatValue field is set. */ @java.lang.Override @@ -297,14 +254,11 @@ public boolean hasFloatValue() { return typeCase_ == 2; } /** - * - * *
    * float
    * 
* * double float_value = 2; - * * @return The floatValue. */ @java.lang.Override @@ -317,28 +271,22 @@ public double getFloatValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * string
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return typeCase_ == 3; } /** - * - * *
    * string
    * 
* * string string_value = 3; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -349,7 +297,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (typeCase_ == 3) { type_ = s; @@ -358,24 +307,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * string
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { 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); if (typeCase_ == 3) { type_ = b; } @@ -387,14 +335,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int BOOLEAN_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * boolean
    * 
* * bool boolean_value = 4; - * * @return Whether the booleanValue field is set. */ @java.lang.Override @@ -402,14 +347,11 @@ public boolean hasBooleanValue() { return typeCase_ == 4; } /** - * - * *
    * boolean
    * 
* * bool boolean_value = 4; - * * @return The booleanValue. */ @java.lang.Override @@ -422,14 +364,11 @@ public boolean getBooleanValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -437,26 +376,21 @@ public boolean hasTimestampValue() { return typeCase_ == 5; } /** - * - * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (typeCase_ == 5) { - return (com.google.protobuf.Timestamp) type_; + return (com.google.protobuf.Timestamp) type_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * timestamp
    * 
@@ -466,21 +400,18 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (typeCase_ == 5) { - return (com.google.protobuf.Timestamp) type_; + return (com.google.protobuf.Timestamp) type_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int TIME_VALUE_FIELD_NUMBER = 6; /** - * - * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; - * * @return Whether the timeValue field is set. */ @java.lang.Override @@ -488,26 +419,21 @@ public boolean hasTimeValue() { return typeCase_ == 6; } /** - * - * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; - * * @return The timeValue. */ @java.lang.Override public com.google.type.TimeOfDay getTimeValue() { if (typeCase_ == 6) { - return (com.google.type.TimeOfDay) type_; + return (com.google.type.TimeOfDay) type_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** - * - * *
    * time of day
    * 
@@ -517,21 +443,18 @@ public com.google.type.TimeOfDay getTimeValue() { @java.lang.Override public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { if (typeCase_ == 6) { - return (com.google.type.TimeOfDay) type_; + return (com.google.type.TimeOfDay) type_; } return com.google.type.TimeOfDay.getDefaultInstance(); } public static final int DATE_VALUE_FIELD_NUMBER = 7; /** - * - * *
    * date
    * 
* * .google.type.Date date_value = 7; - * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -539,26 +462,21 @@ public boolean hasDateValue() { return typeCase_ == 7; } /** - * - * *
    * date
    * 
* * .google.type.Date date_value = 7; - * * @return The dateValue. */ @java.lang.Override public com.google.type.Date getDateValue() { if (typeCase_ == 7) { - return (com.google.type.Date) type_; + return (com.google.type.Date) type_; } return com.google.type.Date.getDefaultInstance(); } /** - * - * *
    * date
    * 
@@ -568,35 +486,29 @@ public com.google.type.Date getDateValue() { @java.lang.Override public com.google.type.DateOrBuilder getDateValueOrBuilder() { if (typeCase_ == 7) { - return (com.google.type.Date) type_; + return (com.google.type.Date) type_; } return com.google.type.Date.getDefaultInstance(); } public static final int DAY_OF_WEEK_VALUE_FIELD_NUMBER = 8; /** - * - * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return Whether the dayOfWeekValue field is set. */ public boolean hasDayOfWeekValue() { return typeCase_ == 8; } /** - * - * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return The enum numeric value on the wire for dayOfWeekValue. */ public int getDayOfWeekValueValue() { @@ -606,28 +518,24 @@ public int getDayOfWeekValueValue() { return 0; } /** - * - * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return The dayOfWeekValue. */ public com.google.type.DayOfWeek getDayOfWeekValue() { if (typeCase_ == 8) { @SuppressWarnings("deprecation") - com.google.type.DayOfWeek result = - com.google.type.DayOfWeek.valueOf((java.lang.Integer) type_); + com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf( + (java.lang.Integer) type_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } return com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -639,18 +547,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) type_)); + output.writeInt64( + 1, (long)((java.lang.Long) type_)); } if (typeCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) type_)); + output.writeDouble( + 2, (double)((java.lang.Double) type_)); } if (typeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (typeCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) type_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) type_)); } if (typeCase_ == 5) { output.writeMessage(5, (com.google.protobuf.Timestamp) type_); @@ -674,39 +586,38 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) type_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 1, (long)((java.lang.Long) type_)); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) type_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) type_)); } if (typeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (typeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) type_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) type_)); } if (typeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.protobuf.Timestamp) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.protobuf.Timestamp) type_); } if (typeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.type.TimeOfDay) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.type.TimeOfDay) type_); } if (typeCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, (com.google.type.Date) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.type.Date) type_); } if (typeCase_ == 8) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, ((java.lang.Integer) type_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, ((java.lang.Integer) type_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -716,7 +627,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.privacy.dlp.v2.Value)) { return super.equals(obj); @@ -726,29 +637,37 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (getIntegerValue() != other.getIntegerValue()) return false; + if (getIntegerValue() + != other.getIntegerValue()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getFloatValue()) - != java.lang.Double.doubleToLongBits(other.getFloatValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getFloatValue())) return false; break; case 3: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 4: - if (getBooleanValue() != other.getBooleanValue()) return false; + if (getBooleanValue() + != other.getBooleanValue()) return false; break; case 5: - if (!getTimestampValue().equals(other.getTimestampValue())) return false; + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; break; case 6: - if (!getTimeValue().equals(other.getTimeValue())) return false; + if (!getTimeValue() + .equals(other.getTimeValue())) return false; break; case 7: - if (!getDateValue().equals(other.getDateValue())) return false; + if (!getDateValue() + .equals(other.getDateValue())) return false; break; case 8: - if (getDayOfWeekValueValue() != other.getDayOfWeekValueValue()) return false; + if (getDayOfWeekValueValue() + != other.getDayOfWeekValueValue()) return false; break; case 0: default: @@ -767,14 +686,13 @@ public int hashCode() { switch (typeCase_) { case 1: hash = (37 * hash) + INTEGER_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntegerValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntegerValue()); break; case 2: hash = (37 * hash) + FLOAT_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFloatValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFloatValue())); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -782,7 +700,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBooleanValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBooleanValue()); break; case 5: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -808,103 +727,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Value parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Value parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Value parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.Value parseFrom(com.google.protobuf.ByteString data) + public static com.google.privacy.dlp.v2.Value parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.Value parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Value parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Value parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Value 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.privacy.dlp.v2.Value parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Value parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Set of primitive values supported by the system.
    * Note that for the purposes of inspection or transformation, the number
@@ -916,20 +829,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.Value}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Value)
       com.google.privacy.dlp.v2.ValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Value_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Value.class, com.google.privacy.dlp.v2.Value.Builder.class);
     }
@@ -939,15 +851,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -957,9 +870,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_Value_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_descriptor;
     }
 
     @java.lang.Override
@@ -1024,39 +937,38 @@ public com.google.privacy.dlp.v2.Value buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Value) {
-        return mergeFrom((com.google.privacy.dlp.v2.Value) other);
+        return mergeFrom((com.google.privacy.dlp.v2.Value)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1066,52 +978,43 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.Value other) {
       if (other == com.google.privacy.dlp.v2.Value.getDefaultInstance()) return this;
       switch (other.getTypeCase()) {
-        case INTEGER_VALUE:
-          {
-            setIntegerValue(other.getIntegerValue());
-            break;
-          }
-        case FLOAT_VALUE:
-          {
-            setFloatValue(other.getFloatValue());
-            break;
-          }
-        case STRING_VALUE:
-          {
-            typeCase_ = 3;
-            type_ = other.type_;
-            onChanged();
-            break;
-          }
-        case BOOLEAN_VALUE:
-          {
-            setBooleanValue(other.getBooleanValue());
-            break;
-          }
-        case TIMESTAMP_VALUE:
-          {
-            mergeTimestampValue(other.getTimestampValue());
-            break;
-          }
-        case TIME_VALUE:
-          {
-            mergeTimeValue(other.getTimeValue());
-            break;
-          }
-        case DATE_VALUE:
-          {
-            mergeDateValue(other.getDateValue());
-            break;
-          }
-        case DAY_OF_WEEK_VALUE:
-          {
-            setDayOfWeekValueValue(other.getDayOfWeekValueValue());
-            break;
-          }
-        case TYPE_NOT_SET:
-          {
-            break;
-          }
+        case INTEGER_VALUE: {
+          setIntegerValue(other.getIntegerValue());
+          break;
+        }
+        case FLOAT_VALUE: {
+          setFloatValue(other.getFloatValue());
+          break;
+        }
+        case STRING_VALUE: {
+          typeCase_ = 3;
+          type_ = other.type_;
+          onChanged();
+          break;
+        }
+        case BOOLEAN_VALUE: {
+          setBooleanValue(other.getBooleanValue());
+          break;
+        }
+        case TIMESTAMP_VALUE: {
+          mergeTimestampValue(other.getTimestampValue());
+          break;
+        }
+        case TIME_VALUE: {
+          mergeTimeValue(other.getTimeValue());
+          break;
+        }
+        case DATE_VALUE: {
+          mergeDateValue(other.getDateValue());
+          break;
+        }
+        case DAY_OF_WEEK_VALUE: {
+          setDayOfWeekValueValue(other.getDayOfWeekValueValue());
+          break;
+        }
+        case TYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1141,12 +1044,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+        getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public Builder clearType() {
@@ -1156,29 +1059,24 @@ public Builder clearType() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * integer
      * 
* * int64 integer_value = 1; - * * @return Whether the integerValue field is set. */ public boolean hasIntegerValue() { return typeCase_ == 1; } /** - * - * *
      * integer
      * 
* * int64 integer_value = 1; - * * @return The integerValue. */ public long getIntegerValue() { @@ -1188,14 +1086,11 @@ public long getIntegerValue() { return 0L; } /** - * - * *
      * integer
      * 
* * int64 integer_value = 1; - * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1206,14 +1101,11 @@ public Builder setIntegerValue(long value) { return this; } /** - * - * *
      * integer
      * 
* * int64 integer_value = 1; - * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1226,28 +1118,22 @@ public Builder clearIntegerValue() { } /** - * - * *
      * float
      * 
* * double float_value = 2; - * * @return Whether the floatValue field is set. */ public boolean hasFloatValue() { return typeCase_ == 2; } /** - * - * *
      * float
      * 
* * double float_value = 2; - * * @return The floatValue. */ public double getFloatValue() { @@ -1257,14 +1143,11 @@ public double getFloatValue() { return 0D; } /** - * - * *
      * float
      * 
* * double float_value = 2; - * * @param value The floatValue to set. * @return This builder for chaining. */ @@ -1275,14 +1158,11 @@ public Builder setFloatValue(double value) { return this; } /** - * - * *
      * float
      * 
* * double float_value = 2; - * * @return This builder for chaining. */ public Builder clearFloatValue() { @@ -1295,14 +1175,11 @@ public Builder clearFloatValue() { } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1310,14 +1187,11 @@ public boolean hasStringValue() { return typeCase_ == 3; } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @return The stringValue. */ @java.lang.Override @@ -1327,7 +1201,8 @@ public java.lang.String getStringValue() { 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(); if (typeCase_ == 3) { type_ = s; @@ -1338,25 +1213,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { 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); if (typeCase_ == 3) { type_ = b; } @@ -1366,35 +1240,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 3; + throw new NullPointerException(); + } + typeCase_ = 3; type_ = value; onChanged(); return this; } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1406,22 +1275,20 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); typeCase_ = 3; type_ = value; onChanged(); @@ -1429,28 +1296,22 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * boolean
      * 
* * bool boolean_value = 4; - * * @return Whether the booleanValue field is set. */ public boolean hasBooleanValue() { return typeCase_ == 4; } /** - * - * *
      * boolean
      * 
* * bool boolean_value = 4; - * * @return The booleanValue. */ public boolean getBooleanValue() { @@ -1460,14 +1321,11 @@ public boolean getBooleanValue() { return false; } /** - * - * *
      * boolean
      * 
* * bool boolean_value = 4; - * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1478,14 +1336,11 @@ public Builder setBooleanValue(boolean value) { return this; } /** - * - * *
      * boolean
      * 
* * bool boolean_value = 4; - * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1498,19 +1353,13 @@ public Builder clearBooleanValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampValueBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; /** - * - * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1518,14 +1367,11 @@ public boolean hasTimestampValue() { return typeCase_ == 5; } /** - * - * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override @@ -1543,8 +1389,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * timestamp
      * 
@@ -1565,15 +1409,14 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; */ - public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue( + com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -1584,8 +1427,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * timestamp
      * 
@@ -1594,11 +1435,10 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (typeCase_ == 5 && type_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - type_ = - com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 5 && + type_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + type_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1613,8 +1453,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * timestamp
      * 
@@ -1638,8 +1476,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * timestamp
      * 
@@ -1650,8 +1486,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * timestamp
      * 
@@ -1670,8 +1504,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * timestamp
      * 
@@ -1679,42 +1511,32 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) type_, getParentForChildren(), isClean()); + timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 5; - onChanged(); - ; + onChanged();; return timestampValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - timeValueBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeValueBuilder_; /** - * - * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; - * * @return Whether the timeValue field is set. */ @java.lang.Override @@ -1722,14 +1544,11 @@ public boolean hasTimeValue() { return typeCase_ == 6; } /** - * - * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; - * * @return The timeValue. */ @java.lang.Override @@ -1747,8 +1566,6 @@ public com.google.type.TimeOfDay getTimeValue() { } } /** - * - * *
      * time of day
      * 
@@ -1769,15 +1586,14 @@ public Builder setTimeValue(com.google.type.TimeOfDay value) { return this; } /** - * - * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; */ - public Builder setTimeValue(com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTimeValue( + com.google.type.TimeOfDay.Builder builderForValue) { if (timeValueBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -1788,8 +1604,6 @@ public Builder setTimeValue(com.google.type.TimeOfDay.Builder builderForValue) { return this; } /** - * - * *
      * time of day
      * 
@@ -1798,11 +1612,10 @@ public Builder setTimeValue(com.google.type.TimeOfDay.Builder builderForValue) { */ public Builder mergeTimeValue(com.google.type.TimeOfDay value) { if (timeValueBuilder_ == null) { - if (typeCase_ == 6 && type_ != com.google.type.TimeOfDay.getDefaultInstance()) { - type_ = - com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 6 && + type_ != com.google.type.TimeOfDay.getDefaultInstance()) { + type_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1817,8 +1630,6 @@ public Builder mergeTimeValue(com.google.type.TimeOfDay value) { return this; } /** - * - * *
      * time of day
      * 
@@ -1842,8 +1653,6 @@ public Builder clearTimeValue() { return this; } /** - * - * *
      * time of day
      * 
@@ -1854,8 +1663,6 @@ public com.google.type.TimeOfDay.Builder getTimeValueBuilder() { return getTimeValueFieldBuilder().getBuilder(); } /** - * - * *
      * time of day
      * 
@@ -1874,8 +1681,6 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { } } /** - * - * *
      * time of day
      * 
@@ -1883,40 +1688,32 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { * .google.type.TimeOfDay time_value = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> getTimeValueFieldBuilder() { if (timeValueBuilder_ == null) { if (!(typeCase_ == 6)) { type_ = com.google.type.TimeOfDay.getDefaultInstance(); } - timeValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder>( - (com.google.type.TimeOfDay) type_, getParentForChildren(), isClean()); + timeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( + (com.google.type.TimeOfDay) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 6; - onChanged(); - ; + onChanged();; return timeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - dateValueBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateValueBuilder_; /** - * - * *
      * date
      * 
* * .google.type.Date date_value = 7; - * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -1924,14 +1721,11 @@ public boolean hasDateValue() { return typeCase_ == 7; } /** - * - * *
      * date
      * 
* * .google.type.Date date_value = 7; - * * @return The dateValue. */ @java.lang.Override @@ -1949,8 +1743,6 @@ public com.google.type.Date getDateValue() { } } /** - * - * *
      * date
      * 
@@ -1971,15 +1763,14 @@ public Builder setDateValue(com.google.type.Date value) { return this; } /** - * - * *
      * date
      * 
* * .google.type.Date date_value = 7; */ - public Builder setDateValue(com.google.type.Date.Builder builderForValue) { + public Builder setDateValue( + com.google.type.Date.Builder builderForValue) { if (dateValueBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -1990,8 +1781,6 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
      * date
      * 
@@ -2000,11 +1789,10 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { */ public Builder mergeDateValue(com.google.type.Date value) { if (dateValueBuilder_ == null) { - if (typeCase_ == 7 && type_ != com.google.type.Date.getDefaultInstance()) { - type_ = - com.google.type.Date.newBuilder((com.google.type.Date) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 7 && + type_ != com.google.type.Date.getDefaultInstance()) { + type_ = com.google.type.Date.newBuilder((com.google.type.Date) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -2019,8 +1807,6 @@ public Builder mergeDateValue(com.google.type.Date value) { return this; } /** - * - * *
      * date
      * 
@@ -2044,8 +1830,6 @@ public Builder clearDateValue() { return this; } /** - * - * *
      * date
      * 
@@ -2056,8 +1840,6 @@ public com.google.type.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** - * - * *
      * date
      * 
@@ -2076,8 +1858,6 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } } /** - * - * *
      * date
      * 
@@ -2085,33 +1865,30 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * .google.type.Date date_value = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateValueFieldBuilder() { if (dateValueBuilder_ == null) { if (!(typeCase_ == 7)) { type_ = com.google.type.Date.getDefaultInstance(); } - dateValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - (com.google.type.Date) type_, getParentForChildren(), isClean()); + dateValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + (com.google.type.Date) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 7; - onChanged(); - ; + onChanged();; return dateValueBuilder_; } /** - * - * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return Whether the dayOfWeekValue field is set. */ @java.lang.Override @@ -2119,14 +1896,11 @@ public boolean hasDayOfWeekValue() { return typeCase_ == 8; } /** - * - * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return The enum numeric value on the wire for dayOfWeekValue. */ @java.lang.Override @@ -2137,14 +1911,11 @@ public int getDayOfWeekValueValue() { return 0; } /** - * - * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @param value The enum numeric value on the wire for dayOfWeekValue to set. * @return This builder for chaining. */ @@ -2155,35 +1926,29 @@ public Builder setDayOfWeekValueValue(int value) { return this; } /** - * - * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return The dayOfWeekValue. */ @java.lang.Override public com.google.type.DayOfWeek getDayOfWeekValue() { if (typeCase_ == 8) { @SuppressWarnings("deprecation") - com.google.type.DayOfWeek result = - com.google.type.DayOfWeek.valueOf((java.lang.Integer) type_); + com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf( + (java.lang.Integer) type_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } return com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED; } /** - * - * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @param value The dayOfWeekValue to set. * @return This builder for chaining. */ @@ -2197,14 +1962,11 @@ public Builder setDayOfWeekValue(com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return This builder for chaining. */ public Builder clearDayOfWeekValue() { @@ -2215,9 +1977,9 @@ public Builder clearDayOfWeekValue() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2227,12 +1989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Value) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Value) private static final com.google.privacy.dlp.v2.Value DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Value(); } @@ -2241,16 +2003,16 @@ public static com.google.privacy.dlp.v2.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Value(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Value(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2265,4 +2027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java index 9daa2bf1..65b408a6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** - * - * *
  * A value of a field, including its frequency.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ValueFrequency} */ -public final class ValueFrequency extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValueFrequency extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ValueFrequency) ValueFrequencyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValueFrequency.newBuilder() to construct. private ValueFrequency(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ValueFrequency() {} + private ValueFrequency() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValueFrequency(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ValueFrequency( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,71 +52,64 @@ private ValueFrequency( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); } - case 16: - { - count_ = input.readInt64(); - break; + value_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + count_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ValueFrequency.class, - com.google.privacy.dlp.v2.ValueFrequency.Builder.class); + com.google.privacy.dlp.v2.ValueFrequency.class, com.google.privacy.dlp.v2.ValueFrequency.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value value_; /** - * - * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; - * * @return Whether the value field is set. */ @java.lang.Override @@ -140,14 +117,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; - * * @return The value. */ @java.lang.Override @@ -155,8 +129,6 @@ public com.google.privacy.dlp.v2.Value getValue() { return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } /** - * - * *
    * A value contained in the field in question.
    * 
@@ -171,14 +143,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** - * - * *
    * How many times the value is contained in the field.
    * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -187,7 +156,6 @@ public long getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (value_ != null) { output.writeMessage(1, getValue()); } @@ -216,10 +185,12 @@ public int getSerializedSize() { size = 0; if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getValue()); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, count_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,7 +200,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.privacy.dlp.v2.ValueFrequency)) { return super.equals(obj); @@ -238,9 +209,11 @@ public boolean equals(final java.lang.Object obj) { if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,133 +230,125 @@ public int hashCode() { hash = (53 * hash) + getValue().hashCode(); } hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ValueFrequency parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ValueFrequency parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ValueFrequency parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ValueFrequency prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 value of a field, including its frequency.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ValueFrequency} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ValueFrequency) com.google.privacy.dlp.v2.ValueFrequencyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ValueFrequency.class, - com.google.privacy.dlp.v2.ValueFrequency.Builder.class); + com.google.privacy.dlp.v2.ValueFrequency.class, com.google.privacy.dlp.v2.ValueFrequency.Builder.class); } // Construct using com.google.privacy.dlp.v2.ValueFrequency.newBuilder() @@ -391,15 +356,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; } @java.lang.Override @@ -436,8 +402,7 @@ public com.google.privacy.dlp.v2.ValueFrequency build() { @java.lang.Override public com.google.privacy.dlp.v2.ValueFrequency buildPartial() { - com.google.privacy.dlp.v2.ValueFrequency result = - new com.google.privacy.dlp.v2.ValueFrequency(this); + com.google.privacy.dlp.v2.ValueFrequency result = new com.google.privacy.dlp.v2.ValueFrequency(this); if (valueBuilder_ == null) { result.value_ = value_; } else { @@ -452,39 +417,38 @@ public com.google.privacy.dlp.v2.ValueFrequency buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ValueFrequency) { - return mergeFrom((com.google.privacy.dlp.v2.ValueFrequency) other); + return mergeFrom((com.google.privacy.dlp.v2.ValueFrequency)other); } else { super.mergeFrom(other); return this; @@ -530,33 +494,24 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> - valueBuilder_; + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> valueBuilder_; /** - * - * *
      * A value contained in the field in question.
      * 
* * .google.privacy.dlp.v2.Value value = 1; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
      * A value contained in the field in question.
      * 
* * .google.privacy.dlp.v2.Value value = 1; - * * @return The value. */ public com.google.privacy.dlp.v2.Value getValue() { @@ -567,8 +522,6 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -589,15 +542,14 @@ public Builder setValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * A value contained in the field in question.
      * 
* * .google.privacy.dlp.v2.Value value = 1; */ - public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setValue( + com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -608,8 +560,6 @@ public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) return this; } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -620,7 +570,7 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -632,8 +582,6 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -652,8 +600,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -661,13 +607,11 @@ public Builder clearValue() { * .google.privacy.dlp.v2.Value value = 1; */ public com.google.privacy.dlp.v2.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -678,12 +622,11 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; + return value_ == null ? + com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -691,32 +634,26 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { * .google.privacy.dlp.v2.Value value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, - com.google.privacy.dlp.v2.Value.Builder, - com.google.privacy.dlp.v2.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - private long count_; + private long count_ ; /** - * - * *
      * How many times the value is contained in the field.
      * 
* * int64 count = 2; - * * @return The count. */ @java.lang.Override @@ -724,43 +661,37 @@ public long getCount() { return count_; } /** - * - * *
      * How many times the value is contained in the field.
      * 
* * int64 count = 2; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** - * - * *
      * How many times the value is contained in the field.
      * 
* * int64 count = 2; - * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -770,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ValueFrequency) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ValueFrequency) private static final com.google.privacy.dlp.v2.ValueFrequency DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ValueFrequency(); } @@ -784,16 +715,16 @@ public static com.google.privacy.dlp.v2.ValueFrequency getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueFrequency parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ValueFrequency(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueFrequency parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ValueFrequency(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ValueFrequency getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java similarity index 60% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java index e72f8bd9..ce5bc426 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ValueFrequencyOrBuilder - extends +public interface ValueFrequencyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ValueFrequency) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; - * * @return The value. */ com.google.privacy.dlp.v2.Value getValue(); /** - * - * *
    * A value contained in the field in question.
    * 
@@ -59,14 +35,11 @@ public interface ValueFrequencyOrBuilder com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder(); /** - * - * *
    * How many times the value is contained in the field.
    * 
* * int64 count = 2; - * * @return The count. */ long getCount(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java index 1039cebb..8816ef26 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java @@ -1,167 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ValueOrBuilder - extends +public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Value) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * integer
    * 
* * int64 integer_value = 1; - * * @return Whether the integerValue field is set. */ boolean hasIntegerValue(); /** - * - * *
    * integer
    * 
* * int64 integer_value = 1; - * * @return The integerValue. */ long getIntegerValue(); /** - * - * *
    * float
    * 
* * double float_value = 2; - * * @return Whether the floatValue field is set. */ boolean hasFloatValue(); /** - * - * *
    * float
    * 
* * double float_value = 2; - * * @return The floatValue. */ double getFloatValue(); /** - * - * *
    * string
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * string
    * 
* * string string_value = 3; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * string
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * boolean
    * 
* * bool boolean_value = 4; - * * @return Whether the booleanValue field is set. */ boolean hasBooleanValue(); /** - * - * *
    * boolean
    * 
* * bool boolean_value = 4; - * * @return The booleanValue. */ boolean getBooleanValue(); /** - * - * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * timestamp
    * 
@@ -171,32 +121,24 @@ public interface ValueOrBuilder com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** - * - * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; - * * @return Whether the timeValue field is set. */ boolean hasTimeValue(); /** - * - * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; - * * @return The timeValue. */ com.google.type.TimeOfDay getTimeValue(); /** - * - * *
    * time of day
    * 
@@ -206,32 +148,24 @@ public interface ValueOrBuilder com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder(); /** - * - * *
    * date
    * 
* * .google.type.Date date_value = 7; - * * @return Whether the dateValue field is set. */ boolean hasDateValue(); /** - * - * *
    * date
    * 
* * .google.type.Date date_value = 7; - * * @return The dateValue. */ com.google.type.Date getDateValue(); /** - * - * *
    * date
    * 
@@ -241,38 +175,29 @@ public interface ValueOrBuilder com.google.type.DateOrBuilder getDateValueOrBuilder(); /** - * - * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return Whether the dayOfWeekValue field is set. */ boolean hasDayOfWeekValue(); /** - * - * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return The enum numeric value on the wire for dayOfWeekValue. */ int getDayOfWeekValueValue(); /** - * - * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; - * * @return The dayOfWeekValue. */ com.google.type.DayOfWeek getDayOfWeekValue(); diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto similarity index 99% rename from proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index 26f5872e..03776b0b 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.privacy.dlp.v2; +import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; @@ -28,7 +29,6 @@ import "google/rpc/status.proto"; import "google/type/date.proto"; import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; option go_package = "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp"; @@ -719,8 +719,8 @@ message InspectionRuleSet { // When used with redactContent only info_types and min_likelihood are currently // used. message InspectConfig { - // Configuration to control the number of findings returned. Cannot be set if - // de-identification is requested. + // Configuration to control the number of findings returned for inspection. + // This is not used for de-identification or data profiling. message FindingLimits { // Max findings configuration per infoType, per content item or long // running DlpJob. @@ -769,21 +769,23 @@ message InspectConfig { Likelihood min_likelihood = 2; // Configuration to control the number of findings returned. + // This is not used for data profiling. FindingLimits limits = 3; // When true, a contextual quote from the data that triggered a finding is // included in the response; see Finding.quote. + // This is not used for data profiling. bool include_quote = 4; // When true, excludes type information of the findings. + // This is not used for data profiling. bool exclude_info_types = 5; // CustomInfoTypes provided by the user. See // https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. repeated CustomInfoType custom_info_types = 6; - // List of options defining data content to scan. - // If empty, text, images, and other content will be included. + // Deprecated and unused. repeated ContentOption content_options = 8; // Set of rules to apply to the findings for this InspectConfig. @@ -825,6 +827,12 @@ message ByteContentItem { // pdf PDF = 8; + // pptx, pptm, potx, potm, pot + POWERPOINT_DOCUMENT = 9; + + // xlsx, xlsm, xltx, xltm + EXCEL_DOCUMENT = 10; + // avro AVRO = 11; @@ -2857,6 +2865,18 @@ message TransformationOverview { // Only one of 'transformation', 'field_transformation', or 'record_suppress' // will be set. message TransformationSummary { + // Possible outcomes of transformations. + enum TransformationResultCode { + // Unused + TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0; + + // Transformation completed without an error. + SUCCESS = 1; + + // Transformation had an error. + ERROR = 2; + } + // A collection that informs the user the number of times a particular // `TransformationResultCode` and error details occurred. message SummaryResult { @@ -2871,18 +2891,6 @@ message TransformationSummary { string details = 3; } - // Possible outcomes of transformations. - enum TransformationResultCode { - // Unused - TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0; - - // Transformation completed without an error. - SUCCESS = 1; - - // Transformation had an error. - ERROR = 2; - } - // Set if the transformation was limited to a specific InfoType. InfoType info_type = 1; @@ -4352,7 +4360,7 @@ enum MatchingType { MATCHING_TYPE_INVERSE_MATCH = 3; } -// Options describing which parts of the provided content should be scanned. +// Deprecated and unused. enum ContentOption { // Includes entire content of a file or a data stream. CONTENT_UNSPECIFIED = 0; diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto similarity index 97% rename from proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index a9011213..5c338088 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,6 @@ syntax = "proto3"; package google.privacy.dlp.v2; -import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; @@ -41,18 +40,6 @@ message InfoType { string version = 2; } -// A reference to a StoredInfoType to use with scanning. -message StoredType { - // Resource name of the requested `StoredInfoType`, for example - // `organizations/433245324/storedInfoTypes/432452342` or - // `projects/project-id/storedInfoTypes/432452342`. - string name = 1; - - // Timestamp indicating when the version of the `StoredInfoType` used for - // inspection was created. Output-only field, populated by the system. - google.protobuf.Timestamp create_time = 2; -} - // Categorization of results based on how likely they are to represent a match, // based on the number of elements they contain which imply a match. enum Likelihood { @@ -73,6 +60,18 @@ enum Likelihood { VERY_LIKELY = 5; } +// A reference to a StoredInfoType to use with scanning. +message StoredType { + // Resource name of the requested `StoredInfoType`, for example + // `organizations/433245324/storedInfoTypes/432452342` or + // `projects/project-id/storedInfoTypes/432452342`. + string name = 1; + + // Timestamp indicating when the version of the `StoredInfoType` used for + // inspection was created. Output-only field, populated by the system. + google.protobuf.Timestamp create_time = 2; +} + // Custom information type provided by the user. Used to find domain-specific // sensitive information configurable to the data in question. message CustomInfoType { @@ -85,7 +84,7 @@ message CustomInfoType { // Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) // will be replaced with whitespace when scanning for matches, so the // dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", - // Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) + // "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters // surrounding any match must be of a different type than the adjacent // characters within the word, so letters must be next to non-letters and // digits next to non-digits. For example, the dictionary word "jen" will @@ -98,7 +97,7 @@ message CustomInfoType { // [limits](https://cloud.google.com/dlp/limits) page contains details about // the size limits of dictionaries. For dictionaries that do not fit within // these constraints, consider using `LargeCustomDictionaryConfig` in the - // [limits](https://cloud.google.com/dlp/limits) page contains details about + // `StoredInfoType` API. message Dictionary { // Message defining a list of words or phrases to search for in the data. message WordList { @@ -124,7 +123,7 @@ message CustomInfoType { // (https://github.com/google/re2/wiki/Syntax) can be found under the // google/re2 repository on GitHub. string pattern = 1; - // (https://github.com/google/re2/wiki/Syntax) can be found under the + // The index of the submatch to extract as findings. When not // specified, the entire match is returned. No more than 3 may be included. repeated int32 group_indexes = 2; @@ -135,10 +134,12 @@ message CustomInfoType { // [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). // These types of transformations are // those that perform pseudonymization, thereby producing a "surrogate" as - // [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). + // output. This should be used in conjunction with a field on the // transformation such as `surrogate_info_type`. This CustomInfoType does // not support the use of `detection_rules`. - message SurrogateType {} + message SurrogateType { + + } // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a // `CustomInfoType` to alter behavior under certain circumstances, depending @@ -284,6 +285,67 @@ message DatastoreOptions { KindExpression kind = 2; } +// Definitions of file type groups to scan. New types will be added to this +// list. +enum FileType { + // Includes all files. + FILE_TYPE_UNSPECIFIED = 0; + + // Includes all file extensions not covered by another entry. Binary + // scanning attempts to convert the content of the file to utf_8 to scan + // the file. + // If you wish to avoid this fall back, specify one or more of the other + // FileType's in your storage scan. + BINARY_FILE = 1; + + // Included file extensions: + // asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, + // dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, + // mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, + // properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, + // shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md, + // txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml. + TEXT_FILE = 2; + + // Included file extensions: + // bmp, gif, jpg, jpeg, jpe, png. + // bytes_limit_per_file has no effect on image files. + // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. + IMAGE = 3; + + // Word files >30 MB will be scanned as binary files. + // Included file extensions: + // docx, dotx, docm, dotm + WORD = 5; + + // PDF files >30 MB will be scanned as binary files. + // Included file extensions: + // pdf + PDF = 6; + + // Included file extensions: + // avro + AVRO = 7; + + // Included file extensions: + // csv + CSV = 8; + + // Included file extensions: + // tsv + TSV = 9; + + // Powerpoint files >30 MB will be scanned as binary files. + // Included file extensions: + // pptx, pptm, potx, potm, pot + POWERPOINT = 11; + + // Excel files >30 MB will be scanned as binary files. + // Included file extensions: + // xlsx, xlsm, xltx, xltm + EXCEL = 12; +} + // Message representing a set of files in a Cloud Storage bucket. Regular // expressions are used to allow fine-grained control over which files in the // bucket to include. @@ -330,7 +392,7 @@ message CloudStorageRegexFileSet { // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // under the google/re2 repository on GitHub. repeated string include_regex = 2; - // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found + // A list of regular expressions matching file paths to exclude. All files in // the bucket that match at least one of these regular expressions will be // excluded from the scan. @@ -339,7 +401,6 @@ message CloudStorageRegexFileSet { // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // under the google/re2 repository on GitHub. repeated string exclude_regex = 3; - // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found } // Options defining a file or a set of files within a Google Cloud Storage @@ -531,57 +592,6 @@ message StorageConfig { TimespanConfig timespan_config = 6; } -// Definitions of file type groups to scan. New types will be added to this -// list. -enum FileType { - // Includes all files. - FILE_TYPE_UNSPECIFIED = 0; - - // Includes all file extensions not covered by another entry. Binary - // scanning attempts to convert the content of the file to utf_8 to scan - // the file. - // If you wish to avoid this fall back, specify one or more of the other - // FileType's in your storage scan. - BINARY_FILE = 1; - - // Included file extensions: - // asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, - // dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, - // mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, - // properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, - // shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md, - // txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml. - TEXT_FILE = 2; - - // Included file extensions: - // bmp, gif, jpg, jpeg, jpe, png. - // bytes_limit_per_file has no effect on image files. - // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. - IMAGE = 3; - - // Word files >30 MB will be scanned as binary files. - // Included file extensions: - // docx, dotx, docm, dotm - WORD = 5; - - // PDF files >30 MB will be scanned as binary files. - // Included file extensions: - // pdf - PDF = 6; - - // Included file extensions: - // avro - AVRO = 7; - - // Included file extensions: - // csv - CSV = 8; - - // Included file extensions: - // tsv - TSV = 9; -} - // Configuration to control jobs where the content being inspected is outside // of Google Cloud Platform. message HybridOptions { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java deleted file mode 100644 index 2c1c8dae..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface ActivateJobTriggerRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ActivateJobTriggerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the trigger to activate, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the trigger to activate, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java deleted file mode 100644 index 6e13a83f..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface CancelDlpJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CancelDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java deleted file mode 100644 index 4487162a..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteDeidentifyTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the organization and deidentify template to be deleted,
-   * for example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the organization and deidentify template to be deleted,
-   * for example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java deleted file mode 100644 index 43284f5a..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteDlpJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DlpJob resource to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DlpJob resource to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java deleted file mode 100644 index cb4a86fd..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteInspectTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteInspectTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the organization and inspectTemplate to be deleted, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the organization and inspectTemplate to be deleted, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java deleted file mode 100644 index 1f7e6954..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteJobTriggerRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteJobTriggerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java deleted file mode 100644 index 75d4b810..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteStoredInfoTypeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the organization and storedInfoType to be deleted, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the organization and storedInfoType to be deleted, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java deleted file mode 100644 index f749bf41..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ /dev/null @@ -1,3448 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public final class DlpProto { - private DlpProto() {} - - 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_privacy_dlp_v2_ExcludeInfoTypes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectionRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ContentItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Table_Row_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Finding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ContentLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Container_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Range_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Color_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_QuasiId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Value_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DateTime_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Schedule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Manual_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Error_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DlpJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectResponse_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\037google/privacy/dlp/v2/dlp.proto\022\025googl" - + "e.privacy.dlp.v2\032\027google/api/client.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032#google/privacy/dl" - + "p/v2/storage.proto\032\036google/protobuf/dura" - + "tion.proto\032\033google/protobuf/empty.proto\032" - + " google/protobuf/field_mask.proto\032\037googl" - + "e/protobuf/timestamp.proto\032\027google/rpc/s" - + "tatus.proto\032\026google/type/date.proto\032\033goo" - + "gle/type/dayofweek.proto\032\033google/type/ti" - + "meofday.proto\032\034google/api/annotations.pr" - + "oto\"G\n\020ExcludeInfoTypes\0223\n\ninfo_types\030\001 " - + "\003(\0132\037.google.privacy.dlp.v2.InfoType\"\240\002\n" - + "\rExclusionRule\022F\n\ndictionary\030\001 \001(\01320.goo" - + "gle.privacy.dlp.v2.CustomInfoType.Dictio" - + "naryH\000\022<\n\005regex\030\002 \001(\0132+.google.privacy.d" - + "lp.v2.CustomInfoType.RegexH\000\022E\n\022exclude_" - + "info_types\030\003 \001(\0132\'.google.privacy.dlp.v2" - + ".ExcludeInfoTypesH\000\022:\n\rmatching_type\030\004 \001" - + "(\0162#.google.privacy.dlp.v2.MatchingTypeB" - + "\006\n\004type\"\261\001\n\016InspectionRule\022W\n\014hotword_ru" - + "le\030\001 \001(\0132?.google.privacy.dlp.v2.CustomI" - + "nfoType.DetectionRule.HotwordRuleH\000\022>\n\016e" - + "xclusion_rule\030\002 \001(\0132$.google.privacy.dlp" - + ".v2.ExclusionRuleH\000B\006\n\004type\"~\n\021Inspectio" - + "nRuleSet\0223\n\ninfo_types\030\001 \003(\0132\037.google.pr" - + "ivacy.dlp.v2.InfoType\0224\n\005rules\030\002 \003(\0132%.g" - + "oogle.privacy.dlp.v2.InspectionRule\"\307\005\n\r" - + "InspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.goog" - + "le.privacy.dlp.v2.InfoType\0229\n\016min_likeli" - + "hood\030\002 \001(\0162!.google.privacy.dlp.v2.Likel" - + "ihood\022B\n\006limits\030\003 \001(\01322.google.privacy.d" - + "lp.v2.InspectConfig.FindingLimits\022\025\n\rinc" - + "lude_quote\030\004 \001(\010\022\032\n\022exclude_info_types\030\005" - + " \001(\010\022@\n\021custom_info_types\030\006 \003(\0132%.google" - + ".privacy.dlp.v2.CustomInfoType\022=\n\017conten" - + "t_options\030\010 \003(\0162$.google.privacy.dlp.v2." - + "ContentOption\022:\n\010rule_set\030\n \003(\0132(.google" - + ".privacy.dlp.v2.InspectionRuleSet\032\221\002\n\rFi" - + "ndingLimits\022\035\n\025max_findings_per_item\030\001 \001" - + "(\005\022 \n\030max_findings_per_request\030\002 \001(\005\022d\n\032" - + "max_findings_per_info_type\030\003 \003(\0132@.googl" - + "e.privacy.dlp.v2.InspectConfig.FindingLi" - + "mits.InfoTypeLimit\032Y\n\rInfoTypeLimit\0222\n\ti" - + "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" - + "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\230\002\n\017ByteCo" - + "ntentItem\022>\n\004type\030\001 \001(\01620.google.privacy" - + ".dlp.v2.ByteContentItem.BytesType\022\014\n\004dat" - + "a\030\002 \001(\014\"\266\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" - + "ECIFIED\020\000\022\t\n\005IMAGE\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\t" - + "IMAGE_BMP\020\002\022\r\n\tIMAGE_PNG\020\003\022\r\n\tIMAGE_SVG\020" - + "\004\022\r\n\tTEXT_UTF8\020\005\022\021\n\rWORD_DOCUMENT\020\007\022\007\n\003P" - + "DF\020\010\022\010\n\004AVRO\020\013\022\007\n\003CSV\020\014\022\007\n\003TSV\020\r\"\227\001\n\013Con" - + "tentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030\004 \001(\013" - + "2\034.google.privacy.dlp.v2.TableH\000\022;\n\tbyte" - + "_item\030\005 \001(\0132&.google.privacy.dlp.v2.Byte" - + "ContentItemH\000B\013\n\tdata_item\"\235\001\n\005Table\022/\n\007" - + "headers\030\001 \003(\0132\036.google.privacy.dlp.v2.Fi" - + "eldId\022.\n\004rows\030\002 \003(\0132 .google.privacy.dlp" - + ".v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003(\0132\034.g" - + "oogle.privacy.dlp.v2.Value\"]\n\rInspectRes" - + "ult\0220\n\010findings\030\001 \003(\0132\036.google.privacy.d" - + "lp.v2.Finding\022\032\n\022findings_truncated\030\002 \001(" - + "\010\"\337\005\n\007Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quote\030\001 \001" - + "(\t\0222\n\tinfo_type\030\002 \001(\0132\037.google.privacy.d" - + "lp.v2.InfoType\0225\n\nlikelihood\030\003 \001(\0162!.goo" - + "gle.privacy.dlp.v2.Likelihood\0221\n\010locatio" - + "n\030\004 \001(\0132\037.google.privacy.dlp.v2.Location" - + "\022/\n\013create_time\030\006 \001(\0132\032.google.protobuf." - + "Timestamp\0224\n\nquote_info\030\007 \001(\0132 .google.p" - + "rivacy.dlp.v2.QuoteInfo\0225\n\rresource_name" - + "\030\010 \001(\tB\036\372A\033\n\031dlp.googleapis.com/DlpJob\0228" - + "\n\014trigger_name\030\t \001(\tB\"\372A\037\n\035dlp.googleapi" - + "s.com/JobTrigger\022:\n\006labels\030\n \003(\0132*.googl" - + "e.privacy.dlp.v2.Finding.LabelsEntry\0223\n\017" - + "job_create_time\030\013 \001(\0132\032.google.protobuf." - + "Timestamp\0220\n\010job_name\030\r \001(\tB\036\372A\033\n\031dlp.go" - + "ogleapis.com/DlpJob\022\022\n\nfinding_id\030\017 \001(\t\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001:[\352AX\n\032dlp.googleapis.com/Finding\022" - + ":projects/{project}/locations/{location}" - + "/findings/{finding}\"\353\001\n\010Location\0220\n\nbyte" - + "_range\030\001 \001(\0132\034.google.privacy.dlp.v2.Ran" - + "ge\0225\n\017codepoint_range\030\002 \001(\0132\034.google.pri" - + "vacy.dlp.v2.Range\022A\n\021content_locations\030\007" - + " \003(\0132&.google.privacy.dlp.v2.ContentLoca" - + "tion\0223\n\tcontainer\030\010 \001(\0132 .google.privacy" - + ".dlp.v2.Container\"\227\003\n\017ContentLocation\022\026\n" - + "\016container_name\030\001 \001(\t\022@\n\017record_location" - + "\030\002 \001(\0132%.google.privacy.dlp.v2.RecordLoc" - + "ationH\000\022>\n\016image_location\030\003 \001(\0132$.google" - + ".privacy.dlp.v2.ImageLocationH\000\022D\n\021docum" - + "ent_location\030\005 \001(\0132\'.google.privacy.dlp." - + "v2.DocumentLocationH\000\022D\n\021metadata_locati" - + "on\030\010 \001(\0132\'.google.privacy.dlp.v2.Metadat" - + "aLocationH\000\0227\n\023container_timestamp\030\006 \001(\013" - + "2\032.google.protobuf.Timestamp\022\031\n\021containe" - + "r_version\030\007 \001(\tB\n\n\010location\"\224\001\n\020Metadata" - + "Location\0221\n\004type\030\001 \001(\0162#.google.privacy." - + "dlp.v2.MetadataType\022D\n\rstorage_label\030\003 \001" - + "(\0132+.google.privacy.dlp.v2.StorageMetada" - + "taLabelH\000B\007\n\005label\"#\n\024StorageMetadataLab" - + "el\022\013\n\003key\030\001 \001(\t\"\'\n\020DocumentLocation\022\023\n\013f" - + "ile_offset\030\001 \001(\003\"\266\001\n\016RecordLocation\0224\n\nr" - + "ecord_key\030\001 \001(\0132 .google.privacy.dlp.v2." - + "RecordKey\0220\n\010field_id\030\002 \001(\0132\036.google.pri" - + "vacy.dlp.v2.FieldId\022<\n\016table_location\030\003 " - + "\001(\0132$.google.privacy.dlp.v2.TableLocatio" - + "n\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001(\003\"\254\001" - + "\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nproject_id\030" - + "\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_path\030\004 " - + "\001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013update_tim" - + "e\030\006 \001(\0132\032.google.protobuf.Timestamp\022\017\n\007v" - + "ersion\030\007 \001(\t\"#\n\005Range\022\r\n\005start\030\001 \001(\003\022\013\n\003" - + "end\030\002 \001(\003\"K\n\rImageLocation\022:\n\016bounding_b" - + "oxes\030\001 \003(\0132\".google.privacy.dlp.v2.Bound" - + "ingBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004le" - + "ft\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\"" - + "\374\003\n\022RedactImageRequest\0222\n\006parent\030\001 \001(\tB\"" - + "\372A\037\022\035dlp.googleapis.com/DlpContent\022\023\n\013lo" - + "cation_id\030\010 \001(\t\022<\n\016inspect_config\030\002 \001(\0132" - + "$.google.privacy.dlp.v2.InspectConfig\022_\n" - + "\027image_redaction_configs\030\005 \003(\0132>.google." - + "privacy.dlp.v2.RedactImageRequest.ImageR" - + "edactionConfig\022\030\n\020include_findings\030\006 \001(\010" - + "\0229\n\tbyte_item\030\007 \001(\0132&.google.privacy.dlp" - + ".v2.ByteContentItem\032\250\001\n\024ImageRedactionCo" - + "nfig\0224\n\tinfo_type\030\001 \001(\0132\037.google.privacy" - + ".dlp.v2.InfoTypeH\000\022\031\n\017redact_all_text\030\002 " - + "\001(\010H\000\0225\n\017redaction_color\030\003 \001(\0132\034.google." - + "privacy.dlp.v2.ColorB\010\n\006target\"1\n\005Color\022" - + "\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n\004blue\030\003 \001(" - + "\002\"\203\001\n\023RedactImageResponse\022\026\n\016redacted_im" - + "age\030\001 \001(\014\022\026\n\016extracted_text\030\002 \001(\t\022<\n\016ins" - + "pect_result\030\003 \001(\0132$.google.privacy.dlp.v" - + "2.InspectResult\"\330\002\n\030DeidentifyContentReq" - + "uest\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.googleapi" - + "s.com/DlpContent\022B\n\021deidentify_config\030\002 " - + "\001(\0132\'.google.privacy.dlp.v2.DeidentifyCo" - + "nfig\022<\n\016inspect_config\030\003 \001(\0132$.google.pr" - + "ivacy.dlp.v2.InspectConfig\0220\n\004item\030\004 \001(\013" - + "2\".google.privacy.dlp.v2.ContentItem\022\035\n\025" - + "inspect_template_name\030\005 \001(\t\022 \n\030deidentif" - + "y_template_name\030\006 \001(\t\022\023\n\013location_id\030\007 \001" - + "(\t\"\216\001\n\031DeidentifyContentResponse\0220\n\004item" - + "\030\001 \001(\0132\".google.privacy.dlp.v2.ContentIt" - + "em\022?\n\010overview\030\002 \001(\0132-.google.privacy.dl" - + "p.v2.TransformationOverview\"\333\002\n\030Reidenti" - + "fyContentRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037" - + "\022\035dlp.googleapis.com/DlpContent\022B\n\021reide" - + "ntify_config\030\002 \001(\0132\'.google.privacy.dlp." - + "v2.DeidentifyConfig\022<\n\016inspect_config\030\003 " - + "\001(\0132$.google.privacy.dlp.v2.InspectConfi" - + "g\0220\n\004item\030\004 \001(\0132\".google.privacy.dlp.v2." - + "ContentItem\022\035\n\025inspect_template_name\030\005 \001" - + "(\t\022 \n\030reidentify_template_name\030\006 \001(\t\022\023\n\013" - + "location_id\030\007 \001(\t\"\216\001\n\031ReidentifyContentR" - + "esponse\0220\n\004item\030\001 \001(\0132\".google.privacy.d" - + "lp.v2.ContentItem\022?\n\010overview\030\002 \001(\0132-.go" - + "ogle.privacy.dlp.v2.TransformationOvervi" - + "ew\"\357\001\n\025InspectContentRequest\0222\n\006parent\030\001" - + " \001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpContent" - + "\022<\n\016inspect_config\030\002 \001(\0132$.google.privac" - + "y.dlp.v2.InspectConfig\0220\n\004item\030\003 \001(\0132\".g" - + "oogle.privacy.dlp.v2.ContentItem\022\035\n\025insp" - + "ect_template_name\030\004 \001(\t\022\023\n\013location_id\030\005" - + " \001(\t\"N\n\026InspectContentResponse\0224\n\006result" - + "\030\001 \001(\0132$.google.privacy.dlp.v2.InspectRe" - + "sult\"\267\002\n\023OutputStorageConfig\0225\n\005table\030\001 " - + "\001(\0132$.google.privacy.dlp.v2.BigQueryTabl" - + "eH\000\022N\n\routput_schema\030\003 \001(\01627.google.priv" - + "acy.dlp.v2.OutputStorageConfig.OutputSch" - + "ema\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHEMA_UN" - + "SPECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013GCS_CO" - + "LUMNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021BIG_QU" - + "ERY_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R" - + "\n\rInfoTypeStats\0222\n\tinfo_type\030\001 \001(\0132\037.goo" - + "gle.privacy.dlp.v2.InfoType\022\r\n\005count\030\002 \001" - + "(\003\"\244\004\n\030InspectDataSourceDetails\022[\n\021reque" - + "sted_options\030\002 \001(\0132@.google.privacy.dlp." - + "v2.InspectDataSourceDetails.RequestedOpt" - + "ions\022F\n\006result\030\003 \001(\01326.google.privacy.dl" - + "p.v2.InspectDataSourceDetails.Result\032\232\001\n" - + "\020RequestedOptions\022I\n\031snapshot_inspect_te" - + "mplate\030\001 \001(\0132&.google.privacy.dlp.v2.Ins" - + "pectTemplate\022;\n\njob_config\030\003 \001(\0132\'.googl" - + "e.privacy.dlp.v2.InspectJobConfig\032\305\001\n\006Re" - + "sult\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025total_e" - + "stimated_bytes\030\002 \001(\003\022=\n\017info_type_stats\030" - + "\003 \003(\0132$.google.privacy.dlp.v2.InfoTypeSt" - + "ats\022D\n\014hybrid_stats\030\007 \001(\0132..google.priva" - + "cy.dlp.v2.HybridInspectStatistics\"`\n\027Hyb" - + "ridInspectStatistics\022\027\n\017processed_count\030" - + "\001 \001(\003\022\025\n\raborted_count\030\002 \001(\003\022\025\n\rpending_" - + "count\030\003 \001(\003\"\220\001\n\023InfoTypeDescription\022\014\n\004n" - + "ame\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014suppo" - + "rted_by\030\003 \003(\0162*.google.privacy.dlp.v2.In" - + "foTypeSupportedBy\022\023\n\013description\030\004 \001(\t\"b" - + "\n\024ListInfoTypesRequest\022\016\n\006parent\030\004 \001(\t\022\025" - + "\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\023\n" - + "\013location_id\030\003 \001(\t\"W\n\025ListInfoTypesRespo" - + "nse\022>\n\ninfo_types\030\001 \003(\0132*.google.privacy" - + ".dlp.v2.InfoTypeDescription\"\301\001\n\025RiskAnal" - + "ysisJobConfig\022<\n\016privacy_metric\030\001 \001(\0132$." - + "google.privacy.dlp.v2.PrivacyMetric\022:\n\014s" - + "ource_table\030\002 \001(\0132$.google.privacy.dlp.v" - + "2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035.googl" - + "e.privacy.dlp.v2.Action\"\274\001\n\007QuasiId\0222\n\005f" - + "ield\030\001 \001(\0132\036.google.privacy.dlp.v2.Field" - + "IdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.priv" - + "acy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001(" - + "\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobuf." - + "EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable\0228\n\005t" - + "able\030\003 \001(\0132$.google.privacy.dlp.v2.BigQu" - + "eryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<.googl" - + "e.privacy.dlp.v2.StatisticalTable.QuasiI" - + "dentifierFieldB\003\340A\002\022?\n\022relative_frequenc" - + "y\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldIdB" - + "\003\340A\002\032Y\n\024QuasiIdentifierField\022-\n\005field\030\001 " - + "\001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\nc" - + "ustom_tag\030\002 \001(\t\"\223\017\n\rPrivacyMetric\022[\n\026num" - + "erical_stats_config\030\001 \001(\01329.google.priva" - + "cy.dlp.v2.PrivacyMetric.NumericalStatsCo" - + "nfigH\000\022_\n\030categorical_stats_config\030\002 \001(\013" - + "2;.google.privacy.dlp.v2.PrivacyMetric.C" - + "ategoricalStatsConfigH\000\022S\n\022k_anonymity_c" - + "onfig\030\003 \001(\01325.google.privacy.dlp.v2.Priv" - + "acyMetric.KAnonymityConfigH\000\022S\n\022l_divers" - + "ity_config\030\004 \001(\01325.google.privacy.dlp.v2" - + ".PrivacyMetric.LDiversityConfigH\000\022\\\n\027k_m" - + "ap_estimation_config\030\005 \001(\01329.google.priv" - + "acy.dlp.v2.PrivacyMetric.KMapEstimationC" - + "onfigH\000\022n\n delta_presence_estimation_con" - + "fig\030\006 \001(\0132B.google.privacy.dlp.v2.Privac" - + "yMetric.DeltaPresenceEstimationConfigH\000\032" - + "E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001(\0132\036" - + ".google.privacy.dlp.v2.FieldId\032G\n\026Catego" - + "ricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.google" - + ".privacy.dlp.v2.FieldId\032y\n\020KAnonymityCon" - + "fig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.privacy." - + "dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037.goog" - + "le.privacy.dlp.v2.EntityId\032\202\001\n\020LDiversit" - + "yConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priv" - + "acy.dlp.v2.FieldId\022;\n\023sensitive_attribut" - + "e\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldId\032" - + "\201\006\n\024KMapEstimationConfig\022]\n\tquasi_ids\030\001 " - + "\003(\0132E.google.privacy.dlp.v2.PrivacyMetri" - + "c.KMapEstimationConfig.TaggedFieldB\003\340A\002\022" - + "\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_tables" - + "\030\003 \003(\0132H.google.privacy.dlp.v2.PrivacyMe" - + "tric.KMapEstimationConfig.AuxiliaryTable" - + "\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.google" - + ".privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_typ" - + "e\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoType" - + "H\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001" - + "(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag\032\315\002\n\016" - + "AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.google.p" - + "rivacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n\tquas" - + "i_ids\030\001 \003(\0132U.google.privacy.dlp.v2.Priv" - + "acyMetric.KMapEstimationConfig.Auxiliary" - + "Table.QuasiIdFieldB\003\340A\002\022?\n\022relative_freq" - + "uency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(\0132" - + "\036.google.privacy.dlp.v2.FieldId\022\022\n\ncusto" - + "m_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstimationC" - + "onfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.privac" - + "y.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_code\030\002 \001" - + "(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.google.pr" - + "ivacy.dlp.v2.StatisticalTableB\006\n\004type\"\301\037" - + "\n\034AnalyzeDataSourceRiskDetails\022F\n\030reques" - + "ted_privacy_metric\030\001 \001(\0132$.google.privac" - + "y.dlp.v2.PrivacyMetric\022D\n\026requested_sour" - + "ce_table\030\002 \001(\0132$.google.privacy.dlp.v2.B" - + "igQueryTable\022j\n\026numerical_stats_result\030\003" - + " \001(\0132H.google.privacy.dlp.v2.AnalyzeData" - + "SourceRiskDetails.NumericalStatsResultH\000" - + "\022n\n\030categorical_stats_result\030\004 \001(\0132J.goo" - + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" - + "Details.CategoricalStatsResultH\000\022b\n\022k_an" - + "onymity_result\030\005 \001(\0132D.google.privacy.dl" - + "p.v2.AnalyzeDataSourceRiskDetails.KAnony" - + "mityResultH\000\022b\n\022l_diversity_result\030\006 \001(\013" - + "2D.google.privacy.dlp.v2.AnalyzeDataSour" - + "ceRiskDetails.LDiversityResultH\000\022k\n\027k_ma" - + "p_estimation_result\030\007 \001(\0132H.google.priva" - + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" - + "MapEstimationResultH\000\022}\n delta_presence_" - + "estimation_result\030\t \001(\0132Q.google.privacy" - + ".dlp.v2.AnalyzeDataSourceRiskDetails.Del" - + "taPresenceEstimationResultH\000\022k\n\021requeste" - + "d_options\030\n \001(\0132P.google.privacy.dlp.v2." - + "AnalyzeDataSourceRiskDetails.RequestedRi" - + "skAnalysisOptions\032\257\001\n\024NumericalStatsResu" - + "lt\022/\n\tmin_value\030\001 \001(\0132\034.google.privacy.d" - + "lp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.google." - + "privacy.dlp.v2.Value\0225\n\017quantile_values\030" - + "\004 \003(\0132\034.google.privacy.dlp.v2.Value\032\215\003\n\026" - + "CategoricalStatsResult\022\225\001\n!value_frequen" - + "cy_histogram_buckets\030\005 \003(\0132j.google.priv" - + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." - + "CategoricalStatsResult.CategoricalStatsH" - + "istogramBucket\032\332\001\n\037CategoricalStatsHisto" - + "gramBucket\022#\n\033value_frequency_lower_boun" - + "d\030\001 \001(\003\022#\n\033value_frequency_upper_bound\030\002" - + " \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket_valu" - + "es\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFr" - + "equency\022\032\n\022bucket_value_count\030\005 \001(\003\032\265\004\n\020" - + "KAnonymityResult\022\213\001\n#equivalence_class_h" - + "istogram_buckets\030\005 \003(\0132^.google.privacy." - + "dlp.v2.AnalyzeDataSourceRiskDetails.KAno" - + "nymityResult.KAnonymityHistogramBucket\032t" - + "\n\032KAnonymityEquivalenceClass\0226\n\020quasi_id" - + "s_values\030\001 \003(\0132\034.google.privacy.dlp.v2.V" - + "alue\022\036\n\026equivalence_class_size\030\002 \001(\003\032\234\002\n" - + "\031KAnonymityHistogramBucket\022*\n\"equivalenc" - + "e_class_size_lower_bound\030\001 \001(\003\022*\n\"equiva" - + "lence_class_size_upper_bound\030\002 \001(\003\022\023\n\013bu" - + "cket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_" - + ".google.privacy.dlp.v2.AnalyzeDataSource" - + "RiskDetails.KAnonymityResult.KAnonymityE" - + "quivalenceClass\022\032\n\022bucket_value_count\030\005 " - + "\001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensitive_v" - + "alue_frequency_histogram_buckets\030\005 \003(\0132^" - + ".google.privacy.dlp.v2.AnalyzeDataSource" - + "RiskDetails.LDiversityResult.LDiversityH" - + "istogramBucket\032\340\001\n\032LDiversityEquivalence" - + "Class\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google" - + ".privacy.dlp.v2.Value\022\036\n\026equivalence_cla" - + "ss_size\030\002 \001(\003\022%\n\035num_distinct_sensitive_" - + "values\030\003 \001(\003\022C\n\024top_sensitive_values\030\004 \003" - + "(\0132%.google.privacy.dlp.v2.ValueFrequenc" - + "y\032\242\002\n\031LDiversityHistogramBucket\022-\n%sensi" - + "tive_value_frequency_lower_bound\030\001 \001(\003\022-" - + "\n%sensitive_value_frequency_upper_bound\030" - + "\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_val" - + "ues\030\004 \003(\0132_.google.privacy.dlp.v2.Analyz" - + "eDataSourceRiskDetails.LDiversityResult." - + "LDiversityEquivalenceClass\022\032\n\022bucket_val" - + "ue_count\030\005 \001(\003\032\225\004\n\024KMapEstimationResult\022" - + "\212\001\n\032k_map_estimation_histogram\030\001 \003(\0132f.g" - + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" - + "skDetails.KMapEstimationResult.KMapEstim" - + "ationHistogramBucket\032r\n\033KMapEstimationQu" - + "asiIdValues\0226\n\020quasi_ids_values\030\001 \003(\0132\034." - + "google.privacy.dlp.v2.Value\022\033\n\023estimated" - + "_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimationHisto" - + "gramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025\n\rmax" - + "_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001(\003\022{\n" - + "\rbucket_values\030\006 \003(\0132d.google.privacy.dl" - + "p.v2.AnalyzeDataSourceRiskDetails.KMapEs" - + "timationResult.KMapEstimationQuasiIdValu" - + "es\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035Delta" - + "PresenceEstimationResult\022\245\001\n#delta_prese" - + "nce_estimation_histogram\030\001 \003(\0132x.google." - + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" - + "ils.DeltaPresenceEstimationResult.DeltaP" - + "resenceEstimationHistogramBucket\032}\n$Delt" - + "aPresenceEstimationQuasiIdValues\0226\n\020quas" - + "i_ids_values\030\001 \003(\0132\034.google.privacy.dlp." - + "v2.Value\022\035\n\025estimated_probability\030\002 \001(\001\032" - + "\233\002\n&DeltaPresenceEstimationHistogramBuck" - + "et\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max_proba" - + "bility\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215\001\n\rbu" - + "cket_values\030\006 \003(\0132v.google.privacy.dlp.v" - + "2.AnalyzeDataSourceRiskDetails.DeltaPres" - + "enceEstimationResult.DeltaPresenceEstima" - + "tionQuasiIdValues\022\032\n\022bucket_value_count\030" - + "\007 \001(\003\032`\n\034RequestedRiskAnalysisOptions\022@\n" - + "\njob_config\030\001 \001(\0132,.google.privacy.dlp.v" - + "2.RiskAnalysisJobConfigB\010\n\006result\"L\n\016Val" - + "ueFrequency\022+\n\005value\030\001 \001(\0132\034.google.priv" - + "acy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Valu" - + "e\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013float_valu" - + "e\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\027\n\rboo" - + "lean_value\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 " - + "\001(\0132\032.google.protobuf.TimestampH\000\022,\n\ntim" - + "e_value\030\006 \001(\0132\026.google.type.TimeOfDayH\000\022" - + "\'\n\ndate_value\030\007 \001(\0132\021.google.type.DateH\000" - + "\0223\n\021day_of_week_value\030\010 \001(\0162\026.google.typ" - + "e.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tda" - + "te_time\030\002 \001(\0132\037.google.privacy.dlp.v2.Da" - + "teTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateTime\022\037\n" - + "\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013day_of" - + "_week\030\002 \001(\0162\026.google.type.DayOfWeek\022$\n\004t" - + "ime\030\003 \001(\0132\026.google.type.TimeOfDay\022;\n\ttim" - + "e_zone\030\004 \001(\0132(.google.privacy.dlp.v2.Dat" - + "eTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offset_min" - + "utes\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031info_" - + "type_transformations\030\001 \001(\0132..google.priv" - + "acy.dlp.v2.InfoTypeTransformationsH\000\022N\n\026" - + "record_transformations\030\002 \001(\0132,.google.pr" - + "ivacy.dlp.v2.RecordTransformationsH\000\022Y\n\035" - + "transformation_error_handling\030\003 \001(\01322.go" - + "ogle.privacy.dlp.v2.TransformationErrorH" - + "andlingB\020\n\016transformation\"\205\002\n\033Transforma" - + "tionErrorHandling\022T\n\013throw_error\030\001 \001(\0132=" - + ".google.privacy.dlp.v2.TransformationErr" - + "orHandling.ThrowErrorH\000\022d\n\023leave_untrans" - + "formed\030\002 \001(\0132E.google.privacy.dlp.v2.Tra" - + "nsformationErrorHandling.LeaveUntransfor", - "medH\000\032\014\n\nThrowError\032\024\n\022LeaveUntransforme" - + "dB\006\n\004mode\"\312\007\n\027PrimitiveTransformation\022C\n" - + "\016replace_config\030\001 \001(\0132).google.privacy.d" - + "lp.v2.ReplaceValueConfigH\000\022<\n\rredact_con" - + "fig\030\002 \001(\0132#.google.privacy.dlp.v2.Redact" - + "ConfigH\000\022K\n\025character_mask_config\030\003 \001(\0132" - + "*.google.privacy.dlp.v2.CharacterMaskCon" - + "figH\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004" - + " \001(\01320.google.privacy.dlp.v2.CryptoRepla" - + "ceFfxFpeConfigH\000\022V\n\033fixed_size_bucketing" - + "_config\030\005 \001(\0132/.google.privacy.dlp.v2.Fi" - + "xedSizeBucketingConfigH\000\022B\n\020bucketing_co" - + "nfig\030\006 \001(\0132&.google.privacy.dlp.v2.Bucke" - + "tingConfigH\000\022Y\n\035replace_with_info_type_c" - + "onfig\030\007 \001(\01320.google.privacy.dlp.v2.Repl" - + "aceWithInfoTypeConfigH\000\022A\n\020time_part_con" - + "fig\030\010 \001(\0132%.google.privacy.dlp.v2.TimePa" - + "rtConfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'" - + ".google.privacy.dlp.v2.CryptoHashConfigH" - + "\000\022C\n\021date_shift_config\030\013 \001(\0132&.google.pr" - + "ivacy.dlp.v2.DateShiftConfigH\000\022W\n\033crypto" - + "_deterministic_config\030\014 \001(\01320.google.pri" - + "vacy.dlp.v2.CryptoDeterministicConfigH\000\022" - + "S\n\031replace_dictionary_config\030\r \001(\0132..goo" - + "gle.privacy.dlp.v2.ReplaceDictionaryConf" - + "igH\000B\020\n\016transformation\"\334\001\n\016TimePartConfi" - + "g\022G\n\017part_to_extract\030\001 \001(\0162..google.priv" - + "acy.dlp.v2.TimePartConfig.TimePart\"\200\001\n\010T" - + "imePart\022\031\n\025TIME_PART_UNSPECIFIED\020\000\022\010\n\004YE" - + "AR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003\022\017\n\013DAY" - + "_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOUR_OF_" - + "DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030" - + "\001 \001(\0132 .google.privacy.dlp.v2.CryptoKey\"" - + "\300\001\n\031CryptoDeterministicConfig\0224\n\ncrypto_" - + "key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypto" - + "Key\022<\n\023surrogate_info_type\030\002 \001(\0132\037.googl" - + "e.privacy.dlp.v2.InfoType\022/\n\007context\030\003 \001" - + "(\0132\036.google.privacy.dlp.v2.FieldId\"E\n\022Re" - + "placeValueConfig\022/\n\tnew_value\030\001 \001(\0132\034.go" - + "ogle.privacy.dlp.v2.Value\"q\n\027ReplaceDict" - + "ionaryConfig\022N\n\tword_list\030\001 \001(\01329.google" - + ".privacy.dlp.v2.CustomInfoType.Dictionar" - + "y.WordListH\000B\006\n\004type\"\033\n\031ReplaceWithInfoT" - + "ypeConfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgn" - + "ore\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033com" - + "mon_characters_to_ignore\030\002 \001(\01628.google." - + "privacy.dlp.v2.CharsToIgnore.CommonChars" - + "ToIgnoreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"CO" - + "MMON_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NU" - + "MERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_L" - + "OWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPA" - + "CE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterMaskConf" - + "ig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016number_" - + "to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024" - + "characters_to_ignore\030\004 \003(\0132$.google.priv" - + "acy.dlp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBu" - + "cketingConfig\0226\n\013lower_bound\030\001 \001(\0132\034.goo" - + "gle.privacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_b" - + "ound\030\002 \001(\0132\034.google.privacy.dlp.v2.Value" - + "B\003\340A\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\360\001\n\017Buck" - + "etingConfig\022>\n\007buckets\030\001 \003(\0132-.google.pr" - + "ivacy.dlp.v2.BucketingConfig.Bucket\032\234\001\n\006" - + "Bucket\022)\n\003min\030\001 \001(\0132\034.google.privacy.dlp" - + ".v2.Value\022)\n\003max\030\002 \001(\0132\034.google.privacy." - + "dlp.v2.Value\022<\n\021replacement_value\030\003 \001(\0132" - + "\034.google.privacy.dlp.v2.ValueB\003\340A\002\"\371\003\n\031C" - + "ryptoReplaceFfxFpeConfig\0229\n\ncrypto_key\030\001" - + " \001(\0132 .google.privacy.dlp.v2.CryptoKeyB\003" - + "\340A\002\022/\n\007context\030\002 \001(\0132\036.google.privacy.dl" - + "p.v2.FieldId\022c\n\017common_alphabet\030\004 \001(\0162H." - + "google.privacy.dlp.v2.CryptoReplaceFfxFp" - + "eConfig.FfxCommonNativeAlphabetH\000\022\031\n\017cus" - + "tom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n" - + "\023surrogate_info_type\030\010 \001(\0132\037.google.priv" - + "acy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNativeA" - + "lphabet\022*\n&FFX_COMMON_NATIVE_ALPHABET_UN" - + "SPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020" - + "\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA" - + "_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\t" - + "transient\030\001 \001(\0132).google.privacy.dlp.v2." - + "TransientCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132" - + ").google.privacy.dlp.v2.UnwrappedCryptoK" - + "eyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google.priva" - + "cy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006sourc" - + "e\"\'\n\022TransientCryptoKey\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\002\"&\n\022UnwrappedCryptoKey\022\020\n\003key\030\001 \001(\014B\003\340" - + "A\002\"M\n\023KmsWrappedCryptoKey\022\030\n\013wrapped_key" - + "\030\001 \001(\014B\003\340A\002\022\034\n\017crypto_key_name\030\002 \001(\tB\003\340A" - + "\002\"\302\001\n\017DateShiftConfig\022\035\n\020upper_bound_day" - + "s\030\001 \001(\005B\003\340A\002\022\035\n\020lower_bound_days\030\002 \001(\005B\003" - + "\340A\002\022/\n\007context\030\003 \001(\0132\036.google.privacy.dl" - + "p.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .googl" - + "e.privacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\245" - + "\002\n\027InfoTypeTransformations\022c\n\017transforma" - + "tions\030\001 \003(\0132E.google.privacy.dlp.v2.Info" - + "TypeTransformations.InfoTypeTransformati" - + "onB\003\340A\002\032\244\001\n\026InfoTypeTransformation\0223\n\nin" - + "fo_types\030\001 \003(\0132\037.google.privacy.dlp.v2.I" - + "nfoType\022U\n\030primitive_transformation\030\002 \001(" - + "\0132..google.privacy.dlp.v2.PrimitiveTrans" - + "formationB\003\340A\002\"\300\002\n\023FieldTransformation\0223" - + "\n\006fields\030\001 \003(\0132\036.google.privacy.dlp.v2.F" - + "ieldIdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.google." - + "privacy.dlp.v2.RecordCondition\022R\n\030primit" - + "ive_transformation\030\004 \001(\0132..google.privac" - + "y.dlp.v2.PrimitiveTransformationH\000\022S\n\031in" - + "fo_type_transformations\030\005 \001(\0132..google.p" - + "rivacy.dlp.v2.InfoTypeTransformationsH\000B" - + "\020\n\016transformation\"\251\001\n\025RecordTransformati" - + "ons\022I\n\025field_transformations\030\001 \003(\0132*.goo" - + "gle.privacy.dlp.v2.FieldTransformation\022E" - + "\n\023record_suppressions\030\002 \003(\0132(.google.pri" - + "vacy.dlp.v2.RecordSuppression\"N\n\021RecordS" - + "uppression\0229\n\tcondition\030\001 \001(\0132&.google.p" - + "rivacy.dlp.v2.RecordCondition\"\334\004\n\017Record" - + "Condition\022G\n\013expressions\030\003 \001(\01322.google." - + "privacy.dlp.v2.RecordCondition.Expressio" - + "ns\032\256\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.google" - + ".privacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010operator" - + "\030\003 \001(\0162).google.privacy.dlp.v2.Relationa" - + "lOperatorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.p" - + "rivacy.dlp.v2.Value\032R\n\nConditions\022D\n\ncon" - + "ditions\030\001 \003(\01320.google.privacy.dlp.v2.Re" - + "cordCondition.Condition\032\372\001\n\013Expressions\022" - + "\\\n\020logical_operator\030\001 \001(\0162B.google.priva" - + "cy.dlp.v2.RecordCondition.Expressions.Lo" - + "gicalOperator\022G\n\nconditions\030\003 \001(\01321.goog" - + "le.privacy.dlp.v2.RecordCondition.Condit" - + "ionsH\000\"<\n\017LogicalOperator\022 \n\034LOGICAL_OPE" - + "RATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n" - + "\026TransformationOverview\022\031\n\021transformed_b" - + "ytes\030\002 \001(\003\022N\n\030transformation_summaries\030\003" - + " \003(\0132,.google.privacy.dlp.v2.Transformat" - + "ionSummary\"\237\005\n\025TransformationSummary\0222\n\t" - + "info_type\030\001 \001(\0132\037.google.privacy.dlp.v2." - + "InfoType\022-\n\005field\030\002 \001(\0132\036.google.privacy" - + ".dlp.v2.FieldId\022F\n\016transformation\030\003 \001(\0132" - + "..google.privacy.dlp.v2.PrimitiveTransfo" - + "rmation\022I\n\025field_transformations\030\005 \003(\0132*" - + ".google.privacy.dlp.v2.FieldTransformati" - + "on\022A\n\017record_suppress\030\006 \001(\0132(.google.pri" - + "vacy.dlp.v2.RecordSuppression\022K\n\007results" - + "\030\004 \003(\0132:.google.privacy.dlp.v2.Transform" - + "ationSummary.SummaryResult\022\031\n\021transforme" - + "d_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r\n\005count" - + "\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.privacy.dl" - + "p.v2.TransformationSummary.Transformatio" - + "nResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Transfor" - + "mationResultCode\022*\n&TRANSFORMATION_RESUL" - + "T_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERR" - + "OR\020\002\"U\n\010Schedule\022?\n\032recurrence_period_du" - + "ration\030\001 \001(\0132\031.google.protobuf.DurationH" - + "\000B\010\n\006option\"\010\n\006Manual\"\302\004\n\017InspectTemplat" - + "e\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001" - + "(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_time\030\004" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022<\n\016inspect_config\030\006 \001(\0132$.go" - + "ogle.privacy.dlp.v2.InspectConfig:\306\002\352A\302\002" - + "\n\"dlp.googleapis.com/InspectTemplate\022@or" - + "ganizations/{organization}/inspectTempla" - + "tes/{inspect_template}\0226projects/{projec" - + "t}/inspectTemplates/{inspect_template}\022U" - + "organizations/{organization}/locations/{" - + "location}/inspectTemplates/{inspect_temp" - + "late}\022Kprojects/{project}/locations/{loc" - + "ation}/inspectTemplates/{inspect_templat" - + "e}\"\346\004\n\022DeidentifyTemplate\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descriptio" - + "n\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022B\n\021d" - + "eidentify_config\030\006 \001(\0132\'.google.privacy." - + "dlp.v2.DeidentifyConfig:\341\002\352A\335\002\n%dlp.goog" - + "leapis.com/DeidentifyTemplate\022Forganizat" - + "ions/{organization}/deidentifyTemplates/" - + "{deidentify_template}\022\n\013inspect_job" - + "\030\004 \001(\0132\'.google.privacy.dlp.v2.InspectJo" - + "bConfigH\000\022;\n\010triggers\030\005 \003(\0132).google.pri" - + "vacy.dlp.v2.JobTrigger.Trigger\0221\n\006errors" - + "\030\006 \003(\0132\034.google.privacy.dlp.v2.ErrorB\003\340A" - + "\003\0224\n\013create_time\030\007 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\0226\n\rlast_ru" - + "n_time\030\t \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\022=\n\006status\030\n \001(\0162(.google.privacy.d" - + "lp.v2.JobTrigger.StatusB\003\340A\002\032z\n\007Trigger\022" - + "3\n\010schedule\030\001 \001(\0132\037.google.privacy.dlp.v" - + "2.ScheduleH\000\022/\n\006manual\030\002 \001(\0132\035.google.pr" - + "ivacy.dlp.v2.ManualH\000B\t\n\007trigger\"H\n\006Stat" - + "us\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022" - + "\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035dlp.g" - + "oogleapis.com/JobTrigger\022,projects/{proj" - + "ect}/jobTriggers/{job_trigger}\022Aprojects" - + "/{project}/locations/{location}/jobTrigg" - + "ers/{job_trigger}B\005\n\003job\"\364\005\n\006Action\022C\n\rs" - + "ave_findings\030\001 \001(\0132*.google.privacy.dlp." - + "v2.Action.SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(" - + "\0132-.google.privacy.dlp.v2.Action.Publish" - + "ToPubSubH\000\022U\n\027publish_summary_to_cscc\030\003 " - + "\001(\01322.google.privacy.dlp.v2.Action.Publi" - + "shSummaryToCsccH\000\022q\n&publish_findings_to" - + "_cloud_data_catalog\030\005 \001(\0132?.google.priva" - + "cy.dlp.v2.Action.PublishFindingsToCloudD" - + "ataCatalogH\000\022V\n\027job_notification_emails\030" - + "\010 \001(\01323.google.privacy.dlp.v2.Action.Job" - + "NotificationEmailsH\000\022T\n\026publish_to_stack" - + "driver\030\t \001(\01322.google.privacy.dlp.v2.Act" - + "ion.PublishToStackdriverH\000\032Q\n\014SaveFindin" - + "gs\022A\n\routput_config\030\001 \001(\0132*.google.priva" - + "cy.dlp.v2.OutputStorageConfig\032 \n\017Publish" - + "ToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummar" - + "yToCscc\032#\n!PublishFindingsToCloudDataCat" - + "alog\032\027\n\025JobNotificationEmails\032\026\n\024Publish" - + "ToStackdriverB\010\n\006action\"\313\001\n\034CreateInspec" - + "tTemplateRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$" - + "\022\"dlp.googleapis.com/InspectTemplate\022E\n\020" - + "inspect_template\030\002 \001(\0132&.google.privacy." - + "dlp.v2.InspectTemplateB\003\340A\002\022\023\n\013template_" - + "id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\313\001\n\034Update" - + "InspectTemplateRequest\0228\n\004name\030\001 \001(\tB*\340A" - + "\002\372A$\n\"dlp.googleapis.com/InspectTemplate" - + "\022@\n\020inspect_template\030\002 \001(\0132&.google.priv" - + "acy.dlp.v2.InspectTemplate\022/\n\013update_mas" - + "k\030\003 \001(\0132\032.google.protobuf.FieldMask\"U\n\031G" - + "etInspectTemplateRequest\0228\n\004name\030\001 \001(\tB*" - + "\340A\002\372A$\n\"dlp.googleapis.com/InspectTempla" - + "te\"\247\001\n\033ListInspectTemplatesRequest\022:\n\006pa" - + "rent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis.com/I" - + "nspectTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpa" - + "ge_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013locat" - + "ion_id\030\005 \001(\t\"z\n\034ListInspectTemplatesResp" - + "onse\022A\n\021inspect_templates\030\001 \003(\0132&.google" - + ".privacy.dlp.v2.InspectTemplate\022\027\n\017next_" - + "page_token\030\002 \001(\t\"X\n\034DeleteInspectTemplat" - + "eRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.goog" - + "leapis.com/InspectTemplate\"\266\001\n\027CreateJob" - + "TriggerRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035" - + "dlp.googleapis.com/JobTrigger\022;\n\013job_tri" - + "gger\030\002 \001(\0132!.google.privacy.dlp.v2.JobTr" - + "iggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013locati" - + "on_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRequest" - + "\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.c" - + "om/JobTrigger\"\267\001\n\027UpdateJobTriggerReques" - + "t\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis." - + "com/JobTrigger\0226\n\013job_trigger\030\002 \001(\0132!.go" - + "ogle.privacy.dlp.v2.JobTrigger\022/\n\013update" - + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"" - + "K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340" - + "A\002\372A\037\n\035dlp.googleapis.com/JobTrigger\"\366\001\n" - + "\023CreateDlpJobRequest\0221\n\006parent\030\001 \001(\tB!\340A" - + "\002\372A\033\022\031dlp.googleapis.com/DlpJob\022>\n\013inspe" - + "ct_job\030\002 \001(\0132\'.google.privacy.dlp.v2.Ins" - + "pectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.goog" - + "le.privacy.dlp.v2.RiskAnalysisJobConfigH" - + "\000\022\016\n\006job_id\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\tB\005" - + "\n\003job\"\336\001\n\026ListJobTriggersRequest\0225\n\006pare" - + "nt\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.com/Job" - + "Trigger\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size" - + "\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t" - + "\022/\n\004type\030\006 \001(\0162!.google.privacy.dlp.v2.D" - + "lpJobType\022\023\n\013location_id\030\007 \001(\t\"k\n\027ListJo" - + "bTriggersResponse\0227\n\014job_triggers\030\001 \003(\0132" - + "!.google.privacy.dlp.v2.JobTrigger\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"N\n\027DeleteJobTriggerR" - + "equest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.google" - + "apis.com/JobTrigger\"\335\001\n\020InspectJobConfig" - + "\022<\n\016storage_config\030\001 \001(\0132$.google.privac" - + "y.dlp.v2.StorageConfig\022<\n\016inspect_config" - + "\030\002 \001(\0132$.google.privacy.dlp.v2.InspectCo" - + "nfig\022\035\n\025inspect_template_name\030\003 \001(\t\022.\n\007a" - + "ctions\030\004 \003(\0132\035.google.privacy.dlp.v2.Act" - + "ion\"\353\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001" - + "(\0162!.google.privacy.dlp.v2.DlpJobType\0225\n" - + "\005state\030\003 \001(\0162&.google.privacy.dlp.v2.Dlp" - + "Job.JobState\022K\n\014risk_details\030\004 \001(\01323.goo" - + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" - + "DetailsH\000\022J\n\017inspect_details\030\005 \001(\0132/.goo" - + "gle.privacy.dlp.v2.InspectDataSourceDeta" - + "ilsH\000\022/\n\013create_time\030\006 \001(\0132\032.google.prot" - + "obuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022,\n\010end_time\030\010 \001(\013" - + "2\032.google.protobuf.Timestamp\022\030\n\020job_trig" - + "ger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google." - + "privacy.dlp.v2.Error\"o\n\010JobState\022\031\n\025JOB_" - + "STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNN" - + "ING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED\020" - + "\005\022\n\n\006ACTIVE\020\006:\177\352A|\n\031dlp.googleapis.com/D" - + "lpJob\022$projects/{project}/dlpJobs/{dlp_j" - + "ob}\0229projects/{project}/locations/{locat" - + "ion}/dlpJobs/{dlp_job}B\t\n\007details\"C\n\020Get" - + "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" - + ".googleapis.com/DlpJob\"\326\001\n\022ListDlpJobsRe" - + "quest\0221\n\006parent\030\004 \001(\tB!\340A\002\372A\033\022\031dlp.googl" - + "eapis.com/DlpJob\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004type\030" - + "\005 \001(\0162!.google.privacy.dlp.v2.DlpJobType" - + "\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"" - + "[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(\0132\035.g" - + "oogle.privacy.dlp.v2.DlpJob\022\027\n\017next_page" - + "_token\030\002 \001(\t\"F\n\023CancelDlpJobRequest\022/\n\004n" - + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/Dl" - + "pJob\"F\n\023FinishDlpJobRequest\022/\n\004name\030\001 \001(" - + "\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"F\n\023" - + "DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A" - + "\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037CreateD" - + "eidentifyTemplateRequest\022=\n\006parent\030\001 \001(\t" - + "B-\340A\002\372A\'\022%dlp.googleapis.com/DeidentifyT" - + "emplate\022K\n\023deidentify_template\030\002 \001(\0132).g" - + "oogle.privacy.dlp.v2.DeidentifyTemplateB" - + "\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013location_id" - + "\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplateReque" - + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis" - + ".com/DeidentifyTemplate\022F\n\023deidentify_te" - + "mplate\030\002 \001(\0132).google.privacy.dlp.v2.Dei" - + "dentifyTemplate\022/\n\013update_mask\030\003 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"[\n\034GetDeidentif" - + "yTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" - + "dlp.googleapis.com/DeidentifyTemplate\"\255\001" - + "\n\036ListDeidentifyTemplatesRequest\022=\n\006pare" - + "nt\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Dei" - + "dentifyTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tp" - + "age_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013loca" - + "tion_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTemplate" - + "sResponse\022G\n\024deidentify_templates\030\001 \003(\0132" - + ").google.privacy.dlp.v2.DeidentifyTempla" - + "te\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037DeleteDei" - + "dentifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A" - + "\002\372A\'\n%dlp.googleapis.com/DeidentifyTempl" - + "ate\"\364\001\n\033LargeCustomDictionaryConfig\022<\n\013o" - + "utput_path\030\001 \001(\0132\'.google.privacy.dlp.v2" - + ".CloudStoragePath\022L\n\026cloud_storage_file_" - + "set\030\002 \001(\0132*.google.privacy.dlp.v2.CloudS" - + "torageFileSetH\000\022?\n\017big_query_field\030\003 \001(\013" - + "2$.google.privacy.dlp.v2.BigQueryFieldH\000" - + "B\010\n\006source\"8\n\032LargeCustomDictionaryStats" - + "\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024StoredI" - + "nfoTypeConfig\022\024\n\014display_name\030\001 \001(\t\022\023\n\013d" - + "escription\030\002 \001(\t\022U\n\027large_custom_diction" - + "ary\030\003 \001(\01322.google.privacy.dlp.v2.LargeC" - + "ustomDictionaryConfigH\000\022F\n\ndictionary\030\004 " - + "\001(\01320.google.privacy.dlp.v2.CustomInfoTy" - + "pe.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.google." - + "privacy.dlp.v2.CustomInfoType.RegexH\000B\006\n" - + "\004type\"s\n\023StoredInfoTypeStats\022T\n\027large_cu" - + "stom_dictionary\030\001 \001(\01321.google.privacy.d" - + "lp.v2.LargeCustomDictionaryStatsH\000B\006\n\004ty" - + "pe\"\251\002\n\025StoredInfoTypeVersion\022;\n\006config\030\001" - + " \001(\0132+.google.privacy.dlp.v2.StoredInfoT" - + "ypeConfig\022/\n\013create_time\030\002 \001(\0132\032.google." - + "protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.goog" - + "le.privacy.dlp.v2.StoredInfoTypeState\022,\n" - + "\006errors\030\004 \003(\0132\034.google.privacy.dlp.v2.Er" - + "ror\0229\n\005stats\030\005 \001(\0132*.google.privacy.dlp." - + "v2.StoredInfoTypeStats\"\361\003\n\016StoredInfoTyp" - + "e\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030\002 \001(\013" - + "2,.google.privacy.dlp.v2.StoredInfoTypeV" - + "ersion\022F\n\020pending_versions\030\003 \003(\0132,.googl" - + "e.privacy.dlp.v2.StoredInfoTypeVersion:\301" - + "\002\352A\275\002\n!dlp.googleapis.com/StoredInfoType" - + "\022?organizations/{organization}/storedInf" - + "oTypes/{stored_info_type}\0225projects/{pro" - + "ject}/storedInfoTypes/{stored_info_type}" - + "\022Torganizations/{organization}/locations" - + "/{location}/storedInfoTypes/{stored_info" - + "_type}\022Jprojects/{project}/locations/{lo" - + "cation}/storedInfoTypes/{stored_info_typ" - + "e}\"\314\001\n\033CreateStoredInfoTypeRequest\0229\n\006pa" - + "rent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/S" - + "toredInfoType\022@\n\006config\030\002 \001(\0132+.google.p" - + "rivacy.dlp.v2.StoredInfoTypeConfigB\003\340A\002\022" - + "\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013location" - + "_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoTypeReques" - + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis." - + "com/StoredInfoType\022;\n\006config\030\002 \001(\0132+.goo" - + "gle.privacy.dlp.v2.StoredInfoTypeConfig\022" - + "/\n\013update_mask\030\003 \001(\0132\032.google.protobuf.F" - + "ieldMask\"S\n\030GetStoredInfoTypeRequest\0227\n\004" - + "name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/S" - + "toredInfoType\"\245\001\n\032ListStoredInfoTypesReq" - + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.google" - + "apis.com/StoredInfoType\022\022\n\npage_token\030\002 " - + "\001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t" - + "\022\023\n\013location_id\030\005 \001(\t\"x\n\033ListStoredInfoT" - + "ypesResponse\022@\n\021stored_info_types\030\001 \003(\0132" - + "%.google.privacy.dlp.v2.StoredInfoType\022\027" - + "\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteStoredI" - + "nfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dl" - + "p.googleapis.com/StoredInfoType\"\224\001\n\036Hybr" - + "idInspectJobTriggerRequest\0223\n\004name\030\001 \001(\t", - "B%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigger\022" - + "=\n\013hybrid_item\030\003 \001(\0132(.google.privacy.dl" - + "p.v2.HybridContentItem\"\214\001\n\032HybridInspect" - + "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" - + ".googleapis.com/DlpJob\022=\n\013hybrid_item\030\003 " - + "\001(\0132(.google.privacy.dlp.v2.HybridConten" - + "tItem\"\213\001\n\021HybridContentItem\0220\n\004item\030\001 \001(" - + "\0132\".google.privacy.dlp.v2.ContentItem\022D\n" - + "\017finding_details\030\002 \001(\0132+.google.privacy." - + "dlp.v2.HybridFindingDetails\"\260\002\n\024HybridFi" - + "ndingDetails\022;\n\021container_details\030\001 \001(\0132" - + " .google.privacy.dlp.v2.Container\022\023\n\013fil" - + "e_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022:\n\rta" - + "ble_options\030\004 \001(\0132#.google.privacy.dlp.v" - + "2.TableOptions\022G\n\006labels\030\005 \003(\01327.google." - + "privacy.dlp.v2.HybridFindingDetails.Labe" - + "lsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectResponse*" - + "\273\001\n\022RelationalOperator\022#\n\037RELATIONAL_OPE" - + "RATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NOT" - + "_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLESS_TH" - + "AN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS" - + "_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014Matchi" - + "ngType\022\035\n\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n" - + "\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_" - + "TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_IN" - + "VERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023CONTEN" - + "T_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCON" - + "TENT_IMAGE\020\002*B\n\014MetadataType\022\034\n\030METADATA" - + "TYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE_METADATA\020\002" - + "*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYPE_UNS" - + "PECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS" - + "\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECI" - + "FIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS" - + "_JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"STORED_" - + "INFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING" - + "\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\240" - + "L\n\nDlpService\022\333\001\n\016InspectContent\022,.googl" - + "e.privacy.dlp.v2.InspectContentRequest\032-" - + ".google.privacy.dlp.v2.InspectContentRes" - + "ponse\"l\202\323\344\223\002f\"\'/v2/{parent=projects/*}/c" - + "ontent:inspect:\001*Z8\"3/v2/{parent=project" - + "s/*/locations/*}/content:inspect:\001*\022\314\001\n\013" - + "RedactImage\022).google.privacy.dlp.v2.Reda" - + "ctImageRequest\032*.google.privacy.dlp.v2.R" - + "edactImageResponse\"f\202\323\344\223\002`\"$/v2/{parent=" - + "projects/*}/image:redact:\001*Z5\"0/v2/{pare" - + "nt=projects/*/locations/*}/image:redact:" - + "\001*\022\352\001\n\021DeidentifyContent\022/.google.privac" - + "y.dlp.v2.DeidentifyContentRequest\0320.goog" - + "le.privacy.dlp.v2.DeidentifyContentRespo" - + "nse\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/con" - + "tent:deidentify:\001*Z;\"6/v2/{parent=projec" - + "ts/*/locations/*}/content:deidentify:\001*\022" - + "\352\001\n\021ReidentifyContent\022/.google.privacy.d" - + "lp.v2.ReidentifyContentRequest\0320.google." - + "privacy.dlp.v2.ReidentifyContentResponse" - + "\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/conten" - + "t:reidentify:\001*Z;\"6/v2/{parent=projects/" - + "*/locations/*}/content:reidentify:\001*\022\260\001\n" - + "\rListInfoTypes\022+.google.privacy.dlp.v2.L" - + "istInfoTypesRequest\032,.google.privacy.dlp" - + ".v2.ListInfoTypesResponse\"D\202\323\344\223\0025\022\r/v2/i" - + "nfoTypesZ$\022\"/v2/{parent=locations/*}/inf" - + "oTypes\332A\006parent\022\364\002\n\025CreateInspectTemplat" - + "e\0223.google.privacy.dlp.v2.CreateInspectT" - + "emplateRequest\032&.google.privacy.dlp.v2.I" - + "nspectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{parent=or" - + "ganizations/*}/inspectTemplates:\001*Z>\"9/v" - + "2/{parent=organizations/*/locations/*}/i" - + "nspectTemplates:\001*Z-\"(/v2/{parent=projec" - + "ts/*}/inspectTemplates:\001*Z9\"4/v2/{parent" - + "=projects/*/locations/*}/inspectTemplate" - + "s:\001*\332A\027parent,inspect_template\022\376\002\n\025Updat" - + "eInspectTemplate\0223.google.privacy.dlp.v2" - + ".UpdateInspectTemplateRequest\032&.google.p" - + "rivacy.dlp.v2.InspectTemplate\"\207\002\202\323\344\223\002\334\0012" - + "-/v2/{name=organizations/*/inspectTempla" - + "tes/*}:\001*Z>29/v2/{name=organizations/*/l" - + "ocations/*/inspectTemplates/*}:\001*Z-2(/v2" - + "/{name=projects/*/inspectTemplates/*}:\001*" - + "Z924/v2/{name=projects/*/locations/*/ins" - + "pectTemplates/*}:\001*\332A!name,inspect_templ" - + "ate,update_mask\022\317\002\n\022GetInspectTemplate\0220" - + ".google.privacy.dlp.v2.GetInspectTemplat" - + "eRequest\032&.google.privacy.dlp.v2.Inspect" - + "Template\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organizati" - + "ons/*/inspectTemplates/*}Z;\0229/v2/{name=o" - + "rganizations/*/locations/*/inspectTempla" - + "tes/*}Z*\022(/v2/{name=projects/*/inspectTe" - + "mplates/*}Z6\0224/v2/{name=projects/*/locat" - + "ions/*/inspectTemplates/*}\332A\004name\022\342\002\n\024Li" - + "stInspectTemplates\0222.google.privacy.dlp." - + "v2.ListInspectTemplatesRequest\0323.google." - + "privacy.dlp.v2.ListInspectTemplatesRespo" - + "nse\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organizations" - + "/*}/inspectTemplatesZ;\0229/v2/{parent=orga" - + "nizations/*/locations/*}/inspectTemplate" - + "sZ*\022(/v2/{parent=projects/*}/inspectTemp" - + "latesZ6\0224/v2/{parent=projects/*/location" - + "s/*}/inspectTemplates\332A\006parent\022\305\002\n\025Delet" - + "eInspectTemplate\0223.google.privacy.dlp.v2" - + ".DeleteInspectTemplateRequest\032\026.google.p" - + "rotobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organ" - + "izations/*/inspectTemplates/*}Z;*9/v2/{n" - + "ame=organizations/*/locations/*/inspectT" - + "emplates/*}Z**(/v2/{name=projects/*/insp" - + "ectTemplates/*}Z6*4/v2/{name=projects/*/" - + "locations/*/inspectTemplates/*}\332A\004name\022\214" - + "\003\n\030CreateDeidentifyTemplate\0226.google.pri" - + "vacy.dlp.v2.CreateDeidentifyTemplateRequ" - + "est\032).google.privacy.dlp.v2.DeidentifyTe" - + "mplate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organizati" - + "ons/*}/deidentifyTemplates:\001*ZA\"\022\022*\"9/v2/{n" - + "ame=projects/*/locations/*/dlpJobs/*}:hy" - + "bridInspect:\001*\332A\004name\022\221\001\n\014FinishDlpJob\022*" - + ".google.privacy.dlp.v2.FinishDlpJobReque" - + "st\032\026.google.protobuf.Empty\"=\202\323\344\223\0027\"2/v2/" - + "{name=projects/*/locations/*/dlpJobs/*}:" - + "finish:\001*\032F\312A\022dlp.googleapis.com\322A.https" - + "://www.googleapis.com/auth/cloud-platfor" - + "mB\372\002\n\031com.google.privacy.dlp.v2B\010DlpProt" - + "oP\001Z8google.golang.org/genproto/googleap" - + "is/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp" - + ".V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Clou" - + "d::Dlp::V2\352Ar\n\035dlp.googleapis.com/DlpCon" - + "tent\022\035projects/{project}/dlpContent\0222pro" - + "jects/{project}/locations/{location}/dlp" - + "Content\352A\\\n\'dlp.googleapis.com/Organizat" - + "ionLocation\0221organizations/{organization" - + "}/locations/{location}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.privacy.dlp.v2.DlpStorage.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor, - new java.lang.String[] { - "InfoTypes", - }); - internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor, - new java.lang.String[] { - "Dictionary", "Regex", "ExcludeInfoTypes", "MatchingType", "Type", - }); - internal_static_google_privacy_dlp_v2_InspectionRule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectionRule_descriptor, - new java.lang.String[] { - "HotwordRule", "ExclusionRule", "Type", - }); - internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor, - new java.lang.String[] { - "InfoTypes", "Rules", - }); - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor, - new java.lang.String[] { - "InfoTypes", - "MinLikelihood", - "Limits", - "IncludeQuote", - "ExcludeInfoTypes", - "CustomInfoTypes", - "ContentOptions", - "RuleSet", - }); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor = - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor, - new java.lang.String[] { - "MaxFindingsPerItem", "MaxFindingsPerRequest", "MaxFindingsPerInfoType", - }); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor = - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor, - new java.lang.String[] { - "InfoType", "MaxFindings", - }); - internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor, - new java.lang.String[] { - "Type", "Data", - }); - internal_static_google_privacy_dlp_v2_ContentItem_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ContentItem_descriptor, - new java.lang.String[] { - "Value", "Table", "ByteItem", "DataItem", - }); - internal_static_google_privacy_dlp_v2_Table_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Table_descriptor, - new java.lang.String[] { - "Headers", "Rows", - }); - internal_static_google_privacy_dlp_v2_Table_Row_descriptor = - internal_static_google_privacy_dlp_v2_Table_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Table_Row_descriptor, - new java.lang.String[] { - "Values", - }); - internal_static_google_privacy_dlp_v2_InspectResult_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectResult_descriptor, - new java.lang.String[] { - "Findings", "FindingsTruncated", - }); - internal_static_google_privacy_dlp_v2_Finding_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Finding_descriptor, - new java.lang.String[] { - "Name", - "Quote", - "InfoType", - "Likelihood", - "Location", - "CreateTime", - "QuoteInfo", - "ResourceName", - "TriggerName", - "Labels", - "JobCreateTime", - "JobName", - "FindingId", - }); - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_Finding_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_privacy_dlp_v2_Location_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Location_descriptor, - new java.lang.String[] { - "ByteRange", "CodepointRange", "ContentLocations", "Container", - }); - internal_static_google_privacy_dlp_v2_ContentLocation_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ContentLocation_descriptor, - new java.lang.String[] { - "ContainerName", - "RecordLocation", - "ImageLocation", - "DocumentLocation", - "MetadataLocation", - "ContainerTimestamp", - "ContainerVersion", - "Location", - }); - internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor, - new java.lang.String[] { - "Type", "StorageLabel", "Label", - }); - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor, - new java.lang.String[] { - "Key", - }); - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor, - new java.lang.String[] { - "FileOffset", - }); - internal_static_google_privacy_dlp_v2_RecordLocation_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordLocation_descriptor, - new java.lang.String[] { - "RecordKey", "FieldId", "TableLocation", - }); - internal_static_google_privacy_dlp_v2_TableLocation_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableLocation_descriptor, - new java.lang.String[] { - "RowIndex", - }); - internal_static_google_privacy_dlp_v2_Container_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Container_descriptor, - new java.lang.String[] { - "Type", "ProjectId", "FullPath", "RootPath", "RelativePath", "UpdateTime", "Version", - }); - internal_static_google_privacy_dlp_v2_Range_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Range_descriptor, - new java.lang.String[] { - "Start", "End", - }); - internal_static_google_privacy_dlp_v2_ImageLocation_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageLocation_descriptor, - new java.lang.String[] { - "BoundingBoxes", - }); - internal_static_google_privacy_dlp_v2_BoundingBox_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BoundingBox_descriptor, - new java.lang.String[] { - "Top", "Left", "Width", "Height", - }); - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor, - new java.lang.String[] { - "Parent", - "LocationId", - "InspectConfig", - "ImageRedactionConfigs", - "IncludeFindings", - "ByteItem", - }); - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor = - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor, - new java.lang.String[] { - "InfoType", "RedactAllText", "RedactionColor", "Target", - }); - internal_static_google_privacy_dlp_v2_Color_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Color_descriptor, - new java.lang.String[] { - "Red", "Green", "Blue", - }); - internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor, - new java.lang.String[] { - "RedactedImage", "ExtractedText", "InspectResult", - }); - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor, - new java.lang.String[] { - "Parent", - "DeidentifyConfig", - "InspectConfig", - "Item", - "InspectTemplateName", - "DeidentifyTemplateName", - "LocationId", - }); - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor, - new java.lang.String[] { - "Item", "Overview", - }); - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor, - new java.lang.String[] { - "Parent", - "ReidentifyConfig", - "InspectConfig", - "Item", - "InspectTemplateName", - "ReidentifyTemplateName", - "LocationId", - }); - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor, - new java.lang.String[] { - "Item", "Overview", - }); - internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor, - new java.lang.String[] { - "Parent", "InspectConfig", "Item", "InspectTemplateName", "LocationId", - }); - internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor, - new java.lang.String[] { - "Result", - }); - internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor, - new java.lang.String[] { - "Table", "OutputSchema", "Type", - }); - internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor, - new java.lang.String[] { - "InfoType", "Count", - }); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor, - new java.lang.String[] { - "RequestedOptions", "Result", - }); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor = - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor, - new java.lang.String[] { - "SnapshotInspectTemplate", "JobConfig", - }); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor = - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor, - new java.lang.String[] { - "ProcessedBytes", "TotalEstimatedBytes", "InfoTypeStats", "HybridStats", - }); - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor, - new java.lang.String[] { - "ProcessedCount", "AbortedCount", "PendingCount", - }); - internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "SupportedBy", "Description", - }); - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor, - new java.lang.String[] { - "Parent", "LanguageCode", "Filter", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor, - new java.lang.String[] { - "InfoTypes", - }); - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor, - new java.lang.String[] { - "PrivacyMetric", "SourceTable", "Actions", - }); - internal_static_google_privacy_dlp_v2_QuasiId_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_QuasiId_descriptor, - new java.lang.String[] { - "Field", "InfoType", "CustomTag", "Inferred", "Tag", - }); - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor, - new java.lang.String[] { - "Table", "QuasiIds", "RelativeFrequency", - }); - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor = - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor, - new java.lang.String[] { - "Field", "CustomTag", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor, - new java.lang.String[] { - "NumericalStatsConfig", - "CategoricalStatsConfig", - "KAnonymityConfig", - "LDiversityConfig", - "KMapEstimationConfig", - "DeltaPresenceEstimationConfig", - "Type", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor, - new java.lang.String[] { - "Field", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor, - new java.lang.String[] { - "Field", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor, - new java.lang.String[] { - "QuasiIds", "EntityId", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor, - new java.lang.String[] { - "QuasiIds", "SensitiveAttribute", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(4); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor, - new java.lang.String[] { - "QuasiIds", "RegionCode", "AuxiliaryTables", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor, - new java.lang.String[] { - "Field", "InfoType", "CustomTag", "Inferred", "Tag", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor, - new java.lang.String[] { - "Table", "QuasiIds", "RelativeFrequency", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor, - new java.lang.String[] { - "Field", "CustomTag", - }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(5); - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor, - new java.lang.String[] { - "QuasiIds", "RegionCode", "AuxiliaryTables", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor, - new java.lang.String[] { - "RequestedPrivacyMetric", - "RequestedSourceTable", - "NumericalStatsResult", - "CategoricalStatsResult", - "KAnonymityResult", - "LDiversityResult", - "KMapEstimationResult", - "DeltaPresenceEstimationResult", - "RequestedOptions", - "Result", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor, - new java.lang.String[] { - "MinValue", "MaxValue", "QuantileValues", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor, - new java.lang.String[] { - "ValueFrequencyHistogramBuckets", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor, - new java.lang.String[] { - "ValueFrequencyLowerBound", - "ValueFrequencyUpperBound", - "BucketSize", - "BucketValues", - "BucketValueCount", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(2); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor, - new java.lang.String[] { - "EquivalenceClassHistogramBuckets", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor, - new java.lang.String[] { - "QuasiIdsValues", "EquivalenceClassSize", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor, - new java.lang.String[] { - "EquivalenceClassSizeLowerBound", - "EquivalenceClassSizeUpperBound", - "BucketSize", - "BucketValues", - "BucketValueCount", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(3); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor, - new java.lang.String[] { - "SensitiveValueFrequencyHistogramBuckets", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor, - new java.lang.String[] { - "QuasiIdsValues", - "EquivalenceClassSize", - "NumDistinctSensitiveValues", - "TopSensitiveValues", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor, - new java.lang.String[] { - "SensitiveValueFrequencyLowerBound", - "SensitiveValueFrequencyUpperBound", - "BucketSize", - "BucketValues", - "BucketValueCount", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(4); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor, - new java.lang.String[] { - "KMapEstimationHistogram", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor, - new java.lang.String[] { - "QuasiIdsValues", "EstimatedAnonymity", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor, - new java.lang.String[] { - "MinAnonymity", "MaxAnonymity", "BucketSize", "BucketValues", "BucketValueCount", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(5); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor, - new java.lang.String[] { - "DeltaPresenceEstimationHistogram", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor, - new java.lang.String[] { - "QuasiIdsValues", "EstimatedProbability", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor, - new java.lang.String[] { - "MinProbability", "MaxProbability", "BucketSize", "BucketValues", "BucketValueCount", - }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor - .getNestedTypes() - .get(6); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor, - new java.lang.String[] { - "JobConfig", - }); - internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor, - new java.lang.String[] { - "Value", "Count", - }); - internal_static_google_privacy_dlp_v2_Value_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Value_descriptor, - new java.lang.String[] { - "IntegerValue", - "FloatValue", - "StringValue", - "BooleanValue", - "TimestampValue", - "TimeValue", - "DateValue", - "DayOfWeekValue", - "Type", - }); - internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor, - new java.lang.String[] { - "DateTime", "ParsedQuote", - }); - internal_static_google_privacy_dlp_v2_DateTime_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DateTime_descriptor, - new java.lang.String[] { - "Date", "DayOfWeek", "Time", "TimeZone", - }); - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor = - internal_static_google_privacy_dlp_v2_DateTime_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor, - new java.lang.String[] { - "OffsetMinutes", - }); - internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor, - new java.lang.String[] { - "InfoTypeTransformations", - "RecordTransformations", - "TransformationErrorHandling", - "Transformation", - }); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor, - new java.lang.String[] { - "ThrowError", "LeaveUntransformed", "Mode", - }); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor = - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor = - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor, - new java.lang.String[] { - "ReplaceConfig", - "RedactConfig", - "CharacterMaskConfig", - "CryptoReplaceFfxFpeConfig", - "FixedSizeBucketingConfig", - "BucketingConfig", - "ReplaceWithInfoTypeConfig", - "TimePartConfig", - "CryptoHashConfig", - "DateShiftConfig", - "CryptoDeterministicConfig", - "ReplaceDictionaryConfig", - "Transformation", - }); - internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor, - new java.lang.String[] { - "PartToExtract", - }); - internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor, - new java.lang.String[] { - "CryptoKey", - }); - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor, - new java.lang.String[] { - "CryptoKey", "SurrogateInfoType", "Context", - }); - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor, - new java.lang.String[] { - "NewValue", - }); - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor, - new java.lang.String[] { - "WordList", "Type", - }); - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_RedactConfig_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor, - new java.lang.String[] { - "CharactersToSkip", "CommonCharactersToIgnore", "Characters", - }); - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor, - new java.lang.String[] { - "MaskingCharacter", "NumberToMask", "ReverseOrder", "CharactersToIgnore", - }); - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor, - new java.lang.String[] { - "LowerBound", "UpperBound", "BucketSize", - }); - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor, - new java.lang.String[] { - "Buckets", - }); - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor = - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor, - new java.lang.String[] { - "Min", "Max", "ReplacementValue", - }); - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor, - new java.lang.String[] { - "CryptoKey", - "Context", - "CommonAlphabet", - "CustomAlphabet", - "Radix", - "SurrogateInfoType", - "Alphabet", - }); - internal_static_google_privacy_dlp_v2_CryptoKey_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoKey_descriptor, - new java.lang.String[] { - "Transient", "Unwrapped", "KmsWrapped", "Source", - }); - internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor, - new java.lang.String[] { - "Key", - }); - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor, - new java.lang.String[] { - "WrappedKey", "CryptoKeyName", - }); - internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor, - new java.lang.String[] { - "UpperBoundDays", "LowerBoundDays", "Context", "CryptoKey", "Method", - }); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor = - getDescriptor().getMessageTypes().get(66); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor, - new java.lang.String[] { - "Transformations", - }); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor = - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor, - new java.lang.String[] { - "InfoTypes", "PrimitiveTransformation", - }); - internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor = - getDescriptor().getMessageTypes().get(67); - internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor, - new java.lang.String[] { - "Fields", - "Condition", - "PrimitiveTransformation", - "InfoTypeTransformations", - "Transformation", - }); - internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor = - getDescriptor().getMessageTypes().get(68); - internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor, - new java.lang.String[] { - "FieldTransformations", "RecordSuppressions", - }); - internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor = - getDescriptor().getMessageTypes().get(69); - internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor, - new java.lang.String[] { - "Condition", - }); - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor = - getDescriptor().getMessageTypes().get(70); - internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor, - new java.lang.String[] { - "Expressions", - }); - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor = - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor, - new java.lang.String[] { - "Field", "Operator", "Value", - }); - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor = - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor, - new java.lang.String[] { - "Conditions", - }); - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor = - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor, - new java.lang.String[] { - "LogicalOperator", "Conditions", "Type", - }); - internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor = - getDescriptor().getMessageTypes().get(71); - internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor, - new java.lang.String[] { - "TransformedBytes", "TransformationSummaries", - }); - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor = - getDescriptor().getMessageTypes().get(72); - internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor, - new java.lang.String[] { - "InfoType", - "Field", - "Transformation", - "FieldTransformations", - "RecordSuppress", - "Results", - "TransformedBytes", - }); - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor = - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor, - new java.lang.String[] { - "Count", "Code", "Details", - }); - internal_static_google_privacy_dlp_v2_Schedule_descriptor = - getDescriptor().getMessageTypes().get(73); - internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Schedule_descriptor, - new java.lang.String[] { - "RecurrencePeriodDuration", "Option", - }); - internal_static_google_privacy_dlp_v2_Manual_descriptor = - getDescriptor().getMessageTypes().get(74); - internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Manual_descriptor, new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor = - getDescriptor().getMessageTypes().get(75); - internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "InspectConfig", - }); - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor = - getDescriptor().getMessageTypes().get(76); - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "DeidentifyConfig", - }); - internal_static_google_privacy_dlp_v2_Error_descriptor = - getDescriptor().getMessageTypes().get(77); - internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Error_descriptor, - new java.lang.String[] { - "Details", "Timestamps", - }); - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor = - getDescriptor().getMessageTypes().get(78); - internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Description", - "InspectJob", - "Triggers", - "Errors", - "CreateTime", - "UpdateTime", - "LastRunTime", - "Status", - "Job", - }); - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor = - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor, - new java.lang.String[] { - "Schedule", "Manual", "Trigger", - }); - internal_static_google_privacy_dlp_v2_Action_descriptor = - getDescriptor().getMessageTypes().get(79); - internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_descriptor, - new java.lang.String[] { - "SaveFindings", - "PubSub", - "PublishSummaryToCscc", - "PublishFindingsToCloudDataCatalog", - "JobNotificationEmails", - "PublishToStackdriver", - "Action", - }); - internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor, - new java.lang.String[] { - "OutputConfig", - }); - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor, - new java.lang.String[] { - "Topic", - }); - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(80); - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor, - new java.lang.String[] { - "Parent", "InspectTemplate", "TemplateId", "LocationId", - }); - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(81); - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor, - new java.lang.String[] { - "Name", "InspectTemplate", "UpdateMask", - }); - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(82); - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(83); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(84); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor, - new java.lang.String[] { - "InspectTemplates", "NextPageToken", - }); - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(85); - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(86); - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor, - new java.lang.String[] { - "Parent", "JobTrigger", "TriggerId", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(87); - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(88); - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, - new java.lang.String[] { - "Name", "JobTrigger", "UpdateMask", - }); - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(89); - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(90); - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, - new java.lang.String[] { - "Parent", "InspectJob", "RiskJob", "JobId", "LocationId", "Job", - }); - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = - getDescriptor().getMessageTypes().get(91); - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "Type", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = - getDescriptor().getMessageTypes().get(92); - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, - new java.lang.String[] { - "JobTriggers", "NextPageToken", - }); - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(93); - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = - getDescriptor().getMessageTypes().get(94); - internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, - new java.lang.String[] { - "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", - }); - internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(95); - internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DlpJob_descriptor, - new java.lang.String[] { - "Name", - "Type", - "State", - "RiskDetails", - "InspectDetails", - "CreateTime", - "StartTime", - "EndTime", - "JobTriggerName", - "Errors", - "Details", - }); - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(96); - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(97); - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(98); - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", - }); - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(99); - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(100); - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(101); - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(102); - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { - "Parent", "DeidentifyTemplate", "TemplateId", "LocationId", - }); - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(103); - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { - "Name", "DeidentifyTemplate", "UpdateMask", - }); - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(104); - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(105); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(106); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, - new java.lang.String[] { - "DeidentifyTemplates", "NextPageToken", - }); - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(107); - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(108); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, - new java.lang.String[] { - "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", - }); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = - getDescriptor().getMessageTypes().get(109); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, - new java.lang.String[] { - "ApproxNumPhrases", - }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(110); - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "LargeCustomDictionary", "Dictionary", "Regex", "Type", - }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(111); - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, - new java.lang.String[] { - "LargeCustomDictionary", "Type", - }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = - getDescriptor().getMessageTypes().get(112); - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, - new java.lang.String[] { - "Config", "CreateTime", "State", "Errors", "Stats", - }); - internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = - getDescriptor().getMessageTypes().get(113); - internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, - new java.lang.String[] { - "Name", "CurrentVersion", "PendingVersions", - }); - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(114); - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, - new java.lang.String[] { - "Parent", "Config", "StoredInfoTypeId", "LocationId", - }); - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(115); - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, - new java.lang.String[] { - "Name", "Config", "UpdateMask", - }); - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(116); - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(117); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", - }); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(118); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, - new java.lang.String[] { - "StoredInfoTypes", "NextPageToken", - }); - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(119); - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(120); - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor, - new java.lang.String[] { - "Name", "HybridItem", - }); - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(121); - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor, - new java.lang.String[] { - "Name", "HybridItem", - }); - internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor = - getDescriptor().getMessageTypes().get(122); - internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor, - new java.lang.String[] { - "Item", "FindingDetails", - }); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor = - getDescriptor().getMessageTypes().get(123); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor, - new java.lang.String[] { - "ContainerDetails", "FileOffset", "RowOffset", "TableOptions", "Labels", - }); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor = - getDescriptor().getMessageTypes().get(124); - internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor, - new java.lang.String[] {}); - 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.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.privacy.dlp.v2.DlpStorage.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java deleted file mode 100644 index dba8bb21..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ /dev/null @@ -1,625 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/storage.proto - -package com.google.privacy.dlp.v2; - -public final class DlpStorage { - private DlpStorage() {} - - 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_privacy_dlp_v2_InfoType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FieldId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PartitionId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_KindExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Key_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_EntityId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableOptions_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/privacy/dlp/v2/storage.proto\022\025g" - + "oogle.privacy.dlp.v2\032\034google/api/annotat" - + "ions.proto\032\031google/api/resource.proto\032\037g" - + "oogle/protobuf/timestamp.proto\")\n\010InfoTy" - + "pe\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\"K\n\nSto" - + "redType\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\"\310\013\n\016Custo" - + "mInfoType\0222\n\tinfo_type\030\001 \001(\0132\037.google.pr" - + "ivacy.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(" - + "\0162!.google.privacy.dlp.v2.Likelihood\022F\n\n" - + "dictionary\030\002 \001(\01320.google.privacy.dlp.v2" - + ".CustomInfoType.DictionaryH\000\022<\n\005regex\030\003 " - + "\001(\0132+.google.privacy.dlp.v2.CustomInfoTy" - + "pe.RegexH\000\022M\n\016surrogate_type\030\004 \001(\01323.goo" - + "gle.privacy.dlp.v2.CustomInfoType.Surrog" - + "ateTypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google." - + "privacy.dlp.v2.StoredTypeH\000\022L\n\017detection" - + "_rules\030\007 \003(\01323.google.privacy.dlp.v2.Cus" - + "tomInfoType.DetectionRule\022K\n\016exclusion_t" - + "ype\030\010 \001(\01623.google.privacy.dlp.v2.Custom" - + "InfoType.ExclusionType\032\310\001\n\nDictionary\022N\n" - + "\tword_list\030\001 \001(\01329.google.privacy.dlp.v2" - + ".CustomInfoType.Dictionary.WordListH\000\022E\n" - + "\022cloud_storage_path\030\003 \001(\0132\'.google.priva" - + "cy.dlp.v2.CloudStoragePathH\000\032\031\n\010WordList" - + "\022\r\n\005words\030\001 \003(\tB\010\n\006source\032/\n\005Regex\022\017\n\007pa" - + "ttern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSu" - + "rrogateType\032\276\004\n\rDetectionRule\022W\n\014hotword" - + "_rule\030\001 \001(\0132?.google.privacy.dlp.v2.Cust" - + "omInfoType.DetectionRule.HotwordRuleH\000\0328" - + "\n\tProximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014wi" - + "ndow_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustmen" - + "t\022=\n\020fixed_likelihood\030\001 \001(\0162!.google.pri" - + "vacy.dlp.v2.LikelihoodH\000\022\035\n\023relative_lik" - + "elihood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013Hotwor" - + "dRule\022B\n\rhotword_regex\030\001 \001(\0132+.google.pr" - + "ivacy.dlp.v2.CustomInfoType.Regex\022P\n\tpro" - + "ximity\030\002 \001(\0132=.google.privacy.dlp.v2.Cus" - + "tomInfoType.DetectionRule.Proximity\022g\n\025l" - + "ikelihood_adjustment\030\003 \001(\0132H.google.priv" - + "acy.dlp.v2.CustomInfoType.DetectionRule." - + "LikelihoodAdjustmentB\006\n\004type\"K\n\rExclusio" - + "nType\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n" - + "\026EXCLUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007Fie" - + "ldId\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\npro" - + "ject_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016K" - + "indExpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020Datastor" - + "eOptions\0228\n\014partition_id\030\001 \001(\0132\".google." - + "privacy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\013" - + "2%.google.privacy.dlp.v2.KindExpression\"" - + "]\n\030CloudStorageRegexFileSet\022\023\n\013bucket_na" - + "me\030\001 \001(\t\022\025\n\rinclude_regex\030\002 \003(\t\022\025\n\rexclu" - + "de_regex\030\003 \003(\t\"\354\003\n\023CloudStorageOptions\022D" - + "\n\010file_set\030\001 \001(\01322.google.privacy.dlp.v2" - + ".CloudStorageOptions.FileSet\022\034\n\024bytes_li" - + "mit_per_file\030\004 \001(\003\022$\n\034bytes_limit_per_fi" - + "le_percent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.g" - + "oogle.privacy.dlp.v2.FileType\022N\n\rsample_" - + "method\030\006 \001(\01627.google.privacy.dlp.v2.Clo" - + "udStorageOptions.SampleMethod\022\033\n\023files_l" - + "imit_percent\030\007 \001(\005\032_\n\007FileSet\022\013\n\003url\030\001 \001" - + "(\t\022G\n\016regex_file_set\030\002 \001(\0132/.google.priv" - + "acy.dlp.v2.CloudStorageRegexFileSet\"H\n\014S" - + "ampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED" - + "\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudSt" - + "orageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStorag" - + "ePath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQueryOptions\022" - + "=\n\017table_reference\030\001 \001(\0132$.google.privac" - + "y.dlp.v2.BigQueryTable\022:\n\022identifying_fi" - + "elds\030\002 \003(\0132\036.google.privacy.dlp.v2.Field" - + "Id\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_per" - + "cent\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.goog" - + "le.privacy.dlp.v2.BigQueryOptions.Sample" - + "Method\0227\n\017excluded_fields\030\005 \003(\0132\036.google" - + ".privacy.dlp.v2.FieldId\0227\n\017included_fiel" - + "ds\030\007 \003(\0132\036.google.privacy.dlp.v2.FieldId" - + "\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPEC" - + "IFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\332\004\n\rS" - + "torageConfig\022D\n\021datastore_options\030\002 \001(\0132" - + "\'.google.privacy.dlp.v2.DatastoreOptions" - + "H\000\022K\n\025cloud_storage_options\030\003 \001(\0132*.goog" - + "le.privacy.dlp.v2.CloudStorageOptionsH\000\022" - + "C\n\021big_query_options\030\004 \001(\0132&.google.priv" - + "acy.dlp.v2.BigQueryOptionsH\000\022>\n\016hybrid_o" - + "ptions\030\t \001(\0132$.google.privacy.dlp.v2.Hyb" - + "ridOptionsH\000\022L\n\017timespan_config\030\006 \001(\01323." - + "google.privacy.dlp.v2.StorageConfig.Time" - + "spanConfig\032\332\001\n\016TimespanConfig\022.\n\nstart_t" - + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n" - + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "amp\0227\n\017timestamp_field\030\003 \001(\0132\036.google.pr" - + "ivacy.dlp.v2.FieldId\0221\n)enable_auto_popu" - + "lation_of_timespan_config\030\004 \001(\010B\006\n\004type\"" - + "\366\001\n\rHybridOptions\022\023\n\013description\030\001 \001(\t\022#" - + "\n\033required_finding_label_keys\030\002 \003(\t\022@\n\006l" - + "abels\030\003 \003(\01320.google.privacy.dlp.v2.Hybr" - + "idOptions.LabelsEntry\022:\n\rtable_options\030\004" - + " \001(\0132#.google.privacy.dlp.v2.TableOption" - + "s\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"`\n\013BigQueryKey\022=\n\017table_referen" - + "ce\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuer" - + "yTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014DatastoreK" - + "ey\022.\n\nentity_key\030\001 \001(\0132\032.google.privacy." - + "dlp.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 \001(\013" - + "2\".google.privacy.dlp.v2.PartitionId\0224\n\004" - + "path\030\002 \003(\0132&.google.privacy.dlp.v2.Key.P" - + "athElement\032D\n\013PathElement\022\014\n\004kind\030\001 \001(\t\022" - + "\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n\007id_type" - + "\"\241\001\n\tRecordKey\022<\n\rdatastore_key\030\002 \001(\0132#." - + "google.privacy.dlp.v2.DatastoreKeyH\000\022;\n\r" - + "big_query_key\030\003 \001(\0132\".google.privacy.dlp" - + ".v2.BigQueryKeyH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004" - + "type\"I\n\rBigQueryTable\022\022\n\nproject_id\030\001 \001(" - + "\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"" - + "s\n\rBigQueryField\0223\n\005table\030\001 \001(\0132$.google" - + ".privacy.dlp.v2.BigQueryTable\022-\n\005field\030\002" - + " \001(\0132\036.google.privacy.dlp.v2.FieldId\"9\n\010" - + "EntityId\022-\n\005field\030\001 \001(\0132\036.google.privacy" - + ".dlp.v2.FieldId\"J\n\014TableOptions\022:\n\022ident" - + "ifying_fields\030\001 \003(\0132\036.google.privacy.dlp" - + ".v2.FieldId*t\n\nLikelihood\022\032\n\026LIKELIHOOD_" - + "UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLI" - + "KELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY" - + "_LIKELY\020\005*\177\n\010FileType\022\031\n\025FILE_TYPE_UNSPE" - + "CIFIED\020\000\022\017\n\013BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002" - + "\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n\003PDF\020\006\022\010\n\004AVRO\020\007" - + "\022\007\n\003CSV\020\010\022\007\n\003TSV\020\tB\250\001\n\031com.google.privac" - + "y.dlp.v2B\nDlpStorageP\001Z8google.golang.or" - + "g/genproto/googleapis/privacy/dlp/v2;dlp" - + "\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dl" - + "p\\V2\352\002\026Google::Cloud::Dlp::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_privacy_dlp_v2_InfoType_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoType_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_privacy_dlp_v2_StoredType_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredType_descriptor, - new java.lang.String[] { - "Name", "CreateTime", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor, - new java.lang.String[] { - "InfoType", - "Likelihood", - "Dictionary", - "Regex", - "SurrogateType", - "StoredType", - "DetectionRules", - "ExclusionType", - "Type", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor, - new java.lang.String[] { - "WordList", "CloudStoragePath", "Source", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor, - new java.lang.String[] { - "Words", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor, - new java.lang.String[] { - "Pattern", "GroupIndexes", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor, - new java.lang.String[] {}); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor, - new java.lang.String[] { - "HotwordRule", "Type", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor, - new java.lang.String[] { - "WindowBefore", "WindowAfter", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor, - new java.lang.String[] { - "FixedLikelihood", "RelativeLikelihood", "Adjustment", - }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor - .getNestedTypes() - .get(2); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor, - new java.lang.String[] { - "HotwordRegex", "Proximity", "LikelihoodAdjustment", - }); - internal_static_google_privacy_dlp_v2_FieldId_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FieldId_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_PartitionId_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PartitionId_descriptor, - new java.lang.String[] { - "ProjectId", "NamespaceId", - }); - internal_static_google_privacy_dlp_v2_KindExpression_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_KindExpression_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor, - new java.lang.String[] { - "PartitionId", "Kind", - }); - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor, - new java.lang.String[] { - "BucketName", "IncludeRegex", "ExcludeRegex", - }); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor, - new java.lang.String[] { - "FileSet", - "BytesLimitPerFile", - "BytesLimitPerFilePercent", - "FileTypes", - "SampleMethod", - "FilesLimitPercent", - }); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor = - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor, - new java.lang.String[] { - "Url", "RegexFileSet", - }); - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor, - new java.lang.String[] { - "Url", - }); - internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor, - new java.lang.String[] { - "Path", - }); - internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor, - new java.lang.String[] { - "TableReference", - "IdentifyingFields", - "RowsLimit", - "RowsLimitPercent", - "SampleMethod", - "ExcludedFields", - "IncludedFields", - }); - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor, - new java.lang.String[] { - "DatastoreOptions", - "CloudStorageOptions", - "BigQueryOptions", - "HybridOptions", - "TimespanConfig", - "Type", - }); - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor = - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "TimestampField", "EnableAutoPopulationOfTimespanConfig", - }); - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor, - new java.lang.String[] { - "Description", "RequiredFindingLabelKeys", "Labels", "TableOptions", - }); - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor, - new java.lang.String[] { - "TableReference", "RowNumber", - }); - internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor, - new java.lang.String[] { - "EntityKey", - }); - internal_static_google_privacy_dlp_v2_Key_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Key_descriptor, - new java.lang.String[] { - "PartitionId", "Path", - }); - internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor = - internal_static_google_privacy_dlp_v2_Key_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor, - new java.lang.String[] { - "Kind", "Id", "Name", "IdType", - }); - internal_static_google_privacy_dlp_v2_RecordKey_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordKey_descriptor, - new java.lang.String[] { - "DatastoreKey", "BigQueryKey", "IdValues", "Type", - }); - internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor, - new java.lang.String[] { - "ProjectId", "DatasetId", "TableId", - }); - internal_static_google_privacy_dlp_v2_BigQueryField_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryField_descriptor, - new java.lang.String[] { - "Table", "Field", - }); - internal_static_google_privacy_dlp_v2_EntityId_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_EntityId_descriptor, - new java.lang.String[] { - "Field", - }); - internal_static_google_privacy_dlp_v2_TableOptions_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableOptions_descriptor, - new java.lang.String[] { - "IdentifyingFields", - }); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java deleted file mode 100644 index 8195072a..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DocumentLocationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DocumentLocation) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Offset of the line, from the beginning of the file, where the finding
-   * is located.
-   * 
- * - * int64 file_offset = 1; - * - * @return The fileOffset. - */ - long getFileOffset(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java deleted file mode 100644 index e1fd9afd..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/storage.proto - -package com.google.privacy.dlp.v2; - -public interface FieldIdOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FieldId) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Name describing the field.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Name describing the field.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java deleted file mode 100644 index a8a22f69..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface FinishDlpJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FinishDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java deleted file mode 100644 index d2fe67a9..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetDeidentifyTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the organization and deidentify template to be read, for
-   * example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the organization and deidentify template to be read, for
-   * example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java deleted file mode 100644 index 1e3e7208..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetDlpJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DlpJob resource.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DlpJob resource.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java deleted file mode 100644 index f0a69421..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetInspectTemplateRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetInspectTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the organization and inspectTemplate to be read, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the organization and inspectTemplate to be read, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java deleted file mode 100644 index 7b7a1bd7..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetJobTriggerRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetJobTriggerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java deleted file mode 100644 index 42cbf504..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetStoredInfoTypeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetStoredInfoTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the organization and storedInfoType to be read, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the organization and storedInfoType to be read, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java deleted file mode 100644 index 22d236c9..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface HybridInspectResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java deleted file mode 100644 index dc66479a..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface InfoTypeTransformationsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeTransformations) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getTransformationsList(); - /** - * - * - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations( - int index); - /** - * - * - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getTransformationsCount(); - /** - * - * - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List< - ? extends - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> - getTransformationsOrBuilderList(); - /** - * - * - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder - getTransformationsOrBuilder(int index); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java deleted file mode 100644 index 4d46f0c1..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/storage.proto - -package com.google.privacy.dlp.v2; - -public interface KindExpressionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KindExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the kind.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the kind.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java deleted file mode 100644 index de254455..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface LargeCustomDictionaryStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryStats) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Approximate number of distinct phrases in the dictionary.
-   * 
- * - * int64 approx_num_phrases = 1; - * - * @return The approxNumPhrases. - */ - long getApproxNumPhrases(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java deleted file mode 100644 index 14d79c0a..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface ManualOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Manual) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java deleted file mode 100644 index 4889957f..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface RangeOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Range) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Index of the first character of the range (inclusive).
-   * 
- * - * int64 start = 1; - * - * @return The start. - */ - long getStart(); - - /** - * - * - *
-   * Index of the last character of the range (exclusive).
-   * 
- * - * int64 end = 2; - * - * @return The end. - */ - long getEnd(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java deleted file mode 100644 index c740916f..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface RedactConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactConfig) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java deleted file mode 100644 index 656ea1ed..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface ReplaceWithInfoTypeConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java deleted file mode 100644 index e4834262..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface StorageMetadataLabelOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageMetadataLabel) - com.google.protobuf.MessageOrBuilder { - - /** - * string key = 1; - * - * @return The key. - */ - java.lang.String getKey(); - /** - * string key = 1; - * - * @return The bytes for key. - */ - com.google.protobuf.ByteString getKeyBytes(); -} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java deleted file mode 100644 index 30729d2a..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface UnwrappedCryptoKeyOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UnwrappedCryptoKey) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A 128/192/256 bit key.
-   * 
- * - * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The key. - */ - com.google.protobuf.ByteString getKey(); -} From 211f94a6ad4ccad1680b24fe2678b71745d9886a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 25 Mar 2022 17:50:46 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../google/cloud/dlp/v2/DlpServiceClient.java | 80 +- .../cloud/dlp/v2/DlpServiceSettings.java | 22 +- .../google/cloud/dlp/v2/gapic_metadata.json | 0 .../com/google/cloud/dlp/v2/package-info.java | 0 .../cloud/dlp/v2/stub/DlpServiceStub.java | 0 .../dlp/v2/stub/DlpServiceStubSettings.java | 57 +- .../stub/GrpcDlpServiceCallableFactory.java | 0 .../cloud/dlp/v2/stub/GrpcDlpServiceStub.java | 1 - .../cloud/dlp/v2/DlpServiceClientTest.java | 0 .../google/cloud/dlp/v2/MockDlpService.java | 0 .../cloud/dlp/v2/MockDlpServiceImpl.java | 0 .../google/privacy/dlp/v2/DlpServiceGrpc.java | 4574 ++++++ .../google/privacy/dlp/v2/DlpServiceGrpc.java | 3496 ---- .../ActivateJobTriggerRequestOrBuilder.java | 31 - .../dlp/v2/CancelDlpJobRequestOrBuilder.java | 29 - ...eteDeidentifyTemplateRequestOrBuilder.java | 33 - .../dlp/v2/DeleteDlpJobRequestOrBuilder.java | 29 - ...DeleteInspectTemplateRequestOrBuilder.java | 33 - .../v2/DeleteJobTriggerRequestOrBuilder.java | 31 - .../DeleteStoredInfoTypeRequestOrBuilder.java | 33 - .../com/google/privacy/dlp/v2/DlpProto.java | 3089 ---- .../com/google/privacy/dlp/v2/DlpStorage.java | 543 - .../dlp/v2/DocumentLocationOrBuilder.java | 20 - .../privacy/dlp/v2/FieldIdOrBuilder.java | 29 - .../dlp/v2/FinishDlpJobRequestOrBuilder.java | 29 - ...GetDeidentifyTemplateRequestOrBuilder.java | 33 - .../dlp/v2/GetDlpJobRequestOrBuilder.java | 29 - .../GetInspectTemplateRequestOrBuilder.java | 33 - .../dlp/v2/GetJobTriggerRequestOrBuilder.java | 31 - .../v2/GetStoredInfoTypeRequestOrBuilder.java | 33 - .../v2/HybridInspectResponseOrBuilder.java | 9 - .../v2/InfoTypeTransformationsOrBuilder.java | 58 - .../dlp/v2/KindExpressionOrBuilder.java | 29 - .../LargeCustomDictionaryStatsOrBuilder.java | 19 - .../privacy/dlp/v2/ManualOrBuilder.java | 9 - .../google/privacy/dlp/v2/RangeOrBuilder.java | 29 - .../privacy/dlp/v2/RedactConfigOrBuilder.java | 9 - .../ReplaceWithInfoTypeConfigOrBuilder.java | 9 - .../dlp/v2/StorageMetadataLabelOrBuilder.java | 21 - .../dlp/v2/UnwrappedCryptoKeyOrBuilder.java | 19 - .../com/google/privacy/dlp/v2/Action.java | 2608 +-- .../privacy/dlp/v2/ActionOrBuilder.java | 87 +- .../dlp/v2/ActivateJobTriggerRequest.java | 339 +- .../ActivateJobTriggerRequestOrBuilder.java | 56 + .../dlp/v2/AnalyzeDataSourceRiskDetails.java | 13603 +++++++++++----- ...AnalyzeDataSourceRiskDetailsOrBuilder.java | 210 +- .../google/privacy/dlp/v2/BigQueryField.java | 411 +- .../dlp/v2/BigQueryFieldOrBuilder.java | 34 +- .../google/privacy/dlp/v2/BigQueryKey.java | 356 +- .../privacy/dlp/v2/BigQueryKeyOrBuilder.java | 29 +- .../privacy/dlp/v2/BigQueryOptions.java | 958 +- .../dlp/v2/BigQueryOptionsOrBuilder.java | 88 +- .../google/privacy/dlp/v2/BigQueryTable.java | 456 +- .../dlp/v2/BigQueryTableOrBuilder.java | 45 +- .../google/privacy/dlp/v2/BoundingBox.java | 357 +- .../privacy/dlp/v2/BoundingBoxOrBuilder.java | 30 +- .../privacy/dlp/v2/BucketingConfig.java | 955 +- .../dlp/v2/BucketingConfigOrBuilder.java | 36 +- .../privacy/dlp/v2/ByteContentItem.java | 469 +- .../dlp/v2/ByteContentItemOrBuilder.java | 27 +- .../privacy/dlp/v2/CancelDlpJobRequest.java | 329 +- .../dlp/v2/CancelDlpJobRequestOrBuilder.java | 54 + .../privacy/dlp/v2/CharacterMaskConfig.java | 512 +- .../dlp/v2/CharacterMaskConfigOrBuilder.java | 51 +- .../google/privacy/dlp/v2/CharsToIgnore.java | 561 +- .../dlp/v2/CharsToIgnoreOrBuilder.java | 48 +- .../privacy/dlp/v2/CloudStorageFileSet.java | 301 +- .../dlp/v2/CloudStorageFileSetOrBuilder.java | 27 +- .../privacy/dlp/v2/CloudStorageOptions.java | 1094 +- .../dlp/v2/CloudStorageOptionsOrBuilder.java | 55 +- .../privacy/dlp/v2/CloudStoragePath.java | 301 +- .../dlp/v2/CloudStoragePathOrBuilder.java | 27 +- .../dlp/v2/CloudStorageRegexFileSet.java | 534 +- .../v2/CloudStorageRegexFileSetOrBuilder.java | 63 +- .../java/com/google/privacy/dlp/v2/Color.java | 325 +- .../google/privacy/dlp/v2/ColorOrBuilder.java | 27 +- .../com/google/privacy/dlp/v2/Container.java | 783 +- .../privacy/dlp/v2/ContainerOrBuilder.java | 80 +- .../google/privacy/dlp/v2/ContentItem.java | 581 +- .../privacy/dlp/v2/ContentItemOrBuilder.java | 46 +- .../privacy/dlp/v2/ContentLocation.java | 952 +- .../dlp/v2/ContentLocationOrBuilder.java | 76 +- .../google/privacy/dlp/v2/ContentOption.java | 82 +- .../v2/CreateDeidentifyTemplateRequest.java | 649 +- ...ateDeidentifyTemplateRequestOrBuilder.java | 73 +- .../privacy/dlp/v2/CreateDlpJobRequest.java | 739 +- .../dlp/v2/CreateDlpJobRequestOrBuilder.java | 69 +- .../dlp/v2/CreateInspectTemplateRequest.java | 646 +- ...CreateInspectTemplateRequestOrBuilder.java | 73 +- .../dlp/v2/CreateJobTriggerRequest.java | 646 +- .../v2/CreateJobTriggerRequestOrBuilder.java | 73 +- .../dlp/v2/CreateStoredInfoTypeRequest.java | 646 +- .../CreateStoredInfoTypeRequestOrBuilder.java | 73 +- .../dlp/v2/CryptoDeterministicConfig.java | 525 +- .../CryptoDeterministicConfigOrBuilder.java | 42 +- .../privacy/dlp/v2/CryptoHashConfig.java | 328 +- .../dlp/v2/CryptoHashConfigOrBuilder.java | 26 +- .../com/google/privacy/dlp/v2/CryptoKey.java | 582 +- .../privacy/dlp/v2/CryptoKeyOrBuilder.java | 42 +- .../dlp/v2/CryptoReplaceFfxFpeConfig.java | 965 +- .../CryptoReplaceFfxFpeConfigOrBuilder.java | 93 +- .../google/privacy/dlp/v2/CustomInfoType.java | 4732 ++++-- .../dlp/v2/CustomInfoTypeOrBuilder.java | 85 +- .../google/privacy/dlp/v2/DatastoreKey.java | 308 +- .../privacy/dlp/v2/DatastoreKeyOrBuilder.java | 26 +- .../privacy/dlp/v2/DatastoreOptions.java | 427 +- .../dlp/v2/DatastoreOptionsOrBuilder.java | 34 +- .../privacy/dlp/v2/DateShiftConfig.java | 530 +- .../dlp/v2/DateShiftConfigOrBuilder.java | 40 +- .../com/google/privacy/dlp/v2/DateTime.java | 778 +- .../privacy/dlp/v2/DateTimeOrBuilder.java | 48 +- .../privacy/dlp/v2/DeidentifyConfig.java | 670 +- .../dlp/v2/DeidentifyConfigOrBuilder.java | 54 +- .../dlp/v2/DeidentifyContentRequest.java | 839 +- .../v2/DeidentifyContentRequestOrBuilder.java | 78 +- .../dlp/v2/DeidentifyContentResponse.java | 428 +- .../DeidentifyContentResponseOrBuilder.java | 34 +- .../privacy/dlp/v2/DeidentifyTemplate.java | 837 +- .../dlp/v2/DeidentifyTemplateName.java | 22 - .../dlp/v2/DeidentifyTemplateOrBuilder.java | 87 +- .../v2/DeleteDeidentifyTemplateRequest.java | 345 +- ...eteDeidentifyTemplateRequestOrBuilder.java | 58 + .../privacy/dlp/v2/DeleteDlpJobRequest.java | 329 +- .../dlp/v2/DeleteDlpJobRequestOrBuilder.java | 54 + .../dlp/v2/DeleteInspectTemplateRequest.java | 342 +- ...DeleteInspectTemplateRequestOrBuilder.java | 58 + .../dlp/v2/DeleteJobTriggerRequest.java | 339 +- .../v2/DeleteJobTriggerRequestOrBuilder.java | 56 + .../dlp/v2/DeleteStoredInfoTypeRequest.java | 342 +- .../DeleteStoredInfoTypeRequestOrBuilder.java | 58 + .../google/privacy/dlp/v2/DlpContentName.java | 0 .../com/google/privacy/dlp/v2/DlpJob.java | 1270 +- .../com/google/privacy/dlp/v2/DlpJobName.java | 0 .../privacy/dlp/v2/DlpJobOrBuilder.java | 107 +- .../com/google/privacy/dlp/v2/DlpJobType.java | 82 +- .../com/google/privacy/dlp/v2/DlpProto.java | 3449 ++++ .../com/google/privacy/dlp/v2/DlpStorage.java | 623 + .../privacy/dlp/v2/DocumentLocation.java | 262 +- .../dlp/v2/DocumentLocationOrBuilder.java | 39 + .../com/google/privacy/dlp/v2/EntityId.java | 308 +- .../privacy/dlp/v2/EntityIdOrBuilder.java | 26 +- .../java/com/google/privacy/dlp/v2/Error.java | 447 +- .../google/privacy/dlp/v2/ErrorOrBuilder.java | 45 +- .../privacy/dlp/v2/ExcludeInfoTypes.java | 370 +- .../dlp/v2/ExcludeInfoTypesOrBuilder.java | 37 +- .../google/privacy/dlp/v2/ExclusionRule.java | 647 +- .../dlp/v2/ExclusionRuleOrBuilder.java | 48 +- .../com/google/privacy/dlp/v2/FieldId.java | 294 +- .../privacy/dlp/v2/FieldIdOrBuilder.java | 50 + .../privacy/dlp/v2/FieldTransformation.java | 860 +- .../dlp/v2/FieldTransformationOrBuilder.java | 81 +- .../com/google/privacy/dlp/v2/FileType.java | 136 +- .../com/google/privacy/dlp/v2/Finding.java | 1500 +- .../privacy/dlp/v2/FindingOrBuilder.java | 150 +- .../privacy/dlp/v2/FinishDlpJobRequest.java | 329 +- .../dlp/v2/FinishDlpJobRequestOrBuilder.java | 54 + .../dlp/v2/FixedSizeBucketingConfig.java | 539 +- .../v2/FixedSizeBucketingConfigOrBuilder.java | 55 +- .../dlp/v2/GetDeidentifyTemplateRequest.java | 342 +- ...GetDeidentifyTemplateRequestOrBuilder.java | 58 + .../privacy/dlp/v2/GetDlpJobRequest.java | 329 +- .../dlp/v2/GetDlpJobRequestOrBuilder.java | 54 + .../dlp/v2/GetInspectTemplateRequest.java | 339 +- .../GetInspectTemplateRequestOrBuilder.java | 58 + .../privacy/dlp/v2/GetJobTriggerRequest.java | 329 +- .../dlp/v2/GetJobTriggerRequestOrBuilder.java | 56 + .../dlp/v2/GetStoredInfoTypeRequest.java | 339 +- .../v2/GetStoredInfoTypeRequestOrBuilder.java | 58 + .../privacy/dlp/v2/HybridContentItem.java | 418 +- .../dlp/v2/HybridContentItemOrBuilder.java | 34 +- .../privacy/dlp/v2/HybridFindingDetails.java | 762 +- .../dlp/v2/HybridFindingDetailsOrBuilder.java | 72 +- .../dlp/v2/HybridInspectDlpJobRequest.java | 437 +- .../HybridInspectDlpJobRequestOrBuilder.java | 43 +- .../v2/HybridInspectJobTriggerRequest.java | 443 +- ...bridInspectJobTriggerRequestOrBuilder.java | 43 +- .../privacy/dlp/v2/HybridInspectResponse.java | 228 +- .../v2/HybridInspectResponseOrBuilder.java | 24 + .../dlp/v2/HybridInspectStatistics.java | 346 +- .../v2/HybridInspectStatisticsOrBuilder.java | 27 +- .../google/privacy/dlp/v2/HybridOptions.java | 780 +- .../dlp/v2/HybridOptionsOrBuilder.java | 85 +- .../google/privacy/dlp/v2/ImageLocation.java | 366 +- .../dlp/v2/ImageLocationOrBuilder.java | 36 +- .../com/google/privacy/dlp/v2/InfoType.java | 373 +- .../privacy/dlp/v2/InfoTypeDescription.java | 591 +- .../dlp/v2/InfoTypeDescriptionOrBuilder.java | 63 +- .../privacy/dlp/v2/InfoTypeOrBuilder.java | 36 +- .../google/privacy/dlp/v2/InfoTypeStats.java | 355 +- .../dlp/v2/InfoTypeStatsOrBuilder.java | 29 +- .../privacy/dlp/v2/InfoTypeSupportedBy.java | 77 +- .../dlp/v2/InfoTypeTransformations.java | 1189 +- .../v2/InfoTypeTransformationsOrBuilder.java | 97 + .../google/privacy/dlp/v2/InspectConfig.java | 2054 ++- .../dlp/v2/InspectConfigOrBuilder.java | 111 +- .../privacy/dlp/v2/InspectContentRequest.java | 653 +- .../v2/InspectContentRequestOrBuilder.java | 61 +- .../dlp/v2/InspectContentResponse.java | 331 +- .../v2/InspectContentResponseOrBuilder.java | 26 +- .../dlp/v2/InspectDataSourceDetails.java | 1540 +- .../v2/InspectDataSourceDetailsOrBuilder.java | 46 +- .../privacy/dlp/v2/InspectJobConfig.java | 652 +- .../dlp/v2/InspectJobConfigOrBuilder.java | 62 +- .../google/privacy/dlp/v2/InspectResult.java | 403 +- .../dlp/v2/InspectResultOrBuilder.java | 40 +- .../privacy/dlp/v2/InspectTemplate.java | 837 +- .../privacy/dlp/v2/InspectTemplateName.java | 22 - .../dlp/v2/InspectTemplateOrBuilder.java | 87 +- .../google/privacy/dlp/v2/InspectionRule.java | 548 +- .../dlp/v2/InspectionRuleOrBuilder.java | 37 +- .../privacy/dlp/v2/InspectionRuleSet.java | 518 +- .../dlp/v2/InspectionRuleSetOrBuilder.java | 55 +- .../com/google/privacy/dlp/v2/JobTrigger.java | 2055 ++- .../google/privacy/dlp/v2/JobTriggerName.java | 0 .../privacy/dlp/v2/JobTriggerOrBuilder.java | 178 +- .../java/com/google/privacy/dlp/v2/Key.java | 959 +- .../google/privacy/dlp/v2/KeyOrBuilder.java | 44 +- .../google/privacy/dlp/v2/KindExpression.java | 298 +- .../dlp/v2/KindExpressionOrBuilder.java | 50 + .../privacy/dlp/v2/KmsWrappedCryptoKey.java | 337 +- .../dlp/v2/KmsWrappedCryptoKeyOrBuilder.java | 30 +- .../dlp/v2/LargeCustomDictionaryConfig.java | 593 +- .../LargeCustomDictionaryConfigOrBuilder.java | 42 +- .../dlp/v2/LargeCustomDictionaryStats.java | 272 +- .../LargeCustomDictionaryStatsOrBuilder.java | 38 + .../com/google/privacy/dlp/v2/Likelihood.java | 111 +- .../v2/ListDeidentifyTemplatesRequest.java | 618 +- ...stDeidentifyTemplatesRequestOrBuilder.java | 65 +- .../v2/ListDeidentifyTemplatesResponse.java | 449 +- ...tDeidentifyTemplatesResponseOrBuilder.java | 45 +- .../privacy/dlp/v2/ListDlpJobsRequest.java | 735 +- .../dlp/v2/ListDlpJobsRequestOrBuilder.java | 80 +- .../privacy/dlp/v2/ListDlpJobsResponse.java | 454 +- .../dlp/v2/ListDlpJobsResponseOrBuilder.java | 46 +- .../privacy/dlp/v2/ListInfoTypesRequest.java | 540 +- .../dlp/v2/ListInfoTypesRequestOrBuilder.java | 54 +- .../privacy/dlp/v2/ListInfoTypesResponse.java | 375 +- .../v2/ListInfoTypesResponseOrBuilder.java | 36 +- .../dlp/v2/ListInspectTemplatesRequest.java | 615 +- .../ListInspectTemplatesRequestOrBuilder.java | 65 +- .../dlp/v2/ListInspectTemplatesResponse.java | 453 +- ...ListInspectTemplatesResponseOrBuilder.java | 45 +- .../dlp/v2/ListJobTriggersRequest.java | 744 +- .../v2/ListJobTriggersRequestOrBuilder.java | 80 +- .../dlp/v2/ListJobTriggersResponse.java | 460 +- .../v2/ListJobTriggersResponseOrBuilder.java | 45 +- .../dlp/v2/ListStoredInfoTypesRequest.java | 612 +- .../ListStoredInfoTypesRequestOrBuilder.java | 65 +- .../dlp/v2/ListStoredInfoTypesResponse.java | 456 +- .../ListStoredInfoTypesResponseOrBuilder.java | 45 +- .../com/google/privacy/dlp/v2/Location.java | 653 +- .../google/privacy/dlp/v2/LocationName.java | 0 .../privacy/dlp/v2/LocationOrBuilder.java | 60 +- .../com/google/privacy/dlp/v2/Manual.java | 215 +- .../privacy/dlp/v2/ManualOrBuilder.java | 24 + .../google/privacy/dlp/v2/MatchingType.java | 89 +- .../privacy/dlp/v2/MetadataLocation.java | 420 +- .../dlp/v2/MetadataLocationOrBuilder.java | 32 +- .../google/privacy/dlp/v2/MetadataType.java | 75 +- .../dlp/v2/OrganizationLocationName.java | 0 .../privacy/dlp/v2/OrganizationName.java | 0 .../privacy/dlp/v2/OutputStorageConfig.java | 533 +- .../dlp/v2/OutputStorageConfigOrBuilder.java | 32 +- .../google/privacy/dlp/v2/PartitionId.java | 376 +- .../privacy/dlp/v2/PartitionIdOrBuilder.java | 36 +- .../dlp/v2/PrimitiveTransformation.java | 1826 ++- .../v2/PrimitiveTransformationOrBuilder.java | 147 +- .../google/privacy/dlp/v2/PrivacyMetric.java | 7185 +++++--- .../dlp/v2/PrivacyMetricOrBuilder.java | 120 +- .../google/privacy/dlp/v2/ProjectName.java | 0 .../com/google/privacy/dlp/v2/QuasiId.java | 701 +- .../privacy/dlp/v2/QuasiIdOrBuilder.java | 63 +- .../com/google/privacy/dlp/v2/QuoteInfo.java | 364 +- .../privacy/dlp/v2/QuoteInfoOrBuilder.java | 26 +- .../java/com/google/privacy/dlp/v2/Range.java | 286 +- .../google/privacy/dlp/v2/RangeOrBuilder.java | 51 + .../privacy/dlp/v2/RecordCondition.java | 1826 ++- .../dlp/v2/RecordConditionOrBuilder.java | 26 +- .../com/google/privacy/dlp/v2/RecordKey.java | 607 +- .../privacy/dlp/v2/RecordKeyOrBuilder.java | 48 +- .../google/privacy/dlp/v2/RecordLocation.java | 513 +- .../dlp/v2/RecordLocationOrBuilder.java | 42 +- .../privacy/dlp/v2/RecordSuppression.java | 328 +- .../dlp/v2/RecordSuppressionOrBuilder.java | 26 +- .../privacy/dlp/v2/RecordTransformations.java | 489 +- .../v2/RecordTransformationsOrBuilder.java | 51 +- .../google/privacy/dlp/v2/RedactConfig.java | 218 +- .../privacy/dlp/v2/RedactConfigOrBuilder.java | 24 + .../privacy/dlp/v2/RedactImageRequest.java | 1480 +- .../dlp/v2/RedactImageRequestOrBuilder.java | 97 +- .../privacy/dlp/v2/RedactImageResponse.java | 435 +- .../dlp/v2/RedactImageResponseOrBuilder.java | 38 +- .../dlp/v2/ReidentifyContentRequest.java | 867 +- .../v2/ReidentifyContentRequestOrBuilder.java | 86 +- .../dlp/v2/ReidentifyContentResponse.java | 428 +- .../ReidentifyContentResponseOrBuilder.java | 34 +- .../privacy/dlp/v2/RelationalOperator.java | 115 +- .../dlp/v2/ReplaceDictionaryConfig.java | 398 +- .../v2/ReplaceDictionaryConfigOrBuilder.java | 26 +- .../privacy/dlp/v2/ReplaceValueConfig.java | 315 +- .../dlp/v2/ReplaceValueConfigOrBuilder.java | 26 +- .../dlp/v2/ReplaceWithInfoTypeConfig.java | 235 +- .../ReplaceWithInfoTypeConfigOrBuilder.java | 24 + .../privacy/dlp/v2/RiskAnalysisJobConfig.java | 579 +- .../v2/RiskAnalysisJobConfigOrBuilder.java | 53 +- .../com/google/privacy/dlp/v2/Schedule.java | 363 +- .../privacy/dlp/v2/ScheduleOrBuilder.java | 26 +- .../privacy/dlp/v2/StatisticalTable.java | 1221 +- .../dlp/v2/StatisticalTableOrBuilder.java | 90 +- .../google/privacy/dlp/v2/StorageConfig.java | 1396 +- .../dlp/v2/StorageConfigOrBuilder.java | 56 +- .../privacy/dlp/v2/StorageMetadataLabel.java | 287 +- .../dlp/v2/StorageMetadataLabelOrBuilder.java | 38 + .../google/privacy/dlp/v2/StoredInfoType.java | 527 +- .../privacy/dlp/v2/StoredInfoTypeConfig.java | 762 +- .../dlp/v2/StoredInfoTypeConfigOrBuilder.java | 63 +- .../privacy/dlp/v2/StoredInfoTypeName.java | 22 - .../dlp/v2/StoredInfoTypeOrBuilder.java | 53 +- .../privacy/dlp/v2/StoredInfoTypeState.java | 91 +- .../privacy/dlp/v2/StoredInfoTypeStats.java | 386 +- .../dlp/v2/StoredInfoTypeStatsOrBuilder.java | 26 +- .../privacy/dlp/v2/StoredInfoTypeVersion.java | 739 +- .../v2/StoredInfoTypeVersionOrBuilder.java | 67 +- .../com/google/privacy/dlp/v2/StoredType.java | 388 +- .../privacy/dlp/v2/StoredTypeOrBuilder.java | 35 +- .../java/com/google/privacy/dlp/v2/Table.java | 879 +- .../google/privacy/dlp/v2/TableLocation.java | 259 +- .../dlp/v2/TableLocationOrBuilder.java | 21 +- .../google/privacy/dlp/v2/TableOptions.java | 362 +- .../privacy/dlp/v2/TableOptionsOrBuilder.java | 36 +- .../google/privacy/dlp/v2/TableOrBuilder.java | 56 +- .../google/privacy/dlp/v2/TimePartConfig.java | 377 +- .../dlp/v2/TimePartConfigOrBuilder.java | 24 +- .../dlp/v2/TransformationErrorHandling.java | 1209 +- .../TransformationErrorHandlingOrBuilder.java | 52 +- .../dlp/v2/TransformationOverview.java | 499 +- .../v2/TransformationOverviewOrBuilder.java | 51 +- .../privacy/dlp/v2/TransformationSummary.java | 1465 +- .../v2/TransformationSummaryOrBuilder.java | 83 +- .../privacy/dlp/v2/TransientCryptoKey.java | 301 +- .../dlp/v2/TransientCryptoKeyOrBuilder.java | 27 +- .../privacy/dlp/v2/UnwrappedCryptoKey.java | 258 +- .../dlp/v2/UnwrappedCryptoKeyOrBuilder.java | 38 + .../v2/UpdateDeidentifyTemplateRequest.java | 537 +- ...ateDeidentifyTemplateRequestOrBuilder.java | 51 +- .../dlp/v2/UpdateInspectTemplateRequest.java | 534 +- ...UpdateInspectTemplateRequestOrBuilder.java | 51 +- .../dlp/v2/UpdateJobTriggerRequest.java | 534 +- .../v2/UpdateJobTriggerRequestOrBuilder.java | 51 +- .../dlp/v2/UpdateStoredInfoTypeRequest.java | 534 +- .../UpdateStoredInfoTypeRequestOrBuilder.java | 51 +- .../java/com/google/privacy/dlp/v2/Value.java | 908 +- .../google/privacy/dlp/v2/ValueFrequency.java | 347 +- .../dlp/v2/ValueFrequencyOrBuilder.java | 29 +- .../google/privacy/dlp/v2/ValueOrBuilder.java | 81 +- .../proto/google/privacy/dlp/v2/dlp.proto | 0 .../proto/google/privacy/dlp/v2/storage.proto | 0 357 files changed, 87895 insertions(+), 51110 deletions(-) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java (99%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java (97%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/package-info.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java (97%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java (99%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java (100%) create mode 100644 grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java delete mode 100644 owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Action.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java (62%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java (53%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java (86%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java (57%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java (59%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java (50%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java (87%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java (50%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Color.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java (54%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Container.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentItem.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java (86%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ContentOption.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java (57%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java (87%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java (90%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateTime.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java (86%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java (96%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJob.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java (67%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java (68%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/EntityId.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java (59%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Error.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FieldId.java (68%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FileType.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Finding.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java (85%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java (65%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java (64%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java (86%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java (57%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java (57%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java (67%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoType.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java (55%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectResult.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java (96%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Key.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java (85%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KindExpression.java (68%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java (58%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java (67%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Likelihood.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Location.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LocationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Manual.java (67%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MatchingType.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/MetadataType.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java (87%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PartitionId.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ProjectName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuasiId.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java (59%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Range.java (69%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java (58%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordKey.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java (67%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java (85%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java (66%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Schedule.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java (54%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java (68%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java (96%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredType.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Table.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableLocation.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java (54%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableOptions.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java (54%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java (62%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java (87%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java (69%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/Value.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java (60%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/proto/google/privacy/dlp/v2/dlp.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/proto/google/privacy/dlp/v2/storage.proto (100%) diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java index 298a93fd..e6fea7af 100644 --- a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java +++ b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java @@ -131,13 +131,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -5152,8 +5152,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListInspectTemplatesPagedResponse extends AbstractPagedListResponse< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, - ListInspectTemplatesPage, ListInspectTemplatesFixedSizeCollection> { + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, + InspectTemplate, + ListInspectTemplatesPage, + ListInspectTemplatesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -5174,7 +5177,9 @@ private ListInspectTemplatesPagedResponse(ListInspectTemplatesPage page) { public static class ListInspectTemplatesPage extends AbstractPage< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, + InspectTemplate, ListInspectTemplatesPage> { private ListInspectTemplatesPage( @@ -5207,8 +5212,11 @@ public ApiFuture createPageAsync( public static class ListInspectTemplatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, - ListInspectTemplatesPage, ListInspectTemplatesFixedSizeCollection> { + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, + InspectTemplate, + ListInspectTemplatesPage, + ListInspectTemplatesFixedSizeCollection> { private ListInspectTemplatesFixedSizeCollection( List pages, int collectionSize) { @@ -5228,8 +5236,11 @@ protected ListInspectTemplatesFixedSizeCollection createCollection( public static class ListDeidentifyTemplatesPagedResponse extends AbstractPagedListResponse< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, - ListDeidentifyTemplatesPage, ListDeidentifyTemplatesFixedSizeCollection> { + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, + DeidentifyTemplate, + ListDeidentifyTemplatesPage, + ListDeidentifyTemplatesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -5251,7 +5262,9 @@ private ListDeidentifyTemplatesPagedResponse(ListDeidentifyTemplatesPage page) { public static class ListDeidentifyTemplatesPage extends AbstractPage< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, + DeidentifyTemplate, ListDeidentifyTemplatesPage> { private ListDeidentifyTemplatesPage( @@ -5287,8 +5300,11 @@ public ApiFuture createPageAsync( public static class ListDeidentifyTemplatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, - ListDeidentifyTemplatesPage, ListDeidentifyTemplatesFixedSizeCollection> { + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, + DeidentifyTemplate, + ListDeidentifyTemplatesPage, + ListDeidentifyTemplatesFixedSizeCollection> { private ListDeidentifyTemplatesFixedSizeCollection( List pages, int collectionSize) { @@ -5308,7 +5324,10 @@ protected ListDeidentifyTemplatesFixedSizeCollection createCollection( public static class ListJobTriggersPagedResponse extends AbstractPagedListResponse< - ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, + ListJobTriggersRequest, + ListJobTriggersResponse, + JobTrigger, + ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { public static ApiFuture createAsync( @@ -5358,7 +5377,10 @@ public ApiFuture createPageAsync( public static class ListJobTriggersFixedSizeCollection extends AbstractFixedSizeCollection< - ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, + ListJobTriggersRequest, + ListJobTriggersResponse, + JobTrigger, + ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { private ListJobTriggersFixedSizeCollection( @@ -5379,7 +5401,10 @@ protected ListJobTriggersFixedSizeCollection createCollection( public static class ListDlpJobsPagedResponse extends AbstractPagedListResponse< - ListDlpJobsRequest, ListDlpJobsResponse, DlpJob, ListDlpJobsPage, + ListDlpJobsRequest, + ListDlpJobsResponse, + DlpJob, + ListDlpJobsPage, ListDlpJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5426,7 +5451,10 @@ public ApiFuture createPageAsync( public static class ListDlpJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDlpJobsRequest, ListDlpJobsResponse, DlpJob, ListDlpJobsPage, + ListDlpJobsRequest, + ListDlpJobsResponse, + DlpJob, + ListDlpJobsPage, ListDlpJobsFixedSizeCollection> { private ListDlpJobsFixedSizeCollection(List pages, int collectionSize) { @@ -5446,8 +5474,11 @@ protected ListDlpJobsFixedSizeCollection createCollection( public static class ListStoredInfoTypesPagedResponse extends AbstractPagedListResponse< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, - ListStoredInfoTypesPage, ListStoredInfoTypesFixedSizeCollection> { + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, + StoredInfoType, + ListStoredInfoTypesPage, + ListStoredInfoTypesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -5468,7 +5499,9 @@ private ListStoredInfoTypesPagedResponse(ListStoredInfoTypesPage page) { public static class ListStoredInfoTypesPage extends AbstractPage< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, + StoredInfoType, ListStoredInfoTypesPage> { private ListStoredInfoTypesPage( @@ -5501,8 +5534,11 @@ public ApiFuture createPageAsync( public static class ListStoredInfoTypesFixedSizeCollection extends AbstractFixedSizeCollection< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, - ListStoredInfoTypesPage, ListStoredInfoTypesFixedSizeCollection> { + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, + StoredInfoType, + ListStoredInfoTypesPage, + ListStoredInfoTypesFixedSizeCollection> { private ListStoredInfoTypesFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java similarity index 97% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java index bcbe3136..6ab59419 100644 --- a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java +++ b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceSettings.java @@ -31,7 +31,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.dlp.v2.stub.DlpServiceStubSettings; @@ -97,9 +96,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -171,7 +170,8 @@ public UnaryCallSettings listInfoTy /** Returns the object with the settings used for calls to listInspectTemplates. */ public PagedCallSettings< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return ((DlpServiceStubSettings) getStubSettings()).listInspectTemplatesSettings(); @@ -202,7 +202,8 @@ public UnaryCallSettings deleteInspectTempl /** Returns the object with the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return ((DlpServiceStubSettings) getStubSettings()).listDeidentifyTemplatesSettings(); @@ -464,7 +465,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listInspectTemplates. */ public PagedCallSettings.Builder< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return getStubSettingsBuilder().listInspectTemplatesSettings(); @@ -496,7 +498,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return getStubSettingsBuilder().listDeidentifyTemplatesSettings(); @@ -596,7 +599,8 @@ public UnaryCallSettings.Builder cancelDlpJobSetting /** Returns the builder for the settings used for calls to listStoredInfoTypes. */ public PagedCallSettings.Builder< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings() { return getStubSettingsBuilder().listStoredInfoTypesSettings(); diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/gapic_metadata.json diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/package-info.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStub.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java similarity index 97% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java index 4a87525f..fa2701e1 100644 --- a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java +++ b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/DlpServiceStubSettings.java @@ -111,9 +111,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -157,7 +157,8 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getInspectTemplateSettings; private final PagedCallSettings< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings @@ -169,7 +170,8 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getDeidentifyTemplateSettings; private final PagedCallSettings< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings @@ -249,7 +251,8 @@ public Iterable extractResources( ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate> LIST_DEIDENTIFY_TEMPLATES_PAGE_STR_DESC = new PagedListDescriptor< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, DeidentifyTemplate>() { @Override public String emptyToken() { @@ -405,11 +408,13 @@ public Iterable extractResources(ListStoredInfoTypesResponse pay }; private static final PagedListResponseFactory< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> LIST_INSPECT_TEMPLATES_PAGE_STR_FACT = new PagedListResponseFactory< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -427,11 +432,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> LIST_DEIDENTIFY_TEMPLATES_PAGE_STR_FACT = new PagedListResponseFactory< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -441,7 +448,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, DeidentifyTemplate> pageContext = PageContext.create( @@ -488,7 +496,8 @@ public ApiFuture getFuturePagedResponse( ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> LIST_STORED_INFO_TYPES_PAGE_STR_FACT = new PagedListResponseFactory< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -551,7 +560,8 @@ public UnaryCallSettings listInfoTy /** Returns the object with the settings used for calls to listInspectTemplates. */ public PagedCallSettings< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return listInspectTemplatesSettings; @@ -582,7 +592,8 @@ public UnaryCallSettings deleteInspectTempl /** Returns the object with the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return listDeidentifyTemplatesSettings; @@ -830,7 +841,8 @@ public static class Builder extends StubSettings.Builder getInspectTemplateSettings; private final PagedCallSettings.Builder< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings.Builder @@ -842,7 +854,8 @@ public static class Builder extends StubSettings.Builder getDeidentifyTemplateSettings; private final PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings.Builder @@ -875,7 +888,8 @@ public static class Builder extends StubSettings.Builder getStoredInfoTypeSettings; private final PagedCallSettings.Builder< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings; private final UnaryCallSettings.Builder @@ -1338,7 +1352,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listInspectTemplates. */ public PagedCallSettings.Builder< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings() { return listInspectTemplatesSettings; @@ -1370,7 +1385,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listDeidentifyTemplates. */ public PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings() { return listDeidentifyTemplatesSettings; @@ -1470,7 +1486,8 @@ public UnaryCallSettings.Builder cancelDlpJobSetting /** Returns the builder for the settings used for calls to listStoredInfoTypes. */ public PagedCallSettings.Builder< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings() { return listStoredInfoTypesSettings; diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java index de23f7f7..13c67c62 100644 --- a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java +++ b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java @@ -84,7 +84,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/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java b/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java rename to google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientTest.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java b/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java rename to google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpService.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java b/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java rename to google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/MockDlpServiceImpl.java diff --git a/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java b/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java new file mode 100644 index 00000000..6f4b5922 --- /dev/null +++ b/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java @@ -0,0 +1,4574 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.privacy.dlp.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+ * to detect the presence of Personally Identifiable Information (PII) and other
+ * privacy-sensitive data in user-supplied, unstructured data streams, like text
+ * blocks or images.
+ * The service also includes methods for sensitive data redaction and
+ * scheduling of data scans on Google Cloud Platform based data sets.
+ * To learn more about concepts and find how-to guides see
+ * https://cloud.google.com/dlp/docs/.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/privacy/dlp/v2/dlp.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DlpServiceGrpc { + + private DlpServiceGrpc() {} + + public static final String SERVICE_NAME = "google.privacy.dlp.v2.DlpService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.InspectContentRequest, + com.google.privacy.dlp.v2.InspectContentResponse> + getInspectContentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InspectContent", + requestType = com.google.privacy.dlp.v2.InspectContentRequest.class, + responseType = com.google.privacy.dlp.v2.InspectContentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.InspectContentRequest, + com.google.privacy.dlp.v2.InspectContentResponse> + getInspectContentMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.InspectContentRequest, + com.google.privacy.dlp.v2.InspectContentResponse> + getInspectContentMethod; + if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { + DlpServiceGrpc.getInspectContentMethod = + getInspectContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InspectContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectContentResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("InspectContent")) + .build(); + } + } + } + return getInspectContentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.RedactImageRequest, + com.google.privacy.dlp.v2.RedactImageResponse> + getRedactImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RedactImage", + requestType = com.google.privacy.dlp.v2.RedactImageRequest.class, + responseType = com.google.privacy.dlp.v2.RedactImageResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.RedactImageRequest, + com.google.privacy.dlp.v2.RedactImageResponse> + getRedactImageMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.RedactImageRequest, + com.google.privacy.dlp.v2.RedactImageResponse> + getRedactImageMethod; + if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { + DlpServiceGrpc.getRedactImageMethod = + getRedactImageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RedactImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.RedactImageRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.RedactImageResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("RedactImage")) + .build(); + } + } + } + return getRedactImageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeidentifyContentRequest, + com.google.privacy.dlp.v2.DeidentifyContentResponse> + getDeidentifyContentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeidentifyContent", + requestType = com.google.privacy.dlp.v2.DeidentifyContentRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyContentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeidentifyContentRequest, + com.google.privacy.dlp.v2.DeidentifyContentResponse> + getDeidentifyContentMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeidentifyContentRequest, + com.google.privacy.dlp.v2.DeidentifyContentResponse> + getDeidentifyContentMethod; + if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { + DlpServiceGrpc.getDeidentifyContentMethod = + getDeidentifyContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeidentifyContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyContentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyContentResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("DeidentifyContent")) + .build(); + } + } + } + return getDeidentifyContentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ReidentifyContentRequest, + com.google.privacy.dlp.v2.ReidentifyContentResponse> + getReidentifyContentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReidentifyContent", + requestType = com.google.privacy.dlp.v2.ReidentifyContentRequest.class, + responseType = com.google.privacy.dlp.v2.ReidentifyContentResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ReidentifyContentRequest, + com.google.privacy.dlp.v2.ReidentifyContentResponse> + getReidentifyContentMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ReidentifyContentRequest, + com.google.privacy.dlp.v2.ReidentifyContentResponse> + getReidentifyContentMethod; + if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { + DlpServiceGrpc.getReidentifyContentMethod = + getReidentifyContentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReidentifyContent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ReidentifyContentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ReidentifyContentResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ReidentifyContent")) + .build(); + } + } + } + return getReidentifyContentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListInfoTypesRequest, + com.google.privacy.dlp.v2.ListInfoTypesResponse> + getListInfoTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInfoTypes", + requestType = com.google.privacy.dlp.v2.ListInfoTypesRequest.class, + responseType = com.google.privacy.dlp.v2.ListInfoTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListInfoTypesRequest, + com.google.privacy.dlp.v2.ListInfoTypesResponse> + getListInfoTypesMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListInfoTypesRequest, + com.google.privacy.dlp.v2.ListInfoTypesResponse> + getListInfoTypesMethod; + if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { + DlpServiceGrpc.getListInfoTypesMethod = + getListInfoTypesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInfoTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInfoTypesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListInfoTypes")) + .build(); + } + } + } + return getListInfoTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getCreateInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInspectTemplate", + requestType = com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.InspectTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getCreateInspectTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getCreateInspectTemplateMethod; + if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) + == null) { + DlpServiceGrpc.getCreateInspectTemplateMethod = + getCreateInspectTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("CreateInspectTemplate")) + .build(); + } + } + } + return getCreateInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getUpdateInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInspectTemplate", + requestType = com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.InspectTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getUpdateInspectTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getUpdateInspectTemplateMethod; + if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) + == null) { + DlpServiceGrpc.getUpdateInspectTemplateMethod = + getUpdateInspectTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("UpdateInspectTemplate")) + .build(); + } + } + } + return getUpdateInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getGetInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInspectTemplate", + requestType = com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.InspectTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getGetInspectTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate> + getGetInspectTemplateMethod; + if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { + DlpServiceGrpc.getGetInspectTemplateMethod = + getGetInspectTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetInspectTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("GetInspectTemplate")) + .build(); + } + } + } + return getGetInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListInspectTemplatesRequest, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse> + getListInspectTemplatesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInspectTemplates", + requestType = com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, + responseType = com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListInspectTemplatesRequest, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse> + getListInspectTemplatesMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListInspectTemplatesRequest, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse> + getListInspectTemplatesMethod; + if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) + == null) { + DlpServiceGrpc.getListInspectTemplatesMethod = + getListInspectTemplatesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListInspectTemplates")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListInspectTemplatesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ListInspectTemplates")) + .build(); + } + } + } + return getListInspectTemplatesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, com.google.protobuf.Empty> + getDeleteInspectTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInspectTemplate", + requestType = com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, com.google.protobuf.Empty> + getDeleteInspectTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, com.google.protobuf.Empty> + getDeleteInspectTemplateMethod; + if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) + == null) { + DlpServiceGrpc.getDeleteInspectTemplateMethod = + getDeleteInspectTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteInspectTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("DeleteInspectTemplate")) + .build(); + } + } + } + return getDeleteInspectTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getCreateDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getCreateDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getCreateDeidentifyTemplateMethod; + if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) + == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) + == null) { + DlpServiceGrpc.getCreateDeidentifyTemplateMethod = + getCreateDeidentifyTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("CreateDeidentifyTemplate")) + .build(); + } + } + } + return getCreateDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getUpdateDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getUpdateDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getUpdateDeidentifyTemplateMethod; + if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) + == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) + == null) { + DlpServiceGrpc.getUpdateDeidentifyTemplateMethod = + getUpdateDeidentifyTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("UpdateDeidentifyTemplate")) + .build(); + } + } + } + return getUpdateDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getGetDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, + responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getGetDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate> + getGetDeidentifyTemplateMethod; + if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) + == null) { + DlpServiceGrpc.getGetDeidentifyTemplateMethod = + getGetDeidentifyTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("GetDeidentifyTemplate")) + .build(); + } + } + } + return getGetDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> + getListDeidentifyTemplatesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDeidentifyTemplates", + requestType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, + responseType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> + getListDeidentifyTemplatesMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> + getListDeidentifyTemplatesMethod; + if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) + == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) + == null) { + DlpServiceGrpc.getListDeidentifyTemplatesMethod = + getListDeidentifyTemplatesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListDeidentifyTemplates")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ListDeidentifyTemplates")) + .build(); + } + } + } + return getListDeidentifyTemplatesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, com.google.protobuf.Empty> + getDeleteDeidentifyTemplateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDeidentifyTemplate", + requestType = com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, com.google.protobuf.Empty> + getDeleteDeidentifyTemplateMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, com.google.protobuf.Empty> + getDeleteDeidentifyTemplateMethod; + if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) + == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) + == null) { + DlpServiceGrpc.getDeleteDeidentifyTemplateMethod = + getDeleteDeidentifyTemplateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteDeidentifyTemplate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("DeleteDeidentifyTemplate")) + .build(); + } + } + } + return getDeleteDeidentifyTemplateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getCreateJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJobTrigger", + requestType = com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.JobTrigger.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getCreateJobTriggerMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getCreateJobTriggerMethod; + if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { + DlpServiceGrpc.getCreateJobTriggerMethod = + getCreateJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateJobTriggerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("CreateJobTrigger")) + .build(); + } + } + } + return getCreateJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getUpdateJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJobTrigger", + requestType = com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.JobTrigger.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getUpdateJobTriggerMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getUpdateJobTriggerMethod; + if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { + DlpServiceGrpc.getUpdateJobTriggerMethod = + getUpdateJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateJobTriggerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("UpdateJobTrigger")) + .build(); + } + } + } + return getUpdateJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, + com.google.privacy.dlp.v2.HybridInspectResponse> + getHybridInspectJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "HybridInspectJobTrigger", + requestType = com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, + com.google.privacy.dlp.v2.HybridInspectResponse> + getHybridInspectJobTriggerMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, + com.google.privacy.dlp.v2.HybridInspectResponse> + getHybridInspectJobTriggerMethod; + if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) + == null) { + synchronized (DlpServiceGrpc.class) { + if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) + == null) { + DlpServiceGrpc.getHybridInspectJobTriggerMethod = + getHybridInspectJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "HybridInspectJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("HybridInspectJobTrigger")) + .build(); + } + } + } + return getHybridInspectJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getGetJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJobTrigger", + requestType = com.google.privacy.dlp.v2.GetJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.JobTrigger.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getGetJobTriggerMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetJobTriggerRequest, com.google.privacy.dlp.v2.JobTrigger> + getGetJobTriggerMethod; + if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { + DlpServiceGrpc.getGetJobTriggerMethod = + getGetJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetJobTriggerRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetJobTrigger")) + .build(); + } + } + } + return getGetJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListJobTriggersRequest, + com.google.privacy.dlp.v2.ListJobTriggersResponse> + getListJobTriggersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobTriggers", + requestType = com.google.privacy.dlp.v2.ListJobTriggersRequest.class, + responseType = com.google.privacy.dlp.v2.ListJobTriggersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListJobTriggersRequest, + com.google.privacy.dlp.v2.ListJobTriggersResponse> + getListJobTriggersMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListJobTriggersRequest, + com.google.privacy.dlp.v2.ListJobTriggersResponse> + getListJobTriggersMethod; + if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { + DlpServiceGrpc.getListJobTriggersMethod = + getListJobTriggersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobTriggers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListJobTriggersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListJobTriggersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ListJobTriggers")) + .build(); + } + } + } + return getListJobTriggersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty> + getDeleteJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJobTrigger", + requestType = com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty> + getDeleteJobTriggerMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty> + getDeleteJobTriggerMethod; + if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { + DlpServiceGrpc.getDeleteJobTriggerMethod = + getDeleteJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteJobTriggerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("DeleteJobTrigger")) + .build(); + } + } + } + return getDeleteJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ActivateJobTrigger", + requestType = com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, + responseType = com.google.privacy.dlp.v2.DlpJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethod; + if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { + DlpServiceGrpc.getActivateJobTriggerMethod = + getActivateJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ActivateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ActivateJobTrigger")) + .build(); + } + } + } + return getActivateJobTriggerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> + getCreateDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDlpJob", + requestType = com.google.privacy.dlp.v2.CreateDlpJobRequest.class, + responseType = com.google.privacy.dlp.v2.DlpJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> + getCreateDlpJobMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> + getCreateDlpJobMethod; + if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { + DlpServiceGrpc.getCreateDlpJobMethod = + getCreateDlpJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateDlpJob")) + .build(); + } + } + } + return getCreateDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListDlpJobsRequest, + com.google.privacy.dlp.v2.ListDlpJobsResponse> + getListDlpJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDlpJobs", + requestType = com.google.privacy.dlp.v2.ListDlpJobsRequest.class, + responseType = com.google.privacy.dlp.v2.ListDlpJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListDlpJobsRequest, + com.google.privacy.dlp.v2.ListDlpJobsResponse> + getListDlpJobsMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListDlpJobsRequest, + com.google.privacy.dlp.v2.ListDlpJobsResponse> + getListDlpJobsMethod; + if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { + DlpServiceGrpc.getListDlpJobsMethod = + getListDlpJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDlpJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDlpJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListDlpJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListDlpJobs")) + .build(); + } + } + } + return getListDlpJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> + getGetDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDlpJob", + requestType = com.google.privacy.dlp.v2.GetDlpJobRequest.class, + responseType = com.google.privacy.dlp.v2.DlpJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> + getGetDlpJobMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob> + getGetDlpJobMethod; + if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { + DlpServiceGrpc.getGetDlpJobMethod = + getGetDlpJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetDlpJob")) + .build(); + } + } + } + return getGetDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty> + getDeleteDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDlpJob", + requestType = com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty> + getDeleteDlpJobMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty> + getDeleteDlpJobMethod; + if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { + DlpServiceGrpc.getDeleteDlpJobMethod = + getDeleteDlpJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteDlpJob")) + .build(); + } + } + } + return getDeleteDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty> + getCancelDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelDlpJob", + requestType = com.google.privacy.dlp.v2.CancelDlpJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty> + getCancelDlpJobMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty> + getCancelDlpJobMethod; + if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { + DlpServiceGrpc.getCancelDlpJobMethod = + getCancelDlpJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CancelDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CancelDlpJob")) + .build(); + } + } + } + return getCancelDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getCreateStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateStoredInfoType", + requestType = com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, + responseType = com.google.privacy.dlp.v2.StoredInfoType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getCreateStoredInfoTypeMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getCreateStoredInfoTypeMethod; + if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) + == null) { + DlpServiceGrpc.getCreateStoredInfoTypeMethod = + getCreateStoredInfoTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("CreateStoredInfoType")) + .build(); + } + } + } + return getCreateStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getUpdateStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateStoredInfoType", + requestType = com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, + responseType = com.google.privacy.dlp.v2.StoredInfoType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getUpdateStoredInfoTypeMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getUpdateStoredInfoTypeMethod; + if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) + == null) { + DlpServiceGrpc.getUpdateStoredInfoTypeMethod = + getUpdateStoredInfoTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("UpdateStoredInfoType")) + .build(); + } + } + } + return getUpdateStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getGetStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetStoredInfoType", + requestType = com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, + responseType = com.google.privacy.dlp.v2.StoredInfoType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getGetStoredInfoTypeMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType> + getGetStoredInfoTypeMethod; + if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { + DlpServiceGrpc.getGetStoredInfoTypeMethod = + getGetStoredInfoTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("GetStoredInfoType")) + .build(); + } + } + } + return getGetStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> + getListStoredInfoTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListStoredInfoTypes", + requestType = com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, + responseType = com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> + getListStoredInfoTypesMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> + getListStoredInfoTypesMethod; + if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { + DlpServiceGrpc.getListStoredInfoTypesMethod = + getListStoredInfoTypesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListStoredInfoTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ListStoredInfoTypes")) + .build(); + } + } + } + return getListStoredInfoTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, com.google.protobuf.Empty> + getDeleteStoredInfoTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteStoredInfoType", + requestType = com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, com.google.protobuf.Empty> + getDeleteStoredInfoTypeMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, com.google.protobuf.Empty> + getDeleteStoredInfoTypeMethod; + if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) + == null) { + DlpServiceGrpc.getDeleteStoredInfoTypeMethod = + getDeleteStoredInfoTypeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteStoredInfoType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("DeleteStoredInfoType")) + .build(); + } + } + } + return getDeleteStoredInfoTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, + com.google.privacy.dlp.v2.HybridInspectResponse> + getHybridInspectDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "HybridInspectDlpJob", + requestType = com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, + responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, + com.google.privacy.dlp.v2.HybridInspectResponse> + getHybridInspectDlpJobMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, + com.google.privacy.dlp.v2.HybridInspectResponse> + getHybridInspectDlpJobMethod; + if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { + DlpServiceGrpc.getHybridInspectDlpJobMethod = + getHybridInspectDlpJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "HybridInspectDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("HybridInspectDlpJob")) + .build(); + } + } + } + return getHybridInspectDlpJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty> + getFinishDlpJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FinishDlpJob", + requestType = com.google.privacy.dlp.v2.FinishDlpJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty> + getFinishDlpJobMethod() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty> + getFinishDlpJobMethod; + if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { + DlpServiceGrpc.getFinishDlpJobMethod = + getFinishDlpJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinishDlpJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.FinishDlpJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("FinishDlpJob")) + .build(); + } + } + } + return getFinishDlpJobMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DlpServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DlpServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceStub(channel, callOptions); + } + }; + return DlpServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DlpServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DlpServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceBlockingStub(channel, callOptions); + } + }; + return DlpServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DlpServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DlpServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceFutureStub(channel, callOptions); + } + }; + return DlpServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public abstract static class DlpServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public void inspectContent( + com.google.privacy.dlp.v2.InspectContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInspectContentMethod(), responseObserver); + } + + /** + * + * + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void redactImage( + com.google.privacy.dlp.v2.RedactImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRedactImageMethod(), responseObserver); + } + + /** + * + * + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void deidentifyContent( + com.google.privacy.dlp.v2.DeidentifyContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeidentifyContentMethod(), responseObserver); + } + + /** + * + * + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public void reidentifyContent( + com.google.privacy.dlp.v2.ReidentifyContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReidentifyContentMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public void listInfoTypes( + com.google.privacy.dlp.v2.ListInfoTypesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInfoTypesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void createInspectTemplate( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInspectTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void updateInspectTemplate( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInspectTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void getInspectTemplate( + com.google.privacy.dlp.v2.GetInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInspectTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void listInspectTemplates( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInspectTemplatesMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void deleteInspectTemplate( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInspectTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void createDeidentifyTemplate( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDeidentifyTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void updateDeidentifyTemplate( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDeidentifyTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void getDeidentifyTemplate( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDeidentifyTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void listDeidentifyTemplates( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDeidentifyTemplatesMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void deleteDeidentifyTemplate( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDeidentifyTemplateMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void createJobTrigger( + com.google.privacy.dlp.v2.CreateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateJobTriggerMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void updateJobTrigger( + com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateJobTriggerMethod(), responseObserver); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public void hybridInspectJobTrigger( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getHybridInspectJobTriggerMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void getJobTrigger( + com.google.privacy.dlp.v2.GetJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetJobTriggerMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void listJobTriggers( + com.google.privacy.dlp.v2.ListJobTriggersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListJobTriggersMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void deleteJobTrigger( + com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteJobTriggerMethod(), responseObserver); + } + + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public void activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getActivateJobTriggerMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void createDlpJob( + com.google.privacy.dlp.v2.CreateDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDlpJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void listDlpJobs( + com.google.privacy.dlp.v2.ListDlpJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDlpJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void getDlpJob( + com.google.privacy.dlp.v2.GetDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDlpJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void deleteDlpJob( + com.google.privacy.dlp.v2.DeleteDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDlpJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void cancelDlpJob( + com.google.privacy.dlp.v2.CancelDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelDlpJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void createStoredInfoType( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateStoredInfoTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void updateStoredInfoType( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateStoredInfoTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void getStoredInfoType( + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetStoredInfoTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void listStoredInfoTypes( + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListStoredInfoTypesMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void deleteStoredInfoType( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteStoredInfoTypeMethod(), responseObserver); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public void hybridInspectDlpJob( + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getHybridInspectDlpJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public void finishDlpJob( + com.google.privacy.dlp.v2.FinishDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFinishDlpJobMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getInspectContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.InspectContentRequest, + com.google.privacy.dlp.v2.InspectContentResponse>( + this, METHODID_INSPECT_CONTENT))) + .addMethod( + getRedactImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.RedactImageRequest, + com.google.privacy.dlp.v2.RedactImageResponse>(this, METHODID_REDACT_IMAGE))) + .addMethod( + getDeidentifyContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeidentifyContentRequest, + com.google.privacy.dlp.v2.DeidentifyContentResponse>( + this, METHODID_DEIDENTIFY_CONTENT))) + .addMethod( + getReidentifyContentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ReidentifyContentRequest, + com.google.privacy.dlp.v2.ReidentifyContentResponse>( + this, METHODID_REIDENTIFY_CONTENT))) + .addMethod( + getListInfoTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListInfoTypesRequest, + com.google.privacy.dlp.v2.ListInfoTypesResponse>( + this, METHODID_LIST_INFO_TYPES))) + .addMethod( + getCreateInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate>( + this, METHODID_CREATE_INSPECT_TEMPLATE))) + .addMethod( + getUpdateInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate>( + this, METHODID_UPDATE_INSPECT_TEMPLATE))) + .addMethod( + getGetInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetInspectTemplateRequest, + com.google.privacy.dlp.v2.InspectTemplate>( + this, METHODID_GET_INSPECT_TEMPLATE))) + .addMethod( + getListInspectTemplatesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListInspectTemplatesRequest, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse>( + this, METHODID_LIST_INSPECT_TEMPLATES))) + .addMethod( + getDeleteInspectTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_INSPECT_TEMPLATE))) + .addMethod( + getCreateDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate>( + this, METHODID_CREATE_DEIDENTIFY_TEMPLATE))) + .addMethod( + getUpdateDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate>( + this, METHODID_UPDATE_DEIDENTIFY_TEMPLATE))) + .addMethod( + getGetDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, + com.google.privacy.dlp.v2.DeidentifyTemplate>( + this, METHODID_GET_DEIDENTIFY_TEMPLATE))) + .addMethod( + getListDeidentifyTemplatesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>( + this, METHODID_LIST_DEIDENTIFY_TEMPLATES))) + .addMethod( + getDeleteDeidentifyTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_DEIDENTIFY_TEMPLATE))) + .addMethod( + getCreateJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateJobTriggerRequest, + com.google.privacy.dlp.v2.JobTrigger>(this, METHODID_CREATE_JOB_TRIGGER))) + .addMethod( + getUpdateJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateJobTriggerRequest, + com.google.privacy.dlp.v2.JobTrigger>(this, METHODID_UPDATE_JOB_TRIGGER))) + .addMethod( + getHybridInspectJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, + com.google.privacy.dlp.v2.HybridInspectResponse>( + this, METHODID_HYBRID_INSPECT_JOB_TRIGGER))) + .addMethod( + getGetJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetJobTriggerRequest, + com.google.privacy.dlp.v2.JobTrigger>(this, METHODID_GET_JOB_TRIGGER))) + .addMethod( + getListJobTriggersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListJobTriggersRequest, + com.google.privacy.dlp.v2.ListJobTriggersResponse>( + this, METHODID_LIST_JOB_TRIGGERS))) + .addMethod( + getDeleteJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB_TRIGGER))) + .addMethod( + getActivateJobTriggerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, + com.google.privacy.dlp.v2.DlpJob>(this, METHODID_ACTIVATE_JOB_TRIGGER))) + .addMethod( + getCreateDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateDlpJobRequest, + com.google.privacy.dlp.v2.DlpJob>(this, METHODID_CREATE_DLP_JOB))) + .addMethod( + getListDlpJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListDlpJobsRequest, + com.google.privacy.dlp.v2.ListDlpJobsResponse>(this, METHODID_LIST_DLP_JOBS))) + .addMethod( + getGetDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetDlpJobRequest, com.google.privacy.dlp.v2.DlpJob>( + this, METHODID_GET_DLP_JOB))) + .addMethod( + getDeleteDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteDlpJobRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_DLP_JOB))) + .addMethod( + getCancelDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CancelDlpJobRequest, com.google.protobuf.Empty>( + this, METHODID_CANCEL_DLP_JOB))) + .addMethod( + getCreateStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType>( + this, METHODID_CREATE_STORED_INFO_TYPE))) + .addMethod( + getUpdateStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType>( + this, METHODID_UPDATE_STORED_INFO_TYPE))) + .addMethod( + getGetStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, + com.google.privacy.dlp.v2.StoredInfoType>( + this, METHODID_GET_STORED_INFO_TYPE))) + .addMethod( + getListStoredInfoTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse>( + this, METHODID_LIST_STORED_INFO_TYPES))) + .addMethod( + getDeleteStoredInfoTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_STORED_INFO_TYPE))) + .addMethod( + getHybridInspectDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, + com.google.privacy.dlp.v2.HybridInspectResponse>( + this, METHODID_HYBRID_INSPECT_DLP_JOB))) + .addMethod( + getFinishDlpJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.FinishDlpJobRequest, com.google.protobuf.Empty>( + this, METHODID_FINISH_DLP_JOB))) + .build(); + } + } + + /** + * + * + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static final class DlpServiceStub extends io.grpc.stub.AbstractAsyncStub { + private DlpServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DlpServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public void inspectContent( + com.google.privacy.dlp.v2.InspectContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInspectContentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void redactImage( + com.google.privacy.dlp.v2.RedactImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRedactImageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void deidentifyContent( + com.google.privacy.dlp.v2.DeidentifyContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public void reidentifyContent( + com.google.privacy.dlp.v2.ReidentifyContentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public void listInfoTypes( + com.google.privacy.dlp.v2.ListInfoTypesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void createInspectTemplate( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void updateInspectTemplate( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void getInspectTemplate( + com.google.privacy.dlp.v2.GetInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void listInspectTemplates( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public void deleteInspectTemplate( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void createDeidentifyTemplate( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void updateDeidentifyTemplate( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void getDeidentifyTemplate( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void listDeidentifyTemplates( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public void deleteDeidentifyTemplate( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void createJobTrigger( + com.google.privacy.dlp.v2.CreateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void updateJobTrigger( + com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public void hybridInspectJobTrigger( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void getJobTrigger( + com.google.privacy.dlp.v2.GetJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void listJobTriggers( + com.google.privacy.dlp.v2.ListJobTriggersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public void deleteJobTrigger( + com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public void activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public void createDlpJob( + com.google.privacy.dlp.v2.CreateDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void listDlpJobs( + com.google.privacy.dlp.v2.ListDlpJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void getDlpJob( + com.google.privacy.dlp.v2.GetDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void deleteDlpJob( + com.google.privacy.dlp.v2.DeleteDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public void cancelDlpJob( + com.google.privacy.dlp.v2.CancelDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void createStoredInfoType( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void updateStoredInfoType( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void getStoredInfoType( + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void listStoredInfoTypes( + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public void deleteStoredInfoType( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public void hybridInspectDlpJob( + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public void finishDlpJob( + com.google.privacy.dlp.v2.FinishDlpJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static final class DlpServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DlpServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DlpServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectContentResponse inspectContent( + com.google.privacy.dlp.v2.InspectContentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInspectContentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.privacy.dlp.v2.RedactImageResponse redactImage( + com.google.privacy.dlp.v2.RedactImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRedactImageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyContentResponse deidentifyContent( + com.google.privacy.dlp.v2.DeidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeidentifyContentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ReidentifyContentResponse reidentifyContent( + com.google.privacy.dlp.v2.ReidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReidentifyContentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListInfoTypesResponse listInfoTypes( + com.google.privacy.dlp.v2.ListInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInfoTypesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectTemplate createInspectTemplate( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInspectTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectTemplate updateInspectTemplate( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInspectTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate( + com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInspectTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListInspectTemplatesResponse listInspectTemplates( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInspectTemplatesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteInspectTemplate( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInspectTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyTemplate createDeidentifyTemplate( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyTemplate updateDeidentifyTemplate( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse listDeidentifyTemplates( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDeidentifyTemplatesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.protobuf.Empty deleteDeidentifyTemplate( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDeidentifyTemplateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.JobTrigger createJobTrigger( + com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobTriggerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.JobTrigger updateJobTrigger( + com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobTriggerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectJobTrigger( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getHybridInspectJobTriggerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.JobTrigger getJobTrigger( + com.google.privacy.dlp.v2.GetJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobTriggerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListJobTriggersResponse listJobTriggers( + com.google.privacy.dlp.v2.ListJobTriggersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobTriggersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteJobTrigger( + com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobTriggerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getActivateJobTriggerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob createDlpJob( + com.google.privacy.dlp.v2.CreateDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDlpJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListDlpJobsResponse listDlpJobs( + com.google.privacy.dlp.v2.ListDlpJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDlpJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob getDlpJob( + com.google.privacy.dlp.v2.GetDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDlpJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteDlpJob( + com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDlpJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.protobuf.Empty cancelDlpJob( + com.google.privacy.dlp.v2.CancelDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelDlpJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.StoredInfoType createStoredInfoType( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.StoredInfoType updateStoredInfoType( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoType( + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse listStoredInfoTypes( + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListStoredInfoTypesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.protobuf.Empty deleteStoredInfoType( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteStoredInfoTypeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob( + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getHybridInspectDlpJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public com.google.protobuf.Empty finishDlpJob( + com.google.privacy.dlp.v2.FinishDlpJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFinishDlpJobMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
+   * to detect the presence of Personally Identifiable Information (PII) and other
+   * privacy-sensitive data in user-supplied, unstructured data streams, like text
+   * blocks or images.
+   * The service also includes methods for sensitive data redaction and
+   * scheduling of data scans on Google Cloud Platform based data sets.
+   * To learn more about concepts and find how-to guides see
+   * https://cloud.google.com/dlp/docs/.
+   * 
+ */ + public static final class DlpServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DlpServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DlpServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Finds potentially sensitive info in content.
+     * This method has limits on input size, processing time, and output size.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
+     * and https://cloud.google.com/dlp/docs/inspecting-text,
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.InspectContentResponse> + inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInspectContentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Redacts potentially sensitive info from an image.
+     * This method has limits on input size, processing time, and output size.
+     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.RedactImageResponse> + redactImage(com.google.privacy.dlp.v2.RedactImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRedactImageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * De-identifies potentially sensitive info from a ContentItem.
+     * This method has limits on input size and output size.
+     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
+     * learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in this request, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.DeidentifyContentResponse> + deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Re-identifies content that has been de-identified.
+     * See
+     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
+     * to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ReidentifyContentResponse> + reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a list of the sensitive information types that the DLP API
+     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ListInfoTypesResponse> + listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an InspectTemplate for re-using frequently used configuration
+     * for inspecting content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.InspectTemplate> + createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.InspectTemplate> + updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.InspectTemplate> + getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists InspectTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ListInspectTemplatesResponse> + listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an InspectTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a DeidentifyTemplate for re-using frequently used configuration
+     * for de-identifying content, images, and storage.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.DeidentifyTemplate> + createDeidentifyTemplate( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.DeidentifyTemplate> + updateDeidentifyTemplate( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.DeidentifyTemplate> + getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DeidentifyTemplates.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse> + listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a DeidentifyTemplate.
+     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
+     * more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDeidentifyTemplate( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a job trigger to run DLP actions such as scanning storage for
+     * sensitive information on a set schedule.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a trigger. The inspection
+     * will be processed asynchronously. To review the findings monitor the
+     * jobs within the trigger.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.HybridInspectResponse> + hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists job triggers.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ListJobTriggersResponse> + listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a job trigger.
+     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new job to inspect storage or calculate risk metrics.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+     * system will automatically choose what detectors to run. By default this may
+     * be all types, but may change over time as detectors are updated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DlpJobs that match the specified filter in the request.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ListDlpJobsResponse> + listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the latest state of a long-running DlpJob.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a long-running DlpJob. This method indicates that the client is
+     * no longer interested in the DlpJob result. The job will be cancelled if
+     * possible.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts asynchronous cancellation on a long-running DlpJob. The server
+     * makes a best effort to cancel the DlpJob, but success is not
+     * guaranteed.
+     * See https://cloud.google.com/dlp/docs/inspecting-storage and
+     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a pre-built stored infoType to be used for inspection.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.StoredInfoType> + createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the stored infoType by creating a new version. The existing version
+     * will continue to be used until the new version is ready.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.StoredInfoType> + updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.StoredInfoType> + getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists stored infoTypes.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse> + listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a stored infoType.
+     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
+     * learn more.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Inspect hybrid content and store findings to a job.
+     * To review the findings, inspect the job. Inspection will occur
+     * asynchronously.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.privacy.dlp.v2.HybridInspectResponse> + hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
+     * of any enabled actions that have not yet run.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_INSPECT_CONTENT = 0; + private static final int METHODID_REDACT_IMAGE = 1; + private static final int METHODID_DEIDENTIFY_CONTENT = 2; + private static final int METHODID_REIDENTIFY_CONTENT = 3; + private static final int METHODID_LIST_INFO_TYPES = 4; + private static final int METHODID_CREATE_INSPECT_TEMPLATE = 5; + private static final int METHODID_UPDATE_INSPECT_TEMPLATE = 6; + private static final int METHODID_GET_INSPECT_TEMPLATE = 7; + private static final int METHODID_LIST_INSPECT_TEMPLATES = 8; + private static final int METHODID_DELETE_INSPECT_TEMPLATE = 9; + private static final int METHODID_CREATE_DEIDENTIFY_TEMPLATE = 10; + private static final int METHODID_UPDATE_DEIDENTIFY_TEMPLATE = 11; + private static final int METHODID_GET_DEIDENTIFY_TEMPLATE = 12; + private static final int METHODID_LIST_DEIDENTIFY_TEMPLATES = 13; + private static final int METHODID_DELETE_DEIDENTIFY_TEMPLATE = 14; + private static final int METHODID_CREATE_JOB_TRIGGER = 15; + private static final int METHODID_UPDATE_JOB_TRIGGER = 16; + private static final int METHODID_HYBRID_INSPECT_JOB_TRIGGER = 17; + private static final int METHODID_GET_JOB_TRIGGER = 18; + private static final int METHODID_LIST_JOB_TRIGGERS = 19; + private static final int METHODID_DELETE_JOB_TRIGGER = 20; + private static final int METHODID_ACTIVATE_JOB_TRIGGER = 21; + private static final int METHODID_CREATE_DLP_JOB = 22; + private static final int METHODID_LIST_DLP_JOBS = 23; + private static final int METHODID_GET_DLP_JOB = 24; + private static final int METHODID_DELETE_DLP_JOB = 25; + private static final int METHODID_CANCEL_DLP_JOB = 26; + private static final int METHODID_CREATE_STORED_INFO_TYPE = 27; + private static final int METHODID_UPDATE_STORED_INFO_TYPE = 28; + private static final int METHODID_GET_STORED_INFO_TYPE = 29; + private static final int METHODID_LIST_STORED_INFO_TYPES = 30; + private static final int METHODID_DELETE_STORED_INFO_TYPE = 31; + private static final int METHODID_HYBRID_INSPECT_DLP_JOB = 32; + private static final int METHODID_FINISH_DLP_JOB = 33; + + 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 DlpServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DlpServiceImplBase 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_INSPECT_CONTENT: + serviceImpl.inspectContent( + (com.google.privacy.dlp.v2.InspectContentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REDACT_IMAGE: + serviceImpl.redactImage( + (com.google.privacy.dlp.v2.RedactImageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DEIDENTIFY_CONTENT: + serviceImpl.deidentifyContent( + (com.google.privacy.dlp.v2.DeidentifyContentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REIDENTIFY_CONTENT: + serviceImpl.reidentifyContent( + (com.google.privacy.dlp.v2.ReidentifyContentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_INFO_TYPES: + serviceImpl.listInfoTypes( + (com.google.privacy.dlp.v2.ListInfoTypesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_INSPECT_TEMPLATE: + serviceImpl.createInspectTemplate( + (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_INSPECT_TEMPLATE: + serviceImpl.updateInspectTemplate( + (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_INSPECT_TEMPLATE: + serviceImpl.getInspectTemplate( + (com.google.privacy.dlp.v2.GetInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_INSPECT_TEMPLATES: + serviceImpl.listInspectTemplates( + (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_INSPECT_TEMPLATE: + serviceImpl.deleteInspectTemplate( + (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DEIDENTIFY_TEMPLATE: + serviceImpl.createDeidentifyTemplate( + (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_DEIDENTIFY_TEMPLATE: + serviceImpl.updateDeidentifyTemplate( + (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DEIDENTIFY_TEMPLATE: + serviceImpl.getDeidentifyTemplate( + (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DEIDENTIFY_TEMPLATES: + serviceImpl.listDeidentifyTemplates( + (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>) + responseObserver); + break; + case METHODID_DELETE_DEIDENTIFY_TEMPLATE: + serviceImpl.deleteDeidentifyTemplate( + (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_JOB_TRIGGER: + serviceImpl.createJobTrigger( + (com.google.privacy.dlp.v2.CreateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB_TRIGGER: + serviceImpl.updateJobTrigger( + (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_HYBRID_INSPECT_JOB_TRIGGER: + serviceImpl.hybridInspectJobTrigger( + (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_JOB_TRIGGER: + serviceImpl.getJobTrigger( + (com.google.privacy.dlp.v2.GetJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOB_TRIGGERS: + serviceImpl.listJobTriggers( + (com.google.privacy.dlp.v2.ListJobTriggersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_JOB_TRIGGER: + serviceImpl.deleteJobTrigger( + (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ACTIVATE_JOB_TRIGGER: + serviceImpl.activateJobTrigger( + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DLP_JOB: + serviceImpl.createDlpJob( + (com.google.privacy.dlp.v2.CreateDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DLP_JOBS: + serviceImpl.listDlpJobs( + (com.google.privacy.dlp.v2.ListDlpJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_DLP_JOB: + serviceImpl.getDlpJob( + (com.google.privacy.dlp.v2.GetDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DLP_JOB: + serviceImpl.deleteDlpJob( + (com.google.privacy.dlp.v2.DeleteDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_DLP_JOB: + serviceImpl.cancelDlpJob( + (com.google.privacy.dlp.v2.CancelDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_STORED_INFO_TYPE: + serviceImpl.createStoredInfoType( + (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_STORED_INFO_TYPE: + serviceImpl.updateStoredInfoType( + (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_STORED_INFO_TYPE: + serviceImpl.getStoredInfoType( + (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_STORED_INFO_TYPES: + serviceImpl.listStoredInfoTypes( + (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_STORED_INFO_TYPE: + serviceImpl.deleteStoredInfoType( + (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_HYBRID_INSPECT_DLP_JOB: + serviceImpl.hybridInspectDlpJob( + (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_FINISH_DLP_JOB: + serviceImpl.finishDlpJob( + (com.google.privacy.dlp.v2.FinishDlpJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class DlpServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DlpServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DlpService"); + } + } + + private static final class DlpServiceFileDescriptorSupplier + extends DlpServiceBaseDescriptorSupplier { + DlpServiceFileDescriptorSupplier() {} + } + + private static final class DlpServiceMethodDescriptorSupplier + extends DlpServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DlpServiceMethodDescriptorSupplier(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 (DlpServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DlpServiceFileDescriptorSupplier()) + .addMethod(getInspectContentMethod()) + .addMethod(getRedactImageMethod()) + .addMethod(getDeidentifyContentMethod()) + .addMethod(getReidentifyContentMethod()) + .addMethod(getListInfoTypesMethod()) + .addMethod(getCreateInspectTemplateMethod()) + .addMethod(getUpdateInspectTemplateMethod()) + .addMethod(getGetInspectTemplateMethod()) + .addMethod(getListInspectTemplatesMethod()) + .addMethod(getDeleteInspectTemplateMethod()) + .addMethod(getCreateDeidentifyTemplateMethod()) + .addMethod(getUpdateDeidentifyTemplateMethod()) + .addMethod(getGetDeidentifyTemplateMethod()) + .addMethod(getListDeidentifyTemplatesMethod()) + .addMethod(getDeleteDeidentifyTemplateMethod()) + .addMethod(getCreateJobTriggerMethod()) + .addMethod(getUpdateJobTriggerMethod()) + .addMethod(getHybridInspectJobTriggerMethod()) + .addMethod(getGetJobTriggerMethod()) + .addMethod(getListJobTriggersMethod()) + .addMethod(getDeleteJobTriggerMethod()) + .addMethod(getActivateJobTriggerMethod()) + .addMethod(getCreateDlpJobMethod()) + .addMethod(getListDlpJobsMethod()) + .addMethod(getGetDlpJobMethod()) + .addMethod(getDeleteDlpJobMethod()) + .addMethod(getCancelDlpJobMethod()) + .addMethod(getCreateStoredInfoTypeMethod()) + .addMethod(getUpdateStoredInfoTypeMethod()) + .addMethod(getGetStoredInfoTypeMethod()) + .addMethod(getListStoredInfoTypesMethod()) + .addMethod(getDeleteStoredInfoTypeMethod()) + .addMethod(getHybridInspectDlpJobMethod()) + .addMethod(getFinishDlpJobMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java deleted file mode 100644 index 050f9aa7..00000000 --- a/owl-bot-staging/v2/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java +++ /dev/null @@ -1,3496 +0,0 @@ -package com.google.privacy.dlp.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
- * to detect the presence of Personally Identifiable Information (PII) and other
- * privacy-sensitive data in user-supplied, unstructured data streams, like text
- * blocks or images.
- * The service also includes methods for sensitive data redaction and
- * scheduling of data scans on Google Cloud Platform based data sets.
- * To learn more about concepts and find how-to guides see
- * https://cloud.google.com/dlp/docs/.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/privacy/dlp/v2/dlp.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DlpServiceGrpc { - - private DlpServiceGrpc() {} - - public static final String SERVICE_NAME = "google.privacy.dlp.v2.DlpService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getInspectContentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InspectContent", - requestType = com.google.privacy.dlp.v2.InspectContentRequest.class, - responseType = com.google.privacy.dlp.v2.InspectContentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInspectContentMethod() { - io.grpc.MethodDescriptor getInspectContentMethod; - if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getInspectContentMethod = DlpServiceGrpc.getInspectContentMethod) == null) { - DlpServiceGrpc.getInspectContentMethod = getInspectContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InspectContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectContentResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("InspectContent")) - .build(); - } - } - } - return getInspectContentMethod; - } - - private static volatile io.grpc.MethodDescriptor getRedactImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RedactImage", - requestType = com.google.privacy.dlp.v2.RedactImageRequest.class, - responseType = com.google.privacy.dlp.v2.RedactImageResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRedactImageMethod() { - io.grpc.MethodDescriptor getRedactImageMethod; - if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getRedactImageMethod = DlpServiceGrpc.getRedactImageMethod) == null) { - DlpServiceGrpc.getRedactImageMethod = getRedactImageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RedactImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.RedactImageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.RedactImageResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("RedactImage")) - .build(); - } - } - } - return getRedactImageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeidentifyContentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeidentifyContent", - requestType = com.google.privacy.dlp.v2.DeidentifyContentRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyContentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeidentifyContentMethod() { - io.grpc.MethodDescriptor getDeidentifyContentMethod; - if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeidentifyContentMethod = DlpServiceGrpc.getDeidentifyContentMethod) == null) { - DlpServiceGrpc.getDeidentifyContentMethod = getDeidentifyContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeidentifyContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyContentResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeidentifyContent")) - .build(); - } - } - } - return getDeidentifyContentMethod; - } - - private static volatile io.grpc.MethodDescriptor getReidentifyContentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReidentifyContent", - requestType = com.google.privacy.dlp.v2.ReidentifyContentRequest.class, - responseType = com.google.privacy.dlp.v2.ReidentifyContentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getReidentifyContentMethod() { - io.grpc.MethodDescriptor getReidentifyContentMethod; - if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getReidentifyContentMethod = DlpServiceGrpc.getReidentifyContentMethod) == null) { - DlpServiceGrpc.getReidentifyContentMethod = getReidentifyContentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReidentifyContent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ReidentifyContentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ReidentifyContentResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ReidentifyContent")) - .build(); - } - } - } - return getReidentifyContentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInfoTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInfoTypes", - requestType = com.google.privacy.dlp.v2.ListInfoTypesRequest.class, - responseType = com.google.privacy.dlp.v2.ListInfoTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInfoTypesMethod() { - io.grpc.MethodDescriptor getListInfoTypesMethod; - if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListInfoTypesMethod = DlpServiceGrpc.getListInfoTypesMethod) == null) { - DlpServiceGrpc.getListInfoTypesMethod = getListInfoTypesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInfoTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInfoTypesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListInfoTypes")) - .build(); - } - } - } - return getListInfoTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInspectTemplate", - requestType = com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.InspectTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInspectTemplateMethod() { - io.grpc.MethodDescriptor getCreateInspectTemplateMethod; - if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateInspectTemplateMethod = DlpServiceGrpc.getCreateInspectTemplateMethod) == null) { - DlpServiceGrpc.getCreateInspectTemplateMethod = getCreateInspectTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateInspectTemplate")) - .build(); - } - } - } - return getCreateInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInspectTemplate", - requestType = com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.InspectTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateInspectTemplateMethod() { - io.grpc.MethodDescriptor getUpdateInspectTemplateMethod; - if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateInspectTemplateMethod = DlpServiceGrpc.getUpdateInspectTemplateMethod) == null) { - DlpServiceGrpc.getUpdateInspectTemplateMethod = getUpdateInspectTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateInspectTemplate")) - .build(); - } - } - } - return getUpdateInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInspectTemplate", - requestType = com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.InspectTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInspectTemplateMethod() { - io.grpc.MethodDescriptor getGetInspectTemplateMethod; - if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetInspectTemplateMethod = DlpServiceGrpc.getGetInspectTemplateMethod) == null) { - DlpServiceGrpc.getGetInspectTemplateMethod = getGetInspectTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetInspectTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetInspectTemplate")) - .build(); - } - } - } - return getGetInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInspectTemplatesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInspectTemplates", - requestType = com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, - responseType = com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInspectTemplatesMethod() { - io.grpc.MethodDescriptor getListInspectTemplatesMethod; - if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListInspectTemplatesMethod = DlpServiceGrpc.getListInspectTemplatesMethod) == null) { - DlpServiceGrpc.getListInspectTemplatesMethod = getListInspectTemplatesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInspectTemplates")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListInspectTemplates")) - .build(); - } - } - } - return getListInspectTemplatesMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInspectTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInspectTemplate", - requestType = com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInspectTemplateMethod() { - io.grpc.MethodDescriptor getDeleteInspectTemplateMethod; - if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteInspectTemplateMethod = DlpServiceGrpc.getDeleteInspectTemplateMethod) == null) { - DlpServiceGrpc.getDeleteInspectTemplateMethod = getDeleteInspectTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInspectTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteInspectTemplate")) - .build(); - } - } - } - return getDeleteInspectTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor getCreateDeidentifyTemplateMethod; - if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateDeidentifyTemplateMethod = DlpServiceGrpc.getCreateDeidentifyTemplateMethod) == null) { - DlpServiceGrpc.getCreateDeidentifyTemplateMethod = getCreateDeidentifyTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateDeidentifyTemplate")) - .build(); - } - } - } - return getCreateDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor getUpdateDeidentifyTemplateMethod; - if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateDeidentifyTemplateMethod = DlpServiceGrpc.getUpdateDeidentifyTemplateMethod) == null) { - DlpServiceGrpc.getUpdateDeidentifyTemplateMethod = getUpdateDeidentifyTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateDeidentifyTemplate")) - .build(); - } - } - } - return getUpdateDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, - responseType = com.google.privacy.dlp.v2.DeidentifyTemplate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor getGetDeidentifyTemplateMethod; - if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetDeidentifyTemplateMethod = DlpServiceGrpc.getGetDeidentifyTemplateMethod) == null) { - DlpServiceGrpc.getGetDeidentifyTemplateMethod = getGetDeidentifyTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetDeidentifyTemplate")) - .build(); - } - } - } - return getGetDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDeidentifyTemplatesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDeidentifyTemplates", - requestType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, - responseType = com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDeidentifyTemplatesMethod() { - io.grpc.MethodDescriptor getListDeidentifyTemplatesMethod; - if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListDeidentifyTemplatesMethod = DlpServiceGrpc.getListDeidentifyTemplatesMethod) == null) { - DlpServiceGrpc.getListDeidentifyTemplatesMethod = getListDeidentifyTemplatesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeidentifyTemplates")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListDeidentifyTemplates")) - .build(); - } - } - } - return getListDeidentifyTemplatesMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDeidentifyTemplateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDeidentifyTemplate", - requestType = com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDeidentifyTemplateMethod() { - io.grpc.MethodDescriptor getDeleteDeidentifyTemplateMethod; - if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteDeidentifyTemplateMethod = DlpServiceGrpc.getDeleteDeidentifyTemplateMethod) == null) { - DlpServiceGrpc.getDeleteDeidentifyTemplateMethod = getDeleteDeidentifyTemplateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeidentifyTemplate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteDeidentifyTemplate")) - .build(); - } - } - } - return getDeleteDeidentifyTemplateMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJobTrigger", - requestType = com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.JobTrigger.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateJobTriggerMethod() { - io.grpc.MethodDescriptor getCreateJobTriggerMethod; - if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateJobTriggerMethod = DlpServiceGrpc.getCreateJobTriggerMethod) == null) { - DlpServiceGrpc.getCreateJobTriggerMethod = getCreateJobTriggerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateJobTrigger")) - .build(); - } - } - } - return getCreateJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJobTrigger", - requestType = com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.JobTrigger.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateJobTriggerMethod() { - io.grpc.MethodDescriptor getUpdateJobTriggerMethod; - if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateJobTriggerMethod = DlpServiceGrpc.getUpdateJobTriggerMethod) == null) { - DlpServiceGrpc.getUpdateJobTriggerMethod = getUpdateJobTriggerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateJobTrigger")) - .build(); - } - } - } - return getUpdateJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor getHybridInspectJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "HybridInspectJobTrigger", - requestType = com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getHybridInspectJobTriggerMethod() { - io.grpc.MethodDescriptor getHybridInspectJobTriggerMethod; - if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getHybridInspectJobTriggerMethod = DlpServiceGrpc.getHybridInspectJobTriggerMethod) == null) { - DlpServiceGrpc.getHybridInspectJobTriggerMethod = getHybridInspectJobTriggerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "HybridInspectJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("HybridInspectJobTrigger")) - .build(); - } - } - } - return getHybridInspectJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJobTrigger", - requestType = com.google.privacy.dlp.v2.GetJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.JobTrigger.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobTriggerMethod() { - io.grpc.MethodDescriptor getGetJobTriggerMethod; - if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetJobTriggerMethod = DlpServiceGrpc.getGetJobTriggerMethod) == null) { - DlpServiceGrpc.getGetJobTriggerMethod = getGetJobTriggerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetJobTrigger")) - .build(); - } - } - } - return getGetJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor getListJobTriggersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobTriggers", - requestType = com.google.privacy.dlp.v2.ListJobTriggersRequest.class, - responseType = com.google.privacy.dlp.v2.ListJobTriggersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobTriggersMethod() { - io.grpc.MethodDescriptor getListJobTriggersMethod; - if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListJobTriggersMethod = DlpServiceGrpc.getListJobTriggersMethod) == null) { - DlpServiceGrpc.getListJobTriggersMethod = getListJobTriggersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobTriggers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListJobTriggersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListJobTriggersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListJobTriggers")) - .build(); - } - } - } - return getListJobTriggersMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJobTrigger", - requestType = com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteJobTriggerMethod() { - io.grpc.MethodDescriptor getDeleteJobTriggerMethod; - if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteJobTriggerMethod = DlpServiceGrpc.getDeleteJobTriggerMethod) == null) { - DlpServiceGrpc.getDeleteJobTriggerMethod = getDeleteJobTriggerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteJobTrigger")) - .build(); - } - } - } - return getDeleteJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor getActivateJobTriggerMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ActivateJobTrigger", - requestType = com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, - responseType = com.google.privacy.dlp.v2.DlpJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getActivateJobTriggerMethod() { - io.grpc.MethodDescriptor getActivateJobTriggerMethod; - if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { - DlpServiceGrpc.getActivateJobTriggerMethod = getActivateJobTriggerMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ActivateJobTrigger")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ActivateJobTrigger")) - .build(); - } - } - } - return getActivateJobTriggerMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDlpJob", - requestType = com.google.privacy.dlp.v2.CreateDlpJobRequest.class, - responseType = com.google.privacy.dlp.v2.DlpJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDlpJobMethod() { - io.grpc.MethodDescriptor getCreateDlpJobMethod; - if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateDlpJobMethod = DlpServiceGrpc.getCreateDlpJobMethod) == null) { - DlpServiceGrpc.getCreateDlpJobMethod = getCreateDlpJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateDlpJob")) - .build(); - } - } - } - return getCreateDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDlpJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDlpJobs", - requestType = com.google.privacy.dlp.v2.ListDlpJobsRequest.class, - responseType = com.google.privacy.dlp.v2.ListDlpJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDlpJobsMethod() { - io.grpc.MethodDescriptor getListDlpJobsMethod; - if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListDlpJobsMethod = DlpServiceGrpc.getListDlpJobsMethod) == null) { - DlpServiceGrpc.getListDlpJobsMethod = getListDlpJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDlpJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDlpJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListDlpJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListDlpJobs")) - .build(); - } - } - } - return getListDlpJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDlpJob", - requestType = com.google.privacy.dlp.v2.GetDlpJobRequest.class, - responseType = com.google.privacy.dlp.v2.DlpJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDlpJobMethod() { - io.grpc.MethodDescriptor getGetDlpJobMethod; - if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetDlpJobMethod = DlpServiceGrpc.getGetDlpJobMethod) == null) { - DlpServiceGrpc.getGetDlpJobMethod = getGetDlpJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetDlpJob")) - .build(); - } - } - } - return getGetDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDlpJob", - requestType = com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDlpJobMethod() { - io.grpc.MethodDescriptor getDeleteDlpJobMethod; - if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteDlpJobMethod = DlpServiceGrpc.getDeleteDlpJobMethod) == null) { - DlpServiceGrpc.getDeleteDlpJobMethod = getDeleteDlpJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteDlpJob")) - .build(); - } - } - } - return getDeleteDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelDlpJob", - requestType = com.google.privacy.dlp.v2.CancelDlpJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelDlpJobMethod() { - io.grpc.MethodDescriptor getCancelDlpJobMethod; - if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCancelDlpJobMethod = DlpServiceGrpc.getCancelDlpJobMethod) == null) { - DlpServiceGrpc.getCancelDlpJobMethod = getCancelDlpJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CancelDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CancelDlpJob")) - .build(); - } - } - } - return getCancelDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateStoredInfoType", - requestType = com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, - responseType = com.google.privacy.dlp.v2.StoredInfoType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateStoredInfoTypeMethod() { - io.grpc.MethodDescriptor getCreateStoredInfoTypeMethod; - if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getCreateStoredInfoTypeMethod = DlpServiceGrpc.getCreateStoredInfoTypeMethod) == null) { - DlpServiceGrpc.getCreateStoredInfoTypeMethod = getCreateStoredInfoTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("CreateStoredInfoType")) - .build(); - } - } - } - return getCreateStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateStoredInfoType", - requestType = com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, - responseType = com.google.privacy.dlp.v2.StoredInfoType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateStoredInfoTypeMethod() { - io.grpc.MethodDescriptor getUpdateStoredInfoTypeMethod; - if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getUpdateStoredInfoTypeMethod = DlpServiceGrpc.getUpdateStoredInfoTypeMethod) == null) { - DlpServiceGrpc.getUpdateStoredInfoTypeMethod = getUpdateStoredInfoTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("UpdateStoredInfoType")) - .build(); - } - } - } - return getUpdateStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetStoredInfoType", - requestType = com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, - responseType = com.google.privacy.dlp.v2.StoredInfoType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetStoredInfoTypeMethod() { - io.grpc.MethodDescriptor getGetStoredInfoTypeMethod; - if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getGetStoredInfoTypeMethod = DlpServiceGrpc.getGetStoredInfoTypeMethod) == null) { - DlpServiceGrpc.getGetStoredInfoTypeMethod = getGetStoredInfoTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("GetStoredInfoType")) - .build(); - } - } - } - return getGetStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getListStoredInfoTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListStoredInfoTypes", - requestType = com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, - responseType = com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListStoredInfoTypesMethod() { - io.grpc.MethodDescriptor getListStoredInfoTypesMethod; - if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getListStoredInfoTypesMethod = DlpServiceGrpc.getListStoredInfoTypesMethod) == null) { - DlpServiceGrpc.getListStoredInfoTypesMethod = getListStoredInfoTypesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStoredInfoTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("ListStoredInfoTypes")) - .build(); - } - } - } - return getListStoredInfoTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteStoredInfoTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteStoredInfoType", - requestType = com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteStoredInfoTypeMethod() { - io.grpc.MethodDescriptor getDeleteStoredInfoTypeMethod; - if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getDeleteStoredInfoTypeMethod = DlpServiceGrpc.getDeleteStoredInfoTypeMethod) == null) { - DlpServiceGrpc.getDeleteStoredInfoTypeMethod = getDeleteStoredInfoTypeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStoredInfoType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("DeleteStoredInfoType")) - .build(); - } - } - } - return getDeleteStoredInfoTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor getHybridInspectDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "HybridInspectDlpJob", - requestType = com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, - responseType = com.google.privacy.dlp.v2.HybridInspectResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getHybridInspectDlpJobMethod() { - io.grpc.MethodDescriptor getHybridInspectDlpJobMethod; - if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getHybridInspectDlpJobMethod = DlpServiceGrpc.getHybridInspectDlpJobMethod) == null) { - DlpServiceGrpc.getHybridInspectDlpJobMethod = getHybridInspectDlpJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "HybridInspectDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("HybridInspectDlpJob")) - .build(); - } - } - } - return getHybridInspectDlpJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getFinishDlpJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FinishDlpJob", - requestType = com.google.privacy.dlp.v2.FinishDlpJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFinishDlpJobMethod() { - io.grpc.MethodDescriptor getFinishDlpJobMethod; - if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { - synchronized (DlpServiceGrpc.class) { - if ((getFinishDlpJobMethod = DlpServiceGrpc.getFinishDlpJobMethod) == null) { - DlpServiceGrpc.getFinishDlpJobMethod = getFinishDlpJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinishDlpJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.privacy.dlp.v2.FinishDlpJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DlpServiceMethodDescriptorSupplier("FinishDlpJob")) - .build(); - } - } - } - return getFinishDlpJobMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DlpServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DlpServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceStub(channel, callOptions); - } - }; - return DlpServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DlpServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DlpServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceBlockingStub(channel, callOptions); - } - }; - return DlpServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DlpServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DlpServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceFutureStub(channel, callOptions); - } - }; - return DlpServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static abstract class DlpServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public void inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInspectContentMethod(), responseObserver); - } - - /** - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void redactImage(com.google.privacy.dlp.v2.RedactImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRedactImageMethod(), responseObserver); - } - - /** - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeidentifyContentMethod(), responseObserver); - } - - /** - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public void reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReidentifyContentMethod(), responseObserver); - } - - /** - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public void listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInfoTypesMethod(), responseObserver); - } - - /** - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInspectTemplateMethod(), responseObserver); - } - - /** - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInspectTemplateMethod(), responseObserver); - } - - /** - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInspectTemplateMethod(), responseObserver); - } - - /** - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInspectTemplatesMethod(), responseObserver); - } - - /** - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInspectTemplateMethod(), responseObserver); - } - - /** - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void createDeidentifyTemplate(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeidentifyTemplateMethod(), responseObserver); - } - - /** - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void updateDeidentifyTemplate(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDeidentifyTemplateMethod(), responseObserver); - } - - /** - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeidentifyTemplateMethod(), responseObserver); - } - - /** - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeidentifyTemplatesMethod(), responseObserver); - } - - /** - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void deleteDeidentifyTemplate(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeidentifyTemplateMethod(), responseObserver); - } - - /** - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobTriggerMethod(), responseObserver); - } - - /** - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobTriggerMethod(), responseObserver); - } - - /** - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public void hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHybridInspectJobTriggerMethod(), responseObserver); - } - - /** - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobTriggerMethod(), responseObserver); - } - - /** - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobTriggersMethod(), responseObserver); - } - - /** - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobTriggerMethod(), responseObserver); - } - - /** - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public void activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getActivateJobTriggerMethod(), responseObserver); - } - - /** - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDlpJobMethod(), responseObserver); - } - - /** - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDlpJobsMethod(), responseObserver); - } - - /** - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDlpJobMethod(), responseObserver); - } - - /** - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDlpJobMethod(), responseObserver); - } - - /** - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDlpJobMethod(), responseObserver); - } - - /** - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateStoredInfoTypeMethod(), responseObserver); - } - - /** - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateStoredInfoTypeMethod(), responseObserver); - } - - /** - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStoredInfoTypeMethod(), responseObserver); - } - - /** - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListStoredInfoTypesMethod(), responseObserver); - } - - /** - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStoredInfoTypeMethod(), responseObserver); - } - - /** - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public void hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHybridInspectDlpJobMethod(), responseObserver); - } - - /** - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public void finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinishDlpJobMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getInspectContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.InspectContentRequest, - com.google.privacy.dlp.v2.InspectContentResponse>( - this, METHODID_INSPECT_CONTENT))) - .addMethod( - getRedactImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.RedactImageRequest, - com.google.privacy.dlp.v2.RedactImageResponse>( - this, METHODID_REDACT_IMAGE))) - .addMethod( - getDeidentifyContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeidentifyContentRequest, - com.google.privacy.dlp.v2.DeidentifyContentResponse>( - this, METHODID_DEIDENTIFY_CONTENT))) - .addMethod( - getReidentifyContentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ReidentifyContentRequest, - com.google.privacy.dlp.v2.ReidentifyContentResponse>( - this, METHODID_REIDENTIFY_CONTENT))) - .addMethod( - getListInfoTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListInfoTypesRequest, - com.google.privacy.dlp.v2.ListInfoTypesResponse>( - this, METHODID_LIST_INFO_TYPES))) - .addMethod( - getCreateInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate>( - this, METHODID_CREATE_INSPECT_TEMPLATE))) - .addMethod( - getUpdateInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate>( - this, METHODID_UPDATE_INSPECT_TEMPLATE))) - .addMethod( - getGetInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetInspectTemplateRequest, - com.google.privacy.dlp.v2.InspectTemplate>( - this, METHODID_GET_INSPECT_TEMPLATE))) - .addMethod( - getListInspectTemplatesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListInspectTemplatesRequest, - com.google.privacy.dlp.v2.ListInspectTemplatesResponse>( - this, METHODID_LIST_INSPECT_TEMPLATES))) - .addMethod( - getDeleteInspectTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_INSPECT_TEMPLATE))) - .addMethod( - getCreateDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate>( - this, METHODID_CREATE_DEIDENTIFY_TEMPLATE))) - .addMethod( - getUpdateDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate>( - this, METHODID_UPDATE_DEIDENTIFY_TEMPLATE))) - .addMethod( - getGetDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, - com.google.privacy.dlp.v2.DeidentifyTemplate>( - this, METHODID_GET_DEIDENTIFY_TEMPLATE))) - .addMethod( - getListDeidentifyTemplatesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>( - this, METHODID_LIST_DEIDENTIFY_TEMPLATES))) - .addMethod( - getDeleteDeidentifyTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DEIDENTIFY_TEMPLATE))) - .addMethod( - getCreateJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateJobTriggerRequest, - com.google.privacy.dlp.v2.JobTrigger>( - this, METHODID_CREATE_JOB_TRIGGER))) - .addMethod( - getUpdateJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateJobTriggerRequest, - com.google.privacy.dlp.v2.JobTrigger>( - this, METHODID_UPDATE_JOB_TRIGGER))) - .addMethod( - getHybridInspectJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, - com.google.privacy.dlp.v2.HybridInspectResponse>( - this, METHODID_HYBRID_INSPECT_JOB_TRIGGER))) - .addMethod( - getGetJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetJobTriggerRequest, - com.google.privacy.dlp.v2.JobTrigger>( - this, METHODID_GET_JOB_TRIGGER))) - .addMethod( - getListJobTriggersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListJobTriggersRequest, - com.google.privacy.dlp.v2.ListJobTriggersResponse>( - this, METHODID_LIST_JOB_TRIGGERS))) - .addMethod( - getDeleteJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteJobTriggerRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB_TRIGGER))) - .addMethod( - getActivateJobTriggerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ActivateJobTriggerRequest, - com.google.privacy.dlp.v2.DlpJob>( - this, METHODID_ACTIVATE_JOB_TRIGGER))) - .addMethod( - getCreateDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateDlpJobRequest, - com.google.privacy.dlp.v2.DlpJob>( - this, METHODID_CREATE_DLP_JOB))) - .addMethod( - getListDlpJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListDlpJobsRequest, - com.google.privacy.dlp.v2.ListDlpJobsResponse>( - this, METHODID_LIST_DLP_JOBS))) - .addMethod( - getGetDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetDlpJobRequest, - com.google.privacy.dlp.v2.DlpJob>( - this, METHODID_GET_DLP_JOB))) - .addMethod( - getDeleteDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteDlpJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DLP_JOB))) - .addMethod( - getCancelDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CancelDlpJobRequest, - com.google.protobuf.Empty>( - this, METHODID_CANCEL_DLP_JOB))) - .addMethod( - getCreateStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType>( - this, METHODID_CREATE_STORED_INFO_TYPE))) - .addMethod( - getUpdateStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType>( - this, METHODID_UPDATE_STORED_INFO_TYPE))) - .addMethod( - getGetStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest, - com.google.privacy.dlp.v2.StoredInfoType>( - this, METHODID_GET_STORED_INFO_TYPE))) - .addMethod( - getListStoredInfoTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest, - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse>( - this, METHODID_LIST_STORED_INFO_TYPES))) - .addMethod( - getDeleteStoredInfoTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_STORED_INFO_TYPE))) - .addMethod( - getHybridInspectDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest, - com.google.privacy.dlp.v2.HybridInspectResponse>( - this, METHODID_HYBRID_INSPECT_DLP_JOB))) - .addMethod( - getFinishDlpJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.privacy.dlp.v2.FinishDlpJobRequest, - com.google.protobuf.Empty>( - this, METHODID_FINISH_DLP_JOB))) - .build(); - } - } - - /** - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static final class DlpServiceStub extends io.grpc.stub.AbstractAsyncStub { - private DlpServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DlpServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceStub(channel, callOptions); - } - - /** - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public void inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInspectContentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void redactImage(com.google.privacy.dlp.v2.RedactImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRedactImageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public void reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public void listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public void deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void createDeidentifyTemplate(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void updateDeidentifyTemplate(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public void deleteDeidentifyTemplate(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public void hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public void deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public void activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public void createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public void cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public void deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public void hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public void finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static final class DlpServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DlpServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DlpServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public com.google.privacy.dlp.v2.InspectContentResponse inspectContent(com.google.privacy.dlp.v2.InspectContentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInspectContentMethod(), getCallOptions(), request); - } - - /** - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.privacy.dlp.v2.RedactImageResponse redactImage(com.google.privacy.dlp.v2.RedactImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRedactImageMethod(), getCallOptions(), request); - } - - /** - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyContentResponse deidentifyContent(com.google.privacy.dlp.v2.DeidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeidentifyContentMethod(), getCallOptions(), request); - } - - /** - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ReidentifyContentResponse reidentifyContent(com.google.privacy.dlp.v2.ReidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReidentifyContentMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListInfoTypesResponse listInfoTypes(com.google.privacy.dlp.v2.ListInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInfoTypesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.InspectTemplate createInspectTemplate(com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInspectTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.InspectTemplate updateInspectTemplate(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInspectTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate(com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInspectTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListInspectTemplatesResponse listInspectTemplates(com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInspectTemplatesMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteInspectTemplate(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInspectTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyTemplate createDeidentifyTemplate(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyTemplate updateDeidentifyTemplate(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse listDeidentifyTemplates(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDeidentifyTemplatesMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.protobuf.Empty deleteDeidentifyTemplate(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDeidentifyTemplateMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.JobTrigger createJobTrigger(com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobTriggerMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.JobTrigger updateJobTrigger(com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobTriggerMethod(), getCallOptions(), request); - } - - /** - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectJobTrigger(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getHybridInspectJobTriggerMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.JobTrigger getJobTrigger(com.google.privacy.dlp.v2.GetJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobTriggerMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListJobTriggersResponse listJobTriggers(com.google.privacy.dlp.v2.ListJobTriggersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobTriggersMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteJobTrigger(com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobTriggerMethod(), getCallOptions(), request); - } - - /** - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public com.google.privacy.dlp.v2.DlpJob activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getActivateJobTriggerMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.privacy.dlp.v2.DlpJob createDlpJob(com.google.privacy.dlp.v2.CreateDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDlpJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListDlpJobsResponse listDlpJobs(com.google.privacy.dlp.v2.ListDlpJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDlpJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.DlpJob getDlpJob(com.google.privacy.dlp.v2.GetDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDlpJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteDlpJob(com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDlpJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.protobuf.Empty cancelDlpJob(com.google.privacy.dlp.v2.CancelDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelDlpJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.StoredInfoType createStoredInfoType(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.StoredInfoType updateStoredInfoType(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoType(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse listStoredInfoTypes(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListStoredInfoTypesMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.protobuf.Empty deleteStoredInfoType(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteStoredInfoTypeMethod(), getCallOptions(), request); - } - - /** - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getHybridInspectDlpJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public com.google.protobuf.Empty finishDlpJob(com.google.privacy.dlp.v2.FinishDlpJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFinishDlpJobMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Cloud Data Loss Prevention (DLP) API is a service that allows clients
-   * to detect the presence of Personally Identifiable Information (PII) and other
-   * privacy-sensitive data in user-supplied, unstructured data streams, like text
-   * blocks or images.
-   * The service also includes methods for sensitive data redaction and
-   * scheduling of data scans on Google Cloud Platform based data sets.
-   * To learn more about concepts and find how-to guides see
-   * https://cloud.google.com/dlp/docs/.
-   * 
- */ - public static final class DlpServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private DlpServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DlpServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DlpServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Finds potentially sensitive info in content.
-     * This method has limits on input size, processing time, and output size.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
-     * and https://cloud.google.com/dlp/docs/inspecting-text,
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture inspectContent( - com.google.privacy.dlp.v2.InspectContentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInspectContentMethod(), getCallOptions()), request); - } - - /** - *
-     * Redacts potentially sensitive info from an image.
-     * This method has limits on input size, processing time, and output size.
-     * See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture redactImage( - com.google.privacy.dlp.v2.RedactImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRedactImageMethod(), getCallOptions()), request); - } - - /** - *
-     * De-identifies potentially sensitive info from a ContentItem.
-     * This method has limits on input size and output size.
-     * See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
-     * learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in this request, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deidentifyContent( - com.google.privacy.dlp.v2.DeidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeidentifyContentMethod(), getCallOptions()), request); - } - - /** - *
-     * Re-identifies content that has been de-identified.
-     * See
-     * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
-     * to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture reidentifyContent( - com.google.privacy.dlp.v2.ReidentifyContentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReidentifyContentMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a list of the sensitive information types that the DLP API
-     * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInfoTypes( - com.google.privacy.dlp.v2.ListInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInfoTypesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an InspectTemplate for re-using frequently used configuration
-     * for inspecting content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInspectTemplate( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInspectTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInspectTemplate( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInspectTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInspectTemplate( - com.google.privacy.dlp.v2.GetInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInspectTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists InspectTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInspectTemplates( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInspectTemplatesMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an InspectTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInspectTemplate( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInspectTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a DeidentifyTemplate for re-using frequently used configuration
-     * for de-identifying content, images, and storage.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDeidentifyTemplate( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDeidentifyTemplate( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDeidentifyTemplate( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DeidentifyTemplates.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDeidentifyTemplates( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDeidentifyTemplatesMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a DeidentifyTemplate.
-     * See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
-     * more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDeidentifyTemplate( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDeidentifyTemplateMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a job trigger to run DLP actions such as scanning storage for
-     * sensitive information on a set schedule.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createJobTrigger( - com.google.privacy.dlp.v2.CreateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobTriggerMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateJobTrigger( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobTriggerMethod(), getCallOptions()), request); - } - - /** - *
-     * Inspect hybrid content and store findings to a trigger. The inspection
-     * will be processed asynchronously. To review the findings monitor the
-     * jobs within the trigger.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture hybridInspectJobTrigger( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getHybridInspectJobTriggerMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJobTrigger( - com.google.privacy.dlp.v2.GetJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobTriggerMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists job triggers.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listJobTriggers( - com.google.privacy.dlp.v2.ListJobTriggersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobTriggersMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a job trigger.
-     * See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteJobTrigger( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobTriggerMethod(), getCallOptions()), request); - } - - /** - *
-     * Activate a job trigger. Causes the immediate execute of a trigger
-     * instead of waiting on the trigger event to occur.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture activateJobTrigger( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getActivateJobTriggerMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new job to inspect storage or calculate risk metrics.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
-     * system will automatically choose what detectors to run. By default this may
-     * be all types, but may change over time as detectors are updated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDlpJob( - com.google.privacy.dlp.v2.CreateDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDlpJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DlpJobs that match the specified filter in the request.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDlpJobs( - com.google.privacy.dlp.v2.ListDlpJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDlpJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the latest state of a long-running DlpJob.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDlpJob( - com.google.privacy.dlp.v2.GetDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDlpJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a long-running DlpJob. This method indicates that the client is
-     * no longer interested in the DlpJob result. The job will be cancelled if
-     * possible.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDlpJob( - com.google.privacy.dlp.v2.DeleteDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDlpJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts asynchronous cancellation on a long-running DlpJob. The server
-     * makes a best effort to cancel the DlpJob, but success is not
-     * guaranteed.
-     * See https://cloud.google.com/dlp/docs/inspecting-storage and
-     * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelDlpJob( - com.google.privacy.dlp.v2.CancelDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelDlpJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a pre-built stored infoType to be used for inspection.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createStoredInfoType( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the stored infoType by creating a new version. The existing version
-     * will continue to be used until the new version is ready.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateStoredInfoType( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getStoredInfoType( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists stored infoTypes.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listStoredInfoTypes( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListStoredInfoTypesMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a stored infoType.
-     * See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
-     * learn more.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteStoredInfoType( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteStoredInfoTypeMethod(), getCallOptions()), request); - } - - /** - *
-     * Inspect hybrid content and store findings to a job.
-     * To review the findings, inspect the job. Inspection will occur
-     * asynchronously.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture hybridInspectDlpJob( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getHybridInspectDlpJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Finish a running hybrid DlpJob. Triggers the finalization steps and running
-     * of any enabled actions that have not yet run.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture finishDlpJob( - com.google.privacy.dlp.v2.FinishDlpJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFinishDlpJobMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_INSPECT_CONTENT = 0; - private static final int METHODID_REDACT_IMAGE = 1; - private static final int METHODID_DEIDENTIFY_CONTENT = 2; - private static final int METHODID_REIDENTIFY_CONTENT = 3; - private static final int METHODID_LIST_INFO_TYPES = 4; - private static final int METHODID_CREATE_INSPECT_TEMPLATE = 5; - private static final int METHODID_UPDATE_INSPECT_TEMPLATE = 6; - private static final int METHODID_GET_INSPECT_TEMPLATE = 7; - private static final int METHODID_LIST_INSPECT_TEMPLATES = 8; - private static final int METHODID_DELETE_INSPECT_TEMPLATE = 9; - private static final int METHODID_CREATE_DEIDENTIFY_TEMPLATE = 10; - private static final int METHODID_UPDATE_DEIDENTIFY_TEMPLATE = 11; - private static final int METHODID_GET_DEIDENTIFY_TEMPLATE = 12; - private static final int METHODID_LIST_DEIDENTIFY_TEMPLATES = 13; - private static final int METHODID_DELETE_DEIDENTIFY_TEMPLATE = 14; - private static final int METHODID_CREATE_JOB_TRIGGER = 15; - private static final int METHODID_UPDATE_JOB_TRIGGER = 16; - private static final int METHODID_HYBRID_INSPECT_JOB_TRIGGER = 17; - private static final int METHODID_GET_JOB_TRIGGER = 18; - private static final int METHODID_LIST_JOB_TRIGGERS = 19; - private static final int METHODID_DELETE_JOB_TRIGGER = 20; - private static final int METHODID_ACTIVATE_JOB_TRIGGER = 21; - private static final int METHODID_CREATE_DLP_JOB = 22; - private static final int METHODID_LIST_DLP_JOBS = 23; - private static final int METHODID_GET_DLP_JOB = 24; - private static final int METHODID_DELETE_DLP_JOB = 25; - private static final int METHODID_CANCEL_DLP_JOB = 26; - private static final int METHODID_CREATE_STORED_INFO_TYPE = 27; - private static final int METHODID_UPDATE_STORED_INFO_TYPE = 28; - private static final int METHODID_GET_STORED_INFO_TYPE = 29; - private static final int METHODID_LIST_STORED_INFO_TYPES = 30; - private static final int METHODID_DELETE_STORED_INFO_TYPE = 31; - private static final int METHODID_HYBRID_INSPECT_DLP_JOB = 32; - private static final int METHODID_FINISH_DLP_JOB = 33; - - 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 DlpServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DlpServiceImplBase 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_INSPECT_CONTENT: - serviceImpl.inspectContent((com.google.privacy.dlp.v2.InspectContentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REDACT_IMAGE: - serviceImpl.redactImage((com.google.privacy.dlp.v2.RedactImageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DEIDENTIFY_CONTENT: - serviceImpl.deidentifyContent((com.google.privacy.dlp.v2.DeidentifyContentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REIDENTIFY_CONTENT: - serviceImpl.reidentifyContent((com.google.privacy.dlp.v2.ReidentifyContentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INFO_TYPES: - serviceImpl.listInfoTypes((com.google.privacy.dlp.v2.ListInfoTypesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSPECT_TEMPLATE: - serviceImpl.createInspectTemplate((com.google.privacy.dlp.v2.CreateInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSPECT_TEMPLATE: - serviceImpl.updateInspectTemplate((com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSPECT_TEMPLATE: - serviceImpl.getInspectTemplate((com.google.privacy.dlp.v2.GetInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSPECT_TEMPLATES: - serviceImpl.listInspectTemplates((com.google.privacy.dlp.v2.ListInspectTemplatesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSPECT_TEMPLATE: - serviceImpl.deleteInspectTemplate((com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DEIDENTIFY_TEMPLATE: - serviceImpl.createDeidentifyTemplate((com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DEIDENTIFY_TEMPLATE: - serviceImpl.updateDeidentifyTemplate((com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DEIDENTIFY_TEMPLATE: - serviceImpl.getDeidentifyTemplate((com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DEIDENTIFY_TEMPLATES: - serviceImpl.listDeidentifyTemplates((com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DEIDENTIFY_TEMPLATE: - serviceImpl.deleteDeidentifyTemplate((com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_JOB_TRIGGER: - serviceImpl.createJobTrigger((com.google.privacy.dlp.v2.CreateJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_JOB_TRIGGER: - serviceImpl.updateJobTrigger((com.google.privacy.dlp.v2.UpdateJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_HYBRID_INSPECT_JOB_TRIGGER: - serviceImpl.hybridInspectJobTrigger((com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB_TRIGGER: - serviceImpl.getJobTrigger((com.google.privacy.dlp.v2.GetJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOB_TRIGGERS: - serviceImpl.listJobTriggers((com.google.privacy.dlp.v2.ListJobTriggersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_JOB_TRIGGER: - serviceImpl.deleteJobTrigger((com.google.privacy.dlp.v2.DeleteJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ACTIVATE_JOB_TRIGGER: - serviceImpl.activateJobTrigger((com.google.privacy.dlp.v2.ActivateJobTriggerRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DLP_JOB: - serviceImpl.createDlpJob((com.google.privacy.dlp.v2.CreateDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DLP_JOBS: - serviceImpl.listDlpJobs((com.google.privacy.dlp.v2.ListDlpJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DLP_JOB: - serviceImpl.getDlpJob((com.google.privacy.dlp.v2.GetDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DLP_JOB: - serviceImpl.deleteDlpJob((com.google.privacy.dlp.v2.DeleteDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_DLP_JOB: - serviceImpl.cancelDlpJob((com.google.privacy.dlp.v2.CancelDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_STORED_INFO_TYPE: - serviceImpl.createStoredInfoType((com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_STORED_INFO_TYPE: - serviceImpl.updateStoredInfoType((com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_STORED_INFO_TYPE: - serviceImpl.getStoredInfoType((com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_STORED_INFO_TYPES: - serviceImpl.listStoredInfoTypes((com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_STORED_INFO_TYPE: - serviceImpl.deleteStoredInfoType((com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_HYBRID_INSPECT_DLP_JOB: - serviceImpl.hybridInspectDlpJob((com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FINISH_DLP_JOB: - serviceImpl.finishDlpJob((com.google.privacy.dlp.v2.FinishDlpJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class DlpServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DlpServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DlpService"); - } - } - - private static final class DlpServiceFileDescriptorSupplier - extends DlpServiceBaseDescriptorSupplier { - DlpServiceFileDescriptorSupplier() {} - } - - private static final class DlpServiceMethodDescriptorSupplier - extends DlpServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DlpServiceMethodDescriptorSupplier(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 (DlpServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DlpServiceFileDescriptorSupplier()) - .addMethod(getInspectContentMethod()) - .addMethod(getRedactImageMethod()) - .addMethod(getDeidentifyContentMethod()) - .addMethod(getReidentifyContentMethod()) - .addMethod(getListInfoTypesMethod()) - .addMethod(getCreateInspectTemplateMethod()) - .addMethod(getUpdateInspectTemplateMethod()) - .addMethod(getGetInspectTemplateMethod()) - .addMethod(getListInspectTemplatesMethod()) - .addMethod(getDeleteInspectTemplateMethod()) - .addMethod(getCreateDeidentifyTemplateMethod()) - .addMethod(getUpdateDeidentifyTemplateMethod()) - .addMethod(getGetDeidentifyTemplateMethod()) - .addMethod(getListDeidentifyTemplatesMethod()) - .addMethod(getDeleteDeidentifyTemplateMethod()) - .addMethod(getCreateJobTriggerMethod()) - .addMethod(getUpdateJobTriggerMethod()) - .addMethod(getHybridInspectJobTriggerMethod()) - .addMethod(getGetJobTriggerMethod()) - .addMethod(getListJobTriggersMethod()) - .addMethod(getDeleteJobTriggerMethod()) - .addMethod(getActivateJobTriggerMethod()) - .addMethod(getCreateDlpJobMethod()) - .addMethod(getListDlpJobsMethod()) - .addMethod(getGetDlpJobMethod()) - .addMethod(getDeleteDlpJobMethod()) - .addMethod(getCancelDlpJobMethod()) - .addMethod(getCreateStoredInfoTypeMethod()) - .addMethod(getUpdateStoredInfoTypeMethod()) - .addMethod(getGetStoredInfoTypeMethod()) - .addMethod(getListStoredInfoTypesMethod()) - .addMethod(getDeleteStoredInfoTypeMethod()) - .addMethod(getHybridInspectDlpJobMethod()) - .addMethod(getFinishDlpJobMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java deleted file mode 100644 index 0b4eeaa4..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface ActivateJobTriggerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ActivateJobTriggerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the trigger to activate, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the trigger to activate, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java deleted file mode 100644 index 79d40840..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface CancelDlpJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CancelDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java deleted file mode 100644 index 1b8be445..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteDeidentifyTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the organization and deidentify template to be deleted,
-   * for example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the organization and deidentify template to be deleted,
-   * for example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java deleted file mode 100644 index 655cc3ba..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteDlpJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DlpJob resource to be deleted.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the DlpJob resource to be deleted.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java deleted file mode 100644 index abe05e45..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteInspectTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteInspectTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the organization and inspectTemplate to be deleted, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the organization and inspectTemplate to be deleted, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java deleted file mode 100644 index 7e1cba4c..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteJobTriggerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteJobTriggerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java deleted file mode 100644 index 0eb61dfc..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DeleteStoredInfoTypeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the organization and storedInfoType to be deleted, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the organization and storedInfoType to be deleted, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java deleted file mode 100644 index f2f365a1..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ /dev/null @@ -1,3089 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public final class DlpProto { - private DlpProto() {} - 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_privacy_dlp_v2_ExcludeInfoTypes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectionRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ContentItem_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Table_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Table_Row_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Finding_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ContentLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Container_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Range_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Color_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_QuasiId_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Value_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DateTime_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RedactConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CryptoKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Schedule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Manual_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Error_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DlpJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridInspectResponse_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\037google/privacy/dlp/v2/dlp.proto\022\025googl" + - "e.privacy.dlp.v2\032\034google/api/annotations" + - ".proto\032\027google/api/client.proto\032\037google/" + - "api/field_behavior.proto\032\031google/api/res" + - "ource.proto\032#google/privacy/dlp/v2/stora" + - "ge.proto\032\036google/protobuf/duration.proto" + - "\032\033google/protobuf/empty.proto\032 google/pr" + - "otobuf/field_mask.proto\032\037google/protobuf" + - "/timestamp.proto\032\027google/rpc/status.prot" + - "o\032\026google/type/date.proto\032\033google/type/d" + - "ayofweek.proto\032\033google/type/timeofday.pr" + - "oto\"G\n\020ExcludeInfoTypes\0223\n\ninfo_types\030\001 " + - "\003(\0132\037.google.privacy.dlp.v2.InfoType\"\240\002\n" + - "\rExclusionRule\022F\n\ndictionary\030\001 \001(\01320.goo" + - "gle.privacy.dlp.v2.CustomInfoType.Dictio" + - "naryH\000\022<\n\005regex\030\002 \001(\0132+.google.privacy.d" + - "lp.v2.CustomInfoType.RegexH\000\022E\n\022exclude_" + - "info_types\030\003 \001(\0132\'.google.privacy.dlp.v2" + - ".ExcludeInfoTypesH\000\022:\n\rmatching_type\030\004 \001" + - "(\0162#.google.privacy.dlp.v2.MatchingTypeB" + - "\006\n\004type\"\261\001\n\016InspectionRule\022W\n\014hotword_ru" + - "le\030\001 \001(\0132?.google.privacy.dlp.v2.CustomI" + - "nfoType.DetectionRule.HotwordRuleH\000\022>\n\016e" + - "xclusion_rule\030\002 \001(\0132$.google.privacy.dlp" + - ".v2.ExclusionRuleH\000B\006\n\004type\"~\n\021Inspectio" + - "nRuleSet\0223\n\ninfo_types\030\001 \003(\0132\037.google.pr" + - "ivacy.dlp.v2.InfoType\0224\n\005rules\030\002 \003(\0132%.g" + - "oogle.privacy.dlp.v2.InspectionRule\"\307\005\n\r" + - "InspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.goog" + - "le.privacy.dlp.v2.InfoType\0229\n\016min_likeli" + - "hood\030\002 \001(\0162!.google.privacy.dlp.v2.Likel" + - "ihood\022B\n\006limits\030\003 \001(\01322.google.privacy.d" + - "lp.v2.InspectConfig.FindingLimits\022\025\n\rinc" + - "lude_quote\030\004 \001(\010\022\032\n\022exclude_info_types\030\005" + - " \001(\010\022@\n\021custom_info_types\030\006 \003(\0132%.google" + - ".privacy.dlp.v2.CustomInfoType\022=\n\017conten" + - "t_options\030\010 \003(\0162$.google.privacy.dlp.v2." + - "ContentOption\022:\n\010rule_set\030\n \003(\0132(.google" + - ".privacy.dlp.v2.InspectionRuleSet\032\221\002\n\rFi" + - "ndingLimits\022\035\n\025max_findings_per_item\030\001 \001" + - "(\005\022 \n\030max_findings_per_request\030\002 \001(\005\022d\n\032" + - "max_findings_per_info_type\030\003 \003(\0132@.googl" + - "e.privacy.dlp.v2.InspectConfig.FindingLi" + - "mits.InfoTypeLimit\032Y\n\rInfoTypeLimit\0222\n\ti" + - "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" + - "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\305\002\n\017ByteCo" + - "ntentItem\022>\n\004type\030\001 \001(\01620.google.privacy" + - ".dlp.v2.ByteContentItem.BytesType\022\014\n\004dat" + - "a\030\002 \001(\014\"\343\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" + - "ECIFIED\020\000\022\t\n\005IMAGE\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\t" + - "IMAGE_BMP\020\002\022\r\n\tIMAGE_PNG\020\003\022\r\n\tIMAGE_SVG\020" + - "\004\022\r\n\tTEXT_UTF8\020\005\022\021\n\rWORD_DOCUMENT\020\007\022\007\n\003P" + - "DF\020\010\022\027\n\023POWERPOINT_DOCUMENT\020\t\022\022\n\016EXCEL_D" + - "OCUMENT\020\n\022\010\n\004AVRO\020\013\022\007\n\003CSV\020\014\022\007\n\003TSV\020\r\"\227\001" + - "\n\013ContentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030" + - "\004 \001(\0132\034.google.privacy.dlp.v2.TableH\000\022;\n" + - "\tbyte_item\030\005 \001(\0132&.google.privacy.dlp.v2" + - ".ByteContentItemH\000B\013\n\tdata_item\"\235\001\n\005Tabl" + - "e\022/\n\007headers\030\001 \003(\0132\036.google.privacy.dlp." + - "v2.FieldId\022.\n\004rows\030\002 \003(\0132 .google.privac" + - "y.dlp.v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003(" + - "\0132\034.google.privacy.dlp.v2.Value\"]\n\rInspe" + - "ctResult\0220\n\010findings\030\001 \003(\0132\036.google.priv" + - "acy.dlp.v2.Finding\022\032\n\022findings_truncated" + - "\030\002 \001(\010\"\337\005\n\007Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quot" + - "e\030\001 \001(\t\0222\n\tinfo_type\030\002 \001(\0132\037.google.priv" + - "acy.dlp.v2.InfoType\0225\n\nlikelihood\030\003 \001(\0162" + - "!.google.privacy.dlp.v2.Likelihood\0221\n\010lo" + - "cation\030\004 \001(\0132\037.google.privacy.dlp.v2.Loc" + - "ation\022/\n\013create_time\030\006 \001(\0132\032.google.prot" + - "obuf.Timestamp\0224\n\nquote_info\030\007 \001(\0132 .goo" + - "gle.privacy.dlp.v2.QuoteInfo\0225\n\rresource" + - "_name\030\010 \001(\tB\036\372A\033\n\031dlp.googleapis.com/Dlp" + - "Job\0228\n\014trigger_name\030\t \001(\tB\"\372A\037\n\035dlp.goog" + - "leapis.com/JobTrigger\022:\n\006labels\030\n \003(\0132*." + - "google.privacy.dlp.v2.Finding.LabelsEntr" + - "y\0223\n\017job_create_time\030\013 \001(\0132\032.google.prot" + - "obuf.Timestamp\0220\n\010job_name\030\r \001(\tB\036\372A\033\n\031d" + - "lp.googleapis.com/DlpJob\022\022\n\nfinding_id\030\017" + - " \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001:[\352AX\n\032dlp.googleapis.com/Fin" + - "ding\022:projects/{project}/locations/{loca" + - "tion}/findings/{finding}\"\353\001\n\010Location\0220\n" + - "\nbyte_range\030\001 \001(\0132\034.google.privacy.dlp.v" + - "2.Range\0225\n\017codepoint_range\030\002 \001(\0132\034.googl" + - "e.privacy.dlp.v2.Range\022A\n\021content_locati" + - "ons\030\007 \003(\0132&.google.privacy.dlp.v2.Conten" + - "tLocation\0223\n\tcontainer\030\010 \001(\0132 .google.pr" + - "ivacy.dlp.v2.Container\"\227\003\n\017ContentLocati" + - "on\022\026\n\016container_name\030\001 \001(\t\022@\n\017record_loc" + - "ation\030\002 \001(\0132%.google.privacy.dlp.v2.Reco" + - "rdLocationH\000\022>\n\016image_location\030\003 \001(\0132$.g" + - "oogle.privacy.dlp.v2.ImageLocationH\000\022D\n\021" + - "document_location\030\005 \001(\0132\'.google.privacy" + - ".dlp.v2.DocumentLocationH\000\022D\n\021metadata_l" + - "ocation\030\010 \001(\0132\'.google.privacy.dlp.v2.Me" + - "tadataLocationH\000\0227\n\023container_timestamp\030" + - "\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021con" + - "tainer_version\030\007 \001(\tB\n\n\010location\"\224\001\n\020Met" + - "adataLocation\0221\n\004type\030\001 \001(\0162#.google.pri" + - "vacy.dlp.v2.MetadataType\022D\n\rstorage_labe" + - "l\030\003 \001(\0132+.google.privacy.dlp.v2.StorageM" + - "etadataLabelH\000B\007\n\005label\"#\n\024StorageMetada" + - "taLabel\022\013\n\003key\030\001 \001(\t\"\'\n\020DocumentLocation" + - "\022\023\n\013file_offset\030\001 \001(\003\"\266\001\n\016RecordLocation" + - "\0224\n\nrecord_key\030\001 \001(\0132 .google.privacy.dl" + - "p.v2.RecordKey\0220\n\010field_id\030\002 \001(\0132\036.googl" + - "e.privacy.dlp.v2.FieldId\022<\n\016table_locati" + - "on\030\003 \001(\0132$.google.privacy.dlp.v2.TableLo" + - "cation\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001" + - "(\003\"\254\001\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nprojec" + - "t_id\030\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_pa" + - "th\030\004 \001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013updat" + - "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" + - "\022\017\n\007version\030\007 \001(\t\"#\n\005Range\022\r\n\005start\030\001 \001(" + - "\003\022\013\n\003end\030\002 \001(\003\"K\n\rImageLocation\022:\n\016bound" + - "ing_boxes\030\001 \003(\0132\".google.privacy.dlp.v2." + - "BoundingBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022" + - "\014\n\004left\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004" + - " \001(\005\"\374\003\n\022RedactImageRequest\0222\n\006parent\030\001 " + - "\001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpContent\022" + - "\023\n\013location_id\030\010 \001(\t\022<\n\016inspect_config\030\002" + - " \001(\0132$.google.privacy.dlp.v2.InspectConf" + - "ig\022_\n\027image_redaction_configs\030\005 \003(\0132>.go" + - "ogle.privacy.dlp.v2.RedactImageRequest.I" + - "mageRedactionConfig\022\030\n\020include_findings\030" + - "\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google.privac" + - "y.dlp.v2.ByteContentItem\032\250\001\n\024ImageRedact" + - "ionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.google.pr" + - "ivacy.dlp.v2.InfoTypeH\000\022\031\n\017redact_all_te" + - "xt\030\002 \001(\010H\000\0225\n\017redaction_color\030\003 \001(\0132\034.go" + - "ogle.privacy.dlp.v2.ColorB\010\n\006target\"1\n\005C" + - "olor\022\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n\004blue" + - "\030\003 \001(\002\"\203\001\n\023RedactImageResponse\022\026\n\016redact" + - "ed_image\030\001 \001(\014\022\026\n\016extracted_text\030\002 \001(\t\022<" + - "\n\016inspect_result\030\003 \001(\0132$.google.privacy." + - "dlp.v2.InspectResult\"\330\002\n\030DeidentifyConte" + - "ntRequest\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.goog" + - "leapis.com/DlpContent\022B\n\021deidentify_conf" + - "ig\030\002 \001(\0132\'.google.privacy.dlp.v2.Deident" + - "ifyConfig\022<\n\016inspect_config\030\003 \001(\0132$.goog" + - "le.privacy.dlp.v2.InspectConfig\0220\n\004item\030" + - "\004 \001(\0132\".google.privacy.dlp.v2.ContentIte" + - "m\022\035\n\025inspect_template_name\030\005 \001(\t\022 \n\030deid" + - "entify_template_name\030\006 \001(\t\022\023\n\013location_i" + - "d\030\007 \001(\t\"\216\001\n\031DeidentifyContentResponse\0220\n" + - "\004item\030\001 \001(\0132\".google.privacy.dlp.v2.Cont" + - "entItem\022?\n\010overview\030\002 \001(\0132-.google.priva" + - "cy.dlp.v2.TransformationOverview\"\333\002\n\030Rei" + - "dentifyContentRequest\0225\n\006parent\030\001 \001(\tB%\340" + - "A\002\372A\037\022\035dlp.googleapis.com/DlpContent\022B\n\021" + - "reidentify_config\030\002 \001(\0132\'.google.privacy" + - ".dlp.v2.DeidentifyConfig\022<\n\016inspect_conf" + - "ig\030\003 \001(\0132$.google.privacy.dlp.v2.Inspect" + - "Config\0220\n\004item\030\004 \001(\0132\".google.privacy.dl" + - "p.v2.ContentItem\022\035\n\025inspect_template_nam" + - "e\030\005 \001(\t\022 \n\030reidentify_template_name\030\006 \001(" + - "\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031ReidentifyCon" + - "tentResponse\0220\n\004item\030\001 \001(\0132\".google.priv" + - "acy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001(\013" + - "2-.google.privacy.dlp.v2.TransformationO" + - "verview\"\357\001\n\025InspectContentRequest\0222\n\006par" + - "ent\030\001 \001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpCo" + - "ntent\022<\n\016inspect_config\030\002 \001(\0132$.google.p" + - "rivacy.dlp.v2.InspectConfig\0220\n\004item\030\003 \001(" + - "\0132\".google.privacy.dlp.v2.ContentItem\022\035\n" + - "\025inspect_template_name\030\004 \001(\t\022\023\n\013location" + - "_id\030\005 \001(\t\"N\n\026InspectContentResponse\0224\n\006r" + - "esult\030\001 \001(\0132$.google.privacy.dlp.v2.Insp" + - "ectResult\"\267\002\n\023OutputStorageConfig\0225\n\005tab" + - "le\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuer" + - "yTableH\000\022N\n\routput_schema\030\003 \001(\01627.google" + - ".privacy.dlp.v2.OutputStorageConfig.Outp" + - "utSchema\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHE" + - "MA_UNSPECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013G" + - "CS_COLUMNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021B" + - "IG_QUERY_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004t" + - "ype\"R\n\rInfoTypeStats\0222\n\tinfo_type\030\001 \001(\0132" + - "\037.google.privacy.dlp.v2.InfoType\022\r\n\005coun" + - "t\030\002 \001(\003\"\244\004\n\030InspectDataSourceDetails\022[\n\021" + - "requested_options\030\002 \001(\0132@.google.privacy" + - ".dlp.v2.InspectDataSourceDetails.Request" + - "edOptions\022F\n\006result\030\003 \001(\01326.google.priva" + - "cy.dlp.v2.InspectDataSourceDetails.Resul" + - "t\032\232\001\n\020RequestedOptions\022I\n\031snapshot_inspe" + - "ct_template\030\001 \001(\0132&.google.privacy.dlp.v" + - "2.InspectTemplate\022;\n\njob_config\030\003 \001(\0132\'." + - "google.privacy.dlp.v2.InspectJobConfig\032\305" + - "\001\n\006Result\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025to" + - "tal_estimated_bytes\030\002 \001(\003\022=\n\017info_type_s" + - "tats\030\003 \003(\0132$.google.privacy.dlp.v2.InfoT" + - "ypeStats\022D\n\014hybrid_stats\030\007 \001(\0132..google." + - "privacy.dlp.v2.HybridInspectStatistics\"`" + - "\n\027HybridInspectStatistics\022\027\n\017processed_c" + - "ount\030\001 \001(\003\022\025\n\raborted_count\030\002 \001(\003\022\025\n\rpen" + - "ding_count\030\003 \001(\003\"\220\001\n\023InfoTypeDescription" + - "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014" + - "supported_by\030\003 \003(\0162*.google.privacy.dlp." + - "v2.InfoTypeSupportedBy\022\023\n\013description\030\004 " + - "\001(\t\"b\n\024ListInfoTypesRequest\022\016\n\006parent\030\004 " + - "\001(\t\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001" + - "(\t\022\023\n\013location_id\030\003 \001(\t\"W\n\025ListInfoTypes" + - "Response\022>\n\ninfo_types\030\001 \003(\0132*.google.pr" + - "ivacy.dlp.v2.InfoTypeDescription\"\301\001\n\025Ris" + - "kAnalysisJobConfig\022<\n\016privacy_metric\030\001 \001" + - "(\0132$.google.privacy.dlp.v2.PrivacyMetric" + - "\022:\n\014source_table\030\002 \001(\0132$.google.privacy." + - "dlp.v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035." + - "google.privacy.dlp.v2.Action\"\274\001\n\007QuasiId" + - "\0222\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2." + - "FieldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google" + - ".privacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag" + - "\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.prot" + - "obuf.EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable" + - "\0228\n\005table\030\003 \001(\0132$.google.privacy.dlp.v2." + - "BigQueryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<." + - "google.privacy.dlp.v2.StatisticalTable.Q" + - "uasiIdentifierFieldB\003\340A\002\022?\n\022relative_fre" + - "quency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + - "ldIdB\003\340A\002\032Y\n\024QuasiIdentifierField\022-\n\005fie" + - "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId" + - "\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017\n\rPrivacyMetric\022[" + - "\n\026numerical_stats_config\030\001 \001(\01329.google." + - "privacy.dlp.v2.PrivacyMetric.NumericalSt" + - "atsConfigH\000\022_\n\030categorical_stats_config\030" + - "\002 \001(\0132;.google.privacy.dlp.v2.PrivacyMet" + - "ric.CategoricalStatsConfigH\000\022S\n\022k_anonym" + - "ity_config\030\003 \001(\01325.google.privacy.dlp.v2" + - ".PrivacyMetric.KAnonymityConfigH\000\022S\n\022l_d" + - "iversity_config\030\004 \001(\01325.google.privacy.d" + - "lp.v2.PrivacyMetric.LDiversityConfigH\000\022\\" + - "\n\027k_map_estimation_config\030\005 \001(\01329.google" + - ".privacy.dlp.v2.PrivacyMetric.KMapEstima" + - "tionConfigH\000\022n\n delta_presence_estimatio" + - "n_config\030\006 \001(\0132B.google.privacy.dlp.v2.P" + - "rivacyMetric.DeltaPresenceEstimationConf" + - "igH\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 " + - "\001(\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026C" + - "ategoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.g" + - "oogle.privacy.dlp.v2.FieldId\032y\n\020KAnonymi" + - "tyConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.pri" + - "vacy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037" + - ".google.privacy.dlp.v2.EntityId\032\202\001\n\020LDiv" + - "ersityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google" + - ".privacy.dlp.v2.FieldId\022;\n\023sensitive_att" + - "ribute\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + - "ldId\032\201\006\n\024KMapEstimationConfig\022]\n\tquasi_i" + - "ds\030\001 \003(\0132E.google.privacy.dlp.v2.Privacy" + - "Metric.KMapEstimationConfig.TaggedFieldB" + - "\003\340A\002\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_t" + - "ables\030\003 \003(\0132H.google.privacy.dlp.v2.Priv" + - "acyMetric.KMapEstimationConfig.Auxiliary" + - "Table\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.g" + - "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinf" + - "o_type\030\002 \001(\0132\037.google.privacy.dlp.v2.Inf" + - "oTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferre" + - "d\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag" + - "\032\315\002\n\016AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.goo" + - "gle.privacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n" + - "\tquasi_ids\030\001 \003(\0132U.google.privacy.dlp.v2" + - ".PrivacyMetric.KMapEstimationConfig.Auxi" + - "liaryTable.QuasiIdFieldB\003\340A\002\022?\n\022relative" + - "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2" + - ".FieldIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001" + - " \001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\n" + - "custom_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstima" + - "tionConfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.p" + - "rivacy.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_cod" + - "e\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.goog" + - "le.privacy.dlp.v2.StatisticalTableB\006\n\004ty" + - "pe\"\301\037\n\034AnalyzeDataSourceRiskDetails\022F\n\030r" + - "equested_privacy_metric\030\001 \001(\0132$.google.p" + - "rivacy.dlp.v2.PrivacyMetric\022D\n\026requested" + - "_source_table\030\002 \001(\0132$.google.privacy.dlp" + - ".v2.BigQueryTable\022j\n\026numerical_stats_res" + - "ult\030\003 \001(\0132H.google.privacy.dlp.v2.Analyz" + - "eDataSourceRiskDetails.NumericalStatsRes" + - "ultH\000\022n\n\030categorical_stats_result\030\004 \001(\0132" + - "J.google.privacy.dlp.v2.AnalyzeDataSourc" + - "eRiskDetails.CategoricalStatsResultH\000\022b\n" + - "\022k_anonymity_result\030\005 \001(\0132D.google.priva" + - "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + - "AnonymityResultH\000\022b\n\022l_diversity_result\030" + - "\006 \001(\0132D.google.privacy.dlp.v2.AnalyzeDat" + - "aSourceRiskDetails.LDiversityResultH\000\022k\n" + - "\027k_map_estimation_result\030\007 \001(\0132H.google." + - "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" + - "ils.KMapEstimationResultH\000\022}\n delta_pres" + - "ence_estimation_result\030\t \001(\0132Q.google.pr" + - "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + - "s.DeltaPresenceEstimationResultH\000\022k\n\021req" + - "uested_options\030\n \001(\0132P.google.privacy.dl" + - "p.v2.AnalyzeDataSourceRiskDetails.Reques" + - "tedRiskAnalysisOptions\032\257\001\n\024NumericalStat" + - "sResult\022/\n\tmin_value\030\001 \001(\0132\034.google.priv" + - "acy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.go" + - "ogle.privacy.dlp.v2.Value\0225\n\017quantile_va" + - "lues\030\004 \003(\0132\034.google.privacy.dlp.v2.Value" + - "\032\215\003\n\026CategoricalStatsResult\022\225\001\n!value_fr" + - "equency_histogram_buckets\030\005 \003(\0132j.google" + - ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" + - "ails.CategoricalStatsResult.CategoricalS" + - "tatsHistogramBucket\032\332\001\n\037CategoricalStats" + - "HistogramBucket\022#\n\033value_frequency_lower" + - "_bound\030\001 \001(\003\022#\n\033value_frequency_upper_bo" + - "und\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket" + - "_values\030\004 \003(\0132%.google.privacy.dlp.v2.Va" + - "lueFrequency\022\032\n\022bucket_value_count\030\005 \001(\003" + - "\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalence_cl" + - "ass_histogram_buckets\030\005 \003(\0132^.google.pri" + - "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" + - ".KAnonymityResult.KAnonymityHistogramBuc" + - "ket\032t\n\032KAnonymityEquivalenceClass\0226\n\020qua" + - "si_ids_values\030\001 \003(\0132\034.google.privacy.dlp" + - ".v2.Value\022\036\n\026equivalence_class_size\030\002 \001(" + - "\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"equiv" + - "alence_class_size_lower_bound\030\001 \001(\003\022*\n\"e" + - "quivalence_class_size_upper_bound\030\002 \001(\003\022" + - "\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 " + - "\003(\0132_.google.privacy.dlp.v2.AnalyzeDataS" + - "ourceRiskDetails.KAnonymityResult.KAnony" + - "mityEquivalenceClass\022\032\n\022bucket_value_cou" + - "nt\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensit" + - "ive_value_frequency_histogram_buckets\030\005 " + - "\003(\0132^.google.privacy.dlp.v2.AnalyzeDataS" + - "ourceRiskDetails.LDiversityResult.LDiver" + - "sityHistogramBucket\032\340\001\n\032LDiversityEquiva" + - "lenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.g" + - "oogle.privacy.dlp.v2.Value\022\036\n\026equivalenc" + - "e_class_size\030\002 \001(\003\022%\n\035num_distinct_sensi" + - "tive_values\030\003 \001(\003\022C\n\024top_sensitive_value" + - "s\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFre" + - "quency\032\242\002\n\031LDiversityHistogramBucket\022-\n%" + - "sensitive_value_frequency_lower_bound\030\001 " + - "\001(\003\022-\n%sensitive_value_frequency_upper_b" + - "ound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucke" + - "t_values\030\004 \003(\0132_.google.privacy.dlp.v2.A" + - "nalyzeDataSourceRiskDetails.LDiversityRe" + - "sult.LDiversityEquivalenceClass\022\032\n\022bucke" + - "t_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimationRe" + - "sult\022\212\001\n\032k_map_estimation_histogram\030\001 \003(" + - "\0132f.google.privacy.dlp.v2.AnalyzeDataSou" + - "rceRiskDetails.KMapEstimationResult.KMap" + - "EstimationHistogramBucket\032r\n\033KMapEstimat" + - "ionQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003" + - "(\0132\034.google.privacy.dlp.v2.Value\022\033\n\023esti" + - "mated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimation" + - "HistogramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025" + - "\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001" + - "(\003\022{\n\rbucket_values\030\006 \003(\0132d.google.priva" + - "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + - "MapEstimationResult.KMapEstimationQuasiI" + - "dValues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035" + - "DeltaPresenceEstimationResult\022\245\001\n#delta_" + - "presence_estimation_histogram\030\001 \003(\0132x.go" + - "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + - "kDetails.DeltaPresenceEstimationResult.D" + - "eltaPresenceEstimationHistogramBucket\032}\n" + - "$DeltaPresenceEstimationQuasiIdValues\0226\n" + - "\020quasi_ids_values\030\001 \003(\0132\034.google.privacy" + - ".dlp.v2.Value\022\035\n\025estimated_probability\030\002" + - " \001(\001\032\233\002\n&DeltaPresenceEstimationHistogra" + - "mBucket\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max_" + - "probability\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215" + - "\001\n\rbucket_values\030\006 \003(\0132v.google.privacy." + - "dlp.v2.AnalyzeDataSourceRiskDetails.Delt" + - "aPresenceEstimationResult.DeltaPresenceE" + - "stimationQuasiIdValues\022\032\n\022bucket_value_c" + - "ount\030\007 \001(\003\032`\n\034RequestedRiskAnalysisOptio" + - "ns\022@\n\njob_config\030\001 \001(\0132,.google.privacy." + - "dlp.v2.RiskAnalysisJobConfigB\010\n\006result\"L" + - "\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.google" + - ".privacy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n" + - "\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013float" + - "_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\027" + - "\n\rboolean_value\030\004 \001(\010H\000\0225\n\017timestamp_val" + - "ue\030\005 \001(\0132\032.google.protobuf.TimestampH\000\022," + - "\n\ntime_value\030\006 \001(\0132\026.google.type.TimeOfD" + - "ayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.google.type.D" + - "ateH\000\0223\n\021day_of_week_value\030\010 \001(\0162\026.googl" + - "e.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\022" + - "4\n\tdate_time\030\002 \001(\0132\037.google.privacy.dlp." + - "v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateTi" + - "me\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013d" + - "ay_of_week\030\002 \001(\0162\026.google.type.DayOfWeek" + - "\022$\n\004time\030\003 \001(\0132\026.google.type.TimeOfDay\022;" + - "\n\ttime_zone\030\004 \001(\0132(.google.privacy.dlp.v" + - "2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offse" + - "t_minutes\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031" + - "info_type_transformations\030\001 \001(\0132..google" + - ".privacy.dlp.v2.InfoTypeTransformationsH" + - "\000\022N\n\026record_transformations\030\002 \001(\0132,.goog" + - "le.privacy.dlp.v2.RecordTransformationsH" + - "\000\022Y\n\035transformation_error_handling\030\003 \001(\013" + - "22.google.privacy.dlp.v2.TransformationE" + - "rrorHandlingB\020\n\016transformation\"\205\002\n\033Trans" + - "formationErrorHandling\022T\n\013throw_error\030\001 " + - "\001(\0132=.google.privacy.dlp.v2.Transformati" + - "onErrorHandling.ThrowErrorH\000\022d\n\023leave_un" + - "transformed\030\002 \001(\0132E.google.privacy.dlp.v", - "2.TransformationErrorHandling.LeaveUntra" + - "nsformedH\000\032\014\n\nThrowError\032\024\n\022LeaveUntrans" + - "formedB\006\n\004mode\"\312\007\n\027PrimitiveTransformati" + - "on\022C\n\016replace_config\030\001 \001(\0132).google.priv" + - "acy.dlp.v2.ReplaceValueConfigH\000\022<\n\rredac" + - "t_config\030\002 \001(\0132#.google.privacy.dlp.v2.R" + - "edactConfigH\000\022K\n\025character_mask_config\030\003" + - " \001(\0132*.google.privacy.dlp.v2.CharacterMa" + - "skConfigH\000\022Y\n\035crypto_replace_ffx_fpe_con" + - "fig\030\004 \001(\01320.google.privacy.dlp.v2.Crypto" + - "ReplaceFfxFpeConfigH\000\022V\n\033fixed_size_buck" + - "eting_config\030\005 \001(\0132/.google.privacy.dlp." + - "v2.FixedSizeBucketingConfigH\000\022B\n\020bucketi" + - "ng_config\030\006 \001(\0132&.google.privacy.dlp.v2." + - "BucketingConfigH\000\022Y\n\035replace_with_info_t" + - "ype_config\030\007 \001(\01320.google.privacy.dlp.v2" + - ".ReplaceWithInfoTypeConfigH\000\022A\n\020time_par" + - "t_config\030\010 \001(\0132%.google.privacy.dlp.v2.T" + - "imePartConfigH\000\022E\n\022crypto_hash_config\030\t " + - "\001(\0132\'.google.privacy.dlp.v2.CryptoHashCo" + - "nfigH\000\022C\n\021date_shift_config\030\013 \001(\0132&.goog" + - "le.privacy.dlp.v2.DateShiftConfigH\000\022W\n\033c" + - "rypto_deterministic_config\030\014 \001(\01320.googl" + - "e.privacy.dlp.v2.CryptoDeterministicConf" + - "igH\000\022S\n\031replace_dictionary_config\030\r \001(\0132" + - "..google.privacy.dlp.v2.ReplaceDictionar" + - "yConfigH\000B\020\n\016transformation\"\334\001\n\016TimePart" + - "Config\022G\n\017part_to_extract\030\001 \001(\0162..google" + - ".privacy.dlp.v2.TimePartConfig.TimePart\"" + - "\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSPECIFIED\020\000\022" + - "\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003\022\017" + - "\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOU" + - "R_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto" + - "_key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypt" + - "oKey\"\300\001\n\031CryptoDeterministicConfig\0224\n\ncr" + - "ypto_key\030\001 \001(\0132 .google.privacy.dlp.v2.C" + - "ryptoKey\022<\n\023surrogate_info_type\030\002 \001(\0132\037." + - "google.privacy.dlp.v2.InfoType\022/\n\007contex" + - "t\030\003 \001(\0132\036.google.privacy.dlp.v2.FieldId\"" + - "E\n\022ReplaceValueConfig\022/\n\tnew_value\030\001 \001(\013" + - "2\034.google.privacy.dlp.v2.Value\"q\n\027Replac" + - "eDictionaryConfig\022N\n\tword_list\030\001 \001(\01329.g" + - "oogle.privacy.dlp.v2.CustomInfoType.Dict" + - "ionary.WordListH\000B\006\n\004type\"\033\n\031ReplaceWith" + - "InfoTypeConfig\"\016\n\014RedactConfig\"\266\002\n\rChars" + - "ToIgnore\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_" + - "\n\033common_characters_to_ignore\030\002 \001(\01628.go" + - "ogle.privacy.dlp.v2.CharsToIgnore.Common" + - "CharsToIgnoreH\000\"\227\001\n\023CommonCharsToIgnore\022" + - "&\n\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022" + - "\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020AL" + - "PHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHI" + - "TESPACE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterMas" + - "kConfig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016nu" + - "mber_to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(" + - "\010\022B\n\024characters_to_ignore\030\004 \003(\0132$.google" + - ".privacy.dlp.v2.CharsToIgnore\"\244\001\n\030FixedS" + - "izeBucketingConfig\0226\n\013lower_bound\030\001 \001(\0132" + - "\034.google.privacy.dlp.v2.ValueB\003\340A\002\0226\n\013up" + - "per_bound\030\002 \001(\0132\034.google.privacy.dlp.v2." + - "ValueB\003\340A\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\360\001\n" + - "\017BucketingConfig\022>\n\007buckets\030\001 \003(\0132-.goog" + - "le.privacy.dlp.v2.BucketingConfig.Bucket" + - "\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google.privac" + - "y.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.google.pri" + - "vacy.dlp.v2.Value\022<\n\021replacement_value\030\003" + - " \001(\0132\034.google.privacy.dlp.v2.ValueB\003\340A\002\"" + - "\371\003\n\031CryptoReplaceFfxFpeConfig\0229\n\ncrypto_" + - "key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypto" + - "KeyB\003\340A\002\022/\n\007context\030\002 \001(\0132\036.google.priva" + - "cy.dlp.v2.FieldId\022c\n\017common_alphabet\030\004 \001" + - "(\0162H.google.privacy.dlp.v2.CryptoReplace" + - "FfxFpeConfig.FfxCommonNativeAlphabetH\000\022\031" + - "\n\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005" + - "H\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037.google" + - ".privacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNa" + - "tiveAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHAB" + - "ET_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADEC" + - "IMAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\r" + - "ALPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKe" + - "y\022>\n\ttransient\030\001 \001(\0132).google.privacy.dl" + - "p.v2.TransientCryptoKeyH\000\022>\n\tunwrapped\030\002" + - " \001(\0132).google.privacy.dlp.v2.UnwrappedCr" + - "yptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google." + - "privacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006" + - "source\"\'\n\022TransientCryptoKey\022\021\n\004name\030\001 \001" + - "(\tB\003\340A\002\"&\n\022UnwrappedCryptoKey\022\020\n\003key\030\001 \001" + - "(\014B\003\340A\002\"M\n\023KmsWrappedCryptoKey\022\030\n\013wrappe" + - "d_key\030\001 \001(\014B\003\340A\002\022\034\n\017crypto_key_name\030\002 \001(" + - "\tB\003\340A\002\"\302\001\n\017DateShiftConfig\022\035\n\020upper_boun" + - "d_days\030\001 \001(\005B\003\340A\002\022\035\n\020lower_bound_days\030\002 " + - "\001(\005B\003\340A\002\022/\n\007context\030\003 \001(\0132\036.google.priva" + - "cy.dlp.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 ." + - "google.privacy.dlp.v2.CryptoKeyH\000B\010\n\006met" + - "hod\"\245\002\n\027InfoTypeTransformations\022c\n\017trans" + - "formations\030\001 \003(\0132E.google.privacy.dlp.v2" + - ".InfoTypeTransformations.InfoTypeTransfo" + - "rmationB\003\340A\002\032\244\001\n\026InfoTypeTransformation\022" + - "3\n\ninfo_types\030\001 \003(\0132\037.google.privacy.dlp" + - ".v2.InfoType\022U\n\030primitive_transformation" + - "\030\002 \001(\0132..google.privacy.dlp.v2.Primitive" + - "TransformationB\003\340A\002\"\300\002\n\023FieldTransformat" + - "ion\0223\n\006fields\030\001 \003(\0132\036.google.privacy.dlp" + - ".v2.FieldIdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.go" + - "ogle.privacy.dlp.v2.RecordCondition\022R\n\030p" + - "rimitive_transformation\030\004 \001(\0132..google.p" + - "rivacy.dlp.v2.PrimitiveTransformationH\000\022" + - "S\n\031info_type_transformations\030\005 \001(\0132..goo" + - "gle.privacy.dlp.v2.InfoTypeTransformatio" + - "nsH\000B\020\n\016transformation\"\251\001\n\025RecordTransfo" + - "rmations\022I\n\025field_transformations\030\001 \003(\0132" + - "*.google.privacy.dlp.v2.FieldTransformat" + - "ion\022E\n\023record_suppressions\030\002 \003(\0132(.googl" + - "e.privacy.dlp.v2.RecordSuppression\"N\n\021Re" + - "cordSuppression\0229\n\tcondition\030\001 \001(\0132&.goo" + - "gle.privacy.dlp.v2.RecordCondition\"\334\004\n\017R" + - "ecordCondition\022G\n\013expressions\030\003 \001(\01322.go" + - "ogle.privacy.dlp.v2.RecordCondition.Expr" + - "essions\032\256\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.g" + - "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010ope" + - "rator\030\003 \001(\0162).google.privacy.dlp.v2.Rela" + - "tionalOperatorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.goo" + - "gle.privacy.dlp.v2.Value\032R\n\nConditions\022D" + - "\n\nconditions\030\001 \003(\01320.google.privacy.dlp." + - "v2.RecordCondition.Condition\032\372\001\n\013Express" + - "ions\022\\\n\020logical_operator\030\001 \001(\0162B.google." + - "privacy.dlp.v2.RecordCondition.Expressio" + - "ns.LogicalOperator\022G\n\nconditions\030\003 \001(\01321" + - ".google.privacy.dlp.v2.RecordCondition.C" + - "onditionsH\000\"<\n\017LogicalOperator\022 \n\034LOGICA" + - "L_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004typ" + - "e\"\203\001\n\026TransformationOverview\022\031\n\021transfor" + - "med_bytes\030\002 \001(\003\022N\n\030transformation_summar" + - "ies\030\003 \003(\0132,.google.privacy.dlp.v2.Transf" + - "ormationSummary\"\237\005\n\025TransformationSummar" + - "y\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dl" + - "p.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.google.pr" + - "ivacy.dlp.v2.FieldId\022F\n\016transformation\030\003" + - " \001(\0132..google.privacy.dlp.v2.PrimitiveTr" + - "ansformation\022I\n\025field_transformations\030\005 " + - "\003(\0132*.google.privacy.dlp.v2.FieldTransfo" + - "rmation\022A\n\017record_suppress\030\006 \001(\0132(.googl" + - "e.privacy.dlp.v2.RecordSuppression\022K\n\007re" + - "sults\030\004 \003(\0132:.google.privacy.dlp.v2.Tran" + - "sformationSummary.SummaryResult\022\031\n\021trans" + - "formed_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r\n\005" + - "count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.priva" + - "cy.dlp.v2.TransformationSummary.Transfor" + - "mationResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Tra" + - "nsformationResultCode\022*\n&TRANSFORMATION_" + - "RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t" + - "\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurrence_peri" + - "od_duration\030\001 \001(\0132\031.google.protobuf.Dura" + - "tionH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n\017InspectTe" + - "mplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_nam" + - "e\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_t" + - "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + - "A\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\003\022<\n\016inspect_config\030\006 \001(\013" + - "2$.google.privacy.dlp.v2.InspectConfig:\306" + - "\002\352A\302\002\n\"dlp.googleapis.com/InspectTemplat" + - "e\022@organizations/{organization}/inspectT" + - "emplates/{inspect_template}\0226projects/{p" + - "roject}/inspectTemplates/{inspect_templa" + - "te}\022Uorganizations/{organization}/locati" + - "ons/{location}/inspectTemplates/{inspect" + - "_template}\022Kprojects/{project}/locations" + - "/{location}/inspectTemplates/{inspect_te" + - "mplate}\"\346\004\n\022DeidentifyTemplate\022\021\n\004name\030\001" + - " \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" + - "iption\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" + - "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\022B\n\021deidentify_config\030\006 \001(\0132\'.google.pri" + - "vacy.dlp.v2.DeidentifyConfig:\341\002\352A\335\002\n%dlp" + - ".googleapis.com/DeidentifyTemplate\022Forga" + - "nizations/{organization}/deidentifyTempl" + - "ates/{deidentify_template}\022\n\013inspec" + - "t_job\030\004 \001(\0132\'.google.privacy.dlp.v2.Insp" + - "ectJobConfigH\000\022;\n\010triggers\030\005 \003(\0132).googl" + - "e.privacy.dlp.v2.JobTrigger.Trigger\0221\n\006e" + - "rrors\030\006 \003(\0132\034.google.privacy.dlp.v2.Erro" + - "rB\003\340A\003\0224\n\013create_time\030\007 \001(\0132\032.google.pro" + - "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n\rla" + - "st_run_time\030\t \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\022=\n\006status\030\n \001(\0162(.google.priv" + - "acy.dlp.v2.JobTrigger.StatusB\003\340A\002\032z\n\007Tri" + - "gger\0223\n\010schedule\030\001 \001(\0132\037.google.privacy." + - "dlp.v2.ScheduleH\000\022/\n\006manual\030\002 \001(\0132\035.goog" + - "le.privacy.dlp.v2.ManualH\000B\t\n\007trigger\"H\n" + - "\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HEALT" + - "HY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035" + - "dlp.googleapis.com/JobTrigger\022,projects/" + - "{project}/jobTriggers/{job_trigger}\022Apro" + - "jects/{project}/locations/{location}/job" + - "Triggers/{job_trigger}B\005\n\003job\"\364\005\n\006Action" + - "\022C\n\rsave_findings\030\001 \001(\0132*.google.privacy" + - ".dlp.v2.Action.SaveFindingsH\000\022@\n\007pub_sub" + - "\030\002 \001(\0132-.google.privacy.dlp.v2.Action.Pu" + - "blishToPubSubH\000\022U\n\027publish_summary_to_cs" + - "cc\030\003 \001(\01322.google.privacy.dlp.v2.Action." + - "PublishSummaryToCsccH\000\022q\n&publish_findin" + - "gs_to_cloud_data_catalog\030\005 \001(\0132?.google." + - "privacy.dlp.v2.Action.PublishFindingsToC" + - "loudDataCatalogH\000\022V\n\027job_notification_em" + - "ails\030\010 \001(\01323.google.privacy.dlp.v2.Actio" + - "n.JobNotificationEmailsH\000\022T\n\026publish_to_" + - "stackdriver\030\t \001(\01322.google.privacy.dlp.v" + - "2.Action.PublishToStackdriverH\000\032Q\n\014SaveF" + - "indings\022A\n\routput_config\030\001 \001(\0132*.google." + - "privacy.dlp.v2.OutputStorageConfig\032 \n\017Pu" + - "blishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishS" + - "ummaryToCscc\032#\n!PublishFindingsToCloudDa" + - "taCatalog\032\027\n\025JobNotificationEmails\032\026\n\024Pu" + - "blishToStackdriverB\010\n\006action\"\313\001\n\034CreateI" + - "nspectTemplateRequest\022:\n\006parent\030\001 \001(\tB*\340" + - "A\002\372A$\022\"dlp.googleapis.com/InspectTemplat" + - "e\022E\n\020inspect_template\030\002 \001(\0132&.google.pri" + - "vacy.dlp.v2.InspectTemplateB\003\340A\002\022\023\n\013temp" + - "late_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\313\001\n\034U" + - "pdateInspectTemplateRequest\0228\n\004name\030\001 \001(" + - "\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectTem" + - "plate\022@\n\020inspect_template\030\002 \001(\0132&.google" + - ".privacy.dlp.v2.InspectTemplate\022/\n\013updat" + - "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + - "\"U\n\031GetInspectTemplateRequest\0228\n\004name\030\001 " + - "\001(\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectT" + - "emplate\"\247\001\n\033ListInspectTemplatesRequest\022" + - ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis." + - "com/InspectTemplate\022\022\n\npage_token\030\002 \001(\t\022" + - "\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013" + - "location_id\030\005 \001(\t\"z\n\034ListInspectTemplate" + - "sResponse\022A\n\021inspect_templates\030\001 \003(\0132&.g" + - "oogle.privacy.dlp.v2.InspectTemplate\022\027\n\017" + - "next_page_token\030\002 \001(\t\"X\n\034DeleteInspectTe" + - "mplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp" + - ".googleapis.com/InspectTemplate\"\266\001\n\027Crea" + - "teJobTriggerRequest\0225\n\006parent\030\001 \001(\tB%\340A\002" + - "\372A\037\022\035dlp.googleapis.com/JobTrigger\022;\n\013jo" + - "b_trigger\030\002 \001(\0132!.google.privacy.dlp.v2." + - "JobTriggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013l" + - "ocation_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRe" + - "quest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googlea" + - "pis.com/JobTrigger\"\267\001\n\027UpdateJobTriggerR" + - "equest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.google" + - "apis.com/JobTrigger\0226\n\013job_trigger\030\002 \001(\013" + - "2!.google.privacy.dlp.v2.JobTrigger\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "Mask\"K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001" + - "(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigge" + - "r\"\366\001\n\023CreateDlpJobRequest\0221\n\006parent\030\001 \001(" + - "\tB!\340A\002\372A\033\022\031dlp.googleapis.com/DlpJob\022>\n\013" + - "inspect_job\030\002 \001(\0132\'.google.privacy.dlp.v" + - "2.InspectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132," + - ".google.privacy.dlp.v2.RiskAnalysisJobCo" + - "nfigH\000\022\016\n\006job_id\030\004 \001(\t\022\023\n\013location_id\030\005 " + - "\001(\tB\005\n\003job\"\336\001\n\026ListJobTriggersRequest\0225\n" + - "\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.co" + - "m/JobTrigger\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage" + - "_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030" + - "\005 \001(\t\022/\n\004type\030\006 \001(\0162!.google.privacy.dlp" + - ".v2.DlpJobType\022\023\n\013location_id\030\007 \001(\t\"k\n\027L" + - "istJobTriggersResponse\0227\n\014job_triggers\030\001" + - " \003(\0132!.google.privacy.dlp.v2.JobTrigger\022" + - "\027\n\017next_page_token\030\002 \001(\t\"N\n\027DeleteJobTri" + - "ggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.g" + - "oogleapis.com/JobTrigger\"\335\001\n\020InspectJobC" + - "onfig\022<\n\016storage_config\030\001 \001(\0132$.google.p" + - "rivacy.dlp.v2.StorageConfig\022<\n\016inspect_c" + - "onfig\030\002 \001(\0132$.google.privacy.dlp.v2.Insp" + - "ectConfig\022\035\n\025inspect_template_name\030\003 \001(\t" + - "\022.\n\007actions\030\004 \003(\0132\035.google.privacy.dlp.v" + - "2.Action\"\353\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004typ" + - "e\030\002 \001(\0162!.google.privacy.dlp.v2.DlpJobTy" + - "pe\0225\n\005state\030\003 \001(\0162&.google.privacy.dlp.v" + - "2.DlpJob.JobState\022K\n\014risk_details\030\004 \001(\0132" + - "3.google.privacy.dlp.v2.AnalyzeDataSourc" + - "eRiskDetailsH\000\022J\n\017inspect_details\030\005 \001(\0132" + - "/.google.privacy.dlp.v2.InspectDataSourc" + - "eDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032.google" + - ".protobuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132" + - "\032.google.protobuf.Timestamp\022,\n\010end_time\030" + - "\010 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020job" + - "_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.go" + - "ogle.privacy.dlp.v2.Error\"o\n\010JobState\022\031\n" + - "\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n" + - "\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FA" + - "ILED\020\005\022\n\n\006ACTIVE\020\006:\177\352A|\n\031dlp.googleapis." + - "com/DlpJob\022$projects/{project}/dlpJobs/{" + - "dlp_job}\0229projects/{project}/locations/{" + - "location}/dlpJobs/{dlp_job}B\t\n\007details\"C" + - "\n\020GetDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + - "\n\031dlp.googleapis.com/DlpJob\"\326\001\n\022ListDlpJ" + - "obsRequest\0221\n\006parent\030\004 \001(\tB!\340A\002\372A\033\022\031dlp." + - "googleapis.com/DlpJob\022\016\n\006filter\030\001 \001(\t\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004" + - "type\030\005 \001(\0162!.google.privacy.dlp.v2.DlpJo" + - "bType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030\007" + - " \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(" + - "\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017next" + - "_page_token\030\002 \001(\t\"F\n\023CancelDlpJobRequest" + - "\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.c" + - "om/DlpJob\"F\n\023FinishDlpJobRequest\022/\n\004name" + - "\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJo" + - "b\"F\n\023DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB!" + - "\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037Cr" + - "eateDeidentifyTemplateRequest\022=\n\006parent\030" + - "\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deiden" + - "tifyTemplate\022K\n\023deidentify_template\030\002 \001(" + - "\0132).google.privacy.dlp.v2.DeidentifyTemp" + - "lateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013locati" + - "on_id\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplate" + - "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googl" + - "eapis.com/DeidentifyTemplate\022F\n\023deidenti" + - "fy_template\030\002 \001(\0132).google.privacy.dlp.v" + - "2.DeidentifyTemplate\022/\n\013update_mask\030\003 \001(" + - "\0132\032.google.protobuf.FieldMask\"[\n\034GetDeid" + - "entifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + - "\372A\'\n%dlp.googleapis.com/DeidentifyTempla" + - "te\"\255\001\n\036ListDeidentifyTemplatesRequest\022=\n" + - "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.co" + - "m/DeidentifyTemplate\022\022\n\npage_token\030\002 \001(\t" + - "\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n" + - "\013location_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTem" + - "platesResponse\022G\n\024deidentify_templates\030\001" + - " \003(\0132).google.privacy.dlp.v2.DeidentifyT" + - "emplate\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037Dele" + - "teDeidentifyTemplateRequest\022;\n\004name\030\001 \001(" + - "\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deidentify" + - "Template\"\364\001\n\033LargeCustomDictionaryConfig" + - "\022<\n\013output_path\030\001 \001(\0132\'.google.privacy.d" + - "lp.v2.CloudStoragePath\022L\n\026cloud_storage_" + - "file_set\030\002 \001(\0132*.google.privacy.dlp.v2.C" + - "loudStorageFileSetH\000\022?\n\017big_query_field\030" + - "\003 \001(\0132$.google.privacy.dlp.v2.BigQueryFi" + - "eldH\000B\010\n\006source\"8\n\032LargeCustomDictionary" + - "Stats\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024St" + - "oredInfoTypeConfig\022\024\n\014display_name\030\001 \001(\t" + - "\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_di" + - "ctionary\030\003 \001(\01322.google.privacy.dlp.v2.L" + - "argeCustomDictionaryConfigH\000\022F\n\ndictiona" + - "ry\030\004 \001(\01320.google.privacy.dlp.v2.CustomI" + - "nfoType.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.go" + - "ogle.privacy.dlp.v2.CustomInfoType.Regex" + - "H\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027lar" + - "ge_custom_dictionary\030\001 \001(\01321.google.priv" + - "acy.dlp.v2.LargeCustomDictionaryStatsH\000B" + - "\006\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006con" + - "fig\030\001 \001(\0132+.google.privacy.dlp.v2.Stored" + - "InfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*" + - ".google.privacy.dlp.v2.StoredInfoTypeSta" + - "te\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp." + - "v2.Error\0229\n\005stats\030\005 \001(\0132*.google.privacy" + - ".dlp.v2.StoredInfoTypeStats\"\361\003\n\016StoredIn" + - "foType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030" + - "\002 \001(\0132,.google.privacy.dlp.v2.StoredInfo" + - "TypeVersion\022F\n\020pending_versions\030\003 \003(\0132,." + - "google.privacy.dlp.v2.StoredInfoTypeVers" + - "ion:\301\002\352A\275\002\n!dlp.googleapis.com/StoredInf" + - "oType\022?organizations/{organization}/stor" + - "edInfoTypes/{stored_info_type}\0225projects" + - "/{project}/storedInfoTypes/{stored_info_" + - "type}\022Torganizations/{organization}/loca" + - "tions/{location}/storedInfoTypes/{stored" + - "_info_type}\022Jprojects/{project}/location" + - "s/{location}/storedInfoTypes/{stored_inf" + - "o_type}\"\314\001\n\033CreateStoredInfoTypeRequest\022" + - "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis." + - "com/StoredInfoType\022@\n\006config\030\002 \001(\0132+.goo" + - "gle.privacy.dlp.v2.StoredInfoTypeConfigB" + - "\003\340A\002\022\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013loc" + - "ation_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoTypeR" + - "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.google" + - "apis.com/StoredInfoType\022;\n\006config\030\002 \001(\0132" + - "+.google.privacy.dlp.v2.StoredInfoTypeCo" + - "nfig\022/\n\013update_mask\030\003 \001(\0132\032.google.proto" + - "buf.FieldMask\"S\n\030GetStoredInfoTypeReques" + - "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis." + - "com/StoredInfoType\"\245\001\n\032ListStoredInfoTyp" + - "esRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.g" + - "oogleapis.com/StoredInfoType\022\022\n\npage_tok" + - "en\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030" + - "\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"x\n\033ListStored" + - "InfoTypesResponse\022@\n\021stored_info_types\030\001" + - " \003(\0132%.google.privacy.dlp.v2.StoredInfoT" + - "ype\022\027\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteSt" + - "oredInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + - "#\n!dlp.googleapis.com/StoredInfoType\"\224\001\n", - "\036HybridInspectJobTriggerRequest\0223\n\004name\030" + - "\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTri" + - "gger\022=\n\013hybrid_item\030\003 \001(\0132(.google.priva" + - "cy.dlp.v2.HybridContentItem\"\214\001\n\032HybridIn" + - "spectDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + - "\n\031dlp.googleapis.com/DlpJob\022=\n\013hybrid_it" + - "em\030\003 \001(\0132(.google.privacy.dlp.v2.HybridC" + - "ontentItem\"\213\001\n\021HybridContentItem\0220\n\004item" + - "\030\001 \001(\0132\".google.privacy.dlp.v2.ContentIt" + - "em\022D\n\017finding_details\030\002 \001(\0132+.google.pri" + - "vacy.dlp.v2.HybridFindingDetails\"\260\002\n\024Hyb" + - "ridFindingDetails\022;\n\021container_details\030\001" + - " \001(\0132 .google.privacy.dlp.v2.Container\022\023" + - "\n\013file_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022" + - ":\n\rtable_options\030\004 \001(\0132#.google.privacy." + - "dlp.v2.TableOptions\022G\n\006labels\030\005 \003(\01327.go" + - "ogle.privacy.dlp.v2.HybridFindingDetails" + - ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectResp" + - "onse*\273\001\n\022RelationalOperator\022#\n\037RELATIONA" + - "L_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020" + - "\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLE" + - "SS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n" + - "\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014M" + - "atchingType\022\035\n\031MATCHING_TYPE_UNSPECIFIED" + - "\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATC" + - "HING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TY" + - "PE_INVERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023C" + - "ONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021" + - "\n\rCONTENT_IMAGE\020\002*B\n\014MetadataType\022\034\n\030MET" + - "ADATATYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE_METAD" + - "ATA\020\002*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYP" + - "E_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANA" + - "LYSIS\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UN" + - "SPECIFIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANA" + - "LYSIS_JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"ST" + - "ORED_INFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PE" + - "NDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALI" + - "D\020\0042\240L\n\nDlpService\022\333\001\n\016InspectContent\022,." + - "google.privacy.dlp.v2.InspectContentRequ" + - "est\032-.google.privacy.dlp.v2.InspectConte" + - "ntResponse\"l\202\323\344\223\002f\"\'/v2/{parent=projects" + - "/*}/content:inspect:\001*Z8\"3/v2/{parent=pr" + - "ojects/*/locations/*}/content:inspect:\001*" + - "\022\314\001\n\013RedactImage\022).google.privacy.dlp.v2" + - ".RedactImageRequest\032*.google.privacy.dlp" + - ".v2.RedactImageResponse\"f\202\323\344\223\002`\"$/v2/{pa" + - "rent=projects/*}/image:redact:\001*Z5\"0/v2/" + - "{parent=projects/*/locations/*}/image:re" + - "dact:\001*\022\352\001\n\021DeidentifyContent\022/.google.p" + - "rivacy.dlp.v2.DeidentifyContentRequest\0320" + - ".google.privacy.dlp.v2.DeidentifyContent" + - "Response\"r\202\323\344\223\002l\"*/v2/{parent=projects/*" + - "}/content:deidentify:\001*Z;\"6/v2/{parent=p" + - "rojects/*/locations/*}/content:deidentif" + - "y:\001*\022\352\001\n\021ReidentifyContent\022/.google.priv" + - "acy.dlp.v2.ReidentifyContentRequest\0320.go" + - "ogle.privacy.dlp.v2.ReidentifyContentRes" + - "ponse\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/c" + - "ontent:reidentify:\001*Z;\"6/v2/{parent=proj" + - "ects/*/locations/*}/content:reidentify:\001" + - "*\022\260\001\n\rListInfoTypes\022+.google.privacy.dlp" + - ".v2.ListInfoTypesRequest\032,.google.privac" + - "y.dlp.v2.ListInfoTypesResponse\"D\202\323\344\223\0025\022\r" + - "/v2/infoTypesZ$\022\"/v2/{parent=locations/*" + - "}/infoTypes\332A\006parent\022\364\002\n\025CreateInspectTe" + - "mplate\0223.google.privacy.dlp.v2.CreateIns" + - "pectTemplateRequest\032&.google.privacy.dlp" + - ".v2.InspectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{pare" + - "nt=organizations/*}/inspectTemplates:\001*Z" + - ">\"9/v2/{parent=organizations/*/locations" + - "/*}/inspectTemplates:\001*Z-\"(/v2/{parent=p" + - "rojects/*}/inspectTemplates:\001*Z9\"4/v2/{p" + - "arent=projects/*/locations/*}/inspectTem" + - "plates:\001*\332A\027parent,inspect_template\022\376\002\n\025" + - "UpdateInspectTemplate\0223.google.privacy.d" + - "lp.v2.UpdateInspectTemplateRequest\032&.goo" + - "gle.privacy.dlp.v2.InspectTemplate\"\207\002\202\323\344" + - "\223\002\334\0012-/v2/{name=organizations/*/inspectT" + - "emplates/*}:\001*Z>29/v2/{name=organization" + - "s/*/locations/*/inspectTemplates/*}:\001*Z-" + - "2(/v2/{name=projects/*/inspectTemplates/" + - "*}:\001*Z924/v2/{name=projects/*/locations/" + - "*/inspectTemplates/*}:\001*\332A!name,inspect_" + - "template,update_mask\022\317\002\n\022GetInspectTempl" + - "ate\0220.google.privacy.dlp.v2.GetInspectTe" + - "mplateRequest\032&.google.privacy.dlp.v2.In" + - "spectTemplate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organ" + - "izations/*/inspectTemplates/*}Z;\0229/v2/{n" + - "ame=organizations/*/locations/*/inspectT" + - "emplates/*}Z*\022(/v2/{name=projects/*/insp" + - "ectTemplates/*}Z6\0224/v2/{name=projects/*/" + - "locations/*/inspectTemplates/*}\332A\004name\022\342" + - "\002\n\024ListInspectTemplates\0222.google.privacy" + - ".dlp.v2.ListInspectTemplatesRequest\0323.go" + - "ogle.privacy.dlp.v2.ListInspectTemplates" + - "Response\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organiza" + - "tions/*}/inspectTemplatesZ;\0229/v2/{parent" + - "=organizations/*/locations/*}/inspectTem" + - "platesZ*\022(/v2/{parent=projects/*}/inspec" + - "tTemplatesZ6\0224/v2/{parent=projects/*/loc" + - "ations/*}/inspectTemplates\332A\006parent\022\305\002\n\025" + - "DeleteInspectTemplate\0223.google.privacy.d" + - "lp.v2.DeleteInspectTemplateRequest\032\026.goo" + - "gle.protobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=" + - "organizations/*/inspectTemplates/*}Z;*9/" + - "v2/{name=organizations/*/locations/*/ins" + - "pectTemplates/*}Z**(/v2/{name=projects/*" + - "/inspectTemplates/*}Z6*4/v2/{name=projec" + - "ts/*/locations/*/inspectTemplates/*}\332A\004n" + - "ame\022\214\003\n\030CreateDeidentifyTemplate\0226.googl" + - "e.privacy.dlp.v2.CreateDeidentifyTemplat" + - "eRequest\032).google.privacy.dlp.v2.Deident" + - "ifyTemplate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organ" + - "izations/*}/deidentifyTemplates:\001*ZA\"\022\022*" + - "\"9/" + - "v2/{name=projects/*/locations/*/dlpJobs/" + - "*}:hybridInspect:\001*\332A\004name\022\221\001\n\014FinishDlp" + - "Job\022*.google.privacy.dlp.v2.FinishDlpJob" + - "Request\032\026.google.protobuf.Empty\"=\202\323\344\223\0027\"" + - "2/v2/{name=projects/*/locations/*/dlpJob" + - "s/*}:finish:\001*\032F\312A\022dlp.googleapis.com\322A." + - "https://www.googleapis.com/auth/cloud-pl" + - "atformB\372\002\n\031com.google.privacy.dlp.v2B\010Dl" + - "pProtoP\001Z8google.golang.org/genproto/goo" + - "gleapis/privacy/dlp/v2;dlp\252\002\023Google.Clou" + - "d.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google:" + - ":Cloud::Dlp::V2\352Ar\n\035dlp.googleapis.com/D" + - "lpContent\022\035projects/{project}/dlpContent" + - "\0222projects/{project}/locations/{location" + - "}/dlpContent\352A\\\n\'dlp.googleapis.com/Orga" + - "nizationLocation\0221organizations/{organiz" + - "ation}/locations/{location}b\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.privacy.dlp.v2.DlpStorage.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor, - new java.lang.String[] { "InfoTypes", }); - internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor, - new java.lang.String[] { "Dictionary", "Regex", "ExcludeInfoTypes", "MatchingType", "Type", }); - internal_static_google_privacy_dlp_v2_InspectionRule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectionRule_descriptor, - new java.lang.String[] { "HotwordRule", "ExclusionRule", "Type", }); - internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor, - new java.lang.String[] { "InfoTypes", "Rules", }); - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor, - new java.lang.String[] { "InfoTypes", "MinLikelihood", "Limits", "IncludeQuote", "ExcludeInfoTypes", "CustomInfoTypes", "ContentOptions", "RuleSet", }); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor = - internal_static_google_privacy_dlp_v2_InspectConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor, - new java.lang.String[] { "MaxFindingsPerItem", "MaxFindingsPerRequest", "MaxFindingsPerInfoType", }); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor = - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor, - new java.lang.String[] { "InfoType", "MaxFindings", }); - internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor, - new java.lang.String[] { "Type", "Data", }); - internal_static_google_privacy_dlp_v2_ContentItem_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ContentItem_descriptor, - new java.lang.String[] { "Value", "Table", "ByteItem", "DataItem", }); - internal_static_google_privacy_dlp_v2_Table_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Table_descriptor, - new java.lang.String[] { "Headers", "Rows", }); - internal_static_google_privacy_dlp_v2_Table_Row_descriptor = - internal_static_google_privacy_dlp_v2_Table_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Table_Row_descriptor, - new java.lang.String[] { "Values", }); - internal_static_google_privacy_dlp_v2_InspectResult_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectResult_descriptor, - new java.lang.String[] { "Findings", "FindingsTruncated", }); - internal_static_google_privacy_dlp_v2_Finding_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Finding_descriptor, - new java.lang.String[] { "Name", "Quote", "InfoType", "Likelihood", "Location", "CreateTime", "QuoteInfo", "ResourceName", "TriggerName", "Labels", "JobCreateTime", "JobName", "FindingId", }); - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_Finding_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_privacy_dlp_v2_Location_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Location_descriptor, - new java.lang.String[] { "ByteRange", "CodepointRange", "ContentLocations", "Container", }); - internal_static_google_privacy_dlp_v2_ContentLocation_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ContentLocation_descriptor, - new java.lang.String[] { "ContainerName", "RecordLocation", "ImageLocation", "DocumentLocation", "MetadataLocation", "ContainerTimestamp", "ContainerVersion", "Location", }); - internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor, - new java.lang.String[] { "Type", "StorageLabel", "Label", }); - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor, - new java.lang.String[] { "Key", }); - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor, - new java.lang.String[] { "FileOffset", }); - internal_static_google_privacy_dlp_v2_RecordLocation_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordLocation_descriptor, - new java.lang.String[] { "RecordKey", "FieldId", "TableLocation", }); - internal_static_google_privacy_dlp_v2_TableLocation_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableLocation_descriptor, - new java.lang.String[] { "RowIndex", }); - internal_static_google_privacy_dlp_v2_Container_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Container_descriptor, - new java.lang.String[] { "Type", "ProjectId", "FullPath", "RootPath", "RelativePath", "UpdateTime", "Version", }); - internal_static_google_privacy_dlp_v2_Range_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Range_descriptor, - new java.lang.String[] { "Start", "End", }); - internal_static_google_privacy_dlp_v2_ImageLocation_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageLocation_descriptor, - new java.lang.String[] { "BoundingBoxes", }); - internal_static_google_privacy_dlp_v2_BoundingBox_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BoundingBox_descriptor, - new java.lang.String[] { "Top", "Left", "Width", "Height", }); - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor, - new java.lang.String[] { "Parent", "LocationId", "InspectConfig", "ImageRedactionConfigs", "IncludeFindings", "ByteItem", }); - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor = - internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor, - new java.lang.String[] { "InfoType", "RedactAllText", "RedactionColor", "Target", }); - internal_static_google_privacy_dlp_v2_Color_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Color_descriptor, - new java.lang.String[] { "Red", "Green", "Blue", }); - internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor, - new java.lang.String[] { "RedactedImage", "ExtractedText", "InspectResult", }); - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor, - new java.lang.String[] { "Parent", "DeidentifyConfig", "InspectConfig", "Item", "InspectTemplateName", "DeidentifyTemplateName", "LocationId", }); - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor, - new java.lang.String[] { "Item", "Overview", }); - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor, - new java.lang.String[] { "Parent", "ReidentifyConfig", "InspectConfig", "Item", "InspectTemplateName", "ReidentifyTemplateName", "LocationId", }); - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor, - new java.lang.String[] { "Item", "Overview", }); - internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor, - new java.lang.String[] { "Parent", "InspectConfig", "Item", "InspectTemplateName", "LocationId", }); - internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor, - new java.lang.String[] { "Result", }); - internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor, - new java.lang.String[] { "Table", "OutputSchema", "Type", }); - internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor, - new java.lang.String[] { "InfoType", "Count", }); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor, - new java.lang.String[] { "RequestedOptions", "Result", }); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor = - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor, - new java.lang.String[] { "SnapshotInspectTemplate", "JobConfig", }); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor = - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor, - new java.lang.String[] { "ProcessedBytes", "TotalEstimatedBytes", "InfoTypeStats", "HybridStats", }); - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor, - new java.lang.String[] { "ProcessedCount", "AbortedCount", "PendingCount", }); - internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor, - new java.lang.String[] { "Name", "DisplayName", "SupportedBy", "Description", }); - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor, - new java.lang.String[] { "Parent", "LanguageCode", "Filter", "LocationId", }); - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor, - new java.lang.String[] { "InfoTypes", }); - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor, - new java.lang.String[] { "PrivacyMetric", "SourceTable", "Actions", }); - internal_static_google_privacy_dlp_v2_QuasiId_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_QuasiId_descriptor, - new java.lang.String[] { "Field", "InfoType", "CustomTag", "Inferred", "Tag", }); - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor, - new java.lang.String[] { "Table", "QuasiIds", "RelativeFrequency", }); - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor = - internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor, - new java.lang.String[] { "Field", "CustomTag", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor, - new java.lang.String[] { "NumericalStatsConfig", "CategoricalStatsConfig", "KAnonymityConfig", "LDiversityConfig", "KMapEstimationConfig", "DeltaPresenceEstimationConfig", "Type", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor, - new java.lang.String[] { "Field", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor, - new java.lang.String[] { "Field", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor, - new java.lang.String[] { "QuasiIds", "EntityId", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor, - new java.lang.String[] { "QuasiIds", "SensitiveAttribute", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(4); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor, - new java.lang.String[] { "QuasiIds", "RegionCode", "AuxiliaryTables", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor, - new java.lang.String[] { "Field", "InfoType", "CustomTag", "Inferred", "Tag", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor, - new java.lang.String[] { "Table", "QuasiIds", "RelativeFrequency", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor, - new java.lang.String[] { "Field", "CustomTag", }); - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor = - internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(5); - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor, - new java.lang.String[] { "QuasiIds", "RegionCode", "AuxiliaryTables", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor, - new java.lang.String[] { "RequestedPrivacyMetric", "RequestedSourceTable", "NumericalStatsResult", "CategoricalStatsResult", "KAnonymityResult", "LDiversityResult", "KMapEstimationResult", "DeltaPresenceEstimationResult", "RequestedOptions", "Result", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor, - new java.lang.String[] { "MinValue", "MaxValue", "QuantileValues", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor, - new java.lang.String[] { "ValueFrequencyHistogramBuckets", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor, - new java.lang.String[] { "ValueFrequencyLowerBound", "ValueFrequencyUpperBound", "BucketSize", "BucketValues", "BucketValueCount", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor, - new java.lang.String[] { "EquivalenceClassHistogramBuckets", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor, - new java.lang.String[] { "QuasiIdsValues", "EquivalenceClassSize", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor, - new java.lang.String[] { "EquivalenceClassSizeLowerBound", "EquivalenceClassSizeUpperBound", "BucketSize", "BucketValues", "BucketValueCount", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor, - new java.lang.String[] { "SensitiveValueFrequencyHistogramBuckets", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor, - new java.lang.String[] { "QuasiIdsValues", "EquivalenceClassSize", "NumDistinctSensitiveValues", "TopSensitiveValues", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor, - new java.lang.String[] { "SensitiveValueFrequencyLowerBound", "SensitiveValueFrequencyUpperBound", "BucketSize", "BucketValues", "BucketValueCount", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(4); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor, - new java.lang.String[] { "KMapEstimationHistogram", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor, - new java.lang.String[] { "QuasiIdsValues", "EstimatedAnonymity", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor, - new java.lang.String[] { "MinAnonymity", "MaxAnonymity", "BucketSize", "BucketValues", "BucketValueCount", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(5); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor, - new java.lang.String[] { "DeltaPresenceEstimationHistogram", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor, - new java.lang.String[] { "QuasiIdsValues", "EstimatedProbability", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor, - new java.lang.String[] { "MinProbability", "MaxProbability", "BucketSize", "BucketValues", "BucketValueCount", }); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor = - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor.getNestedTypes().get(6); - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor, - new java.lang.String[] { "JobConfig", }); - internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor, - new java.lang.String[] { "Value", "Count", }); - internal_static_google_privacy_dlp_v2_Value_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Value_descriptor, - new java.lang.String[] { "IntegerValue", "FloatValue", "StringValue", "BooleanValue", "TimestampValue", "TimeValue", "DateValue", "DayOfWeekValue", "Type", }); - internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor, - new java.lang.String[] { "DateTime", "ParsedQuote", }); - internal_static_google_privacy_dlp_v2_DateTime_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DateTime_descriptor, - new java.lang.String[] { "Date", "DayOfWeek", "Time", "TimeZone", }); - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor = - internal_static_google_privacy_dlp_v2_DateTime_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor, - new java.lang.String[] { "OffsetMinutes", }); - internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor, - new java.lang.String[] { "InfoTypeTransformations", "RecordTransformations", "TransformationErrorHandling", "Transformation", }); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor, - new java.lang.String[] { "ThrowError", "LeaveUntransformed", "Mode", }); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor = - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor = - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor, - new java.lang.String[] { "ReplaceConfig", "RedactConfig", "CharacterMaskConfig", "CryptoReplaceFfxFpeConfig", "FixedSizeBucketingConfig", "BucketingConfig", "ReplaceWithInfoTypeConfig", "TimePartConfig", "CryptoHashConfig", "DateShiftConfig", "CryptoDeterministicConfig", "ReplaceDictionaryConfig", "Transformation", }); - internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor, - new java.lang.String[] { "PartToExtract", }); - internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor, - new java.lang.String[] { "CryptoKey", }); - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor, - new java.lang.String[] { "CryptoKey", "SurrogateInfoType", "Context", }); - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor, - new java.lang.String[] { "NewValue", }); - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor, - new java.lang.String[] { "WordList", "Type", }); - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_RedactConfig_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RedactConfig_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor, - new java.lang.String[] { "CharactersToSkip", "CommonCharactersToIgnore", "Characters", }); - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor, - new java.lang.String[] { "MaskingCharacter", "NumberToMask", "ReverseOrder", "CharactersToIgnore", }); - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor, - new java.lang.String[] { "LowerBound", "UpperBound", "BucketSize", }); - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor, - new java.lang.String[] { "Buckets", }); - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor = - internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor, - new java.lang.String[] { "Min", "Max", "ReplacementValue", }); - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor, - new java.lang.String[] { "CryptoKey", "Context", "CommonAlphabet", "CustomAlphabet", "Radix", "SurrogateInfoType", "Alphabet", }); - internal_static_google_privacy_dlp_v2_CryptoKey_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CryptoKey_descriptor, - new java.lang.String[] { "Transient", "Unwrapped", "KmsWrapped", "Source", }); - internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor, - new java.lang.String[] { "Key", }); - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor, - new java.lang.String[] { "WrappedKey", "CryptoKeyName", }); - internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor, - new java.lang.String[] { "UpperBoundDays", "LowerBoundDays", "Context", "CryptoKey", "Method", }); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor = - getDescriptor().getMessageTypes().get(66); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor, - new java.lang.String[] { "Transformations", }); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor = - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor, - new java.lang.String[] { "InfoTypes", "PrimitiveTransformation", }); - internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor = - getDescriptor().getMessageTypes().get(67); - internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor, - new java.lang.String[] { "Fields", "Condition", "PrimitiveTransformation", "InfoTypeTransformations", "Transformation", }); - internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor = - getDescriptor().getMessageTypes().get(68); - internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor, - new java.lang.String[] { "FieldTransformations", "RecordSuppressions", }); - internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor = - getDescriptor().getMessageTypes().get(69); - internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor, - new java.lang.String[] { "Condition", }); - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor = - getDescriptor().getMessageTypes().get(70); - internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor, - new java.lang.String[] { "Expressions", }); - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor = - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor, - new java.lang.String[] { "Field", "Operator", "Value", }); - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor = - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor, - new java.lang.String[] { "Conditions", }); - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor = - internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor, - new java.lang.String[] { "LogicalOperator", "Conditions", "Type", }); - internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor = - getDescriptor().getMessageTypes().get(71); - internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor, - new java.lang.String[] { "TransformedBytes", "TransformationSummaries", }); - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor = - getDescriptor().getMessageTypes().get(72); - internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor, - new java.lang.String[] { "InfoType", "Field", "Transformation", "FieldTransformations", "RecordSuppress", "Results", "TransformedBytes", }); - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor = - internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor, - new java.lang.String[] { "Count", "Code", "Details", }); - internal_static_google_privacy_dlp_v2_Schedule_descriptor = - getDescriptor().getMessageTypes().get(73); - internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Schedule_descriptor, - new java.lang.String[] { "RecurrencePeriodDuration", "Option", }); - internal_static_google_privacy_dlp_v2_Manual_descriptor = - getDescriptor().getMessageTypes().get(74); - internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Manual_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor = - getDescriptor().getMessageTypes().get(75); - internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "InspectConfig", }); - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor = - getDescriptor().getMessageTypes().get(76); - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "DeidentifyConfig", }); - internal_static_google_privacy_dlp_v2_Error_descriptor = - getDescriptor().getMessageTypes().get(77); - internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Error_descriptor, - new java.lang.String[] { "Details", "Timestamps", }); - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor = - getDescriptor().getMessageTypes().get(78); - internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "InspectJob", "Triggers", "Errors", "CreateTime", "UpdateTime", "LastRunTime", "Status", "Job", }); - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor = - internal_static_google_privacy_dlp_v2_JobTrigger_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor, - new java.lang.String[] { "Schedule", "Manual", "Trigger", }); - internal_static_google_privacy_dlp_v2_Action_descriptor = - getDescriptor().getMessageTypes().get(79); - internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_descriptor, - new java.lang.String[] { "SaveFindings", "PubSub", "PublishSummaryToCscc", "PublishFindingsToCloudDataCatalog", "JobNotificationEmails", "PublishToStackdriver", "Action", }); - internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor, - new java.lang.String[] { "OutputConfig", }); - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor, - new java.lang.String[] { "Topic", }); - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(80); - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor, - new java.lang.String[] { "Parent", "InspectTemplate", "TemplateId", "LocationId", }); - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(81); - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor, - new java.lang.String[] { "Name", "InspectTemplate", "UpdateMask", }); - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(82); - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(83); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(84); - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor, - new java.lang.String[] { "InspectTemplates", "NextPageToken", }); - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(85); - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(86); - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor, - new java.lang.String[] { "Parent", "JobTrigger", "TriggerId", "LocationId", }); - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(87); - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(88); - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, - new java.lang.String[] { "Name", "JobTrigger", "UpdateMask", }); - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(89); - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(90); - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, - new java.lang.String[] { "Parent", "InspectJob", "RiskJob", "JobId", "LocationId", "Job", }); - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = - getDescriptor().getMessageTypes().get(91); - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "Type", "LocationId", }); - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = - getDescriptor().getMessageTypes().get(92); - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, - new java.lang.String[] { "JobTriggers", "NextPageToken", }); - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(93); - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = - getDescriptor().getMessageTypes().get(94); - internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, - new java.lang.String[] { "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", }); - internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(95); - internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DlpJob_descriptor, - new java.lang.String[] { "Name", "Type", "State", "RiskDetails", "InspectDetails", "CreateTime", "StartTime", "EndTime", "JobTriggerName", "Errors", "Details", }); - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(96); - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(97); - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", "LocationId", }); - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(98); - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, - new java.lang.String[] { "Jobs", "NextPageToken", }); - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(99); - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(100); - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(101); - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(102); - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { "Parent", "DeidentifyTemplate", "TemplateId", "LocationId", }); - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(103); - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { "Name", "DeidentifyTemplate", "UpdateMask", }); - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(104); - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(105); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(106); - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, - new java.lang.String[] { "DeidentifyTemplates", "NextPageToken", }); - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(107); - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(108); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, - new java.lang.String[] { "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", }); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = - getDescriptor().getMessageTypes().get(109); - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, - new java.lang.String[] { "ApproxNumPhrases", }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(110); - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, - new java.lang.String[] { "DisplayName", "Description", "LargeCustomDictionary", "Dictionary", "Regex", "Type", }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(111); - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, - new java.lang.String[] { "LargeCustomDictionary", "Type", }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = - getDescriptor().getMessageTypes().get(112); - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, - new java.lang.String[] { "Config", "CreateTime", "State", "Errors", "Stats", }); - internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = - getDescriptor().getMessageTypes().get(113); - internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, - new java.lang.String[] { "Name", "CurrentVersion", "PendingVersions", }); - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(114); - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, - new java.lang.String[] { "Parent", "Config", "StoredInfoTypeId", "LocationId", }); - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(115); - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, - new java.lang.String[] { "Name", "Config", "UpdateMask", }); - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(116); - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(117); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(118); - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, - new java.lang.String[] { "StoredInfoTypes", "NextPageToken", }); - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(119); - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(120); - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor, - new java.lang.String[] { "Name", "HybridItem", }); - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(121); - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor, - new java.lang.String[] { "Name", "HybridItem", }); - internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor = - getDescriptor().getMessageTypes().get(122); - internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor, - new java.lang.String[] { "Item", "FindingDetails", }); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor = - getDescriptor().getMessageTypes().get(123); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor, - new java.lang.String[] { "ContainerDetails", "FileOffset", "RowOffset", "TableOptions", "Labels", }); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor = - getDescriptor().getMessageTypes().get(124); - internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor, - new java.lang.String[] { }); - 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.resourceDefinition); - 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.privacy.dlp.v2.DlpStorage.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java deleted file mode 100644 index c03c46d5..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ /dev/null @@ -1,543 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/storage.proto - -package com.google.privacy.dlp.v2; - -public final class DlpStorage { - private DlpStorage() {} - 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_privacy_dlp_v2_InfoType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StoredType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_FieldId_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_PartitionId_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_KindExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Key_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_EntityId_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableOptions_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/privacy/dlp/v2/storage.proto\022\025g" + - "oogle.privacy.dlp.v2\032\031google/api/resourc" + - "e.proto\032\037google/protobuf/timestamp.proto" + - "\")\n\010InfoType\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 " + - "\001(\t\"K\n\nStoredType\022\014\n\004name\030\001 \001(\t\022/\n\013creat" + - "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "\"\310\013\n\016CustomInfoType\0222\n\tinfo_type\030\001 \001(\0132\037" + - ".google.privacy.dlp.v2.InfoType\0225\n\nlikel" + - "ihood\030\006 \001(\0162!.google.privacy.dlp.v2.Like" + - "lihood\022F\n\ndictionary\030\002 \001(\01320.google.priv" + - "acy.dlp.v2.CustomInfoType.DictionaryH\000\022<" + - "\n\005regex\030\003 \001(\0132+.google.privacy.dlp.v2.Cu" + - "stomInfoType.RegexH\000\022M\n\016surrogate_type\030\004" + - " \001(\01323.google.privacy.dlp.v2.CustomInfoT" + - "ype.SurrogateTypeH\000\0228\n\013stored_type\030\005 \001(\013" + - "2!.google.privacy.dlp.v2.StoredTypeH\000\022L\n" + - "\017detection_rules\030\007 \003(\01323.google.privacy." + - "dlp.v2.CustomInfoType.DetectionRule\022K\n\016e" + - "xclusion_type\030\010 \001(\01623.google.privacy.dlp" + - ".v2.CustomInfoType.ExclusionType\032\310\001\n\nDic" + - "tionary\022N\n\tword_list\030\001 \001(\01329.google.priv" + - "acy.dlp.v2.CustomInfoType.Dictionary.Wor" + - "dListH\000\022E\n\022cloud_storage_path\030\003 \001(\0132\'.go" + - "ogle.privacy.dlp.v2.CloudStoragePathH\000\032\031" + - "\n\010WordList\022\r\n\005words\030\001 \003(\tB\010\n\006source\032/\n\005R" + - "egex\022\017\n\007pattern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002" + - " \003(\005\032\017\n\rSurrogateType\032\276\004\n\rDetectionRule\022" + - "W\n\014hotword_rule\030\001 \001(\0132?.google.privacy.d" + - "lp.v2.CustomInfoType.DetectionRule.Hotwo" + - "rdRuleH\000\0328\n\tProximity\022\025\n\rwindow_before\030\001" + - " \001(\005\022\024\n\014window_after\030\002 \001(\005\032\202\001\n\024Likelihoo" + - "dAdjustment\022=\n\020fixed_likelihood\030\001 \001(\0162!." + - "google.privacy.dlp.v2.LikelihoodH\000\022\035\n\023re" + - "lative_likelihood\030\002 \001(\005H\000B\014\n\nadjustment\032" + - "\214\002\n\013HotwordRule\022B\n\rhotword_regex\030\001 \001(\0132+" + - ".google.privacy.dlp.v2.CustomInfoType.Re" + - "gex\022P\n\tproximity\030\002 \001(\0132=.google.privacy." + - "dlp.v2.CustomInfoType.DetectionRule.Prox" + - "imity\022g\n\025likelihood_adjustment\030\003 \001(\0132H.g" + - "oogle.privacy.dlp.v2.CustomInfoType.Dete" + - "ctionRule.LikelihoodAdjustmentB\006\n\004type\"K" + - "\n\rExclusionType\022\036\n\032EXCLUSION_TYPE_UNSPEC" + - "IFIED\020\000\022\032\n\026EXCLUSION_TYPE_EXCLUDE\020\001B\006\n\004t" + - "ype\"\027\n\007FieldId\022\014\n\004name\030\001 \001(\t\"7\n\013Partitio" + - "nId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014namespace_id\030" + - "\004 \001(\t\"\036\n\016KindExpression\022\014\n\004name\030\001 \001(\t\"\201\001" + - "\n\020DatastoreOptions\0228\n\014partition_id\030\001 \001(\013" + - "2\".google.privacy.dlp.v2.PartitionId\0223\n\004" + - "kind\030\002 \001(\0132%.google.privacy.dlp.v2.KindE" + - "xpression\"]\n\030CloudStorageRegexFileSet\022\023\n" + - "\013bucket_name\030\001 \001(\t\022\025\n\rinclude_regex\030\002 \003(" + - "\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003\n\023CloudStorag" + - "eOptions\022D\n\010file_set\030\001 \001(\01322.google.priv" + - "acy.dlp.v2.CloudStorageOptions.FileSet\022\034" + - "\n\024bytes_limit_per_file\030\004 \001(\003\022$\n\034bytes_li" + - "mit_per_file_percent\030\010 \001(\005\0223\n\nfile_types" + - "\030\005 \003(\0162\037.google.privacy.dlp.v2.FileType\022" + - "N\n\rsample_method\030\006 \001(\01627.google.privacy." + - "dlp.v2.CloudStorageOptions.SampleMethod\022" + - "\033\n\023files_limit_percent\030\007 \001(\005\032_\n\007FileSet\022" + - "\013\n\003url\030\001 \001(\t\022G\n\016regex_file_set\030\002 \001(\0132/.g" + - "oogle.privacy.dlp.v2.CloudStorageRegexFi" + - "leSet\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_U" + - "NSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"" + - "\"\n\023CloudStorageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020C" + - "loudStoragePath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQue" + - "ryOptions\022=\n\017table_reference\030\001 \001(\0132$.goo" + - "gle.privacy.dlp.v2.BigQueryTable\022:\n\022iden" + - "tifying_fields\030\002 \003(\0132\036.google.privacy.dl" + - "p.v2.FieldId\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows" + - "_limit_percent\030\006 \001(\005\022J\n\rsample_method\030\004 " + - "\001(\01623.google.privacy.dlp.v2.BigQueryOpti" + - "ons.SampleMethod\0227\n\017excluded_fields\030\005 \003(" + - "\0132\036.google.privacy.dlp.v2.FieldId\0227\n\017inc" + - "luded_fields\030\007 \003(\0132\036.google.privacy.dlp." + - "v2.FieldId\"H\n\014SampleMethod\022\035\n\031SAMPLE_MET" + - "HOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_STA" + - "RT\020\002\"\332\004\n\rStorageConfig\022D\n\021datastore_opti" + - "ons\030\002 \001(\0132\'.google.privacy.dlp.v2.Datast" + - "oreOptionsH\000\022K\n\025cloud_storage_options\030\003 " + - "\001(\0132*.google.privacy.dlp.v2.CloudStorage" + - "OptionsH\000\022C\n\021big_query_options\030\004 \001(\0132&.g" + - "oogle.privacy.dlp.v2.BigQueryOptionsH\000\022>" + - "\n\016hybrid_options\030\t \001(\0132$.google.privacy." + - "dlp.v2.HybridOptionsH\000\022L\n\017timespan_confi" + - "g\030\006 \001(\01323.google.privacy.dlp.v2.StorageC" + - "onfig.TimespanConfig\032\332\001\n\016TimespanConfig\022" + - ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022,\n\010end_time\030\002 \001(\0132\032.google.proto" + - "buf.Timestamp\0227\n\017timestamp_field\030\003 \001(\0132\036" + - ".google.privacy.dlp.v2.FieldId\0221\n)enable" + - "_auto_population_of_timespan_config\030\004 \001(" + - "\010B\006\n\004type\"\366\001\n\rHybridOptions\022\023\n\013descripti" + - "on\030\001 \001(\t\022#\n\033required_finding_label_keys\030" + - "\002 \003(\t\022@\n\006labels\030\003 \003(\01320.google.privacy.d" + - "lp.v2.HybridOptions.LabelsEntry\022:\n\rtable" + - "_options\030\004 \001(\0132#.google.privacy.dlp.v2.T" + - "ableOptions\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + - "\r\n\005value\030\002 \001(\t:\0028\001\"`\n\013BigQueryKey\022=\n\017tab" + - "le_reference\030\001 \001(\0132$.google.privacy.dlp." + - "v2.BigQueryTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014" + - "DatastoreKey\022.\n\nentity_key\030\001 \001(\0132\032.googl" + - "e.privacy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014partitio" + - "n_id\030\001 \001(\0132\".google.privacy.dlp.v2.Parti" + - "tionId\0224\n\004path\030\002 \003(\0132&.google.privacy.dl" + - "p.v2.Key.PathElement\032D\n\013PathElement\022\014\n\004k" + - "ind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B" + - "\t\n\007id_type\"\241\001\n\tRecordKey\022<\n\rdatastore_ke" + - "y\030\002 \001(\0132#.google.privacy.dlp.v2.Datastor" + - "eKeyH\000\022;\n\rbig_query_key\030\003 \001(\0132\".google.p" + - "rivacy.dlp.v2.BigQueryKeyH\000\022\021\n\tid_values" + - "\030\005 \003(\tB\006\n\004type\"I\n\rBigQueryTable\022\022\n\nproje" + - "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" + - "_id\030\003 \001(\t\"s\n\rBigQueryField\0223\n\005table\030\001 \001(" + - "\0132$.google.privacy.dlp.v2.BigQueryTable\022" + - "-\n\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.F" + - "ieldId\"9\n\010EntityId\022-\n\005field\030\001 \001(\0132\036.goog" + - "le.privacy.dlp.v2.FieldId\"J\n\014TableOption" + - "s\022:\n\022identifying_fields\030\001 \003(\0132\036.google.p" + - "rivacy.dlp.v2.FieldId*t\n\nLikelihood\022\032\n\026L" + - "IKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY" + - "\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY" + - "\020\004\022\017\n\013VERY_LIKELY\020\005*\232\001\n\010FileType\022\031\n\025FILE" + - "_TYPE_UNSPECIFIED\020\000\022\017\n\013BINARY_FILE\020\001\022\r\n\t" + - "TEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n\003PDF\020" + - "\006\022\010\n\004AVRO\020\007\022\007\n\003CSV\020\010\022\007\n\003TSV\020\t\022\016\n\nPOWERPO" + - "INT\020\013\022\t\n\005EXCEL\020\014B\250\001\n\031com.google.privacy." + - "dlp.v2B\nDlpStorageP\001Z8google.golang.org/" + - "genproto/googleapis/privacy/dlp/v2;dlp\252\002" + - "\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\" + - "V2\352\002\026Google::Cloud::Dlp::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_privacy_dlp_v2_InfoType_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoType_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_privacy_dlp_v2_StoredType_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StoredType_descriptor, - new java.lang.String[] { "Name", "CreateTime", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor, - new java.lang.String[] { "InfoType", "Likelihood", "Dictionary", "Regex", "SurrogateType", "StoredType", "DetectionRules", "ExclusionType", "Type", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor, - new java.lang.String[] { "WordList", "CloudStoragePath", "Source", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor, - new java.lang.String[] { "Words", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor, - new java.lang.String[] { "Pattern", "GroupIndexes", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(3); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor, - new java.lang.String[] { "HotwordRule", "Type", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor, - new java.lang.String[] { "WindowBefore", "WindowAfter", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor, - new java.lang.String[] { "FixedLikelihood", "RelativeLikelihood", "Adjustment", }); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor = - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor, - new java.lang.String[] { "HotwordRegex", "Proximity", "LikelihoodAdjustment", }); - internal_static_google_privacy_dlp_v2_FieldId_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_FieldId_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_PartitionId_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_PartitionId_descriptor, - new java.lang.String[] { "ProjectId", "NamespaceId", }); - internal_static_google_privacy_dlp_v2_KindExpression_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_KindExpression_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor, - new java.lang.String[] { "PartitionId", "Kind", }); - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor, - new java.lang.String[] { "BucketName", "IncludeRegex", "ExcludeRegex", }); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor, - new java.lang.String[] { "FileSet", "BytesLimitPerFile", "BytesLimitPerFilePercent", "FileTypes", "SampleMethod", "FilesLimitPercent", }); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor = - internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor, - new java.lang.String[] { "Url", "RegexFileSet", }); - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor, - new java.lang.String[] { "Url", }); - internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor, - new java.lang.String[] { "Path", }); - internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor, - new java.lang.String[] { "TableReference", "IdentifyingFields", "RowsLimit", "RowsLimitPercent", "SampleMethod", "ExcludedFields", "IncludedFields", }); - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor, - new java.lang.String[] { "DatastoreOptions", "CloudStorageOptions", "BigQueryOptions", "HybridOptions", "TimespanConfig", "Type", }); - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor = - internal_static_google_privacy_dlp_v2_StorageConfig_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "TimestampField", "EnableAutoPopulationOfTimespanConfig", }); - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor, - new java.lang.String[] { "Description", "RequiredFindingLabelKeys", "Labels", "TableOptions", }); - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_HybridOptions_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor, - new java.lang.String[] { "TableReference", "RowNumber", }); - internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor, - new java.lang.String[] { "EntityKey", }); - internal_static_google_privacy_dlp_v2_Key_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Key_descriptor, - new java.lang.String[] { "PartitionId", "Path", }); - internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor = - internal_static_google_privacy_dlp_v2_Key_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor, - new java.lang.String[] { "Kind", "Id", "Name", "IdType", }); - internal_static_google_privacy_dlp_v2_RecordKey_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordKey_descriptor, - new java.lang.String[] { "DatastoreKey", "BigQueryKey", "IdValues", "Type", }); - internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor, - new java.lang.String[] { "ProjectId", "DatasetId", "TableId", }); - internal_static_google_privacy_dlp_v2_BigQueryField_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_BigQueryField_descriptor, - new java.lang.String[] { "Table", "Field", }); - internal_static_google_privacy_dlp_v2_EntityId_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_EntityId_descriptor, - new java.lang.String[] { "Field", }); - internal_static_google_privacy_dlp_v2_TableOptions_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableOptions_descriptor, - new java.lang.String[] { "IdentifyingFields", }); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java deleted file mode 100644 index 0d21b29d..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface DocumentLocationOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DocumentLocation) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Offset of the line, from the beginning of the file, where the finding
-   * is located.
-   * 
- * - * int64 file_offset = 1; - * @return The fileOffset. - */ - long getFileOffset(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java deleted file mode 100644 index 336f5110..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/storage.proto - -package com.google.privacy.dlp.v2; - -public interface FieldIdOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FieldId) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Name describing the field.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Name describing the field.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java deleted file mode 100644 index 35fac50b..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface FinishDlpJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FinishDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the DlpJob resource to be cancelled.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java deleted file mode 100644 index e11b89c3..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetDeidentifyTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the organization and deidentify template to be read, for
-   * example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the organization and deidentify template to be read, for
-   * example `organizations/433245324/deidentifyTemplates/432452342` or
-   * projects/project-id/deidentifyTemplates/432452342.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java deleted file mode 100644 index 1f23a52a..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetDlpJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDlpJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DlpJob resource.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the DlpJob resource.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java deleted file mode 100644 index 42f34c29..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetInspectTemplateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetInspectTemplateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the organization and inspectTemplate to be read, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the organization and inspectTemplate to be read, for
-   * example `organizations/433245324/inspectTemplates/432452342` or
-   * projects/project-id/inspectTemplates/432452342.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java deleted file mode 100644 index c81d0b33..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetJobTriggerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetJobTriggerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the project and the triggeredJob, for example
-   * `projects/dlp-test-project/jobTriggers/53234423`.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java deleted file mode 100644 index 22cd00e8..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface GetStoredInfoTypeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetStoredInfoTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the organization and storedInfoType to be read, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the organization and storedInfoType to be read, for
-   * example `organizations/433245324/storedInfoTypes/432452342` or
-   * projects/project-id/storedInfoTypes/432452342.
-   * 
- * - * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java deleted file mode 100644 index 11529960..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface HybridInspectResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java deleted file mode 100644 index fc82b6b8..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface InfoTypeTransformationsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeTransformations) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getTransformationsList(); - /** - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations(int index); - /** - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getTransformationsCount(); - /** - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getTransformationsOrBuilderList(); - /** - *
-   * Required. Transformation for each infoType. Cannot specify more than one
-   * for a given infoType.
-   * 
- * - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder( - int index); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java deleted file mode 100644 index 42c93757..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/storage.proto - -package com.google.privacy.dlp.v2; - -public interface KindExpressionOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KindExpression) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the kind.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the kind.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java deleted file mode 100644 index d61c9bc3..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface LargeCustomDictionaryStatsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryStats) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Approximate number of distinct phrases in the dictionary.
-   * 
- * - * int64 approx_num_phrases = 1; - * @return The approxNumPhrases. - */ - long getApproxNumPhrases(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java deleted file mode 100644 index 0e9dda65..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface ManualOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Manual) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java deleted file mode 100644 index c52c250e..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface RangeOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Range) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Index of the first character of the range (inclusive).
-   * 
- * - * int64 start = 1; - * @return The start. - */ - long getStart(); - - /** - *
-   * Index of the last character of the range (exclusive).
-   * 
- * - * int64 end = 2; - * @return The end. - */ - long getEnd(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java deleted file mode 100644 index 5bbd13c0..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface RedactConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactConfig) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java deleted file mode 100644 index 8f9400b2..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface ReplaceWithInfoTypeConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java deleted file mode 100644 index aee8b378..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface StorageMetadataLabelOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageMetadataLabel) - com.google.protobuf.MessageOrBuilder { - - /** - * string key = 1; - * @return The key. - */ - java.lang.String getKey(); - /** - * string key = 1; - * @return The bytes for key. - */ - com.google.protobuf.ByteString - getKeyBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java deleted file mode 100644 index ce245761..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/privacy/dlp/v2/dlp.proto - -package com.google.privacy.dlp.v2; - -public interface UnwrappedCryptoKeyOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UnwrappedCryptoKey) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A 128/192/256 bit key.
-   * 
- * - * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The key. - */ - com.google.protobuf.ByteString getKey(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index d6a8b879..0899a8a0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A task to execute on the completion of a job.
  * See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Action}
  */
-public final class Action extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Action extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action)
     ActionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Action.newBuilder() to construct.
   private Action(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Action() {
-  }
+
+  private Action() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Action();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Action(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,145 +69,182 @@ private Action(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.Action.SaveFindings.Builder subBuilder = null;
-            if (actionCase_ == 1) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.SaveFindings) action_).toBuilder();
-            }
-            action_ =
-                input.readMessage(com.google.privacy.dlp.v2.Action.SaveFindings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) action_);
-              action_ = subBuilder.buildPartial();
-            }
-            actionCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder subBuilder = null;
-            if (actionCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_).toBuilder();
-            }
-            action_ =
-                input.readMessage(com.google.privacy.dlp.v2.Action.PublishToPubSub.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_);
-              action_ = subBuilder.buildPartial();
-            }
-            actionCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder subBuilder = null;
-            if (actionCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_).toBuilder();
-            }
-            action_ =
-                input.readMessage(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
-              action_ = subBuilder.buildPartial();
-            }
-            actionCase_ = 3;
-            break;
-          }
-          case 42: {
-            com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder subBuilder = null;
-            if (actionCase_ == 5) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_).toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.Action.SaveFindings.Builder subBuilder = null;
+              if (actionCase_ == 1) {
+                subBuilder = ((com.google.privacy.dlp.v2.Action.SaveFindings) action_).toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.SaveFindings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 1;
+              break;
             }
-            action_ =
-                input.readMessage(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_);
-              action_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder subBuilder = null;
+              if (actionCase_ == 2) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_).toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.PublishToPubSub.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 2;
+              break;
             }
-            actionCase_ = 5;
-            break;
-          }
-          case 66: {
-            com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder subBuilder = null;
-            if (actionCase_ == 8) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_).toBuilder();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder subBuilder = null;
+              if (actionCase_ == 3) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_).toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 3;
+              break;
             }
-            action_ =
-                input.readMessage(com.google.privacy.dlp.v2.Action.JobNotificationEmails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
-              action_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder
+                  subBuilder = null;
+              if (actionCase_ == 5) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_)
+                        .toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 5;
+              break;
             }
-            actionCase_ = 8;
-            break;
-          }
-          case 74: {
-            com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder subBuilder = null;
-            if (actionCase_ == 9) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_).toBuilder();
+          case 66:
+            {
+              com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder subBuilder = null;
+              if (actionCase_ == 8) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_).toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.JobNotificationEmails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 8;
+              break;
             }
-            action_ =
-                input.readMessage(com.google.privacy.dlp.v2.Action.PublishToStackdriver.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_);
-              action_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder subBuilder = null;
+              if (actionCase_ == 9) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_).toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.PublishToStackdriver.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 9;
+              break;
             }
-            actionCase_ = 9;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Action_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class);
   }
 
-  public interface SaveFindingsOrBuilder extends
+  public interface SaveFindingsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.SaveFindings)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + * * @return The outputConfig. */ com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig(); /** + * + * *
      * Location to store findings outside of DLP.
      * 
@@ -201,6 +254,8 @@ public interface SaveFindingsOrBuilder extends com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder(); } /** + * + * *
    * If set, the detailed findings will be persisted to the specified
    * OutputStorageConfig. Only a single instance of this action can be
@@ -210,30 +265,29 @@ public interface SaveFindingsOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings}
    */
-  public static final class SaveFindings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SaveFindings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.SaveFindings)
       SaveFindingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SaveFindings.newBuilder() to construct.
     private SaveFindings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private SaveFindings() {
-    }
+
+    private SaveFindings() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SaveFindings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private SaveFindings(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -252,59 +306,67 @@ private SaveFindings(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.OutputStorageConfig.Builder subBuilder = null;
-              if (outputConfig_ != null) {
-                subBuilder = outputConfig_.toBuilder();
+            case 10:
+              {
+                com.google.privacy.dlp.v2.OutputStorageConfig.Builder subBuilder = null;
+                if (outputConfig_ != null) {
+                  subBuilder = outputConfig_.toBuilder();
+                }
+                outputConfig_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.OutputStorageConfig.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(outputConfig_);
+                  outputConfig_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              outputConfig_ = input.readMessage(com.google.privacy.dlp.v2.OutputStorageConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputConfig_);
-                outputConfig_ = subBuilder.buildPartial();
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.SaveFindings.class, com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
+              com.google.privacy.dlp.v2.Action.SaveFindings.class,
+              com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
     }
 
     public static final int OUTPUT_CONFIG_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.OutputStorageConfig outputConfig_;
     /**
+     *
+     *
      * 
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -312,18 +374,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
      * Location to store findings outside of DLP.
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + * * @return The outputConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() { - return outputConfig_ == null ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
      * Location to store findings outside of DLP.
      * 
@@ -336,6 +405,7 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +417,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (outputConfig_ != null) { output.writeMessage(1, getOutputConfig()); } @@ -362,8 +431,7 @@ public int getSerializedSize() { size = 0; if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -373,17 +441,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.privacy.dlp.v2.Action.SaveFindings)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Action.SaveFindings other = (com.google.privacy.dlp.v2.Action.SaveFindings) obj; + com.google.privacy.dlp.v2.Action.SaveFindings other = + (com.google.privacy.dlp.v2.Action.SaveFindings) obj; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig() - .equals(other.getOutputConfig())) return false; + if (!getOutputConfig().equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -405,88 +473,94 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.SaveFindings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.Action.SaveFindings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action.SaveFindings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Action.SaveFindings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -496,6 +570,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * If set, the detailed findings will be persisted to the specified
      * OutputStorageConfig. Only a single instance of this action can be
@@ -505,21 +581,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.SaveFindings)
         com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.SaveFindings.class, com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
+                com.google.privacy.dlp.v2.Action.SaveFindings.class,
+                com.google.privacy.dlp.v2.Action.SaveFindings.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.SaveFindings.newBuilder()
@@ -527,16 +606,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -550,9 +628,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor;
       }
 
       @java.lang.Override
@@ -571,7 +649,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindings build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.SaveFindings buildPartial() {
-        com.google.privacy.dlp.v2.Action.SaveFindings result = new com.google.privacy.dlp.v2.Action.SaveFindings(this);
+        com.google.privacy.dlp.v2.Action.SaveFindings result =
+            new com.google.privacy.dlp.v2.Action.SaveFindings(this);
         if (outputConfigBuilder_ == null) {
           result.outputConfig_ = outputConfig_;
         } else {
@@ -585,38 +664,41 @@ public com.google.privacy.dlp.v2.Action.SaveFindings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.SaveFindings) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -624,7 +706,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.SaveFindings other) {
-        if (other == com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance())
+          return this;
         if (other.hasOutputConfig()) {
           mergeOutputConfig(other.getOutputConfig());
         }
@@ -659,34 +742,47 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.OutputStorageConfig outputConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.OutputStorageConfig, com.google.privacy.dlp.v2.OutputStorageConfig.Builder, com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder> outputConfigBuilder_;
+              com.google.privacy.dlp.v2.OutputStorageConfig,
+              com.google.privacy.dlp.v2.OutputStorageConfig.Builder,
+              com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>
+          outputConfigBuilder_;
       /**
+       *
+       *
        * 
        * Location to store findings outside of DLP.
        * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
* * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + * * @return The outputConfig. */ public com.google.privacy.dlp.v2.OutputStorageConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -707,6 +803,8 @@ public Builder setOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig val return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -725,6 +823,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -735,7 +835,9 @@ public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig v if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder(outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -747,6 +849,8 @@ public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig v return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -765,6 +869,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -772,11 +878,13 @@ public Builder clearOutputConfig() { * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; */ public com.google.privacy.dlp.v2.OutputStorageConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -787,11 +895,14 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -799,18 +910,22 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.OutputStorageConfig, com.google.privacy.dlp.v2.OutputStorageConfig.Builder, com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder> + com.google.privacy.dlp.v2.OutputStorageConfig, + com.google.privacy.dlp.v2.OutputStorageConfig.Builder, + com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.OutputStorageConfig, com.google.privacy.dlp.v2.OutputStorageConfig.Builder, com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.OutputStorageConfig, + com.google.privacy.dlp.v2.OutputStorageConfig.Builder, + com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -823,12 +938,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.SaveFindings) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.SaveFindings) private static final com.google.privacy.dlp.v2.Action.SaveFindings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.SaveFindings(); } @@ -837,16 +952,16 @@ public static com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SaveFindings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SaveFindings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SaveFindings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SaveFindings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -861,14 +976,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PublishToPubSubOrBuilder extends + public interface PublishToPubSubOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToPubSub) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -877,10 +994,13 @@ public interface PublishToPubSubOrBuilder extends
      * 
* * string topic = 1; + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -889,12 +1009,14 @@ public interface PublishToPubSubOrBuilder extends
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); } /** + * + * *
    * Publish a message into given Pub/Sub topic when DlpJob has completed. The
    * message contains a single field, `DlpJobName`, which is equal to the
@@ -905,31 +1027,31 @@ public interface PublishToPubSubOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub}
    */
-  public static final class PublishToPubSub extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PublishToPubSub extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishToPubSub)
       PublishToPubSubOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PublishToPubSub.newBuilder() to construct.
     private PublishToPubSub(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PublishToPubSub() {
       topic_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PublishToPubSub();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PublishToPubSub(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -948,47 +1070,52 @@ private PublishToPubSub(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              topic_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                topic_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishToPubSub.class, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishToPubSub.class,
+              com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
     }
 
     public static final int TOPIC_FIELD_NUMBER = 1;
     private volatile java.lang.Object topic_;
     /**
+     *
+     *
      * 
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -997,6 +1124,7 @@ private PublishToPubSub(
      * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -1005,14 +1133,15 @@ 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; } } /** + * + * *
      * Cloud Pub/Sub topic to send notifications to. The topic must have given
      * publishing access rights to the DLP API service account executing
@@ -1021,16 +1150,15 @@ public java.lang.String getTopic() {
      * 
* * 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 { @@ -1039,6 +1167,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1050,8 +1179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1075,15 +1203,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.privacy.dlp.v2.Action.PublishToPubSub)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Action.PublishToPubSub other = (com.google.privacy.dlp.v2.Action.PublishToPubSub) obj; + com.google.privacy.dlp.v2.Action.PublishToPubSub other = + (com.google.privacy.dlp.v2.Action.PublishToPubSub) obj; - if (!getTopic() - .equals(other.getTopic())) return false; + if (!getTopic().equals(other.getTopic())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1103,87 +1231,93 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishToPubSub prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1193,6 +1327,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Publish a message into given Pub/Sub topic when DlpJob has completed. The
      * message contains a single field, `DlpJobName`, which is equal to the
@@ -1203,21 +1339,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishToPubSub)
         com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishToPubSub.class, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishToPubSub.class,
+                com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.PublishToPubSub.newBuilder()
@@ -1225,16 +1364,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1244,9 +1382,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor;
       }
 
       @java.lang.Override
@@ -1265,7 +1403,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishToPubSub buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishToPubSub result = new com.google.privacy.dlp.v2.Action.PublishToPubSub(this);
+        com.google.privacy.dlp.v2.Action.PublishToPubSub result =
+            new com.google.privacy.dlp.v2.Action.PublishToPubSub(this);
         result.topic_ = topic_;
         onBuilt();
         return result;
@@ -1275,38 +1414,41 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.PublishToPubSub) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1314,7 +1456,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToPubSub other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance())
+          return this;
         if (!other.getTopic().isEmpty()) {
           topic_ = other.topic_;
           onChanged();
@@ -1338,7 +1481,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishToPubSub) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.Action.PublishToPubSub) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1350,6 +1494,8 @@ public Builder mergeFrom(
 
       private java.lang.Object topic_ = "";
       /**
+       *
+       *
        * 
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1358,13 +1504,13 @@ public Builder mergeFrom(
        * 
* * 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; @@ -1373,6 +1519,8 @@ public java.lang.String getTopic() { } } /** + * + * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1381,15 +1529,14 @@ public java.lang.String getTopic() {
        * 
* * 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 { @@ -1397,6 +1544,8 @@ public java.lang.String getTopic() { } } /** + * + * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1405,20 +1554,22 @@ public java.lang.String getTopic() {
        * 
* * string topic = 1; + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1427,15 +1578,18 @@ public Builder setTopic(
        * 
* * string topic = 1; + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
        * Cloud Pub/Sub topic to send notifications to. The topic must have given
        * publishing access rights to the DLP API service account executing
@@ -1444,20 +1598,21 @@ public Builder clearTopic() {
        * 
* * string topic = 1; + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1470,12 +1625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishToPubSub) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToPubSub) private static final com.google.privacy.dlp.v2.Action.PublishToPubSub DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishToPubSub(); } @@ -1484,16 +1639,16 @@ public static com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PublishToPubSub parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PublishToPubSub(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PublishToPubSub parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PublishToPubSub(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1508,14 +1663,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PublishSummaryToCsccOrBuilder extends + public interface PublishSummaryToCsccOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishSummaryToCscc) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Publish the result summary of a DlpJob to the Cloud Security
    * Command Center (CSCC Alpha).
@@ -1531,30 +1687,29 @@ public interface PublishSummaryToCsccOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc}
    */
-  public static final class PublishSummaryToCscc extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PublishSummaryToCscc extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
       PublishSummaryToCsccOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PublishSummaryToCscc.newBuilder() to construct.
     private PublishSummaryToCscc(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private PublishSummaryToCscc() {
-    }
+
+    private PublishSummaryToCscc() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PublishSummaryToCscc();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PublishSummaryToCscc(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1573,39 +1728,42 @@ private PublishSummaryToCscc(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class,
+              com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1617,8 +1775,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -1636,12 +1793,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.privacy.dlp.v2.Action.PublishSummaryToCscc)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other = (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) obj;
+      com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other =
+          (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1660,87 +1818,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.Action.PublishSummaryToCscc prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1750,6 +1915,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Publish the result summary of a DlpJob to the Cloud Security
      * Command Center (CSCC Alpha).
@@ -1765,21 +1932,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
         com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.class,
+                com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.newBuilder()
@@ -1787,16 +1957,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1804,9 +1973,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor;
       }
 
       @java.lang.Override
@@ -1825,7 +1994,8 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishSummaryToCscc result = new com.google.privacy.dlp.v2.Action.PublishSummaryToCscc(this);
+        com.google.privacy.dlp.v2.Action.PublishSummaryToCscc result =
+            new com.google.privacy.dlp.v2.Action.PublishSummaryToCscc(this);
         onBuilt();
         return result;
       }
@@ -1834,38 +2004,41 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.PublishSummaryToCscc) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1873,7 +2046,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance())
+          return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -1893,7 +2067,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1902,6 +2077,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1914,12 +2090,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishSummaryToCscc)
     private static final com.google.privacy.dlp.v2.Action.PublishSummaryToCscc DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishSummaryToCscc();
     }
@@ -1928,16 +2104,16 @@ public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PublishSummaryToCscc parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PublishSummaryToCscc(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PublishSummaryToCscc parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new PublishSummaryToCscc(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1952,14 +2128,15 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface PublishFindingsToCloudDataCatalogOrBuilder extends
+  public interface PublishFindingsToCloudDataCatalogOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
-      com.google.protobuf.MessageOrBuilder {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Publish findings of a DlpJob to Data Catalog. Labels summarizing the
    * results of the DlpJob will be applied to the entry for the resource scanned
@@ -1975,30 +2152,31 @@ public interface PublishFindingsToCloudDataCatalogOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog}
    */
-  public static final class PublishFindingsToCloudDataCatalog extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PublishFindingsToCloudDataCatalog
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
       PublishFindingsToCloudDataCatalogOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PublishFindingsToCloudDataCatalog.newBuilder() to construct.
-    private PublishFindingsToCloudDataCatalog(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private PublishFindingsToCloudDataCatalog(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private PublishFindingsToCloudDataCatalog() {
-    }
+
+    private PublishFindingsToCloudDataCatalog() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PublishFindingsToCloudDataCatalog();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PublishFindingsToCloudDataCatalog(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2017,39 +2195,42 @@ private PublishFindingsToCloudDataCatalog(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class,
+              com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2061,8 +2242,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -2080,12 +2260,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.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other = (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) obj;
+      com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other =
+          (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2104,87 +2285,95 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2194,6 +2383,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Publish findings of a DlpJob to Data Catalog. Labels summarizing the
      * results of the DlpJob will be applied to the entry for the resource scanned
@@ -2209,38 +2400,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
         com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.class,
+                com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder.class);
       }
 
-      // Construct using com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder()
+      // Construct using
+      // com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2248,14 +2442,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance();
+      public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+          getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -2269,7 +2465,8 @@ public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog build(
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog result = new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog(this);
+        com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog result =
+            new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog(this);
         onBuilt();
         return result;
       }
@@ -2278,46 +2475,53 @@ public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog buildP
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)other);
+          return mergeFrom(
+              (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog other) {
+        if (other
+            == com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+                .getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -2337,7 +2541,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2346,6 +2552,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2358,30 +2565,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog)
-    private static final com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog();
     }
 
-    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PublishFindingsToCloudDataCatalog parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PublishFindingsToCloudDataCatalog(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PublishFindingsToCloudDataCatalog parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new PublishFindingsToCloudDataCatalog(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2393,17 +2602,19 @@ public com.google.protobuf.Parser getParserFo
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface JobNotificationEmailsOrBuilder extends
+  public interface JobNotificationEmailsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.JobNotificationEmails)
-      com.google.protobuf.MessageOrBuilder {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Enable email notification to project owners and editors on jobs's
    * completion/failure.
@@ -2411,30 +2622,29 @@ public interface JobNotificationEmailsOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails}
    */
-  public static final class JobNotificationEmails extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class JobNotificationEmails extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.JobNotificationEmails)
       JobNotificationEmailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use JobNotificationEmails.newBuilder() to construct.
     private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private JobNotificationEmails() {
-    }
+
+    private JobNotificationEmails() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new JobNotificationEmails();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private JobNotificationEmails(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2453,39 +2663,42 @@ private JobNotificationEmails(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.JobNotificationEmails.class, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
+              com.google.privacy.dlp.v2.Action.JobNotificationEmails.class,
+              com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2497,8 +2710,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -2516,12 +2728,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.privacy.dlp.v2.Action.JobNotificationEmails)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.JobNotificationEmails other = (com.google.privacy.dlp.v2.Action.JobNotificationEmails) obj;
+      com.google.privacy.dlp.v2.Action.JobNotificationEmails other =
+          (com.google.privacy.dlp.v2.Action.JobNotificationEmails) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2540,87 +2753,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.JobNotificationEmails prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.Action.JobNotificationEmails prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2630,6 +2850,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Enable email notification to project owners and editors on jobs's
      * completion/failure.
@@ -2637,21 +2859,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.JobNotificationEmails)
         com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.JobNotificationEmails.class, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
+                com.google.privacy.dlp.v2.Action.JobNotificationEmails.class,
+                com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder()
@@ -2659,16 +2884,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2676,9 +2900,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor;
       }
 
       @java.lang.Override
@@ -2697,7 +2921,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.JobNotificationEmails buildPartial() {
-        com.google.privacy.dlp.v2.Action.JobNotificationEmails result = new com.google.privacy.dlp.v2.Action.JobNotificationEmails(this);
+        com.google.privacy.dlp.v2.Action.JobNotificationEmails result =
+            new com.google.privacy.dlp.v2.Action.JobNotificationEmails(this);
         onBuilt();
         return result;
       }
@@ -2706,38 +2931,41 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.JobNotificationEmails) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2745,7 +2973,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.JobNotificationEmails other) {
-        if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance())
+          return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -2765,7 +2994,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2774,6 +3004,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2786,12 +3017,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.JobNotificationEmails)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.JobNotificationEmails)
     private static final com.google.privacy.dlp.v2.Action.JobNotificationEmails DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.JobNotificationEmails();
     }
@@ -2800,16 +3031,16 @@ public static com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public JobNotificationEmails parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new JobNotificationEmails(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public JobNotificationEmails parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new JobNotificationEmails(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2824,14 +3055,15 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface PublishToStackdriverOrBuilder extends
+  public interface PublishToStackdriverOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToStackdriver)
-      com.google.protobuf.MessageOrBuilder {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
    * will publish a metric to stack driver on each infotype requested and
@@ -2841,30 +3073,29 @@ public interface PublishToStackdriverOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver}
    */
-  public static final class PublishToStackdriver extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PublishToStackdriver extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishToStackdriver)
       PublishToStackdriverOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PublishToStackdriver.newBuilder() to construct.
     private PublishToStackdriver(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private PublishToStackdriver() {
-    }
+
+    private PublishToStackdriver() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PublishToStackdriver();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PublishToStackdriver(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2883,39 +3114,42 @@ private PublishToStackdriver(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.PublishToStackdriver.class, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
+              com.google.privacy.dlp.v2.Action.PublishToStackdriver.class,
+              com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2927,8 +3161,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -2946,12 +3179,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.privacy.dlp.v2.Action.PublishToStackdriver)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.Action.PublishToStackdriver other = (com.google.privacy.dlp.v2.Action.PublishToStackdriver) obj;
+      com.google.privacy.dlp.v2.Action.PublishToStackdriver other =
+          (com.google.privacy.dlp.v2.Action.PublishToStackdriver) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2970,87 +3204,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.Action.PublishToStackdriver prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.Action.PublishToStackdriver prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3060,6 +3301,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
      * will publish a metric to stack driver on each infotype requested and
@@ -3069,21 +3312,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishToStackdriver)
         com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.PublishToStackdriver.class, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
+                com.google.privacy.dlp.v2.Action.PublishToStackdriver.class,
+                com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder()
@@ -3091,16 +3337,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3108,9 +3353,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor;
       }
 
       @java.lang.Override
@@ -3129,7 +3374,8 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.PublishToStackdriver buildPartial() {
-        com.google.privacy.dlp.v2.Action.PublishToStackdriver result = new com.google.privacy.dlp.v2.Action.PublishToStackdriver(this);
+        com.google.privacy.dlp.v2.Action.PublishToStackdriver result =
+            new com.google.privacy.dlp.v2.Action.PublishToStackdriver(this);
         onBuilt();
         return result;
       }
@@ -3138,38 +3384,41 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Action.PublishToStackdriver) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3177,7 +3426,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToStackdriver other) {
-        if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance())
+          return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -3197,7 +3447,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.Action.PublishToStackdriver) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.Action.PublishToStackdriver) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3206,6 +3457,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3218,12 +3470,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishToStackdriver)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToStackdriver)
     private static final com.google.privacy.dlp.v2.Action.PublishToStackdriver DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishToStackdriver();
     }
@@ -3232,16 +3484,16 @@ public static com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PublishToStackdriver parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new PublishToStackdriver(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PublishToStackdriver parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new PublishToStackdriver(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3256,13 +3508,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int actionCase_ = 0;
   private java.lang.Object action_;
+
   public enum ActionCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SAVE_FINDINGS(1),
     PUB_SUB(2),
@@ -3272,6 +3525,7 @@ public enum ActionCase
     PUBLISH_TO_STACKDRIVER(9),
     ACTION_NOT_SET(0);
     private final int value;
+
     private ActionCase(int value) {
       this.value = value;
     }
@@ -3287,34 +3541,44 @@ public static ActionCase valueOf(int value) {
 
     public static ActionCase forNumber(int value) {
       switch (value) {
-        case 1: return SAVE_FINDINGS;
-        case 2: return PUB_SUB;
-        case 3: return PUBLISH_SUMMARY_TO_CSCC;
-        case 5: return PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG;
-        case 8: return JOB_NOTIFICATION_EMAILS;
-        case 9: return PUBLISH_TO_STACKDRIVER;
-        case 0: return ACTION_NOT_SET;
-        default: return null;
+        case 1:
+          return SAVE_FINDINGS;
+        case 2:
+          return PUB_SUB;
+        case 3:
+          return PUBLISH_SUMMARY_TO_CSCC;
+        case 5:
+          return PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG;
+        case 8:
+          return JOB_NOTIFICATION_EMAILS;
+        case 9:
+          return PUBLISH_TO_STACKDRIVER;
+        case 0:
+          return ACTION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ActionCase
-  getActionCase() {
-    return ActionCase.forNumber(
-        actionCase_);
+  public ActionCase getActionCase() {
+    return ActionCase.forNumber(actionCase_);
   }
 
   public static final int SAVE_FINDINGS_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * * @return Whether the saveFindings field is set. */ @java.lang.Override @@ -3322,21 +3586,26 @@ public boolean hasSaveFindings() { return actionCase_ == 1; } /** + * + * *
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * * @return The saveFindings. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; } return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); } /** + * + * *
    * Save resulting findings in a provided location.
    * 
@@ -3346,18 +3615,21 @@ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { @java.lang.Override public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; } return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); } public static final int PUB_SUB_FIELD_NUMBER = 2; /** + * + * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return Whether the pubSub field is set. */ @java.lang.Override @@ -3365,21 +3637,26 @@ public boolean hasPubSub() { return actionCase_ == 2; } /** + * + * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return The pubSub. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; } return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); } /** + * + * *
    * Publish a notification to a pubsub topic.
    * 
@@ -3389,18 +3666,21 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; } return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); } public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER = 3; /** + * + * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + * * @return Whether the publishSummaryToCscc field is set. */ @java.lang.Override @@ -3408,21 +3688,26 @@ public boolean hasPublishSummaryToCscc() { return actionCase_ == 3; } /** + * + * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + * * @return The publishSummaryToCscc. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() { if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; } return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); } /** + * + * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
@@ -3430,20 +3715,26 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder + getPublishSummaryToCsccOrBuilder() { if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; } return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); } public static final int PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER = 5; /** + * + * *
    * Publish findings to Cloud Datahub.
    * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * * @return Whether the publishFindingsToCloudDataCatalog field is set. */ @java.lang.Override @@ -3451,43 +3742,57 @@ public boolean hasPublishFindingsToCloudDataCatalog() { return actionCase_ == 5; } /** + * + * *
    * Publish findings to Cloud Datahub.
    * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * * @return The publishFindingsToCloudDataCatalog. */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + getPublishFindingsToCloudDataCatalog() { if (actionCase_ == 5) { - return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; + return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } /** + * + * *
    * Publish findings to Cloud Datahub.
    * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder + getPublishFindingsToCloudDataCatalogOrBuilder() { if (actionCase_ == 5) { - return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; + return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); } public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER = 8; /** + * + * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + * * @return Whether the jobNotificationEmails field is set. */ @java.lang.Override @@ -3495,22 +3800,27 @@ public boolean hasJobNotificationEmails() { return actionCase_ == 8; } /** + * + * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + * * @return The jobNotificationEmails. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() { if (actionCase_ == 8) { - return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; } return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); } /** + * + * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
@@ -3519,20 +3829,24 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
    * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder() {
+  public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
+      getJobNotificationEmailsOrBuilder() {
     if (actionCase_ == 8) {
-       return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
+      return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_;
     }
     return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
   }
 
   public static final int PUBLISH_TO_STACKDRIVER_FIELD_NUMBER = 9;
   /**
+   *
+   *
    * 
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + * * @return Whether the publishToStackdriver field is set. */ @java.lang.Override @@ -3540,21 +3854,26 @@ public boolean hasPublishToStackdriver() { return actionCase_ == 9; } /** + * + * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + * * @return The publishToStackdriver. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() { if (actionCase_ == 9) { - return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; } return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); } /** + * + * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
@@ -3562,14 +3881,16 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdr * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder + getPublishToStackdriverOrBuilder() { if (actionCase_ == 9) { - return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; } return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3581,8 +3902,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (actionCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); } @@ -3593,7 +3913,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); } if (actionCase_ == 5) { - output.writeMessage(5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); + output.writeMessage( + 5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); } if (actionCase_ == 8) { output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); @@ -3611,28 +3932,34 @@ public int getSerializedSize() { size = 0; if (actionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); } if (actionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); } if (actionCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); } if (actionCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_); } if (actionCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); } if (actionCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3642,7 +3969,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.privacy.dlp.v2.Action)) { return super.equals(obj); @@ -3652,28 +3979,23 @@ public boolean equals(final java.lang.Object obj) { if (!getActionCase().equals(other.getActionCase())) return false; switch (actionCase_) { case 1: - if (!getSaveFindings() - .equals(other.getSaveFindings())) return false; + if (!getSaveFindings().equals(other.getSaveFindings())) return false; break; case 2: - if (!getPubSub() - .equals(other.getPubSub())) return false; + if (!getPubSub().equals(other.getPubSub())) return false; break; case 3: - if (!getPublishSummaryToCscc() - .equals(other.getPublishSummaryToCscc())) return false; + if (!getPublishSummaryToCscc().equals(other.getPublishSummaryToCscc())) return false; break; case 5: if (!getPublishFindingsToCloudDataCatalog() .equals(other.getPublishFindingsToCloudDataCatalog())) return false; break; case 8: - if (!getJobNotificationEmails() - .equals(other.getJobNotificationEmails())) return false; + if (!getJobNotificationEmails().equals(other.getJobNotificationEmails())) return false; break; case 9: - if (!getPublishToStackdriver() - .equals(other.getPublishToStackdriver())) return false; + if (!getPublishToStackdriver().equals(other.getPublishToStackdriver())) return false; break; case 0: default: @@ -3722,97 +4044,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Action parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Action parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Action parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action 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.privacy.dlp.v2.Action parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Action parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Action parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Action prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 task to execute on the completion of a job.
    * See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
@@ -3820,21 +4148,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action)
       com.google.privacy.dlp.v2.ActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class);
+              com.google.privacy.dlp.v2.Action.class,
+              com.google.privacy.dlp.v2.Action.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.Action.newBuilder()
@@ -3842,16 +4172,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3861,9 +4190,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_descriptor;
     }
 
     @java.lang.Override
@@ -3934,38 +4263,39 @@ public com.google.privacy.dlp.v2.Action buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Action) {
-        return mergeFrom((com.google.privacy.dlp.v2.Action)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Action) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3975,33 +4305,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.Action other) {
       if (other == com.google.privacy.dlp.v2.Action.getDefaultInstance()) return this;
       switch (other.getActionCase()) {
-        case SAVE_FINDINGS: {
-          mergeSaveFindings(other.getSaveFindings());
-          break;
-        }
-        case PUB_SUB: {
-          mergePubSub(other.getPubSub());
-          break;
-        }
-        case PUBLISH_SUMMARY_TO_CSCC: {
-          mergePublishSummaryToCscc(other.getPublishSummaryToCscc());
-          break;
-        }
-        case PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG: {
-          mergePublishFindingsToCloudDataCatalog(other.getPublishFindingsToCloudDataCatalog());
-          break;
-        }
-        case JOB_NOTIFICATION_EMAILS: {
-          mergeJobNotificationEmails(other.getJobNotificationEmails());
-          break;
-        }
-        case PUBLISH_TO_STACKDRIVER: {
-          mergePublishToStackdriver(other.getPublishToStackdriver());
-          break;
-        }
-        case ACTION_NOT_SET: {
-          break;
-        }
+        case SAVE_FINDINGS:
+          {
+            mergeSaveFindings(other.getSaveFindings());
+            break;
+          }
+        case PUB_SUB:
+          {
+            mergePubSub(other.getPubSub());
+            break;
+          }
+        case PUBLISH_SUMMARY_TO_CSCC:
+          {
+            mergePublishSummaryToCscc(other.getPublishSummaryToCscc());
+            break;
+          }
+        case PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG:
+          {
+            mergePublishFindingsToCloudDataCatalog(other.getPublishFindingsToCloudDataCatalog());
+            break;
+          }
+        case JOB_NOTIFICATION_EMAILS:
+          {
+            mergeJobNotificationEmails(other.getJobNotificationEmails());
+            break;
+          }
+        case PUBLISH_TO_STACKDRIVER:
+          {
+            mergePublishToStackdriver(other.getPublishToStackdriver());
+            break;
+          }
+        case ACTION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -4031,12 +4368,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int actionCase_ = 0;
     private java.lang.Object action_;
-    public ActionCase
-        getActionCase() {
-      return ActionCase.forNumber(
-          actionCase_);
+
+    public ActionCase getActionCase() {
+      return ActionCase.forNumber(actionCase_);
     }
 
     public Builder clearAction() {
@@ -4046,15 +4383,20 @@ public Builder clearAction() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Action.SaveFindings, com.google.privacy.dlp.v2.Action.SaveFindings.Builder, com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder> saveFindingsBuilder_;
+            com.google.privacy.dlp.v2.Action.SaveFindings,
+            com.google.privacy.dlp.v2.Action.SaveFindings.Builder,
+            com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder>
+        saveFindingsBuilder_;
     /**
+     *
+     *
      * 
      * Save resulting findings in a provided location.
      * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * * @return Whether the saveFindings field is set. */ @java.lang.Override @@ -4062,11 +4404,14 @@ public boolean hasSaveFindings() { return actionCase_ == 1; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * * @return The saveFindings. */ @java.lang.Override @@ -4084,6 +4429,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { } } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4104,6 +4451,8 @@ public Builder setSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings val return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4122,6 +4471,8 @@ public Builder setSaveFindings( return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4130,10 +4481,13 @@ public Builder setSaveFindings( */ public Builder mergeSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings value) { if (saveFindingsBuilder_ == null) { - if (actionCase_ == 1 && - action_ != com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.Action.SaveFindings.newBuilder((com.google.privacy.dlp.v2.Action.SaveFindings) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 1 + && action_ != com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.SaveFindings.newBuilder( + (com.google.privacy.dlp.v2.Action.SaveFindings) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -4148,6 +4502,8 @@ public Builder mergeSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings v return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4171,6 +4527,8 @@ public Builder clearSaveFindings() { return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4181,6 +4539,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindings.Builder getSaveFindingsBuil return getSaveFindingsFieldBuilder().getBuilder(); } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4199,6 +4559,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB } } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -4206,32 +4568,44 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.SaveFindings, com.google.privacy.dlp.v2.Action.SaveFindings.Builder, com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder> + com.google.privacy.dlp.v2.Action.SaveFindings, + com.google.privacy.dlp.v2.Action.SaveFindings.Builder, + com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder> getSaveFindingsFieldBuilder() { if (saveFindingsBuilder_ == null) { if (!(actionCase_ == 1)) { action_ = com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); } - saveFindingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.SaveFindings, com.google.privacy.dlp.v2.Action.SaveFindings.Builder, com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder>( + saveFindingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.SaveFindings, + com.google.privacy.dlp.v2.Action.SaveFindings.Builder, + com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder>( (com.google.privacy.dlp.v2.Action.SaveFindings) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 1; - onChanged();; + onChanged(); + ; return saveFindingsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToPubSub, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> pubSubBuilder_; + com.google.privacy.dlp.v2.Action.PublishToPubSub, + com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, + com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> + pubSubBuilder_; /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return Whether the pubSub field is set. */ @java.lang.Override @@ -4239,11 +4613,14 @@ public boolean hasPubSub() { return actionCase_ == 2; } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return The pubSub. */ @java.lang.Override @@ -4261,6 +4638,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { } } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4281,6 +4660,8 @@ public Builder setPubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) return this; } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4299,6 +4680,8 @@ public Builder setPubSub( return this; } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4307,10 +4690,13 @@ public Builder setPubSub( */ public Builder mergePubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) { if (pubSubBuilder_ == null) { - if (actionCase_ == 2 && - action_ != com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.Action.PublishToPubSub.newBuilder((com.google.privacy.dlp.v2.Action.PublishToPubSub) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 2 + && action_ != com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.PublishToPubSub.newBuilder( + (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -4325,6 +4711,8 @@ public Builder mergePubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub valu return this; } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4348,6 +4736,8 @@ public Builder clearPubSub() { return this; } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4358,6 +4748,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder getPubSubBuilder return getPubSubFieldBuilder().getBuilder(); } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4376,6 +4768,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil } } /** + * + * *
      * Publish a notification to a pubsub topic.
      * 
@@ -4383,32 +4777,44 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToPubSub, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> + com.google.privacy.dlp.v2.Action.PublishToPubSub, + com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, + com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder> getPubSubFieldBuilder() { if (pubSubBuilder_ == null) { if (!(actionCase_ == 2)) { action_ = com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); } - pubSubBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToPubSub, com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder>( + pubSubBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToPubSub, + com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder, + com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 2; - onChanged();; + onChanged(); + ; return pubSubBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> publishSummaryToCsccBuilder_; + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, + com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> + publishSummaryToCsccBuilder_; /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + * * @return Whether the publishSummaryToCscc field is set. */ @java.lang.Override @@ -4416,11 +4822,14 @@ public boolean hasPublishSummaryToCscc() { return actionCase_ == 3; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + * * @return The publishSummaryToCscc. */ @java.lang.Override @@ -4438,13 +4847,16 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryTo } } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ - public Builder setPublishSummaryToCscc(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { + public Builder setPublishSummaryToCscc( + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { if (publishSummaryToCsccBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4458,6 +4870,8 @@ public Builder setPublishSummaryToCscc(com.google.privacy.dlp.v2.Action.PublishS return this; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4476,18 +4890,25 @@ public Builder setPublishSummaryToCscc( return this; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ - public Builder mergePublishSummaryToCscc(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { + public Builder mergePublishSummaryToCscc( + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc value) { if (publishSummaryToCsccBuilder_ == null) { - if (actionCase_ == 3 && - action_ != com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.newBuilder((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 3 + && action_ + != com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.newBuilder( + (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -4502,6 +4923,8 @@ public Builder mergePublishSummaryToCscc(com.google.privacy.dlp.v2.Action.Publis return this; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4525,16 +4948,21 @@ public Builder clearPublishSummaryToCscc() { return this; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ - public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder getPublishSummaryToCsccBuilder() { + public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder + getPublishSummaryToCsccBuilder() { return getPublishSummaryToCsccFieldBuilder().getBuilder(); } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4542,7 +4970,8 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder getPublishS * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder + getPublishSummaryToCsccOrBuilder() { if ((actionCase_ == 3) && (publishSummaryToCsccBuilder_ != null)) { return publishSummaryToCsccBuilder_.getMessageOrBuilder(); } else { @@ -4553,6 +4982,8 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublish } } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -4560,32 +4991,46 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublish * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, + com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder> getPublishSummaryToCsccFieldBuilder() { if (publishSummaryToCsccBuilder_ == null) { if (!(actionCase_ == 3)) { action_ = com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); } - publishSummaryToCsccBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder>( + publishSummaryToCsccBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc, + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.Builder, + com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 3; - onChanged();; + onChanged(); + ; return publishSummaryToCsccBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> publishFindingsToCloudDataCatalogBuilder_; + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> + publishFindingsToCloudDataCatalogBuilder_; /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * * @return Whether the publishFindingsToCloudDataCatalog field is set. */ @java.lang.Override @@ -4593,35 +5038,48 @@ public boolean hasPublishFindingsToCloudDataCatalog() { return actionCase_ == 5; } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * * @return The publishFindingsToCloudDataCatalog. */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + getPublishFindingsToCloudDataCatalog() { if (publishFindingsToCloudDataCatalogBuilder_ == null) { if (actionCase_ == 5) { return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + .getDefaultInstance(); } else { if (actionCase_ == 5) { return publishFindingsToCloudDataCatalogBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + .getDefaultInstance(); } } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ - public Builder setPublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { + public Builder setPublishFindingsToCloudDataCatalog( + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { if (publishFindingsToCloudDataCatalogBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4635,14 +5093,19 @@ public Builder setPublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2.Ac return this; } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ public Builder setPublishFindingsToCloudDataCatalog( - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder builderForValue) { + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder + builderForValue) { if (publishFindingsToCloudDataCatalogBuilder_ == null) { action_ = builderForValue.build(); onChanged(); @@ -4653,18 +5116,28 @@ public Builder setPublishFindingsToCloudDataCatalog( return this; } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ - public Builder mergePublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { + public Builder mergePublishFindingsToCloudDataCatalog( + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { if (publishFindingsToCloudDataCatalogBuilder_ == null) { - if (actionCase_ == 5 && - action_ != com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder((com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 5 + && action_ + != com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + .getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.newBuilder( + (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -4679,11 +5152,15 @@ public Builder mergePublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2. return this; } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ public Builder clearPublishFindingsToCloudDataCatalog() { if (publishFindingsToCloudDataCatalogBuilder_ == null) { @@ -4702,68 +5179,97 @@ public Builder clearPublishFindingsToCloudDataCatalog() { return this; } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder getPublishFindingsToCloudDataCatalogBuilder() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder + getPublishFindingsToCloudDataCatalogBuilder() { return getPublishFindingsToCloudDataCatalogFieldBuilder().getBuilder(); } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder + getPublishFindingsToCloudDataCatalogOrBuilder() { if ((actionCase_ == 5) && (publishFindingsToCloudDataCatalogBuilder_ != null)) { return publishFindingsToCloudDataCatalogBuilder_.getMessageOrBuilder(); } else { if (actionCase_ == 5) { return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; } - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + .getDefaultInstance(); } } /** + * + * *
      * Publish findings to Cloud Datahub.
      * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder> getPublishFindingsToCloudDataCatalogFieldBuilder() { if (publishFindingsToCloudDataCatalogBuilder_ == null) { if (!(actionCase_ == 5)) { - action_ = com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); + action_ = + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + .getDefaultInstance(); } - publishFindingsToCloudDataCatalogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder>( + publishFindingsToCloudDataCatalogBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.Builder, + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 5; - onChanged();; + onChanged(); + ; return publishFindingsToCloudDataCatalogBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.JobNotificationEmails, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> jobNotificationEmailsBuilder_; + com.google.privacy.dlp.v2.Action.JobNotificationEmails, + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, + com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> + jobNotificationEmailsBuilder_; /** + * + * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
      * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + * * @return Whether the jobNotificationEmails field is set. */ @java.lang.Override @@ -4771,12 +5277,15 @@ public boolean hasJobNotificationEmails() { return actionCase_ == 8; } /** + * + * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
      * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + * * @return The jobNotificationEmails. */ @java.lang.Override @@ -4794,6 +5303,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification } } /** + * + * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4801,7 +5312,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
      *
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
-    public Builder setJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
+    public Builder setJobNotificationEmails(
+        com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
       if (jobNotificationEmailsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4815,6 +5327,8 @@ public Builder setJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNoti
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4834,6 +5348,8 @@ public Builder setJobNotificationEmails(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4841,12 +5357,17 @@ public Builder setJobNotificationEmails(
      *
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
-    public Builder mergeJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
+    public Builder mergeJobNotificationEmails(
+        com.google.privacy.dlp.v2.Action.JobNotificationEmails value) {
       if (jobNotificationEmailsBuilder_ == null) {
-        if (actionCase_ == 8 &&
-            action_ != com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) {
-          action_ = com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_)
-              .mergeFrom(value).buildPartial();
+        if (actionCase_ == 8
+            && action_
+                != com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) {
+          action_ =
+              com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder(
+                      (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           action_ = value;
         }
@@ -4861,6 +5382,8 @@ public Builder mergeJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNo
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4885,6 +5408,8 @@ public Builder clearJobNotificationEmails() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4892,10 +5417,13 @@ public Builder clearJobNotificationEmails() {
      *
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
-    public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder getJobNotificationEmailsBuilder() {
+    public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder
+        getJobNotificationEmailsBuilder() {
       return getJobNotificationEmailsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4904,7 +5432,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder getJobNoti
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder() {
+    public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
+        getJobNotificationEmailsOrBuilder() {
       if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) {
         return jobNotificationEmailsBuilder_.getMessageOrBuilder();
       } else {
@@ -4915,6 +5444,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNot
       }
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -4923,32 +5454,44 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNot
      * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Action.JobNotificationEmails, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> 
+            com.google.privacy.dlp.v2.Action.JobNotificationEmails,
+            com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
+            com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>
         getJobNotificationEmailsFieldBuilder() {
       if (jobNotificationEmailsBuilder_ == null) {
         if (!(actionCase_ == 8)) {
           action_ = com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance();
         }
-        jobNotificationEmailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Action.JobNotificationEmails, com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>(
+        jobNotificationEmailsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.Action.JobNotificationEmails,
+                com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder,
+                com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>(
                 (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_,
                 getParentForChildren(),
                 isClean());
         action_ = null;
       }
       actionCase_ = 8;
-      onChanged();;
+      onChanged();
+      ;
       return jobNotificationEmailsBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Action.PublishToStackdriver, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> publishToStackdriverBuilder_;
+            com.google.privacy.dlp.v2.Action.PublishToStackdriver,
+            com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder,
+            com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>
+        publishToStackdriverBuilder_;
     /**
+     *
+     *
      * 
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + * * @return Whether the publishToStackdriver field is set. */ @java.lang.Override @@ -4956,11 +5499,14 @@ public boolean hasPublishToStackdriver() { return actionCase_ == 9; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + * * @return The publishToStackdriver. */ @java.lang.Override @@ -4978,13 +5524,16 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdr } } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ - public Builder setPublishToStackdriver(com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { + public Builder setPublishToStackdriver( + com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { if (publishToStackdriverBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4998,6 +5547,8 @@ public Builder setPublishToStackdriver(com.google.privacy.dlp.v2.Action.PublishT return this; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5016,18 +5567,25 @@ public Builder setPublishToStackdriver( return this; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ - public Builder mergePublishToStackdriver(com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { + public Builder mergePublishToStackdriver( + com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { if (publishToStackdriverBuilder_ == null) { - if (actionCase_ == 9 && - action_ != com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 9 + && action_ + != com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder( + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -5042,6 +5600,8 @@ public Builder mergePublishToStackdriver(com.google.privacy.dlp.v2.Action.Publis return this; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5065,16 +5625,21 @@ public Builder clearPublishToStackdriver() { return this; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ - public com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder getPublishToStackdriverBuilder() { + public com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder + getPublishToStackdriverBuilder() { return getPublishToStackdriverFieldBuilder().getBuilder(); } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5082,7 +5647,8 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder getPublishT * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder() { + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder + getPublishToStackdriverOrBuilder() { if ((actionCase_ == 9) && (publishToStackdriverBuilder_ != null)) { return publishToStackdriverBuilder_.getMessageOrBuilder(); } else { @@ -5093,6 +5659,8 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublish } } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -5100,26 +5668,32 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublish * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToStackdriver, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> + com.google.privacy.dlp.v2.Action.PublishToStackdriver, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> getPublishToStackdriverFieldBuilder() { if (publishToStackdriverBuilder_ == null) { if (!(actionCase_ == 9)) { action_ = com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); } - publishToStackdriverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.PublishToStackdriver, com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>( + publishToStackdriverBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToStackdriver, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>( (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 9; - onChanged();; + onChanged(); + ; return publishToStackdriverBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5129,12 +5703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action) private static final com.google.privacy.dlp.v2.Action DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action(); } @@ -5143,16 +5717,16 @@ public static com.google.privacy.dlp.v2.Action getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Action parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Action(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Action parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Action(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5167,6 +5741,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java index 6375a7b5..b0179083 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ActionOrBuilder extends +public interface ActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * * @return Whether the saveFindings field is set. */ boolean hasSaveFindings(); /** + * + * *
    * Save resulting findings in a provided location.
    * 
* * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * * @return The saveFindings. */ com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings(); /** + * + * *
    * Save resulting findings in a provided location.
    * 
@@ -35,24 +59,32 @@ public interface ActionOrBuilder extends com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder(); /** + * + * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return Whether the pubSub field is set. */ boolean hasPubSub(); /** + * + * *
    * Publish a notification to a pubsub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return The pubSub. */ com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub(); /** + * + * *
    * Publish a notification to a pubsub topic.
    * 
@@ -62,24 +94,32 @@ public interface ActionOrBuilder extends com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder(); /** + * + * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + * * @return Whether the publishSummaryToCscc field is set. */ boolean hasPublishSummaryToCscc(); /** + * + * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
* * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + * * @return The publishSummaryToCscc. */ com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc(); /** + * + * *
    * Publish summary to Cloud Security Command Center (Alpha).
    * 
@@ -89,53 +129,77 @@ public interface ActionOrBuilder extends com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder(); /** + * + * *
    * Publish findings to Cloud Datahub.
    * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * * @return Whether the publishFindingsToCloudDataCatalog field is set. */ boolean hasPublishFindingsToCloudDataCatalog(); /** + * + * *
    * Publish findings to Cloud Datahub.
    * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * * @return The publishFindingsToCloudDataCatalog. */ - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getPublishFindingsToCloudDataCatalog(); + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog + getPublishFindingsToCloudDataCatalog(); /** + * + * *
    * Publish findings to Cloud Datahub.
    * 
* - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * */ - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder getPublishFindingsToCloudDataCatalogOrBuilder(); + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder + getPublishFindingsToCloudDataCatalogOrBuilder(); /** + * + * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + * * @return Whether the jobNotificationEmails field is set. */ boolean hasJobNotificationEmails(); /** + * + * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
    * 
* * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + * * @return The jobNotificationEmails. */ com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails(); /** + * + * *
    * Enable email notification for project owners and editors on job's
    * completion/failure.
@@ -143,27 +207,36 @@ public interface ActionOrBuilder extends
    *
    * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;
    */
-  com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder();
+  com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
+      getJobNotificationEmailsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + * * @return Whether the publishToStackdriver field is set. */ boolean hasPublishToStackdriver(); /** + * + * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
* * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + * * @return The publishToStackdriver. */ com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver(); /** + * + * *
    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java index 61855ec3..42375bc6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for ActivateJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest} */ -public final class ActivateJobTriggerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ActivateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest) ActivateJobTriggerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ActivateJobTriggerRequest.newBuilder() to construct. private ActivateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ActivateJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ActivateJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ActivateJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private ActivateJobTriggerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ 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. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ActivateJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ActivateJobTriggerRequest other = (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) obj; + com.google.privacy.dlp.v2.ActivateJobTriggerRequest other = + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ActivateJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ActivateJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest) com.google.privacy.dlp.v2.ActivateJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ActivateJobTriggerRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ActivateJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(this); + com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = + new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.privacy.dlp.v2.ActivateJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ActivateJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ActivateJobTriggerRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ActivateJobTriggerRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ActivateJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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 { @@ -490,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) private static final com.google.privacy.dlp.v2.ActivateJobTriggerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(); } @@ -571,16 +630,16 @@ public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActivateJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ActivateJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActivateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ActivateJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java new file mode 100644 index 00000000..2c1c8dae --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface ActivateJobTriggerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ActivateJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java index 45d09f4b..53f358f8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetails.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Result of a risk analysis operation request.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails} */ -public final class AnalyzeDataSourceRiskDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalyzeDataSourceRiskDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) AnalyzeDataSourceRiskDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalyzeDataSourceRiskDetails.newBuilder() to construct. private AnalyzeDataSourceRiskDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalyzeDataSourceRiskDetails() { - } + + private AnalyzeDataSourceRiskDetails() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalyzeDataSourceRiskDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnalyzeDataSourceRiskDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,184 +68,271 @@ private AnalyzeDataSourceRiskDetails( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null; - if (requestedPrivacyMetric_ != null) { - subBuilder = requestedPrivacyMetric_.toBuilder(); - } - requestedPrivacyMetric_ = input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedPrivacyMetric_); - requestedPrivacyMetric_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null; + if (requestedPrivacyMetric_ != null) { + subBuilder = requestedPrivacyMetric_.toBuilder(); + } + requestedPrivacyMetric_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedPrivacyMetric_); + requestedPrivacyMetric_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (requestedSourceTable_ != null) { - subBuilder = requestedSourceTable_.toBuilder(); - } - requestedSourceTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedSourceTable_); - requestedSourceTable_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (requestedSourceTable_ != null) { + subBuilder = requestedSourceTable_.toBuilder(); + } + requestedSourceTable_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedSourceTable_); + requestedSourceTable_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder subBuilder = null; - if (resultCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 3; - break; - } - case 34: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder subBuilder = null; - if (resultCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder subBuilder = null; - if (resultCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 5; - break; - } - case 50: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder subBuilder = null; - if (resultCase_ == 6) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); - result_ = subBuilder.buildPartial(); + break; } - resultCase_ = 6; - break; - } - case 58: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder subBuilder = null; - if (resultCase_ == 7) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_).toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder + subBuilder = null; + if (resultCase_ == 3) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_) + .toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 3; + break; } - result_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); - result_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder + subBuilder = null; + if (resultCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_) + .toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 4; + break; } - resultCase_ = 7; - break; - } - case 74: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder subBuilder = null; - if (resultCase_ == 9) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_).toBuilder(); + case 42: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder + subBuilder = null; + if (resultCase_ == 5) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) + result_) + .toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) + result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 5; + break; } - result_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_); - result_ = subBuilder.buildPartial(); + case 50: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder + subBuilder = null; + if (resultCase_ == 6) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) + result_) + .toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) + result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 6; + break; } - resultCase_ = 9; - break; - } - case 82: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder subBuilder = null; - if (requestedOptions_ != null) { - subBuilder = requestedOptions_.toBuilder(); + case 58: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder + subBuilder = null; + if (resultCase_ == 7) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_) + .toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 7; + break; } - requestedOptions_ = input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedOptions_); - requestedOptions_ = subBuilder.buildPartial(); + case 74: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder + subBuilder = null; + if (resultCase_ == 9) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult) + result_) + .toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult) + result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 9; + break; } + case 82: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder + subBuilder = null; + if (requestedOptions_ != null) { + subBuilder = requestedOptions_.toBuilder(); + } + requestedOptions_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedOptions_); + requestedOptions_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); } - public interface NumericalStatsResultOrBuilder extends + public interface NumericalStatsResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; + * * @return The minValue. */ com.google.privacy.dlp.v2.Value getMinValue(); /** + * + * *
      * Minimum value appearing in the column.
      * 
@@ -239,24 +342,32 @@ public interface NumericalStatsResultOrBuilder extends com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder(); /** + * + * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; + * * @return The maxValue. */ com.google.privacy.dlp.v2.Value getMaxValue(); /** + * + * *
      * Maximum value appearing in the column.
      * 
@@ -266,6 +377,8 @@ public interface NumericalStatsResultOrBuilder extends com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder(); /** + * + * *
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -273,9 +386,10 @@ public interface NumericalStatsResultOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
-    java.util.List 
-        getQuantileValuesList();
+    java.util.List getQuantileValuesList();
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -285,6 +399,8 @@ public interface NumericalStatsResultOrBuilder extends
      */
     com.google.privacy.dlp.v2.Value getQuantileValues(int index);
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -294,6 +410,8 @@ public interface NumericalStatsResultOrBuilder extends
      */
     int getQuantileValuesCount();
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -301,9 +419,11 @@ public interface NumericalStatsResultOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
-    java.util.List 
+    java.util.List
         getQuantileValuesOrBuilderList();
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -311,41 +431,42 @@ public interface NumericalStatsResultOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
-    com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
-        int index);
+    com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * Result of the numerical stats computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult} */ - public static final class NumericalStatsResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NumericalStatsResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) NumericalStatsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericalStatsResult.newBuilder() to construct. private NumericalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NumericalStatsResult() { quantileValues_ = 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 NumericalStatsResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private NumericalStatsResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -365,55 +486,59 @@ private NumericalStatsResult( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (minValue_ != null) { - subBuilder = minValue_.toBuilder(); - } - minValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(minValue_); - minValue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (minValue_ != null) { + subBuilder = minValue_.toBuilder(); + } + minValue_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(minValue_); + minValue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (maxValue_ != null) { - subBuilder = maxValue_.toBuilder(); - } - maxValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maxValue_); - maxValue_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (maxValue_ != null) { + subBuilder = maxValue_.toBuilder(); + } + maxValue_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maxValue_); + maxValue_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quantileValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - quantileValues_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quantileValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quantileValues_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quantileValues_ = java.util.Collections.unmodifiableList(quantileValues_); @@ -422,27 +547,34 @@ private NumericalStatsResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder + .class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value minValue_; /** + * + * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -450,11 +582,14 @@ public boolean hasMinValue() { return minValue_ != null; } /** + * + * *
      * Minimum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value min_value = 1; + * * @return The minValue. */ @java.lang.Override @@ -462,6 +597,8 @@ public com.google.privacy.dlp.v2.Value getMinValue() { return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_; } /** + * + * *
      * Minimum value appearing in the column.
      * 
@@ -476,11 +613,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.Value maxValue_; /** + * + * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -488,11 +628,14 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** + * + * *
      * Maximum value appearing in the column.
      * 
* * .google.privacy.dlp.v2.Value max_value = 2; + * * @return The maxValue. */ @java.lang.Override @@ -500,6 +643,8 @@ public com.google.privacy.dlp.v2.Value getMaxValue() { return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_; } /** + * + * *
      * Maximum value appearing in the column.
      * 
@@ -514,6 +659,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() { public static final int QUANTILE_VALUES_FIELD_NUMBER = 4; private java.util.List quantileValues_; /** + * + * *
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -526,6 +673,8 @@ public java.util.List getQuantileValuesList() {
       return quantileValues_;
     }
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -534,11 +683,13 @@ public java.util.List getQuantileValuesList() {
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getQuantileValuesOrBuilderList() {
       return quantileValues_;
     }
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -551,6 +702,8 @@ public int getQuantileValuesCount() {
       return quantileValues_.size();
     }
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -563,6 +716,8 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
       return quantileValues_.get(index);
     }
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -571,12 +726,12 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
      * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index) {
       return quantileValues_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -588,8 +743,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (minValue_ != null) {
         output.writeMessage(1, getMinValue());
       }
@@ -609,16 +763,13 @@ public int getSerializedSize() {
 
       size = 0;
       if (minValue_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getMinValue());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue());
       }
       if (maxValue_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMaxValue());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue());
       }
       for (int i = 0; i < quantileValues_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, quantileValues_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, quantileValues_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -628,25 +779,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)) {
+      if (!(obj
+          instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) obj;
+      com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other =
+          (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) obj;
 
       if (hasMinValue() != other.hasMinValue()) return false;
       if (hasMinValue()) {
-        if (!getMinValue()
-            .equals(other.getMinValue())) return false;
+        if (!getMinValue().equals(other.getMinValue())) return false;
       }
       if (hasMaxValue() != other.hasMaxValue()) return false;
       if (hasMaxValue()) {
-        if (!getMaxValue()
-            .equals(other.getMaxValue())) return false;
+        if (!getMaxValue().equals(other.getMaxValue())) return false;
       }
-      if (!getQuantileValuesList()
-          .equals(other.getQuantileValuesList())) return false;
+      if (!getQuantileValuesList().equals(other.getQuantileValuesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -675,88 +825,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(
+            com.google.protobuf.ByteString data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -766,45 +929,52 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Result of the numerical stats computation.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuantileValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -830,19 +1000,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -850,8 +1023,10 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResu } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult(this); int from_bitField0_ = bitField0_; if (minValueBuilder_ == null) { result.minValue_ = minValue_; @@ -880,46 +1055,55 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -944,9 +1128,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. quantileValuesBuilder_ = null; quantileValues_ = other.quantileValues_; bitField0_ = (bitField0_ & ~0x00000001); - quantileValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuantileValuesFieldBuilder() : null; + quantileValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuantileValuesFieldBuilder() + : null; } else { quantileValuesBuilder_.addAllMessages(other.quantileValues_); } @@ -967,11 +1152,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -980,38 +1168,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.privacy.dlp.v2.Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> minValueBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + minValueBuilder_; /** + * + * *
        * Minimum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value min_value = 1; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return minValueBuilder_ != null || minValue_ != null; } /** + * + * *
        * Minimum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value min_value = 1; + * * @return The minValue. */ public com.google.privacy.dlp.v2.Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : minValue_; } else { return minValueBuilder_.getMessage(); } } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1032,14 +1234,15 @@ public Builder setMinValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value min_value = 1; */ - public Builder setMinValue( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setMinValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); onChanged(); @@ -1050,6 +1253,8 @@ public Builder setMinValue( return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1060,7 +1265,9 @@ public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) { if (minValueBuilder_ == null) { if (minValue_ != null) { minValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(minValue_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(minValue_) + .mergeFrom(value) + .buildPartial(); } else { minValue_ = value; } @@ -1072,6 +1279,8 @@ public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1090,6 +1299,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1097,11 +1308,13 @@ public Builder clearMinValue() { * .google.privacy.dlp.v2.Value min_value = 1; */ public com.google.privacy.dlp.v2.Value.Builder getMinValueBuilder() { - + onChanged(); return getMinValueFieldBuilder().getBuilder(); } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1112,11 +1325,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : minValue_; } } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1124,14 +1340,17 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { * .google.privacy.dlp.v2.Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getMinValue(), - getParentForChildren(), - isClean()); + minValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getMinValue(), getParentForChildren(), isClean()); minValue_ = null; } return minValueBuilder_; @@ -1139,34 +1358,47 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinValueOrBuilder() { private com.google.privacy.dlp.v2.Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> maxValueBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + maxValueBuilder_; /** + * + * *
        * Maximum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value max_value = 2; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return maxValueBuilder_ != null || maxValue_ != null; } /** + * + * *
        * Maximum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value max_value = 2; + * * @return The maxValue. */ public com.google.privacy.dlp.v2.Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1187,14 +1419,15 @@ public Builder setMaxValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
* * .google.privacy.dlp.v2.Value max_value = 2; */ - public Builder setMaxValue( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setMaxValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); onChanged(); @@ -1205,6 +1438,8 @@ public Builder setMaxValue( return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1215,7 +1450,9 @@ public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) { if (maxValueBuilder_ == null) { if (maxValue_ != null) { maxValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(maxValue_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(maxValue_) + .mergeFrom(value) + .buildPartial(); } else { maxValue_ = value; } @@ -1227,6 +1464,8 @@ public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1245,6 +1484,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1252,11 +1493,13 @@ public Builder clearMaxValue() { * .google.privacy.dlp.v2.Value max_value = 2; */ public com.google.privacy.dlp.v2.Value.Builder getMaxValueBuilder() { - + onChanged(); return getMaxValueFieldBuilder().getBuilder(); } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1267,11 +1510,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : maxValue_; } } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1279,32 +1525,42 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxValueOrBuilder() { * .google.privacy.dlp.v2.Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getMaxValue(), - getParentForChildren(), - isClean()); + maxValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getMaxValue(), getParentForChildren(), isClean()); maxValue_ = null; } return maxValueBuilder_; } private java.util.List quantileValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuantileValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quantileValues_ = new java.util.ArrayList(quantileValues_); + quantileValues_ = + new java.util.ArrayList(quantileValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quantileValuesBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + quantileValuesBuilder_; /** + * + * *
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1320,6 +1576,8 @@ public java.util.List getQuantileValuesList() {
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1335,6 +1593,8 @@ public int getQuantileValuesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1350,6 +1610,8 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1357,8 +1619,7 @@ public com.google.privacy.dlp.v2.Value getQuantileValues(int index) {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public Builder setQuantileValues(
-          int index, com.google.privacy.dlp.v2.Value value) {
+      public Builder setQuantileValues(int index, com.google.privacy.dlp.v2.Value value) {
         if (quantileValuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1372,6 +1633,8 @@ public Builder setQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1391,6 +1654,8 @@ public Builder setQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1412,6 +1677,8 @@ public Builder addQuantileValues(com.google.privacy.dlp.v2.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1419,8 +1686,7 @@ public Builder addQuantileValues(com.google.privacy.dlp.v2.Value value) {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public Builder addQuantileValues(
-          int index, com.google.privacy.dlp.v2.Value value) {
+      public Builder addQuantileValues(int index, com.google.privacy.dlp.v2.Value value) {
         if (quantileValuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1434,6 +1700,8 @@ public Builder addQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1441,8 +1709,7 @@ public Builder addQuantileValues(
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public Builder addQuantileValues(
-          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+      public Builder addQuantileValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
         if (quantileValuesBuilder_ == null) {
           ensureQuantileValuesIsMutable();
           quantileValues_.add(builderForValue.build());
@@ -1453,6 +1720,8 @@ public Builder addQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1472,6 +1741,8 @@ public Builder addQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1483,8 +1754,7 @@ public Builder addAllQuantileValues(
           java.lang.Iterable values) {
         if (quantileValuesBuilder_ == null) {
           ensureQuantileValuesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, quantileValues_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quantileValues_);
           onChanged();
         } else {
           quantileValuesBuilder_.addAllMessages(values);
@@ -1492,6 +1762,8 @@ public Builder addAllQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1510,6 +1782,8 @@ public Builder clearQuantileValues() {
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1528,6 +1802,8 @@ public Builder removeQuantileValues(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1535,11 +1811,12 @@ public Builder removeQuantileValues(int index) {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(int index) {
         return getQuantileValuesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1547,14 +1824,16 @@ public com.google.privacy.dlp.v2.Value.Builder getQuantileValuesBuilder(
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(int index) {
         if (quantileValuesBuilder_ == null) {
-          return quantileValues_.get(index);  } else {
+          return quantileValues_.get(index);
+        } else {
           return quantileValuesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1562,8 +1841,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public java.util.List 
-           getQuantileValuesOrBuilderList() {
+      public java.util.List
+          getQuantileValuesOrBuilderList() {
         if (quantileValuesBuilder_ != null) {
           return quantileValuesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1571,6 +1850,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1579,10 +1860,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuantileValuesOrBuilder(
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
       public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder() {
-        return getQuantileValuesFieldBuilder().addBuilder(
-            com.google.privacy.dlp.v2.Value.getDefaultInstance());
+        return getQuantileValuesFieldBuilder()
+            .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1590,12 +1873,13 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder() {
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(
-          int index) {
-        return getQuantileValuesFieldBuilder().addBuilder(
-            index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
+      public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(int index) {
+        return getQuantileValuesFieldBuilder()
+            .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1603,16 +1887,22 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(
        *
        * repeated .google.privacy.dlp.v2.Value quantile_values = 4;
        */
-      public java.util.List 
-           getQuantileValuesBuilderList() {
+      public java.util.List
+          getQuantileValuesBuilderList() {
         return getQuantileValuesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
+              com.google.privacy.dlp.v2.Value,
+              com.google.privacy.dlp.v2.Value.Builder,
+              com.google.privacy.dlp.v2.ValueOrBuilder>
           getQuantileValuesFieldBuilder() {
         if (quantileValuesBuilder_ == null) {
-          quantileValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
+          quantileValuesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.privacy.dlp.v2.Value,
+                  com.google.privacy.dlp.v2.Value.Builder,
+                  com.google.privacy.dlp.v2.ValueOrBuilder>(
                   quantileValues_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -1621,6 +1911,7 @@ public com.google.privacy.dlp.v2.Value.Builder addQuantileValuesBuilder(
         }
         return quantileValuesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1633,30 +1924,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult)
-    private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult();
+      DEFAULT_INSTANCE =
+          new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult();
     }
 
-    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public NumericalStatsResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new NumericalStatsResult(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public NumericalStatsResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new NumericalStatsResult(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1668,92 +1962,123 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CategoricalStatsResultOrBuilder extends
+  public interface CategoricalStatsResultOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket> getValueFrequencyHistogramBucketsList(); /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + getValueFrequencyHistogramBuckets(int index); /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ int getValueFrequencyHistogramBucketsCount(); /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder> getValueFrequencyHistogramBucketsOrBuilderList(); /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder + getValueFrequencyHistogramBucketsOrBuilder(int index); } /** + * + * *
    * Result of the categorical stats computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult} */ - public static final class CategoricalStatsResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CategoricalStatsResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) CategoricalStatsResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CategoricalStatsResult.newBuilder() to construct. private CategoricalStatsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CategoricalStatsResult() { valueFrequencyHistogramBuckets_ = 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 CategoricalStatsResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CategoricalStatsResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1773,85 +2098,108 @@ private CategoricalStatsResult( case 0: done = true; break; - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + valueFrequencyHistogramBuckets_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .CategoricalStatsResult.CategoricalStatsHistogramBucket>(); + mutable_bitField0_ |= 0x00000001; + } + valueFrequencyHistogramBuckets_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(), + extensionRegistry)); + break; } - valueFrequencyHistogramBuckets_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBuckets_ = + java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder + .class); } - public interface CategoricalStatsHistogramBucketOrBuilder extends + public interface CategoricalStatsHistogramBucketOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Lower bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_lower_bound = 1; + * * @return The valueFrequencyLowerBound. */ long getValueFrequencyLowerBound(); /** + * + * *
        * Upper bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_upper_bound = 2; + * * @return The valueFrequencyUpperBound. */ long getValueFrequencyUpperBound(); /** + * + * *
        * Total number of values in this bucket.
        * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ long getBucketSize(); /** + * + * *
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -1859,9 +2207,10 @@ public interface CategoricalStatsHistogramBucketOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
-      java.util.List 
-          getBucketValuesList();
+      java.util.List getBucketValuesList();
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -1871,6 +2220,8 @@ public interface CategoricalStatsHistogramBucketOrBuilder extends
        */
       com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index);
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -1880,6 +2231,8 @@ public interface CategoricalStatsHistogramBucketOrBuilder extends
        */
       int getBucketValuesCount();
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -1887,9 +2240,11 @@ public interface CategoricalStatsHistogramBucketOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
-      java.util.List 
+      java.util.List
           getBucketValuesOrBuilderList();
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -1897,51 +2252,58 @@ public interface CategoricalStatsHistogramBucketOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
-      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
-          int index);
+      com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(int index);
 
       /**
+       *
+       *
        * 
        * Total number of distinct values in this bucket.
        * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ long getBucketValueCount(); } /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} */ - public static final class CategoricalStatsHistogramBucket extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CategoricalStatsHistogramBucket + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) CategoricalStatsHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CategoricalStatsHistogramBucket.newBuilder() to construct. - private CategoricalStatsHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CategoricalStatsHistogramBucket( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CategoricalStatsHistogramBucket() { bucketValues_ = 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 CategoricalStatsHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CategoricalStatsHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1961,49 +2323,52 @@ private CategoricalStatsHistogramBucket( case 0: done = true; break; - case 8: { - - valueFrequencyLowerBound_ = input.readInt64(); - break; - } - case 16: { - - valueFrequencyUpperBound_ = input.readInt64(); - break; - } - case 24: { - - bucketSize_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 8: + { + valueFrequencyLowerBound_ = input.readInt64(); + break; } - bucketValues_.add( - input.readMessage(com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); - break; - } - case 40: { - - bucketValueCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + valueFrequencyUpperBound_ = input.readInt64(); + break; + } + case 24: + { + bucketSize_ = input.readInt64(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + bucketValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); + break; + } + case 40: + { + bucketValueCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -2012,27 +2377,35 @@ private CategoricalStatsHistogramBucket( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder.class); } public static final int VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1; private long valueFrequencyLowerBound_; /** + * + * *
        * Lower bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_lower_bound = 1; + * * @return The valueFrequencyLowerBound. */ @java.lang.Override @@ -2043,11 +2416,14 @@ public long getValueFrequencyLowerBound() { public static final int VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2; private long valueFrequencyUpperBound_; /** + * + * *
        * Upper bound on the value frequency of the values in this bucket.
        * 
* * int64 value_frequency_upper_bound = 2; + * * @return The valueFrequencyUpperBound. */ @java.lang.Override @@ -2058,11 +2434,14 @@ public long getValueFrequencyUpperBound() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private long bucketSize_; /** + * + * *
        * Total number of values in this bucket.
        * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ @java.lang.Override @@ -2073,6 +2452,8 @@ public long getBucketSize() { public static final int BUCKET_VALUES_FIELD_NUMBER = 4; private java.util.List bucketValues_; /** + * + * *
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2085,6 +2466,8 @@ public java.util.List getBucketValuesL
         return bucketValues_;
       }
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2093,11 +2476,13 @@ public java.util.List getBucketValuesL
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
       @java.lang.Override
-      public java.util.List 
+      public java.util.List
           getBucketValuesOrBuilderList() {
         return bucketValues_;
       }
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2110,6 +2495,8 @@ public int getBucketValuesCount() {
         return bucketValues_.size();
       }
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2122,6 +2509,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
         return bucketValues_.get(index);
       }
       /**
+       *
+       *
        * 
        * Sample of value frequencies in this bucket. The total number of
        * values returned per bucket is capped at 20.
@@ -2130,19 +2519,21 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
        * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(int index) {
         return bucketValues_.get(index);
       }
 
       public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5;
       private long bucketValueCount_;
       /**
+       *
+       *
        * 
        * Total number of distinct values in this bucket.
        * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ @java.lang.Override @@ -2151,6 +2542,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2162,8 +2554,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueFrequencyLowerBound_ != 0L) { output.writeInt64(1, valueFrequencyLowerBound_); } @@ -2189,24 +2580,21 @@ public int getSerializedSize() { size = 0; if (valueFrequencyLowerBound_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, valueFrequencyLowerBound_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(1, valueFrequencyLowerBound_); } if (valueFrequencyUpperBound_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, valueFrequencyUpperBound_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(2, valueFrequencyUpperBound_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2216,23 +2604,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) obj; - - if (getValueFrequencyLowerBound() - != other.getValueFrequencyLowerBound()) return false; - if (getValueFrequencyUpperBound() - != other.getValueFrequencyUpperBound()) return false; - if (getBucketSize() - != other.getBucketSize()) return false; - if (!getBucketValuesList() - .equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() - != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket) + obj; + + if (getValueFrequencyLowerBound() != other.getValueFrequencyLowerBound()) return false; + if (getValueFrequencyUpperBound() != other.getValueFrequencyUpperBound()) return false; + if (getBucketSize() != other.getBucketSize()) return false; + if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2245,108 +2636,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getValueFrequencyLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getValueFrequencyLowerBound()); hash = (37 * hash) + VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getValueFrequencyUpperBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getValueFrequencyUpperBound()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2356,45 +2772,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2416,19 +2842,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2436,8 +2869,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket(this); int from_bitField0_ = bitField0_; result.valueFrequencyLowerBound_ = valueFrequencyLowerBound_; result.valueFrequencyUpperBound_ = valueFrequencyUpperBound_; @@ -2460,46 +2899,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.getDefaultInstance()) return this; if (other.getValueFrequencyLowerBound() != 0L) { setValueFrequencyLowerBound(other.getValueFrequencyLowerBound()); } @@ -2527,9 +2980,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBucketValuesFieldBuilder() : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBucketValuesFieldBuilder() + : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -2553,11 +3007,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2566,15 +3025,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long valueFrequencyLowerBound_ ; + private long valueFrequencyLowerBound_; /** + * + * *
          * Lower bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_lower_bound = 1; + * * @return The valueFrequencyLowerBound. */ @java.lang.Override @@ -2582,42 +3045,51 @@ public long getValueFrequencyLowerBound() { return valueFrequencyLowerBound_; } /** + * + * *
          * Lower bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_lower_bound = 1; + * * @param value The valueFrequencyLowerBound to set. * @return This builder for chaining. */ public Builder setValueFrequencyLowerBound(long value) { - + valueFrequencyLowerBound_ = value; onChanged(); return this; } /** + * + * *
          * Lower bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_lower_bound = 1; + * * @return This builder for chaining. */ public Builder clearValueFrequencyLowerBound() { - + valueFrequencyLowerBound_ = 0L; onChanged(); return this; } - private long valueFrequencyUpperBound_ ; + private long valueFrequencyUpperBound_; /** + * + * *
          * Upper bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_upper_bound = 2; + * * @return The valueFrequencyUpperBound. */ @java.lang.Override @@ -2625,42 +3097,51 @@ public long getValueFrequencyUpperBound() { return valueFrequencyUpperBound_; } /** + * + * *
          * Upper bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_upper_bound = 2; + * * @param value The valueFrequencyUpperBound to set. * @return This builder for chaining. */ public Builder setValueFrequencyUpperBound(long value) { - + valueFrequencyUpperBound_ = value; onChanged(); return this; } /** + * + * *
          * Upper bound on the value frequency of the values in this bucket.
          * 
* * int64 value_frequency_upper_bound = 2; + * * @return This builder for chaining. */ public Builder clearValueFrequencyUpperBound() { - + valueFrequencyUpperBound_ = 0L; onChanged(); return this; } - private long bucketSize_ ; + private long bucketSize_; /** + * + * *
          * Total number of values in this bucket.
          * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ @java.lang.Override @@ -2668,48 +3149,61 @@ public long getBucketSize() { return bucketSize_; } /** + * + * *
          * Total number of values in this bucket.
          * 
* * int64 bucket_size = 3; + * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** + * + * *
          * Total number of values in this bucket.
          * 
* * int64 bucket_size = 3; + * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } private java.util.List bucketValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(bucketValues_); + bucketValues_ = + new java.util.ArrayList(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> bucketValuesBuilder_; + com.google.privacy.dlp.v2.ValueFrequency, + com.google.privacy.dlp.v2.ValueFrequency.Builder, + com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> + bucketValuesBuilder_; /** + * + * *
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2725,6 +3219,8 @@ public java.util.List getBucketValuesL
           }
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2740,6 +3236,8 @@ public int getBucketValuesCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2755,6 +3253,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
           }
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2762,8 +3262,7 @@ public com.google.privacy.dlp.v2.ValueFrequency getBucketValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public Builder setBucketValues(
-            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
+        public Builder setBucketValues(int index, com.google.privacy.dlp.v2.ValueFrequency value) {
           if (bucketValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -2777,6 +3276,8 @@ public Builder setBucketValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2796,6 +3297,8 @@ public Builder setBucketValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2817,6 +3320,8 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.ValueFrequency value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2824,8 +3329,7 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.ValueFrequency value) {
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public Builder addBucketValues(
-            int index, com.google.privacy.dlp.v2.ValueFrequency value) {
+        public Builder addBucketValues(int index, com.google.privacy.dlp.v2.ValueFrequency value) {
           if (bucketValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -2839,6 +3343,8 @@ public Builder addBucketValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2858,6 +3364,8 @@ public Builder addBucketValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2877,6 +3385,8 @@ public Builder addBucketValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2888,8 +3398,7 @@ public Builder addAllBucketValues(
             java.lang.Iterable values) {
           if (bucketValuesBuilder_ == null) {
             ensureBucketValuesIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(
-                values, bucketValues_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_);
             onChanged();
           } else {
             bucketValuesBuilder_.addAllMessages(values);
@@ -2897,6 +3406,8 @@ public Builder addAllBucketValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2915,6 +3426,8 @@ public Builder clearBucketValues() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2933,6 +3446,8 @@ public Builder removeBucketValues(int index) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2940,11 +3455,12 @@ public Builder removeBucketValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(
-            int index) {
+        public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(int index) {
           return getBucketValuesFieldBuilder().getBuilder(index);
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2955,11 +3471,14 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getBucketValuesBuilder(
         public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilder(
             int index) {
           if (bucketValuesBuilder_ == null) {
-            return bucketValues_.get(index);  } else {
+            return bucketValues_.get(index);
+          } else {
             return bucketValuesBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2967,8 +3486,8 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public java.util.List 
-             getBucketValuesOrBuilderList() {
+        public java.util.List
+            getBucketValuesOrBuilderList() {
           if (bucketValuesBuilder_ != null) {
             return bucketValuesBuilder_.getMessageOrBuilderList();
           } else {
@@ -2976,6 +3495,8 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
           }
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2984,10 +3505,12 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getBucketValuesOrBuilde
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
         public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder() {
-          return getBucketValuesFieldBuilder().addBuilder(
-              com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
+          return getBucketValuesFieldBuilder()
+              .addBuilder(com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2995,12 +3518,13 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder()
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(
-            int index) {
-          return getBucketValuesFieldBuilder().addBuilder(
-              index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
+        public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(int index) {
+          return getBucketValuesFieldBuilder()
+              .addBuilder(index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3008,16 +3532,22 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(
          *
          * repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4;
          */
-        public java.util.List 
-             getBucketValuesBuilderList() {
+        public java.util.List
+            getBucketValuesBuilderList() {
           return getBucketValuesFieldBuilder().getBuilderList();
         }
+
         private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> 
+                com.google.privacy.dlp.v2.ValueFrequency,
+                com.google.privacy.dlp.v2.ValueFrequency.Builder,
+                com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>
             getBucketValuesFieldBuilder() {
           if (bucketValuesBuilder_ == null) {
-            bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
+            bucketValuesBuilder_ =
+                new com.google.protobuf.RepeatedFieldBuilderV3<
+                    com.google.privacy.dlp.v2.ValueFrequency,
+                    com.google.privacy.dlp.v2.ValueFrequency.Builder,
+                    com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>(
                     bucketValues_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -3027,13 +3557,16 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addBucketValuesBuilder(
           return bucketValuesBuilder_;
         }
 
-        private long bucketValueCount_ ;
+        private long bucketValueCount_;
         /**
+         *
+         *
          * 
          * Total number of distinct values in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ @java.lang.Override @@ -3041,34 +3574,41 @@ public long getBucketValueCount() { return bucketValueCount_; } /** + * + * *
          * Total number of distinct values in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** + * + * *
          * Total number of distinct values in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3081,30 +3621,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .CategoricalStatsResult.CategoricalStatsHistogramBucket + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CategoricalStatsHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CategoricalStatsHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CategoricalStatsHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3116,73 +3662,107 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5; - private java.util.List valueFrequencyHistogramBuckets_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket> + valueFrequencyHistogramBuckets_; /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public java.util.List getValueFrequencyHistogramBucketsList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket> + getValueFrequencyHistogramBucketsList() { return valueFrequencyHistogramBuckets_; } /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder> getValueFrequencyHistogramBucketsOrBuilderList() { return valueFrequencyHistogramBuckets_; } /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ @java.lang.Override public int getValueFrequencyHistogramBucketsCount() { return valueFrequencyHistogramBuckets_.size(); } /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + getValueFrequencyHistogramBuckets(int index) { return valueFrequencyHistogramBuckets_.get(index); } /** + * + * *
      * Histogram of value frequencies in the column.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder + getValueFrequencyHistogramBucketsOrBuilder(int index) { return valueFrequencyHistogramBuckets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3194,8 +3774,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < valueFrequencyHistogramBuckets_.size(); i++) { output.writeMessage(5, valueFrequencyHistogramBuckets_.get(i)); } @@ -3209,8 +3788,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < valueFrequencyHistogramBuckets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, valueFrequencyHistogramBuckets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, valueFrequencyHistogramBuckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3220,12 +3800,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) obj; if (!getValueFrequencyHistogramBucketsList() .equals(other.getValueFrequencyHistogramBucketsList())) return false; @@ -3249,88 +3832,101 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3340,45 +3936,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Result of the categorical stats computation.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getValueFrequencyHistogramBucketsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3392,19 +3996,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3412,12 +4019,15 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(this); int from_bitField0_ = bitField0_; if (valueFrequencyHistogramBucketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBuckets_ = + java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); bitField0_ = (bitField0_ & ~0x00000001); } result.valueFrequencyHistogramBuckets_ = valueFrequencyHistogramBuckets_; @@ -3432,46 +4042,56 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance()) return this; if (valueFrequencyHistogramBucketsBuilder_ == null) { if (!other.valueFrequencyHistogramBuckets_.isEmpty()) { if (valueFrequencyHistogramBuckets_.isEmpty()) { @@ -3490,11 +4110,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. valueFrequencyHistogramBucketsBuilder_ = null; valueFrequencyHistogramBuckets_ = other.valueFrequencyHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); - valueFrequencyHistogramBucketsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValueFrequencyHistogramBucketsFieldBuilder() : null; + valueFrequencyHistogramBucketsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValueFrequencyHistogramBucketsFieldBuilder() + : null; } else { - valueFrequencyHistogramBucketsBuilder_.addAllMessages(other.valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBucketsBuilder_.addAllMessages( + other.valueFrequencyHistogramBuckets_); } } } @@ -3513,11 +4135,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3526,28 +4151,48 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List valueFrequencyHistogramBuckets_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket> + valueFrequencyHistogramBuckets_ = java.util.Collections.emptyList(); + private void ensureValueFrequencyHistogramBucketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - valueFrequencyHistogramBuckets_ = new java.util.ArrayList(valueFrequencyHistogramBuckets_); + valueFrequencyHistogramBuckets_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket>(valueFrequencyHistogramBuckets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> valueFrequencyHistogramBucketsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder> + valueFrequencyHistogramBucketsBuilder_; /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public java.util.List getValueFrequencyHistogramBucketsList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket> + getValueFrequencyHistogramBucketsList() { if (valueFrequencyHistogramBucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(valueFrequencyHistogramBuckets_); } else { @@ -3555,11 +4200,15 @@ public java.util.List * Histogram of value frequencies in the column. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public int getValueFrequencyHistogramBucketsCount() { if (valueFrequencyHistogramBucketsBuilder_ == null) { @@ -3569,13 +4218,19 @@ public int getValueFrequencyHistogramBucketsCount() { } } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket getValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + getValueFrequencyHistogramBuckets(int index) { if (valueFrequencyHistogramBucketsBuilder_ == null) { return valueFrequencyHistogramBuckets_.get(index); } else { @@ -3583,14 +4238,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder setValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + value) { if (valueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3604,14 +4266,21 @@ public Builder setValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder setValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder + builderForValue) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); valueFrequencyHistogramBuckets_.set(index, builderForValue.build()); @@ -3622,13 +4291,20 @@ public Builder setValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public Builder addValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) { + public Builder addValueFrequencyHistogramBuckets( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + value) { if (valueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3642,14 +4318,21 @@ public Builder addValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.Analy return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder addValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket + value) { if (valueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3663,14 +4346,20 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder addValueFrequencyHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder + builderForValue) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); valueFrequencyHistogramBuckets_.add(builderForValue.build()); @@ -3681,14 +4370,21 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder addValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder + builderForValue) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); valueFrequencyHistogramBuckets_.add(index, builderForValue.build()); @@ -3699,14 +4395,22 @@ public Builder addValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder addAllValueFrequencyHistogramBuckets( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket> + values) { if (valueFrequencyHistogramBucketsBuilder_ == null) { ensureValueFrequencyHistogramBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3718,11 +4422,15 @@ public Builder addAllValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder clearValueFrequencyHistogramBuckets() { if (valueFrequencyHistogramBucketsBuilder_ == null) { @@ -3735,11 +4443,15 @@ public Builder clearValueFrequencyHistogramBuckets() { return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ public Builder removeValueFrequencyHistogramBuckets(int index) { if (valueFrequencyHistogramBucketsBuilder_ == null) { @@ -3752,39 +4464,57 @@ public Builder removeValueFrequencyHistogramBuckets(int index) { return this; } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder getValueFrequencyHistogramBucketsBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder + getValueFrequencyHistogramBucketsBuilder(int index) { return getValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index); } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder getValueFrequencyHistogramBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder + getValueFrequencyHistogramBucketsOrBuilder(int index) { if (valueFrequencyHistogramBucketsBuilder_ == null) { - return valueFrequencyHistogramBuckets_.get(index); } else { + return valueFrequencyHistogramBuckets_.get(index); + } else { return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public java.util.List - getValueFrequencyHistogramBucketsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder> + getValueFrequencyHistogramBucketsOrBuilderList() { if (valueFrequencyHistogramBucketsBuilder_ != null) { return valueFrequencyHistogramBucketsBuilder_.getMessageOrBuilderList(); } else { @@ -3792,45 +4522,79 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder() { - return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder + addValueFrequencyHistogramBucketsBuilder() { + return getValueFrequencyHistogramBucketsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.getDefaultInstance()); } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder addValueFrequencyHistogramBucketsBuilder( - int index) { - return getValueFrequencyHistogramBucketsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder + addValueFrequencyHistogramBucketsBuilder(int index) { + return getValueFrequencyHistogramBucketsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.getDefaultInstance()); } /** + * + * *
        * Histogram of value frequencies in the column.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + * */ - public java.util.List - getValueFrequencyHistogramBucketsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder> + getValueFrequencyHistogramBucketsBuilderList() { return getValueFrequencyHistogramBucketsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder> getValueFrequencyHistogramBucketsFieldBuilder() { if (valueFrequencyHistogramBucketsBuilder_ == null) { - valueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucketOrBuilder>( + valueFrequencyHistogramBucketsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .CategoricalStatsHistogramBucketOrBuilder>( valueFrequencyHistogramBuckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3839,6 +4603,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } return valueFrequencyHistogramBucketsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3851,30 +4616,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .CategoricalStatsResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CategoricalStatsResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CategoricalStatsResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CategoricalStatsResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CategoricalStatsResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3886,92 +4655,123 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface KAnonymityResultOrBuilder extends + public interface KAnonymityResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket> getEquivalenceClassHistogramBucketsList(); /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + getEquivalenceClassHistogramBuckets(int index); /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ int getEquivalenceClassHistogramBucketsCount(); /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder> getEquivalenceClassHistogramBucketsOrBuilderList(); /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder + getEquivalenceClassHistogramBucketsOrBuilder(int index); } /** + * + * *
    * Result of the k-anonymity computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult} */ - public static final class KAnonymityResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class KAnonymityResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) KAnonymityResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityResult.newBuilder() to construct. private KAnonymityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KAnonymityResult() { equivalenceClassHistogramBuckets_ = 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 KAnonymityResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KAnonymityResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3991,55 +4791,69 @@ private KAnonymityResult( case 0: done = true; break; - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + equivalenceClassHistogramBuckets_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket>(); + mutable_bitField0_ |= 0x00000001; + } + equivalenceClassHistogramBuckets_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.parser(), + extensionRegistry)); + break; } - equivalenceClassHistogramBuckets_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBuckets_ = + java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder + .class); } - public interface KAnonymityEquivalenceClassOrBuilder extends + public interface KAnonymityEquivalenceClassOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4048,9 +4862,10 @@ public interface KAnonymityEquivalenceClassOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List 
-          getQuasiIdsValuesList();
+      java.util.List getQuasiIdsValuesList();
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4061,6 +4876,8 @@ public interface KAnonymityEquivalenceClassOrBuilder extends
        */
       com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4071,6 +4888,8 @@ public interface KAnonymityEquivalenceClassOrBuilder extends
        */
       int getQuasiIdsValuesCount();
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4079,9 +4898,11 @@ public interface KAnonymityEquivalenceClassOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List 
+      java.util.List
           getQuasiIdsValuesOrBuilderList();
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4090,52 +4911,59 @@ public interface KAnonymityEquivalenceClassOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
-          int index);
+      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);
 
       /**
+       *
+       *
        * 
        * Size of the equivalence class, for example number of rows with the
        * above set of values.
        * 
* * int64 equivalence_class_size = 2; + * * @return The equivalenceClassSize. */ long getEquivalenceClassSize(); } /** + * + * *
      * The set of columns' values that share the same ldiversity value
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} */ - public static final class KAnonymityEquivalenceClass extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class KAnonymityEquivalenceClass + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) KAnonymityEquivalenceClassOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityEquivalenceClass.newBuilder() to construct. - private KAnonymityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private KAnonymityEquivalenceClass( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KAnonymityEquivalenceClass() { quasiIdsValues_ = 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 KAnonymityEquivalenceClass(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KAnonymityEquivalenceClass( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4155,34 +4983,36 @@ private KAnonymityEquivalenceClass( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quasiIdsValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; } - quasiIdsValues_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 16: { - - equivalenceClassSize_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + equivalenceClassSize_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -4191,22 +5021,29 @@ private KAnonymityEquivalenceClass( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** + * + * *
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4220,6 +5057,8 @@ public java.util.List getQuasiIdsValuesList() {
         return quasiIdsValues_;
       }
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4229,11 +5068,13 @@ public java.util.List getQuasiIdsValuesList() {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public java.util.List 
+      public java.util.List
           getQuasiIdsValuesOrBuilderList() {
         return quasiIdsValues_;
       }
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4247,6 +5088,8 @@ public int getQuasiIdsValuesCount() {
         return quasiIdsValues_.size();
       }
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4260,6 +5103,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
         return quasiIdsValues_.get(index);
       }
       /**
+       *
+       *
        * 
        * Set of values defining the equivalence class. One value per
        * quasi-identifier column in the original KAnonymity metric message.
@@ -4269,20 +5114,22 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
         return quasiIdsValues_.get(index);
       }
 
       public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
       private long equivalenceClassSize_;
       /**
+       *
+       *
        * 
        * Size of the equivalence class, for example number of rows with the
        * above set of values.
        * 
* * int64 equivalence_class_size = 2; + * * @return The equivalenceClassSize. */ @java.lang.Override @@ -4291,6 +5138,7 @@ public long getEquivalenceClassSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4302,8 +5150,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -4320,12 +5167,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIdsValues_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); } if (equivalenceClassSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, equivalenceClassSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, equivalenceClassSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4335,17 +5181,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass) + obj; - if (!getQuasiIdsValuesList() - .equals(other.getQuasiIdsValuesList())) return false; - if (getEquivalenceClassSize() - != other.getEquivalenceClassSize()) return false; + if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; + if (getEquivalenceClassSize() != other.getEquivalenceClassSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4362,95 +5214,123 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEquivalenceClassSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEquivalenceClassSize()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4460,45 +5340,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The set of columns' values that share the same ldiversity value
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4514,19 +5404,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4534,8 +5431,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4555,46 +5458,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -4613,9 +5530,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsValuesFieldBuilder() : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsValuesFieldBuilder() + : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -4639,11 +5557,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4652,21 +5575,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = + new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + quasiIdsValuesBuilder_; /** + * + * *
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4683,6 +5614,8 @@ public java.util.List getQuasiIdsValuesList() {
           }
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4699,6 +5632,8 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4715,6 +5650,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
           }
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4723,8 +5660,7 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder setQuasiIdsValues(
-            int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -4738,6 +5674,8 @@ public Builder setQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4758,6 +5696,8 @@ public Builder setQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4780,6 +5720,8 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4788,8 +5730,7 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(
-            int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -4803,6 +5744,8 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4811,8 +5754,7 @@ public Builder addQuasiIdsValues(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(
-            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
             quasiIdsValues_.add(builderForValue.build());
@@ -4823,6 +5765,8 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4843,6 +5787,8 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4855,8 +5801,7 @@ public Builder addAllQuasiIdsValues(
             java.lang.Iterable values) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(
-                values, quasiIdsValues_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_);
             onChanged();
           } else {
             quasiIdsValuesBuilder_.addAllMessages(values);
@@ -4864,6 +5809,8 @@ public Builder addAllQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4883,6 +5830,8 @@ public Builder clearQuasiIdsValues() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4902,6 +5851,8 @@ public Builder removeQuasiIdsValues(int index) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4910,11 +5861,12 @@ public Builder removeQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
-            int index) {
+        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
           return getQuasiIdsValuesFieldBuilder().getBuilder(index);
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4923,14 +5875,16 @@ public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
-            int index) {
+        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
           if (quasiIdsValuesBuilder_ == null) {
-            return quasiIdsValues_.get(index);  } else {
+            return quasiIdsValues_.get(index);
+          } else {
             return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4939,8 +5893,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List 
-             getQuasiIdsValuesOrBuilderList() {
+        public java.util.List
+            getQuasiIdsValuesOrBuilderList() {
           if (quasiIdsValuesBuilder_ != null) {
             return quasiIdsValuesBuilder_.getMessageOrBuilderList();
           } else {
@@ -4948,6 +5902,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
           }
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4957,10 +5913,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
         public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
-          return getQuasiIdsValuesFieldBuilder().addBuilder(
-              com.google.privacy.dlp.v2.Value.getDefaultInstance());
+          return getQuasiIdsValuesFieldBuilder()
+              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4969,12 +5927,13 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
-            int index) {
-          return getQuasiIdsValuesFieldBuilder().addBuilder(
-              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
+        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
+          return getQuasiIdsValuesFieldBuilder()
+              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4983,16 +5942,22 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List 
-             getQuasiIdsValuesBuilderList() {
+        public java.util.List
+            getQuasiIdsValuesBuilderList() {
           return getQuasiIdsValuesFieldBuilder().getBuilderList();
         }
+
         private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
+                com.google.privacy.dlp.v2.Value,
+                com.google.privacy.dlp.v2.Value.Builder,
+                com.google.privacy.dlp.v2.ValueOrBuilder>
             getQuasiIdsValuesFieldBuilder() {
           if (quasiIdsValuesBuilder_ == null) {
-            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
+            quasiIdsValuesBuilder_ =
+                new com.google.protobuf.RepeatedFieldBuilderV3<
+                    com.google.privacy.dlp.v2.Value,
+                    com.google.privacy.dlp.v2.Value.Builder,
+                    com.google.privacy.dlp.v2.ValueOrBuilder>(
                     quasiIdsValues_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -5002,14 +5967,17 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
           return quasiIdsValuesBuilder_;
         }
 
-        private long equivalenceClassSize_ ;
+        private long equivalenceClassSize_;
         /**
+         *
+         *
          * 
          * Size of the equivalence class, for example number of rows with the
          * above set of values.
          * 
* * int64 equivalence_class_size = 2; + * * @return The equivalenceClassSize. */ @java.lang.Override @@ -5017,36 +5985,43 @@ public long getEquivalenceClassSize() { return equivalenceClassSize_; } /** + * + * *
          * Size of the equivalence class, for example number of rows with the
          * above set of values.
          * 
* * int64 equivalence_class_size = 2; + * * @param value The equivalenceClassSize to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSize(long value) { - + equivalenceClassSize_ = value; onChanged(); return this; } /** + * + * *
          * Size of the equivalence class, for example number of rows with the
          * above set of values.
          * 
* * int64 equivalence_class_size = 2; + * * @return This builder for chaining. */ public Builder clearEquivalenceClassSize() { - + equivalenceClassSize_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5059,30 +6034,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KAnonymityEquivalenceClass parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityEquivalenceClass(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KAnonymityEquivalenceClass parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KAnonymityEquivalenceClass(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5094,137 +6075,183 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface KAnonymityHistogramBucketOrBuilder extends + public interface KAnonymityHistogramBucketOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Lower bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_lower_bound = 1; + * * @return The equivalenceClassSizeLowerBound. */ long getEquivalenceClassSizeLowerBound(); /** + * + * *
        * Upper bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_upper_bound = 2; + * * @return The equivalenceClassSizeUpperBound. */ long getEquivalenceClassSizeUpperBound(); /** + * + * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ long getBucketSize(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass> getBucketValuesList(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + getBucketValues(int index); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ int getBucketValuesCount(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder> getBucketValuesOrBuilderList(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder + getBucketValuesOrBuilder(int index); /** + * + * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ long getBucketValueCount(); } /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} */ - public static final class KAnonymityHistogramBucket extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class KAnonymityHistogramBucket + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) KAnonymityHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityHistogramBucket.newBuilder() to construct. private KAnonymityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KAnonymityHistogramBucket() { bucketValues_ = 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 KAnonymityHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KAnonymityHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5241,52 +6268,59 @@ private KAnonymityHistogramBucket( while (!done) { int tag = input.readTag(); switch (tag) { - case 0: - done = true; - break; - case 8: { - - equivalenceClassSizeLowerBound_ = input.readInt64(); - break; - } - case 16: { - - equivalenceClassSizeUpperBound_ = input.readInt64(); - break; - } - case 24: { - - bucketSize_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - bucketValues_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.parser(), extensionRegistry)); - break; - } - case 40: { - - bucketValueCount_ = input.readInt64(); + case 0: + done = true; break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + equivalenceClassSizeLowerBound_ = input.readInt64(); + break; + } + case 16: + { + equivalenceClassSizeUpperBound_ = input.readInt64(); + break; + } + case 24: + { + bucketSize_ = input.readInt64(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass>(); + mutable_bitField0_ |= 0x00000001; + } + bucketValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.parser(), + extensionRegistry)); + break; + } + case 40: + { + bucketValueCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -5295,27 +6329,35 @@ private KAnonymityHistogramBucket( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder.class); } public static final int EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER = 1; private long equivalenceClassSizeLowerBound_; /** + * + * *
        * Lower bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_lower_bound = 1; + * * @return The equivalenceClassSizeLowerBound. */ @java.lang.Override @@ -5326,11 +6368,14 @@ public long getEquivalenceClassSizeLowerBound() { public static final int EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER = 2; private long equivalenceClassSizeUpperBound_; /** + * + * *
        * Upper bound on the size of the equivalence classes in this bucket.
        * 
* * int64 equivalence_class_size_upper_bound = 2; + * * @return The equivalenceClassSizeUpperBound. */ @java.lang.Override @@ -5341,11 +6386,14 @@ public long getEquivalenceClassSizeUpperBound() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private long bucketSize_; /** + * + * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ @java.lang.Override @@ -5354,78 +6402,113 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 4; - private java.util.List bucketValues_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass> + bucketValues_; /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass> + getBucketValuesList() { return bucketValues_; } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder> getBucketValuesOrBuilderList() { return bucketValues_; } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + getBucketValues(int index) { return bucketValues_.get(index); } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder + getBucketValuesOrBuilder(int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5; private long bucketValueCount_; /** + * + * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ @java.lang.Override @@ -5434,6 +6517,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5445,8 +6529,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (equivalenceClassSizeLowerBound_ != 0L) { output.writeInt64(1, equivalenceClassSizeLowerBound_); } @@ -5472,24 +6555,23 @@ public int getSerializedSize() { size = 0; if (equivalenceClassSizeLowerBound_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, equivalenceClassSizeLowerBound_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, equivalenceClassSizeLowerBound_); } if (equivalenceClassSizeUpperBound_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, equivalenceClassSizeUpperBound_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, equivalenceClassSizeUpperBound_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5499,23 +6581,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) obj; - - if (getEquivalenceClassSizeLowerBound() - != other.getEquivalenceClassSizeLowerBound()) return false; - if (getEquivalenceClassSizeUpperBound() - != other.getEquivalenceClassSizeUpperBound()) return false; - if (getBucketSize() - != other.getBucketSize()) return false; - if (!getBucketValuesList() - .equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() - != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket) + obj; + + if (getEquivalenceClassSizeLowerBound() != other.getEquivalenceClassSizeLowerBound()) + return false; + if (getEquivalenceClassSizeUpperBound() != other.getEquivalenceClassSizeUpperBound()) + return false; + if (getBucketSize() != other.getBucketSize()) return false; + if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5528,108 +6615,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEquivalenceClassSizeLowerBound()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getEquivalenceClassSizeLowerBound()); hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_UPPER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEquivalenceClassSizeUpperBound()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getEquivalenceClassSizeUpperBound()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5639,45 +6755,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -5699,19 +6825,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5719,8 +6852,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket(this); int from_bitField0_ = bitField0_; result.equivalenceClassSizeLowerBound_ = equivalenceClassSizeLowerBound_; result.equivalenceClassSizeUpperBound_ = equivalenceClassSizeUpperBound_; @@ -5743,46 +6882,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.getDefaultInstance()) return this; if (other.getEquivalenceClassSizeLowerBound() != 0L) { setEquivalenceClassSizeLowerBound(other.getEquivalenceClassSizeLowerBound()); } @@ -5810,9 +6963,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBucketValuesFieldBuilder() : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBucketValuesFieldBuilder() + : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -5836,11 +6990,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5849,15 +7008,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long equivalenceClassSizeLowerBound_ ; + private long equivalenceClassSizeLowerBound_; /** + * + * *
          * Lower bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_lower_bound = 1; + * * @return The equivalenceClassSizeLowerBound. */ @java.lang.Override @@ -5865,42 +7028,51 @@ public long getEquivalenceClassSizeLowerBound() { return equivalenceClassSizeLowerBound_; } /** + * + * *
          * Lower bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_lower_bound = 1; + * * @param value The equivalenceClassSizeLowerBound to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSizeLowerBound(long value) { - + equivalenceClassSizeLowerBound_ = value; onChanged(); return this; } /** + * + * *
          * Lower bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_lower_bound = 1; + * * @return This builder for chaining. */ public Builder clearEquivalenceClassSizeLowerBound() { - + equivalenceClassSizeLowerBound_ = 0L; onChanged(); return this; } - private long equivalenceClassSizeUpperBound_ ; + private long equivalenceClassSizeUpperBound_; /** + * + * *
          * Upper bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_upper_bound = 2; + * * @return The equivalenceClassSizeUpperBound. */ @java.lang.Override @@ -5908,42 +7080,51 @@ public long getEquivalenceClassSizeUpperBound() { return equivalenceClassSizeUpperBound_; } /** + * + * *
          * Upper bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_upper_bound = 2; + * * @param value The equivalenceClassSizeUpperBound to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSizeUpperBound(long value) { - + equivalenceClassSizeUpperBound_ = value; onChanged(); return this; } /** + * + * *
          * Upper bound on the size of the equivalence classes in this bucket.
          * 
* * int64 equivalence_class_size_upper_bound = 2; + * * @return This builder for chaining. */ public Builder clearEquivalenceClassSizeUpperBound() { - + equivalenceClassSizeUpperBound_ = 0L; onChanged(); return this; } - private long bucketSize_ ; + private long bucketSize_; /** + * + * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ @java.lang.Override @@ -5951,56 +7132,81 @@ public long getBucketSize() { return bucketSize_; } /** + * + * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; + * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** + * + * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; + * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List bucketValues_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass> + bucketValues_ = java.util.Collections.emptyList(); + private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(bucketValues_); + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass>(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder> + bucketValuesBuilder_; /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass> + getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -6008,12 +7214,16 @@ public java.util.List * Sample of equivalence classes in this bucket. The total number of * classes returned per bucket is capped at 20. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -6023,14 +7233,20 @@ public int getBucketValuesCount() { } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -6038,15 +7254,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6060,15 +7283,22 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -6079,14 +7309,21 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) { + public Builder addBucketValues( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6100,15 +7337,22 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDe return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6122,15 +7366,21 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -6141,15 +7391,22 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -6160,19 +7417,26 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder addAllBucketValues( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass> + values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -6180,12 +7444,16 @@ public Builder addAllBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -6198,12 +7466,16 @@ public Builder clearBucketValues() { return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -6216,42 +7488,60 @@ public Builder removeBucketValues(int index) { return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder getBucketValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder + getBucketValuesBuilder(int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder + getBucketValuesOrBuilder(int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); } else { + return bucketValues_.get(index); + } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public java.util.List - getBucketValuesOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder> + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -6259,48 +7549,82 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder() { - return getBucketValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder + addBucketValuesBuilder() { + return getBucketValuesFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.getDefaultInstance()); } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addBucketValuesBuilder( - int index) { - return getBucketValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder + addBucketValuesBuilder(int index) { + return getBucketValuesFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.getDefaultInstance()); } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; + * */ - public java.util.List - getBucketValuesBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder> + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder>( + bucketValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClass.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityEquivalenceClassOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6310,13 +7634,16 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K return bucketValuesBuilder_; } - private long bucketValueCount_ ; + private long bucketValueCount_; /** + * + * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ @java.lang.Override @@ -6324,34 +7651,41 @@ public long getBucketValueCount() { return bucketValueCount_; } /** + * + * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** + * + * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6364,30 +7698,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KAnonymityHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KAnonymityHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KAnonymityHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6399,73 +7739,107 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int EQUIVALENCE_CLASS_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5; - private java.util.List equivalenceClassHistogramBuckets_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket> + equivalenceClassHistogramBuckets_; /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ @java.lang.Override - public java.util.List getEquivalenceClassHistogramBucketsList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket> + getEquivalenceClassHistogramBucketsList() { return equivalenceClassHistogramBuckets_; } /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder> getEquivalenceClassHistogramBucketsOrBuilderList() { return equivalenceClassHistogramBuckets_; } /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ @java.lang.Override public int getEquivalenceClassHistogramBucketsCount() { return equivalenceClassHistogramBuckets_.size(); } /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + getEquivalenceClassHistogramBuckets(int index) { return equivalenceClassHistogramBuckets_.get(index); } /** + * + * *
      * Histogram of k-anonymity equivalence classes.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder + getEquivalenceClassHistogramBucketsOrBuilder(int index) { return equivalenceClassHistogramBuckets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6477,8 +7851,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < equivalenceClassHistogramBuckets_.size(); i++) { output.writeMessage(5, equivalenceClassHistogramBuckets_.get(i)); } @@ -6492,8 +7865,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < equivalenceClassHistogramBuckets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, equivalenceClassHistogramBuckets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, equivalenceClassHistogramBuckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6503,12 +7877,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)) { + if (!(obj + instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) obj; if (!getEquivalenceClassHistogramBucketsList() .equals(other.getEquivalenceClassHistogramBucketsList())) return false; @@ -6533,87 +7909,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6623,45 +8007,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Result of the k-anonymity computation.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEquivalenceClassHistogramBucketsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -6675,19 +8066,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6695,17 +8089,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult b } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(this); int from_bitField0_ = bitField0_; if (equivalenceClassHistogramBucketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBuckets_ = + java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); bitField0_ = (bitField0_ & ~0x00000001); } result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBuckets_; } else { - result.equivalenceClassHistogramBuckets_ = equivalenceClassHistogramBucketsBuilder_.build(); + result.equivalenceClassHistogramBuckets_ = + equivalenceClassHistogramBucketsBuilder_.build(); } onBuilt(); return result; @@ -6715,46 +8113,54 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult)other); + if (other + instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance()) return this; if (equivalenceClassHistogramBucketsBuilder_ == null) { if (!other.equivalenceClassHistogramBuckets_.isEmpty()) { if (equivalenceClassHistogramBuckets_.isEmpty()) { @@ -6773,11 +8179,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. equivalenceClassHistogramBucketsBuilder_ = null; equivalenceClassHistogramBuckets_ = other.equivalenceClassHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); - equivalenceClassHistogramBucketsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEquivalenceClassHistogramBucketsFieldBuilder() : null; + equivalenceClassHistogramBucketsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEquivalenceClassHistogramBucketsFieldBuilder() + : null; } else { - equivalenceClassHistogramBucketsBuilder_.addAllMessages(other.equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBucketsBuilder_.addAllMessages( + other.equivalenceClassHistogramBuckets_); } } } @@ -6796,11 +8204,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6809,28 +8220,48 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List equivalenceClassHistogramBuckets_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket> + equivalenceClassHistogramBuckets_ = java.util.Collections.emptyList(); + private void ensureEquivalenceClassHistogramBucketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - equivalenceClassHistogramBuckets_ = new java.util.ArrayList(equivalenceClassHistogramBuckets_); + equivalenceClassHistogramBuckets_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket>(equivalenceClassHistogramBuckets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> equivalenceClassHistogramBucketsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder> + equivalenceClassHistogramBucketsBuilder_; /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public java.util.List getEquivalenceClassHistogramBucketsList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket> + getEquivalenceClassHistogramBucketsList() { if (equivalenceClassHistogramBucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(equivalenceClassHistogramBuckets_); } else { @@ -6838,11 +8269,15 @@ public java.util.List * Histogram of k-anonymity equivalence classes. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public int getEquivalenceClassHistogramBucketsCount() { if (equivalenceClassHistogramBucketsBuilder_ == null) { @@ -6852,13 +8287,19 @@ public int getEquivalenceClassHistogramBucketsCount() { } } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket getEquivalenceClassHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + getEquivalenceClassHistogramBuckets(int index) { if (equivalenceClassHistogramBucketsBuilder_ == null) { return equivalenceClassHistogramBuckets_.get(index); } else { @@ -6866,14 +8307,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder setEquivalenceClassHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + value) { if (equivalenceClassHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6887,14 +8335,21 @@ public Builder setEquivalenceClassHistogramBuckets( return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder setEquivalenceClassHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder + builderForValue) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); equivalenceClassHistogramBuckets_.set(index, builderForValue.build()); @@ -6905,13 +8360,20 @@ public Builder setEquivalenceClassHistogramBuckets( return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public Builder addEquivalenceClassHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) { + public Builder addEquivalenceClassHistogramBuckets( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + value) { if (equivalenceClassHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6925,14 +8387,21 @@ public Builder addEquivalenceClassHistogramBuckets(com.google.privacy.dlp.v2.Ana return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder addEquivalenceClassHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket + value) { if (equivalenceClassHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6946,14 +8415,20 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder addEquivalenceClassHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder + builderForValue) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); equivalenceClassHistogramBuckets_.add(builderForValue.build()); @@ -6964,14 +8439,21 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder addEquivalenceClassHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder + builderForValue) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); equivalenceClassHistogramBuckets_.add(index, builderForValue.build()); @@ -6982,14 +8464,22 @@ public Builder addEquivalenceClassHistogramBuckets( return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder addAllEquivalenceClassHistogramBuckets( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket> + values) { if (equivalenceClassHistogramBucketsBuilder_ == null) { ensureEquivalenceClassHistogramBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -7001,11 +8491,15 @@ public Builder addAllEquivalenceClassHistogramBuckets( return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder clearEquivalenceClassHistogramBuckets() { if (equivalenceClassHistogramBucketsBuilder_ == null) { @@ -7018,11 +8512,15 @@ public Builder clearEquivalenceClassHistogramBuckets() { return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ public Builder removeEquivalenceClassHistogramBuckets(int index) { if (equivalenceClassHistogramBucketsBuilder_ == null) { @@ -7035,39 +8533,57 @@ public Builder removeEquivalenceClassHistogramBuckets(int index) { return this; } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder getEquivalenceClassHistogramBucketsBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder + getEquivalenceClassHistogramBucketsBuilder(int index) { return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilder(index); } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder getEquivalenceClassHistogramBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder + getEquivalenceClassHistogramBucketsOrBuilder(int index) { if (equivalenceClassHistogramBucketsBuilder_ == null) { - return equivalenceClassHistogramBuckets_.get(index); } else { + return equivalenceClassHistogramBuckets_.get(index); + } else { return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public java.util.List - getEquivalenceClassHistogramBucketsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder> + getEquivalenceClassHistogramBucketsOrBuilderList() { if (equivalenceClassHistogramBucketsBuilder_ != null) { return equivalenceClassHistogramBucketsBuilder_.getMessageOrBuilderList(); } else { @@ -7075,45 +8591,79 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder() { - return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder + addEquivalenceClassHistogramBucketsBuilder() { + return getEquivalenceClassHistogramBucketsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.getDefaultInstance()); } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder addEquivalenceClassHistogramBucketsBuilder( - int index) { - return getEquivalenceClassHistogramBucketsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder + addEquivalenceClassHistogramBucketsBuilder(int index) { + return getEquivalenceClassHistogramBucketsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.getDefaultInstance()); } /** + * + * *
        * Histogram of k-anonymity equivalence classes.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; + * */ - public java.util.List - getEquivalenceClassHistogramBucketsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder> + getEquivalenceClassHistogramBucketsBuilderList() { return getEquivalenceClassHistogramBucketsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder> getEquivalenceClassHistogramBucketsFieldBuilder() { if (equivalenceClassHistogramBucketsBuilder_ == null) { - equivalenceClassHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucketOrBuilder>( + equivalenceClassHistogramBucketsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .KAnonymityHistogramBucketOrBuilder>( equivalenceClassHistogramBuckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7122,6 +8672,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.K } return equivalenceClassHistogramBucketsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7134,30 +8685,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KAnonymityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KAnonymityResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KAnonymityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KAnonymityResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7169,92 +8723,123 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LDiversityResultOrBuilder extends + public interface LDiversityResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket> getSensitiveValueFrequencyHistogramBucketsList(); /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + getSensitiveValueFrequencyHistogramBuckets(int index); /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ int getSensitiveValueFrequencyHistogramBucketsCount(); /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder> getSensitiveValueFrequencyHistogramBucketsOrBuilderList(); /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder + getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index); } /** + * + * *
    * Result of the l-diversity computation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult} */ - public static final class LDiversityResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LDiversityResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) LDiversityResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityResult.newBuilder() to construct. private LDiversityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LDiversityResult() { sensitiveValueFrequencyHistogramBuckets_ = 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 LDiversityResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LDiversityResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7274,55 +8859,69 @@ private LDiversityResult( case 0: done = true; break; - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + sensitiveValueFrequencyHistogramBuckets_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket>(); + mutable_bitField0_ |= 0x00000001; + } + sensitiveValueFrequencyHistogramBuckets_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.parser(), + extensionRegistry)); + break; } - sensitiveValueFrequencyHistogramBuckets_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_ = + java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder + .class); } - public interface LDiversityEquivalenceClassOrBuilder extends + public interface LDiversityEquivalenceClassOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7330,9 +8929,10 @@ public interface LDiversityEquivalenceClassOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List 
-          getQuasiIdsValuesList();
+      java.util.List getQuasiIdsValuesList();
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7342,6 +8942,8 @@ public interface LDiversityEquivalenceClassOrBuilder extends
        */
       com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index);
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7351,6 +8953,8 @@ public interface LDiversityEquivalenceClassOrBuilder extends
        */
       int getQuasiIdsValuesCount();
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7358,9 +8962,11 @@ public interface LDiversityEquivalenceClassOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      java.util.List 
+      java.util.List
           getQuasiIdsValuesOrBuilderList();
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7368,39 +8974,47 @@ public interface LDiversityEquivalenceClassOrBuilder extends
        *
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
-      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
-          int index);
+      com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index);
 
       /**
+       *
+       *
        * 
        * Size of the k-anonymity equivalence class.
        * 
* * int64 equivalence_class_size = 2; + * * @return The equivalenceClassSize. */ long getEquivalenceClassSize(); /** + * + * *
        * Number of distinct sensitive values in this equivalence class.
        * 
* * int64 num_distinct_sensitive_values = 3; + * * @return The numDistinctSensitiveValues. */ long getNumDistinctSensitiveValues(); /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - java.util.List - getTopSensitiveValuesList(); + java.util.List getTopSensitiveValuesList(); /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7409,6 +9023,8 @@ com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( */ com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index); /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7417,40 +9033,49 @@ com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( */ int getTopSensitiveValuesCount(); /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - java.util.List + java.util.List getTopSensitiveValuesOrBuilderList(); /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(int index); } /** + * + * *
      * The set of columns' values that share the same ldiversity value.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} */ - public static final class LDiversityEquivalenceClass extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LDiversityEquivalenceClass + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) LDiversityEquivalenceClassOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityEquivalenceClass.newBuilder() to construct. - private LDiversityEquivalenceClass(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LDiversityEquivalenceClass( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LDiversityEquivalenceClass() { quasiIdsValues_ = java.util.Collections.emptyList(); topSensitiveValues_ = java.util.Collections.emptyList(); @@ -7458,16 +9083,15 @@ private LDiversityEquivalenceClass() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LDiversityEquivalenceClass(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LDiversityEquivalenceClass( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7487,48 +9111,53 @@ private LDiversityEquivalenceClass( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quasiIdsValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; } - quasiIdsValues_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 16: { - - equivalenceClassSize_ = input.readInt64(); - break; - } - case 24: { - - numDistinctSensitiveValues_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - topSensitiveValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + equivalenceClassSize_ = input.readInt64(); + break; } - topSensitiveValues_.add( - input.readMessage(com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 24: + { + numDistinctSensitiveValues_ = input.readInt64(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + topSensitiveValues_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + topSensitiveValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.ValueFrequency.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -7540,22 +9169,29 @@ private LDiversityEquivalenceClass( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** + * + * *
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7568,6 +9204,8 @@ public java.util.List getQuasiIdsValuesList() {
         return quasiIdsValues_;
       }
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7576,11 +9214,13 @@ public java.util.List getQuasiIdsValuesList() {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public java.util.List 
+      public java.util.List
           getQuasiIdsValuesOrBuilderList() {
         return quasiIdsValues_;
       }
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7593,6 +9233,8 @@ public int getQuasiIdsValuesCount() {
         return quasiIdsValues_.size();
       }
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7605,6 +9247,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
         return quasiIdsValues_.get(index);
       }
       /**
+       *
+       *
        * 
        * Quasi-identifier values defining the k-anonymity equivalence
        * class. The order is always the same as the original request.
@@ -7613,19 +9257,21 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
        * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
         return quasiIdsValues_.get(index);
       }
 
       public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER = 2;
       private long equivalenceClassSize_;
       /**
+       *
+       *
        * 
        * Size of the k-anonymity equivalence class.
        * 
* * int64 equivalence_class_size = 2; + * * @return The equivalenceClassSize. */ @java.lang.Override @@ -7636,11 +9282,14 @@ public long getEquivalenceClassSize() { public static final int NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER = 3; private long numDistinctSensitiveValues_; /** + * + * *
        * Number of distinct sensitive values in this equivalence class.
        * 
* * int64 num_distinct_sensitive_values = 3; + * * @return The numDistinctSensitiveValues. */ @java.lang.Override @@ -7651,6 +9300,8 @@ public long getNumDistinctSensitiveValues() { public static final int TOP_SENSITIVE_VALUES_FIELD_NUMBER = 4; private java.util.List topSensitiveValues_; /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7662,6 +9313,8 @@ public java.util.List getTopSensitiveV return topSensitiveValues_; } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7669,11 +9322,13 @@ public java.util.List getTopSensitiveV * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ @java.lang.Override - public java.util.List + public java.util.List getTopSensitiveValuesOrBuilderList() { return topSensitiveValues_; } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7685,6 +9340,8 @@ public int getTopSensitiveValuesCount() { return topSensitiveValues_.size(); } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7696,6 +9353,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) return topSensitiveValues_.get(index); } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7709,6 +9368,7 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7720,8 +9380,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -7744,20 +9403,21 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIdsValues_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); } if (equivalenceClassSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, equivalenceClassSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, equivalenceClassSize_); } if (numDistinctSensitiveValues_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, numDistinctSensitiveValues_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 3, numDistinctSensitiveValues_); } for (int i = 0; i < topSensitiveValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, topSensitiveValues_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, topSensitiveValues_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7767,21 +9427,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) obj; - - if (!getQuasiIdsValuesList() - .equals(other.getQuasiIdsValuesList())) return false; - if (getEquivalenceClassSize() - != other.getEquivalenceClassSize()) return false; - if (getNumDistinctSensitiveValues() - != other.getNumDistinctSensitiveValues()) return false; - if (!getTopSensitiveValuesList() - .equals(other.getTopSensitiveValuesList())) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass) + obj; + + if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; + if (getEquivalenceClassSize() != other.getEquivalenceClassSize()) return false; + if (getNumDistinctSensitiveValues() != other.getNumDistinctSensitiveValues()) return false; + if (!getTopSensitiveValuesList().equals(other.getTopSensitiveValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7798,11 +9462,9 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEquivalenceClassSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEquivalenceClassSize()); hash = (37 * hash) + NUM_DISTINCT_SENSITIVE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNumDistinctSensitiveValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNumDistinctSensitiveValues()); if (getTopSensitiveValuesCount() > 0) { hash = (37 * hash) + TOP_SENSITIVE_VALUES_FIELD_NUMBER; hash = (53 * hash) + getTopSensitiveValuesList().hashCode(); @@ -7812,88 +9474,117 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7903,46 +9594,56 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The set of columns' values that share the same ldiversity value.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); getTopSensitiveValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7966,19 +9667,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7986,8 +9694,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -8017,46 +9731,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -8075,9 +9803,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsValuesFieldBuilder() : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsValuesFieldBuilder() + : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -8107,9 +9836,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. topSensitiveValuesBuilder_ = null; topSensitiveValues_ = other.topSensitiveValues_; bitField0_ = (bitField0_ & ~0x00000002); - topSensitiveValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTopSensitiveValuesFieldBuilder() : null; + topSensitiveValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTopSensitiveValuesFieldBuilder() + : null; } else { topSensitiveValuesBuilder_.addAllMessages(other.topSensitiveValues_); } @@ -8130,11 +9860,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8143,21 +9878,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = + new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + quasiIdsValuesBuilder_; /** + * + * *
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8173,6 +9916,8 @@ public java.util.List getQuasiIdsValuesList() {
           }
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8188,6 +9933,8 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8203,6 +9950,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
           }
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8210,8 +9959,7 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder setQuasiIdsValues(
-            int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -8225,6 +9973,8 @@ public Builder setQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8244,6 +9994,8 @@ public Builder setQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8265,6 +10017,8 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8272,8 +10026,7 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(
-            int index, com.google.privacy.dlp.v2.Value value) {
+        public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) {
           if (quasiIdsValuesBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -8287,6 +10040,8 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8294,8 +10049,7 @@ public Builder addQuasiIdsValues(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public Builder addQuasiIdsValues(
-            com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+        public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
             quasiIdsValues_.add(builderForValue.build());
@@ -8306,6 +10060,8 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8325,6 +10081,8 @@ public Builder addQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8336,8 +10094,7 @@ public Builder addAllQuasiIdsValues(
             java.lang.Iterable values) {
           if (quasiIdsValuesBuilder_ == null) {
             ensureQuasiIdsValuesIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(
-                values, quasiIdsValues_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_);
             onChanged();
           } else {
             quasiIdsValuesBuilder_.addAllMessages(values);
@@ -8345,6 +10102,8 @@ public Builder addAllQuasiIdsValues(
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8363,6 +10122,8 @@ public Builder clearQuasiIdsValues() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8381,6 +10142,8 @@ public Builder removeQuasiIdsValues(int index) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8388,11 +10151,12 @@ public Builder removeQuasiIdsValues(int index) {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
-            int index) {
+        public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) {
           return getQuasiIdsValuesFieldBuilder().getBuilder(index);
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8400,14 +10164,16 @@ public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
-            int index) {
+        public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) {
           if (quasiIdsValuesBuilder_ == null) {
-            return quasiIdsValues_.get(index);  } else {
+            return quasiIdsValues_.get(index);
+          } else {
             return quasiIdsValuesBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8415,8 +10181,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List 
-             getQuasiIdsValuesOrBuilderList() {
+        public java.util.List
+            getQuasiIdsValuesOrBuilderList() {
           if (quasiIdsValuesBuilder_ != null) {
             return quasiIdsValuesBuilder_.getMessageOrBuilderList();
           } else {
@@ -8424,6 +10190,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
           }
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8432,10 +10200,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
         public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
-          return getQuasiIdsValuesFieldBuilder().addBuilder(
-              com.google.privacy.dlp.v2.Value.getDefaultInstance());
+          return getQuasiIdsValuesFieldBuilder()
+              .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8443,12 +10213,13 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() {
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
-            int index) {
-          return getQuasiIdsValuesFieldBuilder().addBuilder(
-              index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
+        public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) {
+          return getQuasiIdsValuesFieldBuilder()
+              .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8456,16 +10227,22 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
          *
          * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
          */
-        public java.util.List 
-             getQuasiIdsValuesBuilderList() {
+        public java.util.List
+            getQuasiIdsValuesBuilderList() {
           return getQuasiIdsValuesFieldBuilder().getBuilderList();
         }
+
         private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
+                com.google.privacy.dlp.v2.Value,
+                com.google.privacy.dlp.v2.Value.Builder,
+                com.google.privacy.dlp.v2.ValueOrBuilder>
             getQuasiIdsValuesFieldBuilder() {
           if (quasiIdsValuesBuilder_ == null) {
-            quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
+            quasiIdsValuesBuilder_ =
+                new com.google.protobuf.RepeatedFieldBuilderV3<
+                    com.google.privacy.dlp.v2.Value,
+                    com.google.privacy.dlp.v2.Value.Builder,
+                    com.google.privacy.dlp.v2.ValueOrBuilder>(
                     quasiIdsValues_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -8475,13 +10252,16 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
           return quasiIdsValuesBuilder_;
         }
 
-        private long equivalenceClassSize_ ;
+        private long equivalenceClassSize_;
         /**
+         *
+         *
          * 
          * Size of the k-anonymity equivalence class.
          * 
* * int64 equivalence_class_size = 2; + * * @return The equivalenceClassSize. */ @java.lang.Override @@ -8489,42 +10269,51 @@ public long getEquivalenceClassSize() { return equivalenceClassSize_; } /** + * + * *
          * Size of the k-anonymity equivalence class.
          * 
* * int64 equivalence_class_size = 2; + * * @param value The equivalenceClassSize to set. * @return This builder for chaining. */ public Builder setEquivalenceClassSize(long value) { - + equivalenceClassSize_ = value; onChanged(); return this; } /** + * + * *
          * Size of the k-anonymity equivalence class.
          * 
* * int64 equivalence_class_size = 2; + * * @return This builder for chaining. */ public Builder clearEquivalenceClassSize() { - + equivalenceClassSize_ = 0L; onChanged(); return this; } - private long numDistinctSensitiveValues_ ; + private long numDistinctSensitiveValues_; /** + * + * *
          * Number of distinct sensitive values in this equivalence class.
          * 
* * int64 num_distinct_sensitive_values = 3; + * * @return The numDistinctSensitiveValues. */ @java.lang.Override @@ -8532,55 +10321,70 @@ public long getNumDistinctSensitiveValues() { return numDistinctSensitiveValues_; } /** + * + * *
          * Number of distinct sensitive values in this equivalence class.
          * 
* * int64 num_distinct_sensitive_values = 3; + * * @param value The numDistinctSensitiveValues to set. * @return This builder for chaining. */ public Builder setNumDistinctSensitiveValues(long value) { - + numDistinctSensitiveValues_ = value; onChanged(); return this; } /** + * + * *
          * Number of distinct sensitive values in this equivalence class.
          * 
* * int64 num_distinct_sensitive_values = 3; + * * @return This builder for chaining. */ public Builder clearNumDistinctSensitiveValues() { - + numDistinctSensitiveValues_ = 0L; onChanged(); return this; } private java.util.List topSensitiveValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTopSensitiveValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - topSensitiveValues_ = new java.util.ArrayList(topSensitiveValues_); + topSensitiveValues_ = + new java.util.ArrayList( + topSensitiveValues_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> topSensitiveValuesBuilder_; + com.google.privacy.dlp.v2.ValueFrequency, + com.google.privacy.dlp.v2.ValueFrequency.Builder, + com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> + topSensitiveValuesBuilder_; /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - public java.util.List getTopSensitiveValuesList() { + public java.util.List + getTopSensitiveValuesList() { if (topSensitiveValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(topSensitiveValues_); } else { @@ -8588,6 +10392,8 @@ public java.util.List getTopSensitiveV } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8602,6 +10408,8 @@ public int getTopSensitiveValuesCount() { } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8616,6 +10424,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8637,6 +10447,8 @@ public Builder setTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8655,6 +10467,8 @@ public Builder setTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8675,6 +10489,8 @@ public Builder addTopSensitiveValues(com.google.privacy.dlp.v2.ValueFrequency va return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8696,6 +10512,8 @@ public Builder addTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8714,6 +10532,8 @@ public Builder addTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8732,6 +10552,8 @@ public Builder addTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8742,8 +10564,7 @@ public Builder addAllTopSensitiveValues( java.lang.Iterable values) { if (topSensitiveValuesBuilder_ == null) { ensureTopSensitiveValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, topSensitiveValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, topSensitiveValues_); onChanged(); } else { topSensitiveValuesBuilder_.addAllMessages(values); @@ -8751,6 +10572,8 @@ public Builder addAllTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8768,6 +10591,8 @@ public Builder clearTopSensitiveValues() { return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8785,6 +10610,8 @@ public Builder removeTopSensitiveValues(int index) { return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8796,6 +10623,8 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBui return getTopSensitiveValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8805,19 +10634,22 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBui public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder( int index) { if (topSensitiveValuesBuilder_ == null) { - return topSensitiveValues_.get(index); } else { + return topSensitiveValues_.get(index); + } else { return topSensitiveValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - public java.util.List - getTopSensitiveValuesOrBuilderList() { + public java.util.List + getTopSensitiveValuesOrBuilderList() { if (topSensitiveValuesBuilder_ != null) { return topSensitiveValuesBuilder_.getMessageOrBuilderList(); } else { @@ -8825,6 +10657,8 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8832,10 +10666,12 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder() { - return getTopSensitiveValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); + return getTopSensitiveValuesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8844,26 +10680,34 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBui */ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBuilder( int index) { - return getTopSensitiveValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); + return getTopSensitiveValuesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.ValueFrequency.getDefaultInstance()); } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
* * repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; */ - public java.util.List - getTopSensitiveValuesBuilderList() { + public java.util.List + getTopSensitiveValuesBuilderList() { return getTopSensitiveValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> + com.google.privacy.dlp.v2.ValueFrequency, + com.google.privacy.dlp.v2.ValueFrequency.Builder, + com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> getTopSensitiveValuesFieldBuilder() { if (topSensitiveValuesBuilder_ == null) { - topSensitiveValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ValueFrequency, com.google.privacy.dlp.v2.ValueFrequency.Builder, com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>( + topSensitiveValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.ValueFrequency, + com.google.privacy.dlp.v2.ValueFrequency.Builder, + com.google.privacy.dlp.v2.ValueFrequencyOrBuilder>( topSensitiveValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -8872,6 +10716,7 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder addTopSensitiveValuesBui } return topSensitiveValuesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8884,30 +10729,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityEquivalenceClass parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityEquivalenceClass(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityEquivalenceClass parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityEquivalenceClass(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8919,139 +10770,185 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LDiversityHistogramBucketOrBuilder extends + public interface LDiversityHistogramBucketOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Lower bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_lower_bound = 1; + * * @return The sensitiveValueFrequencyLowerBound. */ long getSensitiveValueFrequencyLowerBound(); /** + * + * *
        * Upper bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_upper_bound = 2; + * * @return The sensitiveValueFrequencyUpperBound. */ long getSensitiveValueFrequencyUpperBound(); /** + * + * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ long getBucketSize(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass> getBucketValuesList(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + getBucketValues(int index); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ int getBucketValuesCount(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder> getBucketValuesOrBuilderList(); /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder + getBucketValuesOrBuilder(int index); /** + * + * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ long getBucketValueCount(); } /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} */ - public static final class LDiversityHistogramBucket extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LDiversityHistogramBucket + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) LDiversityHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityHistogramBucket.newBuilder() to construct. private LDiversityHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LDiversityHistogramBucket() { bucketValues_ = 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 LDiversityHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LDiversityHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9071,49 +10968,56 @@ private LDiversityHistogramBucket( case 0: done = true; break; - case 8: { - - sensitiveValueFrequencyLowerBound_ = input.readInt64(); - break; - } - case 16: { - - sensitiveValueFrequencyUpperBound_ = input.readInt64(); - break; - } - case 24: { - - bucketSize_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 8: + { + sensitiveValueFrequencyLowerBound_ = input.readInt64(); + break; } - bucketValues_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.parser(), extensionRegistry)); - break; - } - case 40: { - - bucketValueCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + sensitiveValueFrequencyUpperBound_ = input.readInt64(); + break; + } + case 24: + { + bucketSize_ = input.readInt64(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass>(); + mutable_bitField0_ |= 0x00000001; + } + bucketValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.parser(), + extensionRegistry)); + break; + } + case 40: + { + bucketValueCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -9122,28 +11026,36 @@ private LDiversityHistogramBucket( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder.class); } public static final int SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER = 1; private long sensitiveValueFrequencyLowerBound_; /** + * + * *
        * Lower bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_lower_bound = 1; + * * @return The sensitiveValueFrequencyLowerBound. */ @java.lang.Override @@ -9154,12 +11066,15 @@ public long getSensitiveValueFrequencyLowerBound() { public static final int SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER = 2; private long sensitiveValueFrequencyUpperBound_; /** + * + * *
        * Upper bound on the sensitive value frequencies of the equivalence
        * classes in this bucket.
        * 
* * int64 sensitive_value_frequency_upper_bound = 2; + * * @return The sensitiveValueFrequencyUpperBound. */ @java.lang.Override @@ -9170,11 +11085,14 @@ public long getSensitiveValueFrequencyUpperBound() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private long bucketSize_; /** + * + * *
        * Total number of equivalence classes in this bucket.
        * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ @java.lang.Override @@ -9183,78 +11101,113 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 4; - private java.util.List bucketValues_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass> + bucketValues_; /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass> + getBucketValuesList() { return bucketValues_; } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder> getBucketValuesOrBuilderList() { return bucketValues_; } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + getBucketValues(int index) { return bucketValues_.get(index); } /** + * + * *
        * Sample of equivalence classes in this bucket. The total number of
        * classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder + getBucketValuesOrBuilder(int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 5; private long bucketValueCount_; /** + * + * *
        * Total number of distinct equivalence classes in this bucket.
        * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ @java.lang.Override @@ -9263,6 +11216,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9274,8 +11228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sensitiveValueFrequencyLowerBound_ != 0L) { output.writeInt64(1, sensitiveValueFrequencyLowerBound_); } @@ -9301,24 +11254,23 @@ public int getSerializedSize() { size = 0; if (sensitiveValueFrequencyLowerBound_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, sensitiveValueFrequencyLowerBound_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, sensitiveValueFrequencyLowerBound_); } if (sensitiveValueFrequencyUpperBound_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, sensitiveValueFrequencyUpperBound_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, sensitiveValueFrequencyUpperBound_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9328,23 +11280,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) obj; - - if (getSensitiveValueFrequencyLowerBound() - != other.getSensitiveValueFrequencyLowerBound()) return false; - if (getSensitiveValueFrequencyUpperBound() - != other.getSensitiveValueFrequencyUpperBound()) return false; - if (getBucketSize() - != other.getBucketSize()) return false; - if (!getBucketValuesList() - .equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() - != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket) + obj; + + if (getSensitiveValueFrequencyLowerBound() != other.getSensitiveValueFrequencyLowerBound()) + return false; + if (getSensitiveValueFrequencyUpperBound() != other.getSensitiveValueFrequencyUpperBound()) + return false; + if (getBucketSize() != other.getBucketSize()) return false; + if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9357,108 +11314,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSensitiveValueFrequencyLowerBound()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getSensitiveValueFrequencyLowerBound()); hash = (37 * hash) + SENSITIVE_VALUE_FREQUENCY_UPPER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSensitiveValueFrequencyUpperBound()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getSensitiveValueFrequencyUpperBound()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9468,45 +11454,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -9528,19 +11524,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9548,8 +11551,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket(this); int from_bitField0_ = bitField0_; result.sensitiveValueFrequencyLowerBound_ = sensitiveValueFrequencyLowerBound_; result.sensitiveValueFrequencyUpperBound_ = sensitiveValueFrequencyUpperBound_; @@ -9572,46 +11581,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.getDefaultInstance()) return this; if (other.getSensitiveValueFrequencyLowerBound() != 0L) { setSensitiveValueFrequencyLowerBound(other.getSensitiveValueFrequencyLowerBound()); } @@ -9639,9 +11662,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBucketValuesFieldBuilder() : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBucketValuesFieldBuilder() + : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -9665,11 +11689,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9678,16 +11707,20 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long sensitiveValueFrequencyLowerBound_ ; + private long sensitiveValueFrequencyLowerBound_; /** + * + * *
          * Lower bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_lower_bound = 1; + * * @return The sensitiveValueFrequencyLowerBound. */ @java.lang.Override @@ -9695,45 +11728,54 @@ public long getSensitiveValueFrequencyLowerBound() { return sensitiveValueFrequencyLowerBound_; } /** + * + * *
          * Lower bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_lower_bound = 1; + * * @param value The sensitiveValueFrequencyLowerBound to set. * @return This builder for chaining. */ public Builder setSensitiveValueFrequencyLowerBound(long value) { - + sensitiveValueFrequencyLowerBound_ = value; onChanged(); return this; } /** + * + * *
          * Lower bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_lower_bound = 1; + * * @return This builder for chaining. */ public Builder clearSensitiveValueFrequencyLowerBound() { - + sensitiveValueFrequencyLowerBound_ = 0L; onChanged(); return this; } - private long sensitiveValueFrequencyUpperBound_ ; + private long sensitiveValueFrequencyUpperBound_; /** + * + * *
          * Upper bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_upper_bound = 2; + * * @return The sensitiveValueFrequencyUpperBound. */ @java.lang.Override @@ -9741,44 +11783,53 @@ public long getSensitiveValueFrequencyUpperBound() { return sensitiveValueFrequencyUpperBound_; } /** + * + * *
          * Upper bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_upper_bound = 2; + * * @param value The sensitiveValueFrequencyUpperBound to set. * @return This builder for chaining. */ public Builder setSensitiveValueFrequencyUpperBound(long value) { - + sensitiveValueFrequencyUpperBound_ = value; onChanged(); return this; } /** + * + * *
          * Upper bound on the sensitive value frequencies of the equivalence
          * classes in this bucket.
          * 
* * int64 sensitive_value_frequency_upper_bound = 2; + * * @return This builder for chaining. */ public Builder clearSensitiveValueFrequencyUpperBound() { - + sensitiveValueFrequencyUpperBound_ = 0L; onChanged(); return this; } - private long bucketSize_ ; + private long bucketSize_; /** + * + * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; + * * @return The bucketSize. */ @java.lang.Override @@ -9786,56 +11837,81 @@ public long getBucketSize() { return bucketSize_; } /** + * + * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; + * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** + * + * *
          * Total number of equivalence classes in this bucket.
          * 
* * int64 bucket_size = 3; + * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List bucketValues_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass> + bucketValues_ = java.util.Collections.emptyList(); + private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(bucketValues_); + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass>(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder> bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder> + bucketValuesBuilder_; /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass> + getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -9843,12 +11919,16 @@ public java.util.List * Sample of equivalence classes in this bucket. The total number of * classes returned per bucket is capped at 20. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -9858,14 +11938,20 @@ public int getBucketValuesCount() { } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -9873,15 +11959,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9895,15 +11988,22 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -9914,14 +12014,21 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) { + public Builder addBucketValues( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9935,15 +12042,22 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDe return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9957,15 +12071,21 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -9976,15 +12096,22 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -9995,19 +12122,26 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder addAllBucketValues( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass> + values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -10015,12 +12149,16 @@ public Builder addAllBucketValues( return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -10033,12 +12171,16 @@ public Builder clearBucketValues() { return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -10051,42 +12193,60 @@ public Builder removeBucketValues(int index) { return this; } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder getBucketValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder + getBucketValuesBuilder(int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder + getBucketValuesOrBuilder(int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); } else { + return bucketValues_.get(index); + } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public java.util.List - getBucketValuesOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder> + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -10094,48 +12254,82 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder() { - return getBucketValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder + addBucketValuesBuilder() { + return getBucketValuesFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.getDefaultInstance()); } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addBucketValuesBuilder( - int index) { - return getBucketValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder + addBucketValuesBuilder(int index) { + return getBucketValuesFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.getDefaultInstance()); } /** + * + * *
          * Sample of equivalence classes in this bucket. The total number of
          * classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; + * */ - public java.util.List - getBucketValuesBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder> + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder>( + bucketValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClass.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityEquivalenceClassOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -10145,13 +12339,16 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L return bucketValuesBuilder_; } - private long bucketValueCount_ ; + private long bucketValueCount_; /** + * + * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @return The bucketValueCount. */ @java.lang.Override @@ -10159,34 +12356,41 @@ public long getBucketValueCount() { return bucketValueCount_; } /** + * + * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** + * + * *
          * Total number of distinct equivalence classes in this bucket.
          * 
* * int64 bucket_value_count = 5; + * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10199,30 +12403,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10234,73 +12444,107 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SENSITIVE_VALUE_FREQUENCY_HISTOGRAM_BUCKETS_FIELD_NUMBER = 5; - private java.util.List sensitiveValueFrequencyHistogramBuckets_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket> + sensitiveValueFrequencyHistogramBuckets_; /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public java.util.List getSensitiveValueFrequencyHistogramBucketsList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket> + getSensitiveValueFrequencyHistogramBucketsList() { return sensitiveValueFrequencyHistogramBuckets_; } /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder> getSensitiveValueFrequencyHistogramBucketsOrBuilderList() { return sensitiveValueFrequencyHistogramBuckets_; } /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ @java.lang.Override public int getSensitiveValueFrequencyHistogramBucketsCount() { return sensitiveValueFrequencyHistogramBuckets_.size(); } /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + getSensitiveValueFrequencyHistogramBuckets(int index) { return sensitiveValueFrequencyHistogramBuckets_.get(index); } /** + * + * *
      * Histogram of l-diversity equivalence class sensitive value frequencies.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder + getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index) { return sensitiveValueFrequencyHistogramBuckets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10312,8 +12556,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < sensitiveValueFrequencyHistogramBuckets_.size(); i++) { output.writeMessage(5, sensitiveValueFrequencyHistogramBuckets_.get(i)); } @@ -10327,8 +12570,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sensitiveValueFrequencyHistogramBuckets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, sensitiveValueFrequencyHistogramBuckets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, sensitiveValueFrequencyHistogramBuckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10338,12 +12582,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)) { + if (!(obj + instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) obj; if (!getSensitiveValueFrequencyHistogramBucketsList() .equals(other.getSensitiveValueFrequencyHistogramBucketsList())) return false; @@ -10368,87 +12614,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10458,45 +12712,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Result of the l-diversity computation.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getSensitiveValueFrequencyHistogramBucketsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -10510,19 +12771,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10530,17 +12794,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult b } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(this); int from_bitField0_ = bitField0_; if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_ = + java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); bitField0_ = (bitField0_ & ~0x00000001); } - result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBuckets_; + result.sensitiveValueFrequencyHistogramBuckets_ = + sensitiveValueFrequencyHistogramBuckets_; } else { - result.sensitiveValueFrequencyHistogramBuckets_ = sensitiveValueFrequencyHistogramBucketsBuilder_.build(); + result.sensitiveValueFrequencyHistogramBuckets_ = + sensitiveValueFrequencyHistogramBucketsBuilder_.build(); } onBuilt(); return result; @@ -10550,54 +12819,64 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult)other); + if (other + instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance()) return this; if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (!other.sensitiveValueFrequencyHistogramBuckets_.isEmpty()) { if (sensitiveValueFrequencyHistogramBuckets_.isEmpty()) { - sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_; + sensitiveValueFrequencyHistogramBuckets_ = + other.sensitiveValueFrequencyHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); - sensitiveValueFrequencyHistogramBuckets_.addAll(other.sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_.addAll( + other.sensitiveValueFrequencyHistogramBuckets_); } onChanged(); } @@ -10606,13 +12885,16 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. if (sensitiveValueFrequencyHistogramBucketsBuilder_.isEmpty()) { sensitiveValueFrequencyHistogramBucketsBuilder_.dispose(); sensitiveValueFrequencyHistogramBucketsBuilder_ = null; - sensitiveValueFrequencyHistogramBuckets_ = other.sensitiveValueFrequencyHistogramBuckets_; + sensitiveValueFrequencyHistogramBuckets_ = + other.sensitiveValueFrequencyHistogramBuckets_; bitField0_ = (bitField0_ & ~0x00000001); - sensitiveValueFrequencyHistogramBucketsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSensitiveValueFrequencyHistogramBucketsFieldBuilder() : null; + sensitiveValueFrequencyHistogramBucketsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSensitiveValueFrequencyHistogramBucketsFieldBuilder() + : null; } else { - sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages(other.sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBucketsBuilder_.addAllMessages( + other.sensitiveValueFrequencyHistogramBuckets_); } } } @@ -10631,11 +12913,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10644,28 +12929,48 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List sensitiveValueFrequencyHistogramBuckets_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket> + sensitiveValueFrequencyHistogramBuckets_ = java.util.Collections.emptyList(); + private void ensureSensitiveValueFrequencyHistogramBucketsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - sensitiveValueFrequencyHistogramBuckets_ = new java.util.ArrayList(sensitiveValueFrequencyHistogramBuckets_); + sensitiveValueFrequencyHistogramBuckets_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket>(sensitiveValueFrequencyHistogramBuckets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder> sensitiveValueFrequencyHistogramBucketsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder> + sensitiveValueFrequencyHistogramBucketsBuilder_; /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public java.util.List getSensitiveValueFrequencyHistogramBucketsList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket> + getSensitiveValueFrequencyHistogramBucketsList() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { return java.util.Collections.unmodifiableList(sensitiveValueFrequencyHistogramBuckets_); } else { @@ -10673,11 +12978,15 @@ public java.util.List * Histogram of l-diversity equivalence class sensitive value frequencies. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public int getSensitiveValueFrequencyHistogramBucketsCount() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { @@ -10687,13 +12996,19 @@ public int getSensitiveValueFrequencyHistogramBucketsCount() { } } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket getSensitiveValueFrequencyHistogramBuckets(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + getSensitiveValueFrequencyHistogramBuckets(int index) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { return sensitiveValueFrequencyHistogramBuckets_.get(index); } else { @@ -10701,14 +13016,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder setSensitiveValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + value) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10722,31 +13044,46 @@ public Builder setSensitiveValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder setSensitiveValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder + builderForValue) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); sensitiveValueFrequencyHistogramBuckets_.set(index, builderForValue.build()); onChanged(); } else { - sensitiveValueFrequencyHistogramBucketsBuilder_.setMessage(index, builderForValue.build()); + sensitiveValueFrequencyHistogramBucketsBuilder_.setMessage( + index, builderForValue.build()); } return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public Builder addSensitiveValueFrequencyHistogramBuckets(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) { + public Builder addSensitiveValueFrequencyHistogramBuckets( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + value) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10760,14 +13097,21 @@ public Builder addSensitiveValueFrequencyHistogramBuckets(com.google.privacy.dlp return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder addSensitiveValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket + value) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10781,14 +13125,20 @@ public Builder addSensitiveValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder addSensitiveValueFrequencyHistogramBuckets( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder + builderForValue) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); sensitiveValueFrequencyHistogramBuckets_.add(builderForValue.build()); @@ -10799,32 +13149,48 @@ public Builder addSensitiveValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder addSensitiveValueFrequencyHistogramBuckets( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder + builderForValue) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); sensitiveValueFrequencyHistogramBuckets_.add(index, builderForValue.build()); onChanged(); } else { - sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage(index, builderForValue.build()); + sensitiveValueFrequencyHistogramBucketsBuilder_.addMessage( + index, builderForValue.build()); } return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder addAllSensitiveValueFrequencyHistogramBuckets( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket> + values) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { ensureSensitiveValueFrequencyHistogramBucketsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -10836,11 +13202,15 @@ public Builder addAllSensitiveValueFrequencyHistogramBuckets( return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder clearSensitiveValueFrequencyHistogramBuckets() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { @@ -10853,11 +13223,15 @@ public Builder clearSensitiveValueFrequencyHistogramBuckets() { return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { @@ -10870,39 +13244,57 @@ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { return this; } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder getSensitiveValueFrequencyHistogramBucketsBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder + getSensitiveValueFrequencyHistogramBucketsBuilder(int index) { return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilder(index); } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder getSensitiveValueFrequencyHistogramBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder + getSensitiveValueFrequencyHistogramBucketsOrBuilder(int index) { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { - return sensitiveValueFrequencyHistogramBuckets_.get(index); } else { + return sensitiveValueFrequencyHistogramBuckets_.get(index); + } else { return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public java.util.List - getSensitiveValueFrequencyHistogramBucketsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder> + getSensitiveValueFrequencyHistogramBucketsOrBuilderList() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ != null) { return sensitiveValueFrequencyHistogramBucketsBuilder_.getMessageOrBuilderList(); } else { @@ -10910,45 +13302,79 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder() { - return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder + addSensitiveValueFrequencyHistogramBucketsBuilder() { + return getSensitiveValueFrequencyHistogramBucketsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.getDefaultInstance()); } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder addSensitiveValueFrequencyHistogramBucketsBuilder( - int index) { - return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder + addSensitiveValueFrequencyHistogramBucketsBuilder(int index) { + return getSensitiveValueFrequencyHistogramBucketsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.getDefaultInstance()); } /** + * + * *
        * Histogram of l-diversity equivalence class sensitive value frequencies.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + * */ - public java.util.List - getSensitiveValueFrequencyHistogramBucketsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder> + getSensitiveValueFrequencyHistogramBucketsBuilderList() { return getSensitiveValueFrequencyHistogramBucketsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder> getSensitiveValueFrequencyHistogramBucketsFieldBuilder() { if (sensitiveValueFrequencyHistogramBucketsBuilder_ == null) { - sensitiveValueFrequencyHistogramBucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucketOrBuilder>( + sensitiveValueFrequencyHistogramBucketsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .LDiversityHistogramBucketOrBuilder>( sensitiveValueFrequencyHistogramBuckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -10957,6 +13383,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.L } return sensitiveValueFrequencyHistogramBucketsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10969,30 +13396,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11004,17 +13434,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface KMapEstimationResultOrBuilder extends + public interface KMapEstimationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -11026,11 +13459,17 @@ public interface KMapEstimationResultOrBuilder extends
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket> getKMapEstimationHistogramList(); /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -11042,10 +13481,16 @@ public interface KMapEstimationResultOrBuilder extends
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + getKMapEstimationHistogram(int index); /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -11057,10 +13502,14 @@ public interface KMapEstimationResultOrBuilder extends
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ int getKMapEstimationHistogramCount(); /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -11072,11 +13521,18 @@ public interface KMapEstimationResultOrBuilder extends
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder> getKMapEstimationHistogramOrBuilderList(); /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -11088,12 +13544,17 @@ public interface KMapEstimationResultOrBuilder extends
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder + getKMapEstimationHistogramOrBuilder(int index); } /** + * + * *
    * Result of the reidentifiability analysis. Note that these results are an
    * estimation, not exact values.
@@ -11101,31 +13562,31 @@ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMap
    *
    * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult}
    */
-  public static final class KMapEstimationResult extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class KMapEstimationResult extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
       KMapEstimationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use KMapEstimationResult.newBuilder() to construct.
     private KMapEstimationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private KMapEstimationResult() {
       kMapEstimationHistogram_ = 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 KMapEstimationResult();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private KMapEstimationResult(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11145,64 +13606,79 @@ private KMapEstimationResult(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                kMapEstimationHistogram_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  kMapEstimationHistogram_ =
+                      new java.util.ArrayList<
+                          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails
+                              .KMapEstimationResult.KMapEstimationHistogramBucket>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                kMapEstimationHistogram_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                            .KMapEstimationHistogramBucket.parser(),
+                        extensionRegistry));
+                break;
               }
-              kMapEstimationHistogram_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
-          kMapEstimationHistogram_ = java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
+          kMapEstimationHistogram_ =
+              java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
         }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder.class);
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class,
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder
+                  .class);
     }
 
-    public interface KMapEstimationQuasiIdValuesOrBuilder extends
+    public interface KMapEstimationQuasiIdValuesOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List - getQuasiIdsValuesList(); + java.util.List getQuasiIdsValuesList(); /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11211,6 +13687,8 @@ public interface KMapEstimationQuasiIdValuesOrBuilder extends */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11219,66 +13697,77 @@ public interface KMapEstimationQuasiIdValuesOrBuilder extends */ int getQuasiIdsValuesCount(); /** + * + * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List + java.util.List getQuasiIdsValuesOrBuilderList(); /** + * + * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index); /** + * + * *
        * The estimated anonymity for these quasi-identifier values.
        * 
* * int64 estimated_anonymity = 2; + * * @return The estimatedAnonymity. */ long getEstimatedAnonymity(); } /** + * + * *
      * A tuple of values for the quasi-identifier columns.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} */ - public static final class KMapEstimationQuasiIdValues extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class KMapEstimationQuasiIdValues + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) KMapEstimationQuasiIdValuesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KMapEstimationQuasiIdValues.newBuilder() to construct. - private KMapEstimationQuasiIdValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private KMapEstimationQuasiIdValues( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KMapEstimationQuasiIdValues() { quasiIdsValues_ = 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 KMapEstimationQuasiIdValues(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KMapEstimationQuasiIdValues( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11298,34 +13787,36 @@ private KMapEstimationQuasiIdValues( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quasiIdsValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; } - quasiIdsValues_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 16: { - - estimatedAnonymity_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + estimatedAnonymity_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -11334,22 +13825,29 @@ private KMapEstimationQuasiIdValues( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11361,6 +13859,8 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11368,11 +13868,13 @@ public java.util.List getQuasiIdsValuesList() { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQuasiIdsValuesOrBuilderList() { return quasiIdsValues_; } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11384,6 +13886,8 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11395,6 +13899,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11402,19 +13908,21 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { return quasiIdsValues_.get(index); } public static final int ESTIMATED_ANONYMITY_FIELD_NUMBER = 2; private long estimatedAnonymity_; /** + * + * *
        * The estimated anonymity for these quasi-identifier values.
        * 
* * int64 estimated_anonymity = 2; + * * @return The estimatedAnonymity. */ @java.lang.Override @@ -11423,6 +13931,7 @@ public long getEstimatedAnonymity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11434,8 +13943,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -11452,12 +13960,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIdsValues_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); } if (estimatedAnonymity_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, estimatedAnonymity_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, estimatedAnonymity_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11467,17 +13974,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues) + obj; - if (!getQuasiIdsValuesList() - .equals(other.getQuasiIdsValuesList())) return false; - if (getEstimatedAnonymity() - != other.getEstimatedAnonymity()) return false; + if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; + if (getEstimatedAnonymity() != other.getEstimatedAnonymity()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11494,95 +14007,123 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + ESTIMATED_ANONYMITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedAnonymity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedAnonymity()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11592,45 +14133,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A tuple of values for the quasi-identifier columns.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -11646,19 +14197,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11666,8 +14224,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -11687,46 +14251,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -11745,9 +14323,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsValuesFieldBuilder() : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsValuesFieldBuilder() + : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -11771,11 +14350,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11784,21 +14368,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = + new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + quasiIdsValuesBuilder_; /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11813,6 +14405,8 @@ public java.util.List getQuasiIdsValuesList() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11827,6 +14421,8 @@ public int getQuasiIdsValuesCount() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11841,14 +14437,15 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { } } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder setQuasiIdsValues( - int index, com.google.privacy.dlp.v2.Value value) { + public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11862,6 +14459,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11880,6 +14479,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11900,14 +14501,15 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues( - int index, com.google.privacy.dlp.v2.Value value) { + public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11921,14 +14523,15 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); quasiIdsValues_.add(builderForValue.build()); @@ -11939,6 +14542,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11957,6 +14562,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11967,8 +14574,7 @@ public Builder addAllQuasiIdsValues( java.lang.Iterable values) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quasiIdsValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_); onChanged(); } else { quasiIdsValuesBuilder_.addAllMessages(values); @@ -11976,6 +14582,8 @@ public Builder addAllQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11993,6 +14601,8 @@ public Builder clearQuasiIdsValues() { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -12010,39 +14620,44 @@ public Builder removeQuasiIdsValues(int index) { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) { return getQuasiIdsValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { if (quasiIdsValuesBuilder_ == null) { - return quasiIdsValues_.get(index); } else { + return quasiIdsValues_.get(index); + } else { return quasiIdsValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesOrBuilderList() { + public java.util.List + getQuasiIdsValuesOrBuilderList() { if (quasiIdsValuesBuilder_ != null) { return quasiIdsValuesBuilder_.getMessageOrBuilderList(); } else { @@ -12050,6 +14665,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -12057,38 +14674,47 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() { - return getQuasiIdsValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Value.getDefaultInstance()); + return getQuasiIdsValuesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder( - int index) { - return getQuasiIdsValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); + public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) { + return getQuasiIdsValuesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesBuilderList() { + public java.util.List + getQuasiIdsValuesBuilderList() { return getQuasiIdsValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getQuasiIdsValuesFieldBuilder() { if (quasiIdsValuesBuilder_ == null) { - quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + quasiIdsValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( quasiIdsValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -12098,13 +14724,16 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder( return quasiIdsValuesBuilder_; } - private long estimatedAnonymity_ ; + private long estimatedAnonymity_; /** + * + * *
          * The estimated anonymity for these quasi-identifier values.
          * 
* * int64 estimated_anonymity = 2; + * * @return The estimatedAnonymity. */ @java.lang.Override @@ -12112,34 +14741,41 @@ public long getEstimatedAnonymity() { return estimatedAnonymity_; } /** + * + * *
          * The estimated anonymity for these quasi-identifier values.
          * 
* * int64 estimated_anonymity = 2; + * * @param value The estimatedAnonymity to set. * @return This builder for chaining. */ public Builder setEstimatedAnonymity(long value) { - + estimatedAnonymity_ = value; onChanged(); return this; } /** + * + * *
          * The estimated anonymity for these quasi-identifier values.
          * 
* * int64 estimated_anonymity = 2; + * * @return This builder for chaining. */ public Builder clearEstimatedAnonymity() { - + estimatedAnonymity_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12152,30 +14788,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .KMapEstimationResult.KMapEstimationQuasiIdValues + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationQuasiIdValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationQuasiIdValues(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationQuasiIdValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationQuasiIdValues(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12187,106 +14829,150 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface KMapEstimationHistogramBucketOrBuilder extends + public interface KMapEstimationHistogramBucketOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Always positive.
        * 
* * int64 min_anonymity = 1; + * * @return The minAnonymity. */ long getMinAnonymity(); /** + * + * *
        * Always greater than or equal to min_anonymity.
        * 
* * int64 max_anonymity = 2; + * * @return The maxAnonymity. */ long getMaxAnonymity(); /** + * + * *
        * Number of records within these anonymity bounds.
        * 
* * int64 bucket_size = 5; + * * @return The bucketSize. */ long getBucketSize(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues> getBucketValuesList(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + getBucketValues(int index); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ int getBucketValuesCount(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder> getBucketValuesOrBuilderList(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder + getBucketValuesOrBuilder(int index); /** + * + * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; + * * @return The bucketValueCount. */ long getBucketValueCount(); } /** + * + * *
      * A KMapEstimationHistogramBucket message with the following values:
      *   min_anonymity: 3
@@ -12298,33 +14984,36 @@ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMap
      * corresponds to the number of uniquely identifiable records.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} */ - public static final class KMapEstimationHistogramBucket extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class KMapEstimationHistogramBucket + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) KMapEstimationHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KMapEstimationHistogramBucket.newBuilder() to construct. - private KMapEstimationHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private KMapEstimationHistogramBucket( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KMapEstimationHistogramBucket() { bucketValues_ = 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 KMapEstimationHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KMapEstimationHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12344,49 +15033,56 @@ private KMapEstimationHistogramBucket( case 0: done = true; break; - case 8: { - - minAnonymity_ = input.readInt64(); - break; - } - case 16: { - - maxAnonymity_ = input.readInt64(); - break; - } - case 40: { - - bucketSize_ = input.readInt64(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 8: + { + minAnonymity_ = input.readInt64(); + break; } - bucketValues_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.parser(), extensionRegistry)); - break; - } - case 56: { - - bucketValueCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + maxAnonymity_ = input.readInt64(); + break; + } + case 40: + { + bucketSize_ = input.readInt64(); + break; + } + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .KMapEstimationResult.KMapEstimationQuasiIdValues>(); + mutable_bitField0_ |= 0x00000001; + } + bucketValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .KMapEstimationResult.KMapEstimationQuasiIdValues.parser(), + extensionRegistry)); + break; + } + case 56: + { + bucketValueCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -12395,27 +15091,35 @@ private KMapEstimationHistogramBucket( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder.class); } public static final int MIN_ANONYMITY_FIELD_NUMBER = 1; private long minAnonymity_; /** + * + * *
        * Always positive.
        * 
* * int64 min_anonymity = 1; + * * @return The minAnonymity. */ @java.lang.Override @@ -12426,11 +15130,14 @@ public long getMinAnonymity() { public static final int MAX_ANONYMITY_FIELD_NUMBER = 2; private long maxAnonymity_; /** + * + * *
        * Always greater than or equal to min_anonymity.
        * 
* * int64 max_anonymity = 2; + * * @return The maxAnonymity. */ @java.lang.Override @@ -12441,11 +15148,14 @@ public long getMaxAnonymity() { public static final int BUCKET_SIZE_FIELD_NUMBER = 5; private long bucketSize_; /** + * + * *
        * Number of records within these anonymity bounds.
        * 
* * int64 bucket_size = 5; + * * @return The bucketSize. */ @java.lang.Override @@ -12454,78 +15164,113 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 6; - private java.util.List bucketValues_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues> + bucketValues_; /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues> + getBucketValuesList() { return bucketValues_; } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder> getBucketValuesOrBuilderList() { return bucketValues_; } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + getBucketValues(int index) { return bucketValues_.get(index); } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder + getBucketValuesOrBuilder(int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 7; private long bucketValueCount_; /** + * + * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; + * * @return The bucketValueCount. */ @java.lang.Override @@ -12534,6 +15279,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12545,8 +15291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minAnonymity_ != 0L) { output.writeInt64(1, minAnonymity_); } @@ -12572,24 +15317,19 @@ public int getSerializedSize() { size = 0; if (minAnonymity_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, minAnonymity_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, minAnonymity_); } if (maxAnonymity_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, maxAnonymity_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxAnonymity_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12599,23 +15339,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) obj; - - if (getMinAnonymity() - != other.getMinAnonymity()) return false; - if (getMaxAnonymity() - != other.getMaxAnonymity()) return false; - if (getBucketSize() - != other.getBucketSize()) return false; - if (!getBucketValuesList() - .equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() - != other.getBucketValueCount()) return false; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket) + obj; + + if (getMinAnonymity() != other.getMinAnonymity()) return false; + if (getMaxAnonymity() != other.getMaxAnonymity()) return false; + if (getBucketSize() != other.getBucketSize()) return false; + if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12628,108 +15371,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_ANONYMITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinAnonymity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinAnonymity()); hash = (37 * hash) + MAX_ANONYMITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxAnonymity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxAnonymity()); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12739,6 +15507,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A KMapEstimationHistogramBucket message with the following values:
        *   min_anonymity: 3
@@ -12750,41 +15520,49 @@ protected Builder newBuilderForType(
        * corresponds to the number of uniquely identifiable records.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -12806,19 +15584,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12826,8 +15611,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket(this); int from_bitField0_ = bitField0_; result.minAnonymity_ = minAnonymity_; result.maxAnonymity_ = maxAnonymity_; @@ -12850,46 +15641,60 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.getDefaultInstance()) return this; if (other.getMinAnonymity() != 0L) { setMinAnonymity(other.getMinAnonymity()); } @@ -12917,9 +15722,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBucketValuesFieldBuilder() : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBucketValuesFieldBuilder() + : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -12943,11 +15749,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12956,15 +15767,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long minAnonymity_ ; + private long minAnonymity_; /** + * + * *
          * Always positive.
          * 
* * int64 min_anonymity = 1; + * * @return The minAnonymity. */ @java.lang.Override @@ -12972,42 +15787,51 @@ public long getMinAnonymity() { return minAnonymity_; } /** + * + * *
          * Always positive.
          * 
* * int64 min_anonymity = 1; + * * @param value The minAnonymity to set. * @return This builder for chaining. */ public Builder setMinAnonymity(long value) { - + minAnonymity_ = value; onChanged(); return this; } /** + * + * *
          * Always positive.
          * 
* * int64 min_anonymity = 1; + * * @return This builder for chaining. */ public Builder clearMinAnonymity() { - + minAnonymity_ = 0L; onChanged(); return this; } - private long maxAnonymity_ ; + private long maxAnonymity_; /** + * + * *
          * Always greater than or equal to min_anonymity.
          * 
* * int64 max_anonymity = 2; + * * @return The maxAnonymity. */ @java.lang.Override @@ -13015,42 +15839,51 @@ public long getMaxAnonymity() { return maxAnonymity_; } /** + * + * *
          * Always greater than or equal to min_anonymity.
          * 
* * int64 max_anonymity = 2; + * * @param value The maxAnonymity to set. * @return This builder for chaining. */ public Builder setMaxAnonymity(long value) { - + maxAnonymity_ = value; onChanged(); return this; } /** + * + * *
          * Always greater than or equal to min_anonymity.
          * 
* * int64 max_anonymity = 2; + * * @return This builder for chaining. */ public Builder clearMaxAnonymity() { - + maxAnonymity_ = 0L; onChanged(); return this; } - private long bucketSize_ ; + private long bucketSize_; /** + * + * *
          * Number of records within these anonymity bounds.
          * 
* * int64 bucket_size = 5; + * * @return The bucketSize. */ @java.lang.Override @@ -13058,56 +15891,81 @@ public long getBucketSize() { return bucketSize_; } /** + * + * *
          * Number of records within these anonymity bounds.
          * 
* * int64 bucket_size = 5; + * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** + * + * *
          * Number of records within these anonymity bounds.
          * 
* * int64 bucket_size = 5; + * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List bucketValues_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues> + bucketValues_ = java.util.Collections.emptyList(); + private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(bucketValues_); + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues>(bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder> bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder> + bucketValuesBuilder_; /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues> + getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -13115,12 +15973,16 @@ public java.util.List * Sample of quasi-identifier tuple values in this bucket. The total * number of classes returned per bucket is capped at 20. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -13130,14 +15992,20 @@ public int getBucketValuesCount() { } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -13145,15 +16013,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13167,15 +16042,22 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -13186,14 +16068,21 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) { + public Builder addBucketValues( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13207,15 +16096,22 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDe return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13229,15 +16125,21 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -13248,15 +16150,22 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -13267,19 +16176,26 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addAllBucketValues( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues> + values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -13287,12 +16203,16 @@ public Builder addAllBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -13305,12 +16225,16 @@ public Builder clearBucketValues() { return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -13323,42 +16247,60 @@ public Builder removeBucketValues(int index) { return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder getBucketValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder + getBucketValuesBuilder(int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder + getBucketValuesOrBuilder(int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); } else { + return bucketValues_.get(index); + } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public java.util.List - getBucketValuesOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder> + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -13366,48 +16308,82 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder() { - return getBucketValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder + addBucketValuesBuilder() { + return getBucketValuesFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.getDefaultInstance()); } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder addBucketValuesBuilder( - int index) { - return getBucketValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder + addBucketValuesBuilder(int index) { + return getBucketValuesFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.getDefaultInstance()); } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; + * */ - public java.util.List - getBucketValuesBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder> + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValuesOrBuilder>( + bucketValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValues.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationQuasiIdValuesOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -13417,13 +16393,16 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu return bucketValuesBuilder_; } - private long bucketValueCount_ ; + private long bucketValueCount_; /** + * + * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; + * * @return The bucketValueCount. */ @java.lang.Override @@ -13431,34 +16410,41 @@ public long getBucketValueCount() { return bucketValueCount_; } /** + * + * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; + * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** + * + * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; + * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13471,30 +16457,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .KMapEstimationResult.KMapEstimationHistogramBucket + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationHistogramBucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13506,15 +16498,21 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int K_MAP_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1; - private java.util.List kMapEstimationHistogram_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket> + kMapEstimationHistogram_; /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13526,13 +16524,20 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ @java.lang.Override - public java.util.List getKMapEstimationHistogramList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket> + getKMapEstimationHistogramList() { return kMapEstimationHistogram_; } /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13544,14 +16549,21 @@ public java.util.List
      *
-     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
+     * 
+     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends
+                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                    .KMapEstimationHistogramBucketOrBuilder>
         getKMapEstimationHistogramOrBuilderList() {
       return kMapEstimationHistogram_;
     }
     /**
+     *
+     *
      * 
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13563,13 +16575,17 @@ public java.util.List
      *
-     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
+     * 
+     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
+     * 
      */
     @java.lang.Override
     public int getKMapEstimationHistogramCount() {
       return kMapEstimationHistogram_.size();
     }
     /**
+     *
+     *
      * 
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13581,13 +16597,19 @@ public int getKMapEstimationHistogramCount() {
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + getKMapEstimationHistogram(int index) { return kMapEstimationHistogram_.get(index); } /** + * + * *
      * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
      * doesn't correspond to any such interval, the associated frequency is
@@ -13599,15 +16621,19 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
      * larger than 10.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder + getKMapEstimationHistogramOrBuilder(int index) { return kMapEstimationHistogram_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13619,8 +16645,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < kMapEstimationHistogram_.size(); i++) { output.writeMessage(1, kMapEstimationHistogram_.get(i)); } @@ -13634,8 +16659,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < kMapEstimationHistogram_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, kMapEstimationHistogram_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, kMapEstimationHistogram_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13645,15 +16671,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)) { + if (!(obj + instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) obj; - if (!getKMapEstimationHistogramList() - .equals(other.getKMapEstimationHistogramList())) return false; + if (!getKMapEstimationHistogramList().equals(other.getKMapEstimationHistogramList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13674,88 +16702,101 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13765,6 +16806,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Result of the reidentifiability analysis. Note that these results are an
      * estimation, not exact values.
@@ -13772,39 +16815,44 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
         com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder.class);
+                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.class,
+                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder
+                    .class);
       }
 
-      // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder()
+      // Construct using
+      // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getKMapEstimationHistogramFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13818,19 +16866,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance();
+      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+          getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult build() {
-        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result = buildPartial();
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -13838,12 +16889,15 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult buildPartial() {
-        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(this);
+      public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+          buildPartial() {
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult result =
+            new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(this);
         int from_bitField0_ = bitField0_;
         if (kMapEstimationHistogramBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
-            kMapEstimationHistogram_ = java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
+            kMapEstimationHistogram_ =
+                java.util.Collections.unmodifiableList(kMapEstimationHistogram_);
             bitField0_ = (bitField0_ & ~0x00000001);
           }
           result.kMapEstimationHistogram_ = kMapEstimationHistogram_;
@@ -13858,46 +16912,55 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) {
-          return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)other);
+        if (other
+            instanceof
+            com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) {
+          return mergeFrom(
+              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other) {
-        if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult other) {
+        if (other
+            == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                .getDefaultInstance()) return this;
         if (kMapEstimationHistogramBuilder_ == null) {
           if (!other.kMapEstimationHistogram_.isEmpty()) {
             if (kMapEstimationHistogram_.isEmpty()) {
@@ -13916,9 +16979,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.
               kMapEstimationHistogramBuilder_ = null;
               kMapEstimationHistogram_ = other.kMapEstimationHistogram_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              kMapEstimationHistogramBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getKMapEstimationHistogramFieldBuilder() : null;
+              kMapEstimationHistogramBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getKMapEstimationHistogramFieldBuilder()
+                      : null;
             } else {
               kMapEstimationHistogramBuilder_.addAllMessages(other.kMapEstimationHistogram_);
             }
@@ -13939,11 +17003,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parsedMessage = null;
+        com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13952,21 +17019,36 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List kMapEstimationHistogram_ =
-        java.util.Collections.emptyList();
+      private java.util.List<
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                  .KMapEstimationHistogramBucket>
+          kMapEstimationHistogram_ = java.util.Collections.emptyList();
+
       private void ensureKMapEstimationHistogramIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          kMapEstimationHistogram_ = new java.util.ArrayList(kMapEstimationHistogram_);
+          kMapEstimationHistogram_ =
+              new java.util.ArrayList<
+                  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                      .KMapEstimationHistogramBucket>(kMapEstimationHistogram_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder> kMapEstimationHistogramBuilder_;
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                  .KMapEstimationHistogramBucket,
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                  .KMapEstimationHistogramBucket.Builder,
+              com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult
+                  .KMapEstimationHistogramBucketOrBuilder>
+          kMapEstimationHistogramBuilder_;
 
       /**
+       *
+       *
        * 
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -13978,9 +17060,14 @@ private void ensureKMapEstimationHistogramIsMutable() {
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public java.util.List getKMapEstimationHistogramList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket> + getKMapEstimationHistogramList() { if (kMapEstimationHistogramBuilder_ == null) { return java.util.Collections.unmodifiableList(kMapEstimationHistogram_); } else { @@ -13988,6 +17075,8 @@ public java.util.List * The intervals [min_anonymity, max_anonymity] do not overlap. If a value * doesn't correspond to any such interval, the associated frequency is @@ -13999,7 +17088,9 @@ public java.util.List * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public int getKMapEstimationHistogramCount() { if (kMapEstimationHistogramBuilder_ == null) { @@ -14009,6 +17100,8 @@ public int getKMapEstimationHistogramCount() { } } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14020,9 +17113,13 @@ public int getKMapEstimationHistogramCount() {
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket getKMapEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + getKMapEstimationHistogram(int index) { if (kMapEstimationHistogramBuilder_ == null) { return kMapEstimationHistogram_.get(index); } else { @@ -14030,6 +17127,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14041,10 +17140,15 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder setKMapEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + value) { if (kMapEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14058,6 +17162,8 @@ public Builder setKMapEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14069,10 +17175,15 @@ public Builder setKMapEstimationHistogram(
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder setKMapEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder + builderForValue) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); kMapEstimationHistogram_.set(index, builderForValue.build()); @@ -14083,6 +17194,8 @@ public Builder setKMapEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14094,9 +17207,14 @@ public Builder setKMapEstimationHistogram(
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public Builder addKMapEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) { + public Builder addKMapEstimationHistogram( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + value) { if (kMapEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14110,6 +17228,8 @@ public Builder addKMapEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataS return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14121,10 +17241,15 @@ public Builder addKMapEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataS
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder addKMapEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket + value) { if (kMapEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14138,6 +17263,8 @@ public Builder addKMapEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14149,10 +17276,14 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder addKMapEstimationHistogram( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder + builderForValue) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); kMapEstimationHistogram_.add(builderForValue.build()); @@ -14163,6 +17294,8 @@ public Builder addKMapEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14174,10 +17307,15 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder addKMapEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder + builderForValue) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); kMapEstimationHistogram_.add(index, builderForValue.build()); @@ -14188,6 +17326,8 @@ public Builder addKMapEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14199,14 +17339,19 @@ public Builder addKMapEstimationHistogram(
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder addAllKMapEstimationHistogram( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket> + values) { if (kMapEstimationHistogramBuilder_ == null) { ensureKMapEstimationHistogramIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kMapEstimationHistogram_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kMapEstimationHistogram_); onChanged(); } else { kMapEstimationHistogramBuilder_.addAllMessages(values); @@ -14214,6 +17359,8 @@ public Builder addAllKMapEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14225,7 +17372,9 @@ public Builder addAllKMapEstimationHistogram(
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder clearKMapEstimationHistogram() { if (kMapEstimationHistogramBuilder_ == null) { @@ -14238,6 +17387,8 @@ public Builder clearKMapEstimationHistogram() { return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14249,7 +17400,9 @@ public Builder clearKMapEstimationHistogram() {
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ public Builder removeKMapEstimationHistogram(int index) { if (kMapEstimationHistogramBuilder_ == null) { @@ -14262,6 +17415,8 @@ public Builder removeKMapEstimationHistogram(int index) { return this; } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14273,13 +17428,18 @@ public Builder removeKMapEstimationHistogram(int index) {
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder getKMapEstimationHistogramBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder + getKMapEstimationHistogramBuilder(int index) { return getKMapEstimationHistogramFieldBuilder().getBuilder(index); } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14291,16 +17451,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder getKMapEstimationHistogramOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder + getKMapEstimationHistogramOrBuilder(int index) { if (kMapEstimationHistogramBuilder_ == null) { - return kMapEstimationHistogram_.get(index); } else { + return kMapEstimationHistogram_.get(index); + } else { return kMapEstimationHistogramBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14312,10 +17478,15 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public java.util.List - getKMapEstimationHistogramOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder> + getKMapEstimationHistogramOrBuilderList() { if (kMapEstimationHistogramBuilder_ != null) { return kMapEstimationHistogramBuilder_.getMessageOrBuilderList(); } else { @@ -14323,6 +17494,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14334,13 +17507,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addKMapEstimationHistogramBuilder() { - return getKMapEstimationHistogramFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder + addKMapEstimationHistogramBuilder() { + return getKMapEstimationHistogramFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.getDefaultInstance()); } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14352,14 +17533,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder addKMapEstimationHistogramBuilder( - int index) { - return getKMapEstimationHistogramFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder + addKMapEstimationHistogramBuilder(int index) { + return getKMapEstimationHistogramFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.getDefaultInstance()); } /** + * + * *
        * The intervals [min_anonymity, max_anonymity] do not overlap. If a value
        * doesn't correspond to any such interval, the associated frequency is
@@ -14371,18 +17560,34 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu
        * larger than 10.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; + * */ - public java.util.List - getKMapEstimationHistogramBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder> + getKMapEstimationHistogramBuilderList() { return getKMapEstimationHistogramFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder> getKMapEstimationHistogramFieldBuilder() { if (kMapEstimationHistogramBuilder_ == null) { - kMapEstimationHistogramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucketOrBuilder>( + kMapEstimationHistogramBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .KMapEstimationHistogramBucketOrBuilder>( kMapEstimationHistogram_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -14391,6 +17596,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } return kMapEstimationHistogramBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14403,30 +17609,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14438,17 +17647,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeltaPresenceEstimationResultOrBuilder extends + public interface DeltaPresenceEstimationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -14460,11 +17672,17 @@ public interface DeltaPresenceEstimationResultOrBuilder extends
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket> getDeltaPresenceEstimationHistogramList(); /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -14476,10 +17694,16 @@ public interface DeltaPresenceEstimationResultOrBuilder extends
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDeltaPresenceEstimationHistogram(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + getDeltaPresenceEstimationHistogram(int index); /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -14491,10 +17715,14 @@ public interface DeltaPresenceEstimationResultOrBuilder extends
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ int getDeltaPresenceEstimationHistogramCount(); /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -14506,11 +17734,18 @@ public interface DeltaPresenceEstimationResultOrBuilder extends
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder> getDeltaPresenceEstimationHistogramOrBuilderList(); /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -14522,44 +17757,52 @@ public interface DeltaPresenceEstimationResultOrBuilder extends
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder getDeltaPresenceEstimationHistogramOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder + getDeltaPresenceEstimationHistogramOrBuilder(int index); } /** + * + * *
    * Result of the δ-presence computation. Note that these results are an
    * estimation, not exact values.
    * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} */ - public static final class DeltaPresenceEstimationResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeltaPresenceEstimationResult + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) DeltaPresenceEstimationResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeltaPresenceEstimationResult.newBuilder() to construct. - private DeltaPresenceEstimationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeltaPresenceEstimationResult( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeltaPresenceEstimationResult() { deltaPresenceEstimationHistogram_ = 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 DeltaPresenceEstimationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeltaPresenceEstimationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14579,64 +17822,82 @@ private DeltaPresenceEstimationResult( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deltaPresenceEstimationHistogram_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket>(); + mutable_bitField0_ |= 0x00000001; + } + deltaPresenceEstimationHistogram_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + .parser(), + extensionRegistry)); + break; } - deltaPresenceEstimationHistogram_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogram_ = + java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder.class); } - public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder extends + public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List - getQuasiIdsValuesList(); + java.util.List getQuasiIdsValuesList(); /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14645,6 +17906,8 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder extends */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14653,25 +17916,30 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder extends */ int getQuasiIdsValuesCount(); /** + * + * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - java.util.List + java.util.List getQuasiIdsValuesOrBuilderList(); /** + * + * *
        * The quasi-identifier values.
        * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index); /** + * + * *
        * The estimated probability that a given individual sharing these
        * quasi-identifier values is in the dataset. This value, typically called
@@ -14684,42 +17952,48 @@ com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
        * 
* * double estimated_probability = 2; + * * @return The estimatedProbability. */ double getEstimatedProbability(); } /** + * + * *
      * A tuple of values for the quasi-identifier columns.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} */ - public static final class DeltaPresenceEstimationQuasiIdValues extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeltaPresenceEstimationQuasiIdValues + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) DeltaPresenceEstimationQuasiIdValuesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeltaPresenceEstimationQuasiIdValues.newBuilder() to construct. - private DeltaPresenceEstimationQuasiIdValues(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeltaPresenceEstimationQuasiIdValues( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeltaPresenceEstimationQuasiIdValues() { quasiIdsValues_ = 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 DeltaPresenceEstimationQuasiIdValues(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeltaPresenceEstimationQuasiIdValues( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14739,34 +18013,36 @@ private DeltaPresenceEstimationQuasiIdValues( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIdsValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quasiIdsValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; } - quasiIdsValues_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - case 17: { - - estimatedProbability_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 17: + { + estimatedProbability_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIdsValues_ = java.util.Collections.unmodifiableList(quasiIdsValues_); @@ -14775,22 +18051,29 @@ private DeltaPresenceEstimationQuasiIdValues( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder.class); } public static final int QUASI_IDS_VALUES_FIELD_NUMBER = 1; private java.util.List quasiIdsValues_; /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14802,6 +18085,8 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14809,11 +18094,13 @@ public java.util.List getQuasiIdsValuesList() { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQuasiIdsValuesOrBuilderList() { return quasiIdsValues_; } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14825,6 +18112,8 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14836,6 +18125,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14843,14 +18134,15 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { return quasiIdsValues_.get(index); } public static final int ESTIMATED_PROBABILITY_FIELD_NUMBER = 2; private double estimatedProbability_; /** + * + * *
        * The estimated probability that a given individual sharing these
        * quasi-identifier values is in the dataset. This value, typically called
@@ -14863,6 +18155,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
        * 
* * double estimated_probability = 2; + * * @return The estimatedProbability. */ @java.lang.Override @@ -14871,6 +18164,7 @@ public double getEstimatedProbability() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14882,8 +18176,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIdsValues_.size(); i++) { output.writeMessage(1, quasiIdsValues_.get(i)); } @@ -14900,12 +18193,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIdsValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIdsValues_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIdsValues_.get(i)); } if (estimatedProbability_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, estimatedProbability_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, estimatedProbability_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14915,18 +18207,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) + obj; - if (!getQuasiIdsValuesList() - .equals(other.getQuasiIdsValuesList())) return false; + if (!getQuasiIdsValuesList().equals(other.getQuasiIdsValuesList())) return false; if (java.lang.Double.doubleToLongBits(getEstimatedProbability()) - != java.lang.Double.doubleToLongBits( - other.getEstimatedProbability())) return false; + != java.lang.Double.doubleToLongBits(other.getEstimatedProbability())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14943,95 +18241,126 @@ public int hashCode() { hash = (53 * hash) + getQuasiIdsValuesList().hashCode(); } hash = (37 * hash) + ESTIMATED_PROBABILITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEstimatedProbability())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEstimatedProbability())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -15041,45 +18370,56 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A tuple of values for the quasi-identifier columns.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -15095,19 +18435,27 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + .getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15115,8 +18463,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(this); int from_bitField0_ = bitField0_; if (quasiIdsValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -15136,46 +18490,61 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + .getDefaultInstance()) return this; if (quasiIdsValuesBuilder_ == null) { if (!other.quasiIdsValues_.isEmpty()) { if (quasiIdsValues_.isEmpty()) { @@ -15194,9 +18563,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. quasiIdsValuesBuilder_ = null; quasiIdsValues_ = other.quasiIdsValues_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsValuesFieldBuilder() : null; + quasiIdsValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsValuesFieldBuilder() + : null; } else { quasiIdsValuesBuilder_.addAllMessages(other.quasiIdsValues_); } @@ -15220,11 +18590,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15233,21 +18608,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List quasiIdsValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuasiIdsValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIdsValues_ = new java.util.ArrayList(quasiIdsValues_); + quasiIdsValues_ = + new java.util.ArrayList(quasiIdsValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> quasiIdsValuesBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + quasiIdsValuesBuilder_; /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15262,6 +18645,8 @@ public java.util.List getQuasiIdsValuesList() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15276,6 +18661,8 @@ public int getQuasiIdsValuesCount() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15290,14 +18677,15 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { } } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder setQuasiIdsValues( - int index, com.google.privacy.dlp.v2.Value value) { + public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15311,6 +18699,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15329,6 +18719,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15349,14 +18741,15 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues( - int index, com.google.privacy.dlp.v2.Value value) { + public Builder addQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value value) { if (quasiIdsValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15370,14 +18763,15 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public Builder addQuasiIdsValues( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); quasiIdsValues_.add(builderForValue.build()); @@ -15388,6 +18782,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15406,6 +18802,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15416,8 +18814,7 @@ public Builder addAllQuasiIdsValues( java.lang.Iterable values) { if (quasiIdsValuesBuilder_ == null) { ensureQuasiIdsValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quasiIdsValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIdsValues_); onChanged(); } else { quasiIdsValuesBuilder_.addAllMessages(values); @@ -15425,6 +18822,8 @@ public Builder addAllQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15442,6 +18841,8 @@ public Builder clearQuasiIdsValues() { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15459,39 +18860,44 @@ public Builder removeQuasiIdsValues(int index) { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.Value.Builder getQuasiIdsValuesBuilder(int index) { return getQuasiIdsValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int index) { if (quasiIdsValuesBuilder_ == null) { - return quasiIdsValues_.get(index); } else { + return quasiIdsValues_.get(index); + } else { return quasiIdsValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesOrBuilderList() { + public java.util.List + getQuasiIdsValuesOrBuilderList() { if (quasiIdsValuesBuilder_ != null) { return quasiIdsValuesBuilder_.getMessageOrBuilderList(); } else { @@ -15499,6 +18905,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15506,38 +18914,47 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder() { - return getQuasiIdsValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Value.getDefaultInstance()); + return getQuasiIdsValuesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder( - int index) { - return getQuasiIdsValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); + public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(int index) { + return getQuasiIdsValuesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** + * + * *
          * The quasi-identifier values.
          * 
* * repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; */ - public java.util.List - getQuasiIdsValuesBuilderList() { + public java.util.List + getQuasiIdsValuesBuilderList() { return getQuasiIdsValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getQuasiIdsValuesFieldBuilder() { if (quasiIdsValuesBuilder_ == null) { - quasiIdsValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( + quasiIdsValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( quasiIdsValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -15547,8 +18964,10 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder( return quasiIdsValuesBuilder_; } - private double estimatedProbability_ ; + private double estimatedProbability_; /** + * + * *
          * The estimated probability that a given individual sharing these
          * quasi-identifier values is in the dataset. This value, typically called
@@ -15561,6 +18980,7 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
          * 
* * double estimated_probability = 2; + * * @return The estimatedProbability. */ @java.lang.Override @@ -15568,6 +18988,8 @@ public double getEstimatedProbability() { return estimatedProbability_; } /** + * + * *
          * The estimated probability that a given individual sharing these
          * quasi-identifier values is in the dataset. This value, typically called
@@ -15580,16 +19002,19 @@ public double getEstimatedProbability() {
          * 
* * double estimated_probability = 2; + * * @param value The estimatedProbability to set. * @return This builder for chaining. */ public Builder setEstimatedProbability(double value) { - + estimatedProbability_ = value; onChanged(); return this; } /** + * + * *
          * The estimated probability that a given individual sharing these
          * quasi-identifier values is in the dataset. This value, typically called
@@ -15602,14 +19027,16 @@ public Builder setEstimatedProbability(double value) {
          * 
* * double estimated_probability = 2; + * * @return This builder for chaining. */ public Builder clearEstimatedProbability() { - + estimatedProbability_ = 0D; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15622,30 +19049,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeltaPresenceEstimationQuasiIdValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeltaPresenceEstimationQuasiIdValues(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeltaPresenceEstimationQuasiIdValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeltaPresenceEstimationQuasiIdValues(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15657,106 +19090,150 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeltaPresenceEstimationHistogramBucketOrBuilder extends + public interface DeltaPresenceEstimationHistogramBucketOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Between 0 and 1.
        * 
* * double min_probability = 1; + * * @return The minProbability. */ double getMinProbability(); /** + * + * *
        * Always greater than or equal to min_probability.
        * 
* * double max_probability = 2; + * * @return The maxProbability. */ double getMaxProbability(); /** + * + * *
        * Number of records within these probability bounds.
        * 
* * int64 bucket_size = 5; + * * @return The bucketSize. */ long getBucketSize(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues> getBucketValuesList(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getBucketValues(int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + getBucketValues(int index); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ int getBucketValuesCount(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> getBucketValuesOrBuilderList(); /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder + getBucketValuesOrBuilder(int index); /** + * + * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; + * * @return The bucketValueCount. */ long getBucketValueCount(); } /** + * + * *
      * A DeltaPresenceEstimationHistogramBucket message with the following
      * values:
@@ -15769,33 +19246,36 @@ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationRe
      * the dataset.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} */ - public static final class DeltaPresenceEstimationHistogramBucket extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeltaPresenceEstimationHistogramBucket + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) DeltaPresenceEstimationHistogramBucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeltaPresenceEstimationHistogramBucket.newBuilder() to construct. - private DeltaPresenceEstimationHistogramBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeltaPresenceEstimationHistogramBucket( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeltaPresenceEstimationHistogramBucket() { bucketValues_ = 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 DeltaPresenceEstimationHistogramBucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeltaPresenceEstimationHistogramBucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15815,49 +19295,58 @@ private DeltaPresenceEstimationHistogramBucket( case 0: done = true; break; - case 9: { - - minProbability_ = input.readDouble(); - break; - } - case 17: { - - maxProbability_ = input.readDouble(); - break; - } - case 40: { - - bucketSize_ = input.readInt64(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 9: + { + minProbability_ = input.readDouble(); + break; } - bucketValues_.add( - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.parser(), extensionRegistry)); - break; - } - case 56: { - - bucketValueCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 17: + { + maxProbability_ = input.readDouble(); + break; + } + case 40: + { + bucketSize_ = input.readInt64(); + break; + } + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues>(); + mutable_bitField0_ |= 0x00000001; + } + bucketValues_.add( + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + .parser(), + extensionRegistry)); + break; + } + case 56: + { + bucketValueCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketValues_ = java.util.Collections.unmodifiableList(bucketValues_); @@ -15866,27 +19355,35 @@ private DeltaPresenceEstimationHistogramBucket( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder.class); } public static final int MIN_PROBABILITY_FIELD_NUMBER = 1; private double minProbability_; /** + * + * *
        * Between 0 and 1.
        * 
* * double min_probability = 1; + * * @return The minProbability. */ @java.lang.Override @@ -15897,11 +19394,14 @@ public double getMinProbability() { public static final int MAX_PROBABILITY_FIELD_NUMBER = 2; private double maxProbability_; /** + * + * *
        * Always greater than or equal to min_probability.
        * 
* * double max_probability = 2; + * * @return The maxProbability. */ @java.lang.Override @@ -15912,11 +19412,14 @@ public double getMaxProbability() { public static final int BUCKET_SIZE_FIELD_NUMBER = 5; private long bucketSize_; /** + * + * *
        * Number of records within these probability bounds.
        * 
* * int64 bucket_size = 5; + * * @return The bucketSize. */ @java.lang.Override @@ -15925,78 +19428,113 @@ public long getBucketSize() { } public static final int BUCKET_VALUES_FIELD_NUMBER = 6; - private java.util.List bucketValues_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues> + bucketValues_; /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues> + getBucketValuesList() { return bucketValues_; } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> getBucketValuesOrBuilderList() { return bucketValues_; } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override public int getBucketValuesCount() { return bucketValues_.size(); } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + getBucketValues(int index) { return bucketValues_.get(index); } /** + * + * *
        * Sample of quasi-identifier tuple values in this bucket. The total
        * number of classes returned per bucket is capped at 20.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder + getBucketValuesOrBuilder(int index) { return bucketValues_.get(index); } public static final int BUCKET_VALUE_COUNT_FIELD_NUMBER = 7; private long bucketValueCount_; /** + * + * *
        * Total number of distinct quasi-identifier tuple values in this bucket.
        * 
* * int64 bucket_value_count = 7; + * * @return The bucketValueCount. */ @java.lang.Override @@ -16005,6 +19543,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16016,8 +19555,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minProbability_ != 0D) { output.writeDouble(1, minProbability_); } @@ -16043,24 +19581,19 @@ public int getSerializedSize() { size = 0; if (minProbability_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, minProbability_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, minProbability_); } if (maxProbability_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, maxProbability_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, maxProbability_); } if (bucketSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, bucketSize_); } for (int i = 0; i < bucketValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, bucketValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, bucketValues_.get(i)); } if (bucketValueCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, bucketValueCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, bucketValueCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16070,25 +19603,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) + obj; if (java.lang.Double.doubleToLongBits(getMinProbability()) - != java.lang.Double.doubleToLongBits( - other.getMinProbability())) return false; + != java.lang.Double.doubleToLongBits(other.getMinProbability())) return false; if (java.lang.Double.doubleToLongBits(getMaxProbability()) - != java.lang.Double.doubleToLongBits( - other.getMaxProbability())) return false; - if (getBucketSize() - != other.getBucketSize()) return false; - if (!getBucketValuesList() - .equals(other.getBucketValuesList())) return false; - if (getBucketValueCount() - != other.getBucketValueCount()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxProbability())) return false; + if (getBucketSize() != other.getBucketSize()) return false; + if (!getBucketValuesList().equals(other.getBucketValuesList())) return false; + if (getBucketValueCount() != other.getBucketValueCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16101,108 +19637,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_PROBABILITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMinProbability())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMinProbability())); hash = (37 * hash) + MAX_PROBABILITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxProbability())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxProbability())); hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketSize()); if (getBucketValuesCount() > 0) { hash = (37 * hash) + BUCKET_VALUES_FIELD_NUMBER; hash = (53 * hash) + getBucketValuesList().hashCode(); } hash = (37 * hash) + BUCKET_VALUE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBucketValueCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBucketValueCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16212,6 +19779,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A DeltaPresenceEstimationHistogramBucket message with the following
        * values:
@@ -16224,41 +19793,50 @@ protected Builder newBuilderForType(
        * the dataset.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBucketValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -16280,19 +19858,27 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + .getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16300,8 +19886,14 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(this); int from_bitField0_ = bitField0_; result.minProbability_ = minProbability_; result.maxProbability_ = maxProbability_; @@ -16324,46 +19916,61 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + .getDefaultInstance()) return this; if (other.getMinProbability() != 0D) { setMinProbability(other.getMinProbability()); } @@ -16391,9 +19998,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. bucketValuesBuilder_ = null; bucketValues_ = other.bucketValues_; bitField0_ = (bitField0_ & ~0x00000001); - bucketValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBucketValuesFieldBuilder() : null; + bucketValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBucketValuesFieldBuilder() + : null; } else { bucketValuesBuilder_.addAllMessages(other.bucketValues_); } @@ -16417,11 +20025,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16430,15 +20043,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private double minProbability_ ; + private double minProbability_; /** + * + * *
          * Between 0 and 1.
          * 
* * double min_probability = 1; + * * @return The minProbability. */ @java.lang.Override @@ -16446,42 +20063,51 @@ public double getMinProbability() { return minProbability_; } /** + * + * *
          * Between 0 and 1.
          * 
* * double min_probability = 1; + * * @param value The minProbability to set. * @return This builder for chaining. */ public Builder setMinProbability(double value) { - + minProbability_ = value; onChanged(); return this; } /** + * + * *
          * Between 0 and 1.
          * 
* * double min_probability = 1; + * * @return This builder for chaining. */ public Builder clearMinProbability() { - + minProbability_ = 0D; onChanged(); return this; } - private double maxProbability_ ; + private double maxProbability_; /** + * + * *
          * Always greater than or equal to min_probability.
          * 
* * double max_probability = 2; + * * @return The maxProbability. */ @java.lang.Override @@ -16489,42 +20115,51 @@ public double getMaxProbability() { return maxProbability_; } /** + * + * *
          * Always greater than or equal to min_probability.
          * 
* * double max_probability = 2; + * * @param value The maxProbability to set. * @return This builder for chaining. */ public Builder setMaxProbability(double value) { - + maxProbability_ = value; onChanged(); return this; } /** + * + * *
          * Always greater than or equal to min_probability.
          * 
* * double max_probability = 2; + * * @return This builder for chaining. */ public Builder clearMaxProbability() { - + maxProbability_ = 0D; onChanged(); return this; } - private long bucketSize_ ; + private long bucketSize_; /** + * + * *
          * Number of records within these probability bounds.
          * 
* * int64 bucket_size = 5; + * * @return The bucketSize. */ @java.lang.Override @@ -16532,56 +20167,82 @@ public long getBucketSize() { return bucketSize_; } /** + * + * *
          * Number of records within these probability bounds.
          * 
* * int64 bucket_size = 5; + * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(long value) { - + bucketSize_ = value; onChanged(); return this; } /** + * + * *
          * Number of records within these probability bounds.
          * 
* * int64 bucket_size = 5; + * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0L; onChanged(); return this; } - private java.util.List bucketValues_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues> + bucketValues_ = java.util.Collections.emptyList(); + private void ensureBucketValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bucketValues_ = new java.util.ArrayList(bucketValues_); + bucketValues_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues>( + bucketValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> bucketValuesBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder> + bucketValuesBuilder_; /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public java.util.List getBucketValuesList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues> + getBucketValuesList() { if (bucketValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(bucketValues_); } else { @@ -16589,12 +20250,16 @@ public java.util.List * Sample of quasi-identifier tuple values in this bucket. The total * number of classes returned per bucket is capped at 20. *
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public int getBucketValuesCount() { if (bucketValuesBuilder_ == null) { @@ -16604,14 +20269,20 @@ public int getBucketValuesCount() { } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues getBucketValues(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + getBucketValues(int index) { if (bucketValuesBuilder_ == null) { return bucketValues_.get(index); } else { @@ -16619,15 +20290,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16641,15 +20319,22 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder setBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.set(index, builderForValue.build()); @@ -16660,14 +20345,21 @@ public Builder setBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues value) { + public Builder addBucketValues( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16681,15 +20373,22 @@ public Builder addBucketValues(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDe return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues + value) { if (bucketValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16703,15 +20402,21 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addBucketValues( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(builderForValue.build()); @@ -16722,15 +20427,22 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addBucketValues( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder + builderForValue) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); bucketValues_.add(index, builderForValue.build()); @@ -16741,19 +20453,26 @@ public Builder addBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder addAllBucketValues( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues> + values) { if (bucketValuesBuilder_ == null) { ensureBucketValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bucketValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bucketValues_); onChanged(); } else { bucketValuesBuilder_.addAllMessages(values); @@ -16761,12 +20480,16 @@ public Builder addAllBucketValues( return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder clearBucketValues() { if (bucketValuesBuilder_ == null) { @@ -16779,12 +20502,16 @@ public Builder clearBucketValues() { return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ public Builder removeBucketValues(int index) { if (bucketValuesBuilder_ == null) { @@ -16797,42 +20524,61 @@ public Builder removeBucketValues(int index) { return this; } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder getBucketValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder + getBucketValuesBuilder(int index) { return getBucketValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder getBucketValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder + getBucketValuesOrBuilder(int index) { if (bucketValuesBuilder_ == null) { - return bucketValues_.get(index); } else { + return bucketValues_.get(index); + } else { return bucketValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public java.util.List - getBucketValuesOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder> + getBucketValuesOrBuilderList() { if (bucketValuesBuilder_ != null) { return bucketValuesBuilder_.getMessageOrBuilderList(); } else { @@ -16840,48 +20586,85 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder addBucketValuesBuilder() { - return getBucketValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder + addBucketValuesBuilder() { + return getBucketValuesFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + .getDefaultInstance()); } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder addBucketValuesBuilder( - int index) { - return getBucketValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder + addBucketValuesBuilder(int index) { + return getBucketValuesFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues + .getDefaultInstance()); } /** + * + * *
          * Sample of quasi-identifier tuple values in this bucket. The total
          * number of classes returned per bucket is capped at 20.
          * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; + * */ - public java.util.List - getBucketValuesBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder> + getBucketValuesBuilderList() { return getBucketValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValues.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder> getBucketValuesFieldBuilder() { if (bucketValuesBuilder_ == null) { - bucketValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValuesOrBuilder>( + bucketValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + .DeltaPresenceEstimationQuasiIdValuesOrBuilder>( bucketValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -16891,13 +20674,16 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim return bucketValuesBuilder_; } - private long bucketValueCount_ ; + private long bucketValueCount_; /** + * + * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; + * * @return The bucketValueCount. */ @java.lang.Override @@ -16905,34 +20691,41 @@ public long getBucketValueCount() { return bucketValueCount_; } /** + * + * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; + * * @param value The bucketValueCount to set. * @return This builder for chaining. */ public Builder setBucketValueCount(long value) { - + bucketValueCount_ = value; onChanged(); return this; } /** + * + * *
          * Total number of distinct quasi-identifier tuple values in this bucket.
          * 
* * int64 bucket_value_count = 7; + * * @return This builder for chaining. */ public Builder clearBucketValueCount() { - + bucketValueCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16945,30 +20738,37 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeltaPresenceEstimationHistogramBucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeltaPresenceEstimationHistogramBucket(input, extensionRegistry); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeltaPresenceEstimationHistogramBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeltaPresenceEstimationHistogramBucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16980,15 +20780,21 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DELTA_PRESENCE_ESTIMATION_HISTOGRAM_FIELD_NUMBER = 1; - private java.util.List deltaPresenceEstimationHistogram_; + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket> + deltaPresenceEstimationHistogram_; /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17000,13 +20806,20 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ @java.lang.Override - public java.util.List getDeltaPresenceEstimationHistogramList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket> + getDeltaPresenceEstimationHistogramList() { return deltaPresenceEstimationHistogram_; } /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17018,14 +20831,21 @@ public java.util.List
      *
-     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
+     * 
+     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends
+                com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult
+                    .DeltaPresenceEstimationHistogramBucketOrBuilder>
         getDeltaPresenceEstimationHistogramOrBuilderList() {
       return deltaPresenceEstimationHistogram_;
     }
     /**
+     *
+     *
      * 
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17037,13 +20857,17 @@ public java.util.List
      *
-     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
+     * 
+     * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1;
+     * 
      */
     @java.lang.Override
     public int getDeltaPresenceEstimationHistogramCount() {
       return deltaPresenceEstimationHistogram_.size();
     }
     /**
+     *
+     *
      * 
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17055,13 +20879,19 @@ public int getDeltaPresenceEstimationHistogramCount() {
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDeltaPresenceEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + getDeltaPresenceEstimationHistogram(int index) { return deltaPresenceEstimationHistogram_.get(index); } /** + * + * *
      * The intervals [min_probability, max_probability) do not overlap. If a
      * value doesn't correspond to any such interval, the associated frequency
@@ -17073,15 +20903,19 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
      * nor larger or equal to 0.4.
      * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder getDeltaPresenceEstimationHistogramOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder + getDeltaPresenceEstimationHistogramOrBuilder(int index) { return deltaPresenceEstimationHistogram_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -17093,8 +20927,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < deltaPresenceEstimationHistogram_.size(); i++) { output.writeMessage(1, deltaPresenceEstimationHistogram_.get(i)); } @@ -17108,8 +20941,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deltaPresenceEstimationHistogram_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, deltaPresenceEstimationHistogram_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, deltaPresenceEstimationHistogram_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17119,12 +20953,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + obj; if (!getDeltaPresenceEstimationHistogramList() .equals(other.getDeltaPresenceEstimationHistogramList())) return false; @@ -17148,88 +20986,114 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -17239,46 +21103,56 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Result of the δ-presence computation. Note that these results are an
      * estimation, not exact values.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDeltaPresenceEstimationHistogramFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -17292,19 +21166,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17312,17 +21190,23 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult(this); int from_bitField0_ = bitField0_; if (deltaPresenceEstimationHistogramBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogram_ = + java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); bitField0_ = (bitField0_ & ~0x00000001); } result.deltaPresenceEstimationHistogram_ = deltaPresenceEstimationHistogram_; } else { - result.deltaPresenceEstimationHistogram_ = deltaPresenceEstimationHistogramBuilder_.build(); + result.deltaPresenceEstimationHistogram_ = + deltaPresenceEstimationHistogramBuilder_.build(); } onBuilt(); return result; @@ -17332,46 +21216,57 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance()) return this; if (deltaPresenceEstimationHistogramBuilder_ == null) { if (!other.deltaPresenceEstimationHistogram_.isEmpty()) { if (deltaPresenceEstimationHistogram_.isEmpty()) { @@ -17390,11 +21285,13 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails. deltaPresenceEstimationHistogramBuilder_ = null; deltaPresenceEstimationHistogram_ = other.deltaPresenceEstimationHistogram_; bitField0_ = (bitField0_ & ~0x00000001); - deltaPresenceEstimationHistogramBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeltaPresenceEstimationHistogramFieldBuilder() : null; + deltaPresenceEstimationHistogramBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeltaPresenceEstimationHistogramFieldBuilder() + : null; } else { - deltaPresenceEstimationHistogramBuilder_.addAllMessages(other.deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogramBuilder_.addAllMessages( + other.deltaPresenceEstimationHistogram_); } } } @@ -17413,11 +21310,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17426,21 +21326,37 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List deltaPresenceEstimationHistogram_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket> + deltaPresenceEstimationHistogram_ = java.util.Collections.emptyList(); + private void ensureDeltaPresenceEstimationHistogramIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deltaPresenceEstimationHistogram_ = new java.util.ArrayList(deltaPresenceEstimationHistogram_); + deltaPresenceEstimationHistogram_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket>( + deltaPresenceEstimationHistogram_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder> deltaPresenceEstimationHistogramBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder> + deltaPresenceEstimationHistogramBuilder_; /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17452,9 +21368,14 @@ private void ensureDeltaPresenceEstimationHistogramIsMutable() {
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public java.util.List getDeltaPresenceEstimationHistogramList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket> + getDeltaPresenceEstimationHistogramList() { if (deltaPresenceEstimationHistogramBuilder_ == null) { return java.util.Collections.unmodifiableList(deltaPresenceEstimationHistogram_); } else { @@ -17462,6 +21383,8 @@ public java.util.List * The intervals [min_probability, max_probability) do not overlap. If a * value doesn't correspond to any such interval, the associated frequency @@ -17473,7 +21396,9 @@ public java.util.List * - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public int getDeltaPresenceEstimationHistogramCount() { if (deltaPresenceEstimationHistogramBuilder_ == null) { @@ -17483,6 +21408,8 @@ public int getDeltaPresenceEstimationHistogramCount() { } } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17494,9 +21421,13 @@ public int getDeltaPresenceEstimationHistogramCount() {
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket getDeltaPresenceEstimationHistogram(int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + getDeltaPresenceEstimationHistogram(int index) { if (deltaPresenceEstimationHistogramBuilder_ == null) { return deltaPresenceEstimationHistogram_.get(index); } else { @@ -17504,6 +21435,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17515,10 +21448,15 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder setDeltaPresenceEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + value) { if (deltaPresenceEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17532,6 +21470,8 @@ public Builder setDeltaPresenceEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17543,10 +21483,15 @@ public Builder setDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder setDeltaPresenceEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder + builderForValue) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); deltaPresenceEstimationHistogram_.set(index, builderForValue.build()); @@ -17557,6 +21502,8 @@ public Builder setDeltaPresenceEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17568,9 +21515,14 @@ public Builder setDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public Builder addDeltaPresenceEstimationHistogram(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket value) { + public Builder addDeltaPresenceEstimationHistogram( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + value) { if (deltaPresenceEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17584,6 +21536,8 @@ public Builder addDeltaPresenceEstimationHistogram(com.google.privacy.dlp.v2.Ana return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17595,10 +21549,15 @@ public Builder addDeltaPresenceEstimationHistogram(com.google.privacy.dlp.v2.Ana
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder addDeltaPresenceEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket value) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket + value) { if (deltaPresenceEstimationHistogramBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17612,6 +21571,8 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17623,10 +21584,14 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder addDeltaPresenceEstimationHistogram( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder + builderForValue) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); deltaPresenceEstimationHistogram_.add(builderForValue.build()); @@ -17637,6 +21602,8 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17648,10 +21615,15 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder addDeltaPresenceEstimationHistogram( - int index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder + builderForValue) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); deltaPresenceEstimationHistogram_.add(index, builderForValue.build()); @@ -17662,6 +21634,8 @@ public Builder addDeltaPresenceEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17673,10 +21647,16 @@ public Builder addDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder addAllDeltaPresenceEstimationHistogram( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket> + values) { if (deltaPresenceEstimationHistogramBuilder_ == null) { ensureDeltaPresenceEstimationHistogramIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -17688,6 +21668,8 @@ public Builder addAllDeltaPresenceEstimationHistogram( return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17699,7 +21681,9 @@ public Builder addAllDeltaPresenceEstimationHistogram(
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder clearDeltaPresenceEstimationHistogram() { if (deltaPresenceEstimationHistogramBuilder_ == null) { @@ -17712,6 +21696,8 @@ public Builder clearDeltaPresenceEstimationHistogram() { return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17723,7 +21709,9 @@ public Builder clearDeltaPresenceEstimationHistogram() {
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ public Builder removeDeltaPresenceEstimationHistogram(int index) { if (deltaPresenceEstimationHistogramBuilder_ == null) { @@ -17736,6 +21724,8 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) { return this; } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17747,13 +21737,18 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) {
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder getDeltaPresenceEstimationHistogramBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder + getDeltaPresenceEstimationHistogramBuilder(int index) { return getDeltaPresenceEstimationHistogramFieldBuilder().getBuilder(index); } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17765,16 +21760,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder getDeltaPresenceEstimationHistogramOrBuilder( - int index) { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder + getDeltaPresenceEstimationHistogramOrBuilder(int index) { if (deltaPresenceEstimationHistogramBuilder_ == null) { - return deltaPresenceEstimationHistogram_.get(index); } else { + return deltaPresenceEstimationHistogram_.get(index); + } else { return deltaPresenceEstimationHistogramBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17786,10 +21787,16 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public java.util.List - getDeltaPresenceEstimationHistogramOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder> + getDeltaPresenceEstimationHistogramOrBuilderList() { if (deltaPresenceEstimationHistogramBuilder_ != null) { return deltaPresenceEstimationHistogramBuilder_.getMessageOrBuilderList(); } else { @@ -17797,6 +21804,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17808,13 +21817,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder addDeltaPresenceEstimationHistogramBuilder() { - return getDeltaPresenceEstimationHistogramFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder + addDeltaPresenceEstimationHistogramBuilder() { + return getDeltaPresenceEstimationHistogramFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17826,14 +21843,22 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder addDeltaPresenceEstimationHistogramBuilder( - int index) { - return getDeltaPresenceEstimationHistogramFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder + addDeltaPresenceEstimationHistogramBuilder(int index) { + return getDeltaPresenceEstimationHistogramFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.getDefaultInstance()); } /** + * + * *
        * The intervals [min_probability, max_probability) do not overlap. If a
        * value doesn't correspond to any such interval, the associated frequency
@@ -17845,18 +21870,35 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim
        * nor larger or equal to 0.4.
        * 
* - * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * + * repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + * */ - public java.util.List - getDeltaPresenceEstimationHistogramBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder> + getDeltaPresenceEstimationHistogramBuilderList() { return getDeltaPresenceEstimationHistogramFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder> getDeltaPresenceEstimationHistogramFieldBuilder() { if (deltaPresenceEstimationHistogramBuilder_ == null) { - deltaPresenceEstimationHistogramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucketOrBuilder>( + deltaPresenceEstimationHistogramBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + .DeltaPresenceEstimationHistogramBucketOrBuilder>( deltaPresenceEstimationHistogram_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -17865,6 +21907,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } return deltaPresenceEstimationHistogramBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17877,30 +21920,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeltaPresenceEstimationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeltaPresenceEstimationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeltaPresenceEstimationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeltaPresenceEstimationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17912,35 +21961,44 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RequestedRiskAnalysisOptionsOrBuilder extends + public interface RequestedRiskAnalysisOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; + * * @return Whether the jobConfig field is set. */ boolean hasJobConfig(); /** + * + * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; + * * @return The jobConfig. */ com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig(); /** + * + * *
      * The job config for the risk job.
      * 
@@ -17950,36 +22008,40 @@ public interface RequestedRiskAnalysisOptionsOrBuilder extends com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBuilder(); } /** + * + * *
    * Risk analysis options.
    * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} */ - public static final class RequestedRiskAnalysisOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RequestedRiskAnalysisOptions + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) RequestedRiskAnalysisOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RequestedRiskAnalysisOptions.newBuilder() to construct. - private RequestedRiskAnalysisOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RequestedRiskAnalysisOptions( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RequestedRiskAnalysisOptions() { - } + + private RequestedRiskAnalysisOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RequestedRiskAnalysisOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RequestedRiskAnalysisOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17998,59 +22060,70 @@ private RequestedRiskAnalysisOptions( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null; - if (jobConfig_ != null) { - subBuilder = jobConfig_.toBuilder(); - } - jobConfig_ = input.readMessage(com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobConfig_); - jobConfig_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null; + if (jobConfig_ != null) { + subBuilder = jobConfig_.toBuilder(); + } + jobConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobConfig_); + jobConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder.class); } public static final int JOB_CONFIG_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.RiskAnalysisJobConfig jobConfig_; /** + * + * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; + * * @return Whether the jobConfig field is set. */ @java.lang.Override @@ -18058,18 +22131,25 @@ public boolean hasJobConfig() { return jobConfig_ != null; } /** + * + * *
      * The job config for the risk job.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; + * * @return The jobConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig() { - return jobConfig_ == null ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() : jobConfig_; + return jobConfig_ == null + ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() + : jobConfig_; } /** + * + * *
      * The job config for the risk job.
      * 
@@ -18082,6 +22162,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18093,8 +22174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (jobConfig_ != null) { output.writeMessage(1, getJobConfig()); } @@ -18108,8 +22188,7 @@ public int getSerializedSize() { size = 0; if (jobConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getJobConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18119,17 +22198,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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) obj; if (hasJobConfig() != other.hasJobConfig()) return false; if (hasJobConfig()) { - if (!getJobConfig() - .equals(other.getJobConfig())) return false; + if (!getJobConfig().equals(other.getJobConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -18151,88 +22232,114 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + 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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -18242,44 +22349,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Risk analysis options.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} + * Protobuf type {@code + * google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder.class); } - // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -18293,19 +22409,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions build() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = buildPartial(); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + build() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -18313,8 +22433,11 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnaly } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(this); + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + buildPartial() { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions( + this); if (jobConfigBuilder_ == null) { result.jobConfig_ = jobConfig_; } else { @@ -18328,46 +22451,57 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnaly public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions)other); + if (other + instanceof + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) { + return mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + other) { + if (other + == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .getDefaultInstance()) return this; if (other.hasJobConfig()) { mergeJobConfig(other.getJobConfig()); } @@ -18386,11 +22520,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions parsedMessage = null; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18402,34 +22539,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.RiskAnalysisJobConfig jobConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> jobConfigBuilder_; + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, + com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> + jobConfigBuilder_; /** + * + * *
        * The job config for the risk job.
        * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; + * * @return Whether the jobConfig field is set. */ public boolean hasJobConfig() { return jobConfigBuilder_ != null || jobConfig_ != null; } /** + * + * *
        * The job config for the risk job.
        * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; + * * @return The jobConfig. */ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getJobConfig() { if (jobConfigBuilder_ == null) { - return jobConfig_ == null ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() : jobConfig_; + return jobConfig_ == null + ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() + : jobConfig_; } else { return jobConfigBuilder_.getMessage(); } } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18450,6 +22600,8 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18468,6 +22620,8 @@ public Builder setJobConfig( return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18478,7 +22632,9 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig va if (jobConfigBuilder_ == null) { if (jobConfig_ != null) { jobConfig_ = - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder(jobConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder(jobConfig_) + .mergeFrom(value) + .buildPartial(); } else { jobConfig_ = value; } @@ -18490,6 +22646,8 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig va return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18508,6 +22666,8 @@ public Builder clearJobConfig() { return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18515,11 +22675,13 @@ public Builder clearJobConfig() { * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; */ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder getJobConfigBuilder() { - + onChanged(); return getJobConfigFieldBuilder().getBuilder(); } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18530,11 +22692,14 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu if (jobConfigBuilder_ != null) { return jobConfigBuilder_.getMessageOrBuilder(); } else { - return jobConfig_ == null ? - com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() : jobConfig_; + return jobConfig_ == null + ? com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance() + : jobConfig_; } } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18542,18 +22707,22 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu * .google.privacy.dlp.v2.RiskAnalysisJobConfig job_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, + com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> getJobConfigFieldBuilder() { if (jobConfigBuilder_ == null) { - jobConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>( - getJobConfig(), - getParentForChildren(), - isClean()); + jobConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, + com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>( + getJobConfig(), getParentForChildren(), isClean()); jobConfig_ = null; } return jobConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18566,30 +22735,35 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions) - private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions(); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getDefaultInstance() { + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestedRiskAnalysisOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestedRiskAnalysisOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestedRiskAnalysisOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RequestedRiskAnalysisOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18601,16 +22775,18 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resultCase_ = 0; private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NUMERICAL_STATS_RESULT(3), CATEGORICAL_STATS_RESULT(4), @@ -18620,6 +22796,7 @@ public enum ResultCase DELTA_PRESENCE_ESTIMATION_RESULT(9), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -18635,35 +22812,45 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 3: return NUMERICAL_STATS_RESULT; - case 4: return CATEGORICAL_STATS_RESULT; - case 5: return K_ANONYMITY_RESULT; - case 6: return L_DIVERSITY_RESULT; - case 7: return K_MAP_ESTIMATION_RESULT; - case 9: return DELTA_PRESENCE_ESTIMATION_RESULT; - case 0: return RESULT_NOT_SET; - default: return null; + case 3: + return NUMERICAL_STATS_RESULT; + case 4: + return CATEGORICAL_STATS_RESULT; + case 5: + return K_ANONYMITY_RESULT; + case 6: + return L_DIVERSITY_RESULT; + case 7: + return K_MAP_ESTIMATION_RESULT; + case 9: + return DELTA_PRESENCE_ESTIMATION_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 REQUESTED_PRIVACY_METRIC_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_; /** + * + * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; + * * @return Whether the requestedPrivacyMetric field is set. */ @java.lang.Override @@ -18671,18 +22858,25 @@ public boolean hasRequestedPrivacyMetric() { return requestedPrivacyMetric_ != null; } /** + * + * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; + * * @return The requestedPrivacyMetric. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() { - return requestedPrivacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_; + return requestedPrivacyMetric_ == null + ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() + : requestedPrivacyMetric_; } /** + * + * *
    * Privacy metric to compute.
    * 
@@ -18697,11 +22891,14 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri public static final int REQUESTED_SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_; /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; + * * @return Whether the requestedSourceTable field is set. */ @java.lang.Override @@ -18709,18 +22906,25 @@ public boolean hasRequestedSourceTable() { return requestedSourceTable_ != null; } /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; + * * @return The requestedSourceTable. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() { - return requestedSourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_; + return requestedSourceTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : requestedSourceTable_; } /** + * + * *
    * Input dataset to compute metrics over.
    * 
@@ -18734,11 +22938,16 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO public static final int NUMERICAL_STATS_RESULT_FIELD_NUMBER = 3; /** + * + * *
    * Numerical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * * @return Whether the numericalStatsResult field is set. */ @java.lang.Override @@ -18746,42 +22955,60 @@ public boolean hasNumericalStatsResult() { return resultCase_ == 3; } /** + * + * *
    * Numerical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * * @return The numericalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + getNumericalStatsResult() { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); } /** + * + * *
    * Numerical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder + getNumericalStatsResultOrBuilder() { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); } public static final int CATEGORICAL_STATS_RESULT_FIELD_NUMBER = 4; /** + * + * *
    * Categorical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * * @return Whether the categoricalStatsResult field is set. */ @java.lang.Override @@ -18789,42 +23016,62 @@ public boolean hasCategoricalStatsResult() { return resultCase_ == 4; } /** + * + * *
    * Categorical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * * @return The categoricalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + getCategoricalStatsResult() { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); } /** + * + * *
    * Categorical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder + getCategoricalStatsResultOrBuilder() { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); } public static final int K_ANONYMITY_RESULT_FIELD_NUMBER = 5; /** + * + * *
    * K-anonymity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * * @return Whether the kAnonymityResult field is set. */ @java.lang.Override @@ -18832,42 +23079,60 @@ public boolean hasKAnonymityResult() { return resultCase_ == 5; } /** + * + * *
    * K-anonymity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * * @return The kAnonymityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + getKAnonymityResult() { if (resultCase_ == 5) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); } /** + * + * *
    * K-anonymity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder + getKAnonymityResultOrBuilder() { if (resultCase_ == 5) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); } public static final int L_DIVERSITY_RESULT_FIELD_NUMBER = 6; /** + * + * *
    * L-divesity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * * @return Whether the lDiversityResult field is set. */ @java.lang.Override @@ -18875,42 +23140,60 @@ public boolean hasLDiversityResult() { return resultCase_ == 6; } /** + * + * *
    * L-divesity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * * @return The lDiversityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + getLDiversityResult() { if (resultCase_ == 6) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); } /** + * + * *
    * L-divesity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder + getLDiversityResultOrBuilder() { if (resultCase_ == 6) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); } public static final int K_MAP_ESTIMATION_RESULT_FIELD_NUMBER = 7; /** + * + * *
    * K-map result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * * @return Whether the kMapEstimationResult field is set. */ @java.lang.Override @@ -18918,42 +23201,60 @@ public boolean hasKMapEstimationResult() { return resultCase_ == 7; } /** + * + * *
    * K-map result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * * @return The kMapEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + getKMapEstimationResult() { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance(); } /** + * + * *
    * K-map result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder + getKMapEstimationResultOrBuilder() { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance(); } public static final int DELTA_PRESENCE_ESTIMATION_RESULT_FIELD_NUMBER = 9; /** + * + * *
    * Delta-presence result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * * @return Whether the deltaPresenceEstimationResult field is set. */ @java.lang.Override @@ -18961,43 +23262,65 @@ public boolean hasDeltaPresenceEstimationResult() { return resultCase_ == 9; } /** + * + * *
    * Delta-presence result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * * @return The deltaPresenceEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDeltaPresenceEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + getDeltaPresenceEstimationResult() { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); } /** + * + * *
    * Delta-presence result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResultOrBuilder + getDeltaPresenceEstimationResultOrBuilder() { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); } public static final int REQUESTED_OPTIONS_FIELD_NUMBER = 10; - private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requestedOptions_; + private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + requestedOptions_; /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * * @return Whether the requestedOptions field is set. */ @java.lang.Override @@ -19005,30 +23328,46 @@ public boolean hasRequestedOptions() { return requestedOptions_ != null; } /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * * @return The requestedOptions. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getRequestedOptions() { - return requestedOptions_ == null ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance() : requestedOptions_; + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + getRequestedOptions() { + return requestedOptions_ == null + ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .getDefaultInstance() + : requestedOptions_; } /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptionsOrBuilder + getRequestedOptionsOrBuilder() { return getRequestedOptions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19040,8 +23379,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (requestedPrivacyMetric_ != null) { output.writeMessage(1, getRequestedPrivacyMetric()); } @@ -19049,22 +23387,31 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getRequestedSourceTable()); } if (resultCase_ == 3) { - output.writeMessage(3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); + output.writeMessage( + 3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); } if (resultCase_ == 4) { - output.writeMessage(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); + output.writeMessage( + 4, + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); } if (resultCase_ == 5) { - output.writeMessage(5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); + output.writeMessage( + 5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); } if (resultCase_ == 6) { - output.writeMessage(6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); + output.writeMessage( + 6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); } if (resultCase_ == 7) { - output.writeMessage(7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); + output.writeMessage( + 7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); } if (resultCase_ == 9) { - output.writeMessage(9, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_); + output.writeMessage( + 9, + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + result_); } if (requestedOptions_ != null) { output.writeMessage(10, getRequestedOptions()); @@ -19079,40 +23426,53 @@ public int getSerializedSize() { size = 0; if (requestedPrivacyMetric_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRequestedPrivacyMetric()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequestedPrivacyMetric()); } if (requestedSourceTable_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRequestedSourceTable()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestedSourceTable()); } if (resultCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_); } if (resultCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_); } if (resultCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_); } if (resultCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_); } if (resultCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_); } if (resultCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) + result_); } if (requestedOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getRequestedOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getRequestedOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -19122,53 +23482,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)) { return super.equals(obj); } - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) obj; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) obj; if (hasRequestedPrivacyMetric() != other.hasRequestedPrivacyMetric()) return false; if (hasRequestedPrivacyMetric()) { - if (!getRequestedPrivacyMetric() - .equals(other.getRequestedPrivacyMetric())) return false; + if (!getRequestedPrivacyMetric().equals(other.getRequestedPrivacyMetric())) return false; } if (hasRequestedSourceTable() != other.hasRequestedSourceTable()) return false; if (hasRequestedSourceTable()) { - if (!getRequestedSourceTable() - .equals(other.getRequestedSourceTable())) return false; + if (!getRequestedSourceTable().equals(other.getRequestedSourceTable())) return false; } if (hasRequestedOptions() != other.hasRequestedOptions()) return false; if (hasRequestedOptions()) { - if (!getRequestedOptions() - .equals(other.getRequestedOptions())) return false; + if (!getRequestedOptions().equals(other.getRequestedOptions())) return false; } if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 3: - if (!getNumericalStatsResult() - .equals(other.getNumericalStatsResult())) return false; + if (!getNumericalStatsResult().equals(other.getNumericalStatsResult())) return false; break; case 4: - if (!getCategoricalStatsResult() - .equals(other.getCategoricalStatsResult())) return false; + if (!getCategoricalStatsResult().equals(other.getCategoricalStatsResult())) return false; break; case 5: - if (!getKAnonymityResult() - .equals(other.getKAnonymityResult())) return false; + if (!getKAnonymityResult().equals(other.getKAnonymityResult())) return false; break; case 6: - if (!getLDiversityResult() - .equals(other.getLDiversityResult())) return false; + if (!getLDiversityResult().equals(other.getLDiversityResult())) return false; break; case 7: - if (!getKMapEstimationResult() - .equals(other.getKMapEstimationResult())) return false; + if (!getKMapEstimationResult().equals(other.getKMapEstimationResult())) return false; break; case 9: - if (!getDeltaPresenceEstimationResult() - .equals(other.getDeltaPresenceEstimationResult())) return false; + if (!getDeltaPresenceEstimationResult().equals(other.getDeltaPresenceEstimationResult())) + return false; break; case 0: default: @@ -19230,117 +23583,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Result of a risk analysis operation request.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.class, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder.class); } // Construct using com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.newBuilder() @@ -19348,16 +23711,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -19385,9 +23747,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; } @java.lang.Override @@ -19406,7 +23768,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails build() { @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails buildPartial() { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(this); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails result = + new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(this); if (requestedPrivacyMetricBuilder_ == null) { result.requestedPrivacyMetric_ = requestedPrivacyMetric_; } else { @@ -19473,38 +23836,39 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) { - return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails)other); + return mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) other); } else { super.mergeFrom(other); return this; @@ -19512,7 +23876,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails other) { - if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) + return this; if (other.hasRequestedPrivacyMetric()) { mergeRequestedPrivacyMetric(other.getRequestedPrivacyMetric()); } @@ -19523,33 +23888,40 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails mergeRequestedOptions(other.getRequestedOptions()); } switch (other.getResultCase()) { - case NUMERICAL_STATS_RESULT: { - mergeNumericalStatsResult(other.getNumericalStatsResult()); - break; - } - case CATEGORICAL_STATS_RESULT: { - mergeCategoricalStatsResult(other.getCategoricalStatsResult()); - break; - } - case K_ANONYMITY_RESULT: { - mergeKAnonymityResult(other.getKAnonymityResult()); - break; - } - case L_DIVERSITY_RESULT: { - mergeLDiversityResult(other.getLDiversityResult()); - break; - } - case K_MAP_ESTIMATION_RESULT: { - mergeKMapEstimationResult(other.getKMapEstimationResult()); - break; - } - case DELTA_PRESENCE_ESTIMATION_RESULT: { - mergeDeltaPresenceEstimationResult(other.getDeltaPresenceEstimationResult()); - break; - } - case RESULT_NOT_SET: { - break; - } + case NUMERICAL_STATS_RESULT: + { + mergeNumericalStatsResult(other.getNumericalStatsResult()); + break; + } + case CATEGORICAL_STATS_RESULT: + { + mergeCategoricalStatsResult(other.getCategoricalStatsResult()); + break; + } + case K_ANONYMITY_RESULT: + { + mergeKAnonymityResult(other.getKAnonymityResult()); + break; + } + case L_DIVERSITY_RESULT: + { + mergeLDiversityResult(other.getLDiversityResult()); + break; + } + case K_MAP_ESTIMATION_RESULT: + { + mergeKMapEstimationResult(other.getKMapEstimationResult()); + break; + } + case DELTA_PRESENCE_ESTIMATION_RESULT: + { + mergeDeltaPresenceEstimationResult(other.getDeltaPresenceEstimationResult()); + break; + } + case RESULT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -19570,7 +23942,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19579,12 +23952,12 @@ public Builder mergeFrom( } return this; } + private int resultCase_ = 0; private java.lang.Object result_; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public Builder clearResult() { @@ -19594,37 +23967,49 @@ public Builder clearResult() { return this; } - private com.google.privacy.dlp.v2.PrivacyMetric requestedPrivacyMetric_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> requestedPrivacyMetricBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric, + com.google.privacy.dlp.v2.PrivacyMetric.Builder, + com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> + requestedPrivacyMetricBuilder_; /** + * + * *
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; + * * @return Whether the requestedPrivacyMetric field is set. */ public boolean hasRequestedPrivacyMetric() { return requestedPrivacyMetricBuilder_ != null || requestedPrivacyMetric_ != null; } /** + * + * *
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; + * * @return The requestedPrivacyMetric. */ public com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric() { if (requestedPrivacyMetricBuilder_ == null) { - return requestedPrivacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_; + return requestedPrivacyMetric_ == null + ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() + : requestedPrivacyMetric_; } else { return requestedPrivacyMetricBuilder_.getMessage(); } } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19645,6 +24030,8 @@ public Builder setRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19663,6 +24050,8 @@ public Builder setRequestedPrivacyMetric( return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19673,7 +24062,9 @@ public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetr if (requestedPrivacyMetricBuilder_ == null) { if (requestedPrivacyMetric_ != null) { requestedPrivacyMetric_ = - com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(requestedPrivacyMetric_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(requestedPrivacyMetric_) + .mergeFrom(value) + .buildPartial(); } else { requestedPrivacyMetric_ = value; } @@ -19685,6 +24076,8 @@ public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetr return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19703,6 +24096,8 @@ public Builder clearRequestedPrivacyMetric() { return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19710,11 +24105,13 @@ public Builder clearRequestedPrivacyMetric() { * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; */ public com.google.privacy.dlp.v2.PrivacyMetric.Builder getRequestedPrivacyMetricBuilder() { - + onChanged(); return getRequestedPrivacyMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19725,11 +24122,14 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri if (requestedPrivacyMetricBuilder_ != null) { return requestedPrivacyMetricBuilder_.getMessageOrBuilder(); } else { - return requestedPrivacyMetric_ == null ? - com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : requestedPrivacyMetric_; + return requestedPrivacyMetric_ == null + ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() + : requestedPrivacyMetric_; } } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19737,14 +24137,17 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric, + com.google.privacy.dlp.v2.PrivacyMetric.Builder, + com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> getRequestedPrivacyMetricFieldBuilder() { if (requestedPrivacyMetricBuilder_ == null) { - requestedPrivacyMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( - getRequestedPrivacyMetric(), - getParentForChildren(), - isClean()); + requestedPrivacyMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric, + com.google.privacy.dlp.v2.PrivacyMetric.Builder, + com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( + getRequestedPrivacyMetric(), getParentForChildren(), isClean()); requestedPrivacyMetric_ = null; } return requestedPrivacyMetricBuilder_; @@ -19752,34 +24155,47 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetri private com.google.privacy.dlp.v2.BigQueryTable requestedSourceTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> requestedSourceTableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + requestedSourceTableBuilder_; /** + * + * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; + * * @return Whether the requestedSourceTable field is set. */ public boolean hasRequestedSourceTable() { return requestedSourceTableBuilder_ != null || requestedSourceTable_ != null; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; + * * @return The requestedSourceTable. */ public com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable() { if (requestedSourceTableBuilder_ == null) { - return requestedSourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_; + return requestedSourceTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : requestedSourceTable_; } else { return requestedSourceTableBuilder_.getMessage(); } } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19800,6 +24216,8 @@ public Builder setRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable v return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19818,6 +24236,8 @@ public Builder setRequestedSourceTable( return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19828,7 +24248,9 @@ public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable if (requestedSourceTableBuilder_ == null) { if (requestedSourceTable_ != null) { requestedSourceTable_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(requestedSourceTable_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(requestedSourceTable_) + .mergeFrom(value) + .buildPartial(); } else { requestedSourceTable_ = value; } @@ -19840,6 +24262,8 @@ public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19858,6 +24282,8 @@ public Builder clearRequestedSourceTable() { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19865,11 +24291,13 @@ public Builder clearRequestedSourceTable() { * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getRequestedSourceTableBuilder() { - + onChanged(); return getRequestedSourceTableFieldBuilder().getBuilder(); } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19880,11 +24308,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO if (requestedSourceTableBuilder_ != null) { return requestedSourceTableBuilder_.getMessageOrBuilder(); } else { - return requestedSourceTable_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : requestedSourceTable_; + return requestedSourceTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : requestedSourceTable_; } } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19892,27 +24323,38 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableO * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getRequestedSourceTableFieldBuilder() { if (requestedSourceTableBuilder_ == null) { - requestedSourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getRequestedSourceTable(), - getParentForChildren(), - isClean()); + requestedSourceTableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getRequestedSourceTable(), getParentForChildren(), isClean()); requestedSourceTable_ = null; } return requestedSourceTableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> numericalStatsResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> + numericalStatsResultBuilder_; /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * * @return Whether the numericalStatsResult field is set. */ @java.lang.Override @@ -19920,35 +24362,49 @@ public boolean hasNumericalStatsResult() { return resultCase_ == 3; } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * * @return The numericalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + getNumericalStatsResult() { if (numericalStatsResultBuilder_ == null) { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); } else { if (resultCase_ == 3) { return numericalStatsResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); } } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ - public Builder setNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { + public Builder setNumericalStatsResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { if (numericalStatsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19962,14 +24418,19 @@ public Builder setNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSour return this; } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ public Builder setNumericalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder + builderForValue) { if (numericalStatsResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -19980,18 +24441,30 @@ public Builder setNumericalStatsResult( return this; } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ - public Builder mergeNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { + public Builder mergeNumericalStatsResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult value) { if (numericalStatsResultBuilder_ == null) { - if (resultCase_ == 3 && - result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance()) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 3 + && result_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance()) { + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -20006,11 +24479,15 @@ public Builder mergeNumericalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSo return this; } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ public Builder clearNumericalStatsResult() { if (numericalStatsResultBuilder_ == null) { @@ -20029,67 +24506,101 @@ public Builder clearNumericalStatsResult() { return this; } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder getNumericalStatsResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder + getNumericalStatsResultBuilder() { return getNumericalStatsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder + getNumericalStatsResultOrBuilder() { if ((resultCase_ == 3) && (numericalStatsResultBuilder_ != null)) { return numericalStatsResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 3) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); } } /** + * + * *
      * Numerical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder> getNumericalStatsResultFieldBuilder() { if (numericalStatsResultBuilder_ == null) { if (!(resultCase_ == 3)) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.getDefaultInstance(); - } - numericalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) result_, + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + .getDefaultInstance(); + } + numericalStatsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .NumericalStatsResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult) + result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 3; - onChanged();; + onChanged(); + ; return numericalStatsResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> categoricalStatsResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> + categoricalStatsResultBuilder_; /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * * @return Whether the categoricalStatsResult field is set. */ @java.lang.Override @@ -20097,35 +24608,49 @@ public boolean hasCategoricalStatsResult() { return resultCase_ == 4; } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * * @return The categoricalStatsResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + getCategoricalStatsResult() { if (categoricalStatsResultBuilder_ == null) { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); } else { if (resultCase_ == 4) { return categoricalStatsResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); } } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ - public Builder setCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { + public Builder setCategoricalStatsResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { if (categoricalStatsResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20139,14 +24664,19 @@ public Builder setCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSo return this; } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ public Builder setCategoricalStatsResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder + builderForValue) { if (categoricalStatsResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -20157,18 +24687,31 @@ public Builder setCategoricalStatsResult( return this; } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ - public Builder mergeCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { + public Builder mergeCategoricalStatsResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult value) { if (categoricalStatsResultBuilder_ == null) { - if (resultCase_ == 4 && - result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance()) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 4 + && result_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance()) { + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .CategoricalStatsResult) + result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -20183,11 +24726,15 @@ public Builder mergeCategoricalStatsResult(com.google.privacy.dlp.v2.AnalyzeData return this; } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ public Builder clearCategoricalStatsResult() { if (categoricalStatsResultBuilder_ == null) { @@ -20206,67 +24753,102 @@ public Builder clearCategoricalStatsResult() { return this; } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder getCategoricalStatsResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder + getCategoricalStatsResultBuilder() { return getCategoricalStatsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder + getCategoricalStatsResultOrBuilder() { if ((resultCase_ == 4) && (categoricalStatsResultBuilder_ != null)) { return categoricalStatsResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); } } /** + * + * *
      * Categorical stats result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder> getCategoricalStatsResultFieldBuilder() { if (categoricalStatsResultBuilder_ == null) { if (!(resultCase_ == 4)) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.getDefaultInstance(); - } - categoricalStatsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) result_, + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .getDefaultInstance(); + } + categoricalStatsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .CategoricalStatsResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult) + result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 4; - onChanged();; + onChanged(); + ; return categoricalStatsResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> kAnonymityResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> + kAnonymityResultBuilder_; /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * * @return Whether the kAnonymityResult field is set. */ @java.lang.Override @@ -20274,35 +24856,48 @@ public boolean hasKAnonymityResult() { return resultCase_ == 5; } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * * @return The kAnonymityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + getKAnonymityResult() { if (kAnonymityResultBuilder_ == null) { if (resultCase_ == 5) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); } else { if (resultCase_ == 5) { return kAnonymityResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); } } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ - public Builder setKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { + public Builder setKAnonymityResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { if (kAnonymityResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20316,14 +24911,19 @@ public Builder setKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRi return this; } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ public Builder setKAnonymityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder + builderForValue) { if (kAnonymityResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -20334,18 +24934,29 @@ public Builder setKAnonymityResult( return this; } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ - public Builder mergeKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { + public Builder mergeKAnonymityResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult value) { if (kAnonymityResultBuilder_ == null) { - if (resultCase_ == 5 && - result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance()) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 5 + && result_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance()) { + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) + result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -20360,11 +24971,15 @@ public Builder mergeKAnonymityResult(com.google.privacy.dlp.v2.AnalyzeDataSource return this; } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ public Builder clearKAnonymityResult() { if (kAnonymityResultBuilder_ == null) { @@ -20383,67 +24998,98 @@ public Builder clearKAnonymityResult() { return this; } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder getKAnonymityResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder + getKAnonymityResultBuilder() { return getKAnonymityResultFieldBuilder().getBuilder(); } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder + getKAnonymityResultOrBuilder() { if ((resultCase_ == 5) && (kAnonymityResultBuilder_ != null)) { return kAnonymityResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 5) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); } } /** + * + * *
      * K-anonymity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder> getKAnonymityResultFieldBuilder() { if (kAnonymityResultBuilder_ == null) { if (!(resultCase_ == 5)) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.getDefaultInstance(); - } - kAnonymityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder>( + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult + .getDefaultInstance(); + } + kAnonymityResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder>( (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 5; - onChanged();; + onChanged(); + ; return kAnonymityResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> lDiversityResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> + lDiversityResultBuilder_; /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * * @return Whether the lDiversityResult field is set. */ @java.lang.Override @@ -20451,35 +25097,48 @@ public boolean hasLDiversityResult() { return resultCase_ == 6; } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * * @return The lDiversityResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + getLDiversityResult() { if (lDiversityResultBuilder_ == null) { if (resultCase_ == 6) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); } else { if (resultCase_ == 6) { return lDiversityResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); } } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ - public Builder setLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { + public Builder setLDiversityResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { if (lDiversityResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20493,14 +25152,19 @@ public Builder setLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRi return this; } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ public Builder setLDiversityResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder + builderForValue) { if (lDiversityResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -20511,18 +25175,29 @@ public Builder setLDiversityResult( return this; } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ - public Builder mergeLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { + public Builder mergeLDiversityResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult value) { if (lDiversityResultBuilder_ == null) { - if (resultCase_ == 6 && - result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance()) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 6 + && result_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance()) { + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) + result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -20537,11 +25212,15 @@ public Builder mergeLDiversityResult(com.google.privacy.dlp.v2.AnalyzeDataSource return this; } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ public Builder clearLDiversityResult() { if (lDiversityResultBuilder_ == null) { @@ -20560,67 +25239,98 @@ public Builder clearLDiversityResult() { return this; } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder getLDiversityResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder + getLDiversityResultBuilder() { return getLDiversityResultFieldBuilder().getBuilder(); } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder + getLDiversityResultOrBuilder() { if ((resultCase_ == 6) && (lDiversityResultBuilder_ != null)) { return lDiversityResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 6) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); } } /** + * + * *
      * L-divesity result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder> getLDiversityResultFieldBuilder() { if (lDiversityResultBuilder_ == null) { if (!(resultCase_ == 6)) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.getDefaultInstance(); - } - lDiversityResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder>( + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult + .getDefaultInstance(); + } + lDiversityResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder>( (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 6; - onChanged();; + onChanged(); + ; return lDiversityResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> kMapEstimationResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> + kMapEstimationResultBuilder_; /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * * @return Whether the kMapEstimationResult field is set. */ @java.lang.Override @@ -20628,35 +25338,49 @@ public boolean hasKMapEstimationResult() { return resultCase_ == 7; } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * * @return The kMapEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + getKMapEstimationResult() { if (kMapEstimationResultBuilder_ == null) { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance(); } else { if (resultCase_ == 7) { return kMapEstimationResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance(); } } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ - public Builder setKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { + public Builder setKMapEstimationResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { if (kMapEstimationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20670,14 +25394,19 @@ public Builder setKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSour return this; } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ public Builder setKMapEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder + builderForValue) { if (kMapEstimationResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -20688,18 +25417,30 @@ public Builder setKMapEstimationResult( return this; } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ - public Builder mergeKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { + public Builder mergeKMapEstimationResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult value) { if (kMapEstimationResultBuilder_ == null) { - if (resultCase_ == 7 && - result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance()) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 7 + && result_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance()) { + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -20714,11 +25455,15 @@ public Builder mergeKMapEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSo return this; } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ public Builder clearKMapEstimationResult() { if (kMapEstimationResultBuilder_ == null) { @@ -20737,67 +25482,103 @@ public Builder clearKMapEstimationResult() { return this; } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder getKMapEstimationResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder + getKMapEstimationResultBuilder() { return getKMapEstimationResultFieldBuilder().getBuilder(); } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder + getKMapEstimationResultOrBuilder() { if ((resultCase_ == 7) && (kMapEstimationResultBuilder_ != null)) { return kMapEstimationResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 7) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance(); } } /** + * + * *
      * K-map result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder> getKMapEstimationResultFieldBuilder() { if (kMapEstimationResultBuilder_ == null) { if (!(resultCase_ == 7)) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.getDefaultInstance(); - } - kMapEstimationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) result_, + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + .getDefaultInstance(); + } + kMapEstimationResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .KMapEstimationResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult) + result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 7; - onChanged();; + onChanged(); + ; return kMapEstimationResultBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder> deltaPresenceEstimationResultBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResultOrBuilder> + deltaPresenceEstimationResultBuilder_; /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * * @return Whether the deltaPresenceEstimationResult field is set. */ @java.lang.Override @@ -20805,35 +25586,51 @@ public boolean hasDeltaPresenceEstimationResult() { return resultCase_ == 9; } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * * @return The deltaPresenceEstimationResult. */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDeltaPresenceEstimationResult() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + getDeltaPresenceEstimationResult() { if (deltaPresenceEstimationResultBuilder_ == null) { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); } else { if (resultCase_ == 9) { return deltaPresenceEstimationResultBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); } } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ - public Builder setDeltaPresenceEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult value) { + public Builder setDeltaPresenceEstimationResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + value) { if (deltaPresenceEstimationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20847,14 +25644,19 @@ public Builder setDeltaPresenceEstimationResult(com.google.privacy.dlp.v2.Analyz return this; } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ public Builder setDeltaPresenceEstimationResult( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder + builderForValue) { if (deltaPresenceEstimationResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -20865,18 +25667,32 @@ public Builder setDeltaPresenceEstimationResult( return this; } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ - public Builder mergeDeltaPresenceEstimationResult(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult value) { + public Builder mergeDeltaPresenceEstimationResult( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + value) { if (deltaPresenceEstimationResultBuilder_ == null) { - if (resultCase_ == 9 && - result_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance()) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 9 + && result_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult.getDefaultInstance()) { + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult) + result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -20891,11 +25707,15 @@ public Builder mergeDeltaPresenceEstimationResult(com.google.privacy.dlp.v2.Anal return this; } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ public Builder clearDeltaPresenceEstimationResult() { if (deltaPresenceEstimationResultBuilder_ == null) { @@ -20914,96 +25734,155 @@ public Builder clearDeltaPresenceEstimationResult() { return this; } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder getDeltaPresenceEstimationResultBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder + getDeltaPresenceEstimationResultBuilder() { return getDeltaPresenceEstimationResultFieldBuilder().getBuilder(); } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResultOrBuilder + getDeltaPresenceEstimationResultOrBuilder() { if ((resultCase_ == 9) && (deltaPresenceEstimationResultBuilder_ != null)) { return deltaPresenceEstimationResultBuilder_.getMessageOrBuilder(); } else { if (resultCase_ == 9) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult) + result_; } - return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); + return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); } } /** + * + * *
      * Delta-presence result
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResultOrBuilder> getDeltaPresenceEstimationResultFieldBuilder() { if (deltaPresenceEstimationResultBuilder_ == null) { if (!(resultCase_ == 9)) { - result_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.getDefaultInstance(); - } - deltaPresenceEstimationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder>( - (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) result_, + result_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .getDefaultInstance(); + } + deltaPresenceEstimationResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResultOrBuilder>( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .DeltaPresenceEstimationResult) + result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 9; - onChanged();; + onChanged(); + ; return deltaPresenceEstimationResultBuilder_; } - private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requestedOptions_; + private com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + requestedOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder> requestedOptionsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptionsOrBuilder> + requestedOptionsBuilder_; /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * * @return Whether the requestedOptions field is set. */ public boolean hasRequestedOptions() { return requestedOptionsBuilder_ != null || requestedOptions_ != null; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * * @return The requestedOptions. */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getRequestedOptions() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + getRequestedOptions() { if (requestedOptionsBuilder_ == null) { - return requestedOptions_ == null ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance() : requestedOptions_; + return requestedOptions_ == null + ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .getDefaultInstance() + : requestedOptions_; } else { return requestedOptionsBuilder_.getMessage(); } } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ - public Builder setRequestedOptions(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { + public Builder setRequestedOptions( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { if (requestedOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -21017,14 +25896,19 @@ public Builder setRequestedOptions(com.google.privacy.dlp.v2.AnalyzeDataSourceRi return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ public Builder setRequestedOptions( - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder builderForValue) { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder + builderForValue) { if (requestedOptionsBuilder_ == null) { requestedOptions_ = builderForValue.build(); onChanged(); @@ -21035,17 +25919,25 @@ public Builder setRequestedOptions( return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ - public Builder mergeRequestedOptions(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { + public Builder mergeRequestedOptions( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions value) { if (requestedOptionsBuilder_ == null) { if (requestedOptions_ != null) { requestedOptions_ = - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.newBuilder(requestedOptions_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .newBuilder(requestedOptions_) + .mergeFrom(value) + .buildPartial(); } else { requestedOptions_ = value; } @@ -21057,11 +25949,15 @@ public Builder mergeRequestedOptions(com.google.privacy.dlp.v2.AnalyzeDataSource return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ public Builder clearRequestedOptions() { if (requestedOptionsBuilder_ == null) { @@ -21075,55 +25971,80 @@ public Builder clearRequestedOptions() { return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder getRequestedOptionsBuilder() { - + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder + getRequestedOptionsBuilder() { + onChanged(); return getRequestedOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptionsOrBuilder + getRequestedOptionsOrBuilder() { if (requestedOptionsBuilder_ != null) { return requestedOptionsBuilder_.getMessageOrBuilder(); } else { - return requestedOptions_ == null ? - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.getDefaultInstance() : requestedOptions_; + return requestedOptions_ == null + ? com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .getDefaultInstance() + : requestedOptions_; } } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptionsOrBuilder> getRequestedOptionsFieldBuilder() { if (requestedOptionsBuilder_ == null) { - requestedOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder>( - getRequestedOptions(), - getParentForChildren(), - isClean()); + requestedOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + .Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails + .RequestedRiskAnalysisOptionsOrBuilder>( + getRequestedOptions(), getParentForChildren(), isClean()); requestedOptions_ = null; } return requestedOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -21133,12 +26054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) private static final com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails(); } @@ -21147,16 +26068,16 @@ public static com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeDataSourceRiskDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeDataSourceRiskDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeDataSourceRiskDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeDataSourceRiskDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21171,6 +26092,4 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java similarity index 53% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java index b1515cac..f5e1f212 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/AnalyzeDataSourceRiskDetailsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface AnalyzeDataSourceRiskDetailsOrBuilder extends +public interface AnalyzeDataSourceRiskDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; + * * @return Whether the requestedPrivacyMetric field is set. */ boolean hasRequestedPrivacyMetric(); /** + * + * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric requested_privacy_metric = 1; + * * @return The requestedPrivacyMetric. */ com.google.privacy.dlp.v2.PrivacyMetric getRequestedPrivacyMetric(); /** + * + * *
    * Privacy metric to compute.
    * 
@@ -35,24 +59,32 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder extends com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getRequestedPrivacyMetricOrBuilder(); /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; + * * @return Whether the requestedSourceTable field is set. */ boolean hasRequestedSourceTable(); /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable requested_source_table = 2; + * * @return The requestedSourceTable. */ com.google.privacy.dlp.v2.BigQueryTable getRequestedSourceTable(); /** + * + * *
    * Input dataset to compute metrics over.
    * 
@@ -62,193 +94,303 @@ public interface AnalyzeDataSourceRiskDetailsOrBuilder extends com.google.privacy.dlp.v2.BigQueryTableOrBuilder getRequestedSourceTableOrBuilder(); /** + * + * *
    * Numerical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * * @return Whether the numericalStatsResult field is set. */ boolean hasNumericalStatsResult(); /** + * + * *
    * Numerical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * * @return The numericalStatsResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult getNumericalStatsResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult + getNumericalStatsResult(); /** + * + * *
    * Numerical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder getNumericalStatsResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultOrBuilder + getNumericalStatsResultOrBuilder(); /** + * + * *
    * Categorical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * * @return Whether the categoricalStatsResult field is set. */ boolean hasCategoricalStatsResult(); /** + * + * *
    * Categorical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * * @return The categoricalStatsResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult getCategoricalStatsResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult + getCategoricalStatsResult(); /** + * + * *
    * Categorical stats result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder getCategoricalStatsResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultOrBuilder + getCategoricalStatsResultOrBuilder(); /** + * + * *
    * K-anonymity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * * @return Whether the kAnonymityResult field is set. */ boolean hasKAnonymityResult(); /** + * + * *
    * K-anonymity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * * @return The kAnonymityResult. */ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult getKAnonymityResult(); /** + * + * *
    * K-anonymity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder getKAnonymityResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultOrBuilder + getKAnonymityResultOrBuilder(); /** + * + * *
    * L-divesity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * * @return Whether the lDiversityResult field is set. */ boolean hasLDiversityResult(); /** + * + * *
    * L-divesity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * * @return The lDiversityResult. */ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult getLDiversityResult(); /** + * + * *
    * L-divesity result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder getLDiversityResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultOrBuilder + getLDiversityResultOrBuilder(); /** + * + * *
    * K-map result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * * @return Whether the kMapEstimationResult field is set. */ boolean hasKMapEstimationResult(); /** + * + * *
    * K-map result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * * @return The kMapEstimationResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult getKMapEstimationResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult + getKMapEstimationResult(); /** + * + * *
    * K-map result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder getKMapEstimationResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultOrBuilder + getKMapEstimationResultOrBuilder(); /** + * + * *
    * Delta-presence result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * * @return Whether the deltaPresenceEstimationResult field is set. */ boolean hasDeltaPresenceEstimationResult(); /** + * + * *
    * Delta-presence result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * * @return The deltaPresenceEstimationResult. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult getDeltaPresenceEstimationResult(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult + getDeltaPresenceEstimationResult(); /** + * + * *
    * Delta-presence result
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultOrBuilder + getDeltaPresenceEstimationResultOrBuilder(); /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * * @return Whether the requestedOptions field is set. */ boolean hasRequestedOptions(); /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * * @return The requestedOptions. */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions getRequestedOptions(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions + getRequestedOptions(); /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * + * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions requested_options = 10; + * */ - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder getRequestedOptionsOrBuilder(); + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptionsOrBuilder + getRequestedOptionsOrBuilder(); public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ResultCase getResultCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java index b98eb30d..3af7d804 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryField.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Message defining a field of a BigQuery table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryField} */ -public final class BigQueryField extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryField) BigQueryFieldOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryField.newBuilder() to construct. private BigQueryField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryField() { - } + + private BigQueryField() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,82 @@ private BigQueryField( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (table_ != null) { - subBuilder = table_.toBuilder(); - } - table_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(table_); - table_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (table_ != null) { + subBuilder = table_.toBuilder(); + } + table_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(table_); + table_ = subBuilder.buildPartial(); + } + + break; } - field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryField.class, com.google.privacy.dlp.v2.BigQueryField.Builder.class); + com.google.privacy.dlp.v2.BigQueryField.class, + com.google.privacy.dlp.v2.BigQueryField.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.BigQueryTable table_; /** + * + * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -125,11 +151,14 @@ public boolean hasTable() { return table_ != null; } /** + * + * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ @java.lang.Override @@ -137,6 +166,8 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } /** + * + * *
    * Source table of the field.
    * 
@@ -151,11 +182,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { public static final int FIELD_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId field_; /** + * + * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return Whether the field field is set. */ @java.lang.Override @@ -163,11 +197,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return The field. */ @java.lang.Override @@ -175,6 +212,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
    * Designated field in the BigQuery table.
    * 
@@ -187,6 +226,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (table_ != null) { output.writeMessage(1, getTable()); } @@ -216,12 +255,10 @@ public int getSerializedSize() { size = 0; if (table_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTable()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTable()); } if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getField()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,7 +268,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.privacy.dlp.v2.BigQueryField)) { return super.equals(obj); @@ -240,13 +277,11 @@ public boolean equals(final java.lang.Object obj) { if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; } if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,118 +307,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.BigQueryField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message defining a field of a BigQuery table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryField) com.google.privacy.dlp.v2.BigQueryFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryField.class, com.google.privacy.dlp.v2.BigQueryField.Builder.class); + com.google.privacy.dlp.v2.BigQueryField.class, + com.google.privacy.dlp.v2.BigQueryField.Builder.class); } // Construct using com.google.privacy.dlp.v2.BigQueryField.newBuilder() @@ -391,16 +435,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +463,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; } @java.lang.Override @@ -441,7 +484,8 @@ public com.google.privacy.dlp.v2.BigQueryField build() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryField buildPartial() { - com.google.privacy.dlp.v2.BigQueryField result = new com.google.privacy.dlp.v2.BigQueryField(this); + com.google.privacy.dlp.v2.BigQueryField result = + new com.google.privacy.dlp.v2.BigQueryField(this); if (tableBuilder_ == null) { result.table_ = table_; } else { @@ -460,38 +504,39 @@ public com.google.privacy.dlp.v2.BigQueryField buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BigQueryField) { - return mergeFrom((com.google.privacy.dlp.v2.BigQueryField)other); + return mergeFrom((com.google.privacy.dlp.v2.BigQueryField) other); } else { super.mergeFrom(other); return this; @@ -537,34 +582,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.BigQueryTable table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + tableBuilder_; /** + * + * *
      * Source table of the field.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** + * + * *
      * Source table of the field.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (tableBuilder_ == null) { - return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } else { return tableBuilder_.getMessage(); } } /** + * + * *
      * Source table of the field.
      * 
@@ -585,14 +643,15 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Source table of the field.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; */ - public Builder setTable( - com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); @@ -603,6 +662,8 @@ public Builder setTable( return this; } /** + * + * *
      * Source table of the field.
      * 
@@ -613,7 +674,9 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_) + .mergeFrom(value) + .buildPartial(); } else { table_ = value; } @@ -625,6 +688,8 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Source table of the field.
      * 
@@ -643,6 +708,8 @@ public Builder clearTable() { return this; } /** + * + * *
      * Source table of the field.
      * 
@@ -650,11 +717,13 @@ public Builder clearTable() { * .google.privacy.dlp.v2.BigQueryTable table = 1; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { - + onChanged(); return getTableFieldBuilder().getBuilder(); } /** + * + * *
      * Source table of the field.
      * 
@@ -665,11 +734,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } } /** + * + * *
      * Source table of the field.
      * 
@@ -677,14 +749,17 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { * .google.privacy.dlp.v2.BigQueryTable table = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTable(), - getParentForChildren(), - isClean()); + tableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; @@ -692,24 +767,33 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldBuilder_; /** + * + * *
      * Designated field in the BigQuery table.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -720,6 +804,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -740,14 +826,15 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -758,6 +845,8 @@ public Builder setField( return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -768,7 +857,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -780,6 +869,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -798,6 +889,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -805,11 +898,13 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -820,11 +915,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -832,21 +928,24 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryField) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryField) private static final com.google.privacy.dlp.v2.BigQueryField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryField(); } @@ -870,16 +969,16 @@ public static com.google.privacy.dlp.v2.BigQueryField getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryField(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryField(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -894,6 +993,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java index 3bac0119..34331213 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryFieldOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryFieldOrBuilder extends +public interface BigQueryFieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryField) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
    * Source table of the field.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** + * + * *
    * Source table of the field.
    * 
@@ -35,24 +59,32 @@ public interface BigQueryFieldOrBuilder extends com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); /** + * + * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
    * Designated field in the BigQuery table.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
    * Designated field in the BigQuery table.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java index 0d3311e6..df9bce7b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKey.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Row key for identifying a record in BigQuery table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryKey} */ -public final class BigQueryKey extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryKey extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryKey) BigQueryKeyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryKey.newBuilder() to construct. private BigQueryKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryKey() { - } + + private BigQueryKey() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryKey(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,64 +68,72 @@ private BigQueryKey( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (tableReference_ != null) { - subBuilder = tableReference_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (tableReference_ != null) { + subBuilder = tableReference_.toBuilder(); + } + tableReference_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableReference_); + tableReference_ = subBuilder.buildPartial(); + } + + break; } - tableReference_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableReference_); - tableReference_ = subBuilder.buildPartial(); + case 16: + { + rowNumber_ = input.readInt64(); + break; } - - break; - } - case 16: { - - rowNumber_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryKey.class, com.google.privacy.dlp.v2.BigQueryKey.Builder.class); + com.google.privacy.dlp.v2.BigQueryKey.class, + com.google.privacy.dlp.v2.BigQueryKey.Builder.class); } public static final int TABLE_REFERENCE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.BigQueryTable tableReference_; /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return Whether the tableReference field is set. */ @java.lang.Override @@ -117,18 +141,25 @@ public boolean hasTableReference() { return tableReference_ != null; } /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return The tableReference. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { - return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : tableReference_; } /** + * + * *
    * Complete BigQuery table reference.
    * 
@@ -143,6 +174,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild public static final int ROW_NUMBER_FIELD_NUMBER = 2; private long rowNumber_; /** + * + * *
    * Row number inferred at the time the table was scanned. This value is
    * nondeterministic, cannot be queried, and may be null for inspection
@@ -152,6 +185,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
    * 
* * int64 row_number = 2; + * * @return The rowNumber. */ @java.lang.Override @@ -160,6 +194,7 @@ public long getRowNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -189,12 +223,10 @@ public int getSerializedSize() { size = 0; if (tableReference_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTableReference()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTableReference()); } if (rowNumber_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, rowNumber_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,7 +236,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.BigQueryKey)) { return super.equals(obj); @@ -213,11 +245,9 @@ public boolean equals(final java.lang.Object obj) { if (hasTableReference() != other.hasTableReference()) return false; if (hasTableReference()) { - if (!getTableReference() - .equals(other.getTableReference())) return false; + if (!getTableReference().equals(other.getTableReference())) return false; } - if (getRowNumber() - != other.getRowNumber()) return false; + if (getRowNumber() != other.getRowNumber()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,125 +264,132 @@ public int hashCode() { hash = (53 * hash) + getTableReference().hashCode(); } hash = (37 * hash) + ROW_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowNumber()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryKey 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.privacy.dlp.v2.BigQueryKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Row key for identifying a record in BigQuery table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryKey} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryKey) com.google.privacy.dlp.v2.BigQueryKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryKey.class, com.google.privacy.dlp.v2.BigQueryKey.Builder.class); + com.google.privacy.dlp.v2.BigQueryKey.class, + com.google.privacy.dlp.v2.BigQueryKey.Builder.class); } // Construct using com.google.privacy.dlp.v2.BigQueryKey.newBuilder() @@ -360,16 +397,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; } @java.lang.Override @@ -406,7 +442,8 @@ public com.google.privacy.dlp.v2.BigQueryKey build() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKey buildPartial() { - com.google.privacy.dlp.v2.BigQueryKey result = new com.google.privacy.dlp.v2.BigQueryKey(this); + com.google.privacy.dlp.v2.BigQueryKey result = + new com.google.privacy.dlp.v2.BigQueryKey(this); if (tableReferenceBuilder_ == null) { result.tableReference_ = tableReference_; } else { @@ -421,38 +458,39 @@ public com.google.privacy.dlp.v2.BigQueryKey buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BigQueryKey) { - return mergeFrom((com.google.privacy.dlp.v2.BigQueryKey)other); + return mergeFrom((com.google.privacy.dlp.v2.BigQueryKey) other); } else { super.mergeFrom(other); return this; @@ -498,34 +536,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.BigQueryTable tableReference_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableReferenceBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + tableReferenceBuilder_; /** + * + * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return tableReferenceBuilder_ != null || tableReference_ != null; } /** + * + * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return The tableReference. */ public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -546,6 +597,8 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -564,6 +617,8 @@ public Builder setTableReference( return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -574,7 +629,9 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value if (tableReferenceBuilder_ == null) { if (tableReference_ != null) { tableReference_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_) + .mergeFrom(value) + .buildPartial(); } else { tableReference_ = value; } @@ -586,6 +643,8 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -604,6 +663,8 @@ public Builder clearTableReference() { return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -611,11 +672,13 @@ public Builder clearTableReference() { * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableReferenceBuilder() { - + onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -626,11 +689,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : tableReference_; } } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -638,21 +704,26 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTableReference(), - getParentForChildren(), - isClean()); + tableReferenceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTableReference(), getParentForChildren(), isClean()); tableReference_ = null; } return tableReferenceBuilder_; } - private long rowNumber_ ; + private long rowNumber_; /** + * + * *
      * Row number inferred at the time the table was scanned. This value is
      * nondeterministic, cannot be queried, and may be null for inspection
@@ -662,6 +733,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
      * 
* * int64 row_number = 2; + * * @return The rowNumber. */ @java.lang.Override @@ -669,6 +741,8 @@ public long getRowNumber() { return rowNumber_; } /** + * + * *
      * Row number inferred at the time the table was scanned. This value is
      * nondeterministic, cannot be queried, and may be null for inspection
@@ -678,16 +752,19 @@ public long getRowNumber() {
      * 
* * int64 row_number = 2; + * * @param value The rowNumber to set. * @return This builder for chaining. */ public Builder setRowNumber(long value) { - + rowNumber_ = value; onChanged(); return this; } /** + * + * *
      * Row number inferred at the time the table was scanned. This value is
      * nondeterministic, cannot be queried, and may be null for inspection
@@ -697,17 +774,18 @@ public Builder setRowNumber(long value) {
      * 
* * int64 row_number = 2; + * * @return This builder for chaining. */ public Builder clearRowNumber() { - + rowNumber_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -717,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryKey) private static final com.google.privacy.dlp.v2.BigQueryKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryKey(); } @@ -731,16 +809,16 @@ public static com.google.privacy.dlp.v2.BigQueryKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,6 +833,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java index 57154373..3d0909dd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryKeyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryKeyOrBuilder extends +public interface BigQueryKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return Whether the tableReference field is set. */ boolean hasTableReference(); /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return The tableReference. */ com.google.privacy.dlp.v2.BigQueryTable getTableReference(); /** + * + * *
    * Complete BigQuery table reference.
    * 
@@ -35,6 +59,8 @@ public interface BigQueryKeyOrBuilder extends com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuilder(); /** + * + * *
    * Row number inferred at the time the table was scanned. This value is
    * nondeterministic, cannot be queried, and may be null for inspection
@@ -44,6 +70,7 @@ public interface BigQueryKeyOrBuilder extends
    * 
* * int64 row_number = 2; + * * @return The rowNumber. */ long getRowNumber(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java index 35f45e3d..4be1abc8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Options defining BigQuery table and row identifiers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryOptions} */ -public final class BigQueryOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryOptions) BigQueryOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryOptions.newBuilder() to construct. private BigQueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryOptions() { identifyingFields_ = java.util.Collections.emptyList(); sampleMethod_ = 0; @@ -28,16 +46,15 @@ private BigQueryOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,76 +74,82 @@ private BigQueryOptions( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (tableReference_ != null) { - subBuilder = tableReference_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (tableReference_ != null) { + subBuilder = tableReference_.toBuilder(); + } + tableReference_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableReference_); + tableReference_ = subBuilder.buildPartial(); + } + + break; } - tableReference_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableReference_); - tableReference_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identifyingFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + identifyingFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 24: + { + rowsLimit_ = input.readInt64(); + break; } - identifyingFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - case 24: { - - rowsLimit_ = input.readInt64(); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 32: + { + int rawValue = input.readEnum(); - sampleMethod_ = rawValue; - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - excludedFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + sampleMethod_ = rawValue; + break; } - excludedFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - case 48: { - - rowsLimitPercent_ = input.readInt32(); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - includedFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 42: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + excludedFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + excludedFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; } - includedFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 48: + { + rowsLimitPercent_ = input.readInt32(); + break; + } + case 58: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + includedFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + includedFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { identifyingFields_ = java.util.Collections.unmodifiableList(identifyingFields_); @@ -141,20 +164,25 @@ private BigQueryOptions( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryOptions.class, com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); + com.google.privacy.dlp.v2.BigQueryOptions.class, + com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); } /** + * + * *
    * How to sample rows if not all rows are scanned. Meaningful only when used
    * in conjunction with either rows_limit or rows_limit_percent. If not
@@ -163,13 +191,12 @@ private BigQueryOptions(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.BigQueryOptions.SampleMethod}
    */
-  public enum SampleMethod
-      implements com.google.protobuf.ProtocolMessageEnum {
-    /**
-     * SAMPLE_METHOD_UNSPECIFIED = 0;
-     */
+  public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
+    /** SAMPLE_METHOD_UNSPECIFIED = 0; */
     SAMPLE_METHOD_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Scan groups of rows in the order BigQuery provides (default). Multiple
      * groups of rows may be scanned in parallel, so results may not appear in
@@ -180,6 +207,8 @@ public enum SampleMethod
      */
     TOP(1),
     /**
+     *
+     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -190,11 +219,11 @@ public enum SampleMethod UNRECOGNIZED(-1), ; - /** - * SAMPLE_METHOD_UNSPECIFIED = 0; - */ + /** SAMPLE_METHOD_UNSPECIFIED = 0; */ public static final int SAMPLE_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Scan groups of rows in the order BigQuery provides (default). Multiple
      * groups of rows may be scanned in parallel, so results may not appear in
@@ -205,6 +234,8 @@ public enum SampleMethod
      */
     public static final int TOP_VALUE = 1;
     /**
+     *
+     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -213,7 +244,6 @@ public enum SampleMethod */ public static final int RANDOM_START_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -238,49 +268,49 @@ public static SampleMethod valueOf(int value) { */ public static SampleMethod forNumber(int value) { switch (value) { - case 0: return SAMPLE_METHOD_UNSPECIFIED; - case 1: return TOP; - case 2: return RANDOM_START; - default: return null; + case 0: + return SAMPLE_METHOD_UNSPECIFIED; + case 1: + return TOP; + case 2: + return RANDOM_START; + 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< - SampleMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SampleMethod findValueByNumber(int number) { - return SampleMethod.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 SampleMethod findValueByNumber(int number) { + return SampleMethod.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.privacy.dlp.v2.BigQueryOptions.getDescriptor().getEnumTypes().get(0); } private static final SampleMethod[] VALUES = values(); - public static SampleMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SampleMethod 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; @@ -300,11 +330,14 @@ private SampleMethod(int value) { public static final int TABLE_REFERENCE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.BigQueryTable tableReference_; /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return Whether the tableReference field is set. */ @java.lang.Override @@ -312,18 +345,25 @@ public boolean hasTableReference() { return tableReference_ != null; } /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return The tableReference. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { - return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : tableReference_; } /** + * + * *
    * Complete BigQuery table reference.
    * 
@@ -338,6 +378,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild public static final int IDENTIFYING_FIELDS_FIELD_NUMBER = 2; private java.util.List identifyingFields_; /** + * + * *
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -353,6 +395,8 @@ public java.util.List getIdentifyingFieldsLis
     return identifyingFields_;
   }
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -364,11 +408,13 @@ public java.util.List getIdentifyingFieldsLis
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getIdentifyingFieldsOrBuilderList() {
     return identifyingFields_;
   }
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -384,6 +430,8 @@ public int getIdentifyingFieldsCount() {
     return identifyingFields_.size();
   }
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -399,6 +447,8 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
     return identifyingFields_.get(index);
   }
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -410,14 +460,15 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
     return identifyingFields_.get(index);
   }
 
   public static final int ROWS_LIMIT_FIELD_NUMBER = 3;
   private long rowsLimit_;
   /**
+   *
+   *
    * 
    * Max number of rows to scan. If the table has more rows than this value, the
    * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -426,6 +477,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    * 
* * int64 rows_limit = 3; + * * @return The rowsLimit. */ @java.lang.Override @@ -436,6 +488,8 @@ public long getRowsLimit() { public static final int ROWS_LIMIT_PERCENT_FIELD_NUMBER = 6; private int rowsLimitPercent_; /** + * + * *
    * Max percentage of rows to scan. The rest are omitted. The number of rows
    * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -445,6 +499,7 @@ public long getRowsLimit() {
    * 
* * int32 rows_limit_percent = 6; + * * @return The rowsLimitPercent. */ @java.lang.Override @@ -456,24 +511,33 @@ public int getRowsLimitPercent() { private int sampleMethod_; /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override public int getSampleMethodValue() { + @java.lang.Override + public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return The sampleMethod. */ - @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() { + @java.lang.Override + public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); - return result == null ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = + com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); + return result == null + ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED + : result; } public static final int EXCLUDED_FIELDS_FIELD_NUMBER = 5; private java.util.List excludedFields_; /** + * + * *
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -486,6 +550,8 @@ public java.util.List getExcludedFieldsList()
     return excludedFields_;
   }
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -494,11 +560,13 @@ public java.util.List getExcludedFieldsList()
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getExcludedFieldsOrBuilderList() {
     return excludedFields_;
   }
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -511,6 +579,8 @@ public int getExcludedFieldsCount() {
     return excludedFields_.size();
   }
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -523,6 +593,8 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
     return excludedFields_.get(index);
   }
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -531,14 +603,15 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index) {
     return excludedFields_.get(index);
   }
 
   public static final int INCLUDED_FIELDS_FIELD_NUMBER = 7;
   private java.util.List includedFields_;
   /**
+   *
+   *
    * 
    * Limit scanning only to these fields.
    * 
@@ -550,6 +623,8 @@ public java.util.List getIncludedFieldsList() return includedFields_; } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -557,11 +632,13 @@ public java.util.List getIncludedFieldsList() * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ @java.lang.Override - public java.util.List + public java.util.List getIncludedFieldsOrBuilderList() { return includedFields_; } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -573,6 +650,8 @@ public int getIncludedFieldsCount() { return includedFields_.size(); } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -584,6 +663,8 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { return includedFields_.get(index); } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -591,12 +672,12 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ @java.lang.Override - public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index) { return includedFields_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -608,8 +689,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -619,7 +699,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rowsLimit_ != 0L) { output.writeInt64(3, rowsLimit_); } - if (sampleMethod_ != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { + if (sampleMethod_ + != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(4, sampleMethod_); } for (int i = 0; i < excludedFields_.size(); i++) { @@ -641,32 +723,28 @@ public int getSerializedSize() { size = 0; if (tableReference_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTableReference()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTableReference()); } for (int i = 0; i < identifyingFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, identifyingFields_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, identifyingFields_.get(i)); } if (rowsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, rowsLimit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowsLimit_); } - if (sampleMethod_ != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, sampleMethod_); + if (sampleMethod_ + != com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sampleMethod_); } for (int i = 0; i < excludedFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, excludedFields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, excludedFields_.get(i)); } if (rowsLimitPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, rowsLimitPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, rowsLimitPercent_); } for (int i = 0; i < includedFields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, includedFields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, includedFields_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -676,29 +754,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.privacy.dlp.v2.BigQueryOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.BigQueryOptions other = (com.google.privacy.dlp.v2.BigQueryOptions) obj; + com.google.privacy.dlp.v2.BigQueryOptions other = + (com.google.privacy.dlp.v2.BigQueryOptions) obj; if (hasTableReference() != other.hasTableReference()) return false; if (hasTableReference()) { - if (!getTableReference() - .equals(other.getTableReference())) return false; - } - if (!getIdentifyingFieldsList() - .equals(other.getIdentifyingFieldsList())) return false; - if (getRowsLimit() - != other.getRowsLimit()) return false; - if (getRowsLimitPercent() - != other.getRowsLimitPercent()) return false; + if (!getTableReference().equals(other.getTableReference())) return false; + } + if (!getIdentifyingFieldsList().equals(other.getIdentifyingFieldsList())) return false; + if (getRowsLimit() != other.getRowsLimit()) return false; + if (getRowsLimitPercent() != other.getRowsLimitPercent()) return false; if (sampleMethod_ != other.sampleMethod_) return false; - if (!getExcludedFieldsList() - .equals(other.getExcludedFieldsList())) return false; - if (!getIncludedFieldsList() - .equals(other.getIncludedFieldsList())) return false; + if (!getExcludedFieldsList().equals(other.getExcludedFieldsList())) return false; + if (!getIncludedFieldsList().equals(other.getIncludedFieldsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -719,8 +792,7 @@ public int hashCode() { hash = (53 * hash) + getIdentifyingFieldsList().hashCode(); } hash = (37 * hash) + ROWS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsLimit()); hash = (37 * hash) + ROWS_LIMIT_PERCENT_FIELD_NUMBER; hash = (53 * hash) + getRowsLimitPercent(); hash = (37 * hash) + SAMPLE_METHOD_FIELD_NUMBER; @@ -738,118 +810,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.BigQueryOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Options defining BigQuery table and row identifiers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BigQueryOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryOptions) com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BigQueryOptions.class, com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); + com.google.privacy.dlp.v2.BigQueryOptions.class, + com.google.privacy.dlp.v2.BigQueryOptions.Builder.class); } // Construct using com.google.privacy.dlp.v2.BigQueryOptions.newBuilder() @@ -857,19 +938,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIdentifyingFieldsFieldBuilder(); getExcludedFieldsFieldBuilder(); getIncludedFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -907,9 +988,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; } @java.lang.Override @@ -928,7 +1009,8 @@ public com.google.privacy.dlp.v2.BigQueryOptions build() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() { - com.google.privacy.dlp.v2.BigQueryOptions result = new com.google.privacy.dlp.v2.BigQueryOptions(this); + com.google.privacy.dlp.v2.BigQueryOptions result = + new com.google.privacy.dlp.v2.BigQueryOptions(this); int from_bitField0_ = bitField0_; if (tableReferenceBuilder_ == null) { result.tableReference_ = tableReference_; @@ -973,38 +1055,39 @@ public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BigQueryOptions) { - return mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions)other); + return mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions) other); } else { super.mergeFrom(other); return this; @@ -1034,9 +1117,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { identifyingFieldsBuilder_ = null; identifyingFields_ = other.identifyingFields_; bitField0_ = (bitField0_ & ~0x00000001); - identifyingFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIdentifyingFieldsFieldBuilder() : null; + identifyingFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIdentifyingFieldsFieldBuilder() + : null; } else { identifyingFieldsBuilder_.addAllMessages(other.identifyingFields_); } @@ -1069,9 +1153,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { excludedFieldsBuilder_ = null; excludedFields_ = other.excludedFields_; bitField0_ = (bitField0_ & ~0x00000002); - excludedFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExcludedFieldsFieldBuilder() : null; + excludedFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExcludedFieldsFieldBuilder() + : null; } else { excludedFieldsBuilder_.addAllMessages(other.excludedFields_); } @@ -1095,9 +1180,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { includedFieldsBuilder_ = null; includedFields_ = other.includedFields_; bitField0_ = (bitField0_ & ~0x00000004); - includedFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIncludedFieldsFieldBuilder() : null; + includedFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIncludedFieldsFieldBuilder() + : null; } else { includedFieldsBuilder_.addAllMessages(other.includedFields_); } @@ -1131,38 +1217,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.privacy.dlp.v2.BigQueryTable tableReference_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableReferenceBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + tableReferenceBuilder_; /** + * + * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return tableReferenceBuilder_ != null || tableReference_ != null; } /** + * + * *
      * Complete BigQuery table reference.
      * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return The tableReference. */ public com.google.privacy.dlp.v2.BigQueryTable getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1183,6 +1283,8 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1201,6 +1303,8 @@ public Builder setTableReference( return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1211,7 +1315,9 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value if (tableReferenceBuilder_ == null) { if (tableReference_ != null) { tableReference_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(tableReference_) + .mergeFrom(value) + .buildPartial(); } else { tableReference_ = value; } @@ -1223,6 +1329,8 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1241,6 +1349,8 @@ public Builder clearTableReference() { return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1248,11 +1358,13 @@ public Builder clearTableReference() { * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableReferenceBuilder() { - + onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1263,11 +1375,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : tableReference_; } } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1275,32 +1390,42 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTableReference(), - getParentForChildren(), - isClean()); + tableReferenceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTableReference(), getParentForChildren(), isClean()); tableReference_ = null; } return tableReferenceBuilder_; } private java.util.List identifyingFields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIdentifyingFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = new java.util.ArrayList(identifyingFields_); + identifyingFields_ = + new java.util.ArrayList(identifyingFields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> identifyingFieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + identifyingFieldsBuilder_; /** + * + * *
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1319,6 +1444,8 @@ public java.util.List getIdentifyingFieldsLis
       }
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1337,6 +1464,8 @@ public int getIdentifyingFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1355,6 +1484,8 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1365,8 +1496,7 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public Builder setIdentifyingFields(
-        int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder setIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1380,6 +1510,8 @@ public Builder setIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1402,6 +1534,8 @@ public Builder setIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1426,6 +1560,8 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1436,8 +1572,7 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public Builder addIdentifyingFields(
-        int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1451,6 +1586,8 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1461,8 +1598,7 @@ public Builder addIdentifyingFields(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public Builder addIdentifyingFields(
-        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
         identifyingFields_.add(builderForValue.build());
@@ -1473,6 +1609,8 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1495,6 +1633,8 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1509,8 +1649,7 @@ public Builder addAllIdentifyingFields(
         java.lang.Iterable values) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, identifyingFields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identifyingFields_);
         onChanged();
       } else {
         identifyingFieldsBuilder_.addAllMessages(values);
@@ -1518,6 +1657,8 @@ public Builder addAllIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1539,6 +1680,8 @@ public Builder clearIdentifyingFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1560,6 +1703,8 @@ public Builder removeIdentifyingFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1570,11 +1715,12 @@ public Builder removeIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(int index) {
       return getIdentifyingFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1585,14 +1731,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
       if (identifyingFieldsBuilder_ == null) {
-        return identifyingFields_.get(index);  } else {
+        return identifyingFields_.get(index);
+      } else {
         return identifyingFieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1603,8 +1751,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public java.util.List 
-         getIdentifyingFieldsOrBuilderList() {
+    public java.util.List
+        getIdentifyingFieldsOrBuilderList() {
       if (identifyingFieldsBuilder_ != null) {
         return identifyingFieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1612,6 +1760,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1623,10 +1773,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
-      return getIdentifyingFieldsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      return getIdentifyingFieldsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1637,12 +1789,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
-        int index) {
-      return getIdentifyingFieldsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int index) {
+      return getIdentifyingFieldsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Table fields that may uniquely identify a row within the table. When
      * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -1653,16 +1806,22 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
      */
-    public java.util.List 
-         getIdentifyingFieldsBuilderList() {
+    public java.util.List
+        getIdentifyingFieldsBuilderList() {
       return getIdentifyingFieldsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
         getIdentifyingFieldsFieldBuilder() {
       if (identifyingFieldsBuilder_ == null) {
-        identifyingFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+        identifyingFieldsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldId,
+                com.google.privacy.dlp.v2.FieldId.Builder,
+                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
                 identifyingFields_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1672,8 +1831,10 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
       return identifyingFieldsBuilder_;
     }
 
-    private long rowsLimit_ ;
+    private long rowsLimit_;
     /**
+     *
+     *
      * 
      * Max number of rows to scan. If the table has more rows than this value, the
      * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -1682,6 +1843,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
      * 
* * int64 rows_limit = 3; + * * @return The rowsLimit. */ @java.lang.Override @@ -1689,6 +1851,8 @@ public long getRowsLimit() { return rowsLimit_; } /** + * + * *
      * Max number of rows to scan. If the table has more rows than this value, the
      * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -1697,16 +1861,19 @@ public long getRowsLimit() {
      * 
* * int64 rows_limit = 3; + * * @param value The rowsLimit to set. * @return This builder for chaining. */ public Builder setRowsLimit(long value) { - + rowsLimit_ = value; onChanged(); return this; } /** + * + * *
      * Max number of rows to scan. If the table has more rows than this value, the
      * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -1715,17 +1882,20 @@ public Builder setRowsLimit(long value) {
      * 
* * int64 rows_limit = 3; + * * @return This builder for chaining. */ public Builder clearRowsLimit() { - + rowsLimit_ = 0L; onChanged(); return this; } - private int rowsLimitPercent_ ; + private int rowsLimitPercent_; /** + * + * *
      * Max percentage of rows to scan. The rest are omitted. The number of rows
      * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -1735,6 +1905,7 @@ public Builder clearRowsLimit() {
      * 
* * int32 rows_limit_percent = 6; + * * @return The rowsLimitPercent. */ @java.lang.Override @@ -1742,6 +1913,8 @@ public int getRowsLimitPercent() { return rowsLimitPercent_; } /** + * + * *
      * Max percentage of rows to scan. The rest are omitted. The number of rows
      * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -1751,16 +1924,19 @@ public int getRowsLimitPercent() {
      * 
* * int32 rows_limit_percent = 6; + * * @param value The rowsLimitPercent to set. * @return This builder for chaining. */ public Builder setRowsLimitPercent(int value) { - + rowsLimitPercent_ = value; onChanged(); return this; } /** + * + * *
      * Max percentage of rows to scan. The rest are omitted. The number of rows
      * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -1770,10 +1946,11 @@ public Builder setRowsLimitPercent(int value) {
      * 
* * int32 rows_limit_percent = 6; + * * @return This builder for chaining. */ public Builder clearRowsLimitPercent() { - + rowsLimitPercent_ = 0; onChanged(); return this; @@ -1782,34 +1959,42 @@ public Builder clearRowsLimitPercent() { private int sampleMethod_ = 0; /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override public int getSampleMethodValue() { + @java.lang.Override + public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @param value The enum numeric value on the wire for sampleMethod to set. * @return This builder for chaining. */ public Builder setSampleMethodValue(int value) { - + sampleMethod_ = value; onChanged(); return this; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return The sampleMethod. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); - return result == null ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod result = + com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.valueOf(sampleMethod_); + return result == null + ? com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod.UNRECOGNIZED + : result; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @param value The sampleMethod to set. * @return This builder for chaining. */ @@ -1817,35 +2002,43 @@ public Builder setSampleMethod(com.google.privacy.dlp.v2.BigQueryOptions.SampleM if (value == null) { throw new NullPointerException(); } - + sampleMethod_ = value.getNumber(); onChanged(); return this; } /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return This builder for chaining. */ public Builder clearSampleMethod() { - + sampleMethod_ = 0; onChanged(); return this; } private java.util.List excludedFields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExcludedFieldsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - excludedFields_ = new java.util.ArrayList(excludedFields_); + excludedFields_ = + new java.util.ArrayList(excludedFields_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> excludedFieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + excludedFieldsBuilder_; /** + * + * *
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1861,6 +2054,8 @@ public java.util.List getExcludedFieldsList()
       }
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1876,6 +2071,8 @@ public int getExcludedFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1891,6 +2088,8 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1898,8 +2097,7 @@ public com.google.privacy.dlp.v2.FieldId getExcludedFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public Builder setExcludedFields(
-        int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder setExcludedFields(int index, com.google.privacy.dlp.v2.FieldId value) {
       if (excludedFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1913,6 +2111,8 @@ public Builder setExcludedFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1932,6 +2132,8 @@ public Builder setExcludedFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1953,6 +2155,8 @@ public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1960,8 +2164,7 @@ public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId value) {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public Builder addExcludedFields(
-        int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder addExcludedFields(int index, com.google.privacy.dlp.v2.FieldId value) {
       if (excludedFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1975,6 +2178,8 @@ public Builder addExcludedFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -1982,8 +2187,7 @@ public Builder addExcludedFields(
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public Builder addExcludedFields(
-        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder addExcludedFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (excludedFieldsBuilder_ == null) {
         ensureExcludedFieldsIsMutable();
         excludedFields_.add(builderForValue.build());
@@ -1994,6 +2198,8 @@ public Builder addExcludedFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2013,6 +2219,8 @@ public Builder addExcludedFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2024,8 +2232,7 @@ public Builder addAllExcludedFields(
         java.lang.Iterable values) {
       if (excludedFieldsBuilder_ == null) {
         ensureExcludedFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, excludedFields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedFields_);
         onChanged();
       } else {
         excludedFieldsBuilder_.addAllMessages(values);
@@ -2033,6 +2240,8 @@ public Builder addAllExcludedFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2051,6 +2260,8 @@ public Builder clearExcludedFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2069,6 +2280,8 @@ public Builder removeExcludedFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2076,11 +2289,12 @@ public Builder removeExcludedFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder getExcludedFieldsBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldId.Builder getExcludedFieldsBuilder(int index) {
       return getExcludedFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2088,14 +2302,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder getExcludedFieldsBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index) {
       if (excludedFieldsBuilder_ == null) {
-        return excludedFields_.get(index);  } else {
+        return excludedFields_.get(index);
+      } else {
         return excludedFieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2103,8 +2319,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public java.util.List 
-         getExcludedFieldsOrBuilderList() {
+    public java.util.List
+        getExcludedFieldsOrBuilderList() {
       if (excludedFieldsBuilder_ != null) {
         return excludedFieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2112,6 +2328,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2120,10 +2338,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder() {
-      return getExcludedFieldsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      return getExcludedFieldsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2131,12 +2351,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(
-        int index) {
-      return getExcludedFieldsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+    public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(int index) {
+      return getExcludedFieldsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * References to fields excluded from scanning. This allows you to skip
      * inspection of entire columns which you know have no findings.
@@ -2144,16 +2365,22 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
      */
-    public java.util.List 
-         getExcludedFieldsBuilderList() {
+    public java.util.List
+        getExcludedFieldsBuilderList() {
       return getExcludedFieldsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
         getExcludedFieldsFieldBuilder() {
       if (excludedFieldsBuilder_ == null) {
-        excludedFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+        excludedFieldsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldId,
+                com.google.privacy.dlp.v2.FieldId.Builder,
+                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
                 excludedFields_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2164,18 +2391,25 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(
     }
 
     private java.util.List includedFields_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureIncludedFieldsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        includedFields_ = new java.util.ArrayList(includedFields_);
+        includedFields_ =
+            new java.util.ArrayList(includedFields_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> includedFieldsBuilder_;
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        includedFieldsBuilder_;
 
     /**
+     *
+     *
      * 
      * Limit scanning only to these fields.
      * 
@@ -2190,6 +2424,8 @@ public java.util.List getIncludedFieldsList() } } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2204,6 +2440,8 @@ public int getIncludedFieldsCount() { } } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2218,14 +2456,15 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { } } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public Builder setIncludedFields( - int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder setIncludedFields(int index, com.google.privacy.dlp.v2.FieldId value) { if (includedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2239,6 +2478,8 @@ public Builder setIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2257,6 +2498,8 @@ public Builder setIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2277,14 +2520,15 @@ public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public Builder addIncludedFields( - int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder addIncludedFields(int index, com.google.privacy.dlp.v2.FieldId value) { if (includedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2298,14 +2542,15 @@ public Builder addIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public Builder addIncludedFields( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (includedFieldsBuilder_ == null) { ensureIncludedFieldsIsMutable(); includedFields_.add(builderForValue.build()); @@ -2316,6 +2561,8 @@ public Builder addIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2334,6 +2581,8 @@ public Builder addIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2344,8 +2593,7 @@ public Builder addAllIncludedFields( java.lang.Iterable values) { if (includedFieldsBuilder_ == null) { ensureIncludedFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includedFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedFields_); onChanged(); } else { includedFieldsBuilder_.addAllMessages(values); @@ -2353,6 +2601,8 @@ public Builder addAllIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2370,6 +2620,8 @@ public Builder clearIncludedFields() { return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2387,39 +2639,44 @@ public Builder removeIncludedFields(int index) { return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public com.google.privacy.dlp.v2.FieldId.Builder getIncludedFieldsBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldId.Builder getIncludedFieldsBuilder(int index) { return getIncludedFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index) { if (includedFieldsBuilder_ == null) { - return includedFields_.get(index); } else { + return includedFields_.get(index); + } else { return includedFieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public java.util.List - getIncludedFieldsOrBuilderList() { + public java.util.List + getIncludedFieldsOrBuilderList() { if (includedFieldsBuilder_ != null) { return includedFieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2427,6 +2684,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( } } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2434,38 +2693,47 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder() { - return getIncludedFieldsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + return getIncludedFieldsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder( - int index) { - return getIncludedFieldsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder(int index) { + return getIncludedFieldsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** + * + * *
      * Limit scanning only to these fields.
      * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - public java.util.List - getIncludedFieldsBuilderList() { + public java.util.List + getIncludedFieldsBuilderList() { return getIncludedFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getIncludedFieldsFieldBuilder() { if (includedFieldsBuilder_ == null) { - includedFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( + includedFieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( includedFields_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2474,9 +2742,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder( } return includedFieldsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2486,12 +2754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryOptions) private static final com.google.privacy.dlp.v2.BigQueryOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryOptions(); } @@ -2500,16 +2768,16 @@ public static com.google.privacy.dlp.v2.BigQueryOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2524,6 +2792,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java similarity index 86% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java index 6b5cb5f2..1c87d1cd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryOptionsOrBuilder extends +public interface BigQueryOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return Whether the tableReference field is set. */ boolean hasTableReference(); /** + * + * *
    * Complete BigQuery table reference.
    * 
* * .google.privacy.dlp.v2.BigQueryTable table_reference = 1; + * * @return The tableReference. */ com.google.privacy.dlp.v2.BigQueryTable getTableReference(); /** + * + * *
    * Complete BigQuery table reference.
    * 
@@ -35,6 +59,8 @@ public interface BigQueryOptionsOrBuilder extends com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuilder(); /** + * + * *
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -45,9 +71,10 @@ public interface BigQueryOptionsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
-  java.util.List 
-      getIdentifyingFieldsList();
+  java.util.List getIdentifyingFieldsList();
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -60,6 +87,8 @@ public interface BigQueryOptionsOrBuilder extends
    */
   com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index);
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -72,6 +101,8 @@ public interface BigQueryOptionsOrBuilder extends
    */
   int getIdentifyingFieldsCount();
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -82,9 +113,11 @@ public interface BigQueryOptionsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
-  java.util.List 
+  java.util.List
       getIdentifyingFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * Table fields that may uniquely identify a row within the table. When
    * `actions.saveFindings.outputConfig.table` is specified, the values of
@@ -95,10 +128,11 @@ public interface BigQueryOptionsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;
    */
-  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Max number of rows to scan. If the table has more rows than this value, the
    * rest of the rows are omitted. If not set, or if set to 0, all rows will be
@@ -107,11 +141,14 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    * 
* * int64 rows_limit = 3; + * * @return The rowsLimit. */ long getRowsLimit(); /** + * + * *
    * Max percentage of rows to scan. The rest are omitted. The number of rows
    * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
@@ -121,22 +158,27 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    * 
* * int32 rows_limit_percent = 6; + * * @return The rowsLimitPercent. */ int getRowsLimitPercent(); /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return The enum numeric value on the wire for sampleMethod. */ int getSampleMethodValue(); /** * .google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4; + * * @return The sampleMethod. */ com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod(); /** + * + * *
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -144,9 +186,10 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
-  java.util.List 
-      getExcludedFieldsList();
+  java.util.List getExcludedFieldsList();
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -156,6 +199,8 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    */
   com.google.privacy.dlp.v2.FieldId getExcludedFields(int index);
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -165,6 +210,8 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    */
   int getExcludedFieldsCount();
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -172,9 +219,11 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
-  java.util.List 
+  java.util.List
       getExcludedFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * References to fields excluded from scanning. This allows you to skip
    * inspection of entire columns which you know have no findings.
@@ -182,19 +231,21 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;
    */
-  com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Limit scanning only to these fields.
    * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - java.util.List - getIncludedFieldsList(); + java.util.List getIncludedFieldsList(); /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -203,6 +254,8 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder( */ com.google.privacy.dlp.v2.FieldId getIncludedFields(int index); /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -211,21 +264,24 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder( */ int getIncludedFieldsCount(); /** + * + * *
    * Limit scanning only to these fields.
    * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - java.util.List + java.util.List getIncludedFieldsOrBuilderList(); /** + * + * *
    * Limit scanning only to these fields.
    * 
* * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; */ - com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( - int index); + com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java index 751f2031..d2e26162 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTable.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Message defining the location of a BigQuery table. A table is uniquely
  * identified  by its project_id, dataset_id, and table_name. Within a query
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.BigQueryTable}
  */
-public final class BigQueryTable extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BigQueryTable extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BigQueryTable)
     BigQueryTableOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BigQueryTable.newBuilder() to construct.
   private BigQueryTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BigQueryTable() {
     projectId_ = "";
     datasetId_ = "";
@@ -31,16 +49,15 @@ private BigQueryTable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BigQueryTable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private BigQueryTable(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,65 +76,73 @@ private BigQueryTable(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            projectId_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              projectId_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            datasetId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              datasetId_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tableId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tableId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.BigQueryTable.class, com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
+            com.google.privacy.dlp.v2.BigQueryTable.class,
+            com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -126,30 +151,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -160,11 +185,14 @@ public java.lang.String getProjectId() { public static final int DATASET_ID_FIELD_NUMBER = 2; private volatile java.lang.Object datasetId_; /** + * + * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; + * * @return The datasetId. */ @java.lang.Override @@ -173,29 +201,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** + * + * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; + * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -206,11 +234,14 @@ public java.lang.String getDatasetId() { public static final int TABLE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object tableId_; /** + * + * *
    * Name of the table.
    * 
* * string table_id = 3; + * * @return The tableId. */ @java.lang.Override @@ -219,29 +250,29 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** + * + * *
    * Name of the table.
    * 
* * string table_id = 3; + * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableIdBytes() { + public com.google.protobuf.ByteString getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableId_ = b; return b; } else { @@ -250,6 +281,7 @@ public java.lang.String getTableId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -298,19 +329,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.privacy.dlp.v2.BigQueryTable)) { return super.equals(obj); } com.google.privacy.dlp.v2.BigQueryTable other = (com.google.privacy.dlp.v2.BigQueryTable) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatasetId() - .equals(other.getDatasetId())) return false; - if (!getTableId() - .equals(other.getTableId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatasetId().equals(other.getDatasetId())) return false; + if (!getTableId().equals(other.getTableId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,97 +361,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BigQueryTable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.BigQueryTable parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryTable parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BigQueryTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BigQueryTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message defining the location of a BigQuery table. A table is uniquely
    * identified  by its project_id, dataset_id, and table_name. Within a query
@@ -434,21 +469,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.BigQueryTable}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BigQueryTable)
       com.google.privacy.dlp.v2.BigQueryTableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.BigQueryTable.class, com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
+              com.google.privacy.dlp.v2.BigQueryTable.class,
+              com.google.privacy.dlp.v2.BigQueryTable.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.BigQueryTable.newBuilder()
@@ -456,16 +493,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +515,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor;
     }
 
     @java.lang.Override
@@ -500,7 +536,8 @@ public com.google.privacy.dlp.v2.BigQueryTable build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.BigQueryTable buildPartial() {
-      com.google.privacy.dlp.v2.BigQueryTable result = new com.google.privacy.dlp.v2.BigQueryTable(this);
+      com.google.privacy.dlp.v2.BigQueryTable result =
+          new com.google.privacy.dlp.v2.BigQueryTable(this);
       result.projectId_ = projectId_;
       result.datasetId_ = datasetId_;
       result.tableId_ = tableId_;
@@ -512,38 +549,39 @@ public com.google.privacy.dlp.v2.BigQueryTable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.BigQueryTable) {
-        return mergeFrom((com.google.privacy.dlp.v2.BigQueryTable)other);
+        return mergeFrom((com.google.privacy.dlp.v2.BigQueryTable) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -595,19 +633,21 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -616,21 +656,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -638,57 +679,64 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform project ID of the project containing the table.
      * If omitted, project ID is inferred from the API call.
      * 
* * string project_id = 1; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -696,18 +744,20 @@ public Builder setProjectIdBytes( private java.lang.Object datasetId_ = ""; /** + * + * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; + * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -716,20 +766,21 @@ public java.lang.String getDatasetId() { } } /** + * + * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; + * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -737,54 +788,61 @@ public java.lang.String getDatasetId() { } } /** + * + * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; + * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId( - java.lang.String value) { + public Builder setDatasetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** + * + * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; + * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** + * + * *
      * Dataset ID of the table.
      * 
* * string dataset_id = 2; + * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; @@ -792,18 +850,20 @@ public Builder setDatasetIdBytes( private java.lang.Object tableId_ = ""; /** + * + * *
      * Name of the table.
      * 
* * string table_id = 3; + * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -812,20 +872,21 @@ public java.lang.String getTableId() { } } /** + * + * *
      * Name of the table.
      * 
* * string table_id = 3; + * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString - getTableIdBytes() { + public com.google.protobuf.ByteString getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableId_ = b; return b; } else { @@ -833,61 +894,68 @@ public java.lang.String getTableId() { } } /** + * + * *
      * Name of the table.
      * 
* * string table_id = 3; + * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId( - java.lang.String value) { + public Builder setTableId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; onChanged(); return this; } /** + * + * *
      * Name of the table.
      * 
* * string table_id = 3; + * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); onChanged(); return this; } /** + * + * *
      * Name of the table.
      * 
* * string table_id = 3; + * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = 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); } @@ -897,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BigQueryTable) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryTable) private static final com.google.privacy.dlp.v2.BigQueryTable DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BigQueryTable(); } @@ -911,16 +979,16 @@ public static com.google.privacy.dlp.v2.BigQueryTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -935,6 +1003,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BigQueryTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java index 98f79024..5e81869c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryTableOrBuilder.java @@ -1,71 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface BigQueryTableOrBuilder extends +public interface BigQueryTableOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryTable) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * The Google Cloud Platform project ID of the project containing the table.
    * If omitted, project ID is inferred from the API call.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; + * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * *
    * Dataset ID of the table.
    * 
* * string dataset_id = 2; + * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString - getDatasetIdBytes(); + com.google.protobuf.ByteString getDatasetIdBytes(); /** + * + * *
    * Name of the table.
    * 
* * string table_id = 3; + * * @return The tableId. */ java.lang.String getTableId(); /** + * + * *
    * Name of the table.
    * 
* * string table_id = 3; + * * @return The bytes for tableId. */ - com.google.protobuf.ByteString - getTableIdBytes(); + com.google.protobuf.ByteString getTableIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java index cbe25d0d..385d9a36 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBox.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Bounding box encompassing detected text within an image.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.BoundingBox} */ -public final class BoundingBox extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BoundingBox extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BoundingBox) BoundingBoxOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BoundingBox.newBuilder() to construct. private BoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BoundingBox() { - } + + private BoundingBox() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BoundingBox(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BoundingBox( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,66 +68,71 @@ private BoundingBox( case 0: done = true; break; - case 8: { - - top_ = input.readInt32(); - break; - } - case 16: { - - left_ = input.readInt32(); - break; - } - case 24: { - - width_ = input.readInt32(); - break; - } - case 32: { - - height_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + top_ = input.readInt32(); + break; + } + case 16: + { + left_ = input.readInt32(); + break; + } + case 24: + { + width_ = input.readInt32(); + break; + } + case 32: + { + height_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BoundingBox.class, com.google.privacy.dlp.v2.BoundingBox.Builder.class); + com.google.privacy.dlp.v2.BoundingBox.class, + com.google.privacy.dlp.v2.BoundingBox.Builder.class); } public static final int TOP_FIELD_NUMBER = 1; private int top_; /** + * + * *
    * Top coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 top = 1; + * * @return The top. */ @java.lang.Override @@ -122,11 +143,14 @@ public int getTop() { public static final int LEFT_FIELD_NUMBER = 2; private int left_; /** + * + * *
    * Left coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 left = 2; + * * @return The left. */ @java.lang.Override @@ -137,11 +161,14 @@ public int getLeft() { public static final int WIDTH_FIELD_NUMBER = 3; private int width_; /** + * + * *
    * Width of the bounding box in pixels.
    * 
* * int32 width = 3; + * * @return The width. */ @java.lang.Override @@ -152,11 +179,14 @@ public int getWidth() { public static final int HEIGHT_FIELD_NUMBER = 4; private int height_; /** + * + * *
    * Height of the bounding box in pixels.
    * 
* * int32 height = 4; + * * @return The height. */ @java.lang.Override @@ -165,6 +195,7 @@ public int getHeight() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,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 { if (top_ != 0) { output.writeInt32(1, top_); } @@ -200,20 +230,16 @@ public int getSerializedSize() { size = 0; if (top_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, top_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, top_); } if (left_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, left_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, left_); } if (width_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, width_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, width_); } if (height_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, height_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, height_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -223,21 +249,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.privacy.dlp.v2.BoundingBox)) { return super.equals(obj); } com.google.privacy.dlp.v2.BoundingBox other = (com.google.privacy.dlp.v2.BoundingBox) obj; - if (getTop() - != other.getTop()) return false; - if (getLeft() - != other.getLeft()) return false; - if (getWidth() - != other.getWidth()) return false; - if (getHeight() - != other.getHeight()) return false; + if (getTop() != other.getTop()) return false; + if (getLeft() != other.getLeft()) return false; + if (getWidth() != other.getWidth()) return false; + if (getHeight() != other.getHeight()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -262,118 +284,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BoundingBox parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.BoundingBox parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BoundingBox 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.privacy.dlp.v2.BoundingBox parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BoundingBox parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BoundingBox prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Bounding box encompassing detected text within an image.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BoundingBox} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BoundingBox) com.google.privacy.dlp.v2.BoundingBoxOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BoundingBox.class, com.google.privacy.dlp.v2.BoundingBox.Builder.class); + com.google.privacy.dlp.v2.BoundingBox.class, + com.google.privacy.dlp.v2.BoundingBox.Builder.class); } // Construct using com.google.privacy.dlp.v2.BoundingBox.newBuilder() @@ -381,16 +411,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; } @java.lang.Override @@ -427,7 +456,8 @@ public com.google.privacy.dlp.v2.BoundingBox build() { @java.lang.Override public com.google.privacy.dlp.v2.BoundingBox buildPartial() { - com.google.privacy.dlp.v2.BoundingBox result = new com.google.privacy.dlp.v2.BoundingBox(this); + com.google.privacy.dlp.v2.BoundingBox result = + new com.google.privacy.dlp.v2.BoundingBox(this); result.top_ = top_; result.left_ = left_; result.width_ = width_; @@ -440,38 +470,39 @@ public com.google.privacy.dlp.v2.BoundingBox buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.BoundingBox) { - return mergeFrom((com.google.privacy.dlp.v2.BoundingBox)other); + return mergeFrom((com.google.privacy.dlp.v2.BoundingBox) other); } else { super.mergeFrom(other); return this; @@ -521,13 +552,16 @@ public Builder mergeFrom( return this; } - private int top_ ; + private int top_; /** + * + * *
      * Top coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 top = 1; + * * @return The top. */ @java.lang.Override @@ -535,42 +569,51 @@ public int getTop() { return top_; } /** + * + * *
      * Top coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 top = 1; + * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(int value) { - + top_ = value; onChanged(); return this; } /** + * + * *
      * Top coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 top = 1; + * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0; onChanged(); return this; } - private int left_ ; + private int left_; /** + * + * *
      * Left coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 left = 2; + * * @return The left. */ @java.lang.Override @@ -578,42 +621,51 @@ public int getLeft() { return left_; } /** + * + * *
      * Left coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 left = 2; + * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(int value) { - + left_ = value; onChanged(); return this; } /** + * + * *
      * Left coordinate of the bounding box. (0,0) is upper left.
      * 
* * int32 left = 2; + * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0; onChanged(); return this; } - private int width_ ; + private int width_; /** + * + * *
      * Width of the bounding box in pixels.
      * 
* * int32 width = 3; + * * @return The width. */ @java.lang.Override @@ -621,42 +673,51 @@ public int getWidth() { return width_; } /** + * + * *
      * Width of the bounding box in pixels.
      * 
* * int32 width = 3; + * * @param value The width to set. * @return This builder for chaining. */ public Builder setWidth(int value) { - + width_ = value; onChanged(); return this; } /** + * + * *
      * Width of the bounding box in pixels.
      * 
* * int32 width = 3; + * * @return This builder for chaining. */ public Builder clearWidth() { - + width_ = 0; onChanged(); return this; } - private int height_ ; + private int height_; /** + * + * *
      * Height of the bounding box in pixels.
      * 
* * int32 height = 4; + * * @return The height. */ @java.lang.Override @@ -664,37 +725,43 @@ public int getHeight() { return height_; } /** + * + * *
      * Height of the bounding box in pixels.
      * 
* * int32 height = 4; + * * @param value The height to set. * @return This builder for chaining. */ public Builder setHeight(int value) { - + height_ = value; onChanged(); return this; } /** + * + * *
      * Height of the bounding box in pixels.
      * 
* * int32 height = 4; + * * @return This builder for chaining. */ public Builder clearHeight() { - + height_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,12 +771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BoundingBox) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BoundingBox) private static final com.google.privacy.dlp.v2.BoundingBox DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BoundingBox(); } @@ -718,16 +785,16 @@ public static com.google.privacy.dlp.v2.BoundingBox getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +809,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java similarity index 57% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java index ffe25369..a93f9e25 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BoundingBoxOrBuilder.java @@ -1,48 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface BoundingBoxOrBuilder extends +public interface BoundingBoxOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BoundingBox) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Top coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 top = 1; + * * @return The top. */ int getTop(); /** + * + * *
    * Left coordinate of the bounding box. (0,0) is upper left.
    * 
* * int32 left = 2; + * * @return The left. */ int getLeft(); /** + * + * *
    * Width of the bounding box in pixels.
    * 
* * int32 width = 3; + * * @return The width. */ int getWidth(); /** + * + * *
    * Height of the bounding box in pixels.
    * 
* * int32 height = 4; + * * @return The height. */ int getHeight(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java index 5e1f8969..e0beee97 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Generalization function that buckets values based on ranges. The ranges and
  * replacement values are dynamically provided by the user for custom behavior,
@@ -18,31 +35,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig}
  */
-public final class BucketingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BucketingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BucketingConfig)
     BucketingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BucketingConfig.newBuilder() to construct.
   private BucketingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BucketingConfig() {
     buckets_ = 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 BucketingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private BucketingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,29 +79,32 @@ private BucketingConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              buckets_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                buckets_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              buckets_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.BucketingConfig.Bucket.parser(),
+                      extensionRegistry));
+              break;
             }
-            buckets_.add(
-                input.readMessage(com.google.privacy.dlp.v2.BucketingConfig.Bucket.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         buckets_ = java.util.Collections.unmodifiableList(buckets_);
@@ -93,44 +113,56 @@ private BucketingConfig(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.BucketingConfig.class, com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
+            com.google.privacy.dlp.v2.BucketingConfig.class,
+            com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
   }
 
-  public interface BucketOrBuilder extends
+  public interface BucketOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BucketingConfig.Bucket)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; + * * @return Whether the min field is set. */ boolean hasMin(); /** + * + * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; + * * @return The min. */ com.google.privacy.dlp.v2.Value getMin(); /** + * + * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
@@ -141,24 +173,32 @@ public interface BucketOrBuilder extends
     com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder();
 
     /**
+     *
+     *
      * 
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; + * * @return Whether the max field is set. */ boolean hasMax(); /** + * + * *
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; + * * @return The max. */ com.google.privacy.dlp.v2.Value getMax(); /** + * + * *
      * Upper bound of the range, exclusive; type must match min.
      * 
@@ -168,63 +208,78 @@ public interface BucketOrBuilder extends com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder(); /** + * + * *
      * Required. Replacement value for this bucket.
      * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the replacementValue field is set. */ boolean hasReplacementValue(); /** + * + * *
      * Required. Replacement value for this bucket.
      * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The replacementValue. */ com.google.privacy.dlp.v2.Value getReplacementValue(); /** + * + * *
      * Required. Replacement value for this bucket.
      * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder(); } /** + * + * *
    * Bucket is represented as a range, along with replacement values.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig.Bucket} */ - public static final class Bucket extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Bucket extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.BucketingConfig.Bucket) BucketOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Bucket.newBuilder() to construct. private Bucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Bucket() { - } + + private Bucket() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Bucket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Bucket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -243,86 +298,97 @@ private Bucket( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (min_ != null) { - subBuilder = min_.toBuilder(); - } - min_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(min_); - min_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (max_ != null) { - subBuilder = max_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (min_ != null) { + subBuilder = min_.toBuilder(); + } + min_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(min_); + min_ = subBuilder.buildPartial(); + } + + break; } - max_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(max_); - max_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (max_ != null) { + subBuilder = max_.toBuilder(); + } + max_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(max_); + max_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (replacementValue_ != null) { - subBuilder = replacementValue_.toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (replacementValue_ != null) { + subBuilder = replacementValue_.toBuilder(); + } + replacementValue_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(replacementValue_); + replacementValue_ = subBuilder.buildPartial(); + } + + break; } - replacementValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(replacementValue_); - replacementValue_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); + com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, + com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); } public static final int MIN_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value min_; /** + * + * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; + * * @return Whether the min field is set. */ @java.lang.Override @@ -330,12 +396,15 @@ public boolean hasMin() { return min_ != null; } /** + * + * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
      * 
* * .google.privacy.dlp.v2.Value min = 1; + * * @return The min. */ @java.lang.Override @@ -343,6 +412,8 @@ public com.google.privacy.dlp.v2.Value getMin() { return min_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_; } /** + * + * *
      * Lower bound of the range, inclusive. Type should be the same as max if
      * used.
@@ -358,11 +429,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
     public static final int MAX_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.Value max_;
     /**
+     *
+     *
      * 
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; + * * @return Whether the max field is set. */ @java.lang.Override @@ -370,11 +444,14 @@ public boolean hasMax() { return max_ != null; } /** + * + * *
      * Upper bound of the range, exclusive; type must match min.
      * 
* * .google.privacy.dlp.v2.Value max = 2; + * * @return The max. */ @java.lang.Override @@ -382,6 +459,8 @@ public com.google.privacy.dlp.v2.Value getMax() { return max_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_; } /** + * + * *
      * Upper bound of the range, exclusive; type must match min.
      * 
@@ -396,11 +475,16 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { public static final int REPLACEMENT_VALUE_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.Value replacementValue_; /** + * + * *
      * Required. Replacement value for this bucket.
      * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the replacementValue field is set. */ @java.lang.Override @@ -408,23 +492,34 @@ public boolean hasReplacementValue() { return replacementValue_ != null; } /** + * + * *
      * Required. Replacement value for this bucket.
      * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The replacementValue. */ @java.lang.Override public com.google.privacy.dlp.v2.Value getReplacementValue() { - return replacementValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : replacementValue_; + return replacementValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : replacementValue_; } /** + * + * *
      * Required. Replacement value for this bucket.
      * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { @@ -432,6 +527,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,8 +539,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (min_ != null) { output.writeMessage(1, getMin()); } @@ -464,16 +559,13 @@ public int getSerializedSize() { size = 0; if (min_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMin()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMin()); } if (max_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMax()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMax()); } if (replacementValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getReplacementValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReplacementValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -483,27 +575,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.privacy.dlp.v2.BucketingConfig.Bucket)) { return super.equals(obj); } - com.google.privacy.dlp.v2.BucketingConfig.Bucket other = (com.google.privacy.dlp.v2.BucketingConfig.Bucket) obj; + com.google.privacy.dlp.v2.BucketingConfig.Bucket other = + (com.google.privacy.dlp.v2.BucketingConfig.Bucket) obj; if (hasMin() != other.hasMin()) return false; if (hasMin()) { - if (!getMin() - .equals(other.getMin())) return false; + if (!getMin().equals(other.getMin())) return false; } if (hasMax() != other.hasMax()) return false; if (hasMax()) { - if (!getMax() - .equals(other.getMax())) return false; + if (!getMax().equals(other.getMax())) return false; } if (hasReplacementValue() != other.hasReplacementValue()) return false; if (hasReplacementValue()) { - if (!getReplacementValue() - .equals(other.getReplacementValue())) return false; + if (!getReplacementValue().equals(other.getReplacementValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -534,87 +624,93 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BucketingConfig.Bucket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BucketingConfig.Bucket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -624,27 +720,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Bucket is represented as a range, along with replacement values.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig.Bucket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BucketingConfig.Bucket) com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); + com.google.privacy.dlp.v2.BucketingConfig.Bucket.class, + com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder.class); } // Construct using com.google.privacy.dlp.v2.BucketingConfig.Bucket.newBuilder() @@ -652,16 +753,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -687,9 +787,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; } @java.lang.Override @@ -708,7 +808,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket build() { @java.lang.Override public com.google.privacy.dlp.v2.BucketingConfig.Bucket buildPartial() { - com.google.privacy.dlp.v2.BucketingConfig.Bucket result = new com.google.privacy.dlp.v2.BucketingConfig.Bucket(this); + com.google.privacy.dlp.v2.BucketingConfig.Bucket result = + new com.google.privacy.dlp.v2.BucketingConfig.Bucket(this); if (minBuilder_ == null) { result.min_ = min_; } else { @@ -732,38 +833,41 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.BucketingConfig.Bucket) { - return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig.Bucket)other); + return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig.Bucket) other); } else { super.mergeFrom(other); return this; @@ -771,7 +875,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.BucketingConfig.Bucket other) { - if (other == com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()) + return this; if (other.hasMin()) { mergeMin(other.getMin()); } @@ -800,7 +905,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.BucketingConfig.Bucket) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.BucketingConfig.Bucket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -812,26 +918,35 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Value min_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> minBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + minBuilder_; /** + * + * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
        * 
* * .google.privacy.dlp.v2.Value min = 1; + * * @return Whether the min field is set. */ public boolean hasMin() { return minBuilder_ != null || min_ != null; } /** + * + * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
        * 
* * .google.privacy.dlp.v2.Value min = 1; + * * @return The min. */ public com.google.privacy.dlp.v2.Value getMin() { @@ -842,6 +957,8 @@ public com.google.privacy.dlp.v2.Value getMin() { } } /** + * + * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -863,6 +980,8 @@ public Builder setMin(com.google.privacy.dlp.v2.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -870,8 +989,7 @@ public Builder setMin(com.google.privacy.dlp.v2.Value value) {
        *
        * .google.privacy.dlp.v2.Value min = 1;
        */
-      public Builder setMin(
-          com.google.privacy.dlp.v2.Value.Builder builderForValue) {
+      public Builder setMin(com.google.privacy.dlp.v2.Value.Builder builderForValue) {
         if (minBuilder_ == null) {
           min_ = builderForValue.build();
           onChanged();
@@ -882,6 +1000,8 @@ public Builder setMin(
         return this;
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -892,8 +1012,7 @@ public Builder setMin(
       public Builder mergeMin(com.google.privacy.dlp.v2.Value value) {
         if (minBuilder_ == null) {
           if (min_ != null) {
-            min_ =
-              com.google.privacy.dlp.v2.Value.newBuilder(min_).mergeFrom(value).buildPartial();
+            min_ = com.google.privacy.dlp.v2.Value.newBuilder(min_).mergeFrom(value).buildPartial();
           } else {
             min_ = value;
           }
@@ -905,6 +1024,8 @@ public Builder mergeMin(com.google.privacy.dlp.v2.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -924,6 +1045,8 @@ public Builder clearMin() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -932,11 +1055,13 @@ public Builder clearMin() {
        * .google.privacy.dlp.v2.Value min = 1;
        */
       public com.google.privacy.dlp.v2.Value.Builder getMinBuilder() {
-        
+
         onChanged();
         return getMinFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -948,11 +1073,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
         if (minBuilder_ != null) {
           return minBuilder_.getMessageOrBuilder();
         } else {
-          return min_ == null ?
-              com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_;
+          return min_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : min_;
         }
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -961,14 +1087,17 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
        * .google.privacy.dlp.v2.Value min = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> 
+              com.google.privacy.dlp.v2.Value,
+              com.google.privacy.dlp.v2.Value.Builder,
+              com.google.privacy.dlp.v2.ValueOrBuilder>
           getMinFieldBuilder() {
         if (minBuilder_ == null) {
-          minBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>(
-                  getMin(),
-                  getParentForChildren(),
-                  isClean());
+          minBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.Value,
+                  com.google.privacy.dlp.v2.Value.Builder,
+                  com.google.privacy.dlp.v2.ValueOrBuilder>(
+                  getMin(), getParentForChildren(), isClean());
           min_ = null;
         }
         return minBuilder_;
@@ -976,24 +1105,33 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMinOrBuilder() {
 
       private com.google.privacy.dlp.v2.Value max_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> maxBuilder_;
+              com.google.privacy.dlp.v2.Value,
+              com.google.privacy.dlp.v2.Value.Builder,
+              com.google.privacy.dlp.v2.ValueOrBuilder>
+          maxBuilder_;
       /**
+       *
+       *
        * 
        * Upper bound of the range, exclusive; type must match min.
        * 
* * .google.privacy.dlp.v2.Value max = 2; + * * @return Whether the max field is set. */ public boolean hasMax() { return maxBuilder_ != null || max_ != null; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
* * .google.privacy.dlp.v2.Value max = 2; + * * @return The max. */ public com.google.privacy.dlp.v2.Value getMax() { @@ -1004,6 +1142,8 @@ public com.google.privacy.dlp.v2.Value getMax() { } } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1024,14 +1164,15 @@ public Builder setMax(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
* * .google.privacy.dlp.v2.Value max = 2; */ - public Builder setMax( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setMax(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (maxBuilder_ == null) { max_ = builderForValue.build(); onChanged(); @@ -1042,6 +1183,8 @@ public Builder setMax( return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1051,8 +1194,7 @@ public Builder setMax( public Builder mergeMax(com.google.privacy.dlp.v2.Value value) { if (maxBuilder_ == null) { if (max_ != null) { - max_ = - com.google.privacy.dlp.v2.Value.newBuilder(max_).mergeFrom(value).buildPartial(); + max_ = com.google.privacy.dlp.v2.Value.newBuilder(max_).mergeFrom(value).buildPartial(); } else { max_ = value; } @@ -1064,6 +1206,8 @@ public Builder mergeMax(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1082,6 +1226,8 @@ public Builder clearMax() { return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1089,11 +1235,13 @@ public Builder clearMax() { * .google.privacy.dlp.v2.Value max = 2; */ public com.google.privacy.dlp.v2.Value.Builder getMaxBuilder() { - + onChanged(); return getMaxFieldBuilder().getBuilder(); } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1104,11 +1252,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { if (maxBuilder_ != null) { return maxBuilder_.getMessageOrBuilder(); } else { - return max_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_; + return max_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : max_; } } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1116,14 +1265,17 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { * .google.privacy.dlp.v2.Value max = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getMaxFieldBuilder() { if (maxBuilder_ == null) { - maxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getMax(), - getParentForChildren(), - isClean()); + maxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getMax(), getParentForChildren(), isClean()); max_ = null; } return maxBuilder_; @@ -1131,39 +1283,58 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getMaxOrBuilder() { private com.google.privacy.dlp.v2.Value replacementValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> replacementValueBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + replacementValueBuilder_; /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the replacementValue field is set. */ public boolean hasReplacementValue() { return replacementValueBuilder_ != null || replacementValue_ != null; } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The replacementValue. */ public com.google.privacy.dlp.v2.Value getReplacementValue() { if (replacementValueBuilder_ == null) { - return replacementValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : replacementValue_; + return replacementValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : replacementValue_; } else { return replacementValueBuilder_.getMessage(); } } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReplacementValue(com.google.privacy.dlp.v2.Value value) { if (replacementValueBuilder_ == null) { @@ -1179,14 +1350,17 @@ public Builder setReplacementValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setReplacementValue( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setReplacementValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (replacementValueBuilder_ == null) { replacementValue_ = builderForValue.build(); onChanged(); @@ -1197,17 +1371,23 @@ public Builder setReplacementValue( return this; } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeReplacementValue(com.google.privacy.dlp.v2.Value value) { if (replacementValueBuilder_ == null) { if (replacementValue_ != null) { replacementValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(replacementValue_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(replacementValue_) + .mergeFrom(value) + .buildPartial(); } else { replacementValue_ = value; } @@ -1219,11 +1399,15 @@ public Builder mergeReplacementValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearReplacementValue() { if (replacementValueBuilder_ == null) { @@ -1237,52 +1421,69 @@ public Builder clearReplacementValue() { return this; } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.Value.Builder getReplacementValueBuilder() { - + onChanged(); return getReplacementValueFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { if (replacementValueBuilder_ != null) { return replacementValueBuilder_.getMessageOrBuilder(); } else { - return replacementValue_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : replacementValue_; + return replacementValue_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : replacementValue_; } } /** + * + * *
        * Required. Replacement value for this bucket.
        * 
* - * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.Value replacement_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getReplacementValueFieldBuilder() { if (replacementValueBuilder_ == null) { - replacementValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getReplacementValue(), - getParentForChildren(), - isClean()); + replacementValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getReplacementValue(), getParentForChildren(), isClean()); replacementValue_ = null; } return replacementValueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1295,12 +1496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BucketingConfig.Bucket) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BucketingConfig.Bucket) private static final com.google.privacy.dlp.v2.BucketingConfig.Bucket DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BucketingConfig.Bucket(); } @@ -1309,16 +1510,16 @@ public static com.google.privacy.dlp.v2.BucketingConfig.Bucket getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Bucket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Bucket(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Bucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Bucket(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1333,12 +1534,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BucketingConfig.Bucket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BUCKETS_FIELD_NUMBER = 1; private java.util.List buckets_; /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1350,6 +1552,8 @@ public java.util.List getBucke return buckets_; } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1357,11 +1561,13 @@ public java.util.List getBucke * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBucketsOrBuilderList() { return buckets_; } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1373,6 +1579,8 @@ public int getBucketsCount() { return buckets_.size(); } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1384,6 +1592,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { return buckets_.get(index); } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1391,12 +1601,12 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder(int index) { return buckets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1408,8 +1618,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < buckets_.size(); i++) { output.writeMessage(1, buckets_.get(i)); } @@ -1423,8 +1632,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < buckets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, buckets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, buckets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1434,15 +1642,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.privacy.dlp.v2.BucketingConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.BucketingConfig other = (com.google.privacy.dlp.v2.BucketingConfig) obj; + com.google.privacy.dlp.v2.BucketingConfig other = + (com.google.privacy.dlp.v2.BucketingConfig) obj; - if (!getBucketsList() - .equals(other.getBucketsList())) return false; + if (!getBucketsList().equals(other.getBucketsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1463,97 +1671,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.BucketingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.BucketingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BucketingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.BucketingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.BucketingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Generalization function that buckets values based on ranges. The ranges and
    * replacement values are dynamically provided by the user for custom behavior,
@@ -1568,21 +1783,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.BucketingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.BucketingConfig)
       com.google.privacy.dlp.v2.BucketingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.BucketingConfig.class, com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
+              com.google.privacy.dlp.v2.BucketingConfig.class,
+              com.google.privacy.dlp.v2.BucketingConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.BucketingConfig.newBuilder()
@@ -1590,17 +1807,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getBucketsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1614,9 +1831,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1635,7 +1852,8 @@ public com.google.privacy.dlp.v2.BucketingConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.BucketingConfig buildPartial() {
-      com.google.privacy.dlp.v2.BucketingConfig result = new com.google.privacy.dlp.v2.BucketingConfig(this);
+      com.google.privacy.dlp.v2.BucketingConfig result =
+          new com.google.privacy.dlp.v2.BucketingConfig(this);
       int from_bitField0_ = bitField0_;
       if (bucketsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1654,38 +1872,39 @@ public com.google.privacy.dlp.v2.BucketingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.BucketingConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.BucketingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1712,9 +1931,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BucketingConfig other) {
             bucketsBuilder_ = null;
             buckets_ = other.buckets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            bucketsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getBucketsFieldBuilder() : null;
+            bucketsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getBucketsFieldBuilder()
+                    : null;
           } else {
             bucketsBuilder_.addAllMessages(other.buckets_);
           }
@@ -1748,21 +1968,29 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List buckets_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureBucketsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        buckets_ = new java.util.ArrayList(buckets_);
+        buckets_ =
+            new java.util.ArrayList(buckets_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.BucketingConfig.Bucket, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder> bucketsBuilder_;
+            com.google.privacy.dlp.v2.BucketingConfig.Bucket,
+            com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder,
+            com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder>
+        bucketsBuilder_;
 
     /**
+     *
+     *
      * 
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1777,6 +2005,8 @@ public java.util.List getBucke } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1791,6 +2021,8 @@ public int getBucketsCount() { } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1805,14 +2037,15 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public Builder setBuckets( - int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { + public Builder setBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1826,6 +2059,8 @@ public Builder setBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1844,6 +2079,8 @@ public Builder setBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1864,14 +2101,15 @@ public Builder addBuckets(com.google.privacy.dlp.v2.BucketingConfig.Bucket value return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public Builder addBuckets( - int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { + public Builder addBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.Bucket value) { if (bucketsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1885,6 +2123,8 @@ public Builder addBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1903,6 +2143,8 @@ public Builder addBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1921,6 +2163,8 @@ public Builder addBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1931,8 +2175,7 @@ public Builder addAllBuckets( java.lang.Iterable values) { if (bucketsBuilder_ == null) { ensureBucketsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, buckets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, buckets_); onChanged(); } else { bucketsBuilder_.addAllMessages(values); @@ -1940,6 +2183,8 @@ public Builder addAllBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1957,6 +2202,8 @@ public Builder clearBuckets() { return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1974,17 +2221,20 @@ public Builder removeBuckets(int index) { return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder getBucketsBuilder( - int index) { + public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder getBucketsBuilder(int index) { return getBucketsFieldBuilder().getBuilder(index); } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1994,19 +2244,22 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder getBucketsBuilde public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder( int index) { if (bucketsBuilder_ == null) { - return buckets_.get(index); } else { + return buckets_.get(index); + } else { return bucketsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public java.util.List - getBucketsOrBuilderList() { + public java.util.List + getBucketsOrBuilderList() { if (bucketsBuilder_ != null) { return bucketsBuilder_.getMessageOrBuilderList(); } else { @@ -2014,6 +2267,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBui } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2021,49 +2276,55 @@ public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBui * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder addBucketsBuilder() { - return getBucketsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); + return getBucketsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder addBucketsBuilder( - int index) { - return getBucketsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); + public com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder addBucketsBuilder(int index) { + return getBucketsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.BucketingConfig.Bucket.getDefaultInstance()); } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - public java.util.List - getBucketsBuilderList() { + public java.util.List + getBucketsBuilderList() { return getBucketsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig.Bucket, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder> + com.google.privacy.dlp.v2.BucketingConfig.Bucket, + com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, + com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder> getBucketsFieldBuilder() { if (bucketsBuilder_ == null) { - bucketsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig.Bucket, com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder>( - buckets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + bucketsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.BucketingConfig.Bucket, + com.google.privacy.dlp.v2.BucketingConfig.Bucket.Builder, + com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder>( + buckets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); buckets_ = null; } return bucketsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2073,12 +2334,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.BucketingConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BucketingConfig) private static final com.google.privacy.dlp.v2.BucketingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.BucketingConfig(); } @@ -2087,16 +2348,16 @@ public static com.google.privacy.dlp.v2.BucketingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BucketingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BucketingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BucketingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BucketingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2111,6 +2372,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.BucketingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java index 1a8650db..209bc3f2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BucketingConfigOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface BucketingConfigOrBuilder extends +public interface BucketingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BucketingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - java.util.List - getBucketsList(); + java.util.List getBucketsList(); /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -25,6 +44,8 @@ public interface BucketingConfigOrBuilder extends */ com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index); /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -33,21 +54,24 @@ public interface BucketingConfigOrBuilder extends */ int getBucketsCount(); /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - java.util.List + java.util.List getBucketsOrBuilderList(); /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
* * repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; */ - com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder( - int index); + com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java index 211974df..17948b5a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Container for bytes to inspect or redact.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ByteContentItem} */ -public final class ByteContentItem extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ByteContentItem extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ByteContentItem) ByteContentItemOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ByteContentItem.newBuilder() to construct. private ByteContentItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ByteContentItem() { type_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private ByteContentItem() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ByteContentItem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ByteContentItem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,50 +71,55 @@ private ByteContentItem( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 18: { + case 8: + { + int rawValue = input.readEnum(); - data_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + data_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ByteContentItem.class, com.google.privacy.dlp.v2.ByteContentItem.Builder.class); + com.google.privacy.dlp.v2.ByteContentItem.class, + com.google.privacy.dlp.v2.ByteContentItem.Builder.class); } /** + * + * *
    * The type of data being sent for inspection. To learn more, see
    * [Supported file
@@ -106,9 +128,10 @@ private ByteContentItem(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.ByteContentItem.BytesType}
    */
-  public enum BytesType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum BytesType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused
      * 
@@ -117,6 +140,8 @@ public enum BytesType */ BYTES_TYPE_UNSPECIFIED(0), /** + * + * *
      * Any image type.
      * 
@@ -125,6 +150,8 @@ public enum BytesType */ IMAGE(6), /** + * + * *
      * jpeg
      * 
@@ -133,6 +160,8 @@ public enum BytesType */ IMAGE_JPEG(1), /** + * + * *
      * bmp
      * 
@@ -141,6 +170,8 @@ public enum BytesType */ IMAGE_BMP(2), /** + * + * *
      * png
      * 
@@ -149,6 +180,8 @@ public enum BytesType */ IMAGE_PNG(3), /** + * + * *
      * svg
      * 
@@ -157,6 +190,8 @@ public enum BytesType */ IMAGE_SVG(4), /** + * + * *
      * plain text
      * 
@@ -165,6 +200,8 @@ public enum BytesType */ TEXT_UTF8(5), /** + * + * *
      * docx, docm, dotx, dotm
      * 
@@ -173,6 +210,8 @@ public enum BytesType */ WORD_DOCUMENT(7), /** + * + * *
      * pdf
      * 
@@ -181,6 +220,8 @@ public enum BytesType */ PDF(8), /** + * + * *
      * pptx, pptm, potx, potm, pot
      * 
@@ -189,6 +230,8 @@ public enum BytesType */ POWERPOINT_DOCUMENT(9), /** + * + * *
      * xlsx, xlsm, xltx, xltm
      * 
@@ -197,6 +240,8 @@ public enum BytesType */ EXCEL_DOCUMENT(10), /** + * + * *
      * avro
      * 
@@ -205,6 +250,8 @@ public enum BytesType */ AVRO(11), /** + * + * *
      * csv
      * 
@@ -213,6 +260,8 @@ public enum BytesType */ CSV(12), /** + * + * *
      * tsv
      * 
@@ -224,6 +273,8 @@ public enum BytesType ; /** + * + * *
      * Unused
      * 
@@ -232,6 +283,8 @@ public enum BytesType */ public static final int BYTES_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Any image type.
      * 
@@ -240,6 +293,8 @@ public enum BytesType */ public static final int IMAGE_VALUE = 6; /** + * + * *
      * jpeg
      * 
@@ -248,6 +303,8 @@ public enum BytesType */ public static final int IMAGE_JPEG_VALUE = 1; /** + * + * *
      * bmp
      * 
@@ -256,6 +313,8 @@ public enum BytesType */ public static final int IMAGE_BMP_VALUE = 2; /** + * + * *
      * png
      * 
@@ -264,6 +323,8 @@ public enum BytesType */ public static final int IMAGE_PNG_VALUE = 3; /** + * + * *
      * svg
      * 
@@ -272,6 +333,8 @@ public enum BytesType */ public static final int IMAGE_SVG_VALUE = 4; /** + * + * *
      * plain text
      * 
@@ -280,6 +343,8 @@ public enum BytesType */ public static final int TEXT_UTF8_VALUE = 5; /** + * + * *
      * docx, docm, dotx, dotm
      * 
@@ -288,6 +353,8 @@ public enum BytesType */ public static final int WORD_DOCUMENT_VALUE = 7; /** + * + * *
      * pdf
      * 
@@ -296,6 +363,8 @@ public enum BytesType */ public static final int PDF_VALUE = 8; /** + * + * *
      * pptx, pptm, potx, potm, pot
      * 
@@ -304,6 +373,8 @@ public enum BytesType */ public static final int POWERPOINT_DOCUMENT_VALUE = 9; /** + * + * *
      * xlsx, xlsm, xltx, xltm
      * 
@@ -312,6 +383,8 @@ public enum BytesType */ public static final int EXCEL_DOCUMENT_VALUE = 10; /** + * + * *
      * avro
      * 
@@ -320,6 +393,8 @@ public enum BytesType */ public static final int AVRO_VALUE = 11; /** + * + * *
      * csv
      * 
@@ -328,6 +403,8 @@ public enum BytesType */ public static final int CSV_VALUE = 12; /** + * + * *
      * tsv
      * 
@@ -336,7 +413,6 @@ public enum BytesType */ public static final int TSV_VALUE = 13; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -361,60 +437,71 @@ public static BytesType valueOf(int value) { */ public static BytesType forNumber(int value) { switch (value) { - case 0: return BYTES_TYPE_UNSPECIFIED; - case 6: return IMAGE; - case 1: return IMAGE_JPEG; - case 2: return IMAGE_BMP; - case 3: return IMAGE_PNG; - case 4: return IMAGE_SVG; - case 5: return TEXT_UTF8; - case 7: return WORD_DOCUMENT; - case 8: return PDF; - case 9: return POWERPOINT_DOCUMENT; - case 10: return EXCEL_DOCUMENT; - case 11: return AVRO; - case 12: return CSV; - case 13: return TSV; - default: return null; + case 0: + return BYTES_TYPE_UNSPECIFIED; + case 6: + return IMAGE; + case 1: + return IMAGE_JPEG; + case 2: + return IMAGE_BMP; + case 3: + return IMAGE_PNG; + case 4: + return IMAGE_SVG; + case 5: + return TEXT_UTF8; + case 7: + return WORD_DOCUMENT; + case 8: + return PDF; + case 9: + return POWERPOINT_DOCUMENT; + case 10: + return EXCEL_DOCUMENT; + case 11: + return AVRO; + case 12: + return CSV; + case 13: + return TSV; + 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< - BytesType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BytesType findValueByNumber(int number) { - return BytesType.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 BytesType findValueByNumber(int number) { + return BytesType.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.privacy.dlp.v2.ByteContentItem.getDescriptor().getEnumTypes().get(0); } private static final BytesType[] VALUES = values(); - public static BytesType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BytesType 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; @@ -434,38 +521,52 @@ private BytesType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() { + @java.lang.Override + public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ByteContentItem.BytesType result = com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); - return result == null ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.ByteContentItem.BytesType result = + com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); + return result == null + ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED + : result; } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** + * + * *
    * Content data to inspect or redact.
    * 
* * bytes data = 2; + * * @return The data. */ @java.lang.Override @@ -474,6 +575,7 @@ public com.google.protobuf.ByteString getData() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -485,9 +587,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!data_.isEmpty()) { @@ -502,13 +604,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.privacy.dlp.v2.ByteContentItem.BytesType.BYTES_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!data_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, data_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, data_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -518,16 +619,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.privacy.dlp.v2.ByteContentItem)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ByteContentItem other = (com.google.privacy.dlp.v2.ByteContentItem) obj; + com.google.privacy.dlp.v2.ByteContentItem other = + (com.google.privacy.dlp.v2.ByteContentItem) obj; if (type_ != other.type_) return false; - if (!getData() - .equals(other.getData())) return false; + if (!getData().equals(other.getData())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -548,118 +649,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ByteContentItem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ByteContentItem parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ByteContentItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ByteContentItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ByteContentItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Container for bytes to inspect or redact.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ByteContentItem} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ByteContentItem) com.google.privacy.dlp.v2.ByteContentItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ByteContentItem.class, com.google.privacy.dlp.v2.ByteContentItem.Builder.class); + com.google.privacy.dlp.v2.ByteContentItem.class, + com.google.privacy.dlp.v2.ByteContentItem.Builder.class); } // Construct using com.google.privacy.dlp.v2.ByteContentItem.newBuilder() @@ -667,16 +777,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -688,9 +797,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; } @java.lang.Override @@ -709,7 +818,8 @@ public com.google.privacy.dlp.v2.ByteContentItem build() { @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem buildPartial() { - com.google.privacy.dlp.v2.ByteContentItem result = new com.google.privacy.dlp.v2.ByteContentItem(this); + com.google.privacy.dlp.v2.ByteContentItem result = + new com.google.privacy.dlp.v2.ByteContentItem(this); result.type_ = type_; result.data_ = data_; onBuilt(); @@ -720,38 +830,39 @@ public com.google.privacy.dlp.v2.ByteContentItem buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ByteContentItem) { - return mergeFrom((com.google.privacy.dlp.v2.ByteContentItem)other); + return mergeFrom((com.google.privacy.dlp.v2.ByteContentItem) other); } else { super.mergeFrom(other); return this; @@ -797,51 +908,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem.BytesType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ByteContentItem.BytesType result = com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); - return result == null ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.ByteContentItem.BytesType result = + com.google.privacy.dlp.v2.ByteContentItem.BytesType.valueOf(type_); + return result == null + ? com.google.privacy.dlp.v2.ByteContentItem.BytesType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -849,21 +976,24 @@ public Builder setType(com.google.privacy.dlp.v2.ByteContentItem.BytesType value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of data stored in the bytes string. Default will be TEXT_UTF8.
      * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -871,11 +1001,14 @@ public Builder clearType() { private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Content data to inspect or redact.
      * 
* * bytes data = 2; + * * @return The data. */ @java.lang.Override @@ -883,40 +1016,46 @@ public com.google.protobuf.ByteString getData() { return data_; } /** + * + * *
      * Content data to inspect or redact.
      * 
* * bytes data = 2; + * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** + * + * *
      * Content data to inspect or redact.
      * 
* * bytes data = 2; + * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -926,12 +1065,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ByteContentItem) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ByteContentItem) private static final com.google.privacy.dlp.v2.ByteContentItem DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ByteContentItem(); } @@ -940,16 +1079,16 @@ public static com.google.privacy.dlp.v2.ByteContentItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ByteContentItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ByteContentItem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ByteContentItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ByteContentItem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,6 +1103,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ByteContentItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java similarity index 59% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java index f5da115d..f5b044e9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItemOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ByteContentItemOrBuilder extends +public interface ByteContentItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ByteContentItem) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of data stored in the bytes string. Default will be TEXT_UTF8.
    * 
* * .google.privacy.dlp.v2.ByteContentItem.BytesType type = 1; + * * @return The type. */ com.google.privacy.dlp.v2.ByteContentItem.BytesType getType(); /** + * + * *
    * Content data to inspect or redact.
    * 
* * bytes data = 2; + * * @return The data. */ com.google.protobuf.ByteString getData(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java index 0aa87112..ec87586a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The request message for canceling a DLP job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CancelDlpJobRequest} */ -public final class CancelDlpJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CancelDlpJobRequest) CancelDlpJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelDlpJobRequest.newBuilder() to construct. private CancelDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private CancelDlpJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CancelDlpJobRequest.class, com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.CancelDlpJobRequest.class, + com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * 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 @@ -107,29 +132,31 @@ 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 DlpJob resource to be cancelled.
    * 
* - * 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 { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CancelDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CancelDlpJobRequest other = (com.google.privacy.dlp.v2.CancelDlpJobRequest) obj; + com.google.privacy.dlp.v2.CancelDlpJobRequest other = + (com.google.privacy.dlp.v2.CancelDlpJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -201,118 +228,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CancelDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CancelDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 canceling a DLP job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CancelDlpJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CancelDlpJobRequest) com.google.privacy.dlp.v2.CancelDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CancelDlpJobRequest.class, com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.CancelDlpJobRequest.class, + com.google.privacy.dlp.v2.CancelDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CancelDlpJobRequest.newBuilder() @@ -320,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; } @java.lang.Override @@ -360,7 +395,8 @@ public com.google.privacy.dlp.v2.CancelDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CancelDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.CancelDlpJobRequest result = new com.google.privacy.dlp.v2.CancelDlpJobRequest(this); + com.google.privacy.dlp.v2.CancelDlpJobRequest result = + new com.google.privacy.dlp.v2.CancelDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +406,39 @@ public com.google.privacy.dlp.v2.CancelDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CancelDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CancelDlpJobRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.CancelDlpJobRequest) other); } else { super.mergeFrom(other); return this; @@ -445,18 +482,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * 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; @@ -465,20 +506,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * 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 { @@ -486,61 +530,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CancelDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CancelDlpJobRequest) private static final com.google.privacy.dlp.v2.CancelDlpJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CancelDlpJobRequest(); } @@ -564,16 +621,16 @@ public static com.google.privacy.dlp.v2.CancelDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CancelDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..6e13a83f --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface CancelDlpJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CancelDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java index fb4f04f9..745ab820 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Partially mask a string by replacing a given number of characters with a
  * fixed character. Masking can start from the beginning or end of the string.
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CharacterMaskConfig}
  */
-public final class CharacterMaskConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CharacterMaskConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CharacterMaskConfig)
     CharacterMaskConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CharacterMaskConfig.newBuilder() to construct.
   private CharacterMaskConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CharacterMaskConfig() {
     maskingCharacter_ = "";
     charactersToIgnore_ = java.util.Collections.emptyList();
@@ -31,16 +49,15 @@ private CharacterMaskConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CharacterMaskConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CharacterMaskConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,45 +77,48 @@ private CharacterMaskConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            maskingCharacter_ = s;
-            break;
-          }
-          case 16: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            numberToMask_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            reverseOrder_ = input.readBool();
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              charactersToIgnore_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              maskingCharacter_ = s;
+              break;
             }
-            charactersToIgnore_.add(
-                input.readMessage(com.google.privacy.dlp.v2.CharsToIgnore.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 16:
+            {
+              numberToMask_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              reverseOrder_ = input.readBool();
+              break;
+            }
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                charactersToIgnore_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              charactersToIgnore_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CharsToIgnore.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         charactersToIgnore_ = java.util.Collections.unmodifiableList(charactersToIgnore_);
@@ -107,22 +127,27 @@ private CharacterMaskConfig(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CharacterMaskConfig.class, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
+            com.google.privacy.dlp.v2.CharacterMaskConfig.class,
+            com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
   }
 
   public static final int MASKING_CHARACTER_FIELD_NUMBER = 1;
   private volatile java.lang.Object maskingCharacter_;
   /**
+   *
+   *
    * 
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -131,6 +156,7 @@ private CharacterMaskConfig(
    * 
* * string masking_character = 1; + * * @return The maskingCharacter. */ @java.lang.Override @@ -139,14 +165,15 @@ public java.lang.String getMaskingCharacter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maskingCharacter_ = s; return s; } } /** + * + * *
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -155,16 +182,15 @@ public java.lang.String getMaskingCharacter() {
    * 
* * string masking_character = 1; + * * @return The bytes for maskingCharacter. */ @java.lang.Override - public com.google.protobuf.ByteString - getMaskingCharacterBytes() { + public com.google.protobuf.ByteString getMaskingCharacterBytes() { java.lang.Object ref = maskingCharacter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); maskingCharacter_ = b; return b; } else { @@ -175,12 +201,15 @@ public java.lang.String getMaskingCharacter() { public static final int NUMBER_TO_MASK_FIELD_NUMBER = 2; private int numberToMask_; /** + * + * *
    * Number of characters to mask. If not set, all matching chars will be
    * masked. Skipped characters do not count towards this tally.
    * 
* * int32 number_to_mask = 2; + * * @return The numberToMask. */ @java.lang.Override @@ -191,6 +220,8 @@ public int getNumberToMask() { public static final int REVERSE_ORDER_FIELD_NUMBER = 3; private boolean reverseOrder_; /** + * + * *
    * Mask characters in reverse order. For example, if `masking_character` is
    * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -200,6 +231,7 @@ public int getNumberToMask() {
    * 
* * bool reverse_order = 3; + * * @return The reverseOrder. */ @java.lang.Override @@ -210,6 +242,8 @@ public boolean getReverseOrder() { public static final int CHARACTERS_TO_IGNORE_FIELD_NUMBER = 4; private java.util.List charactersToIgnore_; /** + * + * *
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -224,6 +258,8 @@ public java.util.List getCharactersToIg
     return charactersToIgnore_;
   }
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -234,11 +270,13 @@ public java.util.List getCharactersToIg
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCharactersToIgnoreOrBuilderList() {
     return charactersToIgnore_;
   }
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -253,6 +291,8 @@ public int getCharactersToIgnoreCount() {
     return charactersToIgnore_.size();
   }
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -267,6 +307,8 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index)
     return charactersToIgnore_.get(index);
   }
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -283,6 +325,7 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -294,8 +337,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maskingCharacter_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, maskingCharacter_);
     }
@@ -321,16 +363,14 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, maskingCharacter_);
     }
     if (numberToMask_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, numberToMask_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, numberToMask_);
     }
     if (reverseOrder_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(3, reverseOrder_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, reverseOrder_);
     }
     for (int i = 0; i < charactersToIgnore_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, charactersToIgnore_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(4, charactersToIgnore_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -340,21 +380,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.privacy.dlp.v2.CharacterMaskConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.CharacterMaskConfig other = (com.google.privacy.dlp.v2.CharacterMaskConfig) obj;
+    com.google.privacy.dlp.v2.CharacterMaskConfig other =
+        (com.google.privacy.dlp.v2.CharacterMaskConfig) obj;
 
-    if (!getMaskingCharacter()
-        .equals(other.getMaskingCharacter())) return false;
-    if (getNumberToMask()
-        != other.getNumberToMask()) return false;
-    if (getReverseOrder()
-        != other.getReverseOrder()) return false;
-    if (!getCharactersToIgnoreList()
-        .equals(other.getCharactersToIgnoreList())) return false;
+    if (!getMaskingCharacter().equals(other.getMaskingCharacter())) return false;
+    if (getNumberToMask() != other.getNumberToMask()) return false;
+    if (getReverseOrder() != other.getReverseOrder()) return false;
+    if (!getCharactersToIgnoreList().equals(other.getCharactersToIgnoreList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -371,8 +408,7 @@ public int hashCode() {
     hash = (37 * hash) + NUMBER_TO_MASK_FIELD_NUMBER;
     hash = (53 * hash) + getNumberToMask();
     hash = (37 * hash) + REVERSE_ORDER_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getReverseOrder());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverseOrder());
     if (getCharactersToIgnoreCount() > 0) {
       hash = (37 * hash) + CHARACTERS_TO_IGNORE_FIELD_NUMBER;
       hash = (53 * hash) + getCharactersToIgnoreList().hashCode();
@@ -382,97 +418,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.CharacterMaskConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CharacterMaskConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.CharacterMaskConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Partially mask a string by replacing a given number of characters with a
    * fixed character. Masking can start from the beginning or end of the string.
@@ -484,21 +527,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CharacterMaskConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CharacterMaskConfig)
       com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CharacterMaskConfig.class, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
+              com.google.privacy.dlp.v2.CharacterMaskConfig.class,
+              com.google.privacy.dlp.v2.CharacterMaskConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CharacterMaskConfig.newBuilder()
@@ -506,17 +551,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getCharactersToIgnoreFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -536,9 +581,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor;
     }
 
     @java.lang.Override
@@ -557,7 +602,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CharacterMaskConfig buildPartial() {
-      com.google.privacy.dlp.v2.CharacterMaskConfig result = new com.google.privacy.dlp.v2.CharacterMaskConfig(this);
+      com.google.privacy.dlp.v2.CharacterMaskConfig result =
+          new com.google.privacy.dlp.v2.CharacterMaskConfig(this);
       int from_bitField0_ = bitField0_;
       result.maskingCharacter_ = maskingCharacter_;
       result.numberToMask_ = numberToMask_;
@@ -579,38 +625,39 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CharacterMaskConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CharacterMaskConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CharacterMaskConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -647,9 +694,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CharacterMaskConfig other) {
             charactersToIgnoreBuilder_ = null;
             charactersToIgnore_ = other.charactersToIgnore_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            charactersToIgnoreBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCharactersToIgnoreFieldBuilder() : null;
+            charactersToIgnoreBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCharactersToIgnoreFieldBuilder()
+                    : null;
           } else {
             charactersToIgnoreBuilder_.addAllMessages(other.charactersToIgnore_);
           }
@@ -683,10 +731,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object maskingCharacter_ = "";
     /**
+     *
+     *
      * 
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -695,13 +746,13 @@ public Builder mergeFrom(
      * 
* * string masking_character = 1; + * * @return The maskingCharacter. */ public java.lang.String getMaskingCharacter() { java.lang.Object ref = maskingCharacter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); maskingCharacter_ = s; return s; @@ -710,6 +761,8 @@ public java.lang.String getMaskingCharacter() { } } /** + * + * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -718,15 +771,14 @@ public java.lang.String getMaskingCharacter() {
      * 
* * string masking_character = 1; + * * @return The bytes for maskingCharacter. */ - public com.google.protobuf.ByteString - getMaskingCharacterBytes() { + public com.google.protobuf.ByteString getMaskingCharacterBytes() { java.lang.Object ref = maskingCharacter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); maskingCharacter_ = b; return b; } else { @@ -734,6 +786,8 @@ public java.lang.String getMaskingCharacter() { } } /** + * + * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -742,20 +796,22 @@ public java.lang.String getMaskingCharacter() {
      * 
* * string masking_character = 1; + * * @param value The maskingCharacter to set. * @return This builder for chaining. */ - public Builder setMaskingCharacter( - java.lang.String value) { + public Builder setMaskingCharacter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + maskingCharacter_ = value; onChanged(); return this; } /** + * + * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -764,15 +820,18 @@ public Builder setMaskingCharacter(
      * 
* * string masking_character = 1; + * * @return This builder for chaining. */ public Builder clearMaskingCharacter() { - + maskingCharacter_ = getDefaultInstance().getMaskingCharacter(); onChanged(); return this; } /** + * + * *
      * Character to use to mask the sensitive values&mdash;for example, `*` for an
      * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -781,29 +840,32 @@ public Builder clearMaskingCharacter() {
      * 
* * string masking_character = 1; + * * @param value The bytes for maskingCharacter to set. * @return This builder for chaining. */ - public Builder setMaskingCharacterBytes( - com.google.protobuf.ByteString value) { + public Builder setMaskingCharacterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + maskingCharacter_ = value; onChanged(); return this; } - private int numberToMask_ ; + private int numberToMask_; /** + * + * *
      * Number of characters to mask. If not set, all matching chars will be
      * masked. Skipped characters do not count towards this tally.
      * 
* * int32 number_to_mask = 2; + * * @return The numberToMask. */ @java.lang.Override @@ -811,39 +873,47 @@ public int getNumberToMask() { return numberToMask_; } /** + * + * *
      * Number of characters to mask. If not set, all matching chars will be
      * masked. Skipped characters do not count towards this tally.
      * 
* * int32 number_to_mask = 2; + * * @param value The numberToMask to set. * @return This builder for chaining. */ public Builder setNumberToMask(int value) { - + numberToMask_ = value; onChanged(); return this; } /** + * + * *
      * Number of characters to mask. If not set, all matching chars will be
      * masked. Skipped characters do not count towards this tally.
      * 
* * int32 number_to_mask = 2; + * * @return This builder for chaining. */ public Builder clearNumberToMask() { - + numberToMask_ = 0; onChanged(); return this; } - private boolean reverseOrder_ ; + private boolean reverseOrder_; /** + * + * *
      * Mask characters in reverse order. For example, if `masking_character` is
      * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -853,6 +923,7 @@ public Builder clearNumberToMask() {
      * 
* * bool reverse_order = 3; + * * @return The reverseOrder. */ @java.lang.Override @@ -860,6 +931,8 @@ public boolean getReverseOrder() { return reverseOrder_; } /** + * + * *
      * Mask characters in reverse order. For example, if `masking_character` is
      * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -869,16 +942,19 @@ public boolean getReverseOrder() {
      * 
* * bool reverse_order = 3; + * * @param value The reverseOrder to set. * @return This builder for chaining. */ public Builder setReverseOrder(boolean value) { - + reverseOrder_ = value; onChanged(); return this; } /** + * + * *
      * Mask characters in reverse order. For example, if `masking_character` is
      * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -888,28 +964,36 @@ public Builder setReverseOrder(boolean value) {
      * 
* * bool reverse_order = 3; + * * @return This builder for chaining. */ public Builder clearReverseOrder() { - + reverseOrder_ = false; onChanged(); return this; } private java.util.List charactersToIgnore_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCharactersToIgnoreIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - charactersToIgnore_ = new java.util.ArrayList(charactersToIgnore_); + charactersToIgnore_ = + new java.util.ArrayList(charactersToIgnore_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CharsToIgnore, com.google.privacy.dlp.v2.CharsToIgnore.Builder, com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder> charactersToIgnoreBuilder_; + com.google.privacy.dlp.v2.CharsToIgnore, + com.google.privacy.dlp.v2.CharsToIgnore.Builder, + com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder> + charactersToIgnoreBuilder_; /** + * + * *
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -927,6 +1011,8 @@ public java.util.List getCharactersToIg
       }
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -944,6 +1030,8 @@ public int getCharactersToIgnoreCount() {
       }
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -961,6 +1049,8 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index)
       }
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -970,8 +1060,7 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index)
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public Builder setCharactersToIgnore(
-        int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
+    public Builder setCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
       if (charactersToIgnoreBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -985,6 +1074,8 @@ public Builder setCharactersToIgnore(
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1006,6 +1097,8 @@ public Builder setCharactersToIgnore(
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1029,6 +1122,8 @@ public Builder addCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore val
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1038,8 +1133,7 @@ public Builder addCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore val
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public Builder addCharactersToIgnore(
-        int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
+    public Builder addCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsToIgnore value) {
       if (charactersToIgnoreBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1053,6 +1147,8 @@ public Builder addCharactersToIgnore(
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1074,6 +1170,8 @@ public Builder addCharactersToIgnore(
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1095,6 +1193,8 @@ public Builder addCharactersToIgnore(
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1108,8 +1208,7 @@ public Builder addAllCharactersToIgnore(
         java.lang.Iterable values) {
       if (charactersToIgnoreBuilder_ == null) {
         ensureCharactersToIgnoreIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, charactersToIgnore_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, charactersToIgnore_);
         onChanged();
       } else {
         charactersToIgnoreBuilder_.addAllMessages(values);
@@ -1117,6 +1216,8 @@ public Builder addAllCharactersToIgnore(
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1137,6 +1238,8 @@ public Builder clearCharactersToIgnore() {
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1157,6 +1260,8 @@ public Builder removeCharactersToIgnore(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1166,11 +1271,12 @@ public Builder removeCharactersToIgnore(int index) {
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuilder(int index) {
       return getCharactersToIgnoreFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1183,11 +1289,14 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuil
     public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(
         int index) {
       if (charactersToIgnoreBuilder_ == null) {
-        return charactersToIgnore_.get(index);  } else {
+        return charactersToIgnore_.get(index);
+      } else {
         return charactersToIgnoreBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1197,8 +1306,8 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public java.util.List 
-         getCharactersToIgnoreOrBuilderList() {
+    public java.util.List
+        getCharactersToIgnoreOrBuilderList() {
       if (charactersToIgnoreBuilder_ != null) {
         return charactersToIgnoreBuilder_.getMessageOrBuilderList();
       } else {
@@ -1206,6 +1315,8 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
       }
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1216,10 +1327,12 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
     public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuilder() {
-      return getCharactersToIgnoreFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
+      return getCharactersToIgnoreFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1229,12 +1342,13 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuilder(
-        int index) {
-      return getCharactersToIgnoreFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
+    public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuilder(int index) {
+      return getCharactersToIgnoreFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * When masking a string, items in this list will be skipped when replacing
      * characters. For example, if the input string is `555-555-5555` and you
@@ -1244,16 +1358,22 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
      *
      * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
      */
-    public java.util.List 
-         getCharactersToIgnoreBuilderList() {
+    public java.util.List
+        getCharactersToIgnoreBuilderList() {
       return getCharactersToIgnoreFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.CharsToIgnore, com.google.privacy.dlp.v2.CharsToIgnore.Builder, com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder> 
+            com.google.privacy.dlp.v2.CharsToIgnore,
+            com.google.privacy.dlp.v2.CharsToIgnore.Builder,
+            com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>
         getCharactersToIgnoreFieldBuilder() {
       if (charactersToIgnoreBuilder_ == null) {
-        charactersToIgnoreBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.CharsToIgnore, com.google.privacy.dlp.v2.CharsToIgnore.Builder, com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>(
+        charactersToIgnoreBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.CharsToIgnore,
+                com.google.privacy.dlp.v2.CharsToIgnore.Builder,
+                com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder>(
                 charactersToIgnore_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1262,9 +1382,9 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil
       }
       return charactersToIgnoreBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1274,12 +1394,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CharacterMaskConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CharacterMaskConfig)
   private static final com.google.privacy.dlp.v2.CharacterMaskConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CharacterMaskConfig();
   }
@@ -1288,16 +1408,16 @@ public static com.google.privacy.dlp.v2.CharacterMaskConfig getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CharacterMaskConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new CharacterMaskConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CharacterMaskConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new CharacterMaskConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1312,6 +1432,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.CharacterMaskConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
index c806f92c..3a3f668d 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface CharacterMaskConfigOrBuilder extends
+public interface CharacterMaskConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharacterMaskConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -16,10 +34,13 @@ public interface CharacterMaskConfigOrBuilder extends
    * 
* * string masking_character = 1; + * * @return The maskingCharacter. */ java.lang.String getMaskingCharacter(); /** + * + * *
    * Character to use to mask the sensitive values&mdash;for example, `*` for an
    * alphabetic string such as a name, or `0` for a numeric string such as ZIP
@@ -28,23 +49,28 @@ public interface CharacterMaskConfigOrBuilder extends
    * 
* * string masking_character = 1; + * * @return The bytes for maskingCharacter. */ - com.google.protobuf.ByteString - getMaskingCharacterBytes(); + com.google.protobuf.ByteString getMaskingCharacterBytes(); /** + * + * *
    * Number of characters to mask. If not set, all matching chars will be
    * masked. Skipped characters do not count towards this tally.
    * 
* * int32 number_to_mask = 2; + * * @return The numberToMask. */ int getNumberToMask(); /** + * + * *
    * Mask characters in reverse order. For example, if `masking_character` is
    * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
@@ -54,11 +80,14 @@ public interface CharacterMaskConfigOrBuilder extends
    * 
* * bool reverse_order = 3; + * * @return The reverseOrder. */ boolean getReverseOrder(); /** + * + * *
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -68,9 +97,10 @@ public interface CharacterMaskConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
-  java.util.List 
-      getCharactersToIgnoreList();
+  java.util.List getCharactersToIgnoreList();
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -82,6 +112,8 @@ public interface CharacterMaskConfigOrBuilder extends
    */
   com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index);
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -93,6 +125,8 @@ public interface CharacterMaskConfigOrBuilder extends
    */
   int getCharactersToIgnoreCount();
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -102,9 +136,11 @@ public interface CharacterMaskConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
-  java.util.List 
+  java.util.List
       getCharactersToIgnoreOrBuilderList();
   /**
+   *
+   *
    * 
    * When masking a string, items in this list will be skipped when replacing
    * characters. For example, if the input string is `555-555-5555` and you
@@ -114,6 +150,5 @@ public interface CharacterMaskConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
    */
-  com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
index 895e7cb4..9c63b0c8 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Characters to skip when doing deidentification of a value. These will be left
  * alone and skipped.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CharsToIgnore}
  */
-public final class CharsToIgnore extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CharsToIgnore extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CharsToIgnore)
     CharsToIgnoreOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CharsToIgnore.newBuilder() to construct.
   private CharsToIgnore(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CharsToIgnore() {
-  }
+
+  private CharsToIgnore() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CharsToIgnore();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CharsToIgnore(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,60 +69,67 @@ private CharsToIgnore(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-            charactersCase_ = 1;
-            characters_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-            charactersCase_ = 2;
-            characters_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              charactersCase_ = 1;
+              characters_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
+              charactersCase_ = 2;
+              characters_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CharsToIgnore.class, com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
+            com.google.privacy.dlp.v2.CharsToIgnore.class,
+            com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Convenience enum for indication common characters to not transform.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore} */ - public enum CommonCharsToIgnore - implements com.google.protobuf.ProtocolMessageEnum { + public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -115,6 +138,8 @@ public enum CommonCharsToIgnore */ COMMON_CHARS_TO_IGNORE_UNSPECIFIED(0), /** + * + * *
      * 0-9
      * 
@@ -123,6 +148,8 @@ public enum CommonCharsToIgnore */ NUMERIC(1), /** + * + * *
      * A-Z
      * 
@@ -131,6 +158,8 @@ public enum CommonCharsToIgnore */ ALPHA_UPPER_CASE(2), /** + * + * *
      * a-z
      * 
@@ -139,6 +168,8 @@ public enum CommonCharsToIgnore */ ALPHA_LOWER_CASE(3), /** + * + * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -147,6 +178,8 @@ public enum CommonCharsToIgnore */ PUNCTUATION(4), /** + * + * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -158,6 +191,8 @@ public enum CommonCharsToIgnore ; /** + * + * *
      * Unused.
      * 
@@ -166,6 +201,8 @@ public enum CommonCharsToIgnore */ public static final int COMMON_CHARS_TO_IGNORE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 0-9
      * 
@@ -174,6 +211,8 @@ public enum CommonCharsToIgnore */ public static final int NUMERIC_VALUE = 1; /** + * + * *
      * A-Z
      * 
@@ -182,6 +221,8 @@ public enum CommonCharsToIgnore */ public static final int ALPHA_UPPER_CASE_VALUE = 2; /** + * + * *
      * a-z
      * 
@@ -190,6 +231,8 @@ public enum CommonCharsToIgnore */ public static final int ALPHA_LOWER_CASE_VALUE = 3; /** + * + * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -198,6 +241,8 @@ public enum CommonCharsToIgnore */ public static final int PUNCTUATION_VALUE = 4; /** + * + * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -206,7 +251,6 @@ public enum CommonCharsToIgnore */ public static final int WHITESPACE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -231,13 +275,20 @@ public static CommonCharsToIgnore valueOf(int value) { */ public static CommonCharsToIgnore forNumber(int value) { switch (value) { - case 0: return COMMON_CHARS_TO_IGNORE_UNSPECIFIED; - case 1: return NUMERIC; - case 2: return ALPHA_UPPER_CASE; - case 3: return ALPHA_LOWER_CASE; - case 4: return PUNCTUATION; - case 5: return WHITESPACE; - default: return null; + case 0: + return COMMON_CHARS_TO_IGNORE_UNSPECIFIED; + case 1: + return NUMERIC; + case 2: + return ALPHA_UPPER_CASE; + case 3: + return ALPHA_LOWER_CASE; + case 4: + return PUNCTUATION; + case 5: + return WHITESPACE; + default: + return null; } } @@ -245,28 +296,28 @@ public static CommonCharsToIgnore forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CommonCharsToIgnore> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommonCharsToIgnore findValueByNumber(int number) { - return CommonCharsToIgnore.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 CommonCharsToIgnore findValueByNumber(int number) { + return CommonCharsToIgnore.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.privacy.dlp.v2.CharsToIgnore.getDescriptor().getEnumTypes().get(0); } @@ -275,8 +326,7 @@ public CommonCharsToIgnore findValueByNumber(int number) { public static CommonCharsToIgnore valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -295,13 +345,16 @@ private CommonCharsToIgnore(int value) { private int charactersCase_ = 0; private java.lang.Object characters_; + public enum CharactersCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CHARACTERS_TO_SKIP(1), COMMON_CHARACTERS_TO_IGNORE(2), CHARACTERS_NOT_SET(0); private final int value; + private CharactersCase(int value) { this.value = value; } @@ -317,41 +370,50 @@ public static CharactersCase valueOf(int value) { public static CharactersCase forNumber(int value) { switch (value) { - case 1: return CHARACTERS_TO_SKIP; - case 2: return COMMON_CHARACTERS_TO_IGNORE; - case 0: return CHARACTERS_NOT_SET; - default: return null; + case 1: + return CHARACTERS_TO_SKIP; + case 2: + return COMMON_CHARACTERS_TO_IGNORE; + case 0: + return CHARACTERS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public CharactersCase - getCharactersCase() { - return CharactersCase.forNumber( - charactersCase_); + public CharactersCase getCharactersCase() { + return CharactersCase.forNumber(charactersCase_); } public static final int CHARACTERS_TO_SKIP_FIELD_NUMBER = 1; /** + * + * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; + * * @return Whether the charactersToSkip field is set. */ public boolean hasCharactersToSkip() { return charactersCase_ == 1; } /** + * + * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; + * * @return The charactersToSkip. */ public java.lang.String getCharactersToSkip() { @@ -362,8 +424,7 @@ public java.lang.String getCharactersToSkip() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (charactersCase_ == 1) { characters_ = s; @@ -372,23 +433,24 @@ public java.lang.String getCharactersToSkip() { } } /** + * + * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; + * * @return The bytes for charactersToSkip. */ - public com.google.protobuf.ByteString - getCharactersToSkipBytes() { + public com.google.protobuf.ByteString getCharactersToSkipBytes() { java.lang.Object ref = ""; if (charactersCase_ == 1) { ref = characters_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (charactersCase_ == 1) { characters_ = b; } @@ -400,24 +462,32 @@ public java.lang.String getCharactersToSkip() { public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER = 2; /** + * + * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return Whether the commonCharactersToIgnore field is set. */ public boolean hasCommonCharactersToIgnore() { return charactersCase_ == 2; } /** + * + * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return The enum numeric value on the wire for commonCharactersToIgnore. */ public int getCommonCharactersToIgnoreValue() { @@ -427,25 +497,34 @@ public int getCommonCharactersToIgnoreValue() { return 0; } /** + * + * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return The commonCharactersToIgnore. */ public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore() { if (charactersCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( - (java.lang.Integer) characters_); - return result == null ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED : result; - } - return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED; + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( + (java.lang.Integer) characters_); + return result == null + ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED + : result; + } + return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore + .COMMON_CHARS_TO_IGNORE_UNSPECIFIED; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -457,8 +536,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (charactersCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, characters_); } @@ -478,8 +556,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, characters_); } if (charactersCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) characters_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, ((java.lang.Integer) characters_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -489,7 +568,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.privacy.dlp.v2.CharsToIgnore)) { return super.equals(obj); @@ -499,12 +578,11 @@ public boolean equals(final java.lang.Object obj) { if (!getCharactersCase().equals(other.getCharactersCase())) return false; switch (charactersCase_) { case 1: - if (!getCharactersToSkip() - .equals(other.getCharactersToSkip())) return false; + if (!getCharactersToSkip().equals(other.getCharactersToSkip())) return false; break; case 2: - if (getCommonCharactersToIgnoreValue() - != other.getCommonCharactersToIgnoreValue()) return false; + if (getCommonCharactersToIgnoreValue() != other.getCommonCharactersToIgnoreValue()) + return false; break; case 0: default: @@ -537,97 +615,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CharsToIgnore parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CharsToIgnore parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CharsToIgnore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CharsToIgnore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Characters to skip when doing deidentification of a value. These will be left
    * alone and skipped.
@@ -635,21 +720,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CharsToIgnore}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CharsToIgnore)
       com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CharsToIgnore.class, com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
+              com.google.privacy.dlp.v2.CharsToIgnore.class,
+              com.google.privacy.dlp.v2.CharsToIgnore.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CharsToIgnore.newBuilder()
@@ -657,16 +744,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -676,9 +762,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor;
     }
 
     @java.lang.Override
@@ -697,7 +783,8 @@ public com.google.privacy.dlp.v2.CharsToIgnore build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CharsToIgnore buildPartial() {
-      com.google.privacy.dlp.v2.CharsToIgnore result = new com.google.privacy.dlp.v2.CharsToIgnore(this);
+      com.google.privacy.dlp.v2.CharsToIgnore result =
+          new com.google.privacy.dlp.v2.CharsToIgnore(this);
       if (charactersCase_ == 1) {
         result.characters_ = characters_;
       }
@@ -713,38 +800,39 @@ public com.google.privacy.dlp.v2.CharsToIgnore buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CharsToIgnore) {
-        return mergeFrom((com.google.privacy.dlp.v2.CharsToIgnore)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CharsToIgnore) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -754,19 +842,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.CharsToIgnore other) {
       if (other == com.google.privacy.dlp.v2.CharsToIgnore.getDefaultInstance()) return this;
       switch (other.getCharactersCase()) {
-        case CHARACTERS_TO_SKIP: {
-          charactersCase_ = 1;
-          characters_ = other.characters_;
-          onChanged();
-          break;
-        }
-        case COMMON_CHARACTERS_TO_IGNORE: {
-          setCommonCharactersToIgnoreValue(other.getCommonCharactersToIgnoreValue());
-          break;
-        }
-        case CHARACTERS_NOT_SET: {
-          break;
-        }
+        case CHARACTERS_TO_SKIP:
+          {
+            charactersCase_ = 1;
+            characters_ = other.characters_;
+            onChanged();
+            break;
+          }
+        case COMMON_CHARACTERS_TO_IGNORE:
+          {
+            setCommonCharactersToIgnoreValue(other.getCommonCharactersToIgnoreValue());
+            break;
+          }
+        case CHARACTERS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -796,12 +887,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int charactersCase_ = 0;
     private java.lang.Object characters_;
-    public CharactersCase
-        getCharactersCase() {
-      return CharactersCase.forNumber(
-          charactersCase_);
+
+    public CharactersCase getCharactersCase() {
+      return CharactersCase.forNumber(charactersCase_);
     }
 
     public Builder clearCharacters() {
@@ -811,13 +902,15 @@ public Builder clearCharacters() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @return Whether the charactersToSkip field is set. */ @java.lang.Override @@ -825,11 +918,14 @@ public boolean hasCharactersToSkip() { return charactersCase_ == 1; } /** + * + * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @return The charactersToSkip. */ @java.lang.Override @@ -839,8 +935,7 @@ public java.lang.String getCharactersToSkip() { ref = characters_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (charactersCase_ == 1) { characters_ = s; @@ -851,24 +946,25 @@ public java.lang.String getCharactersToSkip() { } } /** + * + * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @return The bytes for charactersToSkip. */ @java.lang.Override - public com.google.protobuf.ByteString - getCharactersToSkipBytes() { + public com.google.protobuf.ByteString getCharactersToSkipBytes() { java.lang.Object ref = ""; if (charactersCase_ == 1) { ref = characters_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (charactersCase_ == 1) { characters_ = b; } @@ -878,30 +974,35 @@ public java.lang.String getCharactersToSkip() { } } /** + * + * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @param value The charactersToSkip to set. * @return This builder for chaining. */ - public Builder setCharactersToSkip( - java.lang.String value) { + public Builder setCharactersToSkip(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - charactersCase_ = 1; + throw new NullPointerException(); + } + charactersCase_ = 1; characters_ = value; onChanged(); return this; } /** + * + * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @return This builder for chaining. */ public Builder clearCharactersToSkip() { @@ -913,20 +1014,22 @@ public Builder clearCharactersToSkip() { return this; } /** + * + * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @param value The bytes for charactersToSkip to set. * @return This builder for chaining. */ - public Builder setCharactersToSkipBytes( - com.google.protobuf.ByteString value) { + public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); charactersCase_ = 1; characters_ = value; onChanged(); @@ -934,12 +1037,17 @@ public Builder setCharactersToSkipBytes( } /** + * + * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return Whether the commonCharactersToIgnore field is set. */ @java.lang.Override @@ -947,12 +1055,17 @@ public boolean hasCommonCharactersToIgnore() { return charactersCase_ == 2; } /** + * + * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return The enum numeric value on the wire for commonCharactersToIgnore. */ @java.lang.Override @@ -963,12 +1076,17 @@ public int getCommonCharactersToIgnoreValue() { return 0; } /** + * + * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @param value The enum numeric value on the wire for commonCharactersToIgnore to set. * @return This builder for chaining. */ @@ -979,35 +1097,51 @@ public Builder setCommonCharactersToIgnoreValue(int value) { return this; } /** + * + * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return The commonCharactersToIgnore. */ @java.lang.Override - public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore() { + public com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore + getCommonCharactersToIgnore() { if (charactersCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( - (java.lang.Integer) characters_); - return result == null ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore result = + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.valueOf( + (java.lang.Integer) characters_); + return result == null + ? com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.UNRECOGNIZED + : result; } - return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED; + return com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore + .COMMON_CHARS_TO_IGNORE_UNSPECIFIED; } /** + * + * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @param value The commonCharactersToIgnore to set. * @return This builder for chaining. */ - public Builder setCommonCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore value) { + public Builder setCommonCharactersToIgnore( + com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore value) { if (value == null) { throw new NullPointerException(); } @@ -1017,12 +1151,17 @@ public Builder setCommonCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgno return this; } /** + * + * *
      * Common characters to not transform when masking. Useful to avoid removing
      * punctuation.
      * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return This builder for chaining. */ public Builder clearCommonCharactersToIgnore() { @@ -1033,9 +1172,9 @@ public Builder clearCommonCharactersToIgnore() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,12 +1184,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CharsToIgnore) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CharsToIgnore) private static final com.google.privacy.dlp.v2.CharsToIgnore DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CharsToIgnore(); } @@ -1059,16 +1198,16 @@ public static com.google.privacy.dlp.v2.CharsToIgnore getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CharsToIgnore parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CharsToIgnore(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CharsToIgnore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CharsToIgnore(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1083,6 +1222,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CharsToIgnore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java index 83336c08..3a22e92c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java @@ -1,68 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CharsToIgnoreOrBuilder extends +public interface CharsToIgnoreOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharsToIgnore) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; + * * @return Whether the charactersToSkip field is set. */ boolean hasCharactersToSkip(); /** + * + * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; + * * @return The charactersToSkip. */ java.lang.String getCharactersToSkip(); /** + * + * *
    * Characters to not transform when masking.
    * 
* * string characters_to_skip = 1; + * * @return The bytes for charactersToSkip. */ - com.google.protobuf.ByteString - getCharactersToSkipBytes(); + com.google.protobuf.ByteString getCharactersToSkipBytes(); /** + * + * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return Whether the commonCharactersToIgnore field is set. */ boolean hasCommonCharactersToIgnore(); /** + * + * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return The enum numeric value on the wire for commonCharactersToIgnore. */ int getCommonCharactersToIgnoreValue(); /** + * + * *
    * Common characters to not transform when masking. Useful to avoid removing
    * punctuation.
    * 
* - * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; + * + * * @return The commonCharactersToIgnore. */ com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java index 31d75678..d55b4196 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSet.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Message representing a set of files in Cloud Storage.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageFileSet} */ -public final class CloudStorageFileSet extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudStorageFileSet extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageFileSet) CloudStorageFileSetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudStorageFileSet.newBuilder() to construct. private CloudStorageFileSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudStorageFileSet() { url_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudStorageFileSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CloudStorageFileSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,59 @@ private CloudStorageFileSet( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + url_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageFileSet.class, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageFileSet.class, + com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -108,30 +131,30 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -176,15 +199,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.privacy.dlp.v2.CloudStorageFileSet)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStorageFileSet other = (com.google.privacy.dlp.v2.CloudStorageFileSet) obj; + com.google.privacy.dlp.v2.CloudStorageFileSet other = + (com.google.privacy.dlp.v2.CloudStorageFileSet) obj; - if (!getUrl() - .equals(other.getUrl())) return false; + if (!getUrl().equals(other.getUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageFileSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageFileSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a set of files in Cloud Storage.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageFileSet} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageFileSet) com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageFileSet.class, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageFileSet.class, + com.google.privacy.dlp.v2.CloudStorageFileSet.Builder.class); } // Construct using com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; } @java.lang.Override @@ -362,7 +393,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet build() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageFileSet buildPartial() { - com.google.privacy.dlp.v2.CloudStorageFileSet result = new com.google.privacy.dlp.v2.CloudStorageFileSet(this); + com.google.privacy.dlp.v2.CloudStorageFileSet result = + new com.google.privacy.dlp.v2.CloudStorageFileSet(this); result.url_ = url_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CloudStorageFileSet) { - return mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet)other); + return mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) other); } else { super.mergeFrom(other); return this; @@ -447,19 +480,21 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** + * + * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -468,21 +503,22 @@ public java.lang.String getUrl() { } } /** + * + * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -490,64 +526,71 @@ public java.lang.String getUrl() { } } /** + * + * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
      * path is allowed.
      * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = 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); } @@ -557,12 +600,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageFileSet) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageFileSet) private static final com.google.privacy.dlp.v2.CloudStorageFileSet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageFileSet(); } @@ -571,16 +614,16 @@ public static com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageFileSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageFileSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageFileSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStorageFileSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStorageFileSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java index 53a34ad8..94cec540 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageFileSetOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStorageFileSetOrBuilder extends +public interface CloudStorageFileSetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageFileSet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
    * path is allowed.
    * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java index 87c95125..02800160 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Options defining a file or a set of files within a Google Cloud Storage
  * bucket.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions}
  */
-public final class CloudStorageOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudStorageOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageOptions)
     CloudStorageOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudStorageOptions.newBuilder() to construct.
   private CloudStorageOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudStorageOptions() {
     fileTypes_ = java.util.Collections.emptyList();
     sampleMethod_ = 0;
@@ -27,16 +45,15 @@ private CloudStorageOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudStorageOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CloudStorageOptions(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,77 +73,83 @@ private CloudStorageOptions(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder subBuilder = null;
-            if (fileSet_ != null) {
-              subBuilder = fileSet_.toBuilder();
-            }
-            fileSet_ = input.readMessage(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(fileSet_);
-              fileSet_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 32: {
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder subBuilder = null;
+              if (fileSet_ != null) {
+                subBuilder = fileSet_.toBuilder();
+              }
+              fileSet_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(fileSet_);
+                fileSet_ = subBuilder.buildPartial();
+              }
 
-            bytesLimitPerFile_ = input.readInt64();
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              fileTypes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            fileTypes_.add(rawValue);
-            break;
-          }
-          case 42: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 32:
+            {
+              bytesLimitPerFile_ = input.readInt64();
+              break;
+            }
+          case 40:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 fileTypes_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               fileTypes_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
-
-            sampleMethod_ = rawValue;
-            break;
-          }
-          case 56: {
-
-            filesLimitPercent_ = input.readInt32();
-            break;
-          }
-          case 64: {
+          case 42:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  fileTypes_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                fileTypes_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
+            }
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            bytesLimitPerFilePercent_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              sampleMethod_ = rawValue;
+              break;
+            }
+          case 56:
+            {
+              filesLimitPercent_ = input.readInt32();
+              break;
+            }
+          case 64:
+            {
+              bytesLimitPerFilePercent_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         fileTypes_ = java.util.Collections.unmodifiableList(fileTypes_);
@@ -135,20 +158,25 @@ private CloudStorageOptions(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CloudStorageOptions.class, com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
+            com.google.privacy.dlp.v2.CloudStorageOptions.class,
+            com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * How to sample bytes if not all bytes are scanned. Meaningful only when used
    * in conjunction with bytes_limit_per_file. If not specified, scanning would
@@ -157,13 +185,12 @@ private CloudStorageOptions(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.CloudStorageOptions.SampleMethod}
    */
-  public enum SampleMethod
-      implements com.google.protobuf.ProtocolMessageEnum {
-    /**
-     * SAMPLE_METHOD_UNSPECIFIED = 0;
-     */
+  public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
+    /** SAMPLE_METHOD_UNSPECIFIED = 0; */
     SAMPLE_METHOD_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Scan from the top (default).
      * 
@@ -172,6 +199,8 @@ public enum SampleMethod */ TOP(1), /** + * + * *
      * For each file larger than bytes_limit_per_file, randomly pick the offset
      * to start scanning. The scanned bytes are contiguous.
@@ -183,11 +212,11 @@ public enum SampleMethod
     UNRECOGNIZED(-1),
     ;
 
-    /**
-     * SAMPLE_METHOD_UNSPECIFIED = 0;
-     */
+    /** SAMPLE_METHOD_UNSPECIFIED = 0; */
     public static final int SAMPLE_METHOD_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Scan from the top (default).
      * 
@@ -196,6 +225,8 @@ public enum SampleMethod */ public static final int TOP_VALUE = 1; /** + * + * *
      * For each file larger than bytes_limit_per_file, randomly pick the offset
      * to start scanning. The scanned bytes are contiguous.
@@ -205,7 +236,6 @@ public enum SampleMethod
      */
     public static final int RANDOM_START_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -230,49 +260,49 @@ public static SampleMethod valueOf(int value) {
      */
     public static SampleMethod forNumber(int value) {
       switch (value) {
-        case 0: return SAMPLE_METHOD_UNSPECIFIED;
-        case 1: return TOP;
-        case 2: return RANDOM_START;
-        default: return null;
+        case 0:
+          return SAMPLE_METHOD_UNSPECIFIED;
+        case 1:
+          return TOP;
+        case 2:
+          return RANDOM_START;
+        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<
-        SampleMethod> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SampleMethod findValueByNumber(int number) {
-              return SampleMethod.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 SampleMethod findValueByNumber(int number) {
+            return SampleMethod.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.privacy.dlp.v2.CloudStorageOptions.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SampleMethod[] VALUES = values();
 
-    public static SampleMethod valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SampleMethod 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;
@@ -289,11 +319,14 @@ private SampleMethod(int value) {
     // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.CloudStorageOptions.SampleMethod)
   }
 
-  public interface FileSetOrBuilder extends
+  public interface FileSetOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageOptions.FileSet)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -306,10 +339,13 @@ public interface FileSetOrBuilder extends
      * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -322,32 +358,40 @@ public interface FileSetOrBuilder extends
      * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; + * * @return Whether the regexFileSet field is set. */ boolean hasRegexFileSet(); /** + * + * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; + * * @return The regexFileSet. */ com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet(); /** + * + * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
@@ -358,37 +402,39 @@ public interface FileSetOrBuilder extends
     com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Set of files to scan.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions.FileSet} */ - public static final class FileSet extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FileSet extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageOptions.FileSet) FileSetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FileSet.newBuilder() to construct. private FileSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FileSet() { url_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FileSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FileSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -407,60 +453,69 @@ private FileSet( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder subBuilder = null; - if (regexFileSet_ != null) { - subBuilder = regexFileSet_.toBuilder(); + url_ = s; + break; } - regexFileSet_ = input.readMessage(com.google.privacy.dlp.v2.CloudStorageRegexFileSet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(regexFileSet_); - regexFileSet_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder subBuilder = null; + if (regexFileSet_ != null) { + subBuilder = regexFileSet_.toBuilder(); + } + regexFileSet_ = + input.readMessage( + com.google.privacy.dlp.v2.CloudStorageRegexFileSet.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(regexFileSet_); + regexFileSet_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -473,6 +528,7 @@ private FileSet(
      * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -481,14 +537,15 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
      * The Cloud Storage url of the file(s) to scan, in the format
      * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -501,16 +558,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -521,12 +577,15 @@ public java.lang.String getUrl() { public static final int REGEX_FILE_SET_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.CloudStorageRegexFileSet regexFileSet_; /** + * + * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; + * * @return Whether the regexFileSet field is set. */ @java.lang.Override @@ -534,19 +593,26 @@ public boolean hasRegexFileSet() { return regexFileSet_ != null; } /** + * + * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
      * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; + * * @return The regexFileSet. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet() { - return regexFileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() : regexFileSet_; + return regexFileSet_ == null + ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() + : regexFileSet_; } /** + * + * *
      * The regex-filtered set of files to scan. Exactly one of `url` or
      * `regex_file_set` must be set.
@@ -560,6 +626,7 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileS
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -571,8 +638,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
       }
@@ -592,8 +658,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
       }
       if (regexFileSet_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getRegexFileSet());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegexFileSet());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -603,19 +668,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.privacy.dlp.v2.CloudStorageOptions.FileSet)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.CloudStorageOptions.FileSet other = (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) obj;
+      com.google.privacy.dlp.v2.CloudStorageOptions.FileSet other =
+          (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) obj;
 
-      if (!getUrl()
-          .equals(other.getUrl())) return false;
+      if (!getUrl().equals(other.getUrl())) return false;
       if (hasRegexFileSet() != other.hasRegexFileSet()) return false;
       if (hasRegexFileSet()) {
-        if (!getRegexFileSet()
-            .equals(other.getRegexFileSet())) return false;
+        if (!getRegexFileSet().equals(other.getRegexFileSet())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -640,87 +704,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.CloudStorageOptions.FileSet prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -730,27 +801,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Set of files to scan.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions.FileSet} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageOptions.FileSet) com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.class, + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder.class); } // Construct using com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.newBuilder() @@ -758,16 +834,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -783,9 +858,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; } @java.lang.Override @@ -804,7 +879,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet build() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet buildPartial() { - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet result = new com.google.privacy.dlp.v2.CloudStorageOptions.FileSet(this); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet result = + new com.google.privacy.dlp.v2.CloudStorageOptions.FileSet(this); result.url_ = url_; if (regexFileSetBuilder_ == null) { result.regexFileSet_ = regexFileSet_; @@ -819,38 +895,41 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CloudStorageOptions.FileSet) { - return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions.FileSet)other); + return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) other); } else { super.mergeFrom(other); return this; @@ -858,7 +937,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet other) { - if (other == com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance()) + return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -885,7 +965,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CloudStorageOptions.FileSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -897,6 +978,8 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** + * + * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -909,13 +992,13 @@ public Builder mergeFrom(
        * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -924,6 +1007,8 @@ public java.lang.String getUrl() { } } /** + * + * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -936,15 +1021,14 @@ public java.lang.String getUrl() {
        * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -952,6 +1036,8 @@ public java.lang.String getUrl() { } } /** + * + * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -964,20 +1050,22 @@ public java.lang.String getUrl() {
        * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -990,15 +1078,18 @@ public Builder setUrl(
        * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
        * The Cloud Storage url of the file(s) to scan, in the format
        * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
@@ -1011,16 +1102,16 @@ public Builder clearUrl() {
        * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1028,36 +1119,49 @@ public Builder setUrlBytes( private com.google.privacy.dlp.v2.CloudStorageRegexFileSet regexFileSet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageRegexFileSet, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder> regexFileSetBuilder_; + com.google.privacy.dlp.v2.CloudStorageRegexFileSet, + com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, + com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder> + regexFileSetBuilder_; /** + * + * *
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
        * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; + * * @return Whether the regexFileSet field is set. */ public boolean hasRegexFileSet() { return regexFileSetBuilder_ != null || regexFileSet_ != null; } /** + * + * *
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
        * 
* * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2; + * * @return The regexFileSet. */ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getRegexFileSet() { if (regexFileSetBuilder_ == null) { - return regexFileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() : regexFileSet_; + return regexFileSet_ == null + ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() + : regexFileSet_; } else { return regexFileSetBuilder_.getMessage(); } } /** + * + * *
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1079,6 +1183,8 @@ public Builder setRegexFileSet(com.google.privacy.dlp.v2.CloudStorageRegexFileSe
         return this;
       }
       /**
+       *
+       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1098,6 +1204,8 @@ public Builder setRegexFileSet(
         return this;
       }
       /**
+       *
+       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1109,7 +1217,9 @@ public Builder mergeRegexFileSet(com.google.privacy.dlp.v2.CloudStorageRegexFile
         if (regexFileSetBuilder_ == null) {
           if (regexFileSet_ != null) {
             regexFileSet_ =
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.newBuilder(regexFileSet_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.CloudStorageRegexFileSet.newBuilder(regexFileSet_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             regexFileSet_ = value;
           }
@@ -1121,6 +1231,8 @@ public Builder mergeRegexFileSet(com.google.privacy.dlp.v2.CloudStorageRegexFile
         return this;
       }
       /**
+       *
+       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1140,6 +1252,8 @@ public Builder clearRegexFileSet() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1148,11 +1262,13 @@ public Builder clearRegexFileSet() {
        * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        */
       public com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder getRegexFileSetBuilder() {
-        
+
         onChanged();
         return getRegexFileSetFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1160,15 +1276,19 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder getRegexFileSe
        *
        * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        */
-      public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileSetOrBuilder() {
+      public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder
+          getRegexFileSetOrBuilder() {
         if (regexFileSetBuilder_ != null) {
           return regexFileSetBuilder_.getMessageOrBuilder();
         } else {
-          return regexFileSet_ == null ?
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance() : regexFileSet_;
+          return regexFileSet_ == null
+              ? com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance()
+              : regexFileSet_;
         }
       }
       /**
+       *
+       *
        * 
        * The regex-filtered set of files to scan. Exactly one of `url` or
        * `regex_file_set` must be set.
@@ -1177,18 +1297,22 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileS
        * .google.privacy.dlp.v2.CloudStorageRegexFileSet regex_file_set = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.CloudStorageRegexFileSet, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder> 
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet,
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder,
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder>
           getRegexFileSetFieldBuilder() {
         if (regexFileSetBuilder_ == null) {
-          regexFileSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder>(
-                  getRegexFileSet(),
-                  getParentForChildren(),
-                  isClean());
+          regexFileSetBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.CloudStorageRegexFileSet,
+                  com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder,
+                  com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder>(
+                  getRegexFileSet(), getParentForChildren(), isClean());
           regexFileSet_ = null;
         }
         return regexFileSetBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1201,12 +1325,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageOptions.FileSet)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageOptions.FileSet)
     private static final com.google.privacy.dlp.v2.CloudStorageOptions.FileSet DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageOptions.FileSet();
     }
@@ -1215,16 +1339,16 @@ public static com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getDefaultIn
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public FileSet parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new FileSet(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public FileSet parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new FileSet(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1239,17 +1363,19 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int FILE_SET_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CloudStorageOptions.FileSet fileSet_;
   /**
+   *
+   *
    * 
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; + * * @return Whether the fileSet field is set. */ @java.lang.Override @@ -1257,18 +1383,25 @@ public boolean hasFileSet() { return fileSet_ != null; } /** + * + * *
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; + * * @return The fileSet. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet() { - return fileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() : fileSet_; + return fileSet_ == null + ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() + : fileSet_; } /** + * + * *
    * The set of one or more files to scan.
    * 
@@ -1283,6 +1416,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet public static final int BYTES_LIMIT_PER_FILE_FIELD_NUMBER = 4; private long bytesLimitPerFile_; /** + * + * *
    * Max number of bytes to scan from a file. If a scanned file's size is bigger
    * than this value then the rest of the bytes are omitted. Only one
@@ -1291,6 +1426,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
    * 
* * int64 bytes_limit_per_file = 4; + * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -1301,6 +1437,8 @@ public long getBytesLimitPerFile() { public static final int BYTES_LIMIT_PER_FILE_PERCENT_FIELD_NUMBER = 8; private int bytesLimitPerFilePercent_; /** + * + * *
    * Max percentage of bytes to scan from a file. The rest are omitted. The
    * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -1310,6 +1448,7 @@ public long getBytesLimitPerFile() {
    * 
* * int32 bytes_limit_per_file_percent = 8; + * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -1320,16 +1459,20 @@ public int getBytesLimitPerFilePercent() { public static final int FILE_TYPES_FIELD_NUMBER = 5; private java.util.List fileTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.privacy.dlp.v2.FileType> fileTypes_converter_ = + java.lang.Integer, com.google.privacy.dlp.v2.FileType> + fileTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.privacy.dlp.v2.FileType>() { public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.FileType result = com.google.privacy.dlp.v2.FileType.valueOf(from); + com.google.privacy.dlp.v2.FileType result = + com.google.privacy.dlp.v2.FileType.valueOf(from); return result == null ? com.google.privacy.dlp.v2.FileType.UNRECOGNIZED : result; } }; /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1341,6 +1484,7 @@ public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the fileTypes. */ @java.lang.Override @@ -1349,6 +1493,8 @@ public java.util.List getFileTypesList() { java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypes_, fileTypes_converter_); } /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1360,6 +1506,7 @@ public java.util.List getFileTypesList() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return The count of fileTypes. */ @java.lang.Override @@ -1367,6 +1514,8 @@ public int getFileTypesCount() { return fileTypes_.size(); } /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1378,6 +1527,7 @@ public int getFileTypesCount() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the element to return. * @return The fileTypes at the given index. */ @@ -1386,6 +1536,8 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { return fileTypes_converter_.convert(fileTypes_.get(index)); } /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1397,14 +1549,16 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the enum numeric values on the wire for fileTypes. */ @java.lang.Override - public java.util.List - getFileTypesValueList() { + public java.util.List getFileTypesValueList() { return fileTypes_; } /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -1416,6 +1570,7 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. */ @@ -1423,30 +1578,40 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { public int getFileTypesValue(int index) { return fileTypes_.get(index); } + private int fileTypesMemoizedSerializedSize; public static final int SAMPLE_METHOD_FIELD_NUMBER = 6; private int sampleMethod_; /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override public int getSampleMethodValue() { + @java.lang.Override + public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return The sampleMethod. */ - @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() { + @java.lang.Override + public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); - return result == null ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); + return result == null + ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED + : result; } public static final int FILES_LIMIT_PERCENT_FIELD_NUMBER = 7; private int filesLimitPercent_; /** + * + * *
    * Limits the number of files to scan to this percentage of the input FileSet.
    * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -1454,6 +1619,7 @@ public int getFileTypesValue(int index) {
    * 
* * int32 files_limit_percent = 7; + * * @return The filesLimitPercent. */ @java.lang.Override @@ -1462,6 +1628,7 @@ public int getFilesLimitPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1473,8 +1640,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (fileSet_ != null) { output.writeMessage(1, getFileSet()); @@ -1489,7 +1655,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < fileTypes_.size(); i++) { output.writeEnumNoTag(fileTypes_.get(i)); } - if (sampleMethod_ != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { + if (sampleMethod_ + != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(6, sampleMethod_); } if (filesLimitPercent_ != 0) { @@ -1508,36 +1676,33 @@ public int getSerializedSize() { size = 0; if (fileSet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFileSet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFileSet()); } if (bytesLimitPerFile_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, bytesLimitPerFile_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, bytesLimitPerFile_); } { int dataSize = 0; for (int i = 0; i < fileTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(fileTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(fileTypes_.get(i)); } size += dataSize; - if (!getFileTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }fileTypesMemoizedSerializedSize = dataSize; + if (!getFileTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + fileTypesMemoizedSerializedSize = dataSize; } - if (sampleMethod_ != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, sampleMethod_); + if (sampleMethod_ + != com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.SAMPLE_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, sampleMethod_); } if (filesLimitPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, filesLimitPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, filesLimitPercent_); } if (bytesLimitPerFilePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, bytesLimitPerFilePercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, bytesLimitPerFilePercent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1547,26 +1712,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.privacy.dlp.v2.CloudStorageOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStorageOptions other = (com.google.privacy.dlp.v2.CloudStorageOptions) obj; + com.google.privacy.dlp.v2.CloudStorageOptions other = + (com.google.privacy.dlp.v2.CloudStorageOptions) obj; if (hasFileSet() != other.hasFileSet()) return false; if (hasFileSet()) { - if (!getFileSet() - .equals(other.getFileSet())) return false; + if (!getFileSet().equals(other.getFileSet())) return false; } - if (getBytesLimitPerFile() - != other.getBytesLimitPerFile()) return false; - if (getBytesLimitPerFilePercent() - != other.getBytesLimitPerFilePercent()) return false; + if (getBytesLimitPerFile() != other.getBytesLimitPerFile()) return false; + if (getBytesLimitPerFilePercent() != other.getBytesLimitPerFilePercent()) return false; if (!fileTypes_.equals(other.fileTypes_)) return false; if (sampleMethod_ != other.sampleMethod_) return false; - if (getFilesLimitPercent() - != other.getFilesLimitPercent()) return false; + if (getFilesLimitPercent() != other.getFilesLimitPercent()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1583,8 +1745,7 @@ public int hashCode() { hash = (53 * hash) + getFileSet().hashCode(); } hash = (37 * hash) + BYTES_LIMIT_PER_FILE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesLimitPerFile()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesLimitPerFile()); hash = (37 * hash) + BYTES_LIMIT_PER_FILE_PERCENT_FIELD_NUMBER; hash = (53 * hash) + getBytesLimitPerFilePercent(); if (getFileTypesCount() > 0) { @@ -1600,97 +1761,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CloudStorageOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Options defining a file or a set of files within a Google Cloud Storage
    * bucket.
@@ -1698,21 +1866,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CloudStorageOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageOptions)
       com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CloudStorageOptions.class, com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
+              com.google.privacy.dlp.v2.CloudStorageOptions.class,
+              com.google.privacy.dlp.v2.CloudStorageOptions.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CloudStorageOptions.newBuilder()
@@ -1720,16 +1890,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1753,9 +1922,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor;
     }
 
     @java.lang.Override
@@ -1774,7 +1943,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CloudStorageOptions buildPartial() {
-      com.google.privacy.dlp.v2.CloudStorageOptions result = new com.google.privacy.dlp.v2.CloudStorageOptions(this);
+      com.google.privacy.dlp.v2.CloudStorageOptions result =
+          new com.google.privacy.dlp.v2.CloudStorageOptions(this);
       int from_bitField0_ = bitField0_;
       if (fileSetBuilder_ == null) {
         result.fileSet_ = fileSet_;
@@ -1798,38 +1968,39 @@ public com.google.privacy.dlp.v2.CloudStorageOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CloudStorageOptions) {
-        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1891,38 +2062,52 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.CloudStorageOptions.FileSet fileSet_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder> fileSetBuilder_;
+            com.google.privacy.dlp.v2.CloudStorageOptions.FileSet,
+            com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder,
+            com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder>
+        fileSetBuilder_;
     /**
+     *
+     *
      * 
      * The set of one or more files to scan.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; + * * @return Whether the fileSet field is set. */ public boolean hasFileSet() { return fileSetBuilder_ != null || fileSet_ != null; } /** + * + * *
      * The set of one or more files to scan.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; + * * @return The fileSet. */ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet() { if (fileSetBuilder_ == null) { - return fileSet_ == null ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() : fileSet_; + return fileSet_ == null + ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() + : fileSet_; } else { return fileSetBuilder_.getMessage(); } } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -1943,6 +2128,8 @@ public Builder setFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -1961,6 +2148,8 @@ public Builder setFileSet( return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -1971,7 +2160,9 @@ public Builder mergeFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSe if (fileSetBuilder_ == null) { if (fileSet_ != null) { fileSet_ = - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.newBuilder(fileSet_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.newBuilder(fileSet_) + .mergeFrom(value) + .buildPartial(); } else { fileSet_ = value; } @@ -1983,6 +2174,8 @@ public Builder mergeFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSe return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -2001,6 +2194,8 @@ public Builder clearFileSet() { return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -2008,11 +2203,13 @@ public Builder clearFileSet() { * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; */ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder getFileSetBuilder() { - + onChanged(); return getFileSetFieldBuilder().getBuilder(); } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -2023,11 +2220,14 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet if (fileSetBuilder_ != null) { return fileSetBuilder_.getMessageOrBuilder(); } else { - return fileSet_ == null ? - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() : fileSet_; + return fileSet_ == null + ? com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.getDefaultInstance() + : fileSet_; } } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -2035,21 +2235,26 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder> + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, + com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder> getFileSetFieldBuilder() { if (fileSetBuilder_ == null) { - fileSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder>( - getFileSet(), - getParentForChildren(), - isClean()); + fileSetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet, + com.google.privacy.dlp.v2.CloudStorageOptions.FileSet.Builder, + com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder>( + getFileSet(), getParentForChildren(), isClean()); fileSet_ = null; } return fileSetBuilder_; } - private long bytesLimitPerFile_ ; + private long bytesLimitPerFile_; /** + * + * *
      * Max number of bytes to scan from a file. If a scanned file's size is bigger
      * than this value then the rest of the bytes are omitted. Only one
@@ -2058,6 +2263,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
      * 
* * int64 bytes_limit_per_file = 4; + * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -2065,6 +2271,8 @@ public long getBytesLimitPerFile() { return bytesLimitPerFile_; } /** + * + * *
      * Max number of bytes to scan from a file. If a scanned file's size is bigger
      * than this value then the rest of the bytes are omitted. Only one
@@ -2073,16 +2281,19 @@ public long getBytesLimitPerFile() {
      * 
* * int64 bytes_limit_per_file = 4; + * * @param value The bytesLimitPerFile to set. * @return This builder for chaining. */ public Builder setBytesLimitPerFile(long value) { - + bytesLimitPerFile_ = value; onChanged(); return this; } /** + * + * *
      * Max number of bytes to scan from a file. If a scanned file's size is bigger
      * than this value then the rest of the bytes are omitted. Only one
@@ -2091,17 +2302,20 @@ public Builder setBytesLimitPerFile(long value) {
      * 
* * int64 bytes_limit_per_file = 4; + * * @return This builder for chaining. */ public Builder clearBytesLimitPerFile() { - + bytesLimitPerFile_ = 0L; onChanged(); return this; } - private int bytesLimitPerFilePercent_ ; + private int bytesLimitPerFilePercent_; /** + * + * *
      * Max percentage of bytes to scan from a file. The rest are omitted. The
      * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -2111,6 +2325,7 @@ public Builder clearBytesLimitPerFile() {
      * 
* * int32 bytes_limit_per_file_percent = 8; + * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -2118,6 +2333,8 @@ public int getBytesLimitPerFilePercent() { return bytesLimitPerFilePercent_; } /** + * + * *
      * Max percentage of bytes to scan from a file. The rest are omitted. The
      * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -2127,16 +2344,19 @@ public int getBytesLimitPerFilePercent() {
      * 
* * int32 bytes_limit_per_file_percent = 8; + * * @param value The bytesLimitPerFilePercent to set. * @return This builder for chaining. */ public Builder setBytesLimitPerFilePercent(int value) { - + bytesLimitPerFilePercent_ = value; onChanged(); return this; } /** + * + * *
      * Max percentage of bytes to scan from a file. The rest are omitted. The
      * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -2146,17 +2366,18 @@ public Builder setBytesLimitPerFilePercent(int value) {
      * 
* * int32 bytes_limit_per_file_percent = 8; + * * @return This builder for chaining. */ public Builder clearBytesLimitPerFilePercent() { - + bytesLimitPerFilePercent_ = 0; onChanged(); return this; } - private java.util.List fileTypes_ = - java.util.Collections.emptyList(); + private java.util.List fileTypes_ = java.util.Collections.emptyList(); + private void ensureFileTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fileTypes_ = new java.util.ArrayList(fileTypes_); @@ -2164,6 +2385,8 @@ private void ensureFileTypesIsMutable() { } } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2175,6 +2398,7 @@ private void ensureFileTypesIsMutable() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the fileTypes. */ public java.util.List getFileTypesList() { @@ -2182,6 +2406,8 @@ public java.util.List getFileTypesList() { java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypes_, fileTypes_converter_); } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2193,12 +2419,15 @@ public java.util.List getFileTypesList() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return The count of fileTypes. */ public int getFileTypesCount() { return fileTypes_.size(); } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2210,6 +2439,7 @@ public int getFileTypesCount() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the element to return. * @return The fileTypes at the given index. */ @@ -2217,6 +2447,8 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { return fileTypes_converter_.convert(fileTypes_.get(index)); } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2228,12 +2460,12 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index to set the value at. * @param value The fileTypes to set. * @return This builder for chaining. */ - public Builder setFileTypes( - int index, com.google.privacy.dlp.v2.FileType value) { + public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value) { if (value == null) { throw new NullPointerException(); } @@ -2243,6 +2475,8 @@ public Builder setFileTypes( return this; } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2254,6 +2488,7 @@ public Builder setFileTypes(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param value The fileTypes to add. * @return This builder for chaining. */ @@ -2267,6 +2502,8 @@ public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) { return this; } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2278,6 +2515,7 @@ public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param values The fileTypes to add. * @return This builder for chaining. */ @@ -2291,6 +2529,8 @@ public Builder addAllFileTypes( return this; } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2302,6 +2542,7 @@ public Builder addAllFileTypes(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return This builder for chaining. */ public Builder clearFileTypes() { @@ -2311,6 +2552,8 @@ public Builder clearFileTypes() { return this; } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2322,13 +2565,15 @@ public Builder clearFileTypes() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the enum numeric values on the wire for fileTypes. */ - public java.util.List - getFileTypesValueList() { + public java.util.List getFileTypesValueList() { return java.util.Collections.unmodifiableList(fileTypes_); } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2340,6 +2585,7 @@ public Builder clearFileTypes() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. */ @@ -2347,6 +2593,8 @@ public int getFileTypesValue(int index) { return fileTypes_.get(index); } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2358,18 +2606,20 @@ public int getFileTypesValue(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. * @return This builder for chaining. */ - public Builder setFileTypesValue( - int index, int value) { + public Builder setFileTypesValue(int index, int value) { ensureFileTypesIsMutable(); fileTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2381,6 +2631,7 @@ public Builder setFileTypesValue(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param value The enum numeric value on the wire for fileTypes to add. * @return This builder for chaining. */ @@ -2391,6 +2642,8 @@ public Builder addFileTypesValue(int value) { return this; } /** + * + * *
      * List of file type groups to include in the scan.
      * If empty, all files are scanned and available data format processors
@@ -2402,11 +2655,11 @@ public Builder addFileTypesValue(int value) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param values The enum numeric values on the wire for fileTypes to add. * @return This builder for chaining. */ - public Builder addAllFileTypesValue( - java.lang.Iterable values) { + public Builder addAllFileTypesValue(java.lang.Iterable values) { ensureFileTypesIsMutable(); for (int value : values) { fileTypes_.add(value); @@ -2418,59 +2671,71 @@ public Builder addAllFileTypesValue( private int sampleMethod_ = 0; /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return The enum numeric value on the wire for sampleMethod. */ - @java.lang.Override public int getSampleMethodValue() { + @java.lang.Override + public int getSampleMethodValue() { return sampleMethod_; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @param value The enum numeric value on the wire for sampleMethod to set. * @return This builder for chaining. */ public Builder setSampleMethodValue(int value) { - + sampleMethod_ = value; onChanged(); return this; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return The sampleMethod. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); - return result == null ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod result = + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.valueOf(sampleMethod_); + return result == null + ? com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod.UNRECOGNIZED + : result; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @param value The sampleMethod to set. * @return This builder for chaining. */ - public Builder setSampleMethod(com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod value) { + public Builder setSampleMethod( + com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod value) { if (value == null) { throw new NullPointerException(); } - + sampleMethod_ = value.getNumber(); onChanged(); return this; } /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return This builder for chaining. */ public Builder clearSampleMethod() { - + sampleMethod_ = 0; onChanged(); return this; } - private int filesLimitPercent_ ; + private int filesLimitPercent_; /** + * + * *
      * Limits the number of files to scan to this percentage of the input FileSet.
      * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -2478,6 +2743,7 @@ public Builder clearSampleMethod() {
      * 
* * int32 files_limit_percent = 7; + * * @return The filesLimitPercent. */ @java.lang.Override @@ -2485,6 +2751,8 @@ public int getFilesLimitPercent() { return filesLimitPercent_; } /** + * + * *
      * Limits the number of files to scan to this percentage of the input FileSet.
      * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -2492,16 +2760,19 @@ public int getFilesLimitPercent() {
      * 
* * int32 files_limit_percent = 7; + * * @param value The filesLimitPercent to set. * @return This builder for chaining. */ public Builder setFilesLimitPercent(int value) { - + filesLimitPercent_ = value; onChanged(); return this; } /** + * + * *
      * Limits the number of files to scan to this percentage of the input FileSet.
      * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -2509,17 +2780,18 @@ public Builder setFilesLimitPercent(int value) {
      * 
* * int32 files_limit_percent = 7; + * * @return This builder for chaining. */ public Builder clearFilesLimitPercent() { - + filesLimitPercent_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2529,12 +2801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageOptions) private static final com.google.privacy.dlp.v2.CloudStorageOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageOptions(); } @@ -2543,16 +2815,16 @@ public static com.google.privacy.dlp.v2.CloudStorageOptions getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStorageOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2567,6 +2839,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStorageOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java similarity index 87% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java index 18e0a6a7..68a7458b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStorageOptionsOrBuilder extends +public interface CloudStorageOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; + * * @return Whether the fileSet field is set. */ boolean hasFileSet(); /** + * + * *
    * The set of one or more files to scan.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions.FileSet file_set = 1; + * * @return The fileSet. */ com.google.privacy.dlp.v2.CloudStorageOptions.FileSet getFileSet(); /** + * + * *
    * The set of one or more files to scan.
    * 
@@ -35,6 +59,8 @@ public interface CloudStorageOptionsOrBuilder extends com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSetOrBuilder(); /** + * + * *
    * Max number of bytes to scan from a file. If a scanned file's size is bigger
    * than this value then the rest of the bytes are omitted. Only one
@@ -43,11 +69,14 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * int64 bytes_limit_per_file = 4; + * * @return The bytesLimitPerFile. */ long getBytesLimitPerFile(); /** + * + * *
    * Max percentage of bytes to scan from a file. The rest are omitted. The
    * number of bytes scanned is rounded down. Must be between 0 and 100,
@@ -57,11 +86,14 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * int32 bytes_limit_per_file_percent = 8; + * * @return The bytesLimitPerFilePercent. */ int getBytesLimitPerFilePercent(); /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -73,10 +105,13 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the fileTypes. */ java.util.List getFileTypesList(); /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -88,10 +123,13 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return The count of fileTypes. */ int getFileTypesCount(); /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -103,11 +141,14 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the element to return. * @return The fileTypes at the given index. */ com.google.privacy.dlp.v2.FileType getFileTypes(int index); /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -119,11 +160,13 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the enum numeric values on the wire for fileTypes. */ - java.util.List - getFileTypesValueList(); + java.util.List getFileTypesValueList(); /** + * + * *
    * List of file type groups to include in the scan.
    * If empty, all files are scanned and available data format processors
@@ -135,6 +178,7 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypes at the given index. */ @@ -142,16 +186,20 @@ public interface CloudStorageOptionsOrBuilder extends /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return The enum numeric value on the wire for sampleMethod. */ int getSampleMethodValue(); /** * .google.privacy.dlp.v2.CloudStorageOptions.SampleMethod sample_method = 6; + * * @return The sampleMethod. */ com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMethod(); /** + * + * *
    * Limits the number of files to scan to this percentage of the input FileSet.
    * Number of files scanned is rounded down. Must be between 0 and 100,
@@ -159,6 +207,7 @@ public interface CloudStorageOptionsOrBuilder extends
    * 
* * int32 files_limit_percent = 7; + * * @return The filesLimitPercent. */ int getFilesLimitPercent(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java index 307155f4..50f53f60 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePath.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Message representing a single file or path in Cloud Storage.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStoragePath} */ -public final class CloudStoragePath extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudStoragePath extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStoragePath) CloudStoragePathOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudStoragePath.newBuilder() to construct. private CloudStoragePath(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudStoragePath() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudStoragePath(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CloudStoragePath( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,59 @@ private CloudStoragePath( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStoragePath.class, com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); + com.google.privacy.dlp.v2.CloudStoragePath.class, + com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** + * + * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; + * * @return The path. */ @java.lang.Override @@ -108,30 +131,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -176,15 +199,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.privacy.dlp.v2.CloudStoragePath)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStoragePath other = (com.google.privacy.dlp.v2.CloudStoragePath) obj; + com.google.privacy.dlp.v2.CloudStoragePath other = + (com.google.privacy.dlp.v2.CloudStoragePath) obj; - if (!getPath() - .equals(other.getPath())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStoragePath parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CloudStoragePath parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStoragePath parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStoragePath prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a single file or path in Cloud Storage.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CloudStoragePath} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStoragePath) com.google.privacy.dlp.v2.CloudStoragePathOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CloudStoragePath.class, com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); + com.google.privacy.dlp.v2.CloudStoragePath.class, + com.google.privacy.dlp.v2.CloudStoragePath.Builder.class); } // Construct using com.google.privacy.dlp.v2.CloudStoragePath.newBuilder() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; } @java.lang.Override @@ -362,7 +393,8 @@ public com.google.privacy.dlp.v2.CloudStoragePath build() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStoragePath buildPartial() { - com.google.privacy.dlp.v2.CloudStoragePath result = new com.google.privacy.dlp.v2.CloudStoragePath(this); + com.google.privacy.dlp.v2.CloudStoragePath result = + new com.google.privacy.dlp.v2.CloudStoragePath(this); result.path_ = path_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.privacy.dlp.v2.CloudStoragePath buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CloudStoragePath) { - return mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath)other); + return mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath) other); } else { super.mergeFrom(other); return this; @@ -447,19 +480,21 @@ public Builder mergeFrom( private java.lang.Object path_ = ""; /** + * + * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -468,21 +503,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -490,64 +526,71 @@ public java.lang.String getPath() { } } /** + * + * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * A url representing a file or path (no wildcards) in Cloud Storage.
      * Example: gs://[BUCKET_NAME]/dictionary.txt
      * 
* * string path = 1; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +600,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStoragePath) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStoragePath) private static final com.google.privacy.dlp.v2.CloudStoragePath DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStoragePath(); } @@ -571,16 +614,16 @@ public static com.google.privacy.dlp.v2.CloudStoragePath getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStoragePath parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStoragePath(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStoragePath parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStoragePath(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStoragePath getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java index b3e4adb3..556be488 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStoragePathOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStoragePathOrBuilder extends +public interface CloudStoragePathOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStoragePath) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * A url representing a file or path (no wildcards) in Cloud Storage.
    * Example: gs://[BUCKET_NAME]/dictionary.txt
    * 
* * string path = 1; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java index a075890d..6efdbfc8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Message representing a set of files in a Cloud Storage bucket. Regular
  * expressions are used to allow fine-grained control over which files in the
@@ -35,15 +52,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CloudStorageRegexFileSet}
  */
-public final class CloudStorageRegexFileSet extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudStorageRegexFileSet extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CloudStorageRegexFileSet)
     CloudStorageRegexFileSetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudStorageRegexFileSet.newBuilder() to construct.
   private CloudStorageRegexFileSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudStorageRegexFileSet() {
     bucketName_ = "";
     includeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -52,16 +70,15 @@ private CloudStorageRegexFileSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudStorageRegexFileSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CloudStorageRegexFileSet(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -81,44 +98,46 @@ private CloudStorageRegexFileSet(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            bucketName_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              includeRegex_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              bucketName_ = s;
+              break;
             }
-            includeRegex_.add(s);
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              excludeRegex_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                includeRegex_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              includeRegex_.add(s);
+              break;
             }
-            excludeRegex_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                excludeRegex_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              excludeRegex_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         includeRegex_ = includeRegex_.getUnmodifiableView();
@@ -130,27 +149,33 @@ private CloudStorageRegexFileSet(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
+            com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class,
+            com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
   }
 
   public static final int BUCKET_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object bucketName_;
   /**
+   *
+   *
    * 
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; + * * @return The bucketName. */ @java.lang.Override @@ -159,29 +184,29 @@ public java.lang.String getBucketName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketName_ = s; return s; } } /** + * + * *
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; + * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucketName_ = b; return b; } else { @@ -192,6 +217,8 @@ public java.lang.String getBucketName() { public static final int INCLUDE_REGEX_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList includeRegex_; /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -204,13 +231,15 @@ public java.lang.String getBucketName() {
    * 
* * repeated string include_regex = 2; + * * @return A list containing the includeRegex. */ - public com.google.protobuf.ProtocolStringList - getIncludeRegexList() { + public com.google.protobuf.ProtocolStringList getIncludeRegexList() { return includeRegex_; } /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -223,12 +252,15 @@ public java.lang.String getBucketName() {
    * 
* * repeated string include_regex = 2; + * * @return The count of includeRegex. */ public int getIncludeRegexCount() { return includeRegex_.size(); } /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -241,6 +273,7 @@ public int getIncludeRegexCount() {
    * 
* * repeated string include_regex = 2; + * * @param index The index of the element to return. * @return The includeRegex at the given index. */ @@ -248,6 +281,8 @@ public java.lang.String getIncludeRegex(int index) { return includeRegex_.get(index); } /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -260,17 +295,19 @@ public java.lang.String getIncludeRegex(int index) {
    * 
* * repeated string include_regex = 2; + * * @param index The index of the value to return. * @return The bytes of the includeRegex at the given index. */ - public com.google.protobuf.ByteString - getIncludeRegexBytes(int index) { + public com.google.protobuf.ByteString getIncludeRegexBytes(int index) { return includeRegex_.getByteString(index); } public static final int EXCLUDE_REGEX_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList excludeRegex_; /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -281,13 +318,15 @@ public java.lang.String getIncludeRegex(int index) {
    * 
* * repeated string exclude_regex = 3; + * * @return A list containing the excludeRegex. */ - public com.google.protobuf.ProtocolStringList - getExcludeRegexList() { + public com.google.protobuf.ProtocolStringList getExcludeRegexList() { return excludeRegex_; } /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -298,12 +337,15 @@ public java.lang.String getIncludeRegex(int index) {
    * 
* * repeated string exclude_regex = 3; + * * @return The count of excludeRegex. */ public int getExcludeRegexCount() { return excludeRegex_.size(); } /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -314,6 +356,7 @@ public int getExcludeRegexCount() {
    * 
* * repeated string exclude_regex = 3; + * * @param index The index of the element to return. * @return The excludeRegex at the given index. */ @@ -321,6 +364,8 @@ public java.lang.String getExcludeRegex(int index) { return excludeRegex_.get(index); } /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -331,15 +376,16 @@ public java.lang.String getExcludeRegex(int index) {
    * 
* * repeated string exclude_regex = 3; + * * @param index The index of the value to return. * @return The bytes of the excludeRegex at the given index. */ - public com.google.protobuf.ByteString - getExcludeRegexBytes(int index) { + public com.google.protobuf.ByteString getExcludeRegexBytes(int index) { return excludeRegex_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,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(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -398,19 +443,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.CloudStorageRegexFileSet)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CloudStorageRegexFileSet other = (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) obj; - - if (!getBucketName() - .equals(other.getBucketName())) return false; - if (!getIncludeRegexList() - .equals(other.getIncludeRegexList())) return false; - if (!getExcludeRegexList() - .equals(other.getExcludeRegexList())) return false; + com.google.privacy.dlp.v2.CloudStorageRegexFileSet other = + (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) obj; + + if (!getBucketName().equals(other.getBucketName())) return false; + if (!getIncludeRegexList().equals(other.getIncludeRegexList())) return false; + if (!getExcludeRegexList().equals(other.getExcludeRegexList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -438,96 +481,103 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CloudStorageRegexFileSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a set of files in a Cloud Storage bucket. Regular
    * expressions are used to allow fine-grained control over which files in the
@@ -559,21 +609,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CloudStorageRegexFileSet}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CloudStorageRegexFileSet)
       com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class, com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.class,
+              com.google.privacy.dlp.v2.CloudStorageRegexFileSet.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CloudStorageRegexFileSet.newBuilder()
@@ -581,16 +633,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -604,9 +655,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor;
     }
 
     @java.lang.Override
@@ -625,7 +676,8 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CloudStorageRegexFileSet buildPartial() {
-      com.google.privacy.dlp.v2.CloudStorageRegexFileSet result = new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(this);
+      com.google.privacy.dlp.v2.CloudStorageRegexFileSet result =
+          new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(this);
       int from_bitField0_ = bitField0_;
       result.bucketName_ = bucketName_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -646,38 +698,39 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CloudStorageRegexFileSet) {
-        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageRegexFileSet)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CloudStorageRegexFileSet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -685,7 +738,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.CloudStorageRegexFileSet other) {
-      if (other == com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.CloudStorageRegexFileSet.getDefaultInstance())
+        return this;
       if (!other.getBucketName().isEmpty()) {
         bucketName_ = other.bucketName_;
         onChanged();
@@ -729,7 +783,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.CloudStorageRegexFileSet) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -738,22 +793,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object bucketName_ = "";
     /**
+     *
+     *
      * 
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; + * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bucketName_ = s; return s; @@ -762,20 +820,21 @@ public java.lang.String getBucketName() { } } /** + * + * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; + * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bucketName_ = b; return b; } else { @@ -783,67 +842,78 @@ public java.lang.String getBucketName() { } } /** + * + * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; + * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName( - java.lang.String value) { + public Builder setBucketName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** + * + * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; + * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** + * + * *
      * The name of a Cloud Storage bucket. Required.
      * 
* * string bucket_name = 1; + * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList includeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includeRegex_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludeRegexIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { includeRegex_ = new com.google.protobuf.LazyStringArrayList(includeRegex_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -856,13 +926,15 @@ private void ensureIncludeRegexIsMutable() {
      * 
* * repeated string include_regex = 2; + * * @return A list containing the includeRegex. */ - public com.google.protobuf.ProtocolStringList - getIncludeRegexList() { + public com.google.protobuf.ProtocolStringList getIncludeRegexList() { return includeRegex_.getUnmodifiableView(); } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -875,12 +947,15 @@ private void ensureIncludeRegexIsMutable() {
      * 
* * repeated string include_regex = 2; + * * @return The count of includeRegex. */ public int getIncludeRegexCount() { return includeRegex_.size(); } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -893,6 +968,7 @@ public int getIncludeRegexCount() {
      * 
* * repeated string include_regex = 2; + * * @param index The index of the element to return. * @return The includeRegex at the given index. */ @@ -900,6 +976,8 @@ public java.lang.String getIncludeRegex(int index) { return includeRegex_.get(index); } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -912,14 +990,16 @@ public java.lang.String getIncludeRegex(int index) {
      * 
* * repeated string include_regex = 2; + * * @param index The index of the value to return. * @return The bytes of the includeRegex at the given index. */ - public com.google.protobuf.ByteString - getIncludeRegexBytes(int index) { + public com.google.protobuf.ByteString getIncludeRegexBytes(int index) { return includeRegex_.getByteString(index); } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -932,21 +1012,23 @@ public java.lang.String getIncludeRegex(int index) {
      * 
* * repeated string include_regex = 2; + * * @param index The index to set the value at. * @param value The includeRegex to set. * @return This builder for chaining. */ - public Builder setIncludeRegex( - int index, java.lang.String value) { + public Builder setIncludeRegex(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureIncludeRegexIsMutable(); includeRegex_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -959,20 +1041,22 @@ public Builder setIncludeRegex(
      * 
* * repeated string include_regex = 2; + * * @param value The includeRegex to add. * @return This builder for chaining. */ - public Builder addIncludeRegex( - java.lang.String value) { + public Builder addIncludeRegex(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureIncludeRegexIsMutable(); includeRegex_.add(value); onChanged(); return this; } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -985,18 +1069,19 @@ public Builder addIncludeRegex(
      * 
* * repeated string include_regex = 2; + * * @param values The includeRegex to add. * @return This builder for chaining. */ - public Builder addAllIncludeRegex( - java.lang.Iterable values) { + public Builder addAllIncludeRegex(java.lang.Iterable values) { ensureIncludeRegexIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includeRegex_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includeRegex_); onChanged(); return this; } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1009,6 +1094,7 @@ public Builder addAllIncludeRegex(
      * 
* * repeated string include_regex = 2; + * * @return This builder for chaining. */ public Builder clearIncludeRegex() { @@ -1018,6 +1104,8 @@ public Builder clearIncludeRegex() { return this; } /** + * + * *
      * A list of regular expressions matching file paths to include. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1030,29 +1118,33 @@ public Builder clearIncludeRegex() {
      * 
* * repeated string include_regex = 2; + * * @param value The bytes of the includeRegex to add. * @return This builder for chaining. */ - public Builder addIncludeRegexBytes( - com.google.protobuf.ByteString value) { + public Builder addIncludeRegexBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeRegexIsMutable(); includeRegex_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludeRegex_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludeRegex_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludeRegexIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludeRegex_ = new com.google.protobuf.LazyStringArrayList(excludeRegex_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1063,13 +1155,15 @@ private void ensureExcludeRegexIsMutable() {
      * 
* * repeated string exclude_regex = 3; + * * @return A list containing the excludeRegex. */ - public com.google.protobuf.ProtocolStringList - getExcludeRegexList() { + public com.google.protobuf.ProtocolStringList getExcludeRegexList() { return excludeRegex_.getUnmodifiableView(); } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1080,12 +1174,15 @@ private void ensureExcludeRegexIsMutable() {
      * 
* * repeated string exclude_regex = 3; + * * @return The count of excludeRegex. */ public int getExcludeRegexCount() { return excludeRegex_.size(); } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1096,6 +1193,7 @@ public int getExcludeRegexCount() {
      * 
* * repeated string exclude_regex = 3; + * * @param index The index of the element to return. * @return The excludeRegex at the given index. */ @@ -1103,6 +1201,8 @@ public java.lang.String getExcludeRegex(int index) { return excludeRegex_.get(index); } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1113,14 +1213,16 @@ public java.lang.String getExcludeRegex(int index) {
      * 
* * repeated string exclude_regex = 3; + * * @param index The index of the value to return. * @return The bytes of the excludeRegex at the given index. */ - public com.google.protobuf.ByteString - getExcludeRegexBytes(int index) { + public com.google.protobuf.ByteString getExcludeRegexBytes(int index) { return excludeRegex_.getByteString(index); } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1131,21 +1233,23 @@ public java.lang.String getExcludeRegex(int index) {
      * 
* * repeated string exclude_regex = 3; + * * @param index The index to set the value at. * @param value The excludeRegex to set. * @return This builder for chaining. */ - public Builder setExcludeRegex( - int index, java.lang.String value) { + public Builder setExcludeRegex(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureExcludeRegexIsMutable(); excludeRegex_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1156,20 +1260,22 @@ public Builder setExcludeRegex(
      * 
* * repeated string exclude_regex = 3; + * * @param value The excludeRegex to add. * @return This builder for chaining. */ - public Builder addExcludeRegex( - java.lang.String value) { + public Builder addExcludeRegex(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludeRegexIsMutable(); + throw new NullPointerException(); + } + ensureExcludeRegexIsMutable(); excludeRegex_.add(value); onChanged(); return this; } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1180,18 +1286,19 @@ public Builder addExcludeRegex(
      * 
* * repeated string exclude_regex = 3; + * * @param values The excludeRegex to add. * @return This builder for chaining. */ - public Builder addAllExcludeRegex( - java.lang.Iterable values) { + public Builder addAllExcludeRegex(java.lang.Iterable values) { ensureExcludeRegexIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludeRegex_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludeRegex_); onChanged(); return this; } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1202,6 +1309,7 @@ public Builder addAllExcludeRegex(
      * 
* * repeated string exclude_regex = 3; + * * @return This builder for chaining. */ public Builder clearExcludeRegex() { @@ -1211,6 +1319,8 @@ public Builder clearExcludeRegex() { return this; } /** + * + * *
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
@@ -1221,23 +1331,23 @@ public Builder clearExcludeRegex() {
      * 
* * repeated string exclude_regex = 3; + * * @param value The bytes of the excludeRegex to add. * @return This builder for chaining. */ - public Builder addExcludeRegexBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludeRegexBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludeRegexIsMutable(); excludeRegex_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1247,12 +1357,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CloudStorageRegexFileSet) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageRegexFileSet) private static final com.google.privacy.dlp.v2.CloudStorageRegexFileSet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CloudStorageRegexFileSet(); } @@ -1261,16 +1371,16 @@ public static com.google.privacy.dlp.v2.CloudStorageRegexFileSet getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudStorageRegexFileSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudStorageRegexFileSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudStorageRegexFileSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudStorageRegexFileSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1285,6 +1395,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CloudStorageRegexFileSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java index 2e045cc9..935373a7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CloudStorageRegexFileSetOrBuilder extends +public interface CloudStorageRegexFileSetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CloudStorageRegexFileSet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; + * * @return The bucketName. */ java.lang.String getBucketName(); /** + * + * *
    * The name of a Cloud Storage bucket. Required.
    * 
* * string bucket_name = 1; + * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString - getBucketNameBytes(); + com.google.protobuf.ByteString getBucketNameBytes(); /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -40,11 +63,13 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string include_regex = 2; + * * @return A list containing the includeRegex. */ - java.util.List - getIncludeRegexList(); + java.util.List getIncludeRegexList(); /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -57,10 +82,13 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string include_regex = 2; + * * @return The count of includeRegex. */ int getIncludeRegexCount(); /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -73,11 +101,14 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string include_regex = 2; + * * @param index The index of the element to return. * @return The includeRegex at the given index. */ java.lang.String getIncludeRegex(int index); /** + * + * *
    * A list of regular expressions matching file paths to include. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -90,13 +121,15 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string include_regex = 2; + * * @param index The index of the value to return. * @return The bytes of the includeRegex at the given index. */ - com.google.protobuf.ByteString - getIncludeRegexBytes(int index); + com.google.protobuf.ByteString getIncludeRegexBytes(int index); /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -107,11 +140,13 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string exclude_regex = 3; + * * @return A list containing the excludeRegex. */ - java.util.List - getExcludeRegexList(); + java.util.List getExcludeRegexList(); /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -122,10 +157,13 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string exclude_regex = 3; + * * @return The count of excludeRegex. */ int getExcludeRegexCount(); /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -136,11 +174,14 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string exclude_regex = 3; + * * @param index The index of the element to return. * @return The excludeRegex at the given index. */ java.lang.String getExcludeRegex(int index); /** + * + * *
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
@@ -151,9 +192,9 @@ public interface CloudStorageRegexFileSetOrBuilder extends
    * 
* * repeated string exclude_regex = 3; + * * @param index The index of the value to return. * @return The bytes of the excludeRegex at the given index. */ - com.google.protobuf.ByteString - getExcludeRegexBytes(int index); + com.google.protobuf.ByteString getExcludeRegexBytes(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java index 02322985..9bd6d7dc 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Color.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Represents a color in the RGB color space.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Color} */ -public final class Color extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Color extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Color) ColorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Color.newBuilder() to construct. private Color(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Color() { - } + + private Color() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Color(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Color( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,49 +68,50 @@ private Color( case 0: done = true; break; - case 13: { - - red_ = input.readFloat(); - break; - } - case 21: { - - green_ = input.readFloat(); - break; - } - case 29: { - - blue_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + red_ = input.readFloat(); + break; + } + case 21: + { + green_ = input.readFloat(); + break; + } + case 29: + { + blue_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Color_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Color.class, com.google.privacy.dlp.v2.Color.Builder.class); } @@ -102,11 +119,14 @@ private Color( public static final int RED_FIELD_NUMBER = 1; private float red_; /** + * + * *
    * The amount of red in the color as a value in the interval [0, 1].
    * 
* * float red = 1; + * * @return The red. */ @java.lang.Override @@ -117,11 +137,14 @@ public float getRed() { public static final int GREEN_FIELD_NUMBER = 2; private float green_; /** + * + * *
    * The amount of green in the color as a value in the interval [0, 1].
    * 
* * float green = 2; + * * @return The green. */ @java.lang.Override @@ -132,11 +155,14 @@ public float getGreen() { public static final int BLUE_FIELD_NUMBER = 3; private float blue_; /** + * + * *
    * The amount of blue in the color as a value in the interval [0, 1].
    * 
* * float blue = 3; + * * @return The blue. */ @java.lang.Override @@ -145,6 +171,7 @@ public float getBlue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (red_ != 0F) { output.writeFloat(1, red_); } @@ -177,16 +203,13 @@ public int getSerializedSize() { size = 0; if (red_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, red_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, red_); } if (green_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, green_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, green_); } if (blue_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, blue_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, blue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,22 +219,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.privacy.dlp.v2.Color)) { return super.equals(obj); } com.google.privacy.dlp.v2.Color other = (com.google.privacy.dlp.v2.Color) obj; - if (java.lang.Float.floatToIntBits(getRed()) - != java.lang.Float.floatToIntBits( - other.getRed())) return false; + if (java.lang.Float.floatToIntBits(getRed()) != java.lang.Float.floatToIntBits(other.getRed())) + return false; if (java.lang.Float.floatToIntBits(getGreen()) - != java.lang.Float.floatToIntBits( - other.getGreen())) return false; + != java.lang.Float.floatToIntBits(other.getGreen())) return false; if (java.lang.Float.floatToIntBits(getBlue()) - != java.lang.Float.floatToIntBits( - other.getBlue())) return false; + != java.lang.Float.floatToIntBits(other.getBlue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -224,129 +244,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RED_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getRed()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getRed()); hash = (37 * hash) + GREEN_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getGreen()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getGreen()); hash = (37 * hash) + BLUE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBlue()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBlue()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.Color parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Color parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Color parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Color parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Color parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Color parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Color parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Color parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Color parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Color parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Color 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.privacy.dlp.v2.Color parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Color parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Color parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Color prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a color in the RGB color space.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Color} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Color) com.google.privacy.dlp.v2.ColorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Color_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Color.class, com.google.privacy.dlp.v2.Color.Builder.class); } @@ -356,16 +380,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Color_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Color_descriptor; } @java.lang.Override @@ -412,38 +435,39 @@ public com.google.privacy.dlp.v2.Color buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Color) { - return mergeFrom((com.google.privacy.dlp.v2.Color)other); + return mergeFrom((com.google.privacy.dlp.v2.Color) other); } else { super.mergeFrom(other); return this; @@ -490,13 +514,16 @@ public Builder mergeFrom( return this; } - private float red_ ; + private float red_; /** + * + * *
      * The amount of red in the color as a value in the interval [0, 1].
      * 
* * float red = 1; + * * @return The red. */ @java.lang.Override @@ -504,42 +531,51 @@ public float getRed() { return red_; } /** + * + * *
      * The amount of red in the color as a value in the interval [0, 1].
      * 
* * float red = 1; + * * @param value The red to set. * @return This builder for chaining. */ public Builder setRed(float value) { - + red_ = value; onChanged(); return this; } /** + * + * *
      * The amount of red in the color as a value in the interval [0, 1].
      * 
* * float red = 1; + * * @return This builder for chaining. */ public Builder clearRed() { - + red_ = 0F; onChanged(); return this; } - private float green_ ; + private float green_; /** + * + * *
      * The amount of green in the color as a value in the interval [0, 1].
      * 
* * float green = 2; + * * @return The green. */ @java.lang.Override @@ -547,42 +583,51 @@ public float getGreen() { return green_; } /** + * + * *
      * The amount of green in the color as a value in the interval [0, 1].
      * 
* * float green = 2; + * * @param value The green to set. * @return This builder for chaining. */ public Builder setGreen(float value) { - + green_ = value; onChanged(); return this; } /** + * + * *
      * The amount of green in the color as a value in the interval [0, 1].
      * 
* * float green = 2; + * * @return This builder for chaining. */ public Builder clearGreen() { - + green_ = 0F; onChanged(); return this; } - private float blue_ ; + private float blue_; /** + * + * *
      * The amount of blue in the color as a value in the interval [0, 1].
      * 
* * float blue = 3; + * * @return The blue. */ @java.lang.Override @@ -590,37 +635,43 @@ public float getBlue() { return blue_; } /** + * + * *
      * The amount of blue in the color as a value in the interval [0, 1].
      * 
* * float blue = 3; + * * @param value The blue to set. * @return This builder for chaining. */ public Builder setBlue(float value) { - + blue_ = value; onChanged(); return this; } /** + * + * *
      * The amount of blue in the color as a value in the interval [0, 1].
      * 
* * float blue = 3; + * * @return This builder for chaining. */ public Builder clearBlue() { - + blue_ = 0F; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,12 +681,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Color) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Color) private static final com.google.privacy.dlp.v2.Color DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Color(); } @@ -644,16 +695,16 @@ public static com.google.privacy.dlp.v2.Color getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Color parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Color(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Color parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Color(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,6 +719,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Color getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java similarity index 54% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java index 56c96b2c..236bc61f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java @@ -1,38 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ColorOrBuilder extends +public interface ColorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Color) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The amount of red in the color as a value in the interval [0, 1].
    * 
* * float red = 1; + * * @return The red. */ float getRed(); /** + * + * *
    * The amount of green in the color as a value in the interval [0, 1].
    * 
* * float green = 2; + * * @return The green. */ float getGreen(); /** + * + * *
    * The amount of blue in the color as a value in the interval [0, 1].
    * 
* * float blue = 3; + * * @return The blue. */ float getBlue(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java index 2f2f7cf1..ae32879c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Container.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Represents a container that may contain DLP findings.
  * Examples of a container include a file, table, or database record.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Container}
  */
-public final class Container extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Container extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Container)
     ContainerOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Container.newBuilder() to construct.
   private Container(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Container() {
     type_ = "";
     projectId_ = "";
@@ -31,16 +49,15 @@ private Container() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Container();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Container(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,95 +76,108 @@ private Container(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            type_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              type_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            projectId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              projectId_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            fullPath_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              fullPath_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            rootPath_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              rootPath_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            relativePath_ = s;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              relativePath_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Container_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.Container.class, com.google.privacy.dlp.v2.Container.Builder.class);
+            com.google.privacy.dlp.v2.Container.class,
+            com.google.privacy.dlp.v2.Container.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object type_;
   /**
+   *
+   *
    * 
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -156,29 +186,29 @@ 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; } } /** + * + * *
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; + * * @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 { @@ -189,12 +219,15 @@ public java.lang.String getType() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; + * * @return The projectId. */ @java.lang.Override @@ -203,30 +236,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -237,6 +270,8 @@ public java.lang.String getProjectId() { public static final int FULL_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object fullPath_; /** + * + * *
    * A string representation of the full container name.
    * Examples:
@@ -245,6 +280,7 @@ public java.lang.String getProjectId() {
    * 
* * string full_path = 3; + * * @return The fullPath. */ @java.lang.Override @@ -253,14 +289,15 @@ public java.lang.String getFullPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullPath_ = s; return s; } } /** + * + * *
    * A string representation of the full container name.
    * Examples:
@@ -269,16 +306,15 @@ public java.lang.String getFullPath() {
    * 
* * string full_path = 3; + * * @return The bytes for fullPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullPathBytes() { + public com.google.protobuf.ByteString getFullPathBytes() { java.lang.Object ref = fullPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullPath_ = b; return b; } else { @@ -289,6 +325,8 @@ public java.lang.String getFullPath() { public static final int ROOT_PATH_FIELD_NUMBER = 4; private volatile java.lang.Object rootPath_; /** + * + * *
    * The root of the container.
    * Examples:
@@ -299,6 +337,7 @@ public java.lang.String getFullPath() {
    * 
* * string root_path = 4; + * * @return The rootPath. */ @java.lang.Override @@ -307,14 +346,15 @@ public java.lang.String getRootPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; } } /** + * + * *
    * The root of the container.
    * Examples:
@@ -325,16 +365,15 @@ public java.lang.String getRootPath() {
    * 
* * string root_path = 4; + * * @return The bytes for rootPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getRootPathBytes() { + public com.google.protobuf.ByteString getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rootPath_ = b; return b; } else { @@ -345,6 +384,8 @@ public java.lang.String getRootPath() { public static final int RELATIVE_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object relativePath_; /** + * + * *
    * The rest of the path after the root.
    * Examples:
@@ -355,6 +396,7 @@ public java.lang.String getRootPath() {
    * 
* * string relative_path = 5; + * * @return The relativePath. */ @java.lang.Override @@ -363,14 +405,15 @@ public java.lang.String getRelativePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativePath_ = s; return s; } } /** + * + * *
    * The rest of the path after the root.
    * Examples:
@@ -381,16 +424,15 @@ public java.lang.String getRelativePath() {
    * 
* * string relative_path = 5; + * * @return The bytes for relativePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativePathBytes() { + public com.google.protobuf.ByteString getRelativePathBytes() { java.lang.Object ref = relativePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativePath_ = b; return b; } else { @@ -401,6 +443,8 @@ public java.lang.String getRelativePath() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -409,6 +453,7 @@ public java.lang.String getRelativePath() {
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -416,6 +461,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -424,6 +471,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -431,6 +479,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -448,12 +498,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int VERSION_FIELD_NUMBER = 7;
   private volatile java.lang.Object version_;
   /**
+   *
+   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; + * * @return The version. */ @java.lang.Override @@ -462,30 +515,30 @@ 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; } } /** + * + * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -494,6 +547,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -505,8 +559,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -553,8 +606,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, relativePath_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, version_); @@ -567,30 +619,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.privacy.dlp.v2.Container)) { return super.equals(obj); } com.google.privacy.dlp.v2.Container other = (com.google.privacy.dlp.v2.Container) obj; - if (!getType() - .equals(other.getType())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getFullPath() - .equals(other.getFullPath())) return false; - if (!getRootPath() - .equals(other.getRootPath())) return false; - if (!getRelativePath() - .equals(other.getRelativePath())) return false; + if (!getType().equals(other.getType())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getFullPath().equals(other.getFullPath())) return false; + if (!getRootPath().equals(other.getRootPath())) return false; + if (!getRelativePath().equals(other.getRelativePath())) 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 (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -623,97 +668,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Container parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Container parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Container parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Container parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Container parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Container parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Container parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Container parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Container parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Container parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Container 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.privacy.dlp.v2.Container parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Container parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Container parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Container prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a container that may contain DLP findings.
    * Examples of a container include a file, table, or database record.
@@ -721,21 +772,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Container}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Container)
       com.google.privacy.dlp.v2.ContainerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Container_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Container.class, com.google.privacy.dlp.v2.Container.Builder.class);
+              com.google.privacy.dlp.v2.Container.class,
+              com.google.privacy.dlp.v2.Container.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.Container.newBuilder()
@@ -743,16 +796,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -778,9 +830,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Container_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Container_descriptor;
     }
 
     @java.lang.Override
@@ -819,38 +871,39 @@ public com.google.privacy.dlp.v2.Container buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Container) {
-        return mergeFrom((com.google.privacy.dlp.v2.Container)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Container) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -917,18 +970,20 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; + * * @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; @@ -937,20 +992,21 @@ public java.lang.String getType() { } } /** + * + * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; + * * @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 { @@ -958,54 +1014,61 @@ public java.lang.String getType() { } } /** + * + * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * Container type, for example BigQuery or Google Cloud Storage.
      * 
* * string type = 1; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1013,19 +1076,21 @@ public Builder setTypeBytes( private java.lang.Object projectId_ = ""; /** + * + * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1034,21 +1099,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1056,57 +1122,64 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Project where the finding was found.
      * Can be different from the project that owns the finding.
      * 
* * string project_id = 2; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1114,6 +1187,8 @@ public Builder setProjectIdBytes( private java.lang.Object fullPath_ = ""; /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1122,13 +1197,13 @@ public Builder setProjectIdBytes(
      * 
* * string full_path = 3; + * * @return The fullPath. */ public java.lang.String getFullPath() { java.lang.Object ref = fullPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullPath_ = s; return s; @@ -1137,6 +1212,8 @@ public java.lang.String getFullPath() { } } /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1145,15 +1222,14 @@ public java.lang.String getFullPath() {
      * 
* * string full_path = 3; + * * @return The bytes for fullPath. */ - public com.google.protobuf.ByteString - getFullPathBytes() { + public com.google.protobuf.ByteString getFullPathBytes() { java.lang.Object ref = fullPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullPath_ = b; return b; } else { @@ -1161,6 +1237,8 @@ public java.lang.String getFullPath() { } } /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1169,20 +1247,22 @@ public java.lang.String getFullPath() {
      * 
* * string full_path = 3; + * * @param value The fullPath to set. * @return This builder for chaining. */ - public Builder setFullPath( - java.lang.String value) { + public Builder setFullPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullPath_ = value; onChanged(); return this; } /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1191,15 +1271,18 @@ public Builder setFullPath(
      * 
* * string full_path = 3; + * * @return This builder for chaining. */ public Builder clearFullPath() { - + fullPath_ = getDefaultInstance().getFullPath(); onChanged(); return this; } /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1208,16 +1291,16 @@ public Builder clearFullPath() {
      * 
* * string full_path = 3; + * * @param value The bytes for fullPath to set. * @return This builder for chaining. */ - public Builder setFullPathBytes( - com.google.protobuf.ByteString value) { + public Builder setFullPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullPath_ = value; onChanged(); return this; @@ -1225,6 +1308,8 @@ public Builder setFullPathBytes( private java.lang.Object rootPath_ = ""; /** + * + * *
      * The root of the container.
      * Examples:
@@ -1235,13 +1320,13 @@ public Builder setFullPathBytes(
      * 
* * string root_path = 4; + * * @return The rootPath. */ public java.lang.String getRootPath() { java.lang.Object ref = rootPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootPath_ = s; return s; @@ -1250,6 +1335,8 @@ public java.lang.String getRootPath() { } } /** + * + * *
      * The root of the container.
      * Examples:
@@ -1260,15 +1347,14 @@ public java.lang.String getRootPath() {
      * 
* * string root_path = 4; + * * @return The bytes for rootPath. */ - public com.google.protobuf.ByteString - getRootPathBytes() { + public com.google.protobuf.ByteString getRootPathBytes() { java.lang.Object ref = rootPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rootPath_ = b; return b; } else { @@ -1276,6 +1362,8 @@ public java.lang.String getRootPath() { } } /** + * + * *
      * The root of the container.
      * Examples:
@@ -1286,20 +1374,22 @@ public java.lang.String getRootPath() {
      * 
* * string root_path = 4; + * * @param value The rootPath to set. * @return This builder for chaining. */ - public Builder setRootPath( - java.lang.String value) { + public Builder setRootPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rootPath_ = value; onChanged(); return this; } /** + * + * *
      * The root of the container.
      * Examples:
@@ -1310,15 +1400,18 @@ public Builder setRootPath(
      * 
* * string root_path = 4; + * * @return This builder for chaining. */ public Builder clearRootPath() { - + rootPath_ = getDefaultInstance().getRootPath(); onChanged(); return this; } /** + * + * *
      * The root of the container.
      * Examples:
@@ -1329,16 +1422,16 @@ public Builder clearRootPath() {
      * 
* * string root_path = 4; + * * @param value The bytes for rootPath to set. * @return This builder for chaining. */ - public Builder setRootPathBytes( - com.google.protobuf.ByteString value) { + public Builder setRootPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rootPath_ = value; onChanged(); return this; @@ -1346,6 +1439,8 @@ public Builder setRootPathBytes( private java.lang.Object relativePath_ = ""; /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1356,13 +1451,13 @@ public Builder setRootPathBytes(
      * 
* * string relative_path = 5; + * * @return The relativePath. */ public java.lang.String getRelativePath() { java.lang.Object ref = relativePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativePath_ = s; return s; @@ -1371,6 +1466,8 @@ public java.lang.String getRelativePath() { } } /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1381,15 +1478,14 @@ public java.lang.String getRelativePath() {
      * 
* * string relative_path = 5; + * * @return The bytes for relativePath. */ - public com.google.protobuf.ByteString - getRelativePathBytes() { + public com.google.protobuf.ByteString getRelativePathBytes() { java.lang.Object ref = relativePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativePath_ = b; return b; } else { @@ -1397,6 +1493,8 @@ public java.lang.String getRelativePath() { } } /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1407,20 +1505,22 @@ public java.lang.String getRelativePath() {
      * 
* * string relative_path = 5; + * * @param value The relativePath to set. * @return This builder for chaining. */ - public Builder setRelativePath( - java.lang.String value) { + public Builder setRelativePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativePath_ = value; onChanged(); return this; } /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1431,15 +1531,18 @@ public Builder setRelativePath(
      * 
* * string relative_path = 5; + * * @return This builder for chaining. */ public Builder clearRelativePath() { - + relativePath_ = getDefaultInstance().getRelativePath(); onChanged(); return this; } /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1450,16 +1553,16 @@ public Builder clearRelativePath() {
      * 
* * string relative_path = 5; + * * @param value The bytes for relativePath to set. * @return This builder for chaining. */ - public Builder setRelativePathBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativePath_ = value; onChanged(); return this; @@ -1467,8 +1570,13 @@ public Builder setRelativePathBytes( 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_; /** + * + * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1477,12 +1585,15 @@ public Builder setRelativePathBytes(
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1491,16 +1602,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1524,6 +1640,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1533,8 +1651,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1545,6 +1662,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1558,7 +1677,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1570,6 +1689,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1591,6 +1712,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1601,11 +1724,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1619,11 +1744,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1634,14 +1762,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     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_;
@@ -1649,19 +1780,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1670,21 +1803,22 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1692,64 +1826,71 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string version = 7; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1759,12 +1900,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Container) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Container) private static final com.google.privacy.dlp.v2.Container DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Container(); } @@ -1773,16 +1914,16 @@ public static com.google.privacy.dlp.v2.Container getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Container parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Container(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Container parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Container(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1797,6 +1938,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Container getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java index 8fe06fc8..074399de 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContainerOrBuilder.java @@ -1,55 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ContainerOrBuilder extends +public interface ContainerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Container) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Container type, for example BigQuery or Google Cloud Storage.
    * 
* * string type = 1; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project where the finding was found.
    * Can be different from the project that owns the finding.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * A string representation of the full container name.
    * Examples:
@@ -58,10 +86,13 @@ public interface ContainerOrBuilder extends
    * 
* * string full_path = 3; + * * @return The fullPath. */ java.lang.String getFullPath(); /** + * + * *
    * A string representation of the full container name.
    * Examples:
@@ -70,12 +101,14 @@ public interface ContainerOrBuilder extends
    * 
* * string full_path = 3; + * * @return The bytes for fullPath. */ - com.google.protobuf.ByteString - getFullPathBytes(); + com.google.protobuf.ByteString getFullPathBytes(); /** + * + * *
    * The root of the container.
    * Examples:
@@ -86,10 +119,13 @@ public interface ContainerOrBuilder extends
    * 
* * string root_path = 4; + * * @return The rootPath. */ java.lang.String getRootPath(); /** + * + * *
    * The root of the container.
    * Examples:
@@ -100,12 +136,14 @@ public interface ContainerOrBuilder extends
    * 
* * string root_path = 4; + * * @return The bytes for rootPath. */ - com.google.protobuf.ByteString - getRootPathBytes(); + com.google.protobuf.ByteString getRootPathBytes(); /** + * + * *
    * The rest of the path after the root.
    * Examples:
@@ -116,10 +154,13 @@ public interface ContainerOrBuilder extends
    * 
* * string relative_path = 5; + * * @return The relativePath. */ java.lang.String getRelativePath(); /** + * + * *
    * The rest of the path after the root.
    * Examples:
@@ -130,12 +171,14 @@ public interface ContainerOrBuilder extends
    * 
* * string relative_path = 5; + * * @return The bytes for relativePath. */ - com.google.protobuf.ByteString - getRelativePathBytes(); + com.google.protobuf.ByteString getRelativePathBytes(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -144,10 +187,13 @@ public interface ContainerOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -156,10 +202,13 @@ public interface ContainerOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -172,24 +221,29 @@ public interface ContainerOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string version = 7; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java index 4a55a04f..0167134a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Container structure for the content to inspect.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ContentItem} */ -public final class ContentItem extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ContentItem extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ContentItem) ContentItemOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContentItem.newBuilder() to construct. private ContentItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContentItem() { - } + + private ContentItem() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContentItem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ContentItem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,82 +68,91 @@ private ContentItem( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - dataItemCase_ = 3; - dataItem_ = s; - break; - } - case 34: { - com.google.privacy.dlp.v2.Table.Builder subBuilder = null; - if (dataItemCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.Table) dataItem_).toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + dataItemCase_ = 3; + dataItem_ = s; + break; } - dataItem_ = - input.readMessage(com.google.privacy.dlp.v2.Table.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.Table) dataItem_); - dataItem_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.Table.Builder subBuilder = null; + if (dataItemCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.Table) dataItem_).toBuilder(); + } + dataItem_ = + input.readMessage(com.google.privacy.dlp.v2.Table.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Table) dataItem_); + dataItem_ = subBuilder.buildPartial(); + } + dataItemCase_ = 4; + break; } - dataItemCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null; - if (dataItemCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.ByteContentItem) dataItem_).toBuilder(); - } - dataItem_ = - input.readMessage(com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ByteContentItem) dataItem_); - dataItem_ = subBuilder.buildPartial(); + case 42: + { + com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null; + if (dataItemCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.ByteContentItem) dataItem_).toBuilder(); + } + dataItem_ = + input.readMessage( + com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ByteContentItem) dataItem_); + dataItem_ = subBuilder.buildPartial(); + } + dataItemCase_ = 5; + break; } - dataItemCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ContentItem.class, com.google.privacy.dlp.v2.ContentItem.Builder.class); + com.google.privacy.dlp.v2.ContentItem.class, + com.google.privacy.dlp.v2.ContentItem.Builder.class); } private int dataItemCase_ = 0; private java.lang.Object dataItem_; + public enum DataItemCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(3), TABLE(4), BYTE_ITEM(5), DATAITEM_NOT_SET(0); private final int value; + private DataItemCase(int value) { this.value = value; } @@ -143,42 +168,52 @@ public static DataItemCase valueOf(int value) { public static DataItemCase forNumber(int value) { switch (value) { - case 3: return VALUE; - case 4: return TABLE; - case 5: return BYTE_ITEM; - case 0: return DATAITEM_NOT_SET; - default: return null; + case 3: + return VALUE; + case 4: + return TABLE; + case 5: + return BYTE_ITEM; + case 0: + return DATAITEM_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataItemCase - getDataItemCase() { - return DataItemCase.forNumber( - dataItemCase_); + public DataItemCase getDataItemCase() { + return DataItemCase.forNumber(dataItemCase_); } public static final int VALUE_FIELD_NUMBER = 3; /** + * + * *
    * String data to inspect or redact.
    * 
* * string value = 3; + * * @return Whether the value field is set. */ public boolean hasValue() { return dataItemCase_ == 3; } /** + * + * *
    * String data to inspect or redact.
    * 
* * string value = 3; + * * @return The value. */ public java.lang.String getValue() { @@ -189,8 +224,7 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (dataItemCase_ == 3) { dataItem_ = s; @@ -199,23 +233,24 @@ public java.lang.String getValue() { } } /** + * + * *
    * String data to inspect or redact.
    * 
* * string value = 3; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = ""; if (dataItemCase_ == 3) { ref = dataItem_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (dataItemCase_ == 3) { dataItem_ = b; } @@ -227,6 +262,8 @@ public java.lang.String getValue() { public static final int TABLE_FIELD_NUMBER = 4; /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -234,6 +271,7 @@ public java.lang.String getValue() {
    * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return Whether the table field is set. */ @java.lang.Override @@ -241,6 +279,8 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -248,16 +288,19 @@ public boolean hasTable() {
    * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return The table. */ @java.lang.Override public com.google.privacy.dlp.v2.Table getTable() { if (dataItemCase_ == 4) { - return (com.google.privacy.dlp.v2.Table) dataItem_; + return (com.google.privacy.dlp.v2.Table) dataItem_; } return com.google.privacy.dlp.v2.Table.getDefaultInstance(); } /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -269,18 +312,21 @@ public com.google.privacy.dlp.v2.Table getTable() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
     if (dataItemCase_ == 4) {
-       return (com.google.privacy.dlp.v2.Table) dataItem_;
+      return (com.google.privacy.dlp.v2.Table) dataItem_;
     }
     return com.google.privacy.dlp.v2.Table.getDefaultInstance();
   }
 
   public static final int BYTE_ITEM_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; + * * @return Whether the byteItem field is set. */ @java.lang.Override @@ -288,21 +334,26 @@ public boolean hasByteItem() { return dataItemCase_ == 5; } /** + * + * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; + * * @return The byteItem. */ @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { if (dataItemCase_ == 5) { - return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; + return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; } return com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance(); } /** + * + * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
@@ -312,12 +363,13 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() { if (dataItemCase_ == 5) { - return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; + return (com.google.privacy.dlp.v2.ByteContentItem) dataItem_; } return com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,8 +381,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataItemCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dataItem_); } @@ -353,12 +404,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dataItem_); } if (dataItemCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.Table) dataItem_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.Table) dataItem_); } if (dataItemCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.ByteContentItem) dataItem_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.ByteContentItem) dataItem_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -368,7 +421,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.privacy.dlp.v2.ContentItem)) { return super.equals(obj); @@ -378,16 +431,13 @@ public boolean equals(final java.lang.Object obj) { if (!getDataItemCase().equals(other.getDataItemCase())) return false; switch (dataItemCase_) { case 3: - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; break; case 4: - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; break; case 5: - if (!getByteItem() - .equals(other.getByteItem())) return false; + if (!getByteItem().equals(other.getByteItem())) return false; break; case 0: default: @@ -424,118 +474,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ContentItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentItem parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.ContentItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentItem 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.privacy.dlp.v2.ContentItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ContentItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ContentItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Container structure for the content to inspect.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ContentItem} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ContentItem) com.google.privacy.dlp.v2.ContentItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ContentItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ContentItem.class, com.google.privacy.dlp.v2.ContentItem.Builder.class); + com.google.privacy.dlp.v2.ContentItem.class, + com.google.privacy.dlp.v2.ContentItem.Builder.class); } // Construct using com.google.privacy.dlp.v2.ContentItem.newBuilder() @@ -543,16 +601,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -562,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ContentItem_descriptor; } @java.lang.Override @@ -583,7 +640,8 @@ public com.google.privacy.dlp.v2.ContentItem build() { @java.lang.Override public com.google.privacy.dlp.v2.ContentItem buildPartial() { - com.google.privacy.dlp.v2.ContentItem result = new com.google.privacy.dlp.v2.ContentItem(this); + com.google.privacy.dlp.v2.ContentItem result = + new com.google.privacy.dlp.v2.ContentItem(this); if (dataItemCase_ == 3) { result.dataItem_ = dataItem_; } @@ -610,38 +668,39 @@ public com.google.privacy.dlp.v2.ContentItem buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ContentItem) { - return mergeFrom((com.google.privacy.dlp.v2.ContentItem)other); + return mergeFrom((com.google.privacy.dlp.v2.ContentItem) other); } else { super.mergeFrom(other); return this; @@ -651,23 +710,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.ContentItem other) { if (other == com.google.privacy.dlp.v2.ContentItem.getDefaultInstance()) return this; switch (other.getDataItemCase()) { - case VALUE: { - dataItemCase_ = 3; - dataItem_ = other.dataItem_; - onChanged(); - break; - } - case TABLE: { - mergeTable(other.getTable()); - break; - } - case BYTE_ITEM: { - mergeByteItem(other.getByteItem()); - break; - } - case DATAITEM_NOT_SET: { - break; - } + case VALUE: + { + dataItemCase_ = 3; + dataItem_ = other.dataItem_; + onChanged(); + break; + } + case TABLE: + { + mergeTable(other.getTable()); + break; + } + case BYTE_ITEM: + { + mergeByteItem(other.getByteItem()); + break; + } + case DATAITEM_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -697,12 +760,12 @@ public Builder mergeFrom( } return this; } + private int dataItemCase_ = 0; private java.lang.Object dataItem_; - public DataItemCase - getDataItemCase() { - return DataItemCase.forNumber( - dataItemCase_); + + public DataItemCase getDataItemCase() { + return DataItemCase.forNumber(dataItemCase_); } public Builder clearDataItem() { @@ -712,13 +775,15 @@ public Builder clearDataItem() { return this; } - /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @return Whether the value field is set. */ @java.lang.Override @@ -726,11 +791,14 @@ public boolean hasValue() { return dataItemCase_ == 3; } /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @return The value. */ @java.lang.Override @@ -740,8 +808,7 @@ public java.lang.String getValue() { ref = dataItem_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (dataItemCase_ == 3) { dataItem_ = s; @@ -752,24 +819,25 @@ public java.lang.String getValue() { } } /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = ""; if (dataItemCase_ == 3) { ref = dataItem_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (dataItemCase_ == 3) { dataItem_ = b; } @@ -779,30 +847,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - dataItemCase_ = 3; + throw new NullPointerException(); + } + dataItemCase_ = 3; dataItem_ = value; onChanged(); return this; } /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -814,20 +887,22 @@ public Builder clearValue() { return this; } /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); dataItemCase_ = 3; dataItem_ = value; onChanged(); @@ -835,8 +910,13 @@ public Builder setValueBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Table, com.google.privacy.dlp.v2.Table.Builder, com.google.privacy.dlp.v2.TableOrBuilder> tableBuilder_; + com.google.privacy.dlp.v2.Table, + com.google.privacy.dlp.v2.Table.Builder, + com.google.privacy.dlp.v2.TableOrBuilder> + tableBuilder_; /** + * + * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -844,6 +924,7 @@ public Builder setValueBytes(
      * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return Whether the table field is set. */ @java.lang.Override @@ -851,6 +932,8 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** + * + * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -858,6 +941,7 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return The table. */ @java.lang.Override @@ -875,6 +959,8 @@ public com.google.privacy.dlp.v2.Table getTable() { } } /** + * + * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -897,6 +983,8 @@ public Builder setTable(com.google.privacy.dlp.v2.Table value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -905,8 +993,7 @@ public Builder setTable(com.google.privacy.dlp.v2.Table value) {
      *
      * .google.privacy.dlp.v2.Table table = 4;
      */
-    public Builder setTable(
-        com.google.privacy.dlp.v2.Table.Builder builderForValue) {
+    public Builder setTable(com.google.privacy.dlp.v2.Table.Builder builderForValue) {
       if (tableBuilder_ == null) {
         dataItem_ = builderForValue.build();
         onChanged();
@@ -917,6 +1004,8 @@ public Builder setTable(
       return this;
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -927,10 +1016,13 @@ public Builder setTable(
      */
     public Builder mergeTable(com.google.privacy.dlp.v2.Table value) {
       if (tableBuilder_ == null) {
-        if (dataItemCase_ == 4 &&
-            dataItem_ != com.google.privacy.dlp.v2.Table.getDefaultInstance()) {
-          dataItem_ = com.google.privacy.dlp.v2.Table.newBuilder((com.google.privacy.dlp.v2.Table) dataItem_)
-              .mergeFrom(value).buildPartial();
+        if (dataItemCase_ == 4
+            && dataItem_ != com.google.privacy.dlp.v2.Table.getDefaultInstance()) {
+          dataItem_ =
+              com.google.privacy.dlp.v2.Table.newBuilder(
+                      (com.google.privacy.dlp.v2.Table) dataItem_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dataItem_ = value;
         }
@@ -945,6 +1037,8 @@ public Builder mergeTable(com.google.privacy.dlp.v2.Table value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -970,6 +1064,8 @@ public Builder clearTable() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -982,6 +1078,8 @@ public com.google.privacy.dlp.v2.Table.Builder getTableBuilder() {
       return getTableFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1002,6 +1100,8 @@ public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1011,32 +1111,42 @@ public com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder() {
      * .google.privacy.dlp.v2.Table table = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Table, com.google.privacy.dlp.v2.Table.Builder, com.google.privacy.dlp.v2.TableOrBuilder> 
+            com.google.privacy.dlp.v2.Table,
+            com.google.privacy.dlp.v2.Table.Builder,
+            com.google.privacy.dlp.v2.TableOrBuilder>
         getTableFieldBuilder() {
       if (tableBuilder_ == null) {
         if (!(dataItemCase_ == 4)) {
           dataItem_ = com.google.privacy.dlp.v2.Table.getDefaultInstance();
         }
-        tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Table, com.google.privacy.dlp.v2.Table.Builder, com.google.privacy.dlp.v2.TableOrBuilder>(
-                (com.google.privacy.dlp.v2.Table) dataItem_,
-                getParentForChildren(),
-                isClean());
+        tableBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.Table,
+                com.google.privacy.dlp.v2.Table.Builder,
+                com.google.privacy.dlp.v2.TableOrBuilder>(
+                (com.google.privacy.dlp.v2.Table) dataItem_, getParentForChildren(), isClean());
         dataItem_ = null;
       }
       dataItemCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return tableBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> byteItemBuilder_;
+            com.google.privacy.dlp.v2.ByteContentItem,
+            com.google.privacy.dlp.v2.ByteContentItem.Builder,
+            com.google.privacy.dlp.v2.ByteContentItemOrBuilder>
+        byteItemBuilder_;
     /**
+     *
+     *
      * 
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; + * * @return Whether the byteItem field is set. */ @java.lang.Override @@ -1044,11 +1154,14 @@ public boolean hasByteItem() { return dataItemCase_ == 5; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; + * * @return The byteItem. */ @java.lang.Override @@ -1066,6 +1179,8 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { } } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1086,14 +1201,15 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; */ - public Builder setByteItem( - com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { + public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { if (byteItemBuilder_ == null) { dataItem_ = builderForValue.build(); onChanged(); @@ -1104,6 +1220,8 @@ public Builder setByteItem( return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1112,10 +1230,13 @@ public Builder setByteItem( */ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { if (byteItemBuilder_ == null) { - if (dataItemCase_ == 5 && - dataItem_ != com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance()) { - dataItem_ = com.google.privacy.dlp.v2.ByteContentItem.newBuilder((com.google.privacy.dlp.v2.ByteContentItem) dataItem_) - .mergeFrom(value).buildPartial(); + if (dataItemCase_ == 5 + && dataItem_ != com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance()) { + dataItem_ = + com.google.privacy.dlp.v2.ByteContentItem.newBuilder( + (com.google.privacy.dlp.v2.ByteContentItem) dataItem_) + .mergeFrom(value) + .buildPartial(); } else { dataItem_ = value; } @@ -1130,6 +1251,8 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1153,6 +1276,8 @@ public Builder clearByteItem() { return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1163,6 +1288,8 @@ public com.google.privacy.dlp.v2.ByteContentItem.Builder getByteItemBuilder() { return getByteItemFieldBuilder().getBuilder(); } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1181,6 +1308,8 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1188,26 +1317,32 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> + com.google.privacy.dlp.v2.ByteContentItem, + com.google.privacy.dlp.v2.ByteContentItem.Builder, + com.google.privacy.dlp.v2.ByteContentItemOrBuilder> getByteItemFieldBuilder() { if (byteItemBuilder_ == null) { if (!(dataItemCase_ == 5)) { dataItem_ = com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance(); } - byteItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( + byteItemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ByteContentItem, + com.google.privacy.dlp.v2.ByteContentItem.Builder, + com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( (com.google.privacy.dlp.v2.ByteContentItem) dataItem_, getParentForChildren(), isClean()); dataItem_ = null; } dataItemCase_ = 5; - onChanged();; + onChanged(); + ; return byteItemBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ContentItem) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ContentItem) private static final com.google.privacy.dlp.v2.ContentItem DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ContentItem(); } @@ -1231,16 +1366,16 @@ public static com.google.privacy.dlp.v2.ContentItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContentItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentItem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContentItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContentItem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1255,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ContentItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java index 09fa56ea..07826488 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java @@ -1,42 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ContentItemOrBuilder extends +public interface ContentItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentItem) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * String data to inspect or redact.
    * 
* * string value = 3; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * String data to inspect or redact.
    * 
* * string value = 3; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * String data to inspect or redact.
    * 
* * string value = 3; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -44,10 +70,13 @@ public interface ContentItemOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -55,10 +84,13 @@ public interface ContentItemOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return The table. */ com.google.privacy.dlp.v2.Table getTable(); /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -70,24 +102,32 @@ public interface ContentItemOrBuilder extends
   com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder();
 
   /**
+   *
+   *
    * 
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; + * * @return Whether the byteItem field is set. */ boolean hasByteItem(); /** + * + * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 5; + * * @return The byteItem. */ com.google.privacy.dlp.v2.ByteContentItem getByteItem(); /** + * + * *
    * Content data to inspect or redact. Replaces `type` and `data`.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java index 0c2770d0..3a01e73f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Precise location of the finding within a document, record, image, or metadata
  * container.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.ContentLocation}
  */
-public final class ContentLocation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContentLocation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ContentLocation)
     ContentLocationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContentLocation.newBuilder() to construct.
   private ContentLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContentLocation() {
     containerName_ = "";
     containerVersion_ = "";
@@ -27,16 +45,15 @@ private ContentLocation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContentLocation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ContentLocation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,123 +72,139 @@ private ContentLocation(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            containerName_ = s;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.RecordLocation.Builder subBuilder = null;
-            if (locationCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.RecordLocation) location_).toBuilder();
+              containerName_ = s;
+              break;
             }
-            location_ =
-                input.readMessage(com.google.privacy.dlp.v2.RecordLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordLocation) location_);
-              location_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.RecordLocation.Builder subBuilder = null;
+              if (locationCase_ == 2) {
+                subBuilder = ((com.google.privacy.dlp.v2.RecordLocation) location_).toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RecordLocation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordLocation) location_);
+                location_ = subBuilder.buildPartial();
+              }
+              locationCase_ = 2;
+              break;
             }
-            locationCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.ImageLocation.Builder subBuilder = null;
-            if (locationCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.ImageLocation) location_).toBuilder();
-            }
-            location_ =
-                input.readMessage(com.google.privacy.dlp.v2.ImageLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageLocation) location_);
-              location_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.ImageLocation.Builder subBuilder = null;
+              if (locationCase_ == 3) {
+                subBuilder = ((com.google.privacy.dlp.v2.ImageLocation) location_).toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.ImageLocation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageLocation) location_);
+                location_ = subBuilder.buildPartial();
+              }
+              locationCase_ = 3;
+              break;
             }
-            locationCase_ = 3;
-            break;
-          }
-          case 42: {
-            com.google.privacy.dlp.v2.DocumentLocation.Builder subBuilder = null;
-            if (locationCase_ == 5) {
-              subBuilder = ((com.google.privacy.dlp.v2.DocumentLocation) location_).toBuilder();
-            }
-            location_ =
-                input.readMessage(com.google.privacy.dlp.v2.DocumentLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.DocumentLocation) location_);
-              location_ = subBuilder.buildPartial();
-            }
-            locationCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (containerTimestamp_ != null) {
-              subBuilder = containerTimestamp_.toBuilder();
+          case 42:
+            {
+              com.google.privacy.dlp.v2.DocumentLocation.Builder subBuilder = null;
+              if (locationCase_ == 5) {
+                subBuilder = ((com.google.privacy.dlp.v2.DocumentLocation) location_).toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.DocumentLocation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.DocumentLocation) location_);
+                location_ = subBuilder.buildPartial();
+              }
+              locationCase_ = 5;
+              break;
             }
-            containerTimestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(containerTimestamp_);
-              containerTimestamp_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (containerTimestamp_ != null) {
+                subBuilder = containerTimestamp_.toBuilder();
+              }
+              containerTimestamp_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(containerTimestamp_);
+                containerTimestamp_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            containerVersion_ = s;
-            break;
-          }
-          case 66: {
-            com.google.privacy.dlp.v2.MetadataLocation.Builder subBuilder = null;
-            if (locationCase_ == 8) {
-              subBuilder = ((com.google.privacy.dlp.v2.MetadataLocation) location_).toBuilder();
+              containerVersion_ = s;
+              break;
             }
-            location_ =
-                input.readMessage(com.google.privacy.dlp.v2.MetadataLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) location_);
-              location_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.privacy.dlp.v2.MetadataLocation.Builder subBuilder = null;
+              if (locationCase_ == 8) {
+                subBuilder = ((com.google.privacy.dlp.v2.MetadataLocation) location_).toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.MetadataLocation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) location_);
+                location_ = subBuilder.buildPartial();
+              }
+              locationCase_ = 8;
+              break;
             }
-            locationCase_ = 8;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.ContentLocation.class, com.google.privacy.dlp.v2.ContentLocation.Builder.class);
+            com.google.privacy.dlp.v2.ContentLocation.class,
+            com.google.privacy.dlp.v2.ContentLocation.Builder.class);
   }
 
   private int locationCase_ = 0;
   private java.lang.Object location_;
+
   public enum LocationCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RECORD_LOCATION(2),
     IMAGE_LOCATION(3),
@@ -179,6 +212,7 @@ public enum LocationCase
     METADATA_LOCATION(8),
     LOCATION_NOT_SET(0);
     private final int value;
+
     private LocationCase(int value) {
       this.value = value;
     }
@@ -194,28 +228,35 @@ public static LocationCase valueOf(int value) {
 
     public static LocationCase forNumber(int value) {
       switch (value) {
-        case 2: return RECORD_LOCATION;
-        case 3: return IMAGE_LOCATION;
-        case 5: return DOCUMENT_LOCATION;
-        case 8: return METADATA_LOCATION;
-        case 0: return LOCATION_NOT_SET;
-        default: return null;
+        case 2:
+          return RECORD_LOCATION;
+        case 3:
+          return IMAGE_LOCATION;
+        case 5:
+          return DOCUMENT_LOCATION;
+        case 8:
+          return METADATA_LOCATION;
+        case 0:
+          return LOCATION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public LocationCase
-  getLocationCase() {
-    return LocationCase.forNumber(
-        locationCase_);
+  public LocationCase getLocationCase() {
+    return LocationCase.forNumber(locationCase_);
   }
 
   public static final int CONTAINER_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object containerName_;
   /**
+   *
+   *
    * 
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -228,6 +269,7 @@ public int getNumber() {
    * 
* * string container_name = 1; + * * @return The containerName. */ @java.lang.Override @@ -236,14 +278,15 @@ public java.lang.String getContainerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerName_ = s; return s; } } /** + * + * *
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -256,16 +299,15 @@ public java.lang.String getContainerName() {
    * 
* * string container_name = 1; + * * @return The bytes for containerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getContainerNameBytes() { + public com.google.protobuf.ByteString getContainerNameBytes() { java.lang.Object ref = containerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); containerName_ = b; return b; } else { @@ -275,11 +317,14 @@ public java.lang.String getContainerName() { public static final int RECORD_LOCATION_FIELD_NUMBER = 2; /** + * + * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; + * * @return Whether the recordLocation field is set. */ @java.lang.Override @@ -287,21 +332,26 @@ public boolean hasRecordLocation() { return locationCase_ == 2; } /** + * + * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; + * * @return The recordLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { if (locationCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordLocation) location_; + return (com.google.privacy.dlp.v2.RecordLocation) location_; } return com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance(); } /** + * + * *
    * Location within a row or record of a database table.
    * 
@@ -311,18 +361,21 @@ public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { @java.lang.Override public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuilder() { if (locationCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordLocation) location_; + return (com.google.privacy.dlp.v2.RecordLocation) location_; } return com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance(); } public static final int IMAGE_LOCATION_FIELD_NUMBER = 3; /** + * + * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; + * * @return Whether the imageLocation field is set. */ @java.lang.Override @@ -330,21 +383,26 @@ public boolean hasImageLocation() { return locationCase_ == 3; } /** + * + * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; + * * @return The imageLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { if (locationCase_ == 3) { - return (com.google.privacy.dlp.v2.ImageLocation) location_; + return (com.google.privacy.dlp.v2.ImageLocation) location_; } return com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance(); } /** + * + * *
    * Location within an image's pixels.
    * 
@@ -354,18 +412,21 @@ public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { @java.lang.Override public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilder() { if (locationCase_ == 3) { - return (com.google.privacy.dlp.v2.ImageLocation) location_; + return (com.google.privacy.dlp.v2.ImageLocation) location_; } return com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance(); } public static final int DOCUMENT_LOCATION_FIELD_NUMBER = 5; /** + * + * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; + * * @return Whether the documentLocation field is set. */ @java.lang.Override @@ -373,21 +434,26 @@ public boolean hasDocumentLocation() { return locationCase_ == 5; } /** + * + * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; + * * @return The documentLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { if (locationCase_ == 5) { - return (com.google.privacy.dlp.v2.DocumentLocation) location_; + return (com.google.privacy.dlp.v2.DocumentLocation) location_; } return com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } /** + * + * *
    * Location data for document files.
    * 
@@ -397,18 +463,21 @@ public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { @java.lang.Override public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOrBuilder() { if (locationCase_ == 5) { - return (com.google.privacy.dlp.v2.DocumentLocation) location_; + return (com.google.privacy.dlp.v2.DocumentLocation) location_; } return com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } public static final int METADATA_LOCATION_FIELD_NUMBER = 8; /** + * + * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * * @return Whether the metadataLocation field is set. */ @java.lang.Override @@ -416,21 +485,26 @@ public boolean hasMetadataLocation() { return locationCase_ == 8; } /** + * + * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * * @return The metadataLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { if (locationCase_ == 8) { - return (com.google.privacy.dlp.v2.MetadataLocation) location_; + return (com.google.privacy.dlp.v2.MetadataLocation) location_; } return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); } /** + * + * *
    * Location within the metadata for inspected content.
    * 
@@ -440,7 +514,7 @@ public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { @java.lang.Override public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder() { if (locationCase_ == 8) { - return (com.google.privacy.dlp.v2.MetadataLocation) location_; + return (com.google.privacy.dlp.v2.MetadataLocation) location_; } return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); } @@ -448,6 +522,8 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp containerTimestamp_; /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -456,6 +532,7 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return Whether the containerTimestamp field is set. */ @java.lang.Override @@ -463,6 +540,8 @@ public boolean hasContainerTimestamp() { return containerTimestamp_ != null; } /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -471,13 +550,18 @@ public boolean hasContainerTimestamp() {
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return The containerTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getContainerTimestamp() { - return containerTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; + return containerTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : containerTimestamp_; } /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -495,12 +579,15 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
   public static final int CONTAINER_VERSION_FIELD_NUMBER = 7;
   private volatile java.lang.Object containerVersion_;
   /**
+   *
+   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; + * * @return The containerVersion. */ @java.lang.Override @@ -509,30 +596,30 @@ public java.lang.String getContainerVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerVersion_ = s; return s; } } /** + * + * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; + * * @return The bytes for containerVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getContainerVersionBytes() { + public com.google.protobuf.ByteString getContainerVersionBytes() { java.lang.Object ref = containerVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); containerVersion_ = b; return b; } else { @@ -541,6 +628,7 @@ public java.lang.String getContainerVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -552,8 +640,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, containerName_); } @@ -588,27 +675,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, containerName_); } if (locationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.RecordLocation) location_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.RecordLocation) location_); } if (locationCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.ImageLocation) location_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.ImageLocation) location_); } if (locationCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.DocumentLocation) location_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.DocumentLocation) location_); } if (containerTimestamp_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getContainerTimestamp()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getContainerTimestamp()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, containerVersion_); } if (locationCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.privacy.dlp.v2.MetadataLocation) location_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.privacy.dlp.v2.MetadataLocation) location_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -618,39 +708,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ContentLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ContentLocation other = (com.google.privacy.dlp.v2.ContentLocation) obj; + com.google.privacy.dlp.v2.ContentLocation other = + (com.google.privacy.dlp.v2.ContentLocation) obj; - if (!getContainerName() - .equals(other.getContainerName())) return false; + if (!getContainerName().equals(other.getContainerName())) return false; if (hasContainerTimestamp() != other.hasContainerTimestamp()) return false; if (hasContainerTimestamp()) { - if (!getContainerTimestamp() - .equals(other.getContainerTimestamp())) return false; + if (!getContainerTimestamp().equals(other.getContainerTimestamp())) return false; } - if (!getContainerVersion() - .equals(other.getContainerVersion())) return false; + if (!getContainerVersion().equals(other.getContainerVersion())) return false; if (!getLocationCase().equals(other.getLocationCase())) return false; switch (locationCase_) { case 2: - if (!getRecordLocation() - .equals(other.getRecordLocation())) return false; + if (!getRecordLocation().equals(other.getRecordLocation())) return false; break; case 3: - if (!getImageLocation() - .equals(other.getImageLocation())) return false; + if (!getImageLocation().equals(other.getImageLocation())) return false; break; case 5: - if (!getDocumentLocation() - .equals(other.getDocumentLocation())) return false; + if (!getDocumentLocation().equals(other.getDocumentLocation())) return false; break; case 8: - if (!getMetadataLocation() - .equals(other.getMetadataLocation())) return false; + if (!getMetadataLocation().equals(other.getMetadataLocation())) return false; break; case 0: default: @@ -699,97 +783,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ContentLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ContentLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ContentLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ContentLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ContentLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ContentLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Precise location of the finding within a document, record, image, or metadata
    * container.
@@ -797,21 +888,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.ContentLocation}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ContentLocation)
       com.google.privacy.dlp.v2.ContentLocationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.ContentLocation.class, com.google.privacy.dlp.v2.ContentLocation.Builder.class);
+              com.google.privacy.dlp.v2.ContentLocation.class,
+              com.google.privacy.dlp.v2.ContentLocation.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.ContentLocation.newBuilder()
@@ -819,16 +912,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -848,9 +940,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_ContentLocation_descriptor;
     }
 
     @java.lang.Override
@@ -869,7 +961,8 @@ public com.google.privacy.dlp.v2.ContentLocation build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.ContentLocation buildPartial() {
-      com.google.privacy.dlp.v2.ContentLocation result = new com.google.privacy.dlp.v2.ContentLocation(this);
+      com.google.privacy.dlp.v2.ContentLocation result =
+          new com.google.privacy.dlp.v2.ContentLocation(this);
       result.containerName_ = containerName_;
       if (locationCase_ == 2) {
         if (recordLocationBuilder_ == null) {
@@ -914,38 +1007,39 @@ public com.google.privacy.dlp.v2.ContentLocation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.ContentLocation) {
-        return mergeFrom((com.google.privacy.dlp.v2.ContentLocation)other);
+        return mergeFrom((com.google.privacy.dlp.v2.ContentLocation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -966,25 +1060,30 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ContentLocation other) {
         onChanged();
       }
       switch (other.getLocationCase()) {
-        case RECORD_LOCATION: {
-          mergeRecordLocation(other.getRecordLocation());
-          break;
-        }
-        case IMAGE_LOCATION: {
-          mergeImageLocation(other.getImageLocation());
-          break;
-        }
-        case DOCUMENT_LOCATION: {
-          mergeDocumentLocation(other.getDocumentLocation());
-          break;
-        }
-        case METADATA_LOCATION: {
-          mergeMetadataLocation(other.getMetadataLocation());
-          break;
-        }
-        case LOCATION_NOT_SET: {
-          break;
-        }
+        case RECORD_LOCATION:
+          {
+            mergeRecordLocation(other.getRecordLocation());
+            break;
+          }
+        case IMAGE_LOCATION:
+          {
+            mergeImageLocation(other.getImageLocation());
+            break;
+          }
+        case DOCUMENT_LOCATION:
+          {
+            mergeDocumentLocation(other.getDocumentLocation());
+            break;
+          }
+        case METADATA_LOCATION:
+          {
+            mergeMetadataLocation(other.getMetadataLocation());
+            break;
+          }
+        case LOCATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1014,12 +1113,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int locationCase_ = 0;
     private java.lang.Object location_;
-    public LocationCase
-        getLocationCase() {
-      return LocationCase.forNumber(
-          locationCase_);
+
+    public LocationCase getLocationCase() {
+      return LocationCase.forNumber(locationCase_);
     }
 
     public Builder clearLocation() {
@@ -1029,9 +1128,10 @@ public Builder clearLocation() {
       return this;
     }
 
-
     private java.lang.Object containerName_ = "";
     /**
+     *
+     *
      * 
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1044,13 +1144,13 @@ public Builder clearLocation() {
      * 
* * string container_name = 1; + * * @return The containerName. */ public java.lang.String getContainerName() { java.lang.Object ref = containerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerName_ = s; return s; @@ -1059,6 +1159,8 @@ public java.lang.String getContainerName() { } } /** + * + * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1071,15 +1173,14 @@ public java.lang.String getContainerName() {
      * 
* * string container_name = 1; + * * @return The bytes for containerName. */ - public com.google.protobuf.ByteString - getContainerNameBytes() { + public com.google.protobuf.ByteString getContainerNameBytes() { java.lang.Object ref = containerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); containerName_ = b; return b; } else { @@ -1087,6 +1188,8 @@ public java.lang.String getContainerName() { } } /** + * + * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1099,20 +1202,22 @@ public java.lang.String getContainerName() {
      * 
* * string container_name = 1; + * * @param value The containerName to set. * @return This builder for chaining. */ - public Builder setContainerName( - java.lang.String value) { + public Builder setContainerName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + containerName_ = value; onChanged(); return this; } /** + * + * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1125,15 +1230,18 @@ public Builder setContainerName(
      * 
* * string container_name = 1; + * * @return This builder for chaining. */ public Builder clearContainerName() { - + containerName_ = getDefaultInstance().getContainerName(); onChanged(); return this; } /** + * + * *
      * Name of the container where the finding is located.
      * The top level name is the source file name or table name. Names of some
@@ -1146,29 +1254,35 @@ public Builder clearContainerName() {
      * 
* * string container_name = 1; + * * @param value The bytes for containerName to set. * @return This builder for chaining. */ - public Builder setContainerNameBytes( - com.google.protobuf.ByteString value) { + public Builder setContainerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + containerName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordLocation, com.google.privacy.dlp.v2.RecordLocation.Builder, com.google.privacy.dlp.v2.RecordLocationOrBuilder> recordLocationBuilder_; + com.google.privacy.dlp.v2.RecordLocation, + com.google.privacy.dlp.v2.RecordLocation.Builder, + com.google.privacy.dlp.v2.RecordLocationOrBuilder> + recordLocationBuilder_; /** + * + * *
      * Location within a row or record of a database table.
      * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; + * * @return Whether the recordLocation field is set. */ @java.lang.Override @@ -1176,11 +1290,14 @@ public boolean hasRecordLocation() { return locationCase_ == 2; } /** + * + * *
      * Location within a row or record of a database table.
      * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; + * * @return The recordLocation. */ @java.lang.Override @@ -1198,6 +1315,8 @@ public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { } } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1218,6 +1337,8 @@ public Builder setRecordLocation(com.google.privacy.dlp.v2.RecordLocation value) return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1236,6 +1357,8 @@ public Builder setRecordLocation( return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1244,10 +1367,13 @@ public Builder setRecordLocation( */ public Builder mergeRecordLocation(com.google.privacy.dlp.v2.RecordLocation value) { if (recordLocationBuilder_ == null) { - if (locationCase_ == 2 && - location_ != com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance()) { - location_ = com.google.privacy.dlp.v2.RecordLocation.newBuilder((com.google.privacy.dlp.v2.RecordLocation) location_) - .mergeFrom(value).buildPartial(); + if (locationCase_ == 2 + && location_ != com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance()) { + location_ = + com.google.privacy.dlp.v2.RecordLocation.newBuilder( + (com.google.privacy.dlp.v2.RecordLocation) location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -1262,6 +1388,8 @@ public Builder mergeRecordLocation(com.google.privacy.dlp.v2.RecordLocation valu return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1285,6 +1413,8 @@ public Builder clearRecordLocation() { return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1295,6 +1425,8 @@ public com.google.privacy.dlp.v2.RecordLocation.Builder getRecordLocationBuilder return getRecordLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1313,6 +1445,8 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil } } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1320,32 +1454,44 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil * .google.privacy.dlp.v2.RecordLocation record_location = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordLocation, com.google.privacy.dlp.v2.RecordLocation.Builder, com.google.privacy.dlp.v2.RecordLocationOrBuilder> + com.google.privacy.dlp.v2.RecordLocation, + com.google.privacy.dlp.v2.RecordLocation.Builder, + com.google.privacy.dlp.v2.RecordLocationOrBuilder> getRecordLocationFieldBuilder() { if (recordLocationBuilder_ == null) { if (!(locationCase_ == 2)) { location_ = com.google.privacy.dlp.v2.RecordLocation.getDefaultInstance(); } - recordLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordLocation, com.google.privacy.dlp.v2.RecordLocation.Builder, com.google.privacy.dlp.v2.RecordLocationOrBuilder>( + recordLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordLocation, + com.google.privacy.dlp.v2.RecordLocation.Builder, + com.google.privacy.dlp.v2.RecordLocationOrBuilder>( (com.google.privacy.dlp.v2.RecordLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 2; - onChanged();; + onChanged(); + ; return recordLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageLocation, com.google.privacy.dlp.v2.ImageLocation.Builder, com.google.privacy.dlp.v2.ImageLocationOrBuilder> imageLocationBuilder_; + com.google.privacy.dlp.v2.ImageLocation, + com.google.privacy.dlp.v2.ImageLocation.Builder, + com.google.privacy.dlp.v2.ImageLocationOrBuilder> + imageLocationBuilder_; /** + * + * *
      * Location within an image's pixels.
      * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; + * * @return Whether the imageLocation field is set. */ @java.lang.Override @@ -1353,11 +1499,14 @@ public boolean hasImageLocation() { return locationCase_ == 3; } /** + * + * *
      * Location within an image's pixels.
      * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; + * * @return The imageLocation. */ @java.lang.Override @@ -1375,6 +1524,8 @@ public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { } } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1395,6 +1546,8 @@ public Builder setImageLocation(com.google.privacy.dlp.v2.ImageLocation value) { return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1413,6 +1566,8 @@ public Builder setImageLocation( return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1421,10 +1576,13 @@ public Builder setImageLocation( */ public Builder mergeImageLocation(com.google.privacy.dlp.v2.ImageLocation value) { if (imageLocationBuilder_ == null) { - if (locationCase_ == 3 && - location_ != com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance()) { - location_ = com.google.privacy.dlp.v2.ImageLocation.newBuilder((com.google.privacy.dlp.v2.ImageLocation) location_) - .mergeFrom(value).buildPartial(); + if (locationCase_ == 3 + && location_ != com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance()) { + location_ = + com.google.privacy.dlp.v2.ImageLocation.newBuilder( + (com.google.privacy.dlp.v2.ImageLocation) location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -1439,6 +1597,8 @@ public Builder mergeImageLocation(com.google.privacy.dlp.v2.ImageLocation value) return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1462,6 +1622,8 @@ public Builder clearImageLocation() { return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1472,6 +1634,8 @@ public com.google.privacy.dlp.v2.ImageLocation.Builder getImageLocationBuilder() return getImageLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1490,6 +1654,8 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde } } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1497,32 +1663,44 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde * .google.privacy.dlp.v2.ImageLocation image_location = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageLocation, com.google.privacy.dlp.v2.ImageLocation.Builder, com.google.privacy.dlp.v2.ImageLocationOrBuilder> + com.google.privacy.dlp.v2.ImageLocation, + com.google.privacy.dlp.v2.ImageLocation.Builder, + com.google.privacy.dlp.v2.ImageLocationOrBuilder> getImageLocationFieldBuilder() { if (imageLocationBuilder_ == null) { if (!(locationCase_ == 3)) { location_ = com.google.privacy.dlp.v2.ImageLocation.getDefaultInstance(); } - imageLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageLocation, com.google.privacy.dlp.v2.ImageLocation.Builder, com.google.privacy.dlp.v2.ImageLocationOrBuilder>( + imageLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageLocation, + com.google.privacy.dlp.v2.ImageLocation.Builder, + com.google.privacy.dlp.v2.ImageLocationOrBuilder>( (com.google.privacy.dlp.v2.ImageLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 3; - onChanged();; + onChanged(); + ; return imageLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DocumentLocation, com.google.privacy.dlp.v2.DocumentLocation.Builder, com.google.privacy.dlp.v2.DocumentLocationOrBuilder> documentLocationBuilder_; + com.google.privacy.dlp.v2.DocumentLocation, + com.google.privacy.dlp.v2.DocumentLocation.Builder, + com.google.privacy.dlp.v2.DocumentLocationOrBuilder> + documentLocationBuilder_; /** + * + * *
      * Location data for document files.
      * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; + * * @return Whether the documentLocation field is set. */ @java.lang.Override @@ -1530,11 +1708,14 @@ public boolean hasDocumentLocation() { return locationCase_ == 5; } /** + * + * *
      * Location data for document files.
      * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; + * * @return The documentLocation. */ @java.lang.Override @@ -1552,6 +1733,8 @@ public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { } } /** + * + * *
      * Location data for document files.
      * 
@@ -1572,6 +1755,8 @@ public Builder setDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation va return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1590,6 +1775,8 @@ public Builder setDocumentLocation( return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1598,10 +1785,13 @@ public Builder setDocumentLocation( */ public Builder mergeDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation value) { if (documentLocationBuilder_ == null) { - if (locationCase_ == 5 && - location_ != com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance()) { - location_ = com.google.privacy.dlp.v2.DocumentLocation.newBuilder((com.google.privacy.dlp.v2.DocumentLocation) location_) - .mergeFrom(value).buildPartial(); + if (locationCase_ == 5 + && location_ != com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance()) { + location_ = + com.google.privacy.dlp.v2.DocumentLocation.newBuilder( + (com.google.privacy.dlp.v2.DocumentLocation) location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -1616,6 +1806,8 @@ public Builder mergeDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1639,6 +1831,8 @@ public Builder clearDocumentLocation() { return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1649,6 +1843,8 @@ public com.google.privacy.dlp.v2.DocumentLocation.Builder getDocumentLocationBui return getDocumentLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location data for document files.
      * 
@@ -1667,6 +1863,8 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr } } /** + * + * *
      * Location data for document files.
      * 
@@ -1674,32 +1872,44 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr * .google.privacy.dlp.v2.DocumentLocation document_location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DocumentLocation, com.google.privacy.dlp.v2.DocumentLocation.Builder, com.google.privacy.dlp.v2.DocumentLocationOrBuilder> + com.google.privacy.dlp.v2.DocumentLocation, + com.google.privacy.dlp.v2.DocumentLocation.Builder, + com.google.privacy.dlp.v2.DocumentLocationOrBuilder> getDocumentLocationFieldBuilder() { if (documentLocationBuilder_ == null) { if (!(locationCase_ == 5)) { location_ = com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } - documentLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DocumentLocation, com.google.privacy.dlp.v2.DocumentLocation.Builder, com.google.privacy.dlp.v2.DocumentLocationOrBuilder>( + documentLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DocumentLocation, + com.google.privacy.dlp.v2.DocumentLocation.Builder, + com.google.privacy.dlp.v2.DocumentLocationOrBuilder>( (com.google.privacy.dlp.v2.DocumentLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 5; - onChanged();; + onChanged(); + ; return documentLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.MetadataLocation, com.google.privacy.dlp.v2.MetadataLocation.Builder, com.google.privacy.dlp.v2.MetadataLocationOrBuilder> metadataLocationBuilder_; + com.google.privacy.dlp.v2.MetadataLocation, + com.google.privacy.dlp.v2.MetadataLocation.Builder, + com.google.privacy.dlp.v2.MetadataLocationOrBuilder> + metadataLocationBuilder_; /** + * + * *
      * Location within the metadata for inspected content.
      * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * * @return Whether the metadataLocation field is set. */ @java.lang.Override @@ -1707,11 +1917,14 @@ public boolean hasMetadataLocation() { return locationCase_ == 8; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * * @return The metadataLocation. */ @java.lang.Override @@ -1729,6 +1942,8 @@ public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { } } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1749,6 +1964,8 @@ public Builder setMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation va return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1767,6 +1984,8 @@ public Builder setMetadataLocation( return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1775,10 +1994,13 @@ public Builder setMetadataLocation( */ public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation value) { if (metadataLocationBuilder_ == null) { - if (locationCase_ == 8 && - location_ != com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance()) { - location_ = com.google.privacy.dlp.v2.MetadataLocation.newBuilder((com.google.privacy.dlp.v2.MetadataLocation) location_) - .mergeFrom(value).buildPartial(); + if (locationCase_ == 8 + && location_ != com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance()) { + location_ = + com.google.privacy.dlp.v2.MetadataLocation.newBuilder( + (com.google.privacy.dlp.v2.MetadataLocation) location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -1793,6 +2015,8 @@ public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1816,6 +2040,8 @@ public Builder clearMetadataLocation() { return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1826,6 +2052,8 @@ public com.google.privacy.dlp.v2.MetadataLocation.Builder getMetadataLocationBui return getMetadataLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1844,6 +2072,8 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr } } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1851,28 +2081,39 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.MetadataLocation, com.google.privacy.dlp.v2.MetadataLocation.Builder, com.google.privacy.dlp.v2.MetadataLocationOrBuilder> + com.google.privacy.dlp.v2.MetadataLocation, + com.google.privacy.dlp.v2.MetadataLocation.Builder, + com.google.privacy.dlp.v2.MetadataLocationOrBuilder> getMetadataLocationFieldBuilder() { if (metadataLocationBuilder_ == null) { if (!(locationCase_ == 8)) { location_ = com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); } - metadataLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.MetadataLocation, com.google.privacy.dlp.v2.MetadataLocation.Builder, com.google.privacy.dlp.v2.MetadataLocationOrBuilder>( + metadataLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.MetadataLocation, + com.google.privacy.dlp.v2.MetadataLocation.Builder, + com.google.privacy.dlp.v2.MetadataLocationOrBuilder>( (com.google.privacy.dlp.v2.MetadataLocation) location_, getParentForChildren(), isClean()); location_ = null; } locationCase_ = 8; - onChanged();; + onChanged(); + ; return metadataLocationBuilder_; } private com.google.protobuf.Timestamp containerTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> containerTimestampBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + containerTimestampBuilder_; /** + * + * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1881,12 +2122,15 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return Whether the containerTimestamp field is set. */ public boolean hasContainerTimestamp() { return containerTimestampBuilder_ != null || containerTimestamp_ != null; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1895,16 +2139,21 @@ public boolean hasContainerTimestamp() {
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return The containerTimestamp. */ public com.google.protobuf.Timestamp getContainerTimestamp() { if (containerTimestampBuilder_ == null) { - return containerTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; + return containerTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : containerTimestamp_; } else { return containerTimestampBuilder_.getMessage(); } } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1928,6 +2177,8 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1937,8 +2188,7 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
-    public Builder setContainerTimestamp(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setContainerTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (containerTimestampBuilder_ == null) {
         containerTimestamp_ = builderForValue.build();
         onChanged();
@@ -1949,6 +2199,8 @@ public Builder setContainerTimestamp(
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1962,7 +2214,9 @@ public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) {
       if (containerTimestampBuilder_ == null) {
         if (containerTimestamp_ != null) {
           containerTimestamp_ =
-            com.google.protobuf.Timestamp.newBuilder(containerTimestamp_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(containerTimestamp_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           containerTimestamp_ = value;
         }
@@ -1974,6 +2228,8 @@ public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -1995,6 +2251,8 @@ public Builder clearContainerTimestamp() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2005,11 +2263,13 @@ public Builder clearContainerTimestamp() {
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
     public com.google.protobuf.Timestamp.Builder getContainerTimestampBuilder() {
-      
+
       onChanged();
       return getContainerTimestampFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2023,11 +2283,14 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
       if (containerTimestampBuilder_ != null) {
         return containerTimestampBuilder_.getMessageOrBuilder();
       } else {
-        return containerTimestamp_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_;
+        return containerTimestamp_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : containerTimestamp_;
       }
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable.
      * For Google Cloud Storage contains last file modification timestamp.
@@ -2038,14 +2301,17 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
     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>
         getContainerTimestampFieldBuilder() {
       if (containerTimestampBuilder_ == null) {
-        containerTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getContainerTimestamp(),
-                getParentForChildren(),
-                isClean());
+        containerTimestampBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getContainerTimestamp(), getParentForChildren(), isClean());
         containerTimestamp_ = null;
       }
       return containerTimestampBuilder_;
@@ -2053,19 +2319,21 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
 
     private java.lang.Object containerVersion_ = "";
     /**
+     *
+     *
      * 
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; + * * @return The containerVersion. */ public java.lang.String getContainerVersion() { java.lang.Object ref = containerVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerVersion_ = s; return s; @@ -2074,21 +2342,22 @@ public java.lang.String getContainerVersion() { } } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; + * * @return The bytes for containerVersion. */ - public com.google.protobuf.ByteString - getContainerVersionBytes() { + public com.google.protobuf.ByteString getContainerVersionBytes() { java.lang.Object ref = containerVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); containerVersion_ = b; return b; } else { @@ -2096,64 +2365,71 @@ public java.lang.String getContainerVersion() { } } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; + * * @param value The containerVersion to set. * @return This builder for chaining. */ - public Builder setContainerVersion( - java.lang.String value) { + public Builder setContainerVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + containerVersion_ = value; onChanged(); return this; } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; + * * @return This builder for chaining. */ public Builder clearContainerVersion() { - + containerVersion_ = getDefaultInstance().getContainerVersion(); onChanged(); return this; } /** + * + * *
      * Findings container version, if available
      * ("generation" for Google Cloud Storage).
      * 
* * string container_version = 7; + * * @param value The bytes for containerVersion to set. * @return This builder for chaining. */ - public Builder setContainerVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setContainerVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + containerVersion_ = 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); } @@ -2163,12 +2439,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ContentLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ContentLocation) private static final com.google.privacy.dlp.v2.ContentLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ContentLocation(); } @@ -2177,16 +2453,16 @@ public static com.google.privacy.dlp.v2.ContentLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContentLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContentLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContentLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2201,6 +2477,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ContentLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java similarity index 86% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java index e5802998..d37ce023 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ContentLocationOrBuilder extends +public interface ContentLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -20,10 +38,13 @@ public interface ContentLocationOrBuilder extends
    * 
* * string container_name = 1; + * * @return The containerName. */ java.lang.String getContainerName(); /** + * + * *
    * Name of the container where the finding is located.
    * The top level name is the source file name or table name. Names of some
@@ -36,30 +57,38 @@ public interface ContentLocationOrBuilder extends
    * 
* * string container_name = 1; + * * @return The bytes for containerName. */ - com.google.protobuf.ByteString - getContainerNameBytes(); + com.google.protobuf.ByteString getContainerNameBytes(); /** + * + * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; + * * @return Whether the recordLocation field is set. */ boolean hasRecordLocation(); /** + * + * *
    * Location within a row or record of a database table.
    * 
* * .google.privacy.dlp.v2.RecordLocation record_location = 2; + * * @return The recordLocation. */ com.google.privacy.dlp.v2.RecordLocation getRecordLocation(); /** + * + * *
    * Location within a row or record of a database table.
    * 
@@ -69,24 +98,32 @@ public interface ContentLocationOrBuilder extends com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuilder(); /** + * + * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; + * * @return Whether the imageLocation field is set. */ boolean hasImageLocation(); /** + * + * *
    * Location within an image's pixels.
    * 
* * .google.privacy.dlp.v2.ImageLocation image_location = 3; + * * @return The imageLocation. */ com.google.privacy.dlp.v2.ImageLocation getImageLocation(); /** + * + * *
    * Location within an image's pixels.
    * 
@@ -96,24 +133,32 @@ public interface ContentLocationOrBuilder extends com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilder(); /** + * + * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; + * * @return Whether the documentLocation field is set. */ boolean hasDocumentLocation(); /** + * + * *
    * Location data for document files.
    * 
* * .google.privacy.dlp.v2.DocumentLocation document_location = 5; + * * @return The documentLocation. */ com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation(); /** + * + * *
    * Location data for document files.
    * 
@@ -123,24 +168,32 @@ public interface ContentLocationOrBuilder extends com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOrBuilder(); /** + * + * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * * @return Whether the metadataLocation field is set. */ boolean hasMetadataLocation(); /** + * + * *
    * Location within the metadata for inspected content.
    * 
* * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * * @return The metadataLocation. */ com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation(); /** + * + * *
    * Location within the metadata for inspected content.
    * 
@@ -150,6 +203,8 @@ public interface ContentLocationOrBuilder extends com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -158,10 +213,13 @@ public interface ContentLocationOrBuilder extends
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return Whether the containerTimestamp field is set. */ boolean hasContainerTimestamp(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -170,10 +228,13 @@ public interface ContentLocationOrBuilder extends
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return The containerTimestamp. */ com.google.protobuf.Timestamp getContainerTimestamp(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * For Google Cloud Storage contains last file modification timestamp.
@@ -186,26 +247,31 @@ public interface ContentLocationOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder();
 
   /**
+   *
+   *
    * 
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; + * * @return The containerVersion. */ java.lang.String getContainerVersion(); /** + * + * *
    * Findings container version, if available
    * ("generation" for Google Cloud Storage).
    * 
* * string container_version = 7; + * * @return The bytes for containerVersion. */ - com.google.protobuf.ByteString - getContainerVersionBytes(); + com.google.protobuf.ByteString getContainerVersionBytes(); public com.google.privacy.dlp.v2.ContentLocation.LocationCase getLocationCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java index 08a6c33a..48802658 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentOption.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Deprecated and unused.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.ContentOption} */ -public enum ContentOption - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentOption implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Includes entire content of a file or a data stream.
    * 
@@ -21,6 +39,8 @@ public enum ContentOption */ CONTENT_UNSPECIFIED(0), /** + * + * *
    * Text content within the data, excluding any metadata.
    * 
@@ -29,6 +49,8 @@ public enum ContentOption */ CONTENT_TEXT(1), /** + * + * *
    * Images found in the data.
    * 
@@ -40,6 +62,8 @@ public enum ContentOption ; /** + * + * *
    * Includes entire content of a file or a data stream.
    * 
@@ -48,6 +72,8 @@ public enum ContentOption */ public static final int CONTENT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Text content within the data, excluding any metadata.
    * 
@@ -56,6 +82,8 @@ public enum ContentOption */ public static final int CONTENT_TEXT_VALUE = 1; /** + * + * *
    * Images found in the data.
    * 
@@ -64,7 +92,6 @@ public enum ContentOption */ public static final int CONTENT_IMAGE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static ContentOption valueOf(int value) { */ public static ContentOption forNumber(int value) { switch (value) { - case 0: return CONTENT_UNSPECIFIED; - case 1: return CONTENT_TEXT; - case 2: return CONTENT_IMAGE; - default: return null; + case 0: + return CONTENT_UNSPECIFIED; + case 1: + return CONTENT_TEXT; + case 2: + return CONTENT_IMAGE; + 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< - ContentOption> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentOption findValueByNumber(int number) { - return ContentOption.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 ContentOption findValueByNumber(int number) { + return ContentOption.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(2); } private static final ContentOption[] VALUES = values(); - public static ContentOption valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentOption 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 ContentOption(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.ContentOption) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java index d1654ee9..c8b07d22 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for CreateDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateDeidentifyTemplateRequest} */ -public final class CreateDeidentifyTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) CreateDeidentifyTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDeidentifyTemplateRequest.newBuilder() to construct. - private CreateDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDeidentifyTemplateRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDeidentifyTemplateRequest() { parent_ = ""; templateId_ = ""; @@ -27,16 +46,15 @@ private CreateDeidentifyTemplateRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,72 +73,82 @@ private CreateDeidentifyTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; - if (deidentifyTemplate_ != null) { - subBuilder = deidentifyTemplate_.toBuilder(); - } - deidentifyTemplate_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deidentifyTemplate_); - deidentifyTemplate_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; + if (deidentifyTemplate_ != null) { + subBuilder = deidentifyTemplate_.toBuilder(); + } + deidentifyTemplate_ = + input.readMessage( + com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deidentifyTemplate_); + deidentifyTemplate_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - templateId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + templateId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -140,7 +168,10 @@ private CreateDeidentifyTemplateRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -149,14 +180,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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -176,17 +208,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -197,11 +230,16 @@ public java.lang.String getParent() { public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; /** + * + * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deidentifyTemplate field is set. */ @java.lang.Override @@ -209,23 +247,34 @@ public boolean hasDeidentifyTemplate() { return deidentifyTemplate_ != null; } /** + * + * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deidentifyTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { - return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; + return deidentifyTemplate_ == null + ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() + : deidentifyTemplate_; } /** + * + * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder() { @@ -235,6 +284,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla public static final int TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object templateId_; /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -243,6 +294,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
    * 
* * string template_id = 3; + * * @return The templateId. */ @java.lang.Override @@ -251,14 +303,15 @@ public java.lang.String getTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; } } /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -267,16 +320,15 @@ public java.lang.String getTemplateId() {
    * 
* * string template_id = 3; + * * @return The bytes for templateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTemplateIdBytes() { + public com.google.protobuf.ByteString getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateId_ = b; return b; } else { @@ -287,11 +339,14 @@ public java.lang.String getTemplateId() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ @java.lang.Override @@ -300,29 +355,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -331,6 +386,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,8 +398,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -369,8 +424,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (deidentifyTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeidentifyTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); @@ -386,24 +440,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.privacy.dlp.v2.CreateDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest other = + (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasDeidentifyTemplate() != other.hasDeidentifyTemplate()) return false; if (hasDeidentifyTemplate()) { - if (!getDeidentifyTemplate() - .equals(other.getDeidentifyTemplate())) return false; + if (!getDeidentifyTemplate().equals(other.getDeidentifyTemplate())) return false; } - if (!getTemplateId() - .equals(other.getTemplateId())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getTemplateId().equals(other.getTemplateId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,117 +482,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateDeidentifyTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.newBuilder() @@ -549,16 +610,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -599,7 +659,8 @@ public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest result = + new com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest(this); result.parent_ = parent_; if (deidentifyTemplateBuilder_ == null) { result.deidentifyTemplate_ = deidentifyTemplate_; @@ -616,38 +677,39 @@ public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -655,7 +717,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +753,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,6 +766,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -721,14 +787,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -737,6 +805,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -756,16 +826,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -773,6 +844,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -792,21 +865,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -826,16 +903,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -855,17 +937,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -873,39 +957,58 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> deidentifyTemplateBuilder_; + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + deidentifyTemplateBuilder_; /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deidentifyTemplate field is set. */ public boolean hasDeidentifyTemplate() { return deidentifyTemplateBuilder_ != null || deidentifyTemplate_ != null; } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deidentifyTemplate. */ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { if (deidentifyTemplateBuilder_ == null) { - return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; + return deidentifyTemplate_ == null + ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() + : deidentifyTemplate_; } else { return deidentifyTemplateBuilder_.getMessage(); } } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplate value) { if (deidentifyTemplateBuilder_ == null) { @@ -921,11 +1024,15 @@ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplat return this; } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeidentifyTemplate( com.google.privacy.dlp.v2.DeidentifyTemplate.Builder builderForValue) { @@ -939,17 +1046,23 @@ public Builder setDeidentifyTemplate( return this; } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplate value) { if (deidentifyTemplateBuilder_ == null) { if (deidentifyTemplate_ != null) { deidentifyTemplate_ = - com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_) + .mergeFrom(value) + .buildPartial(); } else { deidentifyTemplate_ = value; } @@ -961,11 +1074,15 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl return this; } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeidentifyTemplate() { if (deidentifyTemplateBuilder_ == null) { @@ -979,48 +1096,64 @@ public Builder clearDeidentifyTemplate() { return this; } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplateBuilder() { - + onChanged(); return getDeidentifyTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder() { if (deidentifyTemplateBuilder_ != null) { return deidentifyTemplateBuilder_.getMessageOrBuilder(); } else { - return deidentifyTemplate_ == null ? - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; + return deidentifyTemplate_ == null + ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() + : deidentifyTemplate_; } } /** + * + * *
      * Required. The DeidentifyTemplate to create.
      * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> getDeidentifyTemplateFieldBuilder() { if (deidentifyTemplateBuilder_ == null) { - deidentifyTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( - getDeidentifyTemplate(), - getParentForChildren(), - isClean()); + deidentifyTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( + getDeidentifyTemplate(), getParentForChildren(), isClean()); deidentifyTemplate_ = null; } return deidentifyTemplateBuilder_; @@ -1028,6 +1161,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla private java.lang.Object templateId_ = ""; /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1036,13 +1171,13 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
      * 
* * string template_id = 3; + * * @return The templateId. */ public java.lang.String getTemplateId() { java.lang.Object ref = templateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; @@ -1051,6 +1186,8 @@ public java.lang.String getTemplateId() { } } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1059,15 +1196,14 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 3; + * * @return The bytes for templateId. */ - public com.google.protobuf.ByteString - getTemplateIdBytes() { + public com.google.protobuf.ByteString getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateId_ = b; return b; } else { @@ -1075,6 +1211,8 @@ public java.lang.String getTemplateId() { } } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1083,20 +1221,22 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 3; + * * @param value The templateId to set. * @return This builder for chaining. */ - public Builder setTemplateId( - java.lang.String value) { + public Builder setTemplateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateId_ = value; onChanged(); return this; } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1105,15 +1245,18 @@ public Builder setTemplateId(
      * 
* * string template_id = 3; + * * @return This builder for chaining. */ public Builder clearTemplateId() { - + templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1122,16 +1265,16 @@ public Builder clearTemplateId() {
      * 
* * string template_id = 3; + * * @param value The bytes for templateId to set. * @return This builder for chaining. */ - public Builder setTemplateIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateId_ = value; onChanged(); return this; @@ -1139,18 +1282,20 @@ public Builder setTemplateIdBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1159,20 +1304,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1180,61 +1326,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1244,12 +1397,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest(); } @@ -1258,16 +1411,16 @@ public static com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1282,6 +1435,4 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java index 1aa65a92..a0b0df27 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateDeidentifyTemplateRequestOrBuilder extends +public interface CreateDeidentifyTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -27,11 +45,16 @@ public interface CreateDeidentifyTemplateRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -51,40 +74,58 @@ public interface CreateDeidentifyTemplateRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 DeidentifyTemplate to create.
    * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deidentifyTemplate field is set. */ boolean hasDeidentifyTemplate(); /** + * + * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deidentifyTemplate. */ com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate(); /** + * + * *
    * Required. The DeidentifyTemplate to create.
    * 
* - * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder(); /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -93,10 +134,13 @@ public interface CreateDeidentifyTemplateRequestOrBuilder extends
    * 
* * string template_id = 3; + * * @return The templateId. */ java.lang.String getTemplateId(); /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -105,28 +149,33 @@ public interface CreateDeidentifyTemplateRequestOrBuilder extends
    * 
* * string template_id = 3; + * * @return The bytes for templateId. */ - com.google.protobuf.ByteString - getTemplateIdBytes(); + com.google.protobuf.ByteString getTemplateIdBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java index db5e7b5c..a039046e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for CreateDlpJobRequest. Used to initiate long running
  * jobs such as calculating risk metrics or inspecting Google Cloud
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CreateDlpJobRequest}
  */
-public final class CreateDlpJobRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateDlpJobRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateDlpJobRequest)
     CreateDlpJobRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateDlpJobRequest.newBuilder() to construct.
   private CreateDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateDlpJobRequest() {
     parent_ = "";
     jobId_ = "";
@@ -29,16 +47,15 @@ private CreateDlpJobRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateDlpJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateDlpJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,93 +74,105 @@ private CreateDlpJobRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
-            if (jobCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
+              parent_ = s;
+              break;
             }
-            job_ =
-                input.readMessage(com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
-              job_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
+              if (jobCase_ == 2) {
+                subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
+              }
+              job_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
+                job_ = subBuilder.buildPartial();
+              }
+              jobCase_ = 2;
+              break;
             }
-            jobCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null;
-            if (jobCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_).toBuilder();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder subBuilder = null;
+              if (jobCase_ == 3) {
+                subBuilder = ((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_).toBuilder();
+              }
+              job_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_);
+                job_ = subBuilder.buildPartial();
+              }
+              jobCase_ = 3;
+              break;
             }
-            job_ =
-                input.readMessage(com.google.privacy.dlp.v2.RiskAnalysisJobConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_);
-              job_ = subBuilder.buildPartial();
-            }
-            jobCase_ = 3;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            jobId_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              jobId_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            locationId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              locationId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CreateDlpJobRequest.class, com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
+            com.google.privacy.dlp.v2.CreateDlpJobRequest.class,
+            com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
   }
 
   private int jobCase_ = 0;
   private java.lang.Object job_;
+
   public enum JobCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INSPECT_JOB(2),
     RISK_JOB(3),
     JOB_NOT_SET(0);
     private final int value;
+
     private JobCase(int value) {
       this.value = value;
     }
@@ -159,26 +188,31 @@ public static JobCase valueOf(int value) {
 
     public static JobCase forNumber(int value) {
       switch (value) {
-        case 2: return INSPECT_JOB;
-        case 3: return RISK_JOB;
-        case 0: return JOB_NOT_SET;
-        default: return null;
+        case 2:
+          return INSPECT_JOB;
+        case 3:
+          return RISK_JOB;
+        case 0:
+          return JOB_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public JobCase
-  getJobCase() {
-    return JobCase.forNumber(
-        jobCase_);
+  public JobCase getJobCase() {
+    return JobCase.forNumber(jobCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -194,7 +228,10 @@ public int getNumber() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -203,14 +240,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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -226,17 +264,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -246,11 +285,14 @@ public java.lang.String getParent() { public static final int INSPECT_JOB_FIELD_NUMBER = 2; /** + * + * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; + * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -258,21 +300,26 @@ public boolean hasInspectJob() { return jobCase_ == 2; } /** + * + * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; + * * @return The inspectJob. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { if (jobCase_ == 2) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } /** + * + * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
@@ -282,19 +329,22 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder() { if (jobCase_ == 2) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } public static final int RISK_JOB_FIELD_NUMBER = 3; /** + * + * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; + * * @return Whether the riskJob field is set. */ @java.lang.Override @@ -302,22 +352,27 @@ public boolean hasRiskJob() { return jobCase_ == 3; } /** + * + * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; + * * @return The riskJob. */ @java.lang.Override public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { if (jobCase_ == 3) { - return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_; + return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_; } return com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance(); } /** + * + * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
@@ -328,7 +383,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder() {
     if (jobCase_ == 3) {
-       return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_;
+      return (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_;
     }
     return com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance();
   }
@@ -336,6 +391,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
   public static final int JOB_ID_FIELD_NUMBER = 4;
   private volatile java.lang.Object jobId_;
   /**
+   *
+   *
    * 
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -344,6 +401,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
    * 
* * string job_id = 4; + * * @return The jobId. */ @java.lang.Override @@ -352,14 +410,15 @@ public java.lang.String getJobId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; } } /** + * + * *
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -368,16 +427,15 @@ public java.lang.String getJobId() {
    * 
* * string job_id = 4; + * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobId_ = b; return b; } else { @@ -388,11 +446,14 @@ public java.lang.String getJobId() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ @java.lang.Override @@ -401,29 +462,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -432,6 +493,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,8 +505,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,12 +534,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.InspectJobConfig) job_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.InspectJobConfig) job_); } if (jobCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobId_); @@ -494,28 +557,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.privacy.dlp.v2.CreateDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateDlpJobRequest other = (com.google.privacy.dlp.v2.CreateDlpJobRequest) obj; + com.google.privacy.dlp.v2.CreateDlpJobRequest other = + (com.google.privacy.dlp.v2.CreateDlpJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getJobId().equals(other.getJobId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!getJobCase().equals(other.getJobCase())) return false; switch (jobCase_) { case 2: - if (!getInspectJob() - .equals(other.getInspectJob())) return false; + if (!getInspectJob().equals(other.getInspectJob())) return false; break; case 3: - if (!getRiskJob() - .equals(other.getRiskJob())) return false; + if (!getRiskJob().equals(other.getRiskJob())) return false; break; case 0: default: @@ -554,97 +613,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CreateDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateDlpJobRequest. Used to initiate long running
    * jobs such as calculating risk metrics or inspecting Google Cloud
@@ -653,21 +719,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CreateDlpJobRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateDlpJobRequest)
       com.google.privacy.dlp.v2.CreateDlpJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CreateDlpJobRequest.class, com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
+              com.google.privacy.dlp.v2.CreateDlpJobRequest.class,
+              com.google.privacy.dlp.v2.CreateDlpJobRequest.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CreateDlpJobRequest.newBuilder()
@@ -675,16 +743,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -700,9 +767,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -721,7 +788,8 @@ public com.google.privacy.dlp.v2.CreateDlpJobRequest build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CreateDlpJobRequest buildPartial() {
-      com.google.privacy.dlp.v2.CreateDlpJobRequest result = new com.google.privacy.dlp.v2.CreateDlpJobRequest(this);
+      com.google.privacy.dlp.v2.CreateDlpJobRequest result =
+          new com.google.privacy.dlp.v2.CreateDlpJobRequest(this);
       result.parent_ = parent_;
       if (jobCase_ == 2) {
         if (inspectJobBuilder_ == null) {
@@ -748,38 +816,39 @@ public com.google.privacy.dlp.v2.CreateDlpJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CreateDlpJobRequest) {
-        return mergeFrom((com.google.privacy.dlp.v2.CreateDlpJobRequest)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CreateDlpJobRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -801,17 +870,20 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateDlpJobRequest other) {
         onChanged();
       }
       switch (other.getJobCase()) {
-        case INSPECT_JOB: {
-          mergeInspectJob(other.getInspectJob());
-          break;
-        }
-        case RISK_JOB: {
-          mergeRiskJob(other.getRiskJob());
-          break;
-        }
-        case JOB_NOT_SET: {
-          break;
-        }
+        case INSPECT_JOB:
+          {
+            mergeInspectJob(other.getInspectJob());
+            break;
+          }
+        case RISK_JOB:
+          {
+            mergeRiskJob(other.getRiskJob());
+            break;
+          }
+        case JOB_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -841,12 +913,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int jobCase_ = 0;
     private java.lang.Object job_;
-    public JobCase
-        getJobCase() {
-      return JobCase.forNumber(
-          jobCase_);
+
+    public JobCase getJobCase() {
+      return JobCase.forNumber(jobCase_);
     }
 
     public Builder clearJob() {
@@ -856,9 +928,10 @@ public Builder clearJob() {
       return this;
     }
 
-
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -874,14 +947,16 @@ public Builder clearJob() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -890,6 +965,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -905,16 +982,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -922,6 +1000,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -937,21 +1017,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -967,16 +1051,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -992,30 +1081,38 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> inspectJobBuilder_; + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + inspectJobBuilder_; /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; + * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -1023,11 +1120,14 @@ public boolean hasInspectJob() { return jobCase_ == 2; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; + * * @return The inspectJob. */ @java.lang.Override @@ -1045,6 +1145,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1065,6 +1167,8 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1083,6 +1187,8 @@ public Builder setInspectJob( return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1091,10 +1197,13 @@ public Builder setInspectJob( */ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { if (inspectJobBuilder_ == null) { - if (jobCase_ == 2 && - job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { - job_ = com.google.privacy.dlp.v2.InspectJobConfig.newBuilder((com.google.privacy.dlp.v2.InspectJobConfig) job_) - .mergeFrom(value).buildPartial(); + if (jobCase_ == 2 + && job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { + job_ = + com.google.privacy.dlp.v2.InspectJobConfig.newBuilder( + (com.google.privacy.dlp.v2.InspectJobConfig) job_) + .mergeFrom(value) + .buildPartial(); } else { job_ = value; } @@ -1109,6 +1218,8 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1132,6 +1243,8 @@ public Builder clearInspectJob() { return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1142,6 +1255,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1160,6 +1275,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1167,33 +1284,45 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> getInspectJobFieldBuilder() { if (inspectJobBuilder_ == null) { if (!(jobCase_ == 2)) { job_ = com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } - inspectJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( + inspectJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( (com.google.privacy.dlp.v2.InspectJobConfig) job_, getParentForChildren(), isClean()); job_ = null; } jobCase_ = 2; - onChanged();; + onChanged(); + ; return inspectJobBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> riskJobBuilder_; + com.google.privacy.dlp.v2.RiskAnalysisJobConfig, + com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, + com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> + riskJobBuilder_; /** + * + * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; + * * @return Whether the riskJob field is set. */ @java.lang.Override @@ -1201,12 +1330,15 @@ public boolean hasRiskJob() { return jobCase_ == 3; } /** + * + * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; + * * @return The riskJob. */ @java.lang.Override @@ -1224,6 +1356,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { } } /** + * + * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1245,6 +1379,8 @@ public Builder setRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1264,6 +1400,8 @@ public Builder setRiskJob(
       return this;
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1273,10 +1411,13 @@ public Builder setRiskJob(
      */
     public Builder mergeRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value) {
       if (riskJobBuilder_ == null) {
-        if (jobCase_ == 3 &&
-            job_ != com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) {
-          job_ = com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_)
-              .mergeFrom(value).buildPartial();
+        if (jobCase_ == 3
+            && job_ != com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) {
+          job_ =
+              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder(
+                      (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           job_ = value;
         }
@@ -1291,6 +1432,8 @@ public Builder mergeRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu
       return this;
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1315,6 +1458,8 @@ public Builder clearRiskJob() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1326,6 +1471,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder getRiskJobBuilder
       return getRiskJobFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1345,6 +1492,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1353,26 +1502,34 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
      * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder> 
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>
         getRiskJobFieldBuilder() {
       if (riskJobBuilder_ == null) {
         if (!(jobCase_ == 3)) {
           job_ = com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance();
         }
-        riskJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder, com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>(
+        riskJobBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.RiskAnalysisJobConfig,
+                com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder,
+                com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder>(
                 (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) job_,
                 getParentForChildren(),
                 isClean());
         job_ = null;
       }
       jobCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return riskJobBuilder_;
     }
 
     private java.lang.Object jobId_ = "";
     /**
+     *
+     *
      * 
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1381,13 +1538,13 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
      * 
* * string job_id = 4; + * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; @@ -1396,6 +1553,8 @@ public java.lang.String getJobId() { } } /** + * + * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1404,15 +1563,14 @@ public java.lang.String getJobId() {
      * 
* * string job_id = 4; + * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString - getJobIdBytes() { + public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobId_ = b; return b; } else { @@ -1420,6 +1578,8 @@ public java.lang.String getJobId() { } } /** + * + * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1428,20 +1588,22 @@ public java.lang.String getJobId() {
      * 
* * string job_id = 4; + * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId( - java.lang.String value) { + public Builder setJobId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobId_ = value; onChanged(); return this; } /** + * + * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1450,15 +1612,18 @@ public Builder setJobId(
      * 
* * string job_id = 4; + * * @return This builder for chaining. */ public Builder clearJobId() { - + jobId_ = getDefaultInstance().getJobId(); onChanged(); return this; } /** + * + * *
      * The job id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1467,16 +1632,16 @@ public Builder clearJobId() {
      * 
* * string job_id = 4; + * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { + public Builder setJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobId_ = value; onChanged(); return this; @@ -1484,18 +1649,20 @@ public Builder setJobIdBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1504,20 +1671,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1525,61 +1693,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1589,12 +1764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateDlpJobRequest) private static final com.google.privacy.dlp.v2.CreateDlpJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateDlpJobRequest(); } @@ -1603,16 +1778,16 @@ public static com.google.privacy.dlp.v2.CreateDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1627,6 +1802,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CreateDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java index 11637913..234e12e8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateDlpJobRequestOrBuilder extends +public interface CreateDlpJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateDlpJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -23,11 +41,16 @@ public interface CreateDlpJobRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -43,31 +66,41 @@ public interface CreateDlpJobRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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(); /** + * + * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; + * * @return Whether the inspectJob field is set. */ boolean hasInspectJob(); /** + * + * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; + * * @return The inspectJob. */ com.google.privacy.dlp.v2.InspectJobConfig getInspectJob(); /** + * + * *
    * An inspection job scans a storage repository for InfoTypes.
    * 
@@ -77,26 +110,34 @@ public interface CreateDlpJobRequestOrBuilder extends com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder(); /** + * + * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; + * * @return Whether the riskJob field is set. */ boolean hasRiskJob(); /** + * + * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; + * * @return The riskJob. */ com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob(); /** + * + * *
    * A risk analysis job calculates re-identification risk metrics for a
    * BigQuery table.
@@ -107,6 +148,8 @@ public interface CreateDlpJobRequestOrBuilder extends
   com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder();
 
   /**
+   *
+   *
    * 
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -115,10 +158,13 @@ public interface CreateDlpJobRequestOrBuilder extends
    * 
* * string job_id = 4; + * * @return The jobId. */ java.lang.String getJobId(); /** + * + * *
    * The job id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -127,30 +173,35 @@ public interface CreateDlpJobRequestOrBuilder extends
    * 
* * string job_id = 4; + * * @return The bytes for jobId. */ - com.google.protobuf.ByteString - getJobIdBytes(); + com.google.protobuf.ByteString getJobIdBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); public com.google.privacy.dlp.v2.CreateDlpJobRequest.JobCase getJobCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java index 0d9357a5..857f22e5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for CreateInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateInspectTemplateRequest} */ -public final class CreateInspectTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateInspectTemplateRequest) CreateInspectTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInspectTemplateRequest.newBuilder() to construct. private CreateInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInspectTemplateRequest() { parent_ = ""; templateId_ = ""; @@ -27,16 +45,15 @@ private CreateInspectTemplateRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,72 +72,82 @@ private CreateInspectTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; - if (inspectTemplate_ != null) { - subBuilder = inspectTemplate_.toBuilder(); - } - inspectTemplate_ = input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectTemplate_); - inspectTemplate_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; + if (inspectTemplate_ != null) { + subBuilder = inspectTemplate_.toBuilder(); + } + inspectTemplate_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectTemplate_); + inspectTemplate_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - templateId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + templateId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -140,7 +167,10 @@ private CreateInspectTemplateRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -149,14 +179,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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -176,17 +207,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -197,11 +229,16 @@ public java.lang.String getParent() { public static final int INSPECT_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; /** + * + * *
    * Required. The InspectTemplate to create.
    * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the inspectTemplate field is set. */ @java.lang.Override @@ -209,23 +246,34 @@ public boolean hasInspectTemplate() { return inspectTemplate_ != null; } /** + * + * *
    * Required. The InspectTemplate to create.
    * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The inspectTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { - return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; + return inspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : inspectTemplate_; } /** + * + * *
    * Required. The InspectTemplate to create.
    * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder() { @@ -235,6 +283,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu public static final int TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object templateId_; /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -243,6 +293,7 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
    * 
* * string template_id = 3; + * * @return The templateId. */ @java.lang.Override @@ -251,14 +302,15 @@ public java.lang.String getTemplateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; } } /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -267,16 +319,15 @@ public java.lang.String getTemplateId() {
    * 
* * string template_id = 3; + * * @return The bytes for templateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTemplateIdBytes() { + public com.google.protobuf.ByteString getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateId_ = b; return b; } else { @@ -287,11 +338,14 @@ public java.lang.String getTemplateId() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ @java.lang.Override @@ -300,29 +354,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -331,6 +385,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -369,8 +423,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (inspectTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInspectTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectTemplate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); @@ -386,24 +439,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.privacy.dlp.v2.CreateInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateInspectTemplateRequest other = (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.CreateInspectTemplateRequest other = + (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasInspectTemplate() != other.hasInspectTemplate()) return false; if (hasInspectTemplate()) { - if (!getInspectTemplate() - .equals(other.getInspectTemplate())) return false; + if (!getInspectTemplate().equals(other.getInspectTemplate())) return false; } - if (!getTemplateId() - .equals(other.getTemplateId())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getTemplateId().equals(other.getTemplateId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,117 +481,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CreateInspectTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CreateInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateInspectTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateInspectTemplateRequest) com.google.privacy.dlp.v2.CreateInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.class, + com.google.privacy.dlp.v2.CreateInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateInspectTemplateRequest.newBuilder() @@ -549,16 +609,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +637,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; } @java.lang.Override @@ -599,7 +658,8 @@ public com.google.privacy.dlp.v2.CreateInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.CreateInspectTemplateRequest result = new com.google.privacy.dlp.v2.CreateInspectTemplateRequest(this); + com.google.privacy.dlp.v2.CreateInspectTemplateRequest result = + new com.google.privacy.dlp.v2.CreateInspectTemplateRequest(this); result.parent_ = parent_; if (inspectTemplateBuilder_ == null) { result.inspectTemplate_ = inspectTemplate_; @@ -616,38 +676,39 @@ public com.google.privacy.dlp.v2.CreateInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateInspectTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.CreateInspectTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -655,7 +716,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.CreateInspectTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.CreateInspectTemplateRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +752,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CreateInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,6 +765,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -721,14 +786,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -737,6 +804,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -756,16 +825,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -773,6 +843,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -792,21 +864,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -826,16 +902,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -855,17 +936,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -873,39 +956,58 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> inspectTemplateBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + inspectTemplateBuilder_; /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the inspectTemplate field is set. */ public boolean hasInspectTemplate() { return inspectTemplateBuilder_ != null || inspectTemplate_ != null; } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The inspectTemplate. */ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { if (inspectTemplateBuilder_ == null) { - return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; + return inspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : inspectTemplate_; } else { return inspectTemplateBuilder_.getMessage(); } } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplateBuilder_ == null) { @@ -921,11 +1023,15 @@ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate valu return this; } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInspectTemplate( com.google.privacy.dlp.v2.InspectTemplate.Builder builderForValue) { @@ -939,17 +1045,23 @@ public Builder setInspectTemplate( return this; } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplateBuilder_ == null) { if (inspectTemplate_ != null) { inspectTemplate_ = - com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_) + .mergeFrom(value) + .buildPartial(); } else { inspectTemplate_ = value; } @@ -961,11 +1073,15 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va return this; } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInspectTemplate() { if (inspectTemplateBuilder_ == null) { @@ -979,48 +1095,64 @@ public Builder clearInspectTemplate() { return this; } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplateBuilder() { - + onChanged(); return getInspectTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder() { if (inspectTemplateBuilder_ != null) { return inspectTemplateBuilder_.getMessageOrBuilder(); } else { - return inspectTemplate_ == null ? - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; + return inspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : inspectTemplate_; } } /** + * + * *
      * Required. The InspectTemplate to create.
      * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> getInspectTemplateFieldBuilder() { if (inspectTemplateBuilder_ == null) { - inspectTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( - getInspectTemplate(), - getParentForChildren(), - isClean()); + inspectTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( + getInspectTemplate(), getParentForChildren(), isClean()); inspectTemplate_ = null; } return inspectTemplateBuilder_; @@ -1028,6 +1160,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu private java.lang.Object templateId_ = ""; /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1036,13 +1170,13 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
      * 
* * string template_id = 3; + * * @return The templateId. */ public java.lang.String getTemplateId() { java.lang.Object ref = templateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; @@ -1051,6 +1185,8 @@ public java.lang.String getTemplateId() { } } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1059,15 +1195,14 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 3; + * * @return The bytes for templateId. */ - public com.google.protobuf.ByteString - getTemplateIdBytes() { + public com.google.protobuf.ByteString getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); templateId_ = b; return b; } else { @@ -1075,6 +1210,8 @@ public java.lang.String getTemplateId() { } } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1083,20 +1220,22 @@ public java.lang.String getTemplateId() {
      * 
* * string template_id = 3; + * * @param value The templateId to set. * @return This builder for chaining. */ - public Builder setTemplateId( - java.lang.String value) { + public Builder setTemplateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateId_ = value; onChanged(); return this; } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1105,15 +1244,18 @@ public Builder setTemplateId(
      * 
* * string template_id = 3; + * * @return This builder for chaining. */ public Builder clearTemplateId() { - + templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** + * + * *
      * The template id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1122,16 +1264,16 @@ public Builder clearTemplateId() {
      * 
* * string template_id = 3; + * * @param value The bytes for templateId to set. * @return This builder for chaining. */ - public Builder setTemplateIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateId_ = value; onChanged(); return this; @@ -1139,18 +1281,20 @@ public Builder setTemplateIdBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1159,20 +1303,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1180,61 +1325,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1244,12 +1396,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateInspectTemplateRequest) private static final com.google.privacy.dlp.v2.CreateInspectTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateInspectTemplateRequest(); } @@ -1258,16 +1410,16 @@ public static com.google.privacy.dlp.v2.CreateInspectTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1282,6 +1434,4 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.CreateInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java index 22c9b64f..d39a1fb4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateInspectTemplateRequestOrBuilder extends +public interface CreateInspectTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateInspectTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -27,11 +45,16 @@ public interface CreateInspectTemplateRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -51,40 +74,58 @@ public interface CreateInspectTemplateRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 InspectTemplate to create.
    * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the inspectTemplate field is set. */ boolean hasInspectTemplate(); /** + * + * *
    * Required. The InspectTemplate to create.
    * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The inspectTemplate. */ com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate(); /** + * + * *
    * Required. The InspectTemplate to create.
    * 
* - * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder(); /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -93,10 +134,13 @@ public interface CreateInspectTemplateRequestOrBuilder extends
    * 
* * string template_id = 3; + * * @return The templateId. */ java.lang.String getTemplateId(); /** + * + * *
    * The template id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -105,28 +149,33 @@ public interface CreateInspectTemplateRequestOrBuilder extends
    * 
* * string template_id = 3; + * * @return The bytes for templateId. */ - com.google.protobuf.ByteString - getTemplateIdBytes(); + com.google.protobuf.ByteString getTemplateIdBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java index 67624455..51742477 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for CreateJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateJobTriggerRequest} */ -public final class CreateJobTriggerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateJobTriggerRequest) CreateJobTriggerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobTriggerRequest.newBuilder() to construct. private CreateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobTriggerRequest() { parent_ = ""; triggerId_ = ""; @@ -27,16 +45,15 @@ private CreateJobTriggerRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,72 +72,82 @@ private CreateJobTriggerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; - if (jobTrigger_ != null) { - subBuilder = jobTrigger_.toBuilder(); - } - jobTrigger_ = input.readMessage(com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobTrigger_); - jobTrigger_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; + if (jobTrigger_ != null) { + subBuilder = jobTrigger_.toBuilder(); + } + jobTrigger_ = + input.readMessage( + com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobTrigger_); + jobTrigger_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - triggerId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + triggerId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, + com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -136,7 +163,10 @@ private CreateJobTriggerRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -145,14 +175,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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -168,17 +199,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -189,11 +221,16 @@ public java.lang.String getParent() { public static final int JOB_TRIGGER_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; /** + * + * *
    * Required. The JobTrigger to create.
    * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the jobTrigger field is set. */ @java.lang.Override @@ -201,23 +238,34 @@ public boolean hasJobTrigger() { return jobTrigger_ != null; } /** + * + * *
    * Required. The JobTrigger to create.
    * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The jobTrigger. */ @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { - return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; + return jobTrigger_ == null + ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() + : jobTrigger_; } /** + * + * *
    * Required. The JobTrigger to create.
    * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { @@ -227,6 +275,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { public static final int TRIGGER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object triggerId_; /** + * + * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -235,6 +285,7 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
    * 
* * string trigger_id = 3; + * * @return The triggerId. */ @java.lang.Override @@ -243,14 +294,15 @@ public java.lang.String getTriggerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerId_ = s; return s; } } /** + * + * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -259,16 +311,15 @@ public java.lang.String getTriggerId() {
    * 
* * string trigger_id = 3; + * * @return The bytes for triggerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTriggerIdBytes() { + public com.google.protobuf.ByteString getTriggerIdBytes() { java.lang.Object ref = triggerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); triggerId_ = b; return b; } else { @@ -279,11 +330,14 @@ public java.lang.String getTriggerId() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ @java.lang.Override @@ -292,29 +346,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -323,6 +377,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -361,8 +415,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJobTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTrigger()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(triggerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, triggerId_); @@ -378,24 +431,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.privacy.dlp.v2.CreateJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateJobTriggerRequest other = (com.google.privacy.dlp.v2.CreateJobTriggerRequest) obj; + com.google.privacy.dlp.v2.CreateJobTriggerRequest other = + (com.google.privacy.dlp.v2.CreateJobTriggerRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasJobTrigger() != other.hasJobTrigger()) return false; if (hasJobTrigger()) { - if (!getJobTrigger() - .equals(other.getJobTrigger())) return false; + if (!getJobTrigger().equals(other.getJobTrigger())) return false; } - if (!getTriggerId() - .equals(other.getTriggerId())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getTriggerId().equals(other.getTriggerId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,117 +473,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CreateJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateJobTriggerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateJobTriggerRequest) com.google.privacy.dlp.v2.CreateJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.CreateJobTriggerRequest.class, + com.google.privacy.dlp.v2.CreateJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateJobTriggerRequest.newBuilder() @@ -541,16 +600,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +628,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; } @java.lang.Override @@ -591,7 +649,8 @@ public com.google.privacy.dlp.v2.CreateJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.CreateJobTriggerRequest result = new com.google.privacy.dlp.v2.CreateJobTriggerRequest(this); + com.google.privacy.dlp.v2.CreateJobTriggerRequest result = + new com.google.privacy.dlp.v2.CreateJobTriggerRequest(this); result.parent_ = parent_; if (jobTriggerBuilder_ == null) { result.jobTrigger_ = jobTrigger_; @@ -608,38 +667,39 @@ public com.google.privacy.dlp.v2.CreateJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateJobTriggerRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.CreateJobTriggerRequest) other); } else { super.mergeFrom(other); return this; @@ -647,7 +707,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.CreateJobTriggerRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.CreateJobTriggerRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -682,7 +743,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CreateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CreateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -694,6 +756,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -709,14 +773,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -725,6 +791,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -740,16 +808,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -757,6 +826,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -772,21 +843,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -802,16 +877,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -827,17 +907,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -845,39 +927,58 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> jobTriggerBuilder_; + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder> + jobTriggerBuilder_; /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the jobTrigger field is set. */ public boolean hasJobTrigger() { return jobTriggerBuilder_ != null || jobTrigger_ != null; } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The jobTrigger. */ public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { if (jobTriggerBuilder_ == null) { - return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; + return jobTrigger_ == null + ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() + : jobTrigger_; } else { return jobTriggerBuilder_.getMessage(); } } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggerBuilder_ == null) { @@ -893,14 +994,17 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobTrigger( - com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { + public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { if (jobTriggerBuilder_ == null) { jobTrigger_ = builderForValue.build(); onChanged(); @@ -911,17 +1015,23 @@ public Builder setJobTrigger( return this; } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggerBuilder_ == null) { if (jobTrigger_ != null) { jobTrigger_ = - com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_) + .mergeFrom(value) + .buildPartial(); } else { jobTrigger_ = value; } @@ -933,11 +1043,15 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobTrigger() { if (jobTriggerBuilder_ == null) { @@ -951,48 +1065,64 @@ public Builder clearJobTrigger() { return this; } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggerBuilder() { - + onChanged(); return getJobTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { if (jobTriggerBuilder_ != null) { return jobTriggerBuilder_.getMessageOrBuilder(); } else { - return jobTrigger_ == null ? - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; + return jobTrigger_ == null + ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() + : jobTrigger_; } } /** + * + * *
      * Required. The JobTrigger to create.
      * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder> getJobTriggerFieldBuilder() { if (jobTriggerBuilder_ == null) { - jobTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder>( - getJobTrigger(), - getParentForChildren(), - isClean()); + jobTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder>( + getJobTrigger(), getParentForChildren(), isClean()); jobTrigger_ = null; } return jobTriggerBuilder_; @@ -1000,6 +1130,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { private java.lang.Object triggerId_ = ""; /** + * + * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1008,13 +1140,13 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
      * 
* * string trigger_id = 3; + * * @return The triggerId. */ public java.lang.String getTriggerId() { java.lang.Object ref = triggerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerId_ = s; return s; @@ -1023,6 +1155,8 @@ public java.lang.String getTriggerId() { } } /** + * + * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1031,15 +1165,14 @@ public java.lang.String getTriggerId() {
      * 
* * string trigger_id = 3; + * * @return The bytes for triggerId. */ - public com.google.protobuf.ByteString - getTriggerIdBytes() { + public com.google.protobuf.ByteString getTriggerIdBytes() { java.lang.Object ref = triggerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); triggerId_ = b; return b; } else { @@ -1047,6 +1180,8 @@ public java.lang.String getTriggerId() { } } /** + * + * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1055,20 +1190,22 @@ public java.lang.String getTriggerId() {
      * 
* * string trigger_id = 3; + * * @param value The triggerId to set. * @return This builder for chaining. */ - public Builder setTriggerId( - java.lang.String value) { + public Builder setTriggerId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + triggerId_ = value; onChanged(); return this; } /** + * + * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1077,15 +1214,18 @@ public Builder setTriggerId(
      * 
* * string trigger_id = 3; + * * @return This builder for chaining. */ public Builder clearTriggerId() { - + triggerId_ = getDefaultInstance().getTriggerId(); onChanged(); return this; } /** + * + * *
      * The trigger id can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1094,16 +1234,16 @@ public Builder clearTriggerId() {
      * 
* * string trigger_id = 3; + * * @param value The bytes for triggerId to set. * @return This builder for chaining. */ - public Builder setTriggerIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + triggerId_ = value; onChanged(); return this; @@ -1111,18 +1251,20 @@ public Builder setTriggerIdBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1131,20 +1273,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1152,61 +1295,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1216,12 +1366,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateJobTriggerRequest) private static final com.google.privacy.dlp.v2.CreateJobTriggerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateJobTriggerRequest(); } @@ -1230,16 +1380,16 @@ public static com.google.privacy.dlp.v2.CreateJobTriggerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1254,6 +1404,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CreateJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java index facd33be..982c74cd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateJobTriggerRequestOrBuilder extends +public interface CreateJobTriggerRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateJobTriggerRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -23,11 +41,16 @@ public interface CreateJobTriggerRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -43,40 +66,58 @@ public interface CreateJobTriggerRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 JobTrigger to create.
    * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the jobTrigger field is set. */ boolean hasJobTrigger(); /** + * + * *
    * Required. The JobTrigger to create.
    * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The jobTrigger. */ com.google.privacy.dlp.v2.JobTrigger getJobTrigger(); /** + * + * *
    * Required. The JobTrigger to create.
    * 
* - * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder(); /** + * + * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -85,10 +126,13 @@ public interface CreateJobTriggerRequestOrBuilder extends
    * 
* * string trigger_id = 3; + * * @return The triggerId. */ java.lang.String getTriggerId(); /** + * + * *
    * The trigger id can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -97,28 +141,33 @@ public interface CreateJobTriggerRequestOrBuilder extends
    * 
* * string trigger_id = 3; + * * @return The bytes for triggerId. */ - com.google.protobuf.ByteString - getTriggerIdBytes(); + com.google.protobuf.ByteString getTriggerIdBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java index 2bd41e95..05952426 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for CreateStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateStoredInfoTypeRequest} */ -public final class CreateStoredInfoTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) CreateStoredInfoTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateStoredInfoTypeRequest.newBuilder() to construct. private CreateStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateStoredInfoTypeRequest() { parent_ = ""; storedInfoTypeId_ = ""; @@ -27,16 +45,15 @@ private CreateStoredInfoTypeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,72 +72,82 @@ private CreateStoredInfoTypeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - storedInfoTypeId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + storedInfoTypeId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -140,7 +167,10 @@ private CreateStoredInfoTypeRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -149,14 +179,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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -176,17 +207,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -197,11 +229,16 @@ public java.lang.String getParent() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; /** + * + * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ @java.lang.Override @@ -209,23 +246,34 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { - return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } /** + * + * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder() { @@ -235,6 +283,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde public static final int STORED_INFO_TYPE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object storedInfoTypeId_; /** + * + * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -243,6 +293,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
    * 
* * string stored_info_type_id = 3; + * * @return The storedInfoTypeId. */ @java.lang.Override @@ -251,14 +302,15 @@ public java.lang.String getStoredInfoTypeId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storedInfoTypeId_ = s; return s; } } /** + * + * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -267,16 +319,15 @@ public java.lang.String getStoredInfoTypeId() {
    * 
* * string stored_info_type_id = 3; + * * @return The bytes for storedInfoTypeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getStoredInfoTypeIdBytes() { + public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { java.lang.Object ref = storedInfoTypeId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); storedInfoTypeId_ = b; return b; } else { @@ -287,11 +338,14 @@ public java.lang.String getStoredInfoTypeId() { public static final int LOCATION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ @java.lang.Override @@ -300,29 +354,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -331,6 +385,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -369,8 +423,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storedInfoTypeId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storedInfoTypeId_); @@ -386,24 +439,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.privacy.dlp.v2.CreateStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest other = + (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } - if (!getStoredInfoTypeId() - .equals(other.getStoredInfoTypeId())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getStoredInfoTypeId().equals(other.getStoredInfoTypeId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,117 +481,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CreateStoredInfoTypeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) com.google.privacy.dlp.v2.CreateStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.newBuilder() @@ -549,16 +609,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +637,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -599,7 +658,8 @@ public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest result = + new com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest(this); result.parent_ = parent_; if (configBuilder_ == null) { result.config_ = config_; @@ -616,38 +676,39 @@ public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -655,7 +716,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -690,7 +752,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,6 +765,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -721,14 +786,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -737,6 +804,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -756,16 +825,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -773,6 +843,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -792,21 +864,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -826,16 +902,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -855,17 +936,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -873,39 +956,58 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> configBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeConfig, + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> + configBuilder_; /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { if (configBuilder_ == null) { @@ -921,11 +1023,15 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { return this; } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig( com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder builderForValue) { @@ -939,17 +1045,23 @@ public Builder setConfig( return this; } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -961,11 +1073,15 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) return this; } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConfig() { if (configBuilder_ == null) { @@ -979,48 +1095,64 @@ public Builder clearConfig() { return this; } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } } /** + * + * *
      * Required. Configuration of the storedInfoType to create.
      * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeConfig, + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeConfig, + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; @@ -1028,6 +1160,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde private java.lang.Object storedInfoTypeId_ = ""; /** + * + * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1036,13 +1170,13 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
      * 
* * string stored_info_type_id = 3; + * * @return The storedInfoTypeId. */ public java.lang.String getStoredInfoTypeId() { java.lang.Object ref = storedInfoTypeId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storedInfoTypeId_ = s; return s; @@ -1051,6 +1185,8 @@ public java.lang.String getStoredInfoTypeId() { } } /** + * + * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1059,15 +1195,14 @@ public java.lang.String getStoredInfoTypeId() {
      * 
* * string stored_info_type_id = 3; + * * @return The bytes for storedInfoTypeId. */ - public com.google.protobuf.ByteString - getStoredInfoTypeIdBytes() { + public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { java.lang.Object ref = storedInfoTypeId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); storedInfoTypeId_ = b; return b; } else { @@ -1075,6 +1210,8 @@ public java.lang.String getStoredInfoTypeId() { } } /** + * + * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1083,20 +1220,22 @@ public java.lang.String getStoredInfoTypeId() {
      * 
* * string stored_info_type_id = 3; + * * @param value The storedInfoTypeId to set. * @return This builder for chaining. */ - public Builder setStoredInfoTypeId( - java.lang.String value) { + public Builder setStoredInfoTypeId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + storedInfoTypeId_ = value; onChanged(); return this; } /** + * + * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1105,15 +1244,18 @@ public Builder setStoredInfoTypeId(
      * 
* * string stored_info_type_id = 3; + * * @return This builder for chaining. */ public Builder clearStoredInfoTypeId() { - + storedInfoTypeId_ = getDefaultInstance().getStoredInfoTypeId(); onChanged(); return this; } /** + * + * *
      * The storedInfoType ID can contain uppercase and lowercase letters,
      * numbers, and hyphens; that is, it must match the regular
@@ -1122,16 +1264,16 @@ public Builder clearStoredInfoTypeId() {
      * 
* * string stored_info_type_id = 3; + * * @param value The bytes for storedInfoTypeId to set. * @return This builder for chaining. */ - public Builder setStoredInfoTypeIdBytes( - com.google.protobuf.ByteString value) { + public Builder setStoredInfoTypeIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storedInfoTypeId_ = value; onChanged(); return this; @@ -1139,18 +1281,20 @@ public Builder setStoredInfoTypeIdBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1159,20 +1303,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1180,61 +1325,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 4; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1244,12 +1396,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest(); } @@ -1258,16 +1410,16 @@ public static com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1282,6 +1434,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java index 44c40f52..d18d6db6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CreateStoredInfoTypeRequestOrBuilder extends +public interface CreateStoredInfoTypeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -27,11 +45,16 @@ public interface CreateStoredInfoTypeRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -51,40 +74,58 @@ public interface CreateStoredInfoTypeRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Configuration of the storedInfoType to create.
    * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig(); /** + * + * *
    * Required. Configuration of the storedInfoType to create.
    * 
* - * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder(); /** + * + * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -93,10 +134,13 @@ public interface CreateStoredInfoTypeRequestOrBuilder extends
    * 
* * string stored_info_type_id = 3; + * * @return The storedInfoTypeId. */ java.lang.String getStoredInfoTypeId(); /** + * + * *
    * The storedInfoType ID can contain uppercase and lowercase letters,
    * numbers, and hyphens; that is, it must match the regular
@@ -105,28 +149,33 @@ public interface CreateStoredInfoTypeRequestOrBuilder extends
    * 
* * string stored_info_type_id = 3; + * * @return The bytes for storedInfoTypeId. */ - com.google.protobuf.ByteString - getStoredInfoTypeIdBytes(); + com.google.protobuf.ByteString getStoredInfoTypeIdBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 4; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java index d2a61c9f..8b043b2d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Pseudonymization method that generates deterministic encryption for the given
  * input. Outputs a base64 encoded representation of the encrypted output.
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoDeterministicConfig}
  */
-public final class CryptoDeterministicConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CryptoDeterministicConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoDeterministicConfig)
     CryptoDeterministicConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CryptoDeterministicConfig.newBuilder() to construct.
   private CryptoDeterministicConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CryptoDeterministicConfig() {
-  }
+
+  private CryptoDeterministicConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CryptoDeterministicConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CryptoDeterministicConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,80 +70,91 @@ private CryptoDeterministicConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-            if (cryptoKey_ != null) {
-              subBuilder = cryptoKey_.toBuilder();
-            }
-            cryptoKey_ = input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(cryptoKey_);
-              cryptoKey_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+              if (cryptoKey_ != null) {
+                subBuilder = cryptoKey_.toBuilder();
+              }
+              cryptoKey_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cryptoKey_);
+                cryptoKey_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-            if (surrogateInfoType_ != null) {
-              subBuilder = surrogateInfoType_.toBuilder();
-            }
-            surrogateInfoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(surrogateInfoType_);
-              surrogateInfoType_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+              if (surrogateInfoType_ != null) {
+                subBuilder = surrogateInfoType_.toBuilder();
+              }
+              surrogateInfoType_ =
+                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(surrogateInfoType_);
+                surrogateInfoType_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-            if (context_ != null) {
-              subBuilder = context_.toBuilder();
-            }
-            context_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(context_);
-              context_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (context_ != null) {
+                subBuilder = context_.toBuilder();
+              }
+              context_ =
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(context_);
+                context_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoDeterministicConfig.class, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
+            com.google.privacy.dlp.v2.CryptoDeterministicConfig.class,
+            com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
   }
 
   public static final int CRYPTO_KEY_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
   /**
+   *
+   *
    * 
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -135,6 +162,7 @@ private CryptoDeterministicConfig(
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -142,6 +170,8 @@ public boolean hasCryptoKey() { return cryptoKey_ != null; } /** + * + * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -149,13 +179,18 @@ public boolean hasCryptoKey() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { - return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } /** + * + * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -172,6 +207,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
   public static final int SURROGATE_INFO_TYPE_FIELD_NUMBER = 2;
   private com.google.privacy.dlp.v2.InfoType surrogateInfoType_;
   /**
+   *
+   *
    * 
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -202,6 +239,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; + * * @return Whether the surrogateInfoType field is set. */ @java.lang.Override @@ -209,6 +247,8 @@ public boolean hasSurrogateInfoType() { return surrogateInfoType_ != null; } /** + * + * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -239,13 +279,18 @@ public boolean hasSurrogateInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; + * * @return The surrogateInfoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { - return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; + return surrogateInfoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : surrogateInfoType_; } /** + * + * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -285,6 +330,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
   public static final int CONTEXT_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.FieldId context_;
   /**
+   *
+   *
    * 
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -303,6 +350,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ @java.lang.Override @@ -310,6 +358,8 @@ public boolean hasContext() { return context_ != null; } /** + * + * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -328,6 +378,7 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ @java.lang.Override @@ -335,6 +386,8 @@ public com.google.privacy.dlp.v2.FieldId getContext() { return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_; } /** + * + * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -360,6 +413,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -371,8 +425,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (cryptoKey_ != null) {
       output.writeMessage(1, getCryptoKey());
     }
@@ -392,16 +445,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (cryptoKey_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCryptoKey());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCryptoKey());
     }
     if (surrogateInfoType_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getSurrogateInfoType());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSurrogateInfoType());
     }
     if (context_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getContext());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getContext());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -411,27 +461,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.privacy.dlp.v2.CryptoDeterministicConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.CryptoDeterministicConfig other = (com.google.privacy.dlp.v2.CryptoDeterministicConfig) obj;
+    com.google.privacy.dlp.v2.CryptoDeterministicConfig other =
+        (com.google.privacy.dlp.v2.CryptoDeterministicConfig) obj;
 
     if (hasCryptoKey() != other.hasCryptoKey()) return false;
     if (hasCryptoKey()) {
-      if (!getCryptoKey()
-          .equals(other.getCryptoKey())) return false;
+      if (!getCryptoKey().equals(other.getCryptoKey())) return false;
     }
     if (hasSurrogateInfoType() != other.hasSurrogateInfoType()) return false;
     if (hasSurrogateInfoType()) {
-      if (!getSurrogateInfoType()
-          .equals(other.getSurrogateInfoType())) return false;
+      if (!getSurrogateInfoType().equals(other.getSurrogateInfoType())) return false;
     }
     if (hasContext() != other.hasContext()) return false;
     if (hasContext()) {
-      if (!getContext()
-          .equals(other.getContext())) return false;
+      if (!getContext().equals(other.getContext())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -462,96 +510,103 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CryptoDeterministicConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoDeterministicConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Pseudonymization method that generates deterministic encryption for the given
    * input. Outputs a base64 encoded representation of the encrypted output.
@@ -560,21 +615,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoDeterministicConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoDeterministicConfig)
       com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoDeterministicConfig.class, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
+              com.google.privacy.dlp.v2.CryptoDeterministicConfig.class,
+              com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoDeterministicConfig.newBuilder()
@@ -582,16 +639,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -617,9 +673,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor;
     }
 
     @java.lang.Override
@@ -638,7 +694,8 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CryptoDeterministicConfig buildPartial() {
-      com.google.privacy.dlp.v2.CryptoDeterministicConfig result = new com.google.privacy.dlp.v2.CryptoDeterministicConfig(this);
+      com.google.privacy.dlp.v2.CryptoDeterministicConfig result =
+          new com.google.privacy.dlp.v2.CryptoDeterministicConfig(this);
       if (cryptoKeyBuilder_ == null) {
         result.cryptoKey_ = cryptoKey_;
       } else {
@@ -662,38 +719,39 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoDeterministicConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoDeterministicConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoDeterministicConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -701,7 +759,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoDeterministicConfig other) {
-      if (other == com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance())
+        return this;
       if (other.hasCryptoKey()) {
         mergeCryptoKey(other.getCryptoKey());
       }
@@ -730,7 +789,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.CryptoDeterministicConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.CryptoDeterministicConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -742,8 +802,13 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
+            com.google.privacy.dlp.v2.CryptoKey,
+            com.google.privacy.dlp.v2.CryptoKey.Builder,
+            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
+        cryptoKeyBuilder_;
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -751,12 +816,15 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ public boolean hasCryptoKey() { return cryptoKeyBuilder_ != null || cryptoKey_ != null; } /** + * + * *
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -764,16 +832,21 @@ public boolean hasCryptoKey() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return The cryptoKey. */ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (cryptoKeyBuilder_ == null) { - return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } else { return cryptoKeyBuilder_.getMessage(); } } /** + * + * *
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -796,6 +869,8 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -804,8 +879,7 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
      *
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
      */
-    public Builder setCryptoKey(
-        com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
+    public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
       if (cryptoKeyBuilder_ == null) {
         cryptoKey_ = builderForValue.build();
         onChanged();
@@ -816,6 +890,8 @@ public Builder setCryptoKey(
       return this;
     }
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -828,7 +904,9 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       if (cryptoKeyBuilder_ == null) {
         if (cryptoKey_ != null) {
           cryptoKey_ =
-            com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cryptoKey_ = value;
         }
@@ -840,6 +918,8 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -860,6 +940,8 @@ public Builder clearCryptoKey() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -869,11 +951,13 @@ public Builder clearCryptoKey() {
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
      */
     public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() {
-      
+
       onChanged();
       return getCryptoKeyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -886,11 +970,14 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
       if (cryptoKeyBuilder_ != null) {
         return cryptoKeyBuilder_.getMessageOrBuilder();
       } else {
-        return cryptoKey_ == null ?
-            com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_;
+        return cryptoKey_ == null
+            ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()
+            : cryptoKey_;
       }
     }
     /**
+     *
+     *
      * 
      * The key used by the encryption function. For deterministic encryption
      * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -900,14 +987,17 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> 
+            com.google.privacy.dlp.v2.CryptoKey,
+            com.google.privacy.dlp.v2.CryptoKey.Builder,
+            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
         getCryptoKeyFieldBuilder() {
       if (cryptoKeyBuilder_ == null) {
-        cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
-                getCryptoKey(),
-                getParentForChildren(),
-                isClean());
+        cryptoKeyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.CryptoKey,
+                com.google.privacy.dlp.v2.CryptoKey.Builder,
+                com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
+                getCryptoKey(), getParentForChildren(), isClean());
         cryptoKey_ = null;
       }
       return cryptoKeyBuilder_;
@@ -915,8 +1005,13 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
 
     private com.google.privacy.dlp.v2.InfoType surrogateInfoType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> surrogateInfoTypeBuilder_;
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        surrogateInfoTypeBuilder_;
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -947,12 +1042,15 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; + * * @return Whether the surrogateInfoType field is set. */ public boolean hasSurrogateInfoType() { return surrogateInfoTypeBuilder_ != null || surrogateInfoType_ != null; } /** + * + * *
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -983,16 +1081,21 @@ public boolean hasSurrogateInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; + * * @return The surrogateInfoType. */ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { if (surrogateInfoTypeBuilder_ == null) { - return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; + return surrogateInfoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : surrogateInfoType_; } else { return surrogateInfoTypeBuilder_.getMessage(); } } /** + * + * *
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1038,6 +1141,8 @@ public Builder setSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1081,6 +1186,8 @@ public Builder setSurrogateInfoType(
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1116,7 +1223,9 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       if (surrogateInfoTypeBuilder_ == null) {
         if (surrogateInfoType_ != null) {
           surrogateInfoType_ =
-            com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           surrogateInfoType_ = value;
         }
@@ -1128,6 +1237,8 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1171,6 +1282,8 @@ public Builder clearSurrogateInfoType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1203,11 +1316,13 @@ public Builder clearSurrogateInfoType() {
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getSurrogateInfoTypeBuilder() {
-      
+
       onChanged();
       return getSurrogateInfoTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1243,11 +1358,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
       if (surrogateInfoTypeBuilder_ != null) {
         return surrogateInfoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return surrogateInfoType_ == null ?
-            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_;
+        return surrogateInfoType_ == null
+            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
+            : surrogateInfoType_;
       }
     }
     /**
+     *
+     *
      * 
      * The custom info type to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -1280,14 +1398,17 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getSurrogateInfoTypeFieldBuilder() {
       if (surrogateInfoTypeBuilder_ == null) {
-        surrogateInfoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getSurrogateInfoType(),
-                getParentForChildren(),
-                isClean());
+        surrogateInfoTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getSurrogateInfoType(), getParentForChildren(), isClean());
         surrogateInfoType_ = null;
       }
       return surrogateInfoTypeBuilder_;
@@ -1295,8 +1416,13 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
 
     private com.google.privacy.dlp.v2.FieldId context_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> contextBuilder_;
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        contextBuilder_;
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1315,12 +1441,15 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** + * + * *
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1339,6 +1468,7 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1349,6 +1479,8 @@ public com.google.privacy.dlp.v2.FieldId getContext() { } } /** + * + * *
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1382,6 +1514,8 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1401,8 +1535,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      *
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
-    public Builder setContext(
-        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (contextBuilder_ == null) {
         context_ = builderForValue.build();
         onChanged();
@@ -1413,6 +1546,8 @@ public Builder setContext(
       return this;
     }
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1436,7 +1571,9 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       if (contextBuilder_ == null) {
         if (context_ != null) {
           context_ =
-            com.google.privacy.dlp.v2.FieldId.newBuilder(context_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.FieldId.newBuilder(context_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           context_ = value;
         }
@@ -1448,6 +1585,8 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1479,6 +1618,8 @@ public Builder clearContext() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1499,11 +1640,13 @@ public Builder clearContext() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
-      
+
       onChanged();
       return getContextFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1527,11 +1670,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
       if (contextBuilder_ != null) {
         return contextBuilder_.getMessageOrBuilder();
       } else {
-        return context_ == null ?
-            com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
+        return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
       }
     }
     /**
+     *
+     *
      * 
      * A context may be used for higher security and maintaining
      * referential integrity such that the same identifier in two different
@@ -1552,21 +1696,24 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
         getContextFieldBuilder() {
       if (contextBuilder_ == null) {
-        contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                getContext(),
-                getParentForChildren(),
-                isClean());
+        contextBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldId,
+                com.google.privacy.dlp.v2.FieldId.Builder,
+                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                getContext(), getParentForChildren(), isClean());
         context_ = null;
       }
       return contextBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1576,12 +1723,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoDeterministicConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoDeterministicConfig)
   private static final com.google.privacy.dlp.v2.CryptoDeterministicConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoDeterministicConfig();
   }
@@ -1590,16 +1737,16 @@ public static com.google.privacy.dlp.v2.CryptoDeterministicConfig getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CryptoDeterministicConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new CryptoDeterministicConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CryptoDeterministicConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new CryptoDeterministicConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1614,6 +1761,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.privacy.dlp.v2.CryptoDeterministicConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
similarity index 92%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
index fd9b43de..14513ed4 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface CryptoDeterministicConfigOrBuilder extends
+public interface CryptoDeterministicConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoDeterministicConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -15,10 +33,13 @@ public interface CryptoDeterministicConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** + * + * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -26,10 +47,13 @@ public interface CryptoDeterministicConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** + * + * *
    * The key used by the encryption function. For deterministic encryption
    * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
@@ -41,6 +65,8 @@ public interface CryptoDeterministicConfigOrBuilder extends
   com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder();
 
   /**
+   *
+   *
    * 
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -71,10 +97,13 @@ public interface CryptoDeterministicConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; + * * @return Whether the surrogateInfoType field is set. */ boolean hasSurrogateInfoType(); /** + * + * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -105,10 +134,13 @@ public interface CryptoDeterministicConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; + * * @return The surrogateInfoType. */ com.google.privacy.dlp.v2.InfoType getSurrogateInfoType(); /** + * + * *
    * The custom info type to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -143,6 +175,8 @@ public interface CryptoDeterministicConfigOrBuilder extends
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -161,10 +195,13 @@ public interface CryptoDeterministicConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ boolean hasContext(); /** + * + * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
@@ -183,10 +220,13 @@ public interface CryptoDeterministicConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ com.google.privacy.dlp.v2.FieldId getContext(); /** + * + * *
    * A context may be used for higher security and maintaining
    * referential integrity such that the same identifier in two different
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
similarity index 68%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
index f781c1cb..cab000be 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Pseudonymization method that generates surrogates via cryptographic hashing.
  * Uses SHA-256.
@@ -16,30 +33,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig}
  */
-public final class CryptoHashConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CryptoHashConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoHashConfig)
     CryptoHashConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CryptoHashConfig.newBuilder() to construct.
   private CryptoHashConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CryptoHashConfig() {
-  }
+
+  private CryptoHashConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CryptoHashConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CryptoHashConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,59 +74,67 @@ private CryptoHashConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-            if (cryptoKey_ != null) {
-              subBuilder = cryptoKey_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+              if (cryptoKey_ != null) {
+                subBuilder = cryptoKey_.toBuilder();
+              }
+              cryptoKey_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cryptoKey_);
+                cryptoKey_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            cryptoKey_ = input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(cryptoKey_);
-              cryptoKey_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoHashConfig.class, com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
+            com.google.privacy.dlp.v2.CryptoHashConfig.class,
+            com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
   }
 
   public static final int CRYPTO_KEY_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
   /**
+   *
+   *
    * 
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -118,18 +142,25 @@ public boolean hasCryptoKey() { return cryptoKey_ != null; } /** + * + * *
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { - return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } /** + * + * *
    * The key used by the hash function.
    * 
@@ -142,6 +173,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (cryptoKey_ != null) { output.writeMessage(1, getCryptoKey()); } @@ -168,8 +199,7 @@ public int getSerializedSize() { size = 0; if (cryptoKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCryptoKey()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCryptoKey()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -179,17 +209,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.privacy.dlp.v2.CryptoHashConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CryptoHashConfig other = (com.google.privacy.dlp.v2.CryptoHashConfig) obj; + com.google.privacy.dlp.v2.CryptoHashConfig other = + (com.google.privacy.dlp.v2.CryptoHashConfig) obj; if (hasCryptoKey() != other.hasCryptoKey()) return false; if (hasCryptoKey()) { - if (!getCryptoKey() - .equals(other.getCryptoKey())) return false; + if (!getCryptoKey().equals(other.getCryptoKey())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -211,97 +241,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoHashConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CryptoHashConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CryptoHashConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoHashConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Pseudonymization method that generates surrogates via cryptographic hashing.
    * Uses SHA-256.
@@ -314,21 +351,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoHashConfig)
       com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoHashConfig.class, com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
+              com.google.privacy.dlp.v2.CryptoHashConfig.class,
+              com.google.privacy.dlp.v2.CryptoHashConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoHashConfig.newBuilder()
@@ -336,16 +375,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -359,9 +397,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor;
     }
 
     @java.lang.Override
@@ -380,7 +418,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CryptoHashConfig buildPartial() {
-      com.google.privacy.dlp.v2.CryptoHashConfig result = new com.google.privacy.dlp.v2.CryptoHashConfig(this);
+      com.google.privacy.dlp.v2.CryptoHashConfig result =
+          new com.google.privacy.dlp.v2.CryptoHashConfig(this);
       if (cryptoKeyBuilder_ == null) {
         result.cryptoKey_ = cryptoKey_;
       } else {
@@ -394,38 +433,39 @@ public com.google.privacy.dlp.v2.CryptoHashConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoHashConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -468,34 +508,47 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
+            com.google.privacy.dlp.v2.CryptoKey,
+            com.google.privacy.dlp.v2.CryptoKey.Builder,
+            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
+        cryptoKeyBuilder_;
     /**
+     *
+     *
      * 
      * The key used by the hash function.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ public boolean hasCryptoKey() { return cryptoKeyBuilder_ != null || cryptoKey_ != null; } /** + * + * *
      * The key used by the hash function.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return The cryptoKey. */ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (cryptoKeyBuilder_ == null) { - return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } else { return cryptoKeyBuilder_.getMessage(); } } /** + * + * *
      * The key used by the hash function.
      * 
@@ -516,14 +569,15 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** + * + * *
      * The key used by the hash function.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; */ - public Builder setCryptoKey( - com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { + public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { if (cryptoKeyBuilder_ == null) { cryptoKey_ = builderForValue.build(); onChanged(); @@ -534,6 +588,8 @@ public Builder setCryptoKey( return this; } /** + * + * *
      * The key used by the hash function.
      * 
@@ -544,7 +600,9 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { if (cryptoKeyBuilder_ == null) { if (cryptoKey_ != null) { cryptoKey_ = - com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_) + .mergeFrom(value) + .buildPartial(); } else { cryptoKey_ = value; } @@ -556,6 +614,8 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** + * + * *
      * The key used by the hash function.
      * 
@@ -574,6 +634,8 @@ public Builder clearCryptoKey() { return this; } /** + * + * *
      * The key used by the hash function.
      * 
@@ -581,11 +643,13 @@ public Builder clearCryptoKey() { * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; */ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() { - + onChanged(); return getCryptoKeyFieldBuilder().getBuilder(); } /** + * + * *
      * The key used by the hash function.
      * 
@@ -596,11 +660,14 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { if (cryptoKeyBuilder_ != null) { return cryptoKeyBuilder_.getMessageOrBuilder(); } else { - return cryptoKey_ == null ? - com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } } /** + * + * *
      * The key used by the hash function.
      * 
@@ -608,21 +675,24 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> + com.google.privacy.dlp.v2.CryptoKey, + com.google.privacy.dlp.v2.CryptoKey.Builder, + com.google.privacy.dlp.v2.CryptoKeyOrBuilder> getCryptoKeyFieldBuilder() { if (cryptoKeyBuilder_ == null) { - cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( - getCryptoKey(), - getParentForChildren(), - isClean()); + cryptoKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoKey, + com.google.privacy.dlp.v2.CryptoKey.Builder, + com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( + getCryptoKey(), getParentForChildren(), isClean()); cryptoKey_ = null; } return cryptoKeyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -632,12 +702,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoHashConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoHashConfig) private static final com.google.privacy.dlp.v2.CryptoHashConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoHashConfig(); } @@ -646,16 +716,16 @@ public static com.google.privacy.dlp.v2.CryptoHashConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoHashConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoHashConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoHashConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoHashConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,6 +740,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CryptoHashConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java index 325b7849..7624a74c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CryptoHashConfigOrBuilder extends +public interface CryptoHashConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoHashConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** + * + * *
    * The key used by the hash function.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** + * + * *
    * The key used by the hash function.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java index 84ce956d..45516384 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * This is a data encryption key (DEK) (as opposed to
  * a key encryption key (KEK) stored by Cloud Key Management Service
@@ -15,30 +32,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoKey}
  */
-public final class CryptoKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CryptoKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoKey)
     CryptoKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CryptoKey.newBuilder() to construct.
   private CryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CryptoKey() {
-  }
+
+  private CryptoKey() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,90 +73,101 @@ private CryptoKey(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.TransientCryptoKey.Builder subBuilder = null;
-            if (sourceCase_ == 1) {
-              subBuilder = ((com.google.privacy.dlp.v2.TransientCryptoKey) source_).toBuilder();
-            }
-            source_ =
-                input.readMessage(com.google.privacy.dlp.v2.TransientCryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey) source_);
-              source_ = subBuilder.buildPartial();
-            }
-            sourceCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder subBuilder = null;
-            if (sourceCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_).toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.TransientCryptoKey.Builder subBuilder = null;
+              if (sourceCase_ == 1) {
+                subBuilder = ((com.google.privacy.dlp.v2.TransientCryptoKey) source_).toBuilder();
+              }
+              source_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransientCryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey) source_);
+                source_ = subBuilder.buildPartial();
+              }
+              sourceCase_ = 1;
+              break;
             }
-            source_ =
-                input.readMessage(com.google.privacy.dlp.v2.UnwrappedCryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_);
-              source_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder subBuilder = null;
+              if (sourceCase_ == 2) {
+                subBuilder = ((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_).toBuilder();
+              }
+              source_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.UnwrappedCryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_);
+                source_ = subBuilder.buildPartial();
+              }
+              sourceCase_ = 2;
+              break;
             }
-            sourceCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder subBuilder = null;
-            if (sourceCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_).toBuilder();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder subBuilder = null;
+              if (sourceCase_ == 3) {
+                subBuilder = ((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_).toBuilder();
+              }
+              source_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.KmsWrappedCryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_);
+                source_ = subBuilder.buildPartial();
+              }
+              sourceCase_ = 3;
+              break;
             }
-            source_ =
-                input.readMessage(com.google.privacy.dlp.v2.KmsWrappedCryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_);
-              source_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            sourceCase_ = 3;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoKey.class, com.google.privacy.dlp.v2.CryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.CryptoKey.class,
+            com.google.privacy.dlp.v2.CryptoKey.Builder.class);
   }
 
   private int sourceCase_ = 0;
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSIENT(1),
     UNWRAPPED(2),
     KMS_WRAPPED(3),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -156,31 +183,38 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 1: return TRANSIENT;
-        case 2: return UNWRAPPED;
-        case 3: return KMS_WRAPPED;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 1:
+          return TRANSIENT;
+        case 2:
+          return UNWRAPPED;
+        case 3:
+          return KMS_WRAPPED;
+        case 0:
+          return SOURCE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase
-  getSourceCase() {
-    return SourceCase.forNumber(
-        sourceCase_);
+  public SourceCase getSourceCase() {
+    return SourceCase.forNumber(sourceCase_);
   }
 
   public static final int TRANSIENT_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return Whether the transient field is set. */ @java.lang.Override @@ -188,21 +222,26 @@ public boolean hasTransient() { return sourceCase_ == 1; } /** + * + * *
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return The transient. */ @java.lang.Override public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; + return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; } return com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance(); } /** + * + * *
    * Transient crypto key
    * 
@@ -212,18 +251,21 @@ public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { @java.lang.Override public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuilder() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; + return (com.google.privacy.dlp.v2.TransientCryptoKey) source_; } return com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance(); } public static final int UNWRAPPED_FIELD_NUMBER = 2; /** + * + * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return Whether the unwrapped field is set. */ @java.lang.Override @@ -231,21 +273,26 @@ public boolean hasUnwrapped() { return sourceCase_ == 2; } /** + * + * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return The unwrapped. */ @java.lang.Override public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance(); } /** + * + * *
    * Unwrapped crypto key
    * 
@@ -255,18 +302,21 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { @java.lang.Override public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance(); } public static final int KMS_WRAPPED_FIELD_NUMBER = 3; /** + * + * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; + * * @return Whether the kmsWrapped field is set. */ @java.lang.Override @@ -274,21 +324,26 @@ public boolean hasKmsWrapped() { return sourceCase_ == 3; } /** + * + * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; + * * @return The kmsWrapped. */ @java.lang.Override public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance(); } /** + * + * *
    * Key wrapped using Cloud KMS
    * 
@@ -298,12 +353,13 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { @java.lang.Override public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBuilder() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; + return (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_; } return com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,8 +371,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.TransientCryptoKey) source_); } @@ -336,16 +391,19 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.TransientCryptoKey) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.TransientCryptoKey) source_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_); } if (sourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -355,7 +413,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.privacy.dlp.v2.CryptoKey)) { return super.equals(obj); @@ -365,16 +423,13 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getTransient() - .equals(other.getTransient())) return false; + if (!getTransient().equals(other.getTransient())) return false; break; case 2: - if (!getUnwrapped() - .equals(other.getUnwrapped())) return false; + if (!getUnwrapped().equals(other.getUnwrapped())) return false; break; case 3: - if (!getKmsWrapped() - .equals(other.getKmsWrapped())) return false; + if (!getKmsWrapped().equals(other.getKmsWrapped())) return false; break; case 0: default: @@ -411,97 +466,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CryptoKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.CryptoKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoKey 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.privacy.dlp.v2.CryptoKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 is a data encryption key (DEK) (as opposed to
    * a key encryption key (KEK) stored by Cloud Key Management Service
@@ -513,21 +574,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoKey)
       com.google.privacy.dlp.v2.CryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoKey.class, com.google.privacy.dlp.v2.CryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.CryptoKey.class,
+              com.google.privacy.dlp.v2.CryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoKey.newBuilder()
@@ -535,16 +598,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -554,9 +616,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -606,38 +668,39 @@ public com.google.privacy.dlp.v2.CryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoKey)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -647,21 +710,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoKey other) {
       if (other == com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()) return this;
       switch (other.getSourceCase()) {
-        case TRANSIENT: {
-          mergeTransient(other.getTransient());
-          break;
-        }
-        case UNWRAPPED: {
-          mergeUnwrapped(other.getUnwrapped());
-          break;
-        }
-        case KMS_WRAPPED: {
-          mergeKmsWrapped(other.getKmsWrapped());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case TRANSIENT:
+          {
+            mergeTransient(other.getTransient());
+            break;
+          }
+        case UNWRAPPED:
+          {
+            mergeUnwrapped(other.getUnwrapped());
+            break;
+          }
+        case KMS_WRAPPED:
+          {
+            mergeKmsWrapped(other.getKmsWrapped());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -691,12 +758,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-    public SourceCase
-        getSourceCase() {
-      return SourceCase.forNumber(
-          sourceCase_);
+
+    public SourceCase getSourceCase() {
+      return SourceCase.forNumber(sourceCase_);
     }
 
     public Builder clearSource() {
@@ -706,15 +773,20 @@ public Builder clearSource() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TransientCryptoKey, com.google.privacy.dlp.v2.TransientCryptoKey.Builder, com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder> transientBuilder_;
+            com.google.privacy.dlp.v2.TransientCryptoKey,
+            com.google.privacy.dlp.v2.TransientCryptoKey.Builder,
+            com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>
+        transientBuilder_;
     /**
+     *
+     *
      * 
      * Transient crypto key
      * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return Whether the transient field is set. */ @java.lang.Override @@ -722,11 +794,14 @@ public boolean hasTransient() { return sourceCase_ == 1; } /** + * + * *
      * Transient crypto key
      * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return The transient. */ @java.lang.Override @@ -744,6 +819,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { } } /** + * + * *
      * Transient crypto key
      * 
@@ -764,6 +841,8 @@ public Builder setTransient(com.google.privacy.dlp.v2.TransientCryptoKey value) return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -782,6 +861,8 @@ public Builder setTransient( return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -790,10 +871,13 @@ public Builder setTransient( */ public Builder mergeTransient(com.google.privacy.dlp.v2.TransientCryptoKey value) { if (transientBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance()) { - source_ = com.google.privacy.dlp.v2.TransientCryptoKey.newBuilder((com.google.privacy.dlp.v2.TransientCryptoKey) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ != com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance()) { + source_ = + com.google.privacy.dlp.v2.TransientCryptoKey.newBuilder( + (com.google.privacy.dlp.v2.TransientCryptoKey) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -808,6 +892,8 @@ public Builder mergeTransient(com.google.privacy.dlp.v2.TransientCryptoKey value return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -831,6 +917,8 @@ public Builder clearTransient() { return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -841,6 +929,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKey.Builder getTransientBuilder( return getTransientFieldBuilder().getBuilder(); } /** + * + * *
      * Transient crypto key
      * 
@@ -859,6 +949,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild } } /** + * + * *
      * Transient crypto key
      * 
@@ -866,32 +958,44 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransientCryptoKey, com.google.privacy.dlp.v2.TransientCryptoKey.Builder, com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder> + com.google.privacy.dlp.v2.TransientCryptoKey, + com.google.privacy.dlp.v2.TransientCryptoKey.Builder, + com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder> getTransientFieldBuilder() { if (transientBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.privacy.dlp.v2.TransientCryptoKey.getDefaultInstance(); } - transientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransientCryptoKey, com.google.privacy.dlp.v2.TransientCryptoKey.Builder, com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>( + transientBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransientCryptoKey, + com.google.privacy.dlp.v2.TransientCryptoKey.Builder, + com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder>( (com.google.privacy.dlp.v2.TransientCryptoKey) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return transientBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.UnwrappedCryptoKey, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> unwrappedBuilder_; + com.google.privacy.dlp.v2.UnwrappedCryptoKey, + com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, + com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> + unwrappedBuilder_; /** + * + * *
      * Unwrapped crypto key
      * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return Whether the unwrapped field is set. */ @java.lang.Override @@ -899,11 +1003,14 @@ public boolean hasUnwrapped() { return sourceCase_ == 2; } /** + * + * *
      * Unwrapped crypto key
      * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return The unwrapped. */ @java.lang.Override @@ -921,6 +1028,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { } } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -941,6 +1050,8 @@ public Builder setUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value) return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -959,6 +1070,8 @@ public Builder setUnwrapped( return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -967,10 +1080,13 @@ public Builder setUnwrapped( */ public Builder mergeUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value) { if (unwrappedBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance()) { - source_ = com.google.privacy.dlp.v2.UnwrappedCryptoKey.newBuilder((com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ != com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance()) { + source_ = + com.google.privacy.dlp.v2.UnwrappedCryptoKey.newBuilder( + (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -985,6 +1101,8 @@ public Builder mergeUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1008,6 +1126,8 @@ public Builder clearUnwrapped() { return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1018,6 +1138,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder getUnwrappedBuilder( return getUnwrappedFieldBuilder().getBuilder(); } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1036,6 +1158,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild } } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1043,32 +1167,44 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.UnwrappedCryptoKey, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> + com.google.privacy.dlp.v2.UnwrappedCryptoKey, + com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, + com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder> getUnwrappedFieldBuilder() { if (unwrappedBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.privacy.dlp.v2.UnwrappedCryptoKey.getDefaultInstance(); } - unwrappedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.UnwrappedCryptoKey, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder>( + unwrappedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.UnwrappedCryptoKey, + com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder, + com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder>( (com.google.privacy.dlp.v2.UnwrappedCryptoKey) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return unwrappedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KmsWrappedCryptoKey, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> kmsWrappedBuilder_; + com.google.privacy.dlp.v2.KmsWrappedCryptoKey, + com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, + com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> + kmsWrappedBuilder_; /** + * + * *
      * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; + * * @return Whether the kmsWrapped field is set. */ @java.lang.Override @@ -1076,11 +1212,14 @@ public boolean hasKmsWrapped() { return sourceCase_ == 3; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; + * * @return The kmsWrapped. */ @java.lang.Override @@ -1098,6 +1237,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { } } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1118,6 +1259,8 @@ public Builder setKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1136,6 +1279,8 @@ public Builder setKmsWrapped( return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1144,10 +1289,13 @@ public Builder setKmsWrapped( */ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value) { if (kmsWrappedBuilder_ == null) { - if (sourceCase_ == 3 && - source_ != com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance()) { - source_ = com.google.privacy.dlp.v2.KmsWrappedCryptoKey.newBuilder((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 3 + && source_ != com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance()) { + source_ = + com.google.privacy.dlp.v2.KmsWrappedCryptoKey.newBuilder( + (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1162,6 +1310,8 @@ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey val return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1185,6 +1335,8 @@ public Builder clearKmsWrapped() { return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1195,6 +1347,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder getKmsWrappedBuilde return getKmsWrappedFieldBuilder().getBuilder(); } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1213,6 +1367,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui } } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1220,26 +1376,32 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KmsWrappedCryptoKey, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> + com.google.privacy.dlp.v2.KmsWrappedCryptoKey, + com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, + com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder> getKmsWrappedFieldBuilder() { if (kmsWrappedBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.privacy.dlp.v2.KmsWrappedCryptoKey.getDefaultInstance(); } - kmsWrappedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KmsWrappedCryptoKey, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder>( + kmsWrappedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.KmsWrappedCryptoKey, + com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder, + com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder>( (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 3; - onChanged();; + onChanged(); + ; return kmsWrappedBuilder_; } + @java.lang.Override - 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 +1411,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoKey) private static final com.google.privacy.dlp.v2.CryptoKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoKey(); } @@ -1263,16 +1425,16 @@ public static com.google.privacy.dlp.v2.CryptoKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1287,6 +1449,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java index 8dbe769f..39934042 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface CryptoKeyOrBuilder extends +public interface CryptoKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return Whether the transient field is set. */ boolean hasTransient(); /** + * + * *
    * Transient crypto key
    * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return The transient. */ com.google.privacy.dlp.v2.TransientCryptoKey getTransient(); /** + * + * *
    * Transient crypto key
    * 
@@ -35,24 +59,32 @@ public interface CryptoKeyOrBuilder extends com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuilder(); /** + * + * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return Whether the unwrapped field is set. */ boolean hasUnwrapped(); /** + * + * *
    * Unwrapped crypto key
    * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return The unwrapped. */ com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped(); /** + * + * *
    * Unwrapped crypto key
    * 
@@ -62,24 +94,32 @@ public interface CryptoKeyOrBuilder extends com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuilder(); /** + * + * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; + * * @return Whether the kmsWrapped field is set. */ boolean hasKmsWrapped(); /** + * + * *
    * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; + * * @return The kmsWrapped. */ com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped(); /** + * + * *
    * Key wrapped using Cloud KMS
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java index fdca8a15..5b7c358b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Replaces an identifier with a surrogate using Format Preserving Encryption
  * (FPE) with the FFX mode of operation; however when used in the
@@ -21,30 +38,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig}
  */
-public final class CryptoReplaceFfxFpeConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CryptoReplaceFfxFpeConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
     CryptoReplaceFfxFpeConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CryptoReplaceFfxFpeConfig.newBuilder() to construct.
   private CryptoReplaceFfxFpeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CryptoReplaceFfxFpeConfig() {
-  }
+
+  private CryptoReplaceFfxFpeConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CryptoReplaceFfxFpeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CryptoReplaceFfxFpeConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -63,95 +79,109 @@ private CryptoReplaceFfxFpeConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-            if (cryptoKey_ != null) {
-              subBuilder = cryptoKey_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+              if (cryptoKey_ != null) {
+                subBuilder = cryptoKey_.toBuilder();
+              }
+              cryptoKey_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cryptoKey_);
+                cryptoKey_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            cryptoKey_ = input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(cryptoKey_);
-              cryptoKey_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (context_ != null) {
+                subBuilder = context_.toBuilder();
+              }
+              context_ =
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(context_);
+                context_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-            if (context_ != null) {
-              subBuilder = context_.toBuilder();
+          case 32:
+            {
+              int rawValue = input.readEnum();
+              alphabetCase_ = 4;
+              alphabet_ = rawValue;
+              break;
             }
-            context_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(context_);
-              context_ = subBuilder.buildPartial();
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              alphabetCase_ = 5;
+              alphabet_ = s;
+              break;
             }
-
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-            alphabetCase_ = 4;
-            alphabet_ = rawValue;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
-            alphabetCase_ = 5;
-            alphabet_ = s;
-            break;
-          }
-          case 48: {
-            alphabetCase_ = 6;
-            alphabet_ = input.readInt32();
-            break;
-          }
-          case 66: {
-            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-            if (surrogateInfoType_ != null) {
-              subBuilder = surrogateInfoType_.toBuilder();
+          case 48:
+            {
+              alphabetCase_ = 6;
+              alphabet_ = input.readInt32();
+              break;
             }
-            surrogateInfoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(surrogateInfoType_);
-              surrogateInfoType_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+              if (surrogateInfoType_ != null) {
+                subBuilder = surrogateInfoType_.toBuilder();
+              }
+              surrogateInfoType_ =
+                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(surrogateInfoType_);
+                surrogateInfoType_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
+            com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class,
+            com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * These are commonly used subsets of the alphabet that the FFX mode
    * natively supports. In the algorithm, the alphabet is selected using
@@ -160,9 +190,10 @@ private CryptoReplaceFfxFpeConfig(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet}
    */
-  public enum FfxCommonNativeAlphabet
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -171,6 +202,8 @@ public enum FfxCommonNativeAlphabet */ FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED(0), /** + * + * *
      * `[0-9]` (radix of 10)
      * 
@@ -179,6 +212,8 @@ public enum FfxCommonNativeAlphabet */ NUMERIC(1), /** + * + * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -187,6 +222,8 @@ public enum FfxCommonNativeAlphabet */ HEXADECIMAL(2), /** + * + * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -195,6 +232,8 @@ public enum FfxCommonNativeAlphabet */ UPPER_CASE_ALPHA_NUMERIC(3), /** + * + * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -206,6 +245,8 @@ public enum FfxCommonNativeAlphabet ; /** + * + * *
      * Unused.
      * 
@@ -214,6 +255,8 @@ public enum FfxCommonNativeAlphabet */ public static final int FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * `[0-9]` (radix of 10)
      * 
@@ -222,6 +265,8 @@ public enum FfxCommonNativeAlphabet */ public static final int NUMERIC_VALUE = 1; /** + * + * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -230,6 +275,8 @@ public enum FfxCommonNativeAlphabet */ public static final int HEXADECIMAL_VALUE = 2; /** + * + * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -238,6 +285,8 @@ public enum FfxCommonNativeAlphabet */ public static final int UPPER_CASE_ALPHA_NUMERIC_VALUE = 3; /** + * + * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -246,7 +295,6 @@ public enum FfxCommonNativeAlphabet */ public static final int ALPHA_NUMERIC_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -271,12 +319,18 @@ public static FfxCommonNativeAlphabet valueOf(int value) { */ public static FfxCommonNativeAlphabet forNumber(int value) { switch (value) { - case 0: return FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; - case 1: return NUMERIC; - case 2: return HEXADECIMAL; - case 3: return UPPER_CASE_ALPHA_NUMERIC; - case 4: return ALPHA_NUMERIC; - default: return null; + case 0: + return FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; + case 1: + return NUMERIC; + case 2: + return HEXADECIMAL; + case 3: + return UPPER_CASE_ALPHA_NUMERIC; + case 4: + return ALPHA_NUMERIC; + default: + return null; } } @@ -284,29 +338,31 @@ public static FfxCommonNativeAlphabet forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - FfxCommonNativeAlphabet> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FfxCommonNativeAlphabet findValueByNumber(int number) { - return FfxCommonNativeAlphabet.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 FfxCommonNativeAlphabet findValueByNumber(int number) { + return FfxCommonNativeAlphabet.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.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final FfxCommonNativeAlphabet[] VALUES = values(); @@ -314,8 +370,7 @@ public FfxCommonNativeAlphabet findValueByNumber(int number) { public static FfxCommonNativeAlphabet 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; @@ -334,14 +389,17 @@ private FfxCommonNativeAlphabet(int value) { private int alphabetCase_ = 0; private java.lang.Object alphabet_; + public enum AlphabetCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMMON_ALPHABET(4), CUSTOM_ALPHABET(5), RADIX(6), ALPHABET_NOT_SET(0); private final int value; + private AlphabetCase(int value) { this.value = value; } @@ -357,32 +415,41 @@ public static AlphabetCase valueOf(int value) { public static AlphabetCase forNumber(int value) { switch (value) { - case 4: return COMMON_ALPHABET; - case 5: return CUSTOM_ALPHABET; - case 6: return RADIX; - case 0: return ALPHABET_NOT_SET; - default: return null; + case 4: + return COMMON_ALPHABET; + case 5: + return CUSTOM_ALPHABET; + case 6: + return RADIX; + case 0: + return ALPHABET_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public AlphabetCase - getAlphabetCase() { - return AlphabetCase.forNumber( - alphabetCase_); + public AlphabetCase getAlphabetCase() { + return AlphabetCase.forNumber(alphabetCase_); } public static final int CRYPTO_KEY_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.CryptoKey cryptoKey_; /** + * + * *
    * Required. The key used by the encryption algorithm.
    * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -390,23 +457,34 @@ public boolean hasCryptoKey() { return cryptoKey_ != null; } /** + * + * *
    * Required. The key used by the encryption algorithm.
    * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { - return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } /** + * + * *
    * Required. The key used by the encryption algorithm.
    * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { @@ -416,6 +494,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { public static final int CONTEXT_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId context_; /** + * + * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -434,6 +514,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return Whether the context field is set. */ @java.lang.Override @@ -441,6 +522,8 @@ public boolean hasContext() { return context_ != null; } /** + * + * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -459,6 +542,7 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return The context. */ @java.lang.Override @@ -466,6 +550,8 @@ public com.google.privacy.dlp.v2.FieldId getContext() { return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_; } /** + * + * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -492,22 +578,32 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
 
   public static final int COMMON_ALPHABET_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Common alphabets.
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return Whether the commonAlphabet field is set. */ public boolean hasCommonAlphabet() { return alphabetCase_ == 4; } /** + * + * *
    * Common alphabets.
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return The enum numeric value on the wire for commonAlphabet. */ public int getCommonAlphabetValue() { @@ -517,25 +613,37 @@ public int getCommonAlphabetValue() { return 0; } /** + * + * *
    * Common alphabets.
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return The commonAlphabet. */ - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet + getCommonAlphabet() { if (alphabetCase_ == 4) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( - (java.lang.Integer) alphabet_); - return result == null ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.UNRECOGNIZED : result; - } - return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( + (java.lang.Integer) alphabet_); + return result == null + ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.UNRECOGNIZED + : result; + } + return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet + .FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; } public static final int CUSTOM_ALPHABET_FIELD_NUMBER = 5; /** + * + * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -550,12 +658,15 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphab
    * 
* * string custom_alphabet = 5; + * * @return Whether the customAlphabet field is set. */ public boolean hasCustomAlphabet() { return alphabetCase_ == 5; } /** + * + * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -570,6 +681,7 @@ public boolean hasCustomAlphabet() {
    * 
* * string custom_alphabet = 5; + * * @return The customAlphabet. */ public java.lang.String getCustomAlphabet() { @@ -580,8 +692,7 @@ public java.lang.String getCustomAlphabet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (alphabetCase_ == 5) { alphabet_ = s; @@ -590,6 +701,8 @@ public java.lang.String getCustomAlphabet() { } } /** + * + * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -604,18 +717,17 @@ public java.lang.String getCustomAlphabet() {
    * 
* * string custom_alphabet = 5; + * * @return The bytes for customAlphabet. */ - public com.google.protobuf.ByteString - getCustomAlphabetBytes() { + public com.google.protobuf.ByteString getCustomAlphabetBytes() { java.lang.Object ref = ""; if (alphabetCase_ == 5) { ref = alphabet_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (alphabetCase_ == 5) { alphabet_ = b; } @@ -627,11 +739,14 @@ public java.lang.String getCustomAlphabet() { public static final int RADIX_FIELD_NUMBER = 6; /** + * + * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; + * * @return Whether the radix field is set. */ @java.lang.Override @@ -639,11 +754,14 @@ public boolean hasRadix() { return alphabetCase_ == 6; } /** + * + * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; + * * @return The radix. */ @java.lang.Override @@ -657,6 +775,8 @@ public int getRadix() { public static final int SURROGATE_INFO_TYPE_FIELD_NUMBER = 8; private com.google.privacy.dlp.v2.InfoType surrogateInfoType_; /** + * + * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -683,6 +803,7 @@ public int getRadix() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return Whether the surrogateInfoType field is set. */ @java.lang.Override @@ -690,6 +811,8 @@ public boolean hasSurrogateInfoType() { return surrogateInfoType_ != null; } /** + * + * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -716,13 +839,18 @@ public boolean hasSurrogateInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return The surrogateInfoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { - return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; + return surrogateInfoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : surrogateInfoType_; } /** + * + * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -756,6 +884,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -767,8 +896,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (cryptoKey_ != null) {
       output.writeMessage(1, getCryptoKey());
     }
@@ -782,8 +910,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       com.google.protobuf.GeneratedMessageV3.writeString(output, 5, alphabet_);
     }
     if (alphabetCase_ == 6) {
-      output.writeInt32(
-          6, (int)((java.lang.Integer) alphabet_));
+      output.writeInt32(6, (int) ((java.lang.Integer) alphabet_));
     }
     if (surrogateInfoType_ != null) {
       output.writeMessage(8, getSurrogateInfoType());
@@ -798,28 +925,25 @@ public int getSerializedSize() {
 
     size = 0;
     if (cryptoKey_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCryptoKey());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCryptoKey());
     }
     if (context_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getContext());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContext());
     }
     if (alphabetCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(4, ((java.lang.Integer) alphabet_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(4, ((java.lang.Integer) alphabet_));
     }
     if (alphabetCase_ == 5) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, alphabet_);
     }
     if (alphabetCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(
-            6, (int)((java.lang.Integer) alphabet_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeInt32Size(
+              6, (int) ((java.lang.Integer) alphabet_));
     }
     if (surrogateInfoType_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getSurrogateInfoType());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSurrogateInfoType());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -829,41 +953,36 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig other = (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) obj;
+    com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig other =
+        (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) obj;
 
     if (hasCryptoKey() != other.hasCryptoKey()) return false;
     if (hasCryptoKey()) {
-      if (!getCryptoKey()
-          .equals(other.getCryptoKey())) return false;
+      if (!getCryptoKey().equals(other.getCryptoKey())) return false;
     }
     if (hasContext() != other.hasContext()) return false;
     if (hasContext()) {
-      if (!getContext()
-          .equals(other.getContext())) return false;
+      if (!getContext().equals(other.getContext())) return false;
     }
     if (hasSurrogateInfoType() != other.hasSurrogateInfoType()) return false;
     if (hasSurrogateInfoType()) {
-      if (!getSurrogateInfoType()
-          .equals(other.getSurrogateInfoType())) return false;
+      if (!getSurrogateInfoType().equals(other.getSurrogateInfoType())) return false;
     }
     if (!getAlphabetCase().equals(other.getAlphabetCase())) return false;
     switch (alphabetCase_) {
       case 4:
-        if (getCommonAlphabetValue()
-            != other.getCommonAlphabetValue()) return false;
+        if (getCommonAlphabetValue() != other.getCommonAlphabetValue()) return false;
         break;
       case 5:
-        if (!getCustomAlphabet()
-            .equals(other.getCustomAlphabet())) return false;
+        if (!getCustomAlphabet().equals(other.getCustomAlphabet())) return false;
         break;
       case 6:
-        if (getRadix()
-            != other.getRadix()) return false;
+        if (getRadix() != other.getRadix()) return false;
         break;
       case 0:
       default:
@@ -913,96 +1032,103 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Replaces an identifier with a surrogate using Format Preserving Encryption
    * (FPE) with the FFX mode of operation; however when used in the
@@ -1020,21 +1146,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
       com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
+              com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.class,
+              com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.newBuilder()
@@ -1042,16 +1170,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1079,9 +1206,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1100,7 +1227,8 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig buildPartial() {
-      com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig result = new com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig(this);
+      com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig result =
+          new com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig(this);
       if (cryptoKeyBuilder_ == null) {
         result.cryptoKey_ = cryptoKey_;
       } else {
@@ -1134,38 +1262,39 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1173,7 +1302,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig other) {
-      if (other == com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance())
+        return this;
       if (other.hasCryptoKey()) {
         mergeCryptoKey(other.getCryptoKey());
       }
@@ -1184,23 +1314,27 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig oth
         mergeSurrogateInfoType(other.getSurrogateInfoType());
       }
       switch (other.getAlphabetCase()) {
-        case COMMON_ALPHABET: {
-          setCommonAlphabetValue(other.getCommonAlphabetValue());
-          break;
-        }
-        case CUSTOM_ALPHABET: {
-          alphabetCase_ = 5;
-          alphabet_ = other.alphabet_;
-          onChanged();
-          break;
-        }
-        case RADIX: {
-          setRadix(other.getRadix());
-          break;
-        }
-        case ALPHABET_NOT_SET: {
-          break;
-        }
+        case COMMON_ALPHABET:
+          {
+            setCommonAlphabetValue(other.getCommonAlphabetValue());
+            break;
+          }
+        case CUSTOM_ALPHABET:
+          {
+            alphabetCase_ = 5;
+            alphabet_ = other.alphabet_;
+            onChanged();
+            break;
+          }
+        case RADIX:
+          {
+            setRadix(other.getRadix());
+            break;
+          }
+        case ALPHABET_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1221,7 +1355,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1230,12 +1365,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int alphabetCase_ = 0;
     private java.lang.Object alphabet_;
-    public AlphabetCase
-        getAlphabetCase() {
-      return AlphabetCase.forNumber(
-          alphabetCase_);
+
+    public AlphabetCase getAlphabetCase() {
+      return AlphabetCase.forNumber(alphabetCase_);
     }
 
     public Builder clearAlphabet() {
@@ -1245,42 +1380,60 @@ public Builder clearAlphabet() {
       return this;
     }
 
-
     private com.google.privacy.dlp.v2.CryptoKey cryptoKey_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
+            com.google.privacy.dlp.v2.CryptoKey,
+            com.google.privacy.dlp.v2.CryptoKey.Builder,
+            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
+        cryptoKeyBuilder_;
     /**
+     *
+     *
      * 
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cryptoKey field is set. */ public boolean hasCryptoKey() { return cryptoKeyBuilder_ != null || cryptoKey_ != null; } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cryptoKey. */ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (cryptoKeyBuilder_ == null) { - return cryptoKey_ == null ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } else { return cryptoKeyBuilder_.getMessage(); } } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { if (cryptoKeyBuilder_ == null) { @@ -1296,14 +1449,17 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCryptoKey( - com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { + public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) { if (cryptoKeyBuilder_ == null) { cryptoKey_ = builderForValue.build(); onChanged(); @@ -1314,17 +1470,23 @@ public Builder setCryptoKey( return this; } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { if (cryptoKeyBuilder_ == null) { if (cryptoKey_ != null) { cryptoKey_ = - com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.CryptoKey.newBuilder(cryptoKey_) + .mergeFrom(value) + .buildPartial(); } else { cryptoKey_ = value; } @@ -1336,11 +1498,15 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCryptoKey() { if (cryptoKeyBuilder_ == null) { @@ -1354,48 +1520,64 @@ public Builder clearCryptoKey() { return this; } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() { - + onChanged(); return getCryptoKeyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { if (cryptoKeyBuilder_ != null) { return cryptoKeyBuilder_.getMessageOrBuilder(); } else { - return cryptoKey_ == null ? - com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() : cryptoKey_; + return cryptoKey_ == null + ? com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance() + : cryptoKey_; } } /** + * + * *
      * Required. The key used by the encryption algorithm.
      * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> + com.google.privacy.dlp.v2.CryptoKey, + com.google.privacy.dlp.v2.CryptoKey.Builder, + com.google.privacy.dlp.v2.CryptoKeyOrBuilder> getCryptoKeyFieldBuilder() { if (cryptoKeyBuilder_ == null) { - cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( - getCryptoKey(), - getParentForChildren(), - isClean()); + cryptoKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoKey, + com.google.privacy.dlp.v2.CryptoKey.Builder, + com.google.privacy.dlp.v2.CryptoKeyOrBuilder>( + getCryptoKey(), getParentForChildren(), isClean()); cryptoKey_ = null; } return cryptoKeyBuilder_; @@ -1403,8 +1585,13 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { private com.google.privacy.dlp.v2.FieldId context_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> contextBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + contextBuilder_; /** + * + * *
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1423,12 +1610,15 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** + * + * *
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1447,6 +1637,7 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1457,6 +1648,8 @@ public com.google.privacy.dlp.v2.FieldId getContext() { } } /** + * + * *
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1490,6 +1683,8 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1509,8 +1704,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      *
      * .google.privacy.dlp.v2.FieldId context = 2;
      */
-    public Builder setContext(
-        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (contextBuilder_ == null) {
         context_ = builderForValue.build();
         onChanged();
@@ -1521,6 +1715,8 @@ public Builder setContext(
       return this;
     }
     /**
+     *
+     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1544,7 +1740,9 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       if (contextBuilder_ == null) {
         if (context_ != null) {
           context_ =
-            com.google.privacy.dlp.v2.FieldId.newBuilder(context_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.FieldId.newBuilder(context_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           context_ = value;
         }
@@ -1556,6 +1754,8 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1587,6 +1787,8 @@ public Builder clearContext() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1607,11 +1809,13 @@ public Builder clearContext() {
      * .google.privacy.dlp.v2.FieldId context = 2;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
-      
+
       onChanged();
       return getContextFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1635,11 +1839,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
       if (contextBuilder_ != null) {
         return contextBuilder_.getMessageOrBuilder();
       } else {
-        return context_ == null ?
-            com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
+        return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
       }
     }
     /**
+     *
+     *
      * 
      * The 'tweak', a context may be used for higher security since the same
      * identifier in two different contexts won't be given the same surrogate. If
@@ -1660,25 +1865,33 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * .google.privacy.dlp.v2.FieldId context = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
         getContextFieldBuilder() {
       if (contextBuilder_ == null) {
-        contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                getContext(),
-                getParentForChildren(),
-                isClean());
+        contextBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldId,
+                com.google.privacy.dlp.v2.FieldId.Builder,
+                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                getContext(), getParentForChildren(), isClean());
         context_ = null;
       }
       return contextBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Common alphabets.
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return Whether the commonAlphabet field is set. */ @java.lang.Override @@ -1686,11 +1899,16 @@ public boolean hasCommonAlphabet() { return alphabetCase_ == 4; } /** + * + * *
      * Common alphabets.
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return The enum numeric value on the wire for commonAlphabet. */ @java.lang.Override @@ -1701,11 +1919,16 @@ public int getCommonAlphabetValue() { return 0; } /** + * + * *
      * Common alphabets.
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @param value The enum numeric value on the wire for commonAlphabet to set. * @return This builder for chaining. */ @@ -1716,33 +1939,50 @@ public Builder setCommonAlphabetValue(int value) { return this; } /** + * + * *
      * Common alphabets.
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return The commonAlphabet. */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet + getCommonAlphabet() { if (alphabetCase_ == 4) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( - (java.lang.Integer) alphabet_); - return result == null ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet result = + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.valueOf( + (java.lang.Integer) alphabet_); + return result == null + ? com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet + .UNRECOGNIZED + : result; } - return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; + return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet + .FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED; } /** + * + * *
      * Common alphabets.
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @param value The commonAlphabet to set. * @return This builder for chaining. */ - public Builder setCommonAlphabet(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet value) { + public Builder setCommonAlphabet( + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet value) { if (value == null) { throw new NullPointerException(); } @@ -1752,11 +1992,16 @@ public Builder setCommonAlphabet(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeCo return this; } /** + * + * *
      * Common alphabets.
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return This builder for chaining. */ public Builder clearCommonAlphabet() { @@ -1769,6 +2014,8 @@ public Builder clearCommonAlphabet() { } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1783,6 +2030,7 @@ public Builder clearCommonAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @return Whether the customAlphabet field is set. */ @java.lang.Override @@ -1790,6 +2038,8 @@ public boolean hasCustomAlphabet() { return alphabetCase_ == 5; } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1804,6 +2054,7 @@ public boolean hasCustomAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @return The customAlphabet. */ @java.lang.Override @@ -1813,8 +2064,7 @@ public java.lang.String getCustomAlphabet() { ref = alphabet_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (alphabetCase_ == 5) { alphabet_ = s; @@ -1825,6 +2075,8 @@ public java.lang.String getCustomAlphabet() { } } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1839,19 +2091,18 @@ public java.lang.String getCustomAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @return The bytes for customAlphabet. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomAlphabetBytes() { + public com.google.protobuf.ByteString getCustomAlphabetBytes() { java.lang.Object ref = ""; if (alphabetCase_ == 5) { ref = alphabet_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (alphabetCase_ == 5) { alphabet_ = b; } @@ -1861,6 +2112,8 @@ public java.lang.String getCustomAlphabet() { } } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1875,20 +2128,22 @@ public java.lang.String getCustomAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @param value The customAlphabet to set. * @return This builder for chaining. */ - public Builder setCustomAlphabet( - java.lang.String value) { + public Builder setCustomAlphabet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - alphabetCase_ = 5; + throw new NullPointerException(); + } + alphabetCase_ = 5; alphabet_ = value; onChanged(); return this; } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1903,6 +2158,7 @@ public Builder setCustomAlphabet(
      * 
* * string custom_alphabet = 5; + * * @return This builder for chaining. */ public Builder clearCustomAlphabet() { @@ -1914,6 +2170,8 @@ public Builder clearCustomAlphabet() { return this; } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1928,15 +2186,15 @@ public Builder clearCustomAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @param value The bytes for customAlphabet to set. * @return This builder for chaining. */ - public Builder setCustomAlphabetBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); alphabetCase_ = 5; alphabet_ = value; onChanged(); @@ -1944,22 +2202,28 @@ public Builder setCustomAlphabetBytes( } /** + * + * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; + * * @return Whether the radix field is set. */ public boolean hasRadix() { return alphabetCase_ == 6; } /** + * + * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; + * * @return The radix. */ public int getRadix() { @@ -1969,11 +2233,14 @@ public int getRadix() { return 0; } /** + * + * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; + * * @param value The radix to set. * @return This builder for chaining. */ @@ -1984,11 +2251,14 @@ public Builder setRadix(int value) { return this; } /** + * + * *
      * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; + * * @return This builder for chaining. */ public Builder clearRadix() { @@ -2002,8 +2272,13 @@ public Builder clearRadix() { private com.google.privacy.dlp.v2.InfoType surrogateInfoType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> surrogateInfoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + surrogateInfoTypeBuilder_; /** + * + * *
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2030,12 +2305,15 @@ public Builder clearRadix() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return Whether the surrogateInfoType field is set. */ public boolean hasSurrogateInfoType() { return surrogateInfoTypeBuilder_ != null || surrogateInfoType_ != null; } /** + * + * *
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2062,16 +2340,21 @@ public boolean hasSurrogateInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return The surrogateInfoType. */ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { if (surrogateInfoTypeBuilder_ == null) { - return surrogateInfoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_; + return surrogateInfoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : surrogateInfoType_; } else { return surrogateInfoTypeBuilder_.getMessage(); } } /** + * + * *
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2113,6 +2396,8 @@ public Builder setSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2152,6 +2437,8 @@ public Builder setSurrogateInfoType(
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2183,7 +2470,9 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       if (surrogateInfoTypeBuilder_ == null) {
         if (surrogateInfoType_ != null) {
           surrogateInfoType_ =
-            com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InfoType.newBuilder(surrogateInfoType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           surrogateInfoType_ = value;
         }
@@ -2195,6 +2484,8 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2234,6 +2525,8 @@ public Builder clearSurrogateInfoType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2262,11 +2555,13 @@ public Builder clearSurrogateInfoType() {
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getSurrogateInfoTypeBuilder() {
-      
+
       onChanged();
       return getSurrogateInfoTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2298,11 +2593,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
       if (surrogateInfoTypeBuilder_ != null) {
         return surrogateInfoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return surrogateInfoType_ == null ?
-            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : surrogateInfoType_;
+        return surrogateInfoType_ == null
+            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
+            : surrogateInfoType_;
       }
     }
     /**
+     *
+     *
      * 
      * The custom infoType to annotate the surrogate with.
      * This annotation will be applied to the surrogate by prefixing it with
@@ -2331,21 +2629,24 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getSurrogateInfoTypeFieldBuilder() {
       if (surrogateInfoTypeBuilder_ == null) {
-        surrogateInfoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getSurrogateInfoType(),
-                getParentForChildren(),
-                isClean());
+        surrogateInfoTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getSurrogateInfoType(), getParentForChildren(), isClean());
         surrogateInfoType_ = null;
       }
       return surrogateInfoTypeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2355,12 +2656,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
   private static final com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig();
   }
@@ -2369,16 +2670,16 @@ public static com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CryptoReplaceFfxFpeConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new CryptoReplaceFfxFpeConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CryptoReplaceFfxFpeConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new CryptoReplaceFfxFpeConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2393,6 +2694,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
similarity index 87%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
index 71a5d24c..0241d7e2 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface CryptoReplaceFfxFpeConfigOrBuilder extends
+public interface CryptoReplaceFfxFpeConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The key used by the encryption algorithm.
    * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** + * + * *
    * Required. The key used by the encryption algorithm.
    * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** + * + * *
    * Required. The key used by the encryption algorithm.
    * 
* - * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder(); /** + * + * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -53,10 +85,13 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return Whether the context field is set. */ boolean hasContext(); /** + * + * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -75,10 +110,13 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return The context. */ com.google.privacy.dlp.v2.FieldId getContext(); /** + * + * *
    * The 'tweak', a context may be used for higher security since the same
    * identifier in two different contexts won't be given the same surrogate. If
@@ -101,34 +139,51 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
   com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder();
 
   /**
+   *
+   *
    * 
    * Common alphabets.
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return Whether the commonAlphabet field is set. */ boolean hasCommonAlphabet(); /** + * + * *
    * Common alphabets.
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return The enum numeric value on the wire for commonAlphabet. */ int getCommonAlphabetValue(); /** + * + * *
    * Common alphabets.
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4; + * + * * @return The commonAlphabet. */ com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet getCommonAlphabet(); /** + * + * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -143,10 +198,13 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * string custom_alphabet = 5; + * * @return Whether the customAlphabet field is set. */ boolean hasCustomAlphabet(); /** + * + * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -161,10 +219,13 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * string custom_alphabet = 5; + * * @return The customAlphabet. */ java.lang.String getCustomAlphabet(); /** + * + * *
    * This is supported by mapping these to the alphanumeric characters
    * that the FFX mode natively supports. This happens before/after
@@ -179,31 +240,39 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * string custom_alphabet = 5; + * * @return The bytes for customAlphabet. */ - com.google.protobuf.ByteString - getCustomAlphabetBytes(); + com.google.protobuf.ByteString getCustomAlphabetBytes(); /** + * + * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; + * * @return Whether the radix field is set. */ boolean hasRadix(); /** + * + * *
    * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; + * * @return The radix. */ int getRadix(); /** + * + * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -230,10 +299,13 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return Whether the surrogateInfoType field is set. */ boolean hasSurrogateInfoType(); /** + * + * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
@@ -260,10 +332,13 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return The surrogateInfoType. */ com.google.privacy.dlp.v2.InfoType getSurrogateInfoType(); /** + * + * *
    * The custom infoType to annotate the surrogate with.
    * This annotation will be applied to the surrogate by prefixing it with
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
similarity index 73%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
index 9a075ebc..06957112 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Custom information type provided by the user. Used to find domain-specific
  * sensitive information configurable to the data in question.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType}
  */
-public final class CustomInfoType extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CustomInfoType extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType)
     CustomInfoTypeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CustomInfoType.newBuilder() to construct.
   private CustomInfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CustomInfoType() {
     likelihood_ = 0;
     detectionRules_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private CustomInfoType() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomInfoType();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CustomInfoType(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,110 +74,131 @@ private CustomInfoType(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-            if (infoType_ != null) {
-              subBuilder = infoType_.toBuilder();
-            }
-            infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(infoType_);
-              infoType_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+              if (infoType_ != null) {
+                subBuilder = infoType_.toBuilder();
+              }
+              infoType_ =
+                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(infoType_);
+                infoType_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
-            if (typeCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
-            }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
-              type_ = subBuilder.buildPartial();
+              break;
             }
-            typeCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-            if (typeCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
+              if (typeCase_ == 2) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 2;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
-              type_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+              if (typeCase_ == 3) {
+                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 3;
+              break;
             }
-            typeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder subBuilder = null;
-            if (typeCase_ == 4) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_).toBuilder();
+          case 34:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder subBuilder = null;
+              if (typeCase_ == 4) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 4;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_);
-              type_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.privacy.dlp.v2.StoredType.Builder subBuilder = null;
+              if (typeCase_ == 5) {
+                subBuilder = ((com.google.privacy.dlp.v2.StoredType) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.StoredType.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.StoredType) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 5;
+              break;
             }
-            typeCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.privacy.dlp.v2.StoredType.Builder subBuilder = null;
-            if (typeCase_ == 5) {
-              subBuilder = ((com.google.privacy.dlp.v2.StoredType) type_).toBuilder();
+          case 48:
+            {
+              int rawValue = input.readEnum();
+
+              likelihood_ = rawValue;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.StoredType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.StoredType) type_);
-              type_ = subBuilder.buildPartial();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                detectionRules_ =
+                    new java.util.ArrayList<
+                        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              detectionRules_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.parser(),
+                      extensionRegistry));
+              break;
             }
-            typeCase_ = 5;
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
+          case 64:
+            {
+              int rawValue = input.readEnum();
 
-            likelihood_ = rawValue;
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              detectionRules_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              exclusionType_ = rawValue;
+              break;
             }
-            detectionRules_.add(
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.parser(), extensionRegistry));
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
-
-            exclusionType_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         detectionRules_ = java.util.Collections.unmodifiableList(detectionRules_);
@@ -169,25 +207,27 @@ private CustomInfoType(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.CustomInfoType.class, com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
+            com.google.privacy.dlp.v2.CustomInfoType.class,
+            com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.privacy.dlp.v2.CustomInfoType.ExclusionType}
-   */
-  public enum ExclusionType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.privacy.dlp.v2.CustomInfoType.ExclusionType} */
+  public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * A finding of this custom info type will not be excluded from results.
      * 
@@ -196,6 +236,8 @@ public enum ExclusionType */ EXCLUSION_TYPE_UNSPECIFIED(0), /** + * + * *
      * A finding of this custom info type will be excluded from final results,
      * but can still affect rule execution.
@@ -208,6 +250,8 @@ public enum ExclusionType
     ;
 
     /**
+     *
+     *
      * 
      * A finding of this custom info type will not be excluded from results.
      * 
@@ -216,6 +260,8 @@ public enum ExclusionType */ public static final int EXCLUSION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A finding of this custom info type will be excluded from final results,
      * but can still affect rule execution.
@@ -225,7 +271,6 @@ public enum ExclusionType
      */
     public static final int EXCLUSION_TYPE_EXCLUDE_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -250,48 +295,47 @@ public static ExclusionType valueOf(int value) {
      */
     public static ExclusionType forNumber(int value) {
       switch (value) {
-        case 0: return EXCLUSION_TYPE_UNSPECIFIED;
-        case 1: return EXCLUSION_TYPE_EXCLUDE;
-        default: return null;
+        case 0:
+          return EXCLUSION_TYPE_UNSPECIFIED;
+        case 1:
+          return EXCLUSION_TYPE_EXCLUDE;
+        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<
-        ExclusionType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ExclusionType findValueByNumber(int number) {
-              return ExclusionType.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 ExclusionType findValueByNumber(int number) {
+            return ExclusionType.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.privacy.dlp.v2.CustomInfoType.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ExclusionType[] VALUES = values();
 
-    public static ExclusionType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ExclusionType 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;
@@ -308,29 +352,38 @@ private ExclusionType(int value) {
     // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.CustomInfoType.ExclusionType)
   }
 
-  public interface DictionaryOrBuilder extends
+  public interface DictionaryOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.Dictionary)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ boolean hasWordList(); /** + * + * *
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(); /** + * + * *
      * List of words or phrases to search for.
      * 
@@ -340,26 +393,34 @@ public interface DictionaryOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder(); /** + * + * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; + * * @return Whether the cloudStoragePath field is set. */ boolean hasCloudStoragePath(); /** + * + * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; + * * @return The cloudStoragePath. */ com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath(); /** + * + * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
@@ -372,6 +433,8 @@ public interface DictionaryOrBuilder extends
     public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.SourceCase getSourceCase();
   }
   /**
+   *
+   *
    * 
    * Custom information type based on a dictionary of words or phrases. This can
    * be used to match sensitive information specific to the data, such as a list
@@ -398,30 +461,29 @@ public interface DictionaryOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary}
    */
-  public static final class Dictionary extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Dictionary extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary)
       DictionaryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Dictionary.newBuilder() to construct.
     private Dictionary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Dictionary() {
-    }
+
+    private Dictionary() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Dictionary();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Dictionary(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -440,71 +502,85 @@ private Dictionary(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = null;
-              if (sourceCase_ == 1) {
-                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_).toBuilder();
-              }
-              source_ =
-                  input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
-                source_ = subBuilder.buildPartial();
-              }
-              sourceCase_ = 1;
-              break;
-            }
-            case 26: {
-              com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null;
-              if (sourceCase_ == 3) {
-                subBuilder = ((com.google.privacy.dlp.v2.CloudStoragePath) source_).toBuilder();
+            case 10:
+              {
+                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder =
+                    null;
+                if (sourceCase_ == 1) {
+                  subBuilder =
+                      ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_)
+                          .toBuilder();
+                }
+                source_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
+                  source_ = subBuilder.buildPartial();
+                }
+                sourceCase_ = 1;
+                break;
               }
-              source_ =
-                  input.readMessage(com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath) source_);
-                source_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null;
+                if (sourceCase_ == 3) {
+                  subBuilder = ((com.google.privacy.dlp.v2.CloudStoragePath) source_).toBuilder();
+                }
+                source_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStoragePath) source_);
+                  source_ = subBuilder.buildPartial();
+                }
+                sourceCase_ = 3;
+                break;
               }
-              sourceCase_ = 3;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class);
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class,
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class);
     }
 
-    public interface WordListOrBuilder extends
+    public interface WordListOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -512,11 +588,13 @@ public interface WordListOrBuilder extends
        * 
* * repeated string words = 1; + * * @return A list containing the words. */ - java.util.List - getWordsList(); + java.util.List getWordsList(); /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -524,10 +602,13 @@ public interface WordListOrBuilder extends
        * 
* * repeated string words = 1; + * * @return The count of words. */ int getWordsCount(); /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -535,11 +616,14 @@ public interface WordListOrBuilder extends
        * 
* * repeated string words = 1; + * * @param index The index of the element to return. * @return The words at the given index. */ java.lang.String getWords(int index); /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -547,44 +631,46 @@ public interface WordListOrBuilder extends
        * 
* * repeated string words = 1; + * * @param index The index of the value to return. * @return The bytes of the words at the given index. */ - com.google.protobuf.ByteString - getWordsBytes(int index); + com.google.protobuf.ByteString getWordsBytes(int index); } /** + * + * *
      * Message defining a list of words or phrases to search for in the data.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList} */ - public static final class WordList extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WordList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) WordListOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WordList.newBuilder() to construct. private WordList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WordList() { words_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WordList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WordList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -604,29 +690,30 @@ private WordList( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + words_.add(s); + break; } - words_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = words_.getUnmodifiableView(); @@ -635,22 +722,27 @@ private WordList( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); } public static final int WORDS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList words_; /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -658,13 +750,15 @@ private WordList(
        * 
* * repeated string words = 1; + * * @return A list containing the words. */ - public com.google.protobuf.ProtocolStringList - getWordsList() { + public com.google.protobuf.ProtocolStringList getWordsList() { return words_; } /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -672,12 +766,15 @@ private WordList(
        * 
* * repeated string words = 1; + * * @return The count of words. */ public int getWordsCount() { return words_.size(); } /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -685,6 +782,7 @@ public int getWordsCount() {
        * 
* * repeated string words = 1; + * * @param index The index of the element to return. * @return The words at the given index. */ @@ -692,6 +790,8 @@ public java.lang.String getWords(int index) { return words_.get(index); } /** + * + * *
        * Words or phrases defining the dictionary. The dictionary must contain
        * at least one phrase and every phrase must contain at least 2 characters
@@ -699,15 +799,16 @@ public java.lang.String getWords(int index) {
        * 
* * repeated string words = 1; + * * @param index The index of the value to return. * @return The bytes of the words at the given index. */ - public com.google.protobuf.ByteString - getWordsBytes(int index) { + public com.google.protobuf.ByteString getWordsBytes(int index) { return words_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -719,8 +820,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < words_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, words_.getRaw(i)); } @@ -749,15 +849,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.privacy.dlp.v2.CustomInfoType.Dictionary.WordList)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) obj; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other = + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) obj; - if (!getWordsList() - .equals(other.getWordsList())) return false; + if (!getWordsList().equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -779,87 +879,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -869,27 +976,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Message defining a list of words or phrases to search for in the data.
        * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.class, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder.class); } // Construct using com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder() @@ -897,16 +1009,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -916,13 +1027,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList + getDefaultInstanceForType() { return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } @@ -937,7 +1049,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList build() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList result = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList(this); + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList result = + new com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { words_ = words_.getUnmodifiableView(); @@ -952,46 +1065,52 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList)other); + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other) { - if (other == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList other) { + if (other + == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) + return this; if (!other.words_.isEmpty()) { if (words_.isEmpty()) { words_ = other.words_; @@ -1021,7 +1140,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1030,16 +1151,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList words_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList words_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { words_ = new com.google.protobuf.LazyStringArrayList(words_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1047,13 +1173,15 @@ private void ensureWordsIsMutable() {
          * 
* * repeated string words = 1; + * * @return A list containing the words. */ - public com.google.protobuf.ProtocolStringList - getWordsList() { + public com.google.protobuf.ProtocolStringList getWordsList() { return words_.getUnmodifiableView(); } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1061,12 +1189,15 @@ private void ensureWordsIsMutable() {
          * 
* * repeated string words = 1; + * * @return The count of words. */ public int getWordsCount() { return words_.size(); } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1074,6 +1205,7 @@ public int getWordsCount() {
          * 
* * repeated string words = 1; + * * @param index The index of the element to return. * @return The words at the given index. */ @@ -1081,6 +1213,8 @@ public java.lang.String getWords(int index) { return words_.get(index); } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1088,14 +1222,16 @@ public java.lang.String getWords(int index) {
          * 
* * repeated string words = 1; + * * @param index The index of the value to return. * @return The bytes of the words at the given index. */ - public com.google.protobuf.ByteString - getWordsBytes(int index) { + public com.google.protobuf.ByteString getWordsBytes(int index) { return words_.getByteString(index); } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1103,21 +1239,23 @@ public java.lang.String getWords(int index) {
          * 
* * repeated string words = 1; + * * @param index The index to set the value at. * @param value The words to set. * @return This builder for chaining. */ - public Builder setWords( - int index, java.lang.String value) { + public Builder setWords(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWordsIsMutable(); + throw new NullPointerException(); + } + ensureWordsIsMutable(); words_.set(index, value); onChanged(); return this; } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1125,20 +1263,22 @@ public Builder setWords(
          * 
* * repeated string words = 1; + * * @param value The words to add. * @return This builder for chaining. */ - public Builder addWords( - java.lang.String value) { + public Builder addWords(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWordsIsMutable(); + throw new NullPointerException(); + } + ensureWordsIsMutable(); words_.add(value); onChanged(); return this; } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1146,18 +1286,19 @@ public Builder addWords(
          * 
* * repeated string words = 1; + * * @param values The words to add. * @return This builder for chaining. */ - public Builder addAllWords( - java.lang.Iterable values) { + public Builder addAllWords(java.lang.Iterable values) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); onChanged(); return this; } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1165,6 +1306,7 @@ public Builder addAllWords(
          * 
* * repeated string words = 1; + * * @return This builder for chaining. */ public Builder clearWords() { @@ -1174,6 +1316,8 @@ public Builder clearWords() { return this; } /** + * + * *
          * Words or phrases defining the dictionary. The dictionary must contain
          * at least one phrase and every phrase must contain at least 2 characters
@@ -1181,20 +1325,21 @@ public Builder clearWords() {
          * 
* * repeated string words = 1; + * * @param value The bytes of the words to add. * @return This builder for chaining. */ - public Builder addWordsBytes( - com.google.protobuf.ByteString value) { + public Builder addWordsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWordsIsMutable(); words_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1207,30 +1352,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) - private static final com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList(); } - public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,21 +1389,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WORD_LIST(1), CLOUD_STORAGE_PATH(3), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -1272,30 +1422,36 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return WORD_LIST; - case 3: return CLOUD_STORAGE_PATH; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return WORD_LIST; + case 3: + return CLOUD_STORAGE_PATH; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int WORD_LIST_FIELD_NUMBER = 1; /** + * + * *
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ @java.lang.Override @@ -1303,21 +1459,26 @@ public boolean hasWordList() { return sourceCase_ == 1; } /** + * + * *
      * List of words or phrases to search for.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } /** + * + * *
      * List of words or phrases to search for.
      * 
@@ -1325,21 +1486,25 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList( * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder + getWordListOrBuilder() { if (sourceCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } public static final int CLOUD_STORAGE_PATH_FIELD_NUMBER = 3; /** + * + * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; + * * @return Whether the cloudStoragePath field is set. */ @java.lang.Override @@ -1347,22 +1512,27 @@ public boolean hasCloudStoragePath() { return sourceCase_ == 3; } /** + * + * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
      * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; + * * @return The cloudStoragePath. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.CloudStoragePath) source_; + return (com.google.privacy.dlp.v2.CloudStoragePath) source_; } return com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance(); } /** + * + * *
      * Newline-delimited file of words in Cloud Storage. Only a single file
      * is accepted.
@@ -1373,12 +1543,13 @@ public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() {
     @java.lang.Override
     public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOrBuilder() {
       if (sourceCase_ == 3) {
-         return (com.google.privacy.dlp.v2.CloudStoragePath) source_;
+        return (com.google.privacy.dlp.v2.CloudStoragePath) source_;
       }
       return com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1390,10 +1561,10 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (sourceCase_ == 1) {
-        output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
+        output.writeMessage(
+            1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
       }
       if (sourceCase_ == 3) {
         output.writeMessage(3, (com.google.privacy.dlp.v2.CloudStoragePath) source_);
@@ -1408,12 +1579,14 @@ public int getSerializedSize() {
 
       size = 0;
       if (sourceCase_ == 1) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_);
       }
       if (sourceCase_ == 3) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, (com.google.privacy.dlp.v2.CloudStoragePath) source_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                3, (com.google.privacy.dlp.v2.CloudStoragePath) source_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1423,22 +1596,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.privacy.dlp.v2.CustomInfoType.Dictionary)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.CustomInfoType.Dictionary other = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) obj;
+      com.google.privacy.dlp.v2.CustomInfoType.Dictionary other =
+          (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) obj;
 
       if (!getSourceCase().equals(other.getSourceCase())) return false;
       switch (sourceCase_) {
         case 1:
-          if (!getWordList()
-              .equals(other.getWordList())) return false;
+          if (!getWordList().equals(other.getWordList())) return false;
           break;
         case 3:
-          if (!getCloudStoragePath()
-              .equals(other.getCloudStoragePath())) return false;
+          if (!getCloudStoragePath().equals(other.getCloudStoragePath())) return false;
           break;
         case 0:
         default:
@@ -1472,87 +1644,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.Dictionary prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.CustomInfoType.Dictionary prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1562,6 +1741,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Custom information type based on a dictionary of words or phrases. This can
      * be used to match sensitive information specific to the data, such as a list
@@ -1588,21 +1769,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.Dictionary)
         com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.class,
+                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder()
@@ -1610,16 +1794,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1629,9 +1812,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor;
       }
 
       @java.lang.Override
@@ -1650,7 +1833,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.CustomInfoType.Dictionary buildPartial() {
-        com.google.privacy.dlp.v2.CustomInfoType.Dictionary result = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary(this);
+        com.google.privacy.dlp.v2.CustomInfoType.Dictionary result =
+            new com.google.privacy.dlp.v2.CustomInfoType.Dictionary(this);
         if (sourceCase_ == 1) {
           if (wordListBuilder_ == null) {
             result.source_ = source_;
@@ -1674,38 +1858,41 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.Dictionary) {
-          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary)other);
+          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1713,19 +1900,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Dictionary other) {
-        if (other == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance())
+          return this;
         switch (other.getSourceCase()) {
-          case WORD_LIST: {
-            mergeWordList(other.getWordList());
-            break;
-          }
-          case CLOUD_STORAGE_PATH: {
-            mergeCloudStoragePath(other.getCloudStoragePath());
-            break;
-          }
-          case SOURCE_NOT_SET: {
-            break;
-          }
+          case WORD_LIST:
+            {
+              mergeWordList(other.getWordList());
+              break;
+            }
+          case CLOUD_STORAGE_PATH:
+            {
+              mergeCloudStoragePath(other.getCloudStoragePath());
+              break;
+            }
+          case SOURCE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -1746,7 +1937,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1755,12 +1947,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int sourceCase_ = 0;
       private java.lang.Object source_;
-      public SourceCase
-          getSourceCase() {
-        return SourceCase.forNumber(
-            sourceCase_);
+
+      public SourceCase getSourceCase() {
+        return SourceCase.forNumber(sourceCase_);
       }
 
       public Builder clearSource() {
@@ -1770,15 +1962,20 @@ public Builder clearSource() {
         return this;
       }
 
-
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> wordListBuilder_;
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList,
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder,
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>
+          wordListBuilder_;
       /**
+       *
+       *
        * 
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ @java.lang.Override @@ -1786,11 +1983,14 @@ public boolean hasWordList() { return sourceCase_ == 1; } /** + * + * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ @java.lang.Override @@ -1808,13 +2008,16 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList( } } /** + * + * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ - public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { + public Builder setWordList( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { if (wordListBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1828,6 +2031,8 @@ public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.W return this; } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1846,18 +2051,26 @@ public Builder setWordList( return this; } /** + * + * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ - public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { + public Builder mergeWordList( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { if (wordListBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) { - source_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList + .getDefaultInstance()) { + source_ = + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1872,6 +2085,8 @@ public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1895,16 +2110,21 @@ public Builder clearWordList() { return this; } /** + * + * *
        * List of words or phrases to search for.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder getWordListBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder + getWordListBuilder() { return getWordListFieldBuilder().getBuilder(); } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1912,7 +2132,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder getW * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder + getWordListOrBuilder() { if ((sourceCase_ == 1) && (wordListBuilder_ != null)) { return wordListBuilder_.getMessageOrBuilder(); } else { @@ -1923,6 +2144,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder get } } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1930,33 +2153,46 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder get * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> getWordListFieldBuilder() { if (wordListBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + source_ = + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } - wordListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>( + wordListBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return wordListBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> cloudStoragePathBuilder_; + com.google.privacy.dlp.v2.CloudStoragePath, + com.google.privacy.dlp.v2.CloudStoragePath.Builder, + com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> + cloudStoragePathBuilder_; /** + * + * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
        * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; + * * @return Whether the cloudStoragePath field is set. */ @java.lang.Override @@ -1964,12 +2200,15 @@ public boolean hasCloudStoragePath() { return sourceCase_ == 3; } /** + * + * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
        * 
* * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3; + * * @return The cloudStoragePath. */ @java.lang.Override @@ -1987,6 +2226,8 @@ public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() { } } /** + * + * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2008,6 +2249,8 @@ public Builder setCloudStoragePath(com.google.privacy.dlp.v2.CloudStoragePath va
         return this;
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2027,6 +2270,8 @@ public Builder setCloudStoragePath(
         return this;
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2036,10 +2281,13 @@ public Builder setCloudStoragePath(
        */
       public Builder mergeCloudStoragePath(com.google.privacy.dlp.v2.CloudStoragePath value) {
         if (cloudStoragePathBuilder_ == null) {
-          if (sourceCase_ == 3 &&
-              source_ != com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()) {
-            source_ = com.google.privacy.dlp.v2.CloudStoragePath.newBuilder((com.google.privacy.dlp.v2.CloudStoragePath) source_)
-                .mergeFrom(value).buildPartial();
+          if (sourceCase_ == 3
+              && source_ != com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()) {
+            source_ =
+                com.google.privacy.dlp.v2.CloudStoragePath.newBuilder(
+                        (com.google.privacy.dlp.v2.CloudStoragePath) source_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             source_ = value;
           }
@@ -2054,6 +2302,8 @@ public Builder mergeCloudStoragePath(com.google.privacy.dlp.v2.CloudStoragePath
         return this;
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2078,6 +2328,8 @@ public Builder clearCloudStoragePath() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2089,6 +2341,8 @@ public com.google.privacy.dlp.v2.CloudStoragePath.Builder getCloudStoragePathBui
         return getCloudStoragePathFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2108,6 +2362,8 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOr
         }
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2116,23 +2372,30 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOr
        * .google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> 
+              com.google.privacy.dlp.v2.CloudStoragePath,
+              com.google.privacy.dlp.v2.CloudStoragePath.Builder,
+              com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>
           getCloudStoragePathFieldBuilder() {
         if (cloudStoragePathBuilder_ == null) {
           if (!(sourceCase_ == 3)) {
             source_ = com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance();
           }
-          cloudStoragePathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
+          cloudStoragePathBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.CloudStoragePath,
+                  com.google.privacy.dlp.v2.CloudStoragePath.Builder,
+                  com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
                   (com.google.privacy.dlp.v2.CloudStoragePath) source_,
                   getParentForChildren(),
                   isClean());
           source_ = null;
         }
         sourceCase_ = 3;
-        onChanged();;
+        onChanged();
+        ;
         return cloudStoragePathBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2145,12 +2408,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary)
     private static final com.google.privacy.dlp.v2.CustomInfoType.Dictionary DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.Dictionary();
     }
@@ -2159,16 +2422,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Dictionary parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Dictionary(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Dictionary parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Dictionary(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2183,14 +2446,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface RegexOrBuilder extends
+  public interface RegexOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.Regex)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2198,10 +2463,13 @@ public interface RegexOrBuilder extends
      * 
* * string pattern = 1; + * * @return The pattern. */ java.lang.String getPattern(); /** + * + * *
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2209,59 +2477,71 @@ public interface RegexOrBuilder extends
      * 
* * string pattern = 1; + * * @return The bytes for pattern. */ - com.google.protobuf.ByteString - getPatternBytes(); + com.google.protobuf.ByteString getPatternBytes(); /** + * + * *
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; + * * @return A list containing the groupIndexes. */ java.util.List getGroupIndexesList(); /** + * + * *
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; + * * @return The count of groupIndexes. */ int getGroupIndexesCount(); /** + * + * *
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; + * * @param index The index of the element to return. * @return The groupIndexes at the given index. */ int getGroupIndexes(int index); } /** + * + * *
    * Message defining a custom regular expression.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Regex} */ - public static final class Regex extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Regex extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.Regex) RegexOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Regex.newBuilder() to construct. private Regex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Regex() { pattern_ = ""; groupIndexes_ = emptyIntList(); @@ -2269,16 +2549,15 @@ private Regex() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Regex(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Regex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2298,47 +2577,49 @@ private Regex( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pattern_ = s; - break; - } - case 16: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groupIndexes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - groupIndexes_.addInt(input.readInt32()); - break; - } - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - groupIndexes_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + pattern_ = s; + break; } - while (input.getBytesUntilLimit() > 0) { + case 16: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groupIndexes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } groupIndexes_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + groupIndexes_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + groupIndexes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groupIndexes_.makeImmutable(); // C @@ -2347,22 +2628,27 @@ private Regex( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Regex.class, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Regex.class, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); } public static final int PATTERN_FIELD_NUMBER = 1; private volatile java.lang.Object pattern_; /** + * + * *
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2370,6 +2656,7 @@ private Regex(
      * 
* * string pattern = 1; + * * @return The pattern. */ @java.lang.Override @@ -2378,14 +2665,15 @@ public java.lang.String getPattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pattern_ = s; return s; } } /** + * + * *
      * Pattern defining the regular expression. Its syntax
      * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2393,16 +2681,15 @@ public java.lang.String getPattern() {
      * 
* * string pattern = 1; + * * @return The bytes for pattern. */ @java.lang.Override - public com.google.protobuf.ByteString - getPatternBytes() { + public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pattern_ = b; return b; } else { @@ -2413,47 +2700,57 @@ public java.lang.String getPattern() { public static final int GROUP_INDEXES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList groupIndexes_; /** + * + * *
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; + * * @return A list containing the groupIndexes. */ @java.lang.Override - public java.util.List - getGroupIndexesList() { + public java.util.List getGroupIndexesList() { return groupIndexes_; } /** + * + * *
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; + * * @return The count of groupIndexes. */ public int getGroupIndexesCount() { return groupIndexes_.size(); } /** + * + * *
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
* * repeated int32 group_indexes = 2; + * * @param index The index of the element to return. * @return The groupIndexes at the given index. */ public int getGroupIndexes(int index) { return groupIndexes_.getInt(index); } + private int groupIndexesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2465,8 +2762,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(pattern_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pattern_); @@ -2493,14 +2789,13 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < groupIndexes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(groupIndexes_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(groupIndexes_.getInt(i)); } size += dataSize; if (!getGroupIndexesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } groupIndexesMemoizedSerializedSize = dataSize; } @@ -2512,17 +2807,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.privacy.dlp.v2.CustomInfoType.Regex)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.Regex other = (com.google.privacy.dlp.v2.CustomInfoType.Regex) obj; + com.google.privacy.dlp.v2.CustomInfoType.Regex other = + (com.google.privacy.dlp.v2.CustomInfoType.Regex) obj; - if (!getPattern() - .equals(other.getPattern())) return false; - if (!getGroupIndexesList() - .equals(other.getGroupIndexesList())) return false; + if (!getPattern().equals(other.getPattern())) return false; + if (!getGroupIndexesList().equals(other.getGroupIndexesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2545,88 +2839,94 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.Regex parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.Regex prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2636,27 +2936,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message defining a custom regular expression.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Regex} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.Regex) com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.Regex.class, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.Regex.class, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); } // Construct using com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder() @@ -2664,16 +2969,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2685,9 +2989,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; } @java.lang.Override @@ -2706,7 +3010,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex build() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.Regex result = new com.google.privacy.dlp.v2.CustomInfoType.Regex(this); + com.google.privacy.dlp.v2.CustomInfoType.Regex result = + new com.google.privacy.dlp.v2.CustomInfoType.Regex(this); int from_bitField0_ = bitField0_; result.pattern_ = pattern_; if (((bitField0_ & 0x00000001) != 0)) { @@ -2722,38 +3027,41 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.Regex) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex)other); + return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) other); } else { super.mergeFrom(other); return this; @@ -2761,7 +3069,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Regex other) { - if (other == com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) + return this; if (!other.getPattern().isEmpty()) { pattern_ = other.pattern_; onChanged(); @@ -2804,10 +3113,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object pattern_ = ""; /** + * + * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2815,13 +3127,13 @@ public Builder mergeFrom(
        * 
* * string pattern = 1; + * * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pattern_ = s; return s; @@ -2830,6 +3142,8 @@ public java.lang.String getPattern() { } } /** + * + * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2837,15 +3151,14 @@ public java.lang.String getPattern() {
        * 
* * string pattern = 1; + * * @return The bytes for pattern. */ - public com.google.protobuf.ByteString - getPatternBytes() { + public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pattern_ = b; return b; } else { @@ -2853,6 +3166,8 @@ public java.lang.String getPattern() { } } /** + * + * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2860,20 +3175,22 @@ public java.lang.String getPattern() {
        * 
* * string pattern = 1; + * * @param value The pattern to set. * @return This builder for chaining. */ - public Builder setPattern( - java.lang.String value) { + public Builder setPattern(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pattern_ = value; onChanged(); return this; } /** + * + * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2881,15 +3198,18 @@ public Builder setPattern(
        * 
* * string pattern = 1; + * * @return This builder for chaining. */ public Builder clearPattern() { - + pattern_ = getDefaultInstance().getPattern(); onChanged(); return this; } /** + * + * *
        * Pattern defining the regular expression. Its syntax
        * (https://github.com/google/re2/wiki/Syntax) can be found under the
@@ -2897,61 +3217,71 @@ public Builder clearPattern() {
        * 
* * string pattern = 1; + * * @param value The bytes for pattern to set. * @return This builder for chaining. */ - public Builder setPatternBytes( - com.google.protobuf.ByteString value) { + public Builder setPatternBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pattern_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList groupIndexes_ = emptyIntList(); + private void ensureGroupIndexesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groupIndexes_ = mutableCopy(groupIndexes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @return A list containing the groupIndexes. */ - public java.util.List - getGroupIndexesList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(groupIndexes_) : groupIndexes_; + public java.util.List getGroupIndexesList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(groupIndexes_) + : groupIndexes_; } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @return The count of groupIndexes. */ public int getGroupIndexesCount() { return groupIndexes_.size(); } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @param index The index of the element to return. * @return The groupIndexes at the given index. */ @@ -2959,30 +3289,35 @@ public int getGroupIndexes(int index) { return groupIndexes_.getInt(index); } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @param index The index to set the value at. * @param value The groupIndexes to set. * @return This builder for chaining. */ - public Builder setGroupIndexes( - int index, int value) { + public Builder setGroupIndexes(int index, int value) { ensureGroupIndexesIsMutable(); groupIndexes_.setInt(index, value); onChanged(); return this; } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @param value The groupIndexes to add. * @return This builder for chaining. */ @@ -2993,30 +3328,34 @@ public Builder addGroupIndexes(int value) { return this; } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @param values The groupIndexes to add. * @return This builder for chaining. */ - public Builder addAllGroupIndexes( - java.lang.Iterable values) { + public Builder addAllGroupIndexes(java.lang.Iterable values) { ensureGroupIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupIndexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupIndexes_); onChanged(); return this; } /** + * + * *
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
* * repeated int32 group_indexes = 2; + * * @return This builder for chaining. */ public Builder clearGroupIndexes() { @@ -3025,6 +3364,7 @@ public Builder clearGroupIndexes() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3037,12 +3377,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.Regex) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Regex) private static final com.google.privacy.dlp.v2.CustomInfoType.Regex DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.Regex(); } @@ -3051,16 +3391,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.Regex getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Regex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Regex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Regex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Regex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3075,14 +3415,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType.Regex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SurrogateTypeOrBuilder extends + public interface SurrogateTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.SurrogateType) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Message for detecting output from deidentification transformations
    * such as
@@ -3096,30 +3437,29 @@ public interface SurrogateTypeOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.SurrogateType}
    */
-  public static final class SurrogateType extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SurrogateType extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.SurrogateType)
       SurrogateTypeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SurrogateType.newBuilder() to construct.
     private SurrogateType(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private SurrogateType() {
-    }
+
+    private SurrogateType() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SurrogateType();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private SurrogateType(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3138,39 +3478,42 @@ private SurrogateType(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class);
+              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class,
+              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3182,8 +3525,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -3201,12 +3543,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.privacy.dlp.v2.CustomInfoType.SurrogateType)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.CustomInfoType.SurrogateType other = (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) obj;
+      com.google.privacy.dlp.v2.CustomInfoType.SurrogateType other =
+          (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -3225,87 +3568,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3315,6 +3665,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations
      * such as
@@ -3328,21 +3680,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.SurrogateType}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.SurrogateType)
         com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.class,
+                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.newBuilder()
@@ -3350,16 +3705,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3367,9 +3721,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor;
       }
 
       @java.lang.Override
@@ -3388,7 +3742,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType buildPartial() {
-        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType result = new com.google.privacy.dlp.v2.CustomInfoType.SurrogateType(this);
+        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType result =
+            new com.google.privacy.dlp.v2.CustomInfoType.SurrogateType(this);
         onBuilt();
         return result;
       }
@@ -3397,38 +3752,41 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.SurrogateType) {
-          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType)other);
+          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3436,7 +3794,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType other) {
-        if (other == com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance())
+          return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -3456,7 +3815,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3465,6 +3825,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3477,12 +3838,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.SurrogateType)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.SurrogateType)
     private static final com.google.privacy.dlp.v2.CustomInfoType.SurrogateType DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.SurrogateType();
     }
@@ -3491,16 +3852,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public SurrogateType parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new SurrogateType(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public SurrogateType parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new SurrogateType(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3515,43 +3876,57 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DetectionRuleOrBuilder extends
+  public interface DetectionRuleOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return Whether the hotwordRule field is set. */ boolean hasHotwordRule(); /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return The hotwordRule. */ com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule(); /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder + getHotwordRuleOrBuilder(); public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.TypeCase getTypeCase(); } /** + * + * *
    * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
    * `CustomInfoType` to alter behavior under certain circumstances, depending
@@ -3561,30 +3936,29 @@ public interface DetectionRuleOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule}
    */
-  public static final class DetectionRule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DetectionRule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule)
       DetectionRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DetectionRule.newBuilder() to construct.
     private DetectionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private DetectionRule() {
-    }
+
+    private DetectionRule() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DetectionRule();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private DetectionRule(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3603,77 +3977,95 @@ private DetectionRule(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder subBuilder = null;
-              if (typeCase_ == 1) {
-                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
-                type_ = subBuilder.buildPartial();
+            case 10:
+              {
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder
+                    subBuilder = null;
+                if (typeCase_ == 1) {
+                  subBuilder =
+                      ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_)
+                          .toBuilder();
+                }
+                type_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
+                  type_ = subBuilder.buildPartial();
+                }
+                typeCase_ = 1;
+                break;
               }
-              typeCase_ = 1;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class,
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
     }
 
-    public interface ProximityOrBuilder extends
+    public interface ProximityOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Number of characters before the finding to consider.
        * 
* * int32 window_before = 1; + * * @return The windowBefore. */ int getWindowBefore(); /** + * + * *
        * Number of characters after the finding to consider.
        * 
* * int32 window_after = 2; + * * @return The windowAfter. */ int getWindowAfter(); } /** + * + * *
      * Message for specifying a window around a finding to apply a detection
      * rule.
@@ -3681,30 +4073,29 @@ public interface ProximityOrBuilder extends
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity}
      */
-    public static final class Proximity extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Proximity extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
         ProximityOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Proximity.newBuilder() to construct.
       private Proximity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Proximity() {
-      }
+
+      private Proximity() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Proximity();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private Proximity(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3723,56 +4114,62 @@ private Proximity(
               case 0:
                 done = true;
                 break;
-              case 8: {
-
-                windowBefore_ = input.readInt32();
-                break;
-              }
-              case 16: {
-
-                windowAfter_ = input.readInt32();
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 8:
+                {
+                  windowBefore_ = input.readInt32();
+                  break;
+                }
+              case 16:
+                {
+                  windowAfter_ = input.readInt32();
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
       }
 
       public static final int WINDOW_BEFORE_FIELD_NUMBER = 1;
       private int windowBefore_;
       /**
+       *
+       *
        * 
        * Number of characters before the finding to consider.
        * 
* * int32 window_before = 1; + * * @return The windowBefore. */ @java.lang.Override @@ -3783,11 +4180,14 @@ public int getWindowBefore() { public static final int WINDOW_AFTER_FIELD_NUMBER = 2; private int windowAfter_; /** + * + * *
        * Number of characters after the finding to consider.
        * 
* * int32 window_after = 2; + * * @return The windowAfter. */ @java.lang.Override @@ -3796,6 +4196,7 @@ public int getWindowAfter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3807,8 +4208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (windowBefore_ != 0) { output.writeInt32(1, windowBefore_); } @@ -3825,12 +4225,10 @@ public int getSerializedSize() { size = 0; if (windowBefore_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, windowBefore_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, windowBefore_); } if (windowAfter_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, windowAfter_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, windowAfter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3840,17 +4238,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.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other = + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) obj; - if (getWindowBefore() - != other.getWindowBefore()) return false; - if (getWindowAfter() - != other.getWindowAfter()) return false; + if (getWindowBefore() != other.getWindowBefore()) return false; + if (getWindowAfter() != other.getWindowAfter()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3872,87 +4269,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3962,6 +4368,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Message for specifying a window around a finding to apply a detection
        * rule.
@@ -3969,38 +4377,41 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
           com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.privacy.dlp.v2.DlpStorage
+              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
+          return com.google.privacy.dlp.v2.DlpStorage
+              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.class,
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder.class);
         }
 
-        // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder()
+        // Construct using
+        // com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -4012,14 +4423,16 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.privacy.dlp.v2.DlpStorage
+              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor;
         }
 
         @java.lang.Override
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getDefaultInstanceForType() {
-          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance();
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
+            getDefaultInstanceForType() {
+          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
+              .getDefaultInstance();
         }
 
         @java.lang.Override
@@ -4033,7 +4446,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity build()
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity buildPartial() {
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity(this);
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity result =
+              new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity(this);
           result.windowBefore_ = windowBefore_;
           result.windowAfter_ = windowAfter_;
           onBuilt();
@@ -4044,46 +4458,53 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity buildPar
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) {
-            return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)other);
+            return mergeFrom(
+                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other) {
-          if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity other) {
+          if (other
+              == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
+                  .getDefaultInstance()) return this;
           if (other.getWindowBefore() != 0) {
             setWindowBefore(other.getWindowBefore());
           }
@@ -4109,7 +4530,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -4119,13 +4542,16 @@ public Builder mergeFrom(
           return this;
         }
 
-        private int windowBefore_ ;
+        private int windowBefore_;
         /**
+         *
+         *
          * 
          * Number of characters before the finding to consider.
          * 
* * int32 window_before = 1; + * * @return The windowBefore. */ @java.lang.Override @@ -4133,42 +4559,51 @@ public int getWindowBefore() { return windowBefore_; } /** + * + * *
          * Number of characters before the finding to consider.
          * 
* * int32 window_before = 1; + * * @param value The windowBefore to set. * @return This builder for chaining. */ public Builder setWindowBefore(int value) { - + windowBefore_ = value; onChanged(); return this; } /** + * + * *
          * Number of characters before the finding to consider.
          * 
* * int32 window_before = 1; + * * @return This builder for chaining. */ public Builder clearWindowBefore() { - + windowBefore_ = 0; onChanged(); return this; } - private int windowAfter_ ; + private int windowAfter_; /** + * + * *
          * Number of characters after the finding to consider.
          * 
* * int32 window_after = 2; + * * @return The windowAfter. */ @java.lang.Override @@ -4176,34 +4611,41 @@ public int getWindowAfter() { return windowAfter_; } /** + * + * *
          * Number of characters after the finding to consider.
          * 
* * int32 window_after = 2; + * * @param value The windowAfter to set. * @return This builder for chaining. */ public Builder setWindowAfter(int value) { - + windowAfter_ = value; onChanged(); return this; } /** + * + * *
          * Number of characters after the finding to consider.
          * 
* * int32 window_after = 2; + * * @return This builder for chaining. */ public Builder clearWindowAfter() { - + windowAfter_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4216,30 +4658,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) - private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity(); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Proximity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Proximity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Proximity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Proximity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4251,45 +4695,57 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LikelihoodAdjustmentOrBuilder extends + public interface LikelihoodAdjustmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return Whether the fixedLikelihood field is set. */ boolean hasFixedLikelihood(); /** + * + * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return The enum numeric value on the wire for fixedLikelihood. */ int getFixedLikelihoodValue(); /** + * + * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return The fixedLikelihood. */ com.google.privacy.dlp.v2.Likelihood getFixedLikelihood(); /** + * + * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -4302,10 +4758,13 @@ public interface LikelihoodAdjustmentOrBuilder extends
        * 
* * int32 relative_likelihood = 2; + * * @return Whether the relativeLikelihood field is set. */ boolean hasRelativeLikelihood(); /** + * + * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -4318,13 +4777,18 @@ public interface LikelihoodAdjustmentOrBuilder extends
        * 
* * int32 relative_likelihood = 2; + * * @return The relativeLikelihood. */ int getRelativeLikelihood(); - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.AdjustmentCase getAdjustmentCase(); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .AdjustmentCase + getAdjustmentCase(); } /** + * + * *
      * Message for specifying an adjustment to the likelihood of a finding as
      * part of a detection rule.
@@ -4332,30 +4796,29 @@ public interface LikelihoodAdjustmentOrBuilder extends
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment}
      */
-    public static final class LikelihoodAdjustment extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class LikelihoodAdjustment extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)
         LikelihoodAdjustmentOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use LikelihoodAdjustment.newBuilder() to construct.
       private LikelihoodAdjustment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private LikelihoodAdjustment() {
-      }
+
+      private LikelihoodAdjustment() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new LikelihoodAdjustment();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private LikelihoodAdjustment(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4374,58 +4837,67 @@ private LikelihoodAdjustment(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                int rawValue = input.readEnum();
-                adjustmentCase_ = 1;
-                adjustment_ = rawValue;
-                break;
-              }
-              case 16: {
-                adjustmentCase_ = 2;
-                adjustment_ = input.readInt32();
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 8:
+                {
+                  int rawValue = input.readEnum();
+                  adjustmentCase_ = 1;
+                  adjustment_ = rawValue;
+                  break;
+                }
+              case 16:
+                {
+                  adjustmentCase_ = 2;
+                  adjustment_ = input.readInt32();
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder
+                    .class);
       }
 
       private int adjustmentCase_ = 0;
       private java.lang.Object adjustment_;
+
       public enum AdjustmentCase
-          implements com.google.protobuf.Internal.EnumLite,
+          implements
+              com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         FIXED_LIKELIHOOD(1),
         RELATIVE_LIKELIHOOD(2),
         ADJUSTMENT_NOT_SET(0);
         private final int value;
+
         private AdjustmentCase(int value) {
           this.value = value;
         }
@@ -4441,41 +4913,50 @@ public static AdjustmentCase valueOf(int value) {
 
         public static AdjustmentCase forNumber(int value) {
           switch (value) {
-            case 1: return FIXED_LIKELIHOOD;
-            case 2: return RELATIVE_LIKELIHOOD;
-            case 0: return ADJUSTMENT_NOT_SET;
-            default: return null;
+            case 1:
+              return FIXED_LIKELIHOOD;
+            case 2:
+              return RELATIVE_LIKELIHOOD;
+            case 0:
+              return ADJUSTMENT_NOT_SET;
+            default:
+              return null;
           }
         }
+
         public int getNumber() {
           return this.value;
         }
       };
 
-      public AdjustmentCase
-      getAdjustmentCase() {
-        return AdjustmentCase.forNumber(
-            adjustmentCase_);
+      public AdjustmentCase getAdjustmentCase() {
+        return AdjustmentCase.forNumber(adjustmentCase_);
       }
 
       public static final int FIXED_LIKELIHOOD_FIELD_NUMBER = 1;
       /**
+       *
+       *
        * 
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return Whether the fixedLikelihood field is set. */ public boolean hasFixedLikelihood() { return adjustmentCase_ == 1; } /** + * + * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return The enum numeric value on the wire for fixedLikelihood. */ public int getFixedLikelihoodValue() { @@ -4485,18 +4966,21 @@ public int getFixedLikelihoodValue() { return 0; } /** + * + * *
        * Set the likelihood of a finding to a fixed value.
        * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return The fixedLikelihood. */ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { if (adjustmentCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf( - (java.lang.Integer) adjustment_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf((java.lang.Integer) adjustment_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED; @@ -4504,6 +4988,8 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { public static final int RELATIVE_LIKELIHOOD_FIELD_NUMBER = 2; /** + * + * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -4516,6 +5002,7 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
        * 
* * int32 relative_likelihood = 2; + * * @return Whether the relativeLikelihood field is set. */ @java.lang.Override @@ -4523,6 +5010,8 @@ public boolean hasRelativeLikelihood() { return adjustmentCase_ == 2; } /** + * + * *
        * Increase or decrease the likelihood by the specified number of
        * levels. For example, if a finding would be `POSSIBLE` without the
@@ -4535,6 +5024,7 @@ public boolean hasRelativeLikelihood() {
        * 
* * int32 relative_likelihood = 2; + * * @return The relativeLikelihood. */ @java.lang.Override @@ -4546,6 +5036,7 @@ public int getRelativeLikelihood() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4557,14 +5048,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (adjustmentCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) adjustment_)); } if (adjustmentCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) adjustment_)); + output.writeInt32(2, (int) ((java.lang.Integer) adjustment_)); } unknownFields.writeTo(output); } @@ -4576,13 +5065,14 @@ public int getSerializedSize() { size = 0; if (adjustmentCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) adjustment_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 1, ((java.lang.Integer) adjustment_)); } if (adjustmentCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) adjustment_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) adjustment_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4592,22 +5082,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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other = + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) obj; if (!getAdjustmentCase().equals(other.getAdjustmentCase())) return false; switch (adjustmentCase_) { case 1: - if (getFixedLikelihoodValue() - != other.getFixedLikelihoodValue()) return false; + if (getFixedLikelihoodValue() != other.getFixedLikelihoodValue()) return false; break; case 2: - if (getRelativeLikelihood() - != other.getRelativeLikelihood()) return false; + if (getRelativeLikelihood() != other.getRelativeLikelihood()) return false; break; case 0: default: @@ -4640,88 +5131,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + 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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4731,45 +5237,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Message for specifying an adjustment to the likelihood of a finding as
        * part of a detection rule.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment} + * Protobuf type {@code + * google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder.class); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.class, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .Builder.class); } - // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -4779,19 +5292,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance(); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment build() { - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = buildPartial(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4799,8 +5315,10 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustme } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment buildPartial() { - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(this); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + buildPartial() { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment result = + new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(this); if (adjustmentCase_ == 1) { result.adjustment_ = adjustment_; } @@ -4816,58 +5334,71 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustme public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) { - return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment)other); + if (other + instanceof + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) { + return mergeFrom( + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other) { - if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment other) { + if (other + == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .getDefaultInstance()) return this; switch (other.getAdjustmentCase()) { - case FIXED_LIKELIHOOD: { - setFixedLikelihoodValue(other.getFixedLikelihoodValue()); - break; - } - case RELATIVE_LIKELIHOOD: { - setRelativeLikelihood(other.getRelativeLikelihood()); - break; - } - case ADJUSTMENT_NOT_SET: { - break; - } + case FIXED_LIKELIHOOD: + { + setFixedLikelihoodValue(other.getFixedLikelihoodValue()); + break; + } + case RELATIVE_LIKELIHOOD: + { + setRelativeLikelihood(other.getRelativeLikelihood()); + break; + } + case ADJUSTMENT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4884,11 +5415,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment parsedMessage = null; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4897,12 +5431,12 @@ public Builder mergeFrom( } return this; } + private int adjustmentCase_ = 0; private java.lang.Object adjustment_; - public AdjustmentCase - getAdjustmentCase() { - return AdjustmentCase.forNumber( - adjustmentCase_); + + public AdjustmentCase getAdjustmentCase() { + return AdjustmentCase.forNumber(adjustmentCase_); } public Builder clearAdjustment() { @@ -4912,13 +5446,15 @@ public Builder clearAdjustment() { return this; } - /** + * + * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return Whether the fixedLikelihood field is set. */ @java.lang.Override @@ -4926,11 +5462,14 @@ public boolean hasFixedLikelihood() { return adjustmentCase_ == 1; } /** + * + * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return The enum numeric value on the wire for fixedLikelihood. */ @java.lang.Override @@ -4941,11 +5480,14 @@ public int getFixedLikelihoodValue() { return 0; } /** + * + * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @param value The enum numeric value on the wire for fixedLikelihood to set. * @return This builder for chaining. */ @@ -4956,29 +5498,35 @@ public Builder setFixedLikelihoodValue(int value) { return this; } /** + * + * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return The fixedLikelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() { if (adjustmentCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf( - (java.lang.Integer) adjustment_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf((java.lang.Integer) adjustment_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED; } /** + * + * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @param value The fixedLikelihood to set. * @return This builder for chaining. */ @@ -4992,11 +5540,14 @@ public Builder setFixedLikelihood(com.google.privacy.dlp.v2.Likelihood value) { return this; } /** + * + * *
          * Set the likelihood of a finding to a fixed value.
          * 
* * .google.privacy.dlp.v2.Likelihood fixed_likelihood = 1; + * * @return This builder for chaining. */ public Builder clearFixedLikelihood() { @@ -5009,6 +5560,8 @@ public Builder clearFixedLikelihood() { } /** + * + * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5021,12 +5574,15 @@ public Builder clearFixedLikelihood() {
          * 
* * int32 relative_likelihood = 2; + * * @return Whether the relativeLikelihood field is set. */ public boolean hasRelativeLikelihood() { return adjustmentCase_ == 2; } /** + * + * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5039,6 +5595,7 @@ public boolean hasRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; + * * @return The relativeLikelihood. */ public int getRelativeLikelihood() { @@ -5048,6 +5605,8 @@ public int getRelativeLikelihood() { return 0; } /** + * + * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5060,6 +5619,7 @@ public int getRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; + * * @param value The relativeLikelihood to set. * @return This builder for chaining. */ @@ -5070,6 +5630,8 @@ public Builder setRelativeLikelihood(int value) { return this; } /** + * + * *
          * Increase or decrease the likelihood by the specified number of
          * levels. For example, if a finding would be `POSSIBLE` without the
@@ -5082,6 +5644,7 @@ public Builder setRelativeLikelihood(int value) {
          * 
* * int32 relative_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearRelativeLikelihood() { @@ -5092,6 +5655,7 @@ public Builder clearRelativeLikelihood() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5104,30 +5668,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) - private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule + .LikelihoodAdjustment + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment(); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LikelihoodAdjustment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LikelihoodAdjustment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LikelihoodAdjustment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LikelihoodAdjustment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5139,35 +5707,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface HotwordRuleOrBuilder extends + public interface HotwordRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; + * * @return Whether the hotwordRegex field is set. */ boolean hasHotwordRegex(); /** + * + * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; + * * @return The hotwordRegex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex(); /** + * + * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
@@ -5177,6 +5754,8 @@ public interface HotwordRuleOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder(); /** + * + * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5189,10 +5768,13 @@ public interface HotwordRuleOrBuilder extends
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return Whether the proximity field is set. */ boolean hasProximity(); /** + * + * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5205,10 +5787,13 @@ public interface HotwordRuleOrBuilder extends
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return The proximity. */ com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity(); /** + * + * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5222,36 +5807,55 @@ public interface HotwordRuleOrBuilder extends
        *
        * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
        */
-      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder();
+      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
+          getProximityOrBuilder();
 
       /**
+       *
+       *
        * 
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * * @return Whether the likelihoodAdjustment field is set. */ boolean hasLikelihoodAdjustment(); /** + * + * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * * @return The likelihoodAdjustment. */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + getLikelihoodAdjustment(); /** + * + * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder + getLikelihoodAdjustmentOrBuilder(); } /** + * + * *
      * The rule that adjusts the likelihood of findings within a certain
      * proximity of hotwords.
@@ -5259,30 +5863,29 @@ public interface HotwordRuleOrBuilder extends
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule}
      */
-    public static final class HotwordRule extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class HotwordRule extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)
         HotwordRuleOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use HotwordRule.newBuilder() to construct.
       private HotwordRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private HotwordRule() {
-      }
+
+      private HotwordRule() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new HotwordRule();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private HotwordRule(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5301,85 +5904,107 @@ private HotwordRule(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-                if (hotwordRegex_ != null) {
-                  subBuilder = hotwordRegex_.toBuilder();
+              case 10:
+                {
+                  com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+                  if (hotwordRegex_ != null) {
+                    subBuilder = hotwordRegex_.toBuilder();
+                  }
+                  hotwordRegex_ =
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(hotwordRegex_);
+                    hotwordRegex_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-                hotwordRegex_ = input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(hotwordRegex_);
-                  hotwordRegex_ = subBuilder.buildPartial();
-                }
-
-                break;
-              }
-              case 18: {
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder subBuilder = null;
-                if (proximity_ != null) {
-                  subBuilder = proximity_.toBuilder();
-                }
-                proximity_ = input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(proximity_);
-                  proximity_ = subBuilder.buildPartial();
-                }
-
-                break;
-              }
-              case 26: {
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder subBuilder = null;
-                if (likelihoodAdjustment_ != null) {
-                  subBuilder = likelihoodAdjustment_.toBuilder();
+              case 18:
+                {
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
+                      subBuilder = null;
+                  if (proximity_ != null) {
+                    subBuilder = proximity_.toBuilder();
+                  }
+                  proximity_ =
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(proximity_);
+                    proximity_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-                likelihoodAdjustment_ = input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(likelihoodAdjustment_);
-                  likelihoodAdjustment_ = subBuilder.buildPartial();
+              case 26:
+                {
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
+                          .Builder
+                      subBuilder = null;
+                  if (likelihoodAdjustment_ != null) {
+                    subBuilder = likelihoodAdjustment_.toBuilder();
+                  }
+                  likelihoodAdjustment_ =
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule
+                              .LikelihoodAdjustment.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(likelihoodAdjustment_);
+                    likelihoodAdjustment_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
       }
 
       public static final int HOTWORD_REGEX_FIELD_NUMBER = 1;
       private com.google.privacy.dlp.v2.CustomInfoType.Regex hotwordRegex_;
       /**
+       *
+       *
        * 
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; + * * @return Whether the hotwordRegex field is set. */ @java.lang.Override @@ -5387,18 +6012,25 @@ public boolean hasHotwordRegex() { return hotwordRegex_ != null; } /** + * + * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; + * * @return The hotwordRegex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() { - return hotwordRegex_ == null ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() : hotwordRegex_; + return hotwordRegex_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() + : hotwordRegex_; } /** + * + * *
        * Regular expression pattern defining what qualifies as a hotword.
        * 
@@ -5413,6 +6045,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr public static final int PROXIMITY_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity_; /** + * + * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5425,6 +6059,7 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return Whether the proximity field is set. */ @java.lang.Override @@ -5432,6 +6067,8 @@ public boolean hasProximity() { return proximity_ != null; } /** + * + * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5444,13 +6081,18 @@ public boolean hasProximity() {
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return The proximity. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() { - return proximity_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() : proximity_; + return proximity_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() + : proximity_; } /** + * + * *
        * Proximity of the finding within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters. Note that
@@ -5465,18 +6107,25 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
        * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
        */
       @java.lang.Override
-      public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder() {
+      public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
+          getProximityOrBuilder() {
         return getProximity();
       }
 
       public static final int LIKELIHOOD_ADJUSTMENT_FIELD_NUMBER = 3;
-      private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihoodAdjustment_;
+      private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
+          likelihoodAdjustment_;
       /**
+       *
+       *
        * 
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * * @return Whether the likelihoodAdjustment field is set. */ @java.lang.Override @@ -5484,30 +6133,45 @@ public boolean hasLikelihoodAdjustment() { return likelihoodAdjustment_ != null; } /** + * + * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * * @return The likelihoodAdjustment. */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment() { - return likelihoodAdjustment_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance() : likelihoodAdjustment_; + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + getLikelihoodAdjustment() { + return likelihoodAdjustment_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .getDefaultInstance() + : likelihoodAdjustment_; } /** + * + * *
        * Likelihood adjustment to apply to all matching findings.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder + getLikelihoodAdjustmentOrBuilder() { return getLikelihoodAdjustment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5519,8 +6183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (hotwordRegex_ != null) { output.writeMessage(1, getHotwordRegex()); } @@ -5540,16 +6203,15 @@ public int getSerializedSize() { size = 0; if (hotwordRegex_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHotwordRegex()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHotwordRegex()); } if (proximity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProximity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProximity()); } if (likelihoodAdjustment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLikelihoodAdjustment()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getLikelihoodAdjustment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5559,27 +6221,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.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other = + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) obj; if (hasHotwordRegex() != other.hasHotwordRegex()) return false; if (hasHotwordRegex()) { - if (!getHotwordRegex() - .equals(other.getHotwordRegex())) return false; + if (!getHotwordRegex().equals(other.getHotwordRegex())) return false; } if (hasProximity() != other.hasProximity()) return false; if (hasProximity()) { - if (!getProximity() - .equals(other.getProximity())) return false; + if (!getProximity().equals(other.getProximity())) return false; } if (hasLikelihoodAdjustment() != other.hasLikelihoodAdjustment()) return false; if (hasLikelihoodAdjustment()) { - if (!getLikelihoodAdjustment() - .equals(other.getLikelihoodAdjustment())) return false; + if (!getLikelihoodAdjustment().equals(other.getLikelihoodAdjustment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5610,87 +6270,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5700,6 +6369,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The rule that adjusts the likelihood of findings within a certain
        * proximity of hotwords.
@@ -5707,38 +6378,41 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)
           com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.privacy.dlp.v2.DlpStorage
+              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
+          return com.google.privacy.dlp.v2.DlpStorage
+              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.class,
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder.class);
         }
 
-        // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder()
+        // Construct using
+        // com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -5764,19 +6438,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.privacy.dlp.v2.DlpStorage
+              .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor;
         }
 
         @java.lang.Override
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType() {
-          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance();
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule
+            getDefaultInstanceForType() {
+          return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule build() {
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result = buildPartial();
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -5785,7 +6462,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule build(
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule buildPartial() {
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule(this);
+          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule result =
+              new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule(this);
           if (hotwordRegexBuilder_ == null) {
             result.hotwordRegex_ = hotwordRegex_;
           } else {
@@ -5809,46 +6487,53 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule buildP
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) {
-            return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)other);
+            return mergeFrom(
+                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other) {
-          if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule other) {
+          if (other
+              == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule
+                  .getDefaultInstance()) return this;
           if (other.hasHotwordRegex()) {
             mergeHotwordRegex(other.getHotwordRegex());
           }
@@ -5877,7 +6562,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -5889,34 +6576,47 @@ public Builder mergeFrom(
 
         private com.google.privacy.dlp.v2.CustomInfoType.Regex hotwordRegex_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> hotwordRegexBuilder_;
+                com.google.privacy.dlp.v2.CustomInfoType.Regex,
+                com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder,
+                com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>
+            hotwordRegexBuilder_;
         /**
+         *
+         *
          * 
          * Regular expression pattern defining what qualifies as a hotword.
          * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; + * * @return Whether the hotwordRegex field is set. */ public boolean hasHotwordRegex() { return hotwordRegexBuilder_ != null || hotwordRegex_ != null; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; + * * @return The hotwordRegex. */ public com.google.privacy.dlp.v2.CustomInfoType.Regex getHotwordRegex() { if (hotwordRegexBuilder_ == null) { - return hotwordRegex_ == null ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() : hotwordRegex_; + return hotwordRegex_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() + : hotwordRegex_; } else { return hotwordRegexBuilder_.getMessage(); } } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -5937,6 +6637,8 @@ public Builder setHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex va return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -5955,6 +6657,8 @@ public Builder setHotwordRegex( return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -5965,7 +6669,9 @@ public Builder mergeHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex if (hotwordRegexBuilder_ == null) { if (hotwordRegex_ != null) { hotwordRegex_ = - com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder(hotwordRegex_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder(hotwordRegex_) + .mergeFrom(value) + .buildPartial(); } else { hotwordRegex_ = value; } @@ -5977,6 +6683,8 @@ public Builder mergeHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -5995,6 +6703,8 @@ public Builder clearHotwordRegex() { return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6002,11 +6712,13 @@ public Builder clearHotwordRegex() { * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; */ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getHotwordRegexBuilder() { - + onChanged(); return getHotwordRegexFieldBuilder().getBuilder(); } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6017,11 +6729,14 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr if (hotwordRegexBuilder_ != null) { return hotwordRegexBuilder_.getMessageOrBuilder(); } else { - return hotwordRegex_ == null ? - com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() : hotwordRegex_; + return hotwordRegex_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance() + : hotwordRegex_; } } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6029,14 +6744,17 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr * .google.privacy.dlp.v2.CustomInfoType.Regex hotword_regex = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getHotwordRegexFieldBuilder() { if (hotwordRegexBuilder_ == null) { - hotwordRegexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( - getHotwordRegex(), - getParentForChildren(), - isClean()); + hotwordRegexBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + getHotwordRegex(), getParentForChildren(), isClean()); hotwordRegex_ = null; } return hotwordRegexBuilder_; @@ -6044,8 +6762,13 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder> proximityBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder> + proximityBuilder_; /** + * + * *
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6058,12 +6781,15 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOr
          * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return Whether the proximity field is set. */ public boolean hasProximity() { return proximityBuilder_ != null || proximity_ != null; } /** + * + * *
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6076,16 +6802,22 @@ public boolean hasProximity() {
          * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return The proximity. */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProximity() { if (proximityBuilder_ == null) { - return proximity_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() : proximity_; + return proximity_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity + .getDefaultInstance() + : proximity_; } else { return proximityBuilder_.getMessage(); } } /** + * + * *
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6099,7 +6831,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity getProxi
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public Builder setProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
+        public Builder setProximity(
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
           if (proximityBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -6113,6 +6846,8 @@ public Builder setProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRu
           return this;
         }
         /**
+         *
+         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6127,7 +6862,8 @@ public Builder setProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRu
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
         public Builder setProximity(
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder builderForValue) {
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
+                builderForValue) {
           if (proximityBuilder_ == null) {
             proximity_ = builderForValue.build();
             onChanged();
@@ -6138,6 +6874,8 @@ public Builder setProximity(
           return this;
         }
         /**
+         *
+         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6151,11 +6889,15 @@ public Builder setProximity(
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public Builder mergeProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
+        public Builder mergeProximity(
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity value) {
           if (proximityBuilder_ == null) {
             if (proximity_ != null) {
               proximity_ =
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder(proximity_).mergeFrom(value).buildPartial();
+                  com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.newBuilder(
+                          proximity_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               proximity_ = value;
             }
@@ -6167,6 +6909,8 @@ public Builder mergeProximity(com.google.privacy.dlp.v2.CustomInfoType.Detection
           return this;
         }
         /**
+         *
+         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6192,6 +6936,8 @@ public Builder clearProximity() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6205,12 +6951,15 @@ public Builder clearProximity() {
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder getProximityBuilder() {
-          
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
+            getProximityBuilder() {
+
           onChanged();
           return getProximityFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6224,15 +6973,20 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder
          *
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
-        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder getProximityOrBuilder() {
+        public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
+            getProximityOrBuilder() {
           if (proximityBuilder_ != null) {
             return proximityBuilder_.getMessageOrBuilder();
           } else {
-            return proximity_ == null ?
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.getDefaultInstance() : proximity_;
+            return proximity_ == null
+                ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity
+                    .getDefaultInstance()
+                : proximity_;
           }
         }
         /**
+         *
+         *
          * 
          * Proximity of the finding within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters. Note that
@@ -6247,56 +7001,83 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder
          * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder> 
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder>
             getProximityFieldBuilder() {
           if (proximityBuilder_ == null) {
-            proximityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder>(
-                    getProximity(),
-                    getParentForChildren(),
-                    isClean());
+            proximityBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity,
+                    com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.Builder,
+                    com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.ProximityOrBuilder>(
+                    getProximity(), getParentForChildren(), isClean());
             proximity_ = null;
           }
           return proximityBuilder_;
         }
 
-        private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihoodAdjustment_;
+        private com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment
+            likelihoodAdjustment_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder> likelihoodAdjustmentBuilder_;
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule
+                    .LikelihoodAdjustmentOrBuilder>
+            likelihoodAdjustmentBuilder_;
         /**
+         *
+         *
          * 
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * * @return Whether the likelihoodAdjustment field is set. */ public boolean hasLikelihoodAdjustment() { return likelihoodAdjustmentBuilder_ != null || likelihoodAdjustment_ != null; } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * * @return The likelihoodAdjustment. */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment getLikelihoodAdjustment() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + getLikelihoodAdjustment() { if (likelihoodAdjustmentBuilder_ == null) { - return likelihoodAdjustment_ == null ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance() : likelihoodAdjustment_; + return likelihoodAdjustment_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .getDefaultInstance() + : likelihoodAdjustment_; } else { return likelihoodAdjustmentBuilder_.getMessage(); } } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ - public Builder setLikelihoodAdjustment(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { + public Builder setLikelihoodAdjustment( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { if (likelihoodAdjustmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6310,14 +7091,19 @@ public Builder setLikelihoodAdjustment(com.google.privacy.dlp.v2.CustomInfoType. return this; } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ public Builder setLikelihoodAdjustment( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder builderForValue) { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder + builderForValue) { if (likelihoodAdjustmentBuilder_ == null) { likelihoodAdjustment_ = builderForValue.build(); onChanged(); @@ -6328,17 +7114,25 @@ public Builder setLikelihoodAdjustment( return this; } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ - public Builder mergeLikelihoodAdjustment(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { + public Builder mergeLikelihoodAdjustment( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment value) { if (likelihoodAdjustmentBuilder_ == null) { if (likelihoodAdjustment_ != null) { likelihoodAdjustment_ = - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.newBuilder(likelihoodAdjustment_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .newBuilder(likelihoodAdjustment_) + .mergeFrom(value) + .buildPartial(); } else { likelihoodAdjustment_ = value; } @@ -6350,11 +7144,15 @@ public Builder mergeLikelihoodAdjustment(com.google.privacy.dlp.v2.CustomInfoTyp return this; } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ public Builder clearLikelihoodAdjustment() { if (likelihoodAdjustmentBuilder_ == null) { @@ -6368,52 +7166,75 @@ public Builder clearLikelihoodAdjustment() { return this; } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder getLikelihoodAdjustmentBuilder() { - + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder + getLikelihoodAdjustmentBuilder() { + onChanged(); return getLikelihoodAdjustmentFieldBuilder().getBuilder(); } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder getLikelihoodAdjustmentOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder + getLikelihoodAdjustmentOrBuilder() { if (likelihoodAdjustmentBuilder_ != null) { return likelihoodAdjustmentBuilder_.getMessageOrBuilder(); } else { - return likelihoodAdjustment_ == null ? - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.getDefaultInstance() : likelihoodAdjustment_; + return likelihoodAdjustment_ == null + ? com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .getDefaultInstance() + : likelihoodAdjustment_; } } /** + * + * *
          * Likelihood adjustment to apply to all matching findings.
          * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment likelihood_adjustment = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule + .LikelihoodAdjustmentOrBuilder> getLikelihoodAdjustmentFieldBuilder() { if (likelihoodAdjustmentBuilder_ == null) { - likelihoodAdjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentOrBuilder>( - getLikelihoodAdjustment(), - getParentForChildren(), - isClean()); + likelihoodAdjustmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment + .Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule + .LikelihoodAdjustmentOrBuilder>( + getLikelihoodAdjustment(), getParentForChildren(), isClean()); likelihoodAdjustment_ = null; } return likelihoodAdjustmentBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6426,30 +7247,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) - private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule(); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getDefaultInstance() { + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HotwordRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HotwordRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HotwordRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HotwordRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6461,20 +7284,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HOTWORD_RULE(1), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -6490,29 +7316,35 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: return HOTWORD_RULE; - case 0: return TYPE_NOT_SET; - default: return null; + case 1: + return HOTWORD_RULE; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int HOTWORD_RULE_FIELD_NUMBER = 1; /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -6520,36 +7352,47 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return The hotwordRule. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder + getHotwordRuleOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6561,10 +7404,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + output.writeMessage( + 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } unknownFields.writeTo(output); } @@ -6576,8 +7419,9 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6587,18 +7431,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.privacy.dlp.v2.CustomInfoType.DetectionRule)) { return super.equals(obj); } - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule other = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) obj; + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule other = + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getHotwordRule() - .equals(other.getHotwordRule())) return false; + if (!getHotwordRule().equals(other.getHotwordRule())) return false; break; case 0: default: @@ -6628,87 +7472,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6718,6 +7569,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
      * `CustomInfoType` to alter behavior under certain circumstances, depending
@@ -6727,21 +7580,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.DetectionRule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType.DetectionRule)
         com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.class,
+                com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.newBuilder()
@@ -6749,16 +7605,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6768,9 +7623,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor;
       }
 
       @java.lang.Override
@@ -6789,7 +7644,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule buildPartial() {
-        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule result = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule(this);
+        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule result =
+            new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule(this);
         if (typeCase_ == 1) {
           if (hotwordRuleBuilder_ == null) {
             result.type_ = type_;
@@ -6806,38 +7662,41 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.CustomInfoType.DetectionRule) {
-          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule)other);
+          return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6845,15 +7704,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule other) {
-        if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance())
+          return this;
         switch (other.getTypeCase()) {
-          case HOTWORD_RULE: {
-            mergeHotwordRule(other.getHotwordRule());
-            break;
-          }
-          case TYPE_NOT_SET: {
-            break;
-          }
+          case HOTWORD_RULE:
+            {
+              mergeHotwordRule(other.getHotwordRule());
+              break;
+            }
+          case TYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -6874,7 +7736,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6883,12 +7746,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int typeCase_ = 0;
       private java.lang.Object type_;
-      public TypeCase
-          getTypeCase() {
-        return TypeCase.forNumber(
-            typeCase_);
+
+      public TypeCase getTypeCase() {
+        return TypeCase.forNumber(typeCase_);
       }
 
       public Builder clearType() {
@@ -6898,15 +7761,21 @@ public Builder clearType() {
         return this;
       }
 
-
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> hotwordRuleBuilder_;
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule,
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder,
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>
+          hotwordRuleBuilder_;
       /**
+       *
+       *
        * 
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -6914,11 +7783,15 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return The hotwordRule. */ @java.lang.Override @@ -6927,22 +7800,28 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } else { if (typeCase_ == 1) { return hotwordRuleBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - public Builder setHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder setHotwordRule( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6956,14 +7835,18 @@ public Builder setHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.Detection return this; } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ public Builder setHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder builderForValue) { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder + builderForValue) { if (hotwordRuleBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -6974,18 +7857,27 @@ public Builder setHotwordRule( return this; } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - public Builder mergeHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder mergeHotwordRule( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ + != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -7000,11 +7892,14 @@ public Builder mergeHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.Detecti return this; } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ public Builder clearHotwordRule() { if (hotwordRuleBuilder_ == null) { @@ -7023,58 +7918,79 @@ public Builder clearHotwordRule() { return this; } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder getHotwordRuleBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder + getHotwordRuleBuilder() { return getHotwordRuleFieldBuilder().getBuilder(); } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder + getHotwordRuleOrBuilder() { if ((typeCase_ == 1) && (hotwordRuleBuilder_ != null)) { return hotwordRuleBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } } /** + * + * *
        * Hotword-based detection rule.
        * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> getHotwordRuleFieldBuilder() { if (hotwordRuleBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + type_ = + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } - hotwordRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( + hotwordRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return hotwordRuleBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7087,12 +8003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule) private static final com.google.privacy.dlp.v2.CustomInfoType.DetectionRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType.DetectionRule(); } @@ -7101,16 +8017,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectionRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectionRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7125,13 +8041,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DICTIONARY(2), REGEX(3), @@ -7139,6 +8056,7 @@ public enum TypeCase STORED_TYPE(5), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -7154,28 +8072,35 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 2: return DICTIONARY; - case 3: return REGEX; - case 4: return SURROGATE_TYPE; - case 5: return STORED_TYPE; - case 0: return TYPE_NOT_SET; - default: return null; + case 2: + return DICTIONARY; + case 3: + return REGEX; + case 4: + return SURROGATE_TYPE; + case 5: + return STORED_TYPE; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** + * + * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -7186,6 +8111,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -7193,6 +8119,8 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -7203,6 +8131,7 @@ public boolean hasInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -7210,6 +8139,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** + * + * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -7229,6 +8160,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
   public static final int LIKELIHOOD_FIELD_NUMBER = 6;
   private int likelihood_;
   /**
+   *
+   *
    * 
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -7236,12 +8169,16 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override public int getLikelihoodValue() { + @java.lang.Override + public int getLikelihoodValue() { return likelihood_; } /** + * + * *
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -7249,21 +8186,27 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return The likelihood. */ - @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { + @java.lang.Override + public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } public static final int DICTIONARY_FIELD_NUMBER = 2; /** + * + * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; + * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -7271,21 +8214,26 @@ public boolean hasDictionary() { return typeCase_ == 2; } /** + * + * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; + * * @return The dictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } /** + * + * *
    * A list of phrases to detect as a CustomInfoType.
    * 
@@ -7295,18 +8243,21 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } public static final int REGEX_FIELD_NUMBER = 3; /** + * + * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; + * * @return Whether the regex field is set. */ @java.lang.Override @@ -7314,21 +8265,26 @@ public boolean hasRegex() { return typeCase_ == 3; } /** + * + * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; + * * @return The regex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } /** + * + * *
    * Regular expression based CustomInfoType.
    * 
@@ -7338,19 +8294,22 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } public static final int SURROGATE_TYPE_FIELD_NUMBER = 4; /** + * + * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; + * * @return Whether the surrogateType field is set. */ @java.lang.Override @@ -7358,22 +8317,27 @@ public boolean hasSurrogateType() { return typeCase_ == 4; } /** + * + * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; + * * @return The surrogateType. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_; } return com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance(); } /** + * + * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
@@ -7382,21 +8346,25 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType()
    * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder() {
+  public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder
+      getSurrogateTypeOrBuilder() {
     if (typeCase_ == 4) {
-       return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_;
+      return (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_;
     }
     return com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance();
   }
 
   public static final int STORED_TYPE_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; + * * @return Whether the storedType field is set. */ @java.lang.Override @@ -7404,22 +8372,27 @@ public boolean hasStoredType() { return typeCase_ == 5; } /** + * + * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; + * * @return The storedType. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredType getStoredType() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.StoredType) type_; + return (com.google.privacy.dlp.v2.StoredType) type_; } return com.google.privacy.dlp.v2.StoredType.getDefaultInstance(); } /** + * + * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -7430,7 +8403,7 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
     if (typeCase_ == 5) {
-       return (com.google.privacy.dlp.v2.StoredType) type_;
+      return (com.google.privacy.dlp.v2.StoredType) type_;
     }
     return com.google.privacy.dlp.v2.StoredType.getDefaultInstance();
   }
@@ -7438,6 +8411,8 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
   public static final int DETECTION_RULES_FIELD_NUMBER = 7;
   private java.util.List detectionRules_;
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -7447,10 +8422,13 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
   @java.lang.Override
-  public java.util.List getDetectionRulesList() {
+  public java.util.List
+      getDetectionRulesList() {
     return detectionRules_;
   }
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -7460,11 +8438,13 @@ public java.util.List ge
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDetectionRulesOrBuilderList() {
     return detectionRules_;
   }
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -7478,6 +8458,8 @@ public int getDetectionRulesCount() {
     return detectionRules_.size();
   }
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -7491,6 +8473,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(
     return detectionRules_.get(index);
   }
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -7508,33 +8492,45 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetect
   public static final int EXCLUSION_TYPE_FIELD_NUMBER = 8;
   private int exclusionType_;
   /**
+   *
+   *
    * 
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return The enum numeric value on the wire for exclusionType. */ - @java.lang.Override public int getExclusionTypeValue() { + @java.lang.Override + public int getExclusionTypeValue() { return exclusionType_; } /** + * + * *
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return The exclusionType. */ - @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() { + @java.lang.Override + public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); - return result == null ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = + com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); + return result == null + ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7546,8 +8542,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -7569,7 +8564,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < detectionRules_.size(); i++) { output.writeMessage(7, detectionRules_.get(i)); } - if (exclusionType_ != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED.getNumber()) { + if (exclusionType_ + != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(8, exclusionType_); } unknownFields.writeTo(output); @@ -7582,36 +8579,38 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); } if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_); } if (typeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.StoredType) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.StoredType) type_); } if (likelihood_ != com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, likelihood_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, likelihood_); } for (int i = 0; i < detectionRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, detectionRules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, detectionRules_.get(i)); } - if (exclusionType_ != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, exclusionType_); + if (exclusionType_ + != com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.EXCLUSION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, exclusionType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7621,7 +8620,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.privacy.dlp.v2.CustomInfoType)) { return super.equals(obj); @@ -7630,30 +8629,24 @@ public boolean equals(final java.lang.Object obj) { if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } if (likelihood_ != other.likelihood_) return false; - if (!getDetectionRulesList() - .equals(other.getDetectionRulesList())) return false; + if (!getDetectionRulesList().equals(other.getDetectionRulesList())) return false; if (exclusionType_ != other.exclusionType_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 2: - if (!getDictionary() - .equals(other.getDictionary())) return false; + if (!getDictionary().equals(other.getDictionary())) return false; break; case 3: - if (!getRegex() - .equals(other.getRegex())) return false; + if (!getRegex().equals(other.getRegex())) return false; break; case 4: - if (!getSurrogateType() - .equals(other.getSurrogateType())) return false; + if (!getSurrogateType().equals(other.getSurrogateType())) return false; break; case 5: - if (!getStoredType() - .equals(other.getStoredType())) return false; + if (!getStoredType().equals(other.getStoredType())) return false; break; case 0: default: @@ -7706,97 +8699,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.CustomInfoType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.CustomInfoType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.CustomInfoType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.CustomInfoType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Custom information type provided by the user. Used to find domain-specific
    * sensitive information configurable to the data in question.
@@ -7804,21 +8804,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.CustomInfoType)
       com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.CustomInfoType.class, com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
+              com.google.privacy.dlp.v2.CustomInfoType.class,
+              com.google.privacy.dlp.v2.CustomInfoType.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.CustomInfoType.newBuilder()
@@ -7826,17 +8828,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getDetectionRulesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7862,9 +8864,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor;
     }
 
     @java.lang.Override
@@ -7883,7 +8885,8 @@ public com.google.privacy.dlp.v2.CustomInfoType build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.CustomInfoType buildPartial() {
-      com.google.privacy.dlp.v2.CustomInfoType result = new com.google.privacy.dlp.v2.CustomInfoType(this);
+      com.google.privacy.dlp.v2.CustomInfoType result =
+          new com.google.privacy.dlp.v2.CustomInfoType(this);
       int from_bitField0_ = bitField0_;
       if (infoTypeBuilder_ == null) {
         result.infoType_ = infoType_;
@@ -7938,38 +8941,39 @@ public com.google.privacy.dlp.v2.CustomInfoType buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.CustomInfoType) {
-        return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType)other);
+        return mergeFrom((com.google.privacy.dlp.v2.CustomInfoType) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8002,9 +9006,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType other) {
             detectionRulesBuilder_ = null;
             detectionRules_ = other.detectionRules_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            detectionRulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getDetectionRulesFieldBuilder() : null;
+            detectionRulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getDetectionRulesFieldBuilder()
+                    : null;
           } else {
             detectionRulesBuilder_.addAllMessages(other.detectionRules_);
           }
@@ -8014,25 +9019,30 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType other) {
         setExclusionTypeValue(other.getExclusionTypeValue());
       }
       switch (other.getTypeCase()) {
-        case DICTIONARY: {
-          mergeDictionary(other.getDictionary());
-          break;
-        }
-        case REGEX: {
-          mergeRegex(other.getRegex());
-          break;
-        }
-        case SURROGATE_TYPE: {
-          mergeSurrogateType(other.getSurrogateType());
-          break;
-        }
-        case STORED_TYPE: {
-          mergeStoredType(other.getStoredType());
-          break;
-        }
-        case TYPE_NOT_SET: {
-          break;
-        }
+        case DICTIONARY:
+          {
+            mergeDictionary(other.getDictionary());
+            break;
+          }
+        case REGEX:
+          {
+            mergeRegex(other.getRegex());
+            break;
+          }
+        case SURROGATE_TYPE:
+          {
+            mergeSurrogateType(other.getSurrogateType());
+            break;
+          }
+        case STORED_TYPE:
+          {
+            mergeStoredType(other.getStoredType());
+            break;
+          }
+        case TYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -8062,12 +9072,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int typeCase_ = 0;
     private java.lang.Object type_;
-    public TypeCase
-        getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public Builder clearType() {
@@ -8081,8 +9091,13 @@ public Builder clearType() {
 
     private com.google.privacy.dlp.v2.InfoType infoType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_;
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        infoTypeBuilder_;
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8093,12 +9108,15 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8109,16 +9127,21 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** + * + * *
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8144,6 +9167,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8155,8 +9180,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
      *
      * .google.privacy.dlp.v2.InfoType info_type = 1;
      */
-    public Builder setInfoType(
-        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypeBuilder_ == null) {
         infoType_ = builderForValue.build();
         onChanged();
@@ -8167,6 +9191,8 @@ public Builder setInfoType(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8182,7 +9208,9 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypeBuilder_ == null) {
         if (infoType_ != null) {
           infoType_ =
-            com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           infoType_ = value;
         }
@@ -8194,6 +9222,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8217,6 +9247,8 @@ public Builder clearInfoType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8229,11 +9261,13 @@ public Builder clearInfoType() {
      * .google.privacy.dlp.v2.InfoType info_type = 1;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
-      
+
       onChanged();
       return getInfoTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8249,11 +9283,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       if (infoTypeBuilder_ != null) {
         return infoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return infoType_ == null ?
-            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
+        return infoType_ == null
+            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
+            : infoType_;
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoType can either be a new infoType, or an extension of built-in
      * infoType, when the name matches one of existing infoTypes and that infoType
@@ -8266,14 +9303,17 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * .google.privacy.dlp.v2.InfoType info_type = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getInfoTypeFieldBuilder() {
       if (infoTypeBuilder_ == null) {
-        infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getInfoType(),
-                getParentForChildren(),
-                isClean());
+        infoTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getInfoType(), getParentForChildren(), isClean());
         infoType_ = null;
       }
       return infoTypeBuilder_;
@@ -8281,6 +9321,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
 
     private int likelihood_ = 0;
     /**
+     *
+     *
      * 
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -8288,12 +9330,16 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override public int getLikelihoodValue() { + @java.lang.Override + public int getLikelihoodValue() { return likelihood_; } /** + * + * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -8301,16 +9347,19 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @param value The enum numeric value on the wire for likelihood to set. * @return This builder for chaining. */ public Builder setLikelihoodValue(int value) { - + likelihood_ = value; onChanged(); return this; } /** + * + * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -8318,15 +9367,19 @@ public Builder setLikelihoodValue(int value) {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return The likelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } /** + * + * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -8334,6 +9387,7 @@ public com.google.privacy.dlp.v2.Likelihood getLikelihood() {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @param value The likelihood to set. * @return This builder for chaining. */ @@ -8341,12 +9395,14 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + likelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Likelihood to return for this CustomInfoType. This base value can be
      * altered by a detection rule if the finding meets the criteria specified by
@@ -8354,23 +9410,30 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return This builder for chaining. */ public Builder clearLikelihood() { - + likelihood_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> dictionaryBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + dictionaryBuilder_; /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; + * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -8378,11 +9441,14 @@ public boolean hasDictionary() { return typeCase_ == 2; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; + * * @return The dictionary. */ @java.lang.Override @@ -8400,6 +9466,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8420,6 +9488,8 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8438,6 +9508,8 @@ public Builder setDictionary( return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8446,10 +9518,13 @@ public Builder setDictionary( */ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary value) { if (dictionaryBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -8464,6 +9539,8 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8487,6 +9564,8 @@ public Builder clearDictionary() { return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8497,6 +9576,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8515,6 +9596,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8522,32 +9605,44 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> getDictionaryFieldBuilder() { if (dictionaryBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } - dictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( + dictionaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return dictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> regexBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + regexBuilder_; /** + * + * *
      * Regular expression based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; + * * @return Whether the regex field is set. */ @java.lang.Override @@ -8555,11 +9650,14 @@ public boolean hasRegex() { return typeCase_ == 3; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; + * * @return The regex. */ @java.lang.Override @@ -8577,6 +9675,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8597,6 +9697,8 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8615,6 +9717,8 @@ public Builder setRegex( return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8623,10 +9727,13 @@ public Builder setRegex( */ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { if (regexBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 + && type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -8641,6 +9748,8 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8664,6 +9773,8 @@ public Builder clearRegex() { return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8674,6 +9785,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8692,6 +9805,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8699,33 +9814,45 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getRegexFieldBuilder() { if (regexBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } - regexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + regexBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return regexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder> surrogateTypeBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, + com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, + com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder> + surrogateTypeBuilder_; /** + * + * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; + * * @return Whether the surrogateType field is set. */ @java.lang.Override @@ -8733,12 +9860,15 @@ public boolean hasSurrogateType() { return typeCase_ == 4; } /** + * + * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; + * * @return The surrogateType. */ @java.lang.Override @@ -8756,6 +9886,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() } } /** + * + * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8777,6 +9909,8 @@ public Builder setSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.Surroga
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8796,6 +9930,8 @@ public Builder setSurrogateType(
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8803,12 +9939,17 @@ public Builder setSurrogateType(
      *
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
-    public Builder mergeSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.SurrogateType value) {
+    public Builder mergeSurrogateType(
+        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType value) {
       if (surrogateTypeBuilder_ == null) {
-        if (typeCase_ == 4 &&
-            type_ != com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) {
-          type_ = com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_)
-              .mergeFrom(value).buildPartial();
+        if (typeCase_ == 4
+            && type_
+                != com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance()) {
+          type_ =
+              com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.newBuilder(
+                      (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           type_ = value;
         }
@@ -8823,6 +9964,8 @@ public Builder mergeSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.Surro
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8847,6 +9990,8 @@ public Builder clearSurrogateType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8854,10 +9999,13 @@ public Builder clearSurrogateType() {
      *
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder getSurrogateTypeBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder
+        getSurrogateTypeBuilder() {
       return getSurrogateTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8866,7 +10014,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder getSurroga
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder
+        getSurrogateTypeOrBuilder() {
       if ((typeCase_ == 4) && (surrogateTypeBuilder_ != null)) {
         return surrogateTypeBuilder_.getMessageOrBuilder();
       } else {
@@ -8877,6 +10026,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrog
       }
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8885,33 +10036,45 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrog
      * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder> 
+            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType,
+            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder,
+            com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder>
         getSurrogateTypeFieldBuilder() {
       if (surrogateTypeBuilder_ == null) {
         if (!(typeCase_ == 4)) {
           type_ = com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.getDefaultInstance();
         }
-        surrogateTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.SurrogateType, com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder, com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder>(
+        surrogateTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType,
+                com.google.privacy.dlp.v2.CustomInfoType.SurrogateType.Builder,
+                com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder>(
                 (com.google.privacy.dlp.v2.CustomInfoType.SurrogateType) type_,
                 getParentForChildren(),
                 isClean());
         type_ = null;
       }
       typeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return surrogateTypeBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.StoredType, com.google.privacy.dlp.v2.StoredType.Builder, com.google.privacy.dlp.v2.StoredTypeOrBuilder> storedTypeBuilder_;
+            com.google.privacy.dlp.v2.StoredType,
+            com.google.privacy.dlp.v2.StoredType.Builder,
+            com.google.privacy.dlp.v2.StoredTypeOrBuilder>
+        storedTypeBuilder_;
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
      * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; + * * @return Whether the storedType field is set. */ @java.lang.Override @@ -8919,12 +10082,15 @@ public boolean hasStoredType() { return typeCase_ == 5; } /** + * + * *
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
      * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; + * * @return The storedType. */ @java.lang.Override @@ -8942,6 +10108,8 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() { } } /** + * + * *
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -8963,6 +10131,8 @@ public Builder setStoredType(com.google.privacy.dlp.v2.StoredType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -8970,8 +10140,7 @@ public Builder setStoredType(com.google.privacy.dlp.v2.StoredType value) {
      *
      * .google.privacy.dlp.v2.StoredType stored_type = 5;
      */
-    public Builder setStoredType(
-        com.google.privacy.dlp.v2.StoredType.Builder builderForValue) {
+    public Builder setStoredType(com.google.privacy.dlp.v2.StoredType.Builder builderForValue) {
       if (storedTypeBuilder_ == null) {
         type_ = builderForValue.build();
         onChanged();
@@ -8982,6 +10151,8 @@ public Builder setStoredType(
       return this;
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -8991,10 +10162,12 @@ public Builder setStoredType(
      */
     public Builder mergeStoredType(com.google.privacy.dlp.v2.StoredType value) {
       if (storedTypeBuilder_ == null) {
-        if (typeCase_ == 5 &&
-            type_ != com.google.privacy.dlp.v2.StoredType.getDefaultInstance()) {
-          type_ = com.google.privacy.dlp.v2.StoredType.newBuilder((com.google.privacy.dlp.v2.StoredType) type_)
-              .mergeFrom(value).buildPartial();
+        if (typeCase_ == 5 && type_ != com.google.privacy.dlp.v2.StoredType.getDefaultInstance()) {
+          type_ =
+              com.google.privacy.dlp.v2.StoredType.newBuilder(
+                      (com.google.privacy.dlp.v2.StoredType) type_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           type_ = value;
         }
@@ -9009,6 +10182,8 @@ public Builder mergeStoredType(com.google.privacy.dlp.v2.StoredType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9033,6 +10208,8 @@ public Builder clearStoredType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9044,6 +10221,8 @@ public com.google.privacy.dlp.v2.StoredType.Builder getStoredTypeBuilder() {
       return getStoredTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9063,6 +10242,8 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9071,46 +10252,60 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
      * .google.privacy.dlp.v2.StoredType stored_type = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.StoredType, com.google.privacy.dlp.v2.StoredType.Builder, com.google.privacy.dlp.v2.StoredTypeOrBuilder> 
+            com.google.privacy.dlp.v2.StoredType,
+            com.google.privacy.dlp.v2.StoredType.Builder,
+            com.google.privacy.dlp.v2.StoredTypeOrBuilder>
         getStoredTypeFieldBuilder() {
       if (storedTypeBuilder_ == null) {
         if (!(typeCase_ == 5)) {
           type_ = com.google.privacy.dlp.v2.StoredType.getDefaultInstance();
         }
-        storedTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredType, com.google.privacy.dlp.v2.StoredType.Builder, com.google.privacy.dlp.v2.StoredTypeOrBuilder>(
-                (com.google.privacy.dlp.v2.StoredType) type_,
-                getParentForChildren(),
-                isClean());
+        storedTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.StoredType,
+                com.google.privacy.dlp.v2.StoredType.Builder,
+                com.google.privacy.dlp.v2.StoredTypeOrBuilder>(
+                (com.google.privacy.dlp.v2.StoredType) type_, getParentForChildren(), isClean());
         type_ = null;
       }
       typeCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return storedTypeBuilder_;
     }
 
     private java.util.List detectionRules_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDetectionRulesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        detectionRules_ = new java.util.ArrayList(detectionRules_);
+        detectionRules_ =
+            new java.util.ArrayList(
+                detectionRules_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder> detectionRulesBuilder_;
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule,
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder,
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>
+        detectionRulesBuilder_;
 
     /**
+     *
+     *
      * 
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ - public java.util.List getDetectionRulesList() { + public java.util.List + getDetectionRulesList() { if (detectionRulesBuilder_ == null) { return java.util.Collections.unmodifiableList(detectionRules_); } else { @@ -9118,13 +10313,16 @@ public java.util.List ge } } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public int getDetectionRulesCount() { if (detectionRulesBuilder_ == null) { @@ -9134,13 +10332,16 @@ public int getDetectionRulesCount() { } } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(int index) { if (detectionRulesBuilder_ == null) { @@ -9150,13 +10351,16 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules( } } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder setDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule value) { @@ -9173,13 +10377,16 @@ public Builder setDetectionRules( return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder setDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder builderForValue) { @@ -9193,13 +10400,16 @@ public Builder setDetectionRules( return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder addDetectionRules(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule value) { if (detectionRulesBuilder_ == null) { @@ -9215,13 +10425,16 @@ public Builder addDetectionRules(com.google.privacy.dlp.v2.CustomInfoType.Detect return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder addDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule value) { @@ -9238,13 +10451,16 @@ public Builder addDetectionRules( return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder addDetectionRules( com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder builderForValue) { @@ -9258,13 +10474,16 @@ public Builder addDetectionRules( return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder addDetectionRules( int index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder builderForValue) { @@ -9278,20 +10497,23 @@ public Builder addDetectionRules( return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder addAllDetectionRules( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (detectionRulesBuilder_ == null) { ensureDetectionRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, detectionRules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, detectionRules_); onChanged(); } else { detectionRulesBuilder_.addAllMessages(values); @@ -9299,13 +10521,16 @@ public Builder addAllDetectionRules( return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder clearDetectionRules() { if (detectionRulesBuilder_ == null) { @@ -9318,13 +10543,16 @@ public Builder clearDetectionRules() { return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public Builder removeDetectionRules(int index) { if (detectionRulesBuilder_ == null) { @@ -9337,45 +10565,55 @@ public Builder removeDetectionRules(int index) { return this; } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder getDetectionRulesBuilder( int index) { return getDetectionRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRulesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder + getDetectionRulesOrBuilder(int index) { if (detectionRulesBuilder_ == null) { - return detectionRules_.get(index); } else { + return detectionRules_.get(index); + } else { return detectionRulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ - public java.util.List - getDetectionRulesOrBuilderList() { + public java.util.List + getDetectionRulesOrBuilderList() { if (detectionRulesBuilder_ != null) { return detectionRulesBuilder_.getMessageOrBuilderList(); } else { @@ -9383,51 +10621,68 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetect } } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetectionRulesBuilder() { - return getDetectionRulesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder + addDetectionRulesBuilder() { + return getDetectionRulesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetectionRulesBuilder( int index) { - return getDetectionRulesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); + return getDetectionRulesFieldBuilder() + .addBuilder( + index, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.getDefaultInstance()); } /** + * + * *
      * Set of detection rules to apply to all findings of this CustomInfoType.
      * Rules are applied in order that they are specified. Not supported for the
      * `surrogate_type` CustomInfoType.
      * 
* - * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; + * */ - public java.util.List - getDetectionRulesBuilderList() { + public java.util.List + getDetectionRulesBuilderList() { return getDetectionRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder> getDetectionRulesFieldBuilder() { if (detectionRulesBuilder_ == null) { - detectionRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>( + detectionRulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder>( detectionRules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -9439,55 +10694,71 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Builder addDetecti private int exclusionType_ = 0; /** + * + * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return The enum numeric value on the wire for exclusionType. */ - @java.lang.Override public int getExclusionTypeValue() { + @java.lang.Override + public int getExclusionTypeValue() { return exclusionType_; } /** + * + * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @param value The enum numeric value on the wire for exclusionType to set. * @return This builder for chaining. */ public Builder setExclusionTypeValue(int value) { - + exclusionType_ = value; onChanged(); return this; } /** + * + * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return The exclusionType. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); - return result == null ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.CustomInfoType.ExclusionType result = + com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.valueOf(exclusionType_); + return result == null + ? com.google.privacy.dlp.v2.CustomInfoType.ExclusionType.UNRECOGNIZED + : result; } /** + * + * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @param value The exclusionType to set. * @return This builder for chaining. */ @@ -9495,29 +10766,32 @@ public Builder setExclusionType(com.google.privacy.dlp.v2.CustomInfoType.Exclusi if (value == null) { throw new NullPointerException(); } - + exclusionType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
      * to be returned. It still can be used for rules matching.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return This builder for chaining. */ public Builder clearExclusionType() { - + exclusionType_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9527,12 +10801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.CustomInfoType) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType) private static final com.google.privacy.dlp.v2.CustomInfoType DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.CustomInfoType(); } @@ -9541,16 +10815,16 @@ public static com.google.privacy.dlp.v2.CustomInfoType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomInfoType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CustomInfoType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomInfoType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CustomInfoType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9565,6 +10839,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.CustomInfoType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java similarity index 90% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java index f0a7f5de..a3f1f628 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoTypeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface CustomInfoTypeOrBuilder extends +public interface CustomInfoTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CustomInfoType) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -18,10 +36,13 @@ public interface CustomInfoTypeOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -32,10 +53,13 @@ public interface CustomInfoTypeOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * CustomInfoType can either be a new infoType, or an extension of built-in
    * infoType, when the name matches one of existing infoTypes and that infoType
@@ -50,6 +74,8 @@ public interface CustomInfoTypeOrBuilder extends
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -57,10 +83,13 @@ public interface CustomInfoTypeOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return The enum numeric value on the wire for likelihood. */ int getLikelihoodValue(); /** + * + * *
    * Likelihood to return for this CustomInfoType. This base value can be
    * altered by a detection rule if the finding meets the criteria specified by
@@ -68,29 +97,38 @@ public interface CustomInfoTypeOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 6; + * * @return The likelihood. */ com.google.privacy.dlp.v2.Likelihood getLikelihood(); /** + * + * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; + * * @return Whether the dictionary field is set. */ boolean hasDictionary(); /** + * + * *
    * A list of phrases to detect as a CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 2; + * * @return The dictionary. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); /** + * + * *
    * A list of phrases to detect as a CustomInfoType.
    * 
@@ -100,24 +138,32 @@ public interface CustomInfoTypeOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); /** + * + * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; + * * @return Whether the regex field is set. */ boolean hasRegex(); /** + * + * *
    * Regular expression based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 3; + * * @return The regex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); /** + * + * *
    * Regular expression based CustomInfoType.
    * 
@@ -127,26 +173,34 @@ public interface CustomInfoTypeOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder(); /** + * + * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; + * * @return Whether the surrogateType field is set. */ boolean hasSurrogateType(); /** + * + * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4; + * * @return The surrogateType. */ com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType(); /** + * + * *
    * Message for detecting output from deidentification transformations that
    * support reversing.
@@ -157,26 +211,34 @@ public interface CustomInfoTypeOrBuilder extends
   com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrogateTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; + * * @return Whether the storedType field is set. */ boolean hasStoredType(); /** + * + * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
    * 
* * .google.privacy.dlp.v2.StoredType stored_type = 5; + * * @return The storedType. */ com.google.privacy.dlp.v2.StoredType getStoredType(); /** + * + * *
    * Load an existing `StoredInfoType` resource for use in
    * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -187,6 +249,8 @@ public interface CustomInfoTypeOrBuilder extends
   com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -195,9 +259,10 @@ public interface CustomInfoTypeOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
-  java.util.List 
-      getDetectionRulesList();
+  java.util.List getDetectionRulesList();
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -208,6 +273,8 @@ public interface CustomInfoTypeOrBuilder extends
    */
   com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(int index);
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -218,6 +285,8 @@ public interface CustomInfoTypeOrBuilder extends
    */
   int getDetectionRulesCount();
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -226,9 +295,11 @@ public interface CustomInfoTypeOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7;
    */
-  java.util.List 
+  java.util.List
       getDetectionRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * Set of detection rules to apply to all findings of this CustomInfoType.
    * Rules are applied in order that they are specified. Not supported for the
@@ -241,22 +312,28 @@ com.google.privacy.dlp.v2.CustomInfoType.DetectionRuleOrBuilder getDetectionRule
       int index);
 
   /**
+   *
+   *
    * 
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return The enum numeric value on the wire for exclusionType. */ int getExclusionTypeValue(); /** + * + * *
    * If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
    * to be returned. It still can be used for rules matching.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8; + * * @return The exclusionType. */ com.google.privacy.dlp.v2.CustomInfoType.ExclusionType getExclusionType(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java index 3eabf5b0..4a8b37fd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKey.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Record key for a finding in Cloud Datastore.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreKey} */ -public final class DatastoreKey extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DatastoreKey extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DatastoreKey) DatastoreKeyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatastoreKey.newBuilder() to construct. private DatastoreKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatastoreKey() { - } + + private DatastoreKey() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatastoreKey(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DatastoreKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,59 +68,66 @@ private DatastoreKey( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Key.Builder subBuilder = null; - if (entityKey_ != null) { - subBuilder = entityKey_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.Key.Builder subBuilder = null; + if (entityKey_ != null) { + subBuilder = entityKey_.toBuilder(); + } + entityKey_ = + input.readMessage(com.google.privacy.dlp.v2.Key.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityKey_); + entityKey_ = subBuilder.buildPartial(); + } + + break; } - entityKey_ = input.readMessage(com.google.privacy.dlp.v2.Key.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entityKey_); - entityKey_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreKey.class, com.google.privacy.dlp.v2.DatastoreKey.Builder.class); + com.google.privacy.dlp.v2.DatastoreKey.class, + com.google.privacy.dlp.v2.DatastoreKey.Builder.class); } public static final int ENTITY_KEY_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Key entityKey_; /** + * + * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return Whether the entityKey field is set. */ @java.lang.Override @@ -112,11 +135,14 @@ public boolean hasEntityKey() { return entityKey_ != null; } /** + * + * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return The entityKey. */ @java.lang.Override @@ -124,6 +150,8 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; } /** + * + * *
    * Datastore entity key.
    * 
@@ -136,6 +164,7 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +176,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entityKey_ != null) { output.writeMessage(1, getEntityKey()); } @@ -162,8 +190,7 @@ public int getSerializedSize() { size = 0; if (entityKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntityKey()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntityKey()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,7 +200,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.privacy.dlp.v2.DatastoreKey)) { return super.equals(obj); @@ -182,8 +209,7 @@ public boolean equals(final java.lang.Object obj) { if (hasEntityKey() != other.hasEntityKey()) return false; if (hasEntityKey()) { - if (!getEntityKey() - .equals(other.getEntityKey())) return false; + if (!getEntityKey().equals(other.getEntityKey())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -205,118 +231,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreKey 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.privacy.dlp.v2.DatastoreKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DatastoreKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DatastoreKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Record key for a finding in Cloud Datastore.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreKey} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DatastoreKey) com.google.privacy.dlp.v2.DatastoreKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreKey.class, com.google.privacy.dlp.v2.DatastoreKey.Builder.class); + com.google.privacy.dlp.v2.DatastoreKey.class, + com.google.privacy.dlp.v2.DatastoreKey.Builder.class); } // Construct using com.google.privacy.dlp.v2.DatastoreKey.newBuilder() @@ -324,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; } @java.lang.Override @@ -368,7 +402,8 @@ public com.google.privacy.dlp.v2.DatastoreKey build() { @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKey buildPartial() { - com.google.privacy.dlp.v2.DatastoreKey result = new com.google.privacy.dlp.v2.DatastoreKey(this); + com.google.privacy.dlp.v2.DatastoreKey result = + new com.google.privacy.dlp.v2.DatastoreKey(this); if (entityKeyBuilder_ == null) { result.entityKey_ = entityKey_; } else { @@ -382,38 +417,39 @@ public com.google.privacy.dlp.v2.DatastoreKey buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DatastoreKey) { - return mergeFrom((com.google.privacy.dlp.v2.DatastoreKey)other); + return mergeFrom((com.google.privacy.dlp.v2.DatastoreKey) other); } else { super.mergeFrom(other); return this; @@ -456,24 +492,33 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Key entityKey_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Key, com.google.privacy.dlp.v2.Key.Builder, com.google.privacy.dlp.v2.KeyOrBuilder> entityKeyBuilder_; + com.google.privacy.dlp.v2.Key, + com.google.privacy.dlp.v2.Key.Builder, + com.google.privacy.dlp.v2.KeyOrBuilder> + entityKeyBuilder_; /** + * + * *
      * Datastore entity key.
      * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return Whether the entityKey field is set. */ public boolean hasEntityKey() { return entityKeyBuilder_ != null || entityKey_ != null; } /** + * + * *
      * Datastore entity key.
      * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return The entityKey. */ public com.google.privacy.dlp.v2.Key getEntityKey() { @@ -484,6 +529,8 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { } } /** + * + * *
      * Datastore entity key.
      * 
@@ -504,14 +551,15 @@ public Builder setEntityKey(com.google.privacy.dlp.v2.Key value) { return this; } /** + * + * *
      * Datastore entity key.
      * 
* * .google.privacy.dlp.v2.Key entity_key = 1; */ - public Builder setEntityKey( - com.google.privacy.dlp.v2.Key.Builder builderForValue) { + public Builder setEntityKey(com.google.privacy.dlp.v2.Key.Builder builderForValue) { if (entityKeyBuilder_ == null) { entityKey_ = builderForValue.build(); onChanged(); @@ -522,6 +570,8 @@ public Builder setEntityKey( return this; } /** + * + * *
      * Datastore entity key.
      * 
@@ -532,7 +582,7 @@ public Builder mergeEntityKey(com.google.privacy.dlp.v2.Key value) { if (entityKeyBuilder_ == null) { if (entityKey_ != null) { entityKey_ = - com.google.privacy.dlp.v2.Key.newBuilder(entityKey_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Key.newBuilder(entityKey_).mergeFrom(value).buildPartial(); } else { entityKey_ = value; } @@ -544,6 +594,8 @@ public Builder mergeEntityKey(com.google.privacy.dlp.v2.Key value) { return this; } /** + * + * *
      * Datastore entity key.
      * 
@@ -562,6 +614,8 @@ public Builder clearEntityKey() { return this; } /** + * + * *
      * Datastore entity key.
      * 
@@ -569,11 +623,13 @@ public Builder clearEntityKey() { * .google.privacy.dlp.v2.Key entity_key = 1; */ public com.google.privacy.dlp.v2.Key.Builder getEntityKeyBuilder() { - + onChanged(); return getEntityKeyFieldBuilder().getBuilder(); } /** + * + * *
      * Datastore entity key.
      * 
@@ -584,11 +640,12 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { if (entityKeyBuilder_ != null) { return entityKeyBuilder_.getMessageOrBuilder(); } else { - return entityKey_ == null ? - com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; + return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; } } /** + * + * *
      * Datastore entity key.
      * 
@@ -596,21 +653,24 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { * .google.privacy.dlp.v2.Key entity_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Key, com.google.privacy.dlp.v2.Key.Builder, com.google.privacy.dlp.v2.KeyOrBuilder> + com.google.privacy.dlp.v2.Key, + com.google.privacy.dlp.v2.Key.Builder, + com.google.privacy.dlp.v2.KeyOrBuilder> getEntityKeyFieldBuilder() { if (entityKeyBuilder_ == null) { - entityKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Key, com.google.privacy.dlp.v2.Key.Builder, com.google.privacy.dlp.v2.KeyOrBuilder>( - getEntityKey(), - getParentForChildren(), - isClean()); + entityKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Key, + com.google.privacy.dlp.v2.Key.Builder, + com.google.privacy.dlp.v2.KeyOrBuilder>( + getEntityKey(), getParentForChildren(), isClean()); entityKey_ = null; } return entityKeyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,12 +680,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DatastoreKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DatastoreKey) private static final com.google.privacy.dlp.v2.DatastoreKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DatastoreKey(); } @@ -634,16 +694,16 @@ public static com.google.privacy.dlp.v2.DatastoreKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatastoreKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatastoreKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatastoreKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatastoreKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,6 +718,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DatastoreKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java index c7150cbf..3f09add0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreKeyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface DatastoreKeyOrBuilder extends +public interface DatastoreKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DatastoreKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return Whether the entityKey field is set. */ boolean hasEntityKey(); /** + * + * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return The entityKey. */ com.google.privacy.dlp.v2.Key getEntityKey(); /** + * + * *
    * Datastore entity key.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java index c69c7199..396091ae 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptions.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Options defining a data set within Google Cloud Datastore.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreOptions} */ -public final class DatastoreOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DatastoreOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DatastoreOptions) DatastoreOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatastoreOptions.newBuilder() to construct. private DatastoreOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatastoreOptions() { - } + + private DatastoreOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatastoreOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DatastoreOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +68,84 @@ private DatastoreOptions( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null; - if (partitionId_ != null) { - subBuilder = partitionId_.toBuilder(); - } - partitionId_ = input.readMessage(com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitionId_); - partitionId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.privacy.dlp.v2.KindExpression.Builder subBuilder = null; - if (kind_ != null) { - subBuilder = kind_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null; + if (partitionId_ != null) { + subBuilder = partitionId_.toBuilder(); + } + partitionId_ = + input.readMessage( + com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionId_); + partitionId_ = subBuilder.buildPartial(); + } + + break; } - kind_ = input.readMessage(com.google.privacy.dlp.v2.KindExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(kind_); - kind_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.KindExpression.Builder subBuilder = null; + if (kind_ != null) { + subBuilder = kind_.toBuilder(); + } + kind_ = + input.readMessage( + com.google.privacy.dlp.v2.KindExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(kind_); + kind_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreOptions.class, com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); + com.google.privacy.dlp.v2.DatastoreOptions.class, + com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); } public static final int PARTITION_ID_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.PartitionId partitionId_; /** + * + * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -126,19 +153,26 @@ public boolean hasPartitionId() { return partitionId_ != null; } /** + * + * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return The partitionId. */ @java.lang.Override public com.google.privacy.dlp.v2.PartitionId getPartitionId() { - return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() + : partitionId_; } /** + * + * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
@@ -154,11 +188,14 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
   public static final int KIND_FIELD_NUMBER = 2;
   private com.google.privacy.dlp.v2.KindExpression kind_;
   /**
+   *
+   *
    * 
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return Whether the kind field is set. */ @java.lang.Override @@ -166,11 +203,14 @@ public boolean hasKind() { return kind_ != null; } /** + * + * *
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return The kind. */ @java.lang.Override @@ -178,6 +218,8 @@ public com.google.privacy.dlp.v2.KindExpression getKind() { return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; } /** + * + * *
    * The kind to process.
    * 
@@ -190,6 +232,7 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (partitionId_ != null) { output.writeMessage(1, getPartitionId()); } @@ -219,12 +261,10 @@ public int getSerializedSize() { size = 0; if (partitionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPartitionId()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartitionId()); } if (kind_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getKind()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getKind()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +274,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.privacy.dlp.v2.DatastoreOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DatastoreOptions other = (com.google.privacy.dlp.v2.DatastoreOptions) obj; + com.google.privacy.dlp.v2.DatastoreOptions other = + (com.google.privacy.dlp.v2.DatastoreOptions) obj; if (hasPartitionId() != other.hasPartitionId()) return false; if (hasPartitionId()) { - if (!getPartitionId() - .equals(other.getPartitionId())) return false; + if (!getPartitionId().equals(other.getPartitionId())) return false; } if (hasKind() != other.hasKind()) return false; if (hasKind()) { - if (!getKind() - .equals(other.getKind())) return false; + if (!getKind().equals(other.getKind())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,118 +314,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DatastoreOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DatastoreOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DatastoreOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DatastoreOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Options defining a data set within Google Cloud Datastore.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DatastoreOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DatastoreOptions) com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DatastoreOptions.class, com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); + com.google.privacy.dlp.v2.DatastoreOptions.class, + com.google.privacy.dlp.v2.DatastoreOptions.Builder.class); } // Construct using com.google.privacy.dlp.v2.DatastoreOptions.newBuilder() @@ -394,16 +442,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -423,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; } @java.lang.Override @@ -444,7 +491,8 @@ public com.google.privacy.dlp.v2.DatastoreOptions build() { @java.lang.Override public com.google.privacy.dlp.v2.DatastoreOptions buildPartial() { - com.google.privacy.dlp.v2.DatastoreOptions result = new com.google.privacy.dlp.v2.DatastoreOptions(this); + com.google.privacy.dlp.v2.DatastoreOptions result = + new com.google.privacy.dlp.v2.DatastoreOptions(this); if (partitionIdBuilder_ == null) { result.partitionId_ = partitionId_; } else { @@ -463,38 +511,39 @@ public com.google.privacy.dlp.v2.DatastoreOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DatastoreOptions) { - return mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions)other); + return mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions) other); } else { super.mergeFrom(other); return this; @@ -540,36 +589,49 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.PartitionId partitionId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> partitionIdBuilder_; + com.google.privacy.dlp.v2.PartitionId, + com.google.privacy.dlp.v2.PartitionId.Builder, + com.google.privacy.dlp.v2.PartitionIdOrBuilder> + partitionIdBuilder_; /** + * + * *
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return partitionIdBuilder_ != null || partitionId_ != null; } /** + * + * *
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return The partitionId. */ public com.google.privacy.dlp.v2.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() + : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** + * + * *
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -591,6 +653,8 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -598,8 +662,7 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
      *
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
-    public Builder setPartitionId(
-        com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
         onChanged();
@@ -610,6 +673,8 @@ public Builder setPartitionId(
       return this;
     }
     /**
+     *
+     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -621,7 +686,9 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       if (partitionIdBuilder_ == null) {
         if (partitionId_ != null) {
           partitionId_ =
-            com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           partitionId_ = value;
         }
@@ -633,6 +700,8 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -652,6 +721,8 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -660,11 +731,13 @@ public Builder clearPartitionId() {
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     public com.google.privacy.dlp.v2.PartitionId.Builder getPartitionIdBuilder() {
-      
+
       onChanged();
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -676,11 +749,14 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null ?
-            com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_;
+        return partitionId_ == null
+            ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance()
+            : partitionId_;
       }
     }
     /**
+     *
+     *
      * 
      * A partition ID identifies a grouping of entities. The grouping is always
      * by project and namespace, however the namespace ID may be empty.
@@ -689,14 +765,17 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> 
+            com.google.privacy.dlp.v2.PartitionId,
+            com.google.privacy.dlp.v2.PartitionId.Builder,
+            com.google.privacy.dlp.v2.PartitionIdOrBuilder>
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
-                getPartitionId(),
-                getParentForChildren(),
-                isClean());
+        partitionIdBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.PartitionId,
+                com.google.privacy.dlp.v2.PartitionId.Builder,
+                com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
+                getPartitionId(), getParentForChildren(), isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
@@ -704,34 +783,47 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
 
     private com.google.privacy.dlp.v2.KindExpression kind_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.KindExpression, com.google.privacy.dlp.v2.KindExpression.Builder, com.google.privacy.dlp.v2.KindExpressionOrBuilder> kindBuilder_;
+            com.google.privacy.dlp.v2.KindExpression,
+            com.google.privacy.dlp.v2.KindExpression.Builder,
+            com.google.privacy.dlp.v2.KindExpressionOrBuilder>
+        kindBuilder_;
     /**
+     *
+     *
      * 
      * The kind to process.
      * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return Whether the kind field is set. */ public boolean hasKind() { return kindBuilder_ != null || kind_ != null; } /** + * + * *
      * The kind to process.
      * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return The kind. */ public com.google.privacy.dlp.v2.KindExpression getKind() { if (kindBuilder_ == null) { - return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; + return kind_ == null + ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() + : kind_; } else { return kindBuilder_.getMessage(); } } /** + * + * *
      * The kind to process.
      * 
@@ -752,14 +844,15 @@ public Builder setKind(com.google.privacy.dlp.v2.KindExpression value) { return this; } /** + * + * *
      * The kind to process.
      * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; */ - public Builder setKind( - com.google.privacy.dlp.v2.KindExpression.Builder builderForValue) { + public Builder setKind(com.google.privacy.dlp.v2.KindExpression.Builder builderForValue) { if (kindBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -770,6 +863,8 @@ public Builder setKind( return this; } /** + * + * *
      * The kind to process.
      * 
@@ -780,7 +875,9 @@ public Builder mergeKind(com.google.privacy.dlp.v2.KindExpression value) { if (kindBuilder_ == null) { if (kind_ != null) { kind_ = - com.google.privacy.dlp.v2.KindExpression.newBuilder(kind_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.KindExpression.newBuilder(kind_) + .mergeFrom(value) + .buildPartial(); } else { kind_ = value; } @@ -792,6 +889,8 @@ public Builder mergeKind(com.google.privacy.dlp.v2.KindExpression value) { return this; } /** + * + * *
      * The kind to process.
      * 
@@ -810,6 +909,8 @@ public Builder clearKind() { return this; } /** + * + * *
      * The kind to process.
      * 
@@ -817,11 +918,13 @@ public Builder clearKind() { * .google.privacy.dlp.v2.KindExpression kind = 2; */ public com.google.privacy.dlp.v2.KindExpression.Builder getKindBuilder() { - + onChanged(); return getKindFieldBuilder().getBuilder(); } /** + * + * *
      * The kind to process.
      * 
@@ -832,11 +935,14 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { if (kindBuilder_ != null) { return kindBuilder_.getMessageOrBuilder(); } else { - return kind_ == null ? - com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; + return kind_ == null + ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() + : kind_; } } /** + * + * *
      * The kind to process.
      * 
@@ -844,21 +950,24 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { * .google.privacy.dlp.v2.KindExpression kind = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KindExpression, com.google.privacy.dlp.v2.KindExpression.Builder, com.google.privacy.dlp.v2.KindExpressionOrBuilder> + com.google.privacy.dlp.v2.KindExpression, + com.google.privacy.dlp.v2.KindExpression.Builder, + com.google.privacy.dlp.v2.KindExpressionOrBuilder> getKindFieldBuilder() { if (kindBuilder_ == null) { - kindBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.KindExpression, com.google.privacy.dlp.v2.KindExpression.Builder, com.google.privacy.dlp.v2.KindExpressionOrBuilder>( - getKind(), - getParentForChildren(), - isClean()); + kindBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.KindExpression, + com.google.privacy.dlp.v2.KindExpression.Builder, + com.google.privacy.dlp.v2.KindExpressionOrBuilder>( + getKind(), getParentForChildren(), isClean()); kind_ = null; } return kindBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +977,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DatastoreOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DatastoreOptions) private static final com.google.privacy.dlp.v2.DatastoreOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DatastoreOptions(); } @@ -882,16 +991,16 @@ public static com.google.privacy.dlp.v2.DatastoreOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatastoreOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatastoreOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatastoreOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatastoreOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,6 +1015,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DatastoreOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java index 4082178c..e562424f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DatastoreOptionsOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface DatastoreOptionsOrBuilder extends +public interface DatastoreOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DatastoreOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** + * + * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return The partitionId. */ com.google.privacy.dlp.v2.PartitionId getPartitionId(); /** + * + * *
    * A partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
@@ -38,24 +62,32 @@ public interface DatastoreOptionsOrBuilder extends
   com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
+   *
+   *
    * 
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return Whether the kind field is set. */ boolean hasKind(); /** + * + * *
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return The kind. */ com.google.privacy.dlp.v2.KindExpression getKind(); /** + * + * *
    * The kind to process.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java index 88bd4686..23cf58fa 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Shifts dates by random number of days, with option to be consistent for the
  * same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DateShiftConfig}
  */
-public final class DateShiftConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DateShiftConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DateShiftConfig)
     DateShiftConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DateShiftConfig.newBuilder() to construct.
   private DateShiftConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DateShiftConfig() {
-  }
+
+  private DateShiftConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DateShiftConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DateShiftConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,83 +70,92 @@ private DateShiftConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            upperBoundDays_ = input.readInt32();
-            break;
-          }
-          case 16: {
-
-            lowerBoundDays_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-            if (context_ != null) {
-              subBuilder = context_.toBuilder();
+          case 8:
+            {
+              upperBoundDays_ = input.readInt32();
+              break;
             }
-            context_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(context_);
-              context_ = subBuilder.buildPartial();
+          case 16:
+            {
+              lowerBoundDays_ = input.readInt32();
+              break;
             }
+          case 26:
+            {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (context_ != null) {
+                subBuilder = context_.toBuilder();
+              }
+              context_ =
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(context_);
+                context_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
-            if (methodCase_ == 4) {
-              subBuilder = ((com.google.privacy.dlp.v2.CryptoKey) method_).toBuilder();
+              break;
             }
-            method_ =
-                input.readMessage(com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoKey) method_);
-              method_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.privacy.dlp.v2.CryptoKey.Builder subBuilder = null;
+              if (methodCase_ == 4) {
+                subBuilder = ((com.google.privacy.dlp.v2.CryptoKey) method_).toBuilder();
+              }
+              method_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CryptoKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoKey) method_);
+                method_ = subBuilder.buildPartial();
+              }
+              methodCase_ = 4;
+              break;
             }
-            methodCase_ = 4;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DateShiftConfig.class, com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
+            com.google.privacy.dlp.v2.DateShiftConfig.class,
+            com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
   }
 
   private int methodCase_ = 0;
   private java.lang.Object method_;
+
   public enum MethodCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CRYPTO_KEY(4),
     METHOD_NOT_SET(0);
     private final int value;
+
     private MethodCase(int value) {
       this.value = value;
     }
@@ -146,25 +171,29 @@ public static MethodCase valueOf(int value) {
 
     public static MethodCase forNumber(int value) {
       switch (value) {
-        case 4: return CRYPTO_KEY;
-        case 0: return METHOD_NOT_SET;
-        default: return null;
+        case 4:
+          return CRYPTO_KEY;
+        case 0:
+          return METHOD_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MethodCase
-  getMethodCase() {
-    return MethodCase.forNumber(
-        methodCase_);
+  public MethodCase getMethodCase() {
+    return MethodCase.forNumber(methodCase_);
   }
 
   public static final int UPPER_BOUND_DAYS_FIELD_NUMBER = 1;
   private int upperBoundDays_;
   /**
+   *
+   *
    * 
    * Required. Range of shift in days. Actual shift will be selected at random within this
    * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -173,6 +202,7 @@ public int getNumber() {
    * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The upperBoundDays. */ @java.lang.Override @@ -183,11 +213,14 @@ public int getUpperBoundDays() { public static final int LOWER_BOUND_DAYS_FIELD_NUMBER = 2; private int lowerBoundDays_; /** + * + * *
    * Required. For example, -5 means shift date to at most 5 days back in the past.
    * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lowerBoundDays. */ @java.lang.Override @@ -198,6 +231,8 @@ public int getLowerBoundDays() { public static final int CONTEXT_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.FieldId context_; /** + * + * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -205,6 +240,7 @@ public int getLowerBoundDays() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ @java.lang.Override @@ -212,6 +248,8 @@ public boolean hasContext() { return context_ != null; } /** + * + * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -219,6 +257,7 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ @java.lang.Override @@ -226,6 +265,8 @@ public com.google.privacy.dlp.v2.FieldId getContext() { return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_; } /** + * + * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -241,6 +282,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
 
   public static final int CRYPTO_KEY_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -248,6 +291,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -255,6 +299,8 @@ public boolean hasCryptoKey() { return methodCase_ == 4; } /** + * + * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -262,16 +308,19 @@ public boolean hasCryptoKey() {
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return The cryptoKey. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { if (methodCase_ == 4) { - return (com.google.privacy.dlp.v2.CryptoKey) method_; + return (com.google.privacy.dlp.v2.CryptoKey) method_; } return com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance(); } /** + * + * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -283,12 +332,13 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
     if (methodCase_ == 4) {
-       return (com.google.privacy.dlp.v2.CryptoKey) method_;
+      return (com.google.privacy.dlp.v2.CryptoKey) method_;
     }
     return com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -300,8 +350,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (upperBoundDays_ != 0) {
       output.writeInt32(1, upperBoundDays_);
     }
@@ -324,20 +373,18 @@ public int getSerializedSize() {
 
     size = 0;
     if (upperBoundDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, upperBoundDays_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, upperBoundDays_);
     }
     if (lowerBoundDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, lowerBoundDays_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, lowerBoundDays_);
     }
     if (context_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getContext());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getContext());
     }
     if (methodCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.privacy.dlp.v2.CryptoKey) method_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.privacy.dlp.v2.CryptoKey) method_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -347,27 +394,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.privacy.dlp.v2.DateShiftConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.DateShiftConfig other = (com.google.privacy.dlp.v2.DateShiftConfig) obj;
+    com.google.privacy.dlp.v2.DateShiftConfig other =
+        (com.google.privacy.dlp.v2.DateShiftConfig) obj;
 
-    if (getUpperBoundDays()
-        != other.getUpperBoundDays()) return false;
-    if (getLowerBoundDays()
-        != other.getLowerBoundDays()) return false;
+    if (getUpperBoundDays() != other.getUpperBoundDays()) return false;
+    if (getLowerBoundDays() != other.getLowerBoundDays()) return false;
     if (hasContext() != other.hasContext()) return false;
     if (hasContext()) {
-      if (!getContext()
-          .equals(other.getContext())) return false;
+      if (!getContext().equals(other.getContext())) return false;
     }
     if (!getMethodCase().equals(other.getMethodCase())) return false;
     switch (methodCase_) {
       case 4:
-        if (!getCryptoKey()
-            .equals(other.getCryptoKey())) return false;
+        if (!getCryptoKey().equals(other.getCryptoKey())) return false;
         break;
       case 0:
       default:
@@ -404,97 +448,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.DateShiftConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.DateShiftConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.DateShiftConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.DateShiftConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Shifts dates by random number of days, with option to be consistent for the
    * same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
@@ -503,21 +554,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.DateShiftConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DateShiftConfig)
       com.google.privacy.dlp.v2.DateShiftConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DateShiftConfig.class, com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
+              com.google.privacy.dlp.v2.DateShiftConfig.class,
+              com.google.privacy.dlp.v2.DateShiftConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DateShiftConfig.newBuilder()
@@ -525,16 +578,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -554,9 +606,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor;
     }
 
     @java.lang.Override
@@ -575,7 +627,8 @@ public com.google.privacy.dlp.v2.DateShiftConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DateShiftConfig buildPartial() {
-      com.google.privacy.dlp.v2.DateShiftConfig result = new com.google.privacy.dlp.v2.DateShiftConfig(this);
+      com.google.privacy.dlp.v2.DateShiftConfig result =
+          new com.google.privacy.dlp.v2.DateShiftConfig(this);
       result.upperBoundDays_ = upperBoundDays_;
       result.lowerBoundDays_ = lowerBoundDays_;
       if (contextBuilder_ == null) {
@@ -599,38 +652,39 @@ public com.google.privacy.dlp.v2.DateShiftConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DateShiftConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -649,13 +703,15 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DateShiftConfig other) {
         mergeContext(other.getContext());
       }
       switch (other.getMethodCase()) {
-        case CRYPTO_KEY: {
-          mergeCryptoKey(other.getCryptoKey());
-          break;
-        }
-        case METHOD_NOT_SET: {
-          break;
-        }
+        case CRYPTO_KEY:
+          {
+            mergeCryptoKey(other.getCryptoKey());
+            break;
+          }
+        case METHOD_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -685,12 +741,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int methodCase_ = 0;
     private java.lang.Object method_;
-    public MethodCase
-        getMethodCase() {
-      return MethodCase.forNumber(
-          methodCase_);
+
+    public MethodCase getMethodCase() {
+      return MethodCase.forNumber(methodCase_);
     }
 
     public Builder clearMethod() {
@@ -700,9 +756,10 @@ public Builder clearMethod() {
       return this;
     }
 
-
-    private int upperBoundDays_ ;
+    private int upperBoundDays_;
     /**
+     *
+     *
      * 
      * Required. Range of shift in days. Actual shift will be selected at random within this
      * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -711,6 +768,7 @@ public Builder clearMethod() {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The upperBoundDays. */ @java.lang.Override @@ -718,6 +776,8 @@ public int getUpperBoundDays() { return upperBoundDays_; } /** + * + * *
      * Required. Range of shift in days. Actual shift will be selected at random within this
      * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -726,16 +786,19 @@ public int getUpperBoundDays() {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The upperBoundDays to set. * @return This builder for chaining. */ public Builder setUpperBoundDays(int value) { - + upperBoundDays_ = value; onChanged(); return this; } /** + * + * *
      * Required. Range of shift in days. Actual shift will be selected at random within this
      * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -744,22 +807,26 @@ public Builder setUpperBoundDays(int value) {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUpperBoundDays() { - + upperBoundDays_ = 0; onChanged(); return this; } - private int lowerBoundDays_ ; + private int lowerBoundDays_; /** + * + * *
      * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lowerBoundDays. */ @java.lang.Override @@ -767,30 +834,36 @@ public int getLowerBoundDays() { return lowerBoundDays_; } /** + * + * *
      * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The lowerBoundDays to set. * @return This builder for chaining. */ public Builder setLowerBoundDays(int value) { - + lowerBoundDays_ = value; onChanged(); return this; } /** + * + * *
      * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLowerBoundDays() { - + lowerBoundDays_ = 0; onChanged(); return this; @@ -798,8 +871,13 @@ public Builder clearLowerBoundDays() { private com.google.privacy.dlp.v2.FieldId context_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> contextBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + contextBuilder_; /** + * + * *
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -807,12 +885,15 @@ public Builder clearLowerBoundDays() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** + * + * *
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -820,6 +901,7 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -830,6 +912,8 @@ public com.google.privacy.dlp.v2.FieldId getContext() { } } /** + * + * *
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -852,6 +936,8 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -860,8 +946,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      *
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
-    public Builder setContext(
-        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (contextBuilder_ == null) {
         context_ = builderForValue.build();
         onChanged();
@@ -872,6 +957,8 @@ public Builder setContext(
       return this;
     }
     /**
+     *
+     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -884,7 +971,9 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       if (contextBuilder_ == null) {
         if (context_ != null) {
           context_ =
-            com.google.privacy.dlp.v2.FieldId.newBuilder(context_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.FieldId.newBuilder(context_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           context_ = value;
         }
@@ -896,6 +985,8 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -916,6 +1007,8 @@ public Builder clearContext() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -925,11 +1018,13 @@ public Builder clearContext() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
-      
+
       onChanged();
       return getContextFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -942,11 +1037,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
       if (contextBuilder_ != null) {
         return contextBuilder_.getMessageOrBuilder();
       } else {
-        return context_ == null ?
-            com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
+        return context_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : context_;
       }
     }
     /**
+     *
+     *
      * 
      * Points to the field that contains the context, for example, an entity id.
      * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -956,22 +1052,30 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * .google.privacy.dlp.v2.FieldId context = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
         getContextFieldBuilder() {
       if (contextBuilder_ == null) {
-        contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                getContext(),
-                getParentForChildren(),
-                isClean());
+        contextBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldId,
+                com.google.privacy.dlp.v2.FieldId.Builder,
+                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                getContext(), getParentForChildren(), isClean());
         context_ = null;
       }
       return contextBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> cryptoKeyBuilder_;
+            com.google.privacy.dlp.v2.CryptoKey,
+            com.google.privacy.dlp.v2.CryptoKey.Builder,
+            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
+        cryptoKeyBuilder_;
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -979,6 +1083,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -986,6 +1091,8 @@ public boolean hasCryptoKey() { return methodCase_ == 4; } /** + * + * *
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -993,6 +1100,7 @@ public boolean hasCryptoKey() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return The cryptoKey. */ @java.lang.Override @@ -1010,6 +1118,8 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { } } /** + * + * *
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1032,6 +1142,8 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1040,8 +1152,7 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
      *
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
      */
-    public Builder setCryptoKey(
-        com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
+    public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderForValue) {
       if (cryptoKeyBuilder_ == null) {
         method_ = builderForValue.build();
         onChanged();
@@ -1052,6 +1163,8 @@ public Builder setCryptoKey(
       return this;
     }
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1062,10 +1175,13 @@ public Builder setCryptoKey(
      */
     public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       if (cryptoKeyBuilder_ == null) {
-        if (methodCase_ == 4 &&
-            method_ != com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()) {
-          method_ = com.google.privacy.dlp.v2.CryptoKey.newBuilder((com.google.privacy.dlp.v2.CryptoKey) method_)
-              .mergeFrom(value).buildPartial();
+        if (methodCase_ == 4
+            && method_ != com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance()) {
+          method_ =
+              com.google.privacy.dlp.v2.CryptoKey.newBuilder(
+                      (com.google.privacy.dlp.v2.CryptoKey) method_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           method_ = value;
         }
@@ -1080,6 +1196,8 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1105,6 +1223,8 @@ public Builder clearCryptoKey() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1117,6 +1237,8 @@ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() {
       return getCryptoKeyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1137,6 +1259,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Causes the shift to be computed based on this key and the context. This
      * results in the same shift for the same context and crypto_key. If
@@ -1146,26 +1270,30 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * .google.privacy.dlp.v2.CryptoKey crypto_key = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder> 
+            com.google.privacy.dlp.v2.CryptoKey,
+            com.google.privacy.dlp.v2.CryptoKey.Builder,
+            com.google.privacy.dlp.v2.CryptoKeyOrBuilder>
         getCryptoKeyFieldBuilder() {
       if (cryptoKeyBuilder_ == null) {
         if (!(methodCase_ == 4)) {
           method_ = com.google.privacy.dlp.v2.CryptoKey.getDefaultInstance();
         }
-        cryptoKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CryptoKey, com.google.privacy.dlp.v2.CryptoKey.Builder, com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
-                (com.google.privacy.dlp.v2.CryptoKey) method_,
-                getParentForChildren(),
-                isClean());
+        cryptoKeyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.CryptoKey,
+                com.google.privacy.dlp.v2.CryptoKey.Builder,
+                com.google.privacy.dlp.v2.CryptoKeyOrBuilder>(
+                (com.google.privacy.dlp.v2.CryptoKey) method_, getParentForChildren(), isClean());
         method_ = null;
       }
       methodCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return cryptoKeyBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1175,12 +1303,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DateShiftConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateShiftConfig)
   private static final com.google.privacy.dlp.v2.DateShiftConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DateShiftConfig();
   }
@@ -1189,16 +1317,16 @@ public static com.google.privacy.dlp.v2.DateShiftConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DateShiftConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new DateShiftConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DateShiftConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new DateShiftConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1213,6 +1341,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.DateShiftConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
index e4888a2e..f5b33a7c 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface DateShiftConfigOrBuilder extends
+public interface DateShiftConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DateShiftConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Range of shift in days. Actual shift will be selected at random within this
    * range (inclusive ends). Negative means shift to earlier in time. Must not
@@ -16,21 +34,27 @@ public interface DateShiftConfigOrBuilder extends
    * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The upperBoundDays. */ int getUpperBoundDays(); /** + * + * *
    * Required. For example, -5 means shift date to at most 5 days back in the past.
    * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lowerBoundDays. */ int getLowerBoundDays(); /** + * + * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -38,10 +62,13 @@ public interface DateShiftConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ boolean hasContext(); /** + * + * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -49,10 +76,13 @@ public interface DateShiftConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ com.google.privacy.dlp.v2.FieldId getContext(); /** + * + * *
    * Points to the field that contains the context, for example, an entity id.
    * If set, must also set cryptoKey. If set, shift will be consistent for the
@@ -64,6 +94,8 @@ public interface DateShiftConfigOrBuilder extends
   com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder();
 
   /**
+   *
+   *
    * 
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -71,10 +103,13 @@ public interface DateShiftConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return Whether the cryptoKey field is set. */ boolean hasCryptoKey(); /** + * + * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
@@ -82,10 +117,13 @@ public interface DateShiftConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return The cryptoKey. */ com.google.privacy.dlp.v2.CryptoKey getCryptoKey(); /** + * + * *
    * Causes the shift to be computed based on this key and the context. This
    * results in the same shift for the same context and crypto_key. If
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
similarity index 73%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
index 5508ee4a..0ba445ab 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTime.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Message for a date time object.
  * e.g. 2018-01-01, 5th August.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DateTime}
  */
-public final class DateTime extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DateTime extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DateTime)
     DateTimeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DateTime.newBuilder() to construct.
   private DateTime(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DateTime() {
     dayOfWeek_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DateTime();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DateTime(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,129 +71,142 @@ private DateTime(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.type.Date.Builder subBuilder = null;
-            if (date_ != null) {
-              subBuilder = date_.toBuilder();
-            }
-            date_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(date_);
-              date_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              com.google.type.Date.Builder subBuilder = null;
+              if (date_ != null) {
+                subBuilder = date_.toBuilder();
+              }
+              date_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(date_);
+                date_ = subBuilder.buildPartial();
+              }
 
-            dayOfWeek_ = rawValue;
-            break;
-          }
-          case 26: {
-            com.google.type.TimeOfDay.Builder subBuilder = null;
-            if (time_ != null) {
-              subBuilder = time_.toBuilder();
-            }
-            time_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(time_);
-              time_ = subBuilder.buildPartial();
+              break;
             }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.DateTime.TimeZone.Builder subBuilder = null;
-            if (timeZone_ != null) {
-              subBuilder = timeZone_.toBuilder();
+              dayOfWeek_ = rawValue;
+              break;
             }
-            timeZone_ = input.readMessage(com.google.privacy.dlp.v2.DateTime.TimeZone.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeZone_);
-              timeZone_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.type.TimeOfDay.Builder subBuilder = null;
+              if (time_ != null) {
+                subBuilder = time_.toBuilder();
+              }
+              time_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(time_);
+                time_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 34:
+            {
+              com.google.privacy.dlp.v2.DateTime.TimeZone.Builder subBuilder = null;
+              if (timeZone_ != null) {
+                subBuilder = timeZone_.toBuilder();
+              }
+              timeZone_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.DateTime.TimeZone.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeZone_);
+                timeZone_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DateTime_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DateTime.class, com.google.privacy.dlp.v2.DateTime.Builder.class);
+            com.google.privacy.dlp.v2.DateTime.class,
+            com.google.privacy.dlp.v2.DateTime.Builder.class);
   }
 
-  public interface TimeZoneOrBuilder extends
+  public interface TimeZoneOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DateTime.TimeZone)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Set only if the offset can be determined. Positive for time ahead of UTC.
      * E.g. For "UTC-9", this value is -540.
      * 
* * int32 offset_minutes = 1; + * * @return The offsetMinutes. */ int getOffsetMinutes(); } /** + * + * *
    * Time zone of the date time object.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DateTime.TimeZone} */ - public static final class TimeZone extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TimeZone extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DateTime.TimeZone) TimeZoneOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeZone.newBuilder() to construct. private TimeZone(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeZone() { - } + + private TimeZone() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeZone(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TimeZone( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -195,52 +225,57 @@ private TimeZone( case 0: done = true; break; - case 8: { - - offsetMinutes_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + offsetMinutes_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DateTime.TimeZone.class, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); + com.google.privacy.dlp.v2.DateTime.TimeZone.class, + com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); } public static final int OFFSET_MINUTES_FIELD_NUMBER = 1; private int offsetMinutes_; /** + * + * *
      * Set only if the offset can be determined. Positive for time ahead of UTC.
      * E.g. For "UTC-9", this value is -540.
      * 
* * int32 offset_minutes = 1; + * * @return The offsetMinutes. */ @java.lang.Override @@ -249,6 +284,7 @@ public int getOffsetMinutes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +296,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (offsetMinutes_ != 0) { output.writeInt32(1, offsetMinutes_); } @@ -275,8 +310,7 @@ public int getSerializedSize() { size = 0; if (offsetMinutes_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, offsetMinutes_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, offsetMinutes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,15 +320,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.privacy.dlp.v2.DateTime.TimeZone)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DateTime.TimeZone other = (com.google.privacy.dlp.v2.DateTime.TimeZone) obj; + com.google.privacy.dlp.v2.DateTime.TimeZone other = + (com.google.privacy.dlp.v2.DateTime.TimeZone) obj; - if (getOffsetMinutes() - != other.getOffsetMinutes()) return false; + if (getOffsetMinutes() != other.getOffsetMinutes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,88 +347,94 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime.TimeZone parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DateTime.TimeZone parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DateTime.TimeZone prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -404,27 +444,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Time zone of the date time object.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.DateTime.TimeZone} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DateTime.TimeZone) com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DateTime.TimeZone.class, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); + com.google.privacy.dlp.v2.DateTime.TimeZone.class, + com.google.privacy.dlp.v2.DateTime.TimeZone.Builder.class); } // Construct using com.google.privacy.dlp.v2.DateTime.TimeZone.newBuilder() @@ -432,16 +477,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; } @java.lang.Override @@ -472,7 +516,8 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone build() { @java.lang.Override public com.google.privacy.dlp.v2.DateTime.TimeZone buildPartial() { - com.google.privacy.dlp.v2.DateTime.TimeZone result = new com.google.privacy.dlp.v2.DateTime.TimeZone(this); + com.google.privacy.dlp.v2.DateTime.TimeZone result = + new com.google.privacy.dlp.v2.DateTime.TimeZone(this); result.offsetMinutes_ = offsetMinutes_; onBuilt(); return result; @@ -482,38 +527,41 @@ public com.google.privacy.dlp.v2.DateTime.TimeZone buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.DateTime.TimeZone) { - return mergeFrom((com.google.privacy.dlp.v2.DateTime.TimeZone)other); + return mergeFrom((com.google.privacy.dlp.v2.DateTime.TimeZone) other); } else { super.mergeFrom(other); return this; @@ -554,14 +602,17 @@ public Builder mergeFrom( return this; } - private int offsetMinutes_ ; + private int offsetMinutes_; /** + * + * *
        * Set only if the offset can be determined. Positive for time ahead of UTC.
        * E.g. For "UTC-9", this value is -540.
        * 
* * int32 offset_minutes = 1; + * * @return The offsetMinutes. */ @java.lang.Override @@ -569,36 +620,43 @@ public int getOffsetMinutes() { return offsetMinutes_; } /** + * + * *
        * Set only if the offset can be determined. Positive for time ahead of UTC.
        * E.g. For "UTC-9", this value is -540.
        * 
* * int32 offset_minutes = 1; + * * @param value The offsetMinutes to set. * @return This builder for chaining. */ public Builder setOffsetMinutes(int value) { - + offsetMinutes_ = value; onChanged(); return this; } /** + * + * *
        * Set only if the offset can be determined. Positive for time ahead of UTC.
        * E.g. For "UTC-9", this value is -540.
        * 
* * int32 offset_minutes = 1; + * * @return This builder for chaining. */ public Builder clearOffsetMinutes() { - + offsetMinutes_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -611,12 +669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DateTime.TimeZone) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateTime.TimeZone) private static final com.google.privacy.dlp.v2.DateTime.TimeZone DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DateTime.TimeZone(); } @@ -625,16 +683,16 @@ public static com.google.privacy.dlp.v2.DateTime.TimeZone getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeZone parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeZone(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeZone parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeZone(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,18 +707,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DateTime.TimeZone getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DATE_FIELD_NUMBER = 1; private com.google.type.Date date_; /** + * + * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; + * * @return Whether the date field is set. */ @java.lang.Override @@ -668,12 +728,15 @@ public boolean hasDate() { return date_ != null; } /** + * + * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; + * * @return The date. */ @java.lang.Override @@ -681,6 +744,8 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** + * + * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
@@ -696,25 +761,33 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
   public static final int DAY_OF_WEEK_FIELD_NUMBER = 2;
   private int dayOfWeek_;
   /**
+   *
+   *
    * 
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return The dayOfWeek. */ - @java.lang.Override public com.google.type.DayOfWeek getDayOfWeek() { + @java.lang.Override + public com.google.type.DayOfWeek getDayOfWeek() { @SuppressWarnings("deprecation") com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; @@ -723,11 +796,14 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { public static final int TIME_FIELD_NUMBER = 3; private com.google.type.TimeOfDay time_; /** + * + * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; + * * @return Whether the time field is set. */ @java.lang.Override @@ -735,11 +811,14 @@ public boolean hasTime() { return time_ != null; } /** + * + * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; + * * @return The time. */ @java.lang.Override @@ -747,6 +826,8 @@ public com.google.type.TimeOfDay getTime() { return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_; } /** + * + * *
    * Time of day
    * 
@@ -761,11 +842,14 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { public static final int TIME_ZONE_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.DateTime.TimeZone timeZone_; /** + * + * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; + * * @return Whether the timeZone field is set. */ @java.lang.Override @@ -773,18 +857,25 @@ public boolean hasTimeZone() { return timeZone_ != null; } /** + * + * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; + * * @return The timeZone. */ @java.lang.Override public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() { - return timeZone_ == null ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() : timeZone_; + return timeZone_ == null + ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() + : timeZone_; } /** + * + * *
    * Time zone
    * 
@@ -797,6 +888,7 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -808,8 +900,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (date_ != null) { output.writeMessage(1, getDate()); } @@ -832,20 +923,16 @@ public int getSerializedSize() { size = 0; if (date_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDate()); } if (dayOfWeek_ != com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dayOfWeek_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dayOfWeek_); } if (time_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTime()); } if (timeZone_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTimeZone()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeZone()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -855,7 +942,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.privacy.dlp.v2.DateTime)) { return super.equals(obj); @@ -864,19 +951,16 @@ public boolean equals(final java.lang.Object obj) { if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate() - .equals(other.getDate())) return false; + if (!getDate().equals(other.getDate())) return false; } if (dayOfWeek_ != other.dayOfWeek_) return false; if (hasTime() != other.hasTime()) return false; if (hasTime()) { - if (!getTime() - .equals(other.getTime())) return false; + if (!getTime().equals(other.getTime())) return false; } if (hasTimeZone() != other.hasTimeZone()) return false; if (hasTimeZone()) { - if (!getTimeZone() - .equals(other.getTimeZone())) return false; + if (!getTimeZone().equals(other.getTimeZone())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -908,97 +992,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DateTime parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DateTime parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DateTime parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DateTime parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.DateTime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DateTime parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DateTime parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DateTime parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime 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.privacy.dlp.v2.DateTime parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DateTime parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DateTime parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DateTime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for a date time object.
    * e.g. 2018-01-01, 5th August.
@@ -1006,21 +1096,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.DateTime}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DateTime)
       com.google.privacy.dlp.v2.DateTimeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DateTime_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DateTime.class, com.google.privacy.dlp.v2.DateTime.Builder.class);
+              com.google.privacy.dlp.v2.DateTime.class,
+              com.google.privacy.dlp.v2.DateTime.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DateTime.newBuilder()
@@ -1028,16 +1120,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1065,9 +1156,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DateTime_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DateTime_descriptor;
     }
 
     @java.lang.Override
@@ -1111,38 +1202,39 @@ public com.google.privacy.dlp.v2.DateTime buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DateTime) {
-        return mergeFrom((com.google.privacy.dlp.v2.DateTime)other);
+        return mergeFrom((com.google.privacy.dlp.v2.DateTime) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1194,26 +1286,33 @@ public Builder mergeFrom(
 
     private com.google.type.Date date_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_;
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        dateBuilder_;
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
      * 
* * .google.type.Date date = 1; + * * @return Whether the date field is set. */ public boolean hasDate() { return dateBuilder_ != null || date_ != null; } /** + * + * *
      * One or more of the following must be set.
      * Must be a valid date or time value.
      * 
* * .google.type.Date date = 1; + * * @return The date. */ public com.google.type.Date getDate() { @@ -1224,6 +1323,8 @@ public com.google.type.Date getDate() { } } /** + * + * *
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1245,6 +1346,8 @@ public Builder setDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1252,8 +1355,7 @@ public Builder setDate(com.google.type.Date value) {
      *
      * .google.type.Date date = 1;
      */
-    public Builder setDate(
-        com.google.type.Date.Builder builderForValue) {
+    public Builder setDate(com.google.type.Date.Builder builderForValue) {
       if (dateBuilder_ == null) {
         date_ = builderForValue.build();
         onChanged();
@@ -1264,6 +1366,8 @@ public Builder setDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1274,8 +1378,7 @@ public Builder setDate(
     public Builder mergeDate(com.google.type.Date value) {
       if (dateBuilder_ == null) {
         if (date_ != null) {
-          date_ =
-            com.google.type.Date.newBuilder(date_).mergeFrom(value).buildPartial();
+          date_ = com.google.type.Date.newBuilder(date_).mergeFrom(value).buildPartial();
         } else {
           date_ = value;
         }
@@ -1287,6 +1390,8 @@ public Builder mergeDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1306,6 +1411,8 @@ public Builder clearDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1314,11 +1421,13 @@ public Builder clearDate() {
      * .google.type.Date date = 1;
      */
     public com.google.type.Date.Builder getDateBuilder() {
-      
+
       onChanged();
       return getDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1330,11 +1439,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
       if (dateBuilder_ != null) {
         return dateBuilder_.getMessageOrBuilder();
       } else {
-        return date_ == null ?
-            com.google.type.Date.getDefaultInstance() : date_;
+        return date_ == null ? com.google.type.Date.getDefaultInstance() : date_;
       }
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1343,14 +1453,13 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
      * .google.type.Date date = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
         getDateFieldBuilder() {
       if (dateBuilder_ == null) {
-        dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getDate(),
-                getParentForChildren(),
-                isClean());
+        dateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getDate(), getParentForChildren(), isClean());
         date_ = null;
       }
       return dateBuilder_;
@@ -1358,37 +1467,47 @@ public com.google.type.DateOrBuilder getDateOrBuilder() {
 
     private int dayOfWeek_ = 0;
     /**
+     *
+     *
      * 
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return The enum numeric value on the wire for dayOfWeek. */ - @java.lang.Override public int getDayOfWeekValue() { + @java.lang.Override + public int getDayOfWeekValue() { return dayOfWeek_; } /** + * + * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @param value The enum numeric value on the wire for dayOfWeek to set. * @return This builder for chaining. */ public Builder setDayOfWeekValue(int value) { - + dayOfWeek_ = value; onChanged(); return this; } /** + * + * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return The dayOfWeek. */ @java.lang.Override @@ -1398,11 +1517,14 @@ public com.google.type.DayOfWeek getDayOfWeek() { return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } /** + * + * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @param value The dayOfWeek to set. * @return This builder for chaining. */ @@ -1410,21 +1532,24 @@ public Builder setDayOfWeek(com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } - + dayOfWeek_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Day of week
      * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return This builder for chaining. */ public Builder clearDayOfWeek() { - + dayOfWeek_ = 0; onChanged(); return this; @@ -1432,24 +1557,33 @@ public Builder clearDayOfWeek() { private com.google.type.TimeOfDay time_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + timeBuilder_; /** + * + * *
      * Time of day
      * 
* * .google.type.TimeOfDay time = 3; + * * @return Whether the time field is set. */ public boolean hasTime() { return timeBuilder_ != null || time_ != null; } /** + * + * *
      * Time of day
      * 
* * .google.type.TimeOfDay time = 3; + * * @return The time. */ public com.google.type.TimeOfDay getTime() { @@ -1460,6 +1594,8 @@ public com.google.type.TimeOfDay getTime() { } } /** + * + * *
      * Time of day
      * 
@@ -1480,14 +1616,15 @@ public Builder setTime(com.google.type.TimeOfDay value) { return this; } /** + * + * *
      * Time of day
      * 
* * .google.type.TimeOfDay time = 3; */ - public Builder setTime( - com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTime(com.google.type.TimeOfDay.Builder builderForValue) { if (timeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); @@ -1498,6 +1635,8 @@ public Builder setTime( return this; } /** + * + * *
      * Time of day
      * 
@@ -1507,8 +1646,7 @@ public Builder setTime( public Builder mergeTime(com.google.type.TimeOfDay value) { if (timeBuilder_ == null) { if (time_ != null) { - time_ = - com.google.type.TimeOfDay.newBuilder(time_).mergeFrom(value).buildPartial(); + time_ = com.google.type.TimeOfDay.newBuilder(time_).mergeFrom(value).buildPartial(); } else { time_ = value; } @@ -1520,6 +1658,8 @@ public Builder mergeTime(com.google.type.TimeOfDay value) { return this; } /** + * + * *
      * Time of day
      * 
@@ -1538,6 +1678,8 @@ public Builder clearTime() { return this; } /** + * + * *
      * Time of day
      * 
@@ -1545,11 +1687,13 @@ public Builder clearTime() { * .google.type.TimeOfDay time = 3; */ public com.google.type.TimeOfDay.Builder getTimeBuilder() { - + onChanged(); return getTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time of day
      * 
@@ -1560,11 +1704,12 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { if (timeBuilder_ != null) { return timeBuilder_.getMessageOrBuilder(); } else { - return time_ == null ? - com.google.type.TimeOfDay.getDefaultInstance() : time_; + return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_; } } /** + * + * *
      * Time of day
      * 
@@ -1572,14 +1717,16 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { * .google.type.TimeOfDay time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { - timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( - getTime(), - getParentForChildren(), - isClean()); + timeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder>(getTime(), getParentForChildren(), isClean()); time_ = null; } return timeBuilder_; @@ -1587,34 +1734,47 @@ public com.google.type.TimeOfDayOrBuilder getTimeOrBuilder() { private com.google.privacy.dlp.v2.DateTime.TimeZone timeZone_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime.TimeZone, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> timeZoneBuilder_; + com.google.privacy.dlp.v2.DateTime.TimeZone, + com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, + com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> + timeZoneBuilder_; /** + * + * *
      * Time zone
      * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; + * * @return Whether the timeZone field is set. */ public boolean hasTimeZone() { return timeZoneBuilder_ != null || timeZone_ != null; } /** + * + * *
      * Time zone
      * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; + * * @return The timeZone. */ public com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone() { if (timeZoneBuilder_ == null) { - return timeZone_ == null ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() : timeZone_; + return timeZone_ == null + ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() + : timeZone_; } else { return timeZoneBuilder_.getMessage(); } } /** + * + * *
      * Time zone
      * 
@@ -1635,6 +1795,8 @@ public Builder setTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) { return this; } /** + * + * *
      * Time zone
      * 
@@ -1653,6 +1815,8 @@ public Builder setTimeZone( return this; } /** + * + * *
      * Time zone
      * 
@@ -1663,7 +1827,9 @@ public Builder mergeTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) if (timeZoneBuilder_ == null) { if (timeZone_ != null) { timeZone_ = - com.google.privacy.dlp.v2.DateTime.TimeZone.newBuilder(timeZone_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DateTime.TimeZone.newBuilder(timeZone_) + .mergeFrom(value) + .buildPartial(); } else { timeZone_ = value; } @@ -1675,6 +1841,8 @@ public Builder mergeTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) return this; } /** + * + * *
      * Time zone
      * 
@@ -1693,6 +1861,8 @@ public Builder clearTimeZone() { return this; } /** + * + * *
      * Time zone
      * 
@@ -1700,11 +1870,13 @@ public Builder clearTimeZone() { * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; */ public com.google.privacy.dlp.v2.DateTime.TimeZone.Builder getTimeZoneBuilder() { - + onChanged(); return getTimeZoneFieldBuilder().getBuilder(); } /** + * + * *
      * Time zone
      * 
@@ -1715,11 +1887,14 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder if (timeZoneBuilder_ != null) { return timeZoneBuilder_.getMessageOrBuilder(); } else { - return timeZone_ == null ? - com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() : timeZone_; + return timeZone_ == null + ? com.google.privacy.dlp.v2.DateTime.TimeZone.getDefaultInstance() + : timeZone_; } } /** + * + * *
      * Time zone
      * 
@@ -1727,21 +1902,24 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime.TimeZone, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> + com.google.privacy.dlp.v2.DateTime.TimeZone, + com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, + com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder> getTimeZoneFieldBuilder() { if (timeZoneBuilder_ == null) { - timeZoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime.TimeZone, com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder>( - getTimeZone(), - getParentForChildren(), - isClean()); + timeZoneBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DateTime.TimeZone, + com.google.privacy.dlp.v2.DateTime.TimeZone.Builder, + com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder>( + getTimeZone(), getParentForChildren(), isClean()); timeZone_ = null; } return timeZoneBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1751,12 +1929,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DateTime) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateTime) private static final com.google.privacy.dlp.v2.DateTime DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DateTime(); } @@ -1765,16 +1943,16 @@ public static com.google.privacy.dlp.v2.DateTime getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DateTime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DateTime(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DateTime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DateTime(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1789,6 +1967,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DateTime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java index b13feff2..be843f2a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateTimeOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DateTimeOrBuilder extends +public interface DateTimeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DateTime) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; + * * @return Whether the date field is set. */ boolean hasDate(); /** + * + * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
    * 
* * .google.type.Date date = 1; + * * @return The date. */ com.google.type.Date getDate(); /** + * + * *
    * One or more of the following must be set.
    * Must be a valid date or time value.
@@ -38,43 +62,57 @@ public interface DateTimeOrBuilder extends
   com.google.type.DateOrBuilder getDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return The enum numeric value on the wire for dayOfWeek. */ int getDayOfWeekValue(); /** + * + * *
    * Day of week
    * 
* * .google.type.DayOfWeek day_of_week = 2; + * * @return The dayOfWeek. */ com.google.type.DayOfWeek getDayOfWeek(); /** + * + * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; + * * @return Whether the time field is set. */ boolean hasTime(); /** + * + * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; + * * @return The time. */ com.google.type.TimeOfDay getTime(); /** + * + * *
    * Time of day
    * 
@@ -84,24 +122,32 @@ public interface DateTimeOrBuilder extends com.google.type.TimeOfDayOrBuilder getTimeOrBuilder(); /** + * + * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; + * * @return Whether the timeZone field is set. */ boolean hasTimeZone(); /** + * + * *
    * Time zone
    * 
* * .google.privacy.dlp.v2.DateTime.TimeZone time_zone = 4; + * * @return The timeZone. */ com.google.privacy.dlp.v2.DateTime.TimeZone getTimeZone(); /** + * + * *
    * Time zone
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java index b4c2b487..663a5fc2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The configuration that controls how the data will change.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyConfig} */ -public final class DeidentifyConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeidentifyConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyConfig) DeidentifyConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeidentifyConfig.newBuilder() to construct. private DeidentifyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeidentifyConfig() { - } + + private DeidentifyConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeidentifyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeidentifyConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,88 +68,107 @@ private DeidentifyConfig( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; - if (transformationCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_).toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; + if (transformationCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 1; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 1; - break; - } - case 18: { - com.google.privacy.dlp.v2.RecordTransformations.Builder subBuilder = null; - if (transformationCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.RecordTransformations) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.RecordTransformations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 2; - break; - } - case 26: { - com.google.privacy.dlp.v2.TransformationErrorHandling.Builder subBuilder = null; - if (transformationErrorHandling_ != null) { - subBuilder = transformationErrorHandling_.toBuilder(); - } - transformationErrorHandling_ = input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transformationErrorHandling_); - transformationErrorHandling_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.RecordTransformations.Builder subBuilder = null; + if (transformationCase_ == 2) { + subBuilder = + ((com.google.privacy.dlp.v2.RecordTransformations) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.RecordTransformations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.RecordTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 2; + break; } + case 26: + { + com.google.privacy.dlp.v2.TransformationErrorHandling.Builder subBuilder = null; + if (transformationErrorHandling_ != null) { + subBuilder = transformationErrorHandling_.toBuilder(); + } + transformationErrorHandling_ = + input.readMessage( + com.google.privacy.dlp.v2.TransformationErrorHandling.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transformationErrorHandling_); + transformationErrorHandling_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyConfig.class, com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); + com.google.privacy.dlp.v2.DeidentifyConfig.class, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); } private int transformationCase_ = 0; private java.lang.Object transformation_; + public enum TransformationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE_TRANSFORMATIONS(1), RECORD_TRANSFORMATIONS(2), TRANSFORMATION_NOT_SET(0); private final int value; + private TransformationCase(int value) { this.value = value; } @@ -149,31 +184,37 @@ public static TransformationCase valueOf(int value) { public static TransformationCase forNumber(int value) { switch (value) { - case 1: return INFO_TYPE_TRANSFORMATIONS; - case 2: return RECORD_TRANSFORMATIONS; - case 0: return TRANSFORMATION_NOT_SET; - default: return null; + case 1: + return INFO_TYPE_TRANSFORMATIONS; + case 2: + return RECORD_TRANSFORMATIONS; + case 0: + return TRANSFORMATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TransformationCase - getTransformationCase() { - return TransformationCase.forNumber( - transformationCase_); + public TransformationCase getTransformationCase() { + return TransformationCase.forNumber(transformationCase_); } public static final int INFO_TYPE_TRANSFORMATIONS_FIELD_NUMBER = 1; /** + * + * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; + * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -181,22 +222,27 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 1; } /** + * + * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; + * * @return The infoTypeTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() { if (transformationCase_ == 1) { - return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; + return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; } return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance(); } /** + * + * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
@@ -205,15 +251,18 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
    * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
+  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
+      getInfoTypeTransformationsOrBuilder() {
     if (transformationCase_ == 1) {
-       return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
+      return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
     }
     return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
   }
 
   public static final int RECORD_TRANSFORMATIONS_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -221,6 +270,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return Whether the recordTransformations field is set. */ @java.lang.Override @@ -228,6 +278,8 @@ public boolean hasRecordTransformations() { return transformationCase_ == 2; } /** + * + * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -235,16 +287,19 @@ public boolean hasRecordTransformations() {
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return The recordTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations() { if (transformationCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordTransformations) transformation_; + return (com.google.privacy.dlp.v2.RecordTransformations) transformation_; } return com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance(); } /** + * + * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -254,9 +309,10 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(
    * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder() {
+  public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder
+      getRecordTransformationsOrBuilder() {
     if (transformationCase_ == 2) {
-       return (com.google.privacy.dlp.v2.RecordTransformations) transformation_;
+      return (com.google.privacy.dlp.v2.RecordTransformations) transformation_;
     }
     return com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance();
   }
@@ -264,12 +320,16 @@ public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransfo
   public static final int TRANSFORMATION_ERROR_HANDLING_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.TransformationErrorHandling transformationErrorHandling_;
   /**
+   *
+   *
    * 
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * + * * @return Whether the transformationErrorHandling field is set. */ @java.lang.Override @@ -277,32 +337,43 @@ public boolean hasTransformationErrorHandling() { return transformationErrorHandling_ != null; } /** + * + * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * + * * @return The transformationErrorHandling. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling() { - return transformationErrorHandling_ == null ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() : transformationErrorHandling_; + return transformationErrorHandling_ == null + ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() + : transformationErrorHandling_; } /** + * + * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder + getTransformationErrorHandlingOrBuilder() { return getTransformationErrorHandling(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +385,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transformationCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); } @@ -335,16 +405,19 @@ public int getSerializedSize() { size = 0; if (transformationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); } if (transformationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.RecordTransformations) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.RecordTransformations) transformation_); } if (transformationErrorHandling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTransformationErrorHandling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getTransformationErrorHandling()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,27 +427,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.privacy.dlp.v2.DeidentifyConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyConfig other = (com.google.privacy.dlp.v2.DeidentifyConfig) obj; + com.google.privacy.dlp.v2.DeidentifyConfig other = + (com.google.privacy.dlp.v2.DeidentifyConfig) obj; if (hasTransformationErrorHandling() != other.hasTransformationErrorHandling()) return false; if (hasTransformationErrorHandling()) { - if (!getTransformationErrorHandling() - .equals(other.getTransformationErrorHandling())) return false; + if (!getTransformationErrorHandling().equals(other.getTransformationErrorHandling())) + return false; } if (!getTransformationCase().equals(other.getTransformationCase())) return false; switch (transformationCase_) { case 1: - if (!getInfoTypeTransformations() - .equals(other.getInfoTypeTransformations())) return false; + if (!getInfoTypeTransformations().equals(other.getInfoTypeTransformations())) return false; break; case 2: - if (!getRecordTransformations() - .equals(other.getRecordTransformations())) return false; + if (!getRecordTransformations().equals(other.getRecordTransformations())) return false; break; case 0: default: @@ -411,118 +483,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeidentifyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration that controls how the data will change.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyConfig) com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyConfig.class, com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); + com.google.privacy.dlp.v2.DeidentifyConfig.class, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder() @@ -530,16 +611,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -555,9 +635,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; } @java.lang.Override @@ -576,7 +656,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig buildPartial() { - com.google.privacy.dlp.v2.DeidentifyConfig result = new com.google.privacy.dlp.v2.DeidentifyConfig(this); + com.google.privacy.dlp.v2.DeidentifyConfig result = + new com.google.privacy.dlp.v2.DeidentifyConfig(this); if (transformationCase_ == 1) { if (infoTypeTransformationsBuilder_ == null) { result.transformation_ = transformation_; @@ -605,38 +686,39 @@ public com.google.privacy.dlp.v2.DeidentifyConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeidentifyConfig) { - return mergeFrom((com.google.privacy.dlp.v2.DeidentifyConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.DeidentifyConfig) other); } else { super.mergeFrom(other); return this; @@ -649,17 +731,20 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyConfig other) { mergeTransformationErrorHandling(other.getTransformationErrorHandling()); } switch (other.getTransformationCase()) { - case INFO_TYPE_TRANSFORMATIONS: { - mergeInfoTypeTransformations(other.getInfoTypeTransformations()); - break; - } - case RECORD_TRANSFORMATIONS: { - mergeRecordTransformations(other.getRecordTransformations()); - break; - } - case TRANSFORMATION_NOT_SET: { - break; - } + case INFO_TYPE_TRANSFORMATIONS: + { + mergeInfoTypeTransformations(other.getInfoTypeTransformations()); + break; + } + case RECORD_TRANSFORMATIONS: + { + mergeRecordTransformations(other.getRecordTransformations()); + break; + } + case TRANSFORMATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -689,12 +774,12 @@ public Builder mergeFrom( } return this; } + private int transformationCase_ = 0; private java.lang.Object transformation_; - public TransformationCase - getTransformationCase() { - return TransformationCase.forNumber( - transformationCase_); + + public TransformationCase getTransformationCase() { + return TransformationCase.forNumber(transformationCase_); } public Builder clearTransformation() { @@ -704,16 +789,21 @@ public Builder clearTransformation() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> infoTypeTransformationsBuilder_; + com.google.privacy.dlp.v2.InfoTypeTransformations, + com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, + com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> + infoTypeTransformationsBuilder_; /** + * + * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; + * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -721,12 +811,15 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 1; } /** + * + * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; + * * @return The infoTypeTransformations. */ @java.lang.Override @@ -744,6 +837,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati } } /** + * + * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -751,7 +846,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
-    public Builder setInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder setInfoTypeTransformations(
+        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -765,6 +861,8 @@ public Builder setInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTran
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -784,6 +882,8 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -791,12 +891,17 @@ public Builder setInfoTypeTransformations(
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
-    public Builder mergeInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder mergeInfoTypeTransformations(
+        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
-        if (transformationCase_ == 1 &&
-            transformation_ != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
-          transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
-              .mergeFrom(value).buildPartial();
+        if (transformationCase_ == 1
+            && transformation_
+                != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
+          transformation_ =
+              com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder(
+                      (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transformation_ = value;
         }
@@ -811,6 +916,8 @@ public Builder mergeInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTr
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -835,6 +942,8 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -842,10 +951,13 @@ public Builder clearInfoTypeTransformations() {
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
-    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder getInfoTypeTransformationsBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder
+        getInfoTypeTransformationsBuilder() {
       return getInfoTypeTransformationsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -854,7 +966,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder getInfoTypeTran
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
+        getInfoTypeTransformationsOrBuilder() {
       if ((transformationCase_ == 1) && (infoTypeTransformationsBuilder_ != null)) {
         return infoTypeTransformationsBuilder_.getMessageOrBuilder();
       } else {
@@ -865,6 +978,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
       }
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -873,27 +988,38 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> 
+            com.google.privacy.dlp.v2.InfoTypeTransformations,
+            com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
+            com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>
         getInfoTypeTransformationsFieldBuilder() {
       if (infoTypeTransformationsBuilder_ == null) {
         if (!(transformationCase_ == 1)) {
           transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
         }
-        infoTypeTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
+        infoTypeTransformationsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoTypeTransformations,
+                com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
+                com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
                 (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_,
                 getParentForChildren(),
                 isClean());
         transformation_ = null;
       }
       transformationCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return infoTypeTransformationsBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordTransformations, com.google.privacy.dlp.v2.RecordTransformations.Builder, com.google.privacy.dlp.v2.RecordTransformationsOrBuilder> recordTransformationsBuilder_;
+            com.google.privacy.dlp.v2.RecordTransformations,
+            com.google.privacy.dlp.v2.RecordTransformations.Builder,
+            com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>
+        recordTransformationsBuilder_;
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -901,6 +1027,7 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return Whether the recordTransformations field is set. */ @java.lang.Override @@ -908,6 +1035,8 @@ public boolean hasRecordTransformations() { return transformationCase_ == 2; } /** + * + * *
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -915,6 +1044,7 @@ public boolean hasRecordTransformations() {
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return The recordTransformations. */ @java.lang.Override @@ -932,6 +1062,8 @@ public com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations( } } /** + * + * *
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -954,6 +1086,8 @@ public Builder setRecordTransformations(com.google.privacy.dlp.v2.RecordTransfor
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -974,6 +1108,8 @@ public Builder setRecordTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -982,12 +1118,17 @@ public Builder setRecordTransformations(
      *
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
-    public Builder mergeRecordTransformations(com.google.privacy.dlp.v2.RecordTransformations value) {
+    public Builder mergeRecordTransformations(
+        com.google.privacy.dlp.v2.RecordTransformations value) {
       if (recordTransformationsBuilder_ == null) {
-        if (transformationCase_ == 2 &&
-            transformation_ != com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance()) {
-          transformation_ = com.google.privacy.dlp.v2.RecordTransformations.newBuilder((com.google.privacy.dlp.v2.RecordTransformations) transformation_)
-              .mergeFrom(value).buildPartial();
+        if (transformationCase_ == 2
+            && transformation_
+                != com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance()) {
+          transformation_ =
+              com.google.privacy.dlp.v2.RecordTransformations.newBuilder(
+                      (com.google.privacy.dlp.v2.RecordTransformations) transformation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transformation_ = value;
         }
@@ -1002,6 +1143,8 @@ public Builder mergeRecordTransformations(com.google.privacy.dlp.v2.RecordTransf
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1027,6 +1170,8 @@ public Builder clearRecordTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1035,10 +1180,13 @@ public Builder clearRecordTransformations() {
      *
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
-    public com.google.privacy.dlp.v2.RecordTransformations.Builder getRecordTransformationsBuilder() {
+    public com.google.privacy.dlp.v2.RecordTransformations.Builder
+        getRecordTransformationsBuilder() {
       return getRecordTransformationsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1048,7 +1196,8 @@ public com.google.privacy.dlp.v2.RecordTransformations.Builder getRecordTransfor
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder() {
+    public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder
+        getRecordTransformationsOrBuilder() {
       if ((transformationCase_ == 2) && (recordTransformationsBuilder_ != null)) {
         return recordTransformationsBuilder_.getMessageOrBuilder();
       } else {
@@ -1059,6 +1208,8 @@ public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransfo
       }
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1068,64 +1219,87 @@ public com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransfo
      * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordTransformations, com.google.privacy.dlp.v2.RecordTransformations.Builder, com.google.privacy.dlp.v2.RecordTransformationsOrBuilder> 
+            com.google.privacy.dlp.v2.RecordTransformations,
+            com.google.privacy.dlp.v2.RecordTransformations.Builder,
+            com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>
         getRecordTransformationsFieldBuilder() {
       if (recordTransformationsBuilder_ == null) {
         if (!(transformationCase_ == 2)) {
           transformation_ = com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance();
         }
-        recordTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordTransformations, com.google.privacy.dlp.v2.RecordTransformations.Builder, com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>(
+        recordTransformationsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.RecordTransformations,
+                com.google.privacy.dlp.v2.RecordTransformations.Builder,
+                com.google.privacy.dlp.v2.RecordTransformationsOrBuilder>(
                 (com.google.privacy.dlp.v2.RecordTransformations) transformation_,
                 getParentForChildren(),
                 isClean());
         transformation_ = null;
       }
       transformationCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return recordTransformationsBuilder_;
     }
 
     private com.google.privacy.dlp.v2.TransformationErrorHandling transformationErrorHandling_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TransformationErrorHandling, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder> transformationErrorHandlingBuilder_;
+            com.google.privacy.dlp.v2.TransformationErrorHandling,
+            com.google.privacy.dlp.v2.TransformationErrorHandling.Builder,
+            com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder>
+        transformationErrorHandlingBuilder_;
     /**
+     *
+     *
      * 
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * + * * @return Whether the transformationErrorHandling field is set. */ public boolean hasTransformationErrorHandling() { return transformationErrorHandlingBuilder_ != null || transformationErrorHandling_ != null; } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * + * * @return The transformationErrorHandling. */ public com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling() { if (transformationErrorHandlingBuilder_ == null) { - return transformationErrorHandling_ == null ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() : transformationErrorHandling_; + return transformationErrorHandling_ == null + ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() + : transformationErrorHandling_; } else { return transformationErrorHandlingBuilder_.getMessage(); } } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ - public Builder setTransformationErrorHandling(com.google.privacy.dlp.v2.TransformationErrorHandling value) { + public Builder setTransformationErrorHandling( + com.google.privacy.dlp.v2.TransformationErrorHandling value) { if (transformationErrorHandlingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1139,12 +1313,15 @@ public Builder setTransformationErrorHandling(com.google.privacy.dlp.v2.Transfor return this; } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ public Builder setTransformationErrorHandling( com.google.privacy.dlp.v2.TransformationErrorHandling.Builder builderForValue) { @@ -1158,18 +1335,25 @@ public Builder setTransformationErrorHandling( return this; } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ - public Builder mergeTransformationErrorHandling(com.google.privacy.dlp.v2.TransformationErrorHandling value) { + public Builder mergeTransformationErrorHandling( + com.google.privacy.dlp.v2.TransformationErrorHandling value) { if (transformationErrorHandlingBuilder_ == null) { if (transformationErrorHandling_ != null) { transformationErrorHandling_ = - com.google.privacy.dlp.v2.TransformationErrorHandling.newBuilder(transformationErrorHandling_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.TransformationErrorHandling.newBuilder( + transformationErrorHandling_) + .mergeFrom(value) + .buildPartial(); } else { transformationErrorHandling_ = value; } @@ -1181,12 +1365,15 @@ public Builder mergeTransformationErrorHandling(com.google.privacy.dlp.v2.Transf return this; } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ public Builder clearTransformationErrorHandling() { if (transformationErrorHandlingBuilder_ == null) { @@ -1200,58 +1387,73 @@ public Builder clearTransformationErrorHandling() { return this; } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ - public com.google.privacy.dlp.v2.TransformationErrorHandling.Builder getTransformationErrorHandlingBuilder() { - + public com.google.privacy.dlp.v2.TransformationErrorHandling.Builder + getTransformationErrorHandlingBuilder() { + onChanged(); return getTransformationErrorHandlingFieldBuilder().getBuilder(); } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ - public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder + getTransformationErrorHandlingOrBuilder() { if (transformationErrorHandlingBuilder_ != null) { return transformationErrorHandlingBuilder_.getMessageOrBuilder(); } else { - return transformationErrorHandling_ == null ? - com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() : transformationErrorHandling_; + return transformationErrorHandling_ == null + ? com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance() + : transformationErrorHandling_; } } /** + * + * *
      * Mode for handling transformation errors. If left unspecified, the default
      * mode is `TransformationErrorHandling.ThrowError`.
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder> + com.google.privacy.dlp.v2.TransformationErrorHandling, + com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder> getTransformationErrorHandlingFieldBuilder() { if (transformationErrorHandlingBuilder_ == null) { - transformationErrorHandlingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder>( - getTransformationErrorHandling(), - getParentForChildren(), - isClean()); + transformationErrorHandlingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationErrorHandling, + com.google.privacy.dlp.v2.TransformationErrorHandling.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder>( + getTransformationErrorHandling(), getParentForChildren(), isClean()); transformationErrorHandling_ = null; } return transformationErrorHandlingBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1261,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyConfig) private static final com.google.privacy.dlp.v2.DeidentifyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyConfig(); } @@ -1275,16 +1477,16 @@ public static com.google.privacy.dlp.v2.DeidentifyConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1299,6 +1501,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeidentifyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java index c6db5ca3..c9640fb9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyConfigOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyConfigOrBuilder extends +public interface DeidentifyConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; + * * @return Whether the infoTypeTransformations field is set. */ boolean hasInfoTypeTransformations(); /** + * + * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1; + * * @return The infoTypeTransformations. */ com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations(); /** + * + * *
    * Treat the dataset as free-form text and apply the same free text
    * transformation everywhere.
@@ -38,6 +62,8 @@ public interface DeidentifyConfigOrBuilder extends
   com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -45,10 +71,13 @@ public interface DeidentifyConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return Whether the recordTransformations field is set. */ boolean hasRecordTransformations(); /** + * + * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -56,10 +85,13 @@ public interface DeidentifyConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return The recordTransformations. */ com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(); /** + * + * *
    * Treat the dataset as structured. Transformations can be applied to
    * specific locations within structured datasets, such as transforming
@@ -71,34 +103,46 @@ public interface DeidentifyConfigOrBuilder extends
   com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * + * * @return Whether the transformationErrorHandling field is set. */ boolean hasTransformationErrorHandling(); /** + * + * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * + * * @return The transformationErrorHandling. */ com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling(); /** + * + * *
    * Mode for handling transformation errors. If left unspecified, the default
    * mode is `TransformationErrorHandling.ThrowError`.
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * .google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; + * */ - com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder(); + com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder + getTransformationErrorHandlingOrBuilder(); public com.google.privacy.dlp.v2.DeidentifyConfig.TransformationCase getTransformationCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java index 6b9463d5..e080a2ef 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request to de-identify a list of items.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentRequest} */ -public final class DeidentifyContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeidentifyContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyContentRequest) DeidentifyContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeidentifyContentRequest.newBuilder() to construct. private DeidentifyContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeidentifyContentRequest() { parent_ = ""; inspectTemplateName_ = ""; @@ -28,16 +46,15 @@ private DeidentifyContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeidentifyContentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeidentifyContentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,104 +73,121 @@ private DeidentifyContentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; - if (deidentifyConfig_ != null) { - subBuilder = deidentifyConfig_.toBuilder(); + parent_ = s; + break; } - deidentifyConfig_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deidentifyConfig_); - deidentifyConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; + if (deidentifyConfig_ != null) { + subBuilder = deidentifyConfig_.toBuilder(); + } + deidentifyConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deidentifyConfig_); + deidentifyConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); + } + inspectConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); + } + + break; } - inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = + input.readMessage( + com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); + inspectTemplateName_ = s; + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - inspectTemplateName_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - deidentifyTemplateName_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + deidentifyTemplateName_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentRequest.class, com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentRequest.class, + com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -170,6 +204,7 @@ private DeidentifyContentRequest(
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -178,14 +213,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; } } /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -202,16 +238,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.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 { @@ -222,6 +257,8 @@ public java.lang.String getParent() { public static final int DEIDENTIFY_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; /** + * + * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -229,6 +266,7 @@ public java.lang.String getParent() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return Whether the deidentifyConfig field is set. */ @java.lang.Override @@ -236,6 +274,8 @@ public boolean hasDeidentifyConfig() { return deidentifyConfig_ != null; } /** + * + * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -243,13 +283,18 @@ public boolean hasDeidentifyConfig() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return The deidentifyConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { - return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; + return deidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : deidentifyConfig_; } /** + * + * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -266,6 +311,8 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
   public static final int INSPECT_CONFIG_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -273,6 +320,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -280,6 +328,8 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -287,13 +337,18 @@ public boolean hasInspectConfig() {
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } /** + * + * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -310,11 +365,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
   public static final int ITEM_FIELD_NUMBER = 4;
   private com.google.privacy.dlp.v2.ContentItem item_;
   /**
+   *
+   *
    * 
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return Whether the item field is set. */ @java.lang.Override @@ -322,11 +380,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return The item. */ @java.lang.Override @@ -334,6 +395,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The item to de-identify. Will be treated as text.
    * 
@@ -348,6 +411,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object inspectTemplateName_; /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -357,6 +422,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -365,14 +431,15 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -382,16 +449,15 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 5; + * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -402,6 +468,8 @@ public java.lang.String getInspectTemplateName() { public static final int DEIDENTIFY_TEMPLATE_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object deidentifyTemplateName_; /** + * + * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -411,6 +479,7 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string deidentify_template_name = 6; + * * @return The deidentifyTemplateName. */ @java.lang.Override @@ -419,14 +488,15 @@ public java.lang.String getDeidentifyTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deidentifyTemplateName_ = s; return s; } } /** + * + * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -436,16 +506,15 @@ public java.lang.String getDeidentifyTemplateName() {
    * 
* * string deidentify_template_name = 6; + * * @return The bytes for deidentifyTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { java.lang.Object ref = deidentifyTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deidentifyTemplateName_ = b; return b; } else { @@ -456,11 +525,14 @@ public java.lang.String getDeidentifyTemplateName() { public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ @java.lang.Override @@ -469,29 +541,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -500,6 +572,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -511,8 +584,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -547,16 +619,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (deidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeidentifyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyConfig()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInspectConfig()); } if (item_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inspectTemplateName_); @@ -575,36 +644,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeidentifyContentRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyContentRequest other = (com.google.privacy.dlp.v2.DeidentifyContentRequest) obj; + com.google.privacy.dlp.v2.DeidentifyContentRequest other = + (com.google.privacy.dlp.v2.DeidentifyContentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasDeidentifyConfig() != other.hasDeidentifyConfig()) return false; if (hasDeidentifyConfig()) { - if (!getDeidentifyConfig() - .equals(other.getDeidentifyConfig())) return false; + if (!getDeidentifyConfig().equals(other.getDeidentifyConfig())) return false; } if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem() - .equals(other.getItem())) return false; - } - if (!getInspectTemplateName() - .equals(other.getInspectTemplateName())) return false; - if (!getDeidentifyTemplateName() - .equals(other.getDeidentifyTemplateName())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getItem().equals(other.getItem())) return false; + } + if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; + if (!getDeidentifyTemplateName().equals(other.getDeidentifyTemplateName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -642,117 +705,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 de-identify a list of items.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyContentRequest) com.google.privacy.dlp.v2.DeidentifyContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentRequest.class, com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentRequest.class, + com.google.privacy.dlp.v2.DeidentifyContentRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeidentifyContentRequest.newBuilder() @@ -760,16 +832,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -803,9 +874,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; } @java.lang.Override @@ -824,7 +895,8 @@ public com.google.privacy.dlp.v2.DeidentifyContentRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyContentRequest buildPartial() { - com.google.privacy.dlp.v2.DeidentifyContentRequest result = new com.google.privacy.dlp.v2.DeidentifyContentRequest(this); + com.google.privacy.dlp.v2.DeidentifyContentRequest result = + new com.google.privacy.dlp.v2.DeidentifyContentRequest(this); result.parent_ = parent_; if (deidentifyConfigBuilder_ == null) { result.deidentifyConfig_ = deidentifyConfig_; @@ -852,38 +924,39 @@ public com.google.privacy.dlp.v2.DeidentifyContentRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeidentifyContentRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentRequest) other); } else { super.mergeFrom(other); return this; @@ -891,7 +964,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyContentRequest other) { - if (other == com.google.privacy.dlp.v2.DeidentifyContentRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DeidentifyContentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -936,7 +1010,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DeidentifyContentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeidentifyContentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -948,6 +1023,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -964,13 +1041,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.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; @@ -979,6 +1056,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -995,15 +1074,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.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 { @@ -1011,6 +1089,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1027,20 +1107,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1057,15 +1139,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1082,16 +1167,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1099,8 +1184,13 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> deidentifyConfigBuilder_; + com.google.privacy.dlp.v2.DeidentifyConfig, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder, + com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> + deidentifyConfigBuilder_; /** + * + * *
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1108,12 +1198,15 @@ public Builder setParentBytes(
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return Whether the deidentifyConfig field is set. */ public boolean hasDeidentifyConfig() { return deidentifyConfigBuilder_ != null || deidentifyConfig_ != null; } /** + * + * *
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1121,16 +1214,21 @@ public boolean hasDeidentifyConfig() {
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return The deidentifyConfig. */ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { if (deidentifyConfigBuilder_ == null) { - return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; + return deidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : deidentifyConfig_; } else { return deidentifyConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1153,6 +1251,8 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1173,6 +1273,8 @@ public Builder setDeidentifyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1185,7 +1287,9 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       if (deidentifyConfigBuilder_ == null) {
         if (deidentifyConfig_ != null) {
           deidentifyConfig_ =
-            com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deidentifyConfig_ = value;
         }
@@ -1197,6 +1301,8 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1217,6 +1323,8 @@ public Builder clearDeidentifyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1226,11 +1334,13 @@ public Builder clearDeidentifyConfig() {
      * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
      */
     public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getDeidentifyConfigBuilder() {
-      
+
       onChanged();
       return getDeidentifyConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1243,11 +1353,14 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
       if (deidentifyConfigBuilder_ != null) {
         return deidentifyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return deidentifyConfig_ == null ?
-            com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_;
+        return deidentifyConfig_ == null
+            ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
+            : deidentifyConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the de-identification of the content item.
      * Items specified here will override the template referenced by the
@@ -1257,14 +1370,17 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
      * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> 
+            com.google.privacy.dlp.v2.DeidentifyConfig,
+            com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
+            com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>
         getDeidentifyConfigFieldBuilder() {
       if (deidentifyConfigBuilder_ == null) {
-        deidentifyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
-                getDeidentifyConfig(),
-                getParentForChildren(),
-                isClean());
+        deidentifyConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.DeidentifyConfig,
+                com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
+                com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
+                getDeidentifyConfig(), getParentForChildren(), isClean());
         deidentifyConfig_ = null;
       }
       return deidentifyConfigBuilder_;
@@ -1272,8 +1388,13 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
 
     private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_;
+            com.google.privacy.dlp.v2.InspectConfig,
+            com.google.privacy.dlp.v2.InspectConfig.Builder,
+            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
+        inspectConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1281,12 +1402,15 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1294,16 +1418,21 @@ public boolean hasInspectConfig() {
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1326,6 +1455,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1346,6 +1477,8 @@ public Builder setInspectConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1358,7 +1491,9 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       if (inspectConfigBuilder_ == null) {
         if (inspectConfig_ != null) {
           inspectConfig_ =
-            com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           inspectConfig_ = value;
         }
@@ -1370,6 +1505,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1390,6 +1527,8 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1399,11 +1538,13 @@ public Builder clearInspectConfig() {
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
      */
     public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() {
-      
+
       onChanged();
       return getInspectConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1416,11 +1557,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
       if (inspectConfigBuilder_ != null) {
         return inspectConfigBuilder_.getMessageOrBuilder();
       } else {
-        return inspectConfig_ == null ?
-            com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_;
+        return inspectConfig_ == null
+            ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
+            : inspectConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1430,14 +1574,17 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> 
+            com.google.privacy.dlp.v2.InspectConfig,
+            com.google.privacy.dlp.v2.InspectConfig.Builder,
+            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
         getInspectConfigFieldBuilder() {
       if (inspectConfigBuilder_ == null) {
-        inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
-                getInspectConfig(),
-                getParentForChildren(),
-                isClean());
+        inspectConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InspectConfig,
+                com.google.privacy.dlp.v2.InspectConfig.Builder,
+                com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
+                getInspectConfig(), getParentForChildren(), isClean());
         inspectConfig_ = null;
       }
       return inspectConfigBuilder_;
@@ -1445,24 +1592,33 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
 
     private com.google.privacy.dlp.v2.ContentItem item_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_;
+            com.google.privacy.dlp.v2.ContentItem,
+            com.google.privacy.dlp.v2.ContentItem.Builder,
+            com.google.privacy.dlp.v2.ContentItemOrBuilder>
+        itemBuilder_;
     /**
+     *
+     *
      * 
      * The item to de-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -1473,6 +1629,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1493,14 +1651,15 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; */ - public Builder setItem( - com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -1511,6 +1670,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1521,7 +1682,9 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -1533,6 +1696,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1551,6 +1716,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1558,11 +1725,13 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 4; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1573,11 +1742,12 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? - com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1585,14 +1755,17 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), - getParentForChildren(), - isClean()); + itemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), getParentForChildren(), isClean()); item_ = null; } return itemBuilder_; @@ -1600,6 +1773,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private java.lang.Object inspectTemplateName_ = ""; /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1609,13 +1784,13 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
      * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1624,6 +1799,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1633,15 +1810,14 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 5; + * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1649,6 +1825,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1658,20 +1836,22 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 5; + * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName( - java.lang.String value) { + public Builder setInspectTemplateName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1681,15 +1861,18 @@ public Builder setInspectTemplateName(
      * 
* * string inspect_template_name = 5; + * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1699,16 +1882,16 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 5; + * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes( - com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; @@ -1716,6 +1899,8 @@ public Builder setInspectTemplateNameBytes( private java.lang.Object deidentifyTemplateName_ = ""; /** + * + * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1725,13 +1910,13 @@ public Builder setInspectTemplateNameBytes(
      * 
* * string deidentify_template_name = 6; + * * @return The deidentifyTemplateName. */ public java.lang.String getDeidentifyTemplateName() { java.lang.Object ref = deidentifyTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deidentifyTemplateName_ = s; return s; @@ -1740,6 +1925,8 @@ public java.lang.String getDeidentifyTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1749,15 +1936,14 @@ public java.lang.String getDeidentifyTemplateName() {
      * 
* * string deidentify_template_name = 6; + * * @return The bytes for deidentifyTemplateName. */ - public com.google.protobuf.ByteString - getDeidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { java.lang.Object ref = deidentifyTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deidentifyTemplateName_ = b; return b; } else { @@ -1765,6 +1951,8 @@ public java.lang.String getDeidentifyTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1774,20 +1962,22 @@ public java.lang.String getDeidentifyTemplateName() {
      * 
* * string deidentify_template_name = 6; + * * @param value The deidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setDeidentifyTemplateName( - java.lang.String value) { + public Builder setDeidentifyTemplateName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deidentifyTemplateName_ = value; onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1797,15 +1987,18 @@ public Builder setDeidentifyTemplateName(
      * 
* * string deidentify_template_name = 6; + * * @return This builder for chaining. */ public Builder clearDeidentifyTemplateName() { - + deidentifyTemplateName_ = getDefaultInstance().getDeidentifyTemplateName(); onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * deidentify_config will override those set in the template. Singular fields
@@ -1815,16 +2008,16 @@ public Builder clearDeidentifyTemplateName() {
      * 
* * string deidentify_template_name = 6; + * * @param value The bytes for deidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setDeidentifyTemplateNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deidentifyTemplateName_ = value; onChanged(); return this; @@ -1832,18 +2025,20 @@ public Builder setDeidentifyTemplateNameBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1852,20 +2047,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1873,61 +2069,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1937,12 +2140,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyContentRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyContentRequest) private static final com.google.privacy.dlp.v2.DeidentifyContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyContentRequest(); } @@ -1951,16 +2154,16 @@ public static com.google.privacy.dlp.v2.DeidentifyContentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyContentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyContentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1975,6 +2178,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeidentifyContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java similarity index 86% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java index b176154d..4fe19766 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyContentRequestOrBuilder extends +public interface DeidentifyContentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyContentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -24,10 +42,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -44,12 +65,14 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -57,10 +80,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return Whether the deidentifyConfig field is set. */ boolean hasDeidentifyConfig(); /** + * + * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -68,10 +94,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return The deidentifyConfig. */ com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig(); /** + * + * *
    * Configuration for the de-identification of the content item.
    * Items specified here will override the template referenced by the
@@ -83,6 +112,8 @@ public interface DeidentifyContentRequestOrBuilder extends
   com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -90,10 +121,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -101,10 +135,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -116,24 +153,32 @@ public interface DeidentifyContentRequestOrBuilder extends
   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return Whether the item field is set. */ boolean hasItem(); /** + * + * *
    * The item to de-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** + * + * *
    * The item to de-identify. Will be treated as text.
    * 
@@ -143,6 +188,8 @@ public interface DeidentifyContentRequestOrBuilder extends com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -152,10 +199,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -165,12 +215,14 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * string inspect_template_name = 5; + * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString - getInspectTemplateNameBytes(); + com.google.protobuf.ByteString getInspectTemplateNameBytes(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -180,10 +232,13 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * string deidentify_template_name = 6; + * * @return The deidentifyTemplateName. */ java.lang.String getDeidentifyTemplateName(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * deidentify_config will override those set in the template. Singular fields
@@ -193,28 +248,33 @@ public interface DeidentifyContentRequestOrBuilder extends
    * 
* * string deidentify_template_name = 6; + * * @return The bytes for deidentifyTemplateName. */ - com.google.protobuf.ByteString - getDeidentifyTemplateNameBytes(); + com.google.protobuf.ByteString getDeidentifyTemplateNameBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java index 56c41a9f..a56fbc59 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Results of de-identifying a ContentItem.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentResponse} */ -public final class DeidentifyContentResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeidentifyContentResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyContentResponse) DeidentifyContentResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeidentifyContentResponse.newBuilder() to construct. private DeidentifyContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeidentifyContentResponse() { - } + + private DeidentifyContentResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeidentifyContentResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeidentifyContentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,83 @@ private DeidentifyContentResponse( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; - if (overview_ != null) { - subBuilder = overview_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = + input.readMessage( + com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; } - overview_ = input.readMessage(com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(overview_); - overview_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; + if (overview_ != null) { + subBuilder = overview_.toBuilder(); + } + overview_ = + input.readMessage( + com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(overview_); + overview_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentResponse.class, com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentResponse.class, + com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); } public static final int ITEM_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.ContentItem item_; /** + * + * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ @java.lang.Override @@ -125,11 +152,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ @java.lang.Override @@ -137,6 +167,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The de-identified item.
    * 
@@ -151,11 +183,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int OVERVIEW_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.TransformationOverview overview_; /** + * + * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return Whether the overview field is set. */ @java.lang.Override @@ -163,18 +198,25 @@ public boolean hasOverview() { return overview_ != null; } /** + * + * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return The overview. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationOverview getOverview() { - return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; + return overview_ == null + ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() + : overview_; } /** + * + * *
    * An overview of the changes that were made on the `item`.
    * 
@@ -187,6 +229,7 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +241,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (item_ != null) { output.writeMessage(1, getItem()); } @@ -216,12 +258,10 @@ public int getSerializedSize() { size = 0; if (item_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getItem()); } if (overview_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOverview()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOverview()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,22 +271,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.privacy.dlp.v2.DeidentifyContentResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyContentResponse other = (com.google.privacy.dlp.v2.DeidentifyContentResponse) obj; + com.google.privacy.dlp.v2.DeidentifyContentResponse other = + (com.google.privacy.dlp.v2.DeidentifyContentResponse) obj; if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem() - .equals(other.getItem())) return false; + if (!getItem().equals(other.getItem())) return false; } if (hasOverview() != other.hasOverview()) return false; if (hasOverview()) { - if (!getOverview() - .equals(other.getOverview())) return false; + if (!getOverview().equals(other.getOverview())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,117 +312,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Results of de-identifying a ContentItem.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeidentifyContentResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyContentResponse) com.google.privacy.dlp.v2.DeidentifyContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeidentifyContentResponse.class, com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.DeidentifyContentResponse.class, + com.google.privacy.dlp.v2.DeidentifyContentResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeidentifyContentResponse.newBuilder() @@ -391,16 +439,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; } @java.lang.Override @@ -441,7 +488,8 @@ public com.google.privacy.dlp.v2.DeidentifyContentResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyContentResponse buildPartial() { - com.google.privacy.dlp.v2.DeidentifyContentResponse result = new com.google.privacy.dlp.v2.DeidentifyContentResponse(this); + com.google.privacy.dlp.v2.DeidentifyContentResponse result = + new com.google.privacy.dlp.v2.DeidentifyContentResponse(this); if (itemBuilder_ == null) { result.item_ = item_; } else { @@ -460,38 +508,39 @@ public com.google.privacy.dlp.v2.DeidentifyContentResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeidentifyContentResponse) { - return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.DeidentifyContentResponse) other); } else { super.mergeFrom(other); return this; @@ -499,7 +548,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyContentResponse other) { - if (other == com.google.privacy.dlp.v2.DeidentifyContentResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DeidentifyContentResponse.getDefaultInstance()) + return this; if (other.hasItem()) { mergeItem(other.getItem()); } @@ -525,7 +575,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DeidentifyContentResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeidentifyContentResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,24 +588,33 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.ContentItem item_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_; + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> + itemBuilder_; /** + * + * *
      * The de-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** + * + * *
      * The de-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -565,6 +625,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The de-identified item.
      * 
@@ -585,14 +647,15 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The de-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; */ - public Builder setItem( - com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -603,6 +666,8 @@ public Builder setItem( return this; } /** + * + * *
      * The de-identified item.
      * 
@@ -613,7 +678,9 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -625,6 +692,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The de-identified item.
      * 
@@ -643,6 +712,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The de-identified item.
      * 
@@ -650,11 +721,13 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 1; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** + * + * *
      * The de-identified item.
      * 
@@ -665,11 +738,12 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? - com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** + * + * *
      * The de-identified item.
      * 
@@ -677,14 +751,17 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), - getParentForChildren(), - isClean()); + itemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), getParentForChildren(), isClean()); item_ = null; } return itemBuilder_; @@ -692,34 +769,47 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private com.google.privacy.dlp.v2.TransformationOverview overview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> overviewBuilder_; + com.google.privacy.dlp.v2.TransformationOverview, + com.google.privacy.dlp.v2.TransformationOverview.Builder, + com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> + overviewBuilder_; /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return Whether the overview field is set. */ public boolean hasOverview() { return overviewBuilder_ != null || overview_ != null; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return The overview. */ public com.google.privacy.dlp.v2.TransformationOverview getOverview() { if (overviewBuilder_ == null) { - return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; + return overview_ == null + ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() + : overview_; } else { return overviewBuilder_.getMessage(); } } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -740,6 +830,8 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -758,6 +850,8 @@ public Builder setOverview( return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -768,7 +862,9 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va if (overviewBuilder_ == null) { if (overview_ != null) { overview_ = - com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_) + .mergeFrom(value) + .buildPartial(); } else { overview_ = value; } @@ -780,6 +876,8 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -798,6 +896,8 @@ public Builder clearOverview() { return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -805,11 +905,13 @@ public Builder clearOverview() { * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ public com.google.privacy.dlp.v2.TransformationOverview.Builder getOverviewBuilder() { - + onChanged(); return getOverviewFieldBuilder().getBuilder(); } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -820,11 +922,14 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu if (overviewBuilder_ != null) { return overviewBuilder_.getMessageOrBuilder(); } else { - return overview_ == null ? - com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; + return overview_ == null + ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() + : overview_; } } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -832,21 +937,24 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> + com.google.privacy.dlp.v2.TransformationOverview, + com.google.privacy.dlp.v2.TransformationOverview.Builder, + com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> getOverviewFieldBuilder() { if (overviewBuilder_ == null) { - overviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( - getOverview(), - getParentForChildren(), - isClean()); + overviewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationOverview, + com.google.privacy.dlp.v2.TransformationOverview.Builder, + com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( + getOverview(), getParentForChildren(), isClean()); overview_ = null; } return overviewBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyContentResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyContentResponse) private static final com.google.privacy.dlp.v2.DeidentifyContentResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyContentResponse(); } @@ -870,16 +978,16 @@ public static com.google.privacy.dlp.v2.DeidentifyContentResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyContentResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyContentResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -894,6 +1002,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.DeidentifyContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java index 7bdf8e1c..b261e99e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyContentResponseOrBuilder extends +public interface DeidentifyContentResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyContentResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ boolean hasItem(); /** + * + * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** + * + * *
    * The de-identified item.
    * 
@@ -35,24 +59,32 @@ public interface DeidentifyContentResponseOrBuilder extends com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** + * + * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return Whether the overview field is set. */ boolean hasOverview(); /** + * + * *
    * An overview of the changes that were made on the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return The overview. */ com.google.privacy.dlp.v2.TransformationOverview getOverview(); /** + * + * *
    * An overview of the changes that were made on the `item`.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java index f59017cb..4f46e5a4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * DeidentifyTemplates contains instructions on how to de-identify content.
  * See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DeidentifyTemplate}
  */
-public final class DeidentifyTemplate extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeidentifyTemplate extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeidentifyTemplate)
     DeidentifyTemplateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeidentifyTemplate.newBuilder() to construct.
   private DeidentifyTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeidentifyTemplate() {
     name_ = "";
     displayName_ = "";
@@ -28,16 +46,15 @@ private DeidentifyTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeidentifyTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeidentifyTemplate(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,98 +73,112 @@ private DeidentifyTemplate(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null;
-            if (deidentifyConfig_ != null) {
-              subBuilder = deidentifyConfig_.toBuilder();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            deidentifyConfig_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(deidentifyConfig_);
-              deidentifyConfig_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null;
+              if (deidentifyConfig_ != null) {
+                subBuilder = deidentifyConfig_.toBuilder();
+              }
+              deidentifyConfig_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(deidentifyConfig_);
+                deidentifyConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DeidentifyTemplate.class, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
+            com.google.privacy.dlp.v2.DeidentifyTemplate.class,
+            com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -156,6 +187,7 @@ private DeidentifyTemplate(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -164,14 +196,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; } } /** + * + * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -180,16 +213,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -200,11 +232,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -213,29 +248,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; } } /** + * + * *
    * Display name (max 256 chars).
    * 
* * 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 { @@ -246,11 +281,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Short description (max 256 chars).
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -259,29 +297,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; } } /** + * + * *
    * Short description (max 256 chars).
    * 
* * 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 { @@ -292,11 +330,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -304,11 +346,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -316,11 +362,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -330,11 +379,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -342,11 +395,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -354,11 +411,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -368,11 +428,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DEIDENTIFY_CONFIG_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; /** + * + * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; + * * @return Whether the deidentifyConfig field is set. */ @java.lang.Override @@ -380,18 +443,25 @@ public boolean hasDeidentifyConfig() { return deidentifyConfig_ != null; } /** + * + * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; + * * @return The deidentifyConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { - return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; + return deidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : deidentifyConfig_; } /** + * + * *
    * The core content of the template.
    * 
@@ -404,6 +474,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -415,8 +486,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -454,16 +524,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeidentifyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeidentifyConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -473,33 +540,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.privacy.dlp.v2.DeidentifyTemplate)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeidentifyTemplate other = (com.google.privacy.dlp.v2.DeidentifyTemplate) obj; + com.google.privacy.dlp.v2.DeidentifyTemplate other = + (com.google.privacy.dlp.v2.DeidentifyTemplate) 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 (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 (hasDeidentifyConfig() != other.hasDeidentifyConfig()) return false; if (hasDeidentifyConfig()) { - if (!getDeidentifyConfig() - .equals(other.getDeidentifyConfig())) return false; + if (!getDeidentifyConfig().equals(other.getDeidentifyConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -535,97 +597,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeidentifyTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeidentifyTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DeidentifyTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeidentifyTemplates contains instructions on how to de-identify content.
    * See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
@@ -633,21 +702,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.DeidentifyTemplate}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeidentifyTemplate)
       com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DeidentifyTemplate.class, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
+              com.google.privacy.dlp.v2.DeidentifyTemplate.class,
+              com.google.privacy.dlp.v2.DeidentifyTemplate.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder()
@@ -655,16 +726,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -696,9 +766,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -717,7 +787,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DeidentifyTemplate buildPartial() {
-      com.google.privacy.dlp.v2.DeidentifyTemplate result = new com.google.privacy.dlp.v2.DeidentifyTemplate(this);
+      com.google.privacy.dlp.v2.DeidentifyTemplate result =
+          new com.google.privacy.dlp.v2.DeidentifyTemplate(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -744,38 +815,39 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DeidentifyTemplate) {
-        return mergeFrom((com.google.privacy.dlp.v2.DeidentifyTemplate)other);
+        return mergeFrom((com.google.privacy.dlp.v2.DeidentifyTemplate) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -836,6 +908,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -844,13 +918,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -859,6 +933,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -867,15 +943,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -883,6 +958,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -891,20 +968,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -913,15 +992,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -930,16 +1012,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -947,18 +1029,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name (max 256 chars).
      * 
* * 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; @@ -967,20 +1051,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name (max 256 chars).
      * 
* * 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 { @@ -988,54 +1073,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1043,18 +1135,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Short description (max 256 chars).
      * 
* * 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; @@ -1063,20 +1157,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Short description (max 256 chars).
      * 
* * 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 { @@ -1084,54 +1179,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Short description (max 256 chars).
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Short description (max 256 chars).
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Short description (max 256 chars).
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1139,39 +1241,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 creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1187,14 +1308,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1205,17 +1329,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1227,11 +1355,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1245,48 +1377,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.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_; @@ -1294,39 +1442,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1342,14 +1509,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1360,17 +1530,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1382,11 +1556,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1400,48 +1578,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp 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> 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_; @@ -1449,34 +1643,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.privacy.dlp.v2.DeidentifyConfig deidentifyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> deidentifyConfigBuilder_; + com.google.privacy.dlp.v2.DeidentifyConfig, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder, + com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> + deidentifyConfigBuilder_; /** + * + * *
      * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; + * * @return Whether the deidentifyConfig field is set. */ public boolean hasDeidentifyConfig() { return deidentifyConfigBuilder_ != null || deidentifyConfig_ != null; } /** + * + * *
      * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; + * * @return The deidentifyConfig. */ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { if (deidentifyConfigBuilder_ == null) { - return deidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; + return deidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : deidentifyConfig_; } else { return deidentifyConfigBuilder_.getMessage(); } } /** + * + * *
      * The core content of the template.
      * 
@@ -1497,6 +1704,8 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1515,6 +1724,8 @@ public Builder setDeidentifyConfig( return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1525,7 +1736,9 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig if (deidentifyConfigBuilder_ == null) { if (deidentifyConfig_ != null) { deidentifyConfig_ = - com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(deidentifyConfig_) + .mergeFrom(value) + .buildPartial(); } else { deidentifyConfig_ = value; } @@ -1537,6 +1750,8 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1555,6 +1770,8 @@ public Builder clearDeidentifyConfig() { return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1562,11 +1779,13 @@ public Builder clearDeidentifyConfig() { * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; */ public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getDeidentifyConfigBuilder() { - + onChanged(); return getDeidentifyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The core content of the template.
      * 
@@ -1577,11 +1796,14 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr if (deidentifyConfigBuilder_ != null) { return deidentifyConfigBuilder_.getMessageOrBuilder(); } else { - return deidentifyConfig_ == null ? - com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : deidentifyConfig_; + return deidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : deidentifyConfig_; } } /** + * + * *
      * The core content of the template.
      * 
@@ -1589,21 +1811,24 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> + com.google.privacy.dlp.v2.DeidentifyConfig, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder, + com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> getDeidentifyConfigFieldBuilder() { if (deidentifyConfigBuilder_ == null) { - deidentifyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>( - getDeidentifyConfig(), - getParentForChildren(), - isClean()); + deidentifyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DeidentifyConfig, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder, + com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>( + getDeidentifyConfig(), getParentForChildren(), isClean()); deidentifyConfig_ = null; } return deidentifyConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1613,12 +1838,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeidentifyTemplate) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyTemplate) private static final com.google.privacy.dlp.v2.DeidentifyTemplate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeidentifyTemplate(); } @@ -1627,16 +1852,16 @@ public static com.google.privacy.dlp.v2.DeidentifyTemplate getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeidentifyTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeidentifyTemplate(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeidentifyTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeidentifyTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1651,6 +1876,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeidentifyTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java similarity index 96% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java index 1fcbf926..f1b6b44f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateName.java @@ -22,8 +22,6 @@ 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; @@ -260,26 +258,6 @@ public static DeidentifyTemplateName parse(String formattedString) { "DeidentifyTemplateName.parse: formattedString not in valid format"); } - 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 (DeidentifyTemplateName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - public static boolean isParsableFrom(String formattedString) { return ORGANIZATION_DEIDENTIFY_TEMPLATE.matches(formattedString) || PROJECT_DEIDENTIFY_TEMPLATE.matches(formattedString) diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java index 814d6573..b94cd5d5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DeidentifyTemplateOrBuilder extends +public interface DeidentifyTemplateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyTemplate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -16,10 +34,13 @@ public interface DeidentifyTemplateOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -28,124 +49,164 @@ public interface DeidentifyTemplateOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Short description (max 256 chars).
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Short description (max 256 chars).
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; + * * @return Whether the deidentifyConfig field is set. */ boolean hasDeidentifyConfig(); /** + * + * *
    * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; + * * @return The deidentifyConfig. */ com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig(); /** + * + * *
    * The core content of the template.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java index 39458f88..5d771db3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for DeleteDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest} */ -public final class DeleteDeidentifyTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) DeleteDeidentifyTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDeidentifyTemplateRequest.newBuilder() to construct. - private DeleteDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDeidentifyTemplateRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDeidentifyTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +71,62 @@ private DeleteDeidentifyTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * 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 @@ -109,31 +135,33 @@ 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. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +206,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.privacy.dlp.v2.DeleteDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest other = + (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +234,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.newBuilder() @@ -324,16 +362,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -364,7 +401,8 @@ public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest result = + new com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +477,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +490,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * 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; @@ -471,22 +516,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * 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 { @@ -494,67 +542,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest(); } @@ -578,16 +639,16 @@ public static com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +663,4 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java new file mode 100644 index 00000000..4487162a --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteDeidentifyTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java index 0bd1949b..09be2f86 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The request message for deleting a DLP job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDlpJobRequest} */ -public final class DeleteDlpJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteDlpJobRequest) DeleteDlpJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDlpJobRequest.newBuilder() to construct. private DeleteDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private DeleteDlpJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, + com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the DlpJob resource to be deleted.
    * 
* - * 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 @@ -107,29 +132,31 @@ 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 DlpJob resource to be deleted.
    * 
* - * 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 { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeleteDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteDlpJobRequest other = (com.google.privacy.dlp.v2.DeleteDlpJobRequest) obj; + com.google.privacy.dlp.v2.DeleteDlpJobRequest other = + (com.google.privacy.dlp.v2.DeleteDlpJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -201,118 +228,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 deleting a DLP job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteDlpJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteDlpJobRequest) com.google.privacy.dlp.v2.DeleteDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteDlpJobRequest.class, + com.google.privacy.dlp.v2.DeleteDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteDlpJobRequest.newBuilder() @@ -320,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; } @java.lang.Override @@ -360,7 +395,8 @@ public com.google.privacy.dlp.v2.DeleteDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteDlpJobRequest result = new com.google.privacy.dlp.v2.DeleteDlpJobRequest(this); + com.google.privacy.dlp.v2.DeleteDlpJobRequest result = + new com.google.privacy.dlp.v2.DeleteDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +406,39 @@ public com.google.privacy.dlp.v2.DeleteDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteDlpJobRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteDlpJobRequest) other); } else { super.mergeFrom(other); return this; @@ -445,18 +482,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * 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; @@ -465,20 +506,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * 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 { @@ -486,61 +530,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteDlpJobRequest) private static final com.google.privacy.dlp.v2.DeleteDlpJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteDlpJobRequest(); } @@ -564,16 +621,16 @@ public static com.google.privacy.dlp.v2.DeleteDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeleteDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..43284f5a --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteDlpJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DlpJob resource to be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DlpJob resource to be deleted.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java index 0c82e9cd..de703fb7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for DeleteInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteInspectTemplateRequest} */ -public final class DeleteInspectTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteInspectTemplateRequest) DeleteInspectTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInspectTemplateRequest.newBuilder() to construct. private DeleteInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInspectTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteInspectTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * 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 @@ -109,31 +134,33 @@ 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. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.privacy.dlp.v2.DeleteInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest other = (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest other = + (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteInspectTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteInspectTemplateRequest) com.google.privacy.dlp.v2.DeleteInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.class, + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteInspectTemplateRequest result = new com.google.privacy.dlp.v2.DeleteInspectTemplateRequest(this); + com.google.privacy.dlp.v2.DeleteInspectTemplateRequest result = + new com.google.privacy.dlp.v2.DeleteInspectTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteInspectTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DeleteInspectTemplateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeleteInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * 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; @@ -471,22 +515,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * 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 { @@ -494,67 +541,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteInspectTemplateRequest) private static final com.google.privacy.dlp.v2.DeleteInspectTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteInspectTemplateRequest(); } @@ -578,16 +638,16 @@ public static com.google.privacy.dlp.v2.DeleteInspectTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.DeleteInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java new file mode 100644 index 00000000..cb4a86fd --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteInspectTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteInspectTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java index 3bd1a984..204ddf6b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for DeleteJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteJobTriggerRequest} */ -public final class DeleteJobTriggerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteJobTriggerRequest) DeleteJobTriggerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteJobTriggerRequest.newBuilder() to construct. private DeleteJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private DeleteJobTriggerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ 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. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DeleteJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteJobTriggerRequest other = (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) obj; + com.google.privacy.dlp.v2.DeleteJobTriggerRequest other = + (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteJobTriggerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteJobTriggerRequest) com.google.privacy.dlp.v2.DeleteJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.class, + com.google.privacy.dlp.v2.DeleteJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteJobTriggerRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.privacy.dlp.v2.DeleteJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteJobTriggerRequest result = new com.google.privacy.dlp.v2.DeleteJobTriggerRequest(this); + com.google.privacy.dlp.v2.DeleteJobTriggerRequest result = + new com.google.privacy.dlp.v2.DeleteJobTriggerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.privacy.dlp.v2.DeleteJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteJobTriggerRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteJobTriggerRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteJobTriggerRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DeleteJobTriggerRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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 { @@ -490,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteJobTriggerRequest) private static final com.google.privacy.dlp.v2.DeleteJobTriggerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteJobTriggerRequest(); } @@ -571,16 +630,16 @@ public static com.google.privacy.dlp.v2.DeleteJobTriggerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DeleteJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java new file mode 100644 index 00000000..1f7e6954 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteJobTriggerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java index e6b3e030..5138ab87 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for DeleteStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteStoredInfoTypeRequest} */ -public final class DeleteStoredInfoTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) DeleteStoredInfoTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteStoredInfoTypeRequest.newBuilder() to construct. private DeleteStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteStoredInfoTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteStoredInfoTypeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * 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 @@ -109,31 +134,33 @@ 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. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.privacy.dlp.v2.DeleteStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest other = + (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DeleteStoredInfoTypeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest result = + new com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * 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; @@ -471,22 +515,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * 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 { @@ -494,67 +541,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest(); } @@ -578,16 +638,16 @@ public static com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java new file mode 100644 index 00000000..75d4b810 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DeleteStoredInfoTypeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpContentName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java index 577b8fb2..66e12f22 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJob.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Combines all of the information about a DLP job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DlpJob} */ -public final class DlpJob extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DlpJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DlpJob) DlpJobOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DlpJob.newBuilder() to construct. private DlpJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DlpJob() { name_ = ""; type_ = 0; @@ -29,16 +47,15 @@ private DlpJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DlpJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DlpJob( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,120 +75,139 @@ private DlpJob( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 34: { - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder subBuilder = null; - if (detailsCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_).toBuilder(); + name_ = s; + break; } - details_ = - input.readMessage(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); - details_ = subBuilder.buildPartial(); + case 16: + { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; } - detailsCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder subBuilder = null; - if (detailsCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_).toBuilder(); + case 24: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; } - details_ = - input.readMessage(com.google.privacy.dlp.v2.InspectDataSourceDetails.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); - details_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder subBuilder = null; + if (detailsCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_).toBuilder(); + } + details_ = + input.readMessage( + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 4; + break; } - detailsCase_ = 5; - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 42: + { + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder subBuilder = null; + if (detailsCase_ == 5) { + subBuilder = + ((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_).toBuilder(); + } + details_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectDataSourceDetails.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); + details_ = subBuilder.buildPartial(); + } + detailsCase_ = 5; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + jobTriggerName_ = s; + break; } - - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - jobTriggerName_ = s; - break; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 90: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + errors_.add( + input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -180,29 +216,34 @@ private DlpJob( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DlpJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.DlpJob.class, com.google.privacy.dlp.v2.DlpJob.Builder.class); } /** + * + * *
    * Possible states of a job. New items may be added.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DlpJob.JobState} */ - public enum JobState - implements com.google.protobuf.ProtocolMessageEnum { + public enum JobState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -211,6 +252,8 @@ public enum JobState */ JOB_STATE_UNSPECIFIED(0), /** + * + * *
      * The job has not yet started.
      * 
@@ -219,6 +262,8 @@ public enum JobState */ PENDING(1), /** + * + * *
      * The job is currently running. Once a job has finished it will transition
      * to FAILED or DONE.
@@ -228,6 +273,8 @@ public enum JobState
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The job is no longer running.
      * 
@@ -236,6 +283,8 @@ public enum JobState */ DONE(3), /** + * + * *
      * The job was canceled before it could complete.
      * 
@@ -244,6 +293,8 @@ public enum JobState */ CANCELED(4), /** + * + * *
      * The job had an error and did not complete.
      * 
@@ -252,6 +303,8 @@ public enum JobState */ FAILED(5), /** + * + * *
      * The job is currently accepting findings via hybridInspect.
      * A hybrid job in ACTIVE state may continue to have findings added to it
@@ -266,6 +319,8 @@ public enum JobState
     ;
 
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -274,6 +329,8 @@ public enum JobState */ public static final int JOB_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job has not yet started.
      * 
@@ -282,6 +339,8 @@ public enum JobState */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The job is currently running. Once a job has finished it will transition
      * to FAILED or DONE.
@@ -291,6 +350,8 @@ public enum JobState
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job is no longer running.
      * 
@@ -299,6 +360,8 @@ public enum JobState */ public static final int DONE_VALUE = 3; /** + * + * *
      * The job was canceled before it could complete.
      * 
@@ -307,6 +370,8 @@ public enum JobState */ public static final int CANCELED_VALUE = 4; /** + * + * *
      * The job had an error and did not complete.
      * 
@@ -315,6 +380,8 @@ public enum JobState */ public static final int FAILED_VALUE = 5; /** + * + * *
      * The job is currently accepting findings via hybridInspect.
      * A hybrid job in ACTIVE state may continue to have findings added to it
@@ -326,7 +393,6 @@ public enum JobState
      */
     public static final int ACTIVE_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -351,53 +417,57 @@ public static JobState valueOf(int value) {
      */
     public static JobState forNumber(int value) {
       switch (value) {
-        case 0: return JOB_STATE_UNSPECIFIED;
-        case 1: return PENDING;
-        case 2: return RUNNING;
-        case 3: return DONE;
-        case 4: return CANCELED;
-        case 5: return FAILED;
-        case 6: return ACTIVE;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return JOB_STATE_UNSPECIFIED;
+        case 1:
+          return PENDING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return DONE;
+        case 4:
+          return CANCELED;
+        case 5:
+          return FAILED;
+        case 6:
+          return ACTIVE;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        JobState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public JobState findValueByNumber(int number) {
-              return JobState.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 JobState findValueByNumber(int number) {
+            return JobState.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.privacy.dlp.v2.DlpJob.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobState[] VALUES = values();
 
-    public static JobState valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobState 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;
@@ -416,13 +486,16 @@ private JobState(int value) {
 
   private int detailsCase_ = 0;
   private java.lang.Object details_;
+
   public enum DetailsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RISK_DETAILS(4),
     INSPECT_DETAILS(5),
     DETAILS_NOT_SET(0);
     private final int value;
+
     private DetailsCase(int value) {
       this.value = value;
     }
@@ -438,31 +511,37 @@ public static DetailsCase valueOf(int value) {
 
     public static DetailsCase forNumber(int value) {
       switch (value) {
-        case 4: return RISK_DETAILS;
-        case 5: return INSPECT_DETAILS;
-        case 0: return DETAILS_NOT_SET;
-        default: return null;
+        case 4:
+          return RISK_DETAILS;
+        case 5:
+          return INSPECT_DETAILS;
+        case 0:
+          return DETAILS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public DetailsCase
-  getDetailsCase() {
-    return DetailsCase.forNumber(
-        detailsCase_);
+  public DetailsCase getDetailsCase() {
+    return DetailsCase.forNumber(detailsCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The server-assigned name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -471,29 +550,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The server-assigned name.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -504,64 +583,85 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { + @java.lang.Override + public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return The state. */ - @java.lang.Override public com.google.privacy.dlp.v2.DlpJob.JobState getState() { + @java.lang.Override + public com.google.privacy.dlp.v2.DlpJob.JobState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJob.JobState result = com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); + com.google.privacy.dlp.v2.DlpJob.JobState result = + com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.DlpJob.JobState.UNRECOGNIZED : result; } public static final int RISK_DETAILS_FIELD_NUMBER = 4; /** + * + * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; + * * @return Whether the riskDetails field is set. */ @java.lang.Override @@ -569,21 +669,26 @@ public boolean hasRiskDetails() { return detailsCase_ == 4; } /** + * + * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; + * * @return The riskDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { if (detailsCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; } return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance(); } /** + * + * *
    * Results from analyzing risk of a data source.
    * 
@@ -593,18 +698,21 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { @java.lang.Override public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder() { if (detailsCase_ == 4) { - return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; + return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_; } return com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance(); } public static final int INSPECT_DETAILS_FIELD_NUMBER = 5; /** + * + * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; + * * @return Whether the inspectDetails field is set. */ @java.lang.Override @@ -612,21 +720,26 @@ public boolean hasInspectDetails() { return detailsCase_ == 5; } /** + * + * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; + * * @return The inspectDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { if (detailsCase_ == 5) { - return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; + return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; } return com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance(); } /** + * + * *
    * Results from inspecting a data source.
    * 
@@ -636,7 +749,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder() { if (detailsCase_ == 5) { - return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; + return (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_; } return com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance(); } @@ -644,11 +757,14 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -656,11 +772,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -668,6 +787,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the job was created.
    * 
@@ -682,11 +803,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -694,11 +818,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ @java.lang.Override @@ -706,6 +833,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time when the job started.
    * 
@@ -720,11 +849,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -732,11 +864,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ @java.lang.Override @@ -744,6 +879,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Time when the job finished.
    * 
@@ -758,12 +895,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int JOB_TRIGGER_NAME_FIELD_NUMBER = 10; private volatile java.lang.Object jobTriggerName_; /** + * + * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; + * * @return The jobTriggerName. */ @java.lang.Override @@ -772,30 +912,30 @@ public java.lang.String getJobTriggerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTriggerName_ = s; return s; } } /** + * + * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; + * * @return The bytes for jobTriggerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobTriggerNameBytes() { + public com.google.protobuf.ByteString getJobTriggerNameBytes() { java.lang.Object ref = jobTriggerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTriggerName_ = b; return b; } else { @@ -806,6 +946,8 @@ public java.lang.String getJobTriggerName() { public static final int ERRORS_FIELD_NUMBER = 11; private java.util.List errors_; /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -817,6 +959,8 @@ public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -824,11 +968,13 @@ public java.util.List getErrorsList() { * repeated .google.privacy.dlp.v2.Error errors = 11; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -840,6 +986,8 @@ public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -851,6 +999,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { return errors_.get(index); } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -858,12 +1008,12 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { * repeated .google.privacy.dlp.v2.Error errors = 11; */ @java.lang.Override - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -875,8 +1025,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -920,39 +1069,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (state_ != com.google.privacy.dlp.v2.DlpJob.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } if (detailsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_); } if (detailsCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTriggerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, jobTriggerName_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -962,45 +1107,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DlpJob)) { return super.equals(obj); } com.google.privacy.dlp.v2.DlpJob other = (com.google.privacy.dlp.v2.DlpJob) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (state_ != other.state_) 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 (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 (!getJobTriggerName() - .equals(other.getJobTriggerName())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getJobTriggerName().equals(other.getJobTriggerName())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 4: - if (!getRiskDetails() - .equals(other.getRiskDetails())) return false; + if (!getRiskDetails().equals(other.getRiskDetails())) return false; break; case 5: - if (!getInspectDetails() - .equals(other.getInspectDetails())) return false; + if (!getInspectDetails().equals(other.getInspectDetails())) return false; break; case 0: default: @@ -1057,118 +1194,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DlpJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DlpJob parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.DlpJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DlpJob 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.privacy.dlp.v2.DlpJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DlpJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DlpJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Combines all of the information about a DLP job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DlpJob} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DlpJob) com.google.privacy.dlp.v2.DlpJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DlpJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DlpJob.class, com.google.privacy.dlp.v2.DlpJob.Builder.class); + com.google.privacy.dlp.v2.DlpJob.class, + com.google.privacy.dlp.v2.DlpJob.Builder.class); } // Construct using com.google.privacy.dlp.v2.DlpJob.newBuilder() @@ -1176,17 +1321,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1228,9 +1373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DlpJob_descriptor; } @java.lang.Override @@ -1302,38 +1447,39 @@ public com.google.privacy.dlp.v2.DlpJob buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DlpJob) { - return mergeFrom((com.google.privacy.dlp.v2.DlpJob)other); + return mergeFrom((com.google.privacy.dlp.v2.DlpJob) other); } else { super.mergeFrom(other); return this; @@ -1383,26 +1529,30 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DlpJob other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } switch (other.getDetailsCase()) { - case RISK_DETAILS: { - mergeRiskDetails(other.getRiskDetails()); - break; - } - case INSPECT_DETAILS: { - mergeInspectDetails(other.getInspectDetails()); - break; - } - case DETAILS_NOT_SET: { - break; - } + case RISK_DETAILS: + { + mergeRiskDetails(other.getRiskDetails()); + break; + } + case INSPECT_DETAILS: + { + mergeInspectDetails(other.getInspectDetails()); + break; + } + case DETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1432,12 +1582,12 @@ public Builder mergeFrom( } return this; } + private int detailsCase_ = 0; private java.lang.Object details_; - public DetailsCase - getDetailsCase() { - return DetailsCase.forNumber( - detailsCase_); + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); } public Builder clearDetails() { @@ -1451,18 +1601,20 @@ public Builder clearDetails() { private java.lang.Object name_ = ""; /** + * + * *
      * The server-assigned name.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1471,20 +1623,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The server-assigned name.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1492,54 +1645,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The server-assigned name.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The server-assigned name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The server-assigned name.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1547,51 +1707,65 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } /** + * + * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1599,21 +1773,24 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of job.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1621,51 +1798,65 @@ public Builder clearType() { private int state_ = 0; /** + * + * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return The state. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJob.JobState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJob.JobState result = com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); + com.google.privacy.dlp.v2.DlpJob.JobState result = + com.google.privacy.dlp.v2.DlpJob.JobState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.DlpJob.JobState.UNRECOGNIZED : result; } /** + * + * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1673,34 +1864,43 @@ public Builder setState(com.google.privacy.dlp.v2.DlpJob.JobState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * State of a job.
      * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> riskDetailsBuilder_; + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> + riskDetailsBuilder_; /** + * + * *
      * Results from analyzing risk of a data source.
      * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; + * * @return Whether the riskDetails field is set. */ @java.lang.Override @@ -1708,11 +1908,14 @@ public boolean hasRiskDetails() { return detailsCase_ == 4; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; + * * @return The riskDetails. */ @java.lang.Override @@ -1730,6 +1933,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { } } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1750,6 +1955,8 @@ public Builder setRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDet return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1768,6 +1975,8 @@ public Builder setRiskDetails( return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1776,10 +1985,14 @@ public Builder setRiskDetails( */ public Builder mergeRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails value) { if (riskDetailsBuilder_ == null) { - if (detailsCase_ == 4 && - details_ != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) { - details_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.newBuilder((com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 4 + && details_ + != com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance()) { + details_ = + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.newBuilder( + (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -1794,6 +2007,8 @@ public Builder mergeRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskD return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1817,6 +2032,8 @@ public Builder clearRiskDetails() { return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1827,6 +2044,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet return getRiskDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1834,7 +2053,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder() { + public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder + getRiskDetailsOrBuilder() { if ((detailsCase_ == 4) && (riskDetailsBuilder_ != null)) { return riskDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1845,6 +2065,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDe } } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1852,32 +2074,44 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDe * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder> getRiskDetailsFieldBuilder() { if (riskDetailsBuilder_ == null) { if (!(detailsCase_ == 4)) { details_ = com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.getDefaultInstance(); } - riskDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder>( + riskDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder, + com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder>( (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 4; - onChanged();; + onChanged(); + ; return riskDetailsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> inspectDetailsBuilder_; + com.google.privacy.dlp.v2.InspectDataSourceDetails, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> + inspectDetailsBuilder_; /** + * + * *
      * Results from inspecting a data source.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; + * * @return Whether the inspectDetails field is set. */ @java.lang.Override @@ -1885,11 +2119,14 @@ public boolean hasInspectDetails() { return detailsCase_ == 5; } /** + * + * *
      * Results from inspecting a data source.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; + * * @return The inspectDetails. */ @java.lang.Override @@ -1907,6 +2144,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { } } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1927,6 +2166,8 @@ public Builder setInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDeta return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1945,6 +2186,8 @@ public Builder setInspectDetails( return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1953,10 +2196,14 @@ public Builder setInspectDetails( */ public Builder mergeInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDetails value) { if (inspectDetailsBuilder_ == null) { - if (detailsCase_ == 5 && - details_ != com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) { - details_ = com.google.privacy.dlp.v2.InspectDataSourceDetails.newBuilder((com.google.privacy.dlp.v2.InspectDataSourceDetails) details_) - .mergeFrom(value).buildPartial(); + if (detailsCase_ == 5 + && details_ + != com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) { + details_ = + com.google.privacy.dlp.v2.InspectDataSourceDetails.newBuilder( + (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_) + .mergeFrom(value) + .buildPartial(); } else { details_ = value; } @@ -1971,6 +2218,8 @@ public Builder mergeInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDe return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1994,6 +2243,8 @@ public Builder clearInspectDetails() { return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -2004,6 +2255,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta return getInspectDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -2011,7 +2264,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder() { + public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder + getInspectDetailsOrBuilder() { if ((detailsCase_ == 5) && (inspectDetailsBuilder_ != null)) { return inspectDetailsBuilder_.getMessageOrBuilder(); } else { @@ -2022,6 +2276,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet } } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -2029,54 +2285,73 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> + com.google.privacy.dlp.v2.InspectDataSourceDetails, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder> getInspectDetailsFieldBuilder() { if (inspectDetailsBuilder_ == null) { if (!(detailsCase_ == 5)) { details_ = com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance(); } - inspectDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder>( + inspectDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectDataSourceDetails, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder>( (com.google.privacy.dlp.v2.InspectDataSourceDetails) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 5; - onChanged();; + onChanged(); + ; return inspectDetailsBuilder_; } 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_; /** + * + * *
      * Time when the job was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Time when the job was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @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(); } } /** + * + * *
      * Time when the job was created.
      * 
@@ -2097,14 +2372,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job was created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2115,6 +2391,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the job was created.
      * 
@@ -2125,7 +2403,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2137,6 +2415,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job was created.
      * 
@@ -2155,6 +2435,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the job was created.
      * 
@@ -2162,11 +2444,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the job was created.
      * 
@@ -2177,11 +2461,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_; } } /** + * + * *
      * Time when the job was created.
      * 
@@ -2189,14 +2476,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ 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_; @@ -2204,24 +2494,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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_; /** + * + * *
      * Time when the job started.
      * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time when the job started.
      * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2232,6 +2531,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time when the job started.
      * 
@@ -2252,14 +2553,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job started.
      * 
* * .google.protobuf.Timestamp start_time = 7; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -2270,6 +2572,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time when the job started.
      * 
@@ -2280,7 +2584,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2292,6 +2596,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job started.
      * 
@@ -2310,6 +2616,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time when the job started.
      * 
@@ -2317,11 +2625,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 7; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the job started.
      * 
@@ -2332,11 +2642,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_; } } /** + * + * *
      * Time when the job started.
      * 
@@ -2344,14 +2655,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 7; */ 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_; @@ -2359,24 +2673,33 @@ 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_; /** + * + * *
      * Time when the job finished.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Time when the job finished.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2387,6 +2710,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Time when the job finished.
      * 
@@ -2407,14 +2732,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job finished.
      * 
* * .google.protobuf.Timestamp end_time = 8; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -2425,6 +2751,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * Time when the job finished.
      * 
@@ -2435,7 +2763,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2447,6 +2775,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job finished.
      * 
@@ -2465,6 +2795,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Time when the job finished.
      * 
@@ -2472,11 +2804,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 8; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the job finished.
      * 
@@ -2487,11 +2821,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_; } } /** + * + * *
      * Time when the job finished.
      * 
@@ -2499,14 +2834,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 8; */ 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_; @@ -2514,19 +2852,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object jobTriggerName_ = ""; /** + * + * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; + * * @return The jobTriggerName. */ public java.lang.String getJobTriggerName() { java.lang.Object ref = jobTriggerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTriggerName_ = s; return s; @@ -2535,21 +2875,22 @@ public java.lang.String getJobTriggerName() { } } /** + * + * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; + * * @return The bytes for jobTriggerName. */ - public com.google.protobuf.ByteString - getJobTriggerNameBytes() { + public com.google.protobuf.ByteString getJobTriggerNameBytes() { java.lang.Object ref = jobTriggerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTriggerName_ = b; return b; } else { @@ -2557,75 +2898,88 @@ public java.lang.String getJobTriggerName() { } } /** + * + * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; + * * @param value The jobTriggerName to set. * @return This builder for chaining. */ - public Builder setJobTriggerName( - java.lang.String value) { + public Builder setJobTriggerName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTriggerName_ = value; onChanged(); return this; } /** + * + * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; + * * @return This builder for chaining. */ public Builder clearJobTriggerName() { - + jobTriggerName_ = getDefaultInstance().getJobTriggerName(); onChanged(); return this; } /** + * + * *
      * If created by a job trigger, the resource name of the trigger that
      * instantiated the job.
      * 
* * string job_trigger_name = 10; + * * @param value The bytes for jobTriggerName to set. * @return This builder for chaining. */ - public Builder setJobTriggerNameBytes( - com.google.protobuf.ByteString value) { + public Builder setJobTriggerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTriggerName_ = value; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> errorsBuilder_; + com.google.privacy.dlp.v2.Error, + com.google.privacy.dlp.v2.Error.Builder, + com.google.privacy.dlp.v2.ErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2640,6 +2994,8 @@ public java.util.List getErrorsList() { } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2654,6 +3010,8 @@ public int getErrorsCount() { } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2668,14 +3026,15 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder setErrors( - int index, com.google.privacy.dlp.v2.Error value) { + public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2689,14 +3048,15 @@ public Builder setErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder setErrors( - int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -2707,6 +3067,8 @@ public Builder setErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2727,14 +3089,15 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder addErrors( - int index, com.google.privacy.dlp.v2.Error value) { + public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2748,14 +3111,15 @@ public Builder addErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder addErrors( - com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -2766,14 +3130,15 @@ public Builder addErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public Builder addErrors( - int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -2784,6 +3149,8 @@ public Builder addErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2794,8 +3161,7 @@ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -2803,6 +3169,8 @@ public Builder addAllErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2820,6 +3188,8 @@ public Builder clearErrors() { return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2837,39 +3207,44 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder( - int index) { + public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -2877,6 +3252,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2884,49 +3261,54 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( * repeated .google.privacy.dlp.v2.Error errors = 11; */ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Error.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); + public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** + * + * *
      * A stream of errors encountered running the job.
      * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> + com.google.privacy.dlp.v2.Error, + com.google.privacy.dlp.v2.Error.Builder, + com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Error, + com.google.privacy.dlp.v2.Error.Builder, + com.google.privacy.dlp.v2.ErrorOrBuilder>( + errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @java.lang.Override - 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 +3318,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DlpJob) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DlpJob) private static final com.google.privacy.dlp.v2.DlpJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DlpJob(); } @@ -2950,16 +3332,16 @@ public static com.google.privacy.dlp.v2.DlpJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DlpJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DlpJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DlpJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DlpJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2974,6 +3356,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DlpJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java index 87191b5f..d5416f7e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobOrBuilder.java @@ -1,89 +1,130 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface DlpJobOrBuilder extends +public interface DlpJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DlpJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The server-assigned name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The server-assigned name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of job.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 2; + * * @return The type. */ com.google.privacy.dlp.v2.DlpJobType getType(); /** + * + * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * State of a job.
    * 
* * .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * * @return The state. */ com.google.privacy.dlp.v2.DlpJob.JobState getState(); /** + * + * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; + * * @return Whether the riskDetails field is set. */ boolean hasRiskDetails(); /** + * + * *
    * Results from analyzing risk of a data source.
    * 
* * .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4; + * * @return The riskDetails. */ com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails(); /** + * + * *
    * Results from analyzing risk of a data source.
    * 
@@ -93,24 +134,32 @@ public interface DlpJobOrBuilder extends com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder(); /** + * + * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; + * * @return Whether the inspectDetails field is set. */ boolean hasInspectDetails(); /** + * + * *
    * Results from inspecting a data source.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5; + * * @return The inspectDetails. */ com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails(); /** + * + * *
    * Results from inspecting a data source.
    * 
@@ -120,24 +169,32 @@ public interface DlpJobOrBuilder extends com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder(); /** + * + * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time when the job was created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time when the job was created.
    * 
@@ -147,24 +204,32 @@ public interface DlpJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Time when the job started.
    * 
@@ -174,24 +239,32 @@ public interface DlpJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Time when the job finished.
    * 
@@ -201,37 +274,45 @@ public interface DlpJobOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; + * * @return The jobTriggerName. */ java.lang.String getJobTriggerName(); /** + * + * *
    * If created by a job trigger, the resource name of the trigger that
    * instantiated the job.
    * 
* * string job_trigger_name = 10; + * * @return The bytes for jobTriggerName. */ - com.google.protobuf.ByteString - getJobTriggerNameBytes(); + com.google.protobuf.ByteString getJobTriggerNameBytes(); /** + * + * *
    * A stream of errors encountered running the job.
    * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -240,6 +321,8 @@ public interface DlpJobOrBuilder extends */ com.google.privacy.dlp.v2.Error getErrors(int index); /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -248,23 +331,25 @@ public interface DlpJobOrBuilder extends */ int getErrorsCount(); /** + * + * *
    * A stream of errors encountered running the job.
    * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - java.util.List - getErrorsOrBuilderList(); + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * A stream of errors encountered running the job.
    * 
* * repeated .google.privacy.dlp.v2.Error errors = 11; */ - com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index); public com.google.privacy.dlp.v2.DlpJob.DetailsCase getDetailsCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java index 93aefad6..ada686bf 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * An enum to represent the various types of DLP jobs.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.DlpJobType} */ -public enum DlpJobType - implements com.google.protobuf.ProtocolMessageEnum { +public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Defaults to INSPECT_JOB.
    * 
@@ -21,6 +39,8 @@ public enum DlpJobType */ DLP_JOB_TYPE_UNSPECIFIED(0), /** + * + * *
    * The job inspected Google Cloud for sensitive data.
    * 
@@ -29,6 +49,8 @@ public enum DlpJobType */ INSPECT_JOB(1), /** + * + * *
    * The job executed a Risk Analysis computation.
    * 
@@ -40,6 +62,8 @@ public enum DlpJobType ; /** + * + * *
    * Defaults to INSPECT_JOB.
    * 
@@ -48,6 +72,8 @@ public enum DlpJobType */ public static final int DLP_JOB_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job inspected Google Cloud for sensitive data.
    * 
@@ -56,6 +82,8 @@ public enum DlpJobType */ public static final int INSPECT_JOB_VALUE = 1; /** + * + * *
    * The job executed a Risk Analysis computation.
    * 
@@ -64,7 +92,6 @@ public enum DlpJobType */ public static final int RISK_ANALYSIS_JOB_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static DlpJobType valueOf(int value) { */ public static DlpJobType forNumber(int value) { switch (value) { - case 0: return DLP_JOB_TYPE_UNSPECIFIED; - case 1: return INSPECT_JOB; - case 2: return RISK_ANALYSIS_JOB; - default: return null; + case 0: + return DLP_JOB_TYPE_UNSPECIFIED; + case 1: + return INSPECT_JOB; + case 2: + return RISK_ANALYSIS_JOB; + 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< - DlpJobType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DlpJobType findValueByNumber(int number) { - return DlpJobType.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 DlpJobType findValueByNumber(int number) { + return DlpJobType.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(5); } private static final DlpJobType[] VALUES = values(); - public static DlpJobType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DlpJobType 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 DlpJobType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DlpJobType) } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java new file mode 100644 index 00000000..80349dff --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -0,0 +1,3449 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public final class DlpProto { + private DlpProto() {} + + 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_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectionRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ContentItem_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Table_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Finding_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Location_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ContentLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Container_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Range_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BoundingBox_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Color_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Value_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DateTime_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RedactConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CryptoKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Schedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Manual_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Error_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DlpJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridInspectResponse_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\037google/privacy/dlp/v2/dlp.proto\022\025googl" + + "e.privacy.dlp.v2\032\034google/api/annotations" + + ".proto\032\027google/api/client.proto\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032#google/privacy/dlp/v2/stora" + + "ge.proto\032\036google/protobuf/duration.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\032\037google/protobuf" + + "/timestamp.proto\032\027google/rpc/status.prot" + + "o\032\026google/type/date.proto\032\033google/type/d" + + "ayofweek.proto\032\033google/type/timeofday.pr" + + "oto\"G\n\020ExcludeInfoTypes\0223\n\ninfo_types\030\001 " + + "\003(\0132\037.google.privacy.dlp.v2.InfoType\"\240\002\n" + + "\rExclusionRule\022F\n\ndictionary\030\001 \001(\01320.goo" + + "gle.privacy.dlp.v2.CustomInfoType.Dictio" + + "naryH\000\022<\n\005regex\030\002 \001(\0132+.google.privacy.d" + + "lp.v2.CustomInfoType.RegexH\000\022E\n\022exclude_" + + "info_types\030\003 \001(\0132\'.google.privacy.dlp.v2" + + ".ExcludeInfoTypesH\000\022:\n\rmatching_type\030\004 \001" + + "(\0162#.google.privacy.dlp.v2.MatchingTypeB" + + "\006\n\004type\"\261\001\n\016InspectionRule\022W\n\014hotword_ru" + + "le\030\001 \001(\0132?.google.privacy.dlp.v2.CustomI" + + "nfoType.DetectionRule.HotwordRuleH\000\022>\n\016e" + + "xclusion_rule\030\002 \001(\0132$.google.privacy.dlp" + + ".v2.ExclusionRuleH\000B\006\n\004type\"~\n\021Inspectio" + + "nRuleSet\0223\n\ninfo_types\030\001 \003(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\0224\n\005rules\030\002 \003(\0132%.g" + + "oogle.privacy.dlp.v2.InspectionRule\"\307\005\n\r" + + "InspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.goog" + + "le.privacy.dlp.v2.InfoType\0229\n\016min_likeli" + + "hood\030\002 \001(\0162!.google.privacy.dlp.v2.Likel" + + "ihood\022B\n\006limits\030\003 \001(\01322.google.privacy.d" + + "lp.v2.InspectConfig.FindingLimits\022\025\n\rinc" + + "lude_quote\030\004 \001(\010\022\032\n\022exclude_info_types\030\005" + + " \001(\010\022@\n\021custom_info_types\030\006 \003(\0132%.google" + + ".privacy.dlp.v2.CustomInfoType\022=\n\017conten" + + "t_options\030\010 \003(\0162$.google.privacy.dlp.v2." + + "ContentOption\022:\n\010rule_set\030\n \003(\0132(.google" + + ".privacy.dlp.v2.InspectionRuleSet\032\221\002\n\rFi" + + "ndingLimits\022\035\n\025max_findings_per_item\030\001 \001" + + "(\005\022 \n\030max_findings_per_request\030\002 \001(\005\022d\n\032" + + "max_findings_per_info_type\030\003 \003(\0132@.googl" + + "e.privacy.dlp.v2.InspectConfig.FindingLi" + + "mits.InfoTypeLimit\032Y\n\rInfoTypeLimit\0222\n\ti" + + "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" + + "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\305\002\n\017ByteCo" + + "ntentItem\022>\n\004type\030\001 \001(\01620.google.privacy" + + ".dlp.v2.ByteContentItem.BytesType\022\014\n\004dat" + + "a\030\002 \001(\014\"\343\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" + + "ECIFIED\020\000\022\t\n\005IMAGE\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\t" + + "IMAGE_BMP\020\002\022\r\n\tIMAGE_PNG\020\003\022\r\n\tIMAGE_SVG\020" + + "\004\022\r\n\tTEXT_UTF8\020\005\022\021\n\rWORD_DOCUMENT\020\007\022\007\n\003P" + + "DF\020\010\022\027\n\023POWERPOINT_DOCUMENT\020\t\022\022\n\016EXCEL_D" + + "OCUMENT\020\n\022\010\n\004AVRO\020\013\022\007\n\003CSV\020\014\022\007\n\003TSV\020\r\"\227\001" + + "\n\013ContentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030" + + "\004 \001(\0132\034.google.privacy.dlp.v2.TableH\000\022;\n" + + "\tbyte_item\030\005 \001(\0132&.google.privacy.dlp.v2" + + ".ByteContentItemH\000B\013\n\tdata_item\"\235\001\n\005Tabl" + + "e\022/\n\007headers\030\001 \003(\0132\036.google.privacy.dlp." + + "v2.FieldId\022.\n\004rows\030\002 \003(\0132 .google.privac" + + "y.dlp.v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003(" + + "\0132\034.google.privacy.dlp.v2.Value\"]\n\rInspe" + + "ctResult\0220\n\010findings\030\001 \003(\0132\036.google.priv" + + "acy.dlp.v2.Finding\022\032\n\022findings_truncated" + + "\030\002 \001(\010\"\337\005\n\007Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quot" + + "e\030\001 \001(\t\0222\n\tinfo_type\030\002 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\0225\n\nlikelihood\030\003 \001(\0162" + + "!.google.privacy.dlp.v2.Likelihood\0221\n\010lo" + + "cation\030\004 \001(\0132\037.google.privacy.dlp.v2.Loc" + + "ation\022/\n\013create_time\030\006 \001(\0132\032.google.prot" + + "obuf.Timestamp\0224\n\nquote_info\030\007 \001(\0132 .goo" + + "gle.privacy.dlp.v2.QuoteInfo\0225\n\rresource" + + "_name\030\010 \001(\tB\036\372A\033\n\031dlp.googleapis.com/Dlp" + + "Job\0228\n\014trigger_name\030\t \001(\tB\"\372A\037\n\035dlp.goog" + + "leapis.com/JobTrigger\022:\n\006labels\030\n \003(\0132*." + + "google.privacy.dlp.v2.Finding.LabelsEntr" + + "y\0223\n\017job_create_time\030\013 \001(\0132\032.google.prot" + + "obuf.Timestamp\0220\n\010job_name\030\r \001(\tB\036\372A\033\n\031d" + + "lp.googleapis.com/DlpJob\022\022\n\nfinding_id\030\017" + + " \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001:[\352AX\n\032dlp.googleapis.com/Fin" + + "ding\022:projects/{project}/locations/{loca" + + "tion}/findings/{finding}\"\353\001\n\010Location\0220\n" + + "\nbyte_range\030\001 \001(\0132\034.google.privacy.dlp.v" + + "2.Range\0225\n\017codepoint_range\030\002 \001(\0132\034.googl" + + "e.privacy.dlp.v2.Range\022A\n\021content_locati" + + "ons\030\007 \003(\0132&.google.privacy.dlp.v2.Conten" + + "tLocation\0223\n\tcontainer\030\010 \001(\0132 .google.pr" + + "ivacy.dlp.v2.Container\"\227\003\n\017ContentLocati" + + "on\022\026\n\016container_name\030\001 \001(\t\022@\n\017record_loc" + + "ation\030\002 \001(\0132%.google.privacy.dlp.v2.Reco" + + "rdLocationH\000\022>\n\016image_location\030\003 \001(\0132$.g" + + "oogle.privacy.dlp.v2.ImageLocationH\000\022D\n\021" + + "document_location\030\005 \001(\0132\'.google.privacy" + + ".dlp.v2.DocumentLocationH\000\022D\n\021metadata_l" + + "ocation\030\010 \001(\0132\'.google.privacy.dlp.v2.Me" + + "tadataLocationH\000\0227\n\023container_timestamp\030" + + "\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021con" + + "tainer_version\030\007 \001(\tB\n\n\010location\"\224\001\n\020Met" + + "adataLocation\0221\n\004type\030\001 \001(\0162#.google.pri" + + "vacy.dlp.v2.MetadataType\022D\n\rstorage_labe" + + "l\030\003 \001(\0132+.google.privacy.dlp.v2.StorageM" + + "etadataLabelH\000B\007\n\005label\"#\n\024StorageMetada" + + "taLabel\022\013\n\003key\030\001 \001(\t\"\'\n\020DocumentLocation" + + "\022\023\n\013file_offset\030\001 \001(\003\"\266\001\n\016RecordLocation" + + "\0224\n\nrecord_key\030\001 \001(\0132 .google.privacy.dl" + + "p.v2.RecordKey\0220\n\010field_id\030\002 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\022<\n\016table_locati" + + "on\030\003 \001(\0132$.google.privacy.dlp.v2.TableLo" + + "cation\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001" + + "(\003\"\254\001\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nprojec" + + "t_id\030\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_pa" + + "th\030\004 \001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013updat" + + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" + + "\022\017\n\007version\030\007 \001(\t\"#\n\005Range\022\r\n\005start\030\001 \001(" + + "\003\022\013\n\003end\030\002 \001(\003\"K\n\rImageLocation\022:\n\016bound" + + "ing_boxes\030\001 \003(\0132\".google.privacy.dlp.v2." + + "BoundingBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022" + + "\014\n\004left\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004" + + " \001(\005\"\374\003\n\022RedactImageRequest\0222\n\006parent\030\001 " + + "\001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpContent\022" + + "\023\n\013location_id\030\010 \001(\t\022<\n\016inspect_config\030\002" + + " \001(\0132$.google.privacy.dlp.v2.InspectConf" + + "ig\022_\n\027image_redaction_configs\030\005 \003(\0132>.go" + + "ogle.privacy.dlp.v2.RedactImageRequest.I" + + "mageRedactionConfig\022\030\n\020include_findings\030" + + "\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google.privac" + + "y.dlp.v2.ByteContentItem\032\250\001\n\024ImageRedact" + + "ionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoTypeH\000\022\031\n\017redact_all_te" + + "xt\030\002 \001(\010H\000\0225\n\017redaction_color\030\003 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.ColorB\010\n\006target\"1\n\005C" + + "olor\022\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n\004blue" + + "\030\003 \001(\002\"\203\001\n\023RedactImageResponse\022\026\n\016redact" + + "ed_image\030\001 \001(\014\022\026\n\016extracted_text\030\002 \001(\t\022<" + + "\n\016inspect_result\030\003 \001(\0132$.google.privacy." + + "dlp.v2.InspectResult\"\330\002\n\030DeidentifyConte" + + "ntRequest\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.goog" + + "leapis.com/DlpContent\022B\n\021deidentify_conf" + + "ig\030\002 \001(\0132\'.google.privacy.dlp.v2.Deident" + + "ifyConfig\022<\n\016inspect_config\030\003 \001(\0132$.goog" + + "le.privacy.dlp.v2.InspectConfig\0220\n\004item\030" + + "\004 \001(\0132\".google.privacy.dlp.v2.ContentIte" + + "m\022\035\n\025inspect_template_name\030\005 \001(\t\022 \n\030deid" + + "entify_template_name\030\006 \001(\t\022\023\n\013location_i" + + "d\030\007 \001(\t\"\216\001\n\031DeidentifyContentResponse\0220\n" + + "\004item\030\001 \001(\0132\".google.privacy.dlp.v2.Cont" + + "entItem\022?\n\010overview\030\002 \001(\0132-.google.priva" + + "cy.dlp.v2.TransformationOverview\"\333\002\n\030Rei" + + "dentifyContentRequest\0225\n\006parent\030\001 \001(\tB%\340" + + "A\002\372A\037\022\035dlp.googleapis.com/DlpContent\022B\n\021" + + "reidentify_config\030\002 \001(\0132\'.google.privacy" + + ".dlp.v2.DeidentifyConfig\022<\n\016inspect_conf" + + "ig\030\003 \001(\0132$.google.privacy.dlp.v2.Inspect" + + "Config\0220\n\004item\030\004 \001(\0132\".google.privacy.dl" + + "p.v2.ContentItem\022\035\n\025inspect_template_nam" + + "e\030\005 \001(\t\022 \n\030reidentify_template_name\030\006 \001(" + + "\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031ReidentifyCon" + + "tentResponse\0220\n\004item\030\001 \001(\0132\".google.priv" + + "acy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001(\013" + + "2-.google.privacy.dlp.v2.TransformationO" + + "verview\"\357\001\n\025InspectContentRequest\0222\n\006par" + + "ent\030\001 \001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpCo" + + "ntent\022<\n\016inspect_config\030\002 \001(\0132$.google.p" + + "rivacy.dlp.v2.InspectConfig\0220\n\004item\030\003 \001(" + + "\0132\".google.privacy.dlp.v2.ContentItem\022\035\n" + + "\025inspect_template_name\030\004 \001(\t\022\023\n\013location" + + "_id\030\005 \001(\t\"N\n\026InspectContentResponse\0224\n\006r" + + "esult\030\001 \001(\0132$.google.privacy.dlp.v2.Insp" + + "ectResult\"\267\002\n\023OutputStorageConfig\0225\n\005tab" + + "le\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuer" + + "yTableH\000\022N\n\routput_schema\030\003 \001(\01627.google" + + ".privacy.dlp.v2.OutputStorageConfig.Outp" + + "utSchema\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHE" + + "MA_UNSPECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013G" + + "CS_COLUMNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021B" + + "IG_QUERY_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004t" + + "ype\"R\n\rInfoTypeStats\0222\n\tinfo_type\030\001 \001(\0132" + + "\037.google.privacy.dlp.v2.InfoType\022\r\n\005coun" + + "t\030\002 \001(\003\"\244\004\n\030InspectDataSourceDetails\022[\n\021" + + "requested_options\030\002 \001(\0132@.google.privacy" + + ".dlp.v2.InspectDataSourceDetails.Request" + + "edOptions\022F\n\006result\030\003 \001(\01326.google.priva" + + "cy.dlp.v2.InspectDataSourceDetails.Resul" + + "t\032\232\001\n\020RequestedOptions\022I\n\031snapshot_inspe" + + "ct_template\030\001 \001(\0132&.google.privacy.dlp.v" + + "2.InspectTemplate\022;\n\njob_config\030\003 \001(\0132\'." + + "google.privacy.dlp.v2.InspectJobConfig\032\305" + + "\001\n\006Result\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025to" + + "tal_estimated_bytes\030\002 \001(\003\022=\n\017info_type_s" + + "tats\030\003 \003(\0132$.google.privacy.dlp.v2.InfoT" + + "ypeStats\022D\n\014hybrid_stats\030\007 \001(\0132..google." + + "privacy.dlp.v2.HybridInspectStatistics\"`" + + "\n\027HybridInspectStatistics\022\027\n\017processed_c" + + "ount\030\001 \001(\003\022\025\n\raborted_count\030\002 \001(\003\022\025\n\rpen" + + "ding_count\030\003 \001(\003\"\220\001\n\023InfoTypeDescription" + + "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014" + + "supported_by\030\003 \003(\0162*.google.privacy.dlp." + + "v2.InfoTypeSupportedBy\022\023\n\013description\030\004 " + + "\001(\t\"b\n\024ListInfoTypesRequest\022\016\n\006parent\030\004 " + + "\001(\t\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001" + + "(\t\022\023\n\013location_id\030\003 \001(\t\"W\n\025ListInfoTypes" + + "Response\022>\n\ninfo_types\030\001 \003(\0132*.google.pr" + + "ivacy.dlp.v2.InfoTypeDescription\"\301\001\n\025Ris" + + "kAnalysisJobConfig\022<\n\016privacy_metric\030\001 \001" + + "(\0132$.google.privacy.dlp.v2.PrivacyMetric" + + "\022:\n\014source_table\030\002 \001(\0132$.google.privacy." + + "dlp.v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035." + + "google.privacy.dlp.v2.Action\"\274\001\n\007QuasiId" + + "\0222\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2." + + "FieldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google" + + ".privacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag" + + "\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.prot" + + "obuf.EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable" + + "\0228\n\005table\030\003 \001(\0132$.google.privacy.dlp.v2." + + "BigQueryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<." + + "google.privacy.dlp.v2.StatisticalTable.Q" + + "uasiIdentifierFieldB\003\340A\002\022?\n\022relative_fre" + + "quency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + + "ldIdB\003\340A\002\032Y\n\024QuasiIdentifierField\022-\n\005fie" + + "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId" + + "\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017\n\rPrivacyMetric\022[" + + "\n\026numerical_stats_config\030\001 \001(\01329.google." + + "privacy.dlp.v2.PrivacyMetric.NumericalSt" + + "atsConfigH\000\022_\n\030categorical_stats_config\030" + + "\002 \001(\0132;.google.privacy.dlp.v2.PrivacyMet" + + "ric.CategoricalStatsConfigH\000\022S\n\022k_anonym" + + "ity_config\030\003 \001(\01325.google.privacy.dlp.v2" + + ".PrivacyMetric.KAnonymityConfigH\000\022S\n\022l_d" + + "iversity_config\030\004 \001(\01325.google.privacy.d" + + "lp.v2.PrivacyMetric.LDiversityConfigH\000\022\\" + + "\n\027k_map_estimation_config\030\005 \001(\01329.google" + + ".privacy.dlp.v2.PrivacyMetric.KMapEstima" + + "tionConfigH\000\022n\n delta_presence_estimatio" + + "n_config\030\006 \001(\0132B.google.privacy.dlp.v2.P" + + "rivacyMetric.DeltaPresenceEstimationConf" + + "igH\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 " + + "\001(\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026C" + + "ategoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldId\032y\n\020KAnonymi" + + "tyConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037" + + ".google.privacy.dlp.v2.EntityId\032\202\001\n\020LDiv" + + "ersityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google" + + ".privacy.dlp.v2.FieldId\022;\n\023sensitive_att" + + "ribute\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + + "ldId\032\201\006\n\024KMapEstimationConfig\022]\n\tquasi_i" + + "ds\030\001 \003(\0132E.google.privacy.dlp.v2.Privacy" + + "Metric.KMapEstimationConfig.TaggedFieldB" + + "\003\340A\002\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_t" + + "ables\030\003 \003(\0132H.google.privacy.dlp.v2.Priv" + + "acyMetric.KMapEstimationConfig.Auxiliary" + + "Table\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinf" + + "o_type\030\002 \001(\0132\037.google.privacy.dlp.v2.Inf" + + "oTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferre" + + "d\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag" + + "\032\315\002\n\016AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n" + + "\tquasi_ids\030\001 \003(\0132U.google.privacy.dlp.v2" + + ".PrivacyMetric.KMapEstimationConfig.Auxi" + + "liaryTable.QuasiIdFieldB\003\340A\002\022?\n\022relative" + + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001" + + " \001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\n" + + "custom_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstima" + + "tionConfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.p" + + "rivacy.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_cod" + + "e\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.goog" + + "le.privacy.dlp.v2.StatisticalTableB\006\n\004ty" + + "pe\"\301\037\n\034AnalyzeDataSourceRiskDetails\022F\n\030r" + + "equested_privacy_metric\030\001 \001(\0132$.google.p" + + "rivacy.dlp.v2.PrivacyMetric\022D\n\026requested" + + "_source_table\030\002 \001(\0132$.google.privacy.dlp" + + ".v2.BigQueryTable\022j\n\026numerical_stats_res" + + "ult\030\003 \001(\0132H.google.privacy.dlp.v2.Analyz" + + "eDataSourceRiskDetails.NumericalStatsRes" + + "ultH\000\022n\n\030categorical_stats_result\030\004 \001(\0132" + + "J.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.CategoricalStatsResultH\000\022b\n" + + "\022k_anonymity_result\030\005 \001(\0132D.google.priva" + + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + + "AnonymityResultH\000\022b\n\022l_diversity_result\030" + + "\006 \001(\0132D.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetails.LDiversityResultH\000\022k\n" + + "\027k_map_estimation_result\030\007 \001(\0132H.google." + + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" + + "ils.KMapEstimationResultH\000\022}\n delta_pres" + + "ence_estimation_result\030\t \001(\0132Q.google.pr" + + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + + "s.DeltaPresenceEstimationResultH\000\022k\n\021req" + + "uested_options\030\n \001(\0132P.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.Reques" + + "tedRiskAnalysisOptions\032\257\001\n\024NumericalStat" + + "sResult\022/\n\tmin_value\030\001 \001(\0132\034.google.priv" + + "acy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.Value\0225\n\017quantile_va" + + "lues\030\004 \003(\0132\034.google.privacy.dlp.v2.Value" + + "\032\215\003\n\026CategoricalStatsResult\022\225\001\n!value_fr" + + "equency_histogram_buckets\030\005 \003(\0132j.google" + + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" + + "ails.CategoricalStatsResult.CategoricalS" + + "tatsHistogramBucket\032\332\001\n\037CategoricalStats" + + "HistogramBucket\022#\n\033value_frequency_lower" + + "_bound\030\001 \001(\003\022#\n\033value_frequency_upper_bo" + + "und\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket" + + "_values\030\004 \003(\0132%.google.privacy.dlp.v2.Va" + + "lueFrequency\022\032\n\022bucket_value_count\030\005 \001(\003" + + "\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalence_cl" + + "ass_histogram_buckets\030\005 \003(\0132^.google.pri" + + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" + + ".KAnonymityResult.KAnonymityHistogramBuc" + + "ket\032t\n\032KAnonymityEquivalenceClass\0226\n\020qua" + + "si_ids_values\030\001 \003(\0132\034.google.privacy.dlp" + + ".v2.Value\022\036\n\026equivalence_class_size\030\002 \001(" + + "\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"equiv" + + "alence_class_size_lower_bound\030\001 \001(\003\022*\n\"e" + + "quivalence_class_size_upper_bound\030\002 \001(\003\022" + + "\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 " + + "\003(\0132_.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.KAnonymityResult.KAnony" + + "mityEquivalenceClass\022\032\n\022bucket_value_cou" + + "nt\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensit" + + "ive_value_frequency_histogram_buckets\030\005 " + + "\003(\0132^.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.LDiversityResult.LDiver" + + "sityHistogramBucket\032\340\001\n\032LDiversityEquiva" + + "lenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.g" + + "oogle.privacy.dlp.v2.Value\022\036\n\026equivalenc" + + "e_class_size\030\002 \001(\003\022%\n\035num_distinct_sensi" + + "tive_values\030\003 \001(\003\022C\n\024top_sensitive_value" + + "s\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFre" + + "quency\032\242\002\n\031LDiversityHistogramBucket\022-\n%" + + "sensitive_value_frequency_lower_bound\030\001 " + + "\001(\003\022-\n%sensitive_value_frequency_upper_b" + + "ound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucke" + + "t_values\030\004 \003(\0132_.google.privacy.dlp.v2.A" + + "nalyzeDataSourceRiskDetails.LDiversityRe" + + "sult.LDiversityEquivalenceClass\022\032\n\022bucke" + + "t_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimationRe" + + "sult\022\212\001\n\032k_map_estimation_histogram\030\001 \003(" + + "\0132f.google.privacy.dlp.v2.AnalyzeDataSou" + + "rceRiskDetails.KMapEstimationResult.KMap" + + "EstimationHistogramBucket\032r\n\033KMapEstimat" + + "ionQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003" + + "(\0132\034.google.privacy.dlp.v2.Value\022\033\n\023esti" + + "mated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimation" + + "HistogramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025" + + "\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001" + + "(\003\022{\n\rbucket_values\030\006 \003(\0132d.google.priva" + + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + + "MapEstimationResult.KMapEstimationQuasiI" + + "dValues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035" + + "DeltaPresenceEstimationResult\022\245\001\n#delta_" + + "presence_estimation_histogram\030\001 \003(\0132x.go" + + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + + "kDetails.DeltaPresenceEstimationResult.D" + + "eltaPresenceEstimationHistogramBucket\032}\n" + + "$DeltaPresenceEstimationQuasiIdValues\0226\n" + + "\020quasi_ids_values\030\001 \003(\0132\034.google.privacy" + + ".dlp.v2.Value\022\035\n\025estimated_probability\030\002" + + " \001(\001\032\233\002\n&DeltaPresenceEstimationHistogra" + + "mBucket\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max_" + + "probability\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215" + + "\001\n\rbucket_values\030\006 \003(\0132v.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.Delt" + + "aPresenceEstimationResult.DeltaPresenceE" + + "stimationQuasiIdValues\022\032\n\022bucket_value_c" + + "ount\030\007 \001(\003\032`\n\034RequestedRiskAnalysisOptio" + + "ns\022@\n\njob_config\030\001 \001(\0132,.google.privacy." + + "dlp.v2.RiskAnalysisJobConfigB\010\n\006result\"L" + + "\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.google" + + ".privacy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n" + + "\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013float" + + "_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\027" + + "\n\rboolean_value\030\004 \001(\010H\000\0225\n\017timestamp_val" + + "ue\030\005 \001(\0132\032.google.protobuf.TimestampH\000\022," + + "\n\ntime_value\030\006 \001(\0132\026.google.type.TimeOfD" + + "ayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.google.type.D" + + "ateH\000\0223\n\021day_of_week_value\030\010 \001(\0162\026.googl" + + "e.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\022" + + "4\n\tdate_time\030\002 \001(\0132\037.google.privacy.dlp." + + "v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateTi" + + "me\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013d" + + "ay_of_week\030\002 \001(\0162\026.google.type.DayOfWeek" + + "\022$\n\004time\030\003 \001(\0132\026.google.type.TimeOfDay\022;" + + "\n\ttime_zone\030\004 \001(\0132(.google.privacy.dlp.v" + + "2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offse" + + "t_minutes\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031" + + "info_type_transformations\030\001 \001(\0132..google" + + ".privacy.dlp.v2.InfoTypeTransformationsH" + + "\000\022N\n\026record_transformations\030\002 \001(\0132,.goog" + + "le.privacy.dlp.v2.RecordTransformationsH" + + "\000\022Y\n\035transformation_error_handling\030\003 \001(\013" + + "22.google.privacy.dlp.v2.TransformationE" + + "rrorHandlingB\020\n\016transformation\"\205\002\n\033Trans" + + "formationErrorHandling\022T\n\013throw_error\030\001 " + + "\001(\0132=.google.privacy.dlp.v2.Transformati" + + "onErrorHandling.ThrowErrorH\000\022d\n\023leave_un" + + "transformed\030\002 \001(\0132E.google.privacy.dlp.v", + "2.TransformationErrorHandling.LeaveUntra" + + "nsformedH\000\032\014\n\nThrowError\032\024\n\022LeaveUntrans" + + "formedB\006\n\004mode\"\312\007\n\027PrimitiveTransformati" + + "on\022C\n\016replace_config\030\001 \001(\0132).google.priv" + + "acy.dlp.v2.ReplaceValueConfigH\000\022<\n\rredac" + + "t_config\030\002 \001(\0132#.google.privacy.dlp.v2.R" + + "edactConfigH\000\022K\n\025character_mask_config\030\003" + + " \001(\0132*.google.privacy.dlp.v2.CharacterMa" + + "skConfigH\000\022Y\n\035crypto_replace_ffx_fpe_con" + + "fig\030\004 \001(\01320.google.privacy.dlp.v2.Crypto" + + "ReplaceFfxFpeConfigH\000\022V\n\033fixed_size_buck" + + "eting_config\030\005 \001(\0132/.google.privacy.dlp." + + "v2.FixedSizeBucketingConfigH\000\022B\n\020bucketi" + + "ng_config\030\006 \001(\0132&.google.privacy.dlp.v2." + + "BucketingConfigH\000\022Y\n\035replace_with_info_t" + + "ype_config\030\007 \001(\01320.google.privacy.dlp.v2" + + ".ReplaceWithInfoTypeConfigH\000\022A\n\020time_par" + + "t_config\030\010 \001(\0132%.google.privacy.dlp.v2.T" + + "imePartConfigH\000\022E\n\022crypto_hash_config\030\t " + + "\001(\0132\'.google.privacy.dlp.v2.CryptoHashCo" + + "nfigH\000\022C\n\021date_shift_config\030\013 \001(\0132&.goog" + + "le.privacy.dlp.v2.DateShiftConfigH\000\022W\n\033c" + + "rypto_deterministic_config\030\014 \001(\01320.googl" + + "e.privacy.dlp.v2.CryptoDeterministicConf" + + "igH\000\022S\n\031replace_dictionary_config\030\r \001(\0132" + + "..google.privacy.dlp.v2.ReplaceDictionar" + + "yConfigH\000B\020\n\016transformation\"\334\001\n\016TimePart" + + "Config\022G\n\017part_to_extract\030\001 \001(\0162..google" + + ".privacy.dlp.v2.TimePartConfig.TimePart\"" + + "\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSPECIFIED\020\000\022" + + "\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003\022\017" + + "\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOU" + + "R_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto" + + "_key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypt" + + "oKey\"\300\001\n\031CryptoDeterministicConfig\0224\n\ncr" + + "ypto_key\030\001 \001(\0132 .google.privacy.dlp.v2.C" + + "ryptoKey\022<\n\023surrogate_info_type\030\002 \001(\0132\037." + + "google.privacy.dlp.v2.InfoType\022/\n\007contex" + + "t\030\003 \001(\0132\036.google.privacy.dlp.v2.FieldId\"" + + "E\n\022ReplaceValueConfig\022/\n\tnew_value\030\001 \001(\013" + + "2\034.google.privacy.dlp.v2.Value\"q\n\027Replac" + + "eDictionaryConfig\022N\n\tword_list\030\001 \001(\01329.g" + + "oogle.privacy.dlp.v2.CustomInfoType.Dict" + + "ionary.WordListH\000B\006\n\004type\"\033\n\031ReplaceWith" + + "InfoTypeConfig\"\016\n\014RedactConfig\"\266\002\n\rChars" + + "ToIgnore\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_" + + "\n\033common_characters_to_ignore\030\002 \001(\01628.go" + + "ogle.privacy.dlp.v2.CharsToIgnore.Common" + + "CharsToIgnoreH\000\"\227\001\n\023CommonCharsToIgnore\022" + + "&\n\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022" + + "\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020AL" + + "PHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHI" + + "TESPACE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterMas" + + "kConfig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016nu" + + "mber_to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(" + + "\010\022B\n\024characters_to_ignore\030\004 \003(\0132$.google" + + ".privacy.dlp.v2.CharsToIgnore\"\244\001\n\030FixedS" + + "izeBucketingConfig\0226\n\013lower_bound\030\001 \001(\0132" + + "\034.google.privacy.dlp.v2.ValueB\003\340A\002\0226\n\013up" + + "per_bound\030\002 \001(\0132\034.google.privacy.dlp.v2." + + "ValueB\003\340A\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\360\001\n" + + "\017BucketingConfig\022>\n\007buckets\030\001 \003(\0132-.goog" + + "le.privacy.dlp.v2.BucketingConfig.Bucket" + + "\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google.privac" + + "y.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.google.pri" + + "vacy.dlp.v2.Value\022<\n\021replacement_value\030\003" + + " \001(\0132\034.google.privacy.dlp.v2.ValueB\003\340A\002\"" + + "\371\003\n\031CryptoReplaceFfxFpeConfig\0229\n\ncrypto_" + + "key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypto" + + "KeyB\003\340A\002\022/\n\007context\030\002 \001(\0132\036.google.priva" + + "cy.dlp.v2.FieldId\022c\n\017common_alphabet\030\004 \001" + + "(\0162H.google.privacy.dlp.v2.CryptoReplace" + + "FfxFpeConfig.FfxCommonNativeAlphabetH\000\022\031" + + "\n\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005" + + "H\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037.google" + + ".privacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNa" + + "tiveAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHAB" + + "ET_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADEC" + + "IMAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\r" + + "ALPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKe" + + "y\022>\n\ttransient\030\001 \001(\0132).google.privacy.dl" + + "p.v2.TransientCryptoKeyH\000\022>\n\tunwrapped\030\002" + + " \001(\0132).google.privacy.dlp.v2.UnwrappedCr" + + "yptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google." + + "privacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006" + + "source\"\'\n\022TransientCryptoKey\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\002\"&\n\022UnwrappedCryptoKey\022\020\n\003key\030\001 \001" + + "(\014B\003\340A\002\"M\n\023KmsWrappedCryptoKey\022\030\n\013wrappe" + + "d_key\030\001 \001(\014B\003\340A\002\022\034\n\017crypto_key_name\030\002 \001(" + + "\tB\003\340A\002\"\302\001\n\017DateShiftConfig\022\035\n\020upper_boun" + + "d_days\030\001 \001(\005B\003\340A\002\022\035\n\020lower_bound_days\030\002 " + + "\001(\005B\003\340A\002\022/\n\007context\030\003 \001(\0132\036.google.priva" + + "cy.dlp.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 ." + + "google.privacy.dlp.v2.CryptoKeyH\000B\010\n\006met" + + "hod\"\245\002\n\027InfoTypeTransformations\022c\n\017trans" + + "formations\030\001 \003(\0132E.google.privacy.dlp.v2" + + ".InfoTypeTransformations.InfoTypeTransfo" + + "rmationB\003\340A\002\032\244\001\n\026InfoTypeTransformation\022" + + "3\n\ninfo_types\030\001 \003(\0132\037.google.privacy.dlp" + + ".v2.InfoType\022U\n\030primitive_transformation" + + "\030\002 \001(\0132..google.privacy.dlp.v2.Primitive" + + "TransformationB\003\340A\002\"\300\002\n\023FieldTransformat" + + "ion\0223\n\006fields\030\001 \003(\0132\036.google.privacy.dlp" + + ".v2.FieldIdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.go" + + "ogle.privacy.dlp.v2.RecordCondition\022R\n\030p" + + "rimitive_transformation\030\004 \001(\0132..google.p" + + "rivacy.dlp.v2.PrimitiveTransformationH\000\022" + + "S\n\031info_type_transformations\030\005 \001(\0132..goo" + + "gle.privacy.dlp.v2.InfoTypeTransformatio" + + "nsH\000B\020\n\016transformation\"\251\001\n\025RecordTransfo" + + "rmations\022I\n\025field_transformations\030\001 \003(\0132" + + "*.google.privacy.dlp.v2.FieldTransformat" + + "ion\022E\n\023record_suppressions\030\002 \003(\0132(.googl" + + "e.privacy.dlp.v2.RecordSuppression\"N\n\021Re" + + "cordSuppression\0229\n\tcondition\030\001 \001(\0132&.goo" + + "gle.privacy.dlp.v2.RecordCondition\"\334\004\n\017R" + + "ecordCondition\022G\n\013expressions\030\003 \001(\01322.go" + + "ogle.privacy.dlp.v2.RecordCondition.Expr" + + "essions\032\256\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010ope" + + "rator\030\003 \001(\0162).google.privacy.dlp.v2.Rela" + + "tionalOperatorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.Value\032R\n\nConditions\022D" + + "\n\nconditions\030\001 \003(\01320.google.privacy.dlp." + + "v2.RecordCondition.Condition\032\372\001\n\013Express" + + "ions\022\\\n\020logical_operator\030\001 \001(\0162B.google." + + "privacy.dlp.v2.RecordCondition.Expressio" + + "ns.LogicalOperator\022G\n\nconditions\030\003 \001(\01321" + + ".google.privacy.dlp.v2.RecordCondition.C" + + "onditionsH\000\"<\n\017LogicalOperator\022 \n\034LOGICA" + + "L_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004typ" + + "e\"\203\001\n\026TransformationOverview\022\031\n\021transfor" + + "med_bytes\030\002 \001(\003\022N\n\030transformation_summar" + + "ies\030\003 \003(\0132,.google.privacy.dlp.v2.Transf" + + "ormationSummary\"\237\005\n\025TransformationSummar" + + "y\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dl" + + "p.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.google.pr" + + "ivacy.dlp.v2.FieldId\022F\n\016transformation\030\003" + + " \001(\0132..google.privacy.dlp.v2.PrimitiveTr" + + "ansformation\022I\n\025field_transformations\030\005 " + + "\003(\0132*.google.privacy.dlp.v2.FieldTransfo" + + "rmation\022A\n\017record_suppress\030\006 \001(\0132(.googl" + + "e.privacy.dlp.v2.RecordSuppression\022K\n\007re" + + "sults\030\004 \003(\0132:.google.privacy.dlp.v2.Tran" + + "sformationSummary.SummaryResult\022\031\n\021trans" + + "formed_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r\n\005" + + "count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.priva" + + "cy.dlp.v2.TransformationSummary.Transfor" + + "mationResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Tra" + + "nsformationResultCode\022*\n&TRANSFORMATION_" + + "RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t" + + "\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurrence_peri" + + "od_duration\030\001 \001(\0132\031.google.protobuf.Dura" + + "tionH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n\017InspectTe" + + "mplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_nam" + + "e\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022<\n\016inspect_config\030\006 \001(\013" + + "2$.google.privacy.dlp.v2.InspectConfig:\306" + + "\002\352A\302\002\n\"dlp.googleapis.com/InspectTemplat" + + "e\022@organizations/{organization}/inspectT" + + "emplates/{inspect_template}\0226projects/{p" + + "roject}/inspectTemplates/{inspect_templa" + + "te}\022Uorganizations/{organization}/locati" + + "ons/{location}/inspectTemplates/{inspect" + + "_template}\022Kprojects/{project}/locations" + + "/{location}/inspectTemplates/{inspect_te" + + "mplate}\"\346\004\n\022DeidentifyTemplate\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" + + "iption\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" + + "e\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022B\n\021deidentify_config\030\006 \001(\0132\'.google.pri" + + "vacy.dlp.v2.DeidentifyConfig:\341\002\352A\335\002\n%dlp" + + ".googleapis.com/DeidentifyTemplate\022Forga" + + "nizations/{organization}/deidentifyTempl" + + "ates/{deidentify_template}\022\n\013inspec" + + "t_job\030\004 \001(\0132\'.google.privacy.dlp.v2.Insp" + + "ectJobConfigH\000\022;\n\010triggers\030\005 \003(\0132).googl" + + "e.privacy.dlp.v2.JobTrigger.Trigger\0221\n\006e" + + "rrors\030\006 \003(\0132\034.google.privacy.dlp.v2.Erro" + + "rB\003\340A\003\0224\n\013create_time\030\007 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n\rla" + + "st_run_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022=\n\006status\030\n \001(\0162(.google.priv" + + "acy.dlp.v2.JobTrigger.StatusB\003\340A\002\032z\n\007Tri" + + "gger\0223\n\010schedule\030\001 \001(\0132\037.google.privacy." + + "dlp.v2.ScheduleH\000\022/\n\006manual\030\002 \001(\0132\035.goog" + + "le.privacy.dlp.v2.ManualH\000B\t\n\007trigger\"H\n" + + "\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HEALT" + + "HY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035" + + "dlp.googleapis.com/JobTrigger\022,projects/" + + "{project}/jobTriggers/{job_trigger}\022Apro" + + "jects/{project}/locations/{location}/job" + + "Triggers/{job_trigger}B\005\n\003job\"\364\005\n\006Action" + + "\022C\n\rsave_findings\030\001 \001(\0132*.google.privacy" + + ".dlp.v2.Action.SaveFindingsH\000\022@\n\007pub_sub" + + "\030\002 \001(\0132-.google.privacy.dlp.v2.Action.Pu" + + "blishToPubSubH\000\022U\n\027publish_summary_to_cs" + + "cc\030\003 \001(\01322.google.privacy.dlp.v2.Action." + + "PublishSummaryToCsccH\000\022q\n&publish_findin" + + "gs_to_cloud_data_catalog\030\005 \001(\0132?.google." + + "privacy.dlp.v2.Action.PublishFindingsToC" + + "loudDataCatalogH\000\022V\n\027job_notification_em" + + "ails\030\010 \001(\01323.google.privacy.dlp.v2.Actio" + + "n.JobNotificationEmailsH\000\022T\n\026publish_to_" + + "stackdriver\030\t \001(\01322.google.privacy.dlp.v" + + "2.Action.PublishToStackdriverH\000\032Q\n\014SaveF" + + "indings\022A\n\routput_config\030\001 \001(\0132*.google." + + "privacy.dlp.v2.OutputStorageConfig\032 \n\017Pu" + + "blishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishS" + + "ummaryToCscc\032#\n!PublishFindingsToCloudDa" + + "taCatalog\032\027\n\025JobNotificationEmails\032\026\n\024Pu" + + "blishToStackdriverB\010\n\006action\"\313\001\n\034CreateI" + + "nspectTemplateRequest\022:\n\006parent\030\001 \001(\tB*\340" + + "A\002\372A$\022\"dlp.googleapis.com/InspectTemplat" + + "e\022E\n\020inspect_template\030\002 \001(\0132&.google.pri" + + "vacy.dlp.v2.InspectTemplateB\003\340A\002\022\023\n\013temp" + + "late_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\313\001\n\034U" + + "pdateInspectTemplateRequest\0228\n\004name\030\001 \001(" + + "\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectTem" + + "plate\022@\n\020inspect_template\030\002 \001(\0132&.google" + + ".privacy.dlp.v2.InspectTemplate\022/\n\013updat" + + "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + + "\"U\n\031GetInspectTemplateRequest\0228\n\004name\030\001 " + + "\001(\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectT" + + "emplate\"\247\001\n\033ListInspectTemplatesRequest\022" + + ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis." + + "com/InspectTemplate\022\022\n\npage_token\030\002 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013" + + "location_id\030\005 \001(\t\"z\n\034ListInspectTemplate" + + "sResponse\022A\n\021inspect_templates\030\001 \003(\0132&.g" + + "oogle.privacy.dlp.v2.InspectTemplate\022\027\n\017" + + "next_page_token\030\002 \001(\t\"X\n\034DeleteInspectTe" + + "mplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp" + + ".googleapis.com/InspectTemplate\"\266\001\n\027Crea" + + "teJobTriggerRequest\0225\n\006parent\030\001 \001(\tB%\340A\002" + + "\372A\037\022\035dlp.googleapis.com/JobTrigger\022;\n\013jo" + + "b_trigger\030\002 \001(\0132!.google.privacy.dlp.v2." + + "JobTriggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013l" + + "ocation_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRe" + + "quest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googlea" + + "pis.com/JobTrigger\"\267\001\n\027UpdateJobTriggerR" + + "equest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.google" + + "apis.com/JobTrigger\0226\n\013job_trigger\030\002 \001(\013" + + "2!.google.privacy.dlp.v2.JobTrigger\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001" + + "(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigge" + + "r\"\366\001\n\023CreateDlpJobRequest\0221\n\006parent\030\001 \001(" + + "\tB!\340A\002\372A\033\022\031dlp.googleapis.com/DlpJob\022>\n\013" + + "inspect_job\030\002 \001(\0132\'.google.privacy.dlp.v" + + "2.InspectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132," + + ".google.privacy.dlp.v2.RiskAnalysisJobCo" + + "nfigH\000\022\016\n\006job_id\030\004 \001(\t\022\023\n\013location_id\030\005 " + + "\001(\tB\005\n\003job\"\336\001\n\026ListJobTriggersRequest\0225\n" + + "\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.co" + + "m/JobTrigger\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage" + + "_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030" + + "\005 \001(\t\022/\n\004type\030\006 \001(\0162!.google.privacy.dlp" + + ".v2.DlpJobType\022\023\n\013location_id\030\007 \001(\t\"k\n\027L" + + "istJobTriggersResponse\0227\n\014job_triggers\030\001" + + " \003(\0132!.google.privacy.dlp.v2.JobTrigger\022" + + "\027\n\017next_page_token\030\002 \001(\t\"N\n\027DeleteJobTri" + + "ggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.g" + + "oogleapis.com/JobTrigger\"\335\001\n\020InspectJobC" + + "onfig\022<\n\016storage_config\030\001 \001(\0132$.google.p" + + "rivacy.dlp.v2.StorageConfig\022<\n\016inspect_c" + + "onfig\030\002 \001(\0132$.google.privacy.dlp.v2.Insp" + + "ectConfig\022\035\n\025inspect_template_name\030\003 \001(\t" + + "\022.\n\007actions\030\004 \003(\0132\035.google.privacy.dlp.v" + + "2.Action\"\353\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004typ" + + "e\030\002 \001(\0162!.google.privacy.dlp.v2.DlpJobTy" + + "pe\0225\n\005state\030\003 \001(\0162&.google.privacy.dlp.v" + + "2.DlpJob.JobState\022K\n\014risk_details\030\004 \001(\0132" + + "3.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetailsH\000\022J\n\017inspect_details\030\005 \001(\0132" + + "/.google.privacy.dlp.v2.InspectDataSourc" + + "eDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032.google" + + ".protobuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132" + + "\032.google.protobuf.Timestamp\022,\n\010end_time\030" + + "\010 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020job" + + "_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.go" + + "ogle.privacy.dlp.v2.Error\"o\n\010JobState\022\031\n" + + "\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n" + + "\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FA" + + "ILED\020\005\022\n\n\006ACTIVE\020\006:\177\352A|\n\031dlp.googleapis." + + "com/DlpJob\022$projects/{project}/dlpJobs/{" + + "dlp_job}\0229projects/{project}/locations/{" + + "location}/dlpJobs/{dlp_job}B\t\n\007details\"C" + + "\n\020GetDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + + "\n\031dlp.googleapis.com/DlpJob\"\326\001\n\022ListDlpJ" + + "obsRequest\0221\n\006parent\030\004 \001(\tB!\340A\002\372A\033\022\031dlp." + + "googleapis.com/DlpJob\022\016\n\006filter\030\001 \001(\t\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004" + + "type\030\005 \001(\0162!.google.privacy.dlp.v2.DlpJo" + + "bType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030\007" + + " \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(" + + "\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017next" + + "_page_token\030\002 \001(\t\"F\n\023CancelDlpJobRequest" + + "\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.c" + + "om/DlpJob\"F\n\023FinishDlpJobRequest\022/\n\004name" + + "\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJo" + + "b\"F\n\023DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB!" + + "\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037Cr" + + "eateDeidentifyTemplateRequest\022=\n\006parent\030" + + "\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deiden" + + "tifyTemplate\022K\n\023deidentify_template\030\002 \001(" + + "\0132).google.privacy.dlp.v2.DeidentifyTemp" + + "lateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013locati" + + "on_id\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplate" + + "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googl" + + "eapis.com/DeidentifyTemplate\022F\n\023deidenti" + + "fy_template\030\002 \001(\0132).google.privacy.dlp.v" + + "2.DeidentifyTemplate\022/\n\013update_mask\030\003 \001(" + + "\0132\032.google.protobuf.FieldMask\"[\n\034GetDeid" + + "entifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + + "\372A\'\n%dlp.googleapis.com/DeidentifyTempla" + + "te\"\255\001\n\036ListDeidentifyTemplatesRequest\022=\n" + + "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.co" + + "m/DeidentifyTemplate\022\022\n\npage_token\030\002 \001(\t" + + "\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n" + + "\013location_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTem" + + "platesResponse\022G\n\024deidentify_templates\030\001" + + " \003(\0132).google.privacy.dlp.v2.DeidentifyT" + + "emplate\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037Dele" + + "teDeidentifyTemplateRequest\022;\n\004name\030\001 \001(" + + "\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deidentify" + + "Template\"\364\001\n\033LargeCustomDictionaryConfig" + + "\022<\n\013output_path\030\001 \001(\0132\'.google.privacy.d" + + "lp.v2.CloudStoragePath\022L\n\026cloud_storage_" + + "file_set\030\002 \001(\0132*.google.privacy.dlp.v2.C" + + "loudStorageFileSetH\000\022?\n\017big_query_field\030" + + "\003 \001(\0132$.google.privacy.dlp.v2.BigQueryFi" + + "eldH\000B\010\n\006source\"8\n\032LargeCustomDictionary" + + "Stats\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024St" + + "oredInfoTypeConfig\022\024\n\014display_name\030\001 \001(\t" + + "\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_di" + + "ctionary\030\003 \001(\01322.google.privacy.dlp.v2.L" + + "argeCustomDictionaryConfigH\000\022F\n\ndictiona" + + "ry\030\004 \001(\01320.google.privacy.dlp.v2.CustomI" + + "nfoType.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.go" + + "ogle.privacy.dlp.v2.CustomInfoType.Regex" + + "H\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027lar" + + "ge_custom_dictionary\030\001 \001(\01321.google.priv" + + "acy.dlp.v2.LargeCustomDictionaryStatsH\000B" + + "\006\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006con" + + "fig\030\001 \001(\0132+.google.privacy.dlp.v2.Stored" + + "InfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*" + + ".google.privacy.dlp.v2.StoredInfoTypeSta" + + "te\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp." + + "v2.Error\0229\n\005stats\030\005 \001(\0132*.google.privacy" + + ".dlp.v2.StoredInfoTypeStats\"\361\003\n\016StoredIn" + + "foType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030" + + "\002 \001(\0132,.google.privacy.dlp.v2.StoredInfo" + + "TypeVersion\022F\n\020pending_versions\030\003 \003(\0132,." + + "google.privacy.dlp.v2.StoredInfoTypeVers" + + "ion:\301\002\352A\275\002\n!dlp.googleapis.com/StoredInf" + + "oType\022?organizations/{organization}/stor" + + "edInfoTypes/{stored_info_type}\0225projects" + + "/{project}/storedInfoTypes/{stored_info_" + + "type}\022Torganizations/{organization}/loca" + + "tions/{location}/storedInfoTypes/{stored" + + "_info_type}\022Jprojects/{project}/location" + + "s/{location}/storedInfoTypes/{stored_inf" + + "o_type}\"\314\001\n\033CreateStoredInfoTypeRequest\022" + + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis." + + "com/StoredInfoType\022@\n\006config\030\002 \001(\0132+.goo" + + "gle.privacy.dlp.v2.StoredInfoTypeConfigB" + + "\003\340A\002\022\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013loc" + + "ation_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoTypeR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.google" + + "apis.com/StoredInfoType\022;\n\006config\030\002 \001(\0132" + + "+.google.privacy.dlp.v2.StoredInfoTypeCo" + + "nfig\022/\n\013update_mask\030\003 \001(\0132\032.google.proto" + + "buf.FieldMask\"S\n\030GetStoredInfoTypeReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis." + + "com/StoredInfoType\"\245\001\n\032ListStoredInfoTyp" + + "esRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.g" + + "oogleapis.com/StoredInfoType\022\022\n\npage_tok" + + "en\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030" + + "\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"x\n\033ListStored" + + "InfoTypesResponse\022@\n\021stored_info_types\030\001" + + " \003(\0132%.google.privacy.dlp.v2.StoredInfoT" + + "ype\022\027\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteSt" + + "oredInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + + "#\n!dlp.googleapis.com/StoredInfoType\"\224\001\n", + "\036HybridInspectJobTriggerRequest\0223\n\004name\030" + + "\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTri" + + "gger\022=\n\013hybrid_item\030\003 \001(\0132(.google.priva" + + "cy.dlp.v2.HybridContentItem\"\214\001\n\032HybridIn" + + "spectDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + + "\n\031dlp.googleapis.com/DlpJob\022=\n\013hybrid_it" + + "em\030\003 \001(\0132(.google.privacy.dlp.v2.HybridC" + + "ontentItem\"\213\001\n\021HybridContentItem\0220\n\004item" + + "\030\001 \001(\0132\".google.privacy.dlp.v2.ContentIt" + + "em\022D\n\017finding_details\030\002 \001(\0132+.google.pri" + + "vacy.dlp.v2.HybridFindingDetails\"\260\002\n\024Hyb" + + "ridFindingDetails\022;\n\021container_details\030\001" + + " \001(\0132 .google.privacy.dlp.v2.Container\022\023" + + "\n\013file_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022" + + ":\n\rtable_options\030\004 \001(\0132#.google.privacy." + + "dlp.v2.TableOptions\022G\n\006labels\030\005 \003(\01327.go" + + "ogle.privacy.dlp.v2.HybridFindingDetails" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectResp" + + "onse*\273\001\n\022RelationalOperator\022#\n\037RELATIONA" + + "L_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020" + + "\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLE" + + "SS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n" + + "\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014M" + + "atchingType\022\035\n\031MATCHING_TYPE_UNSPECIFIED" + + "\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATC" + + "HING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TY" + + "PE_INVERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023C" + + "ONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021" + + "\n\rCONTENT_IMAGE\020\002*B\n\014MetadataType\022\034\n\030MET" + + "ADATATYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE_METAD" + + "ATA\020\002*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYP" + + "E_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANA" + + "LYSIS\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UN" + + "SPECIFIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANA" + + "LYSIS_JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"ST" + + "ORED_INFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PE" + + "NDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALI" + + "D\020\0042\240L\n\nDlpService\022\333\001\n\016InspectContent\022,." + + "google.privacy.dlp.v2.InspectContentRequ" + + "est\032-.google.privacy.dlp.v2.InspectConte" + + "ntResponse\"l\202\323\344\223\002f\"\'/v2/{parent=projects" + + "/*}/content:inspect:\001*Z8\"3/v2/{parent=pr" + + "ojects/*/locations/*}/content:inspect:\001*" + + "\022\314\001\n\013RedactImage\022).google.privacy.dlp.v2" + + ".RedactImageRequest\032*.google.privacy.dlp" + + ".v2.RedactImageResponse\"f\202\323\344\223\002`\"$/v2/{pa" + + "rent=projects/*}/image:redact:\001*Z5\"0/v2/" + + "{parent=projects/*/locations/*}/image:re" + + "dact:\001*\022\352\001\n\021DeidentifyContent\022/.google.p" + + "rivacy.dlp.v2.DeidentifyContentRequest\0320" + + ".google.privacy.dlp.v2.DeidentifyContent" + + "Response\"r\202\323\344\223\002l\"*/v2/{parent=projects/*" + + "}/content:deidentify:\001*Z;\"6/v2/{parent=p" + + "rojects/*/locations/*}/content:deidentif" + + "y:\001*\022\352\001\n\021ReidentifyContent\022/.google.priv" + + "acy.dlp.v2.ReidentifyContentRequest\0320.go" + + "ogle.privacy.dlp.v2.ReidentifyContentRes" + + "ponse\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/c" + + "ontent:reidentify:\001*Z;\"6/v2/{parent=proj" + + "ects/*/locations/*}/content:reidentify:\001" + + "*\022\260\001\n\rListInfoTypes\022+.google.privacy.dlp" + + ".v2.ListInfoTypesRequest\032,.google.privac" + + "y.dlp.v2.ListInfoTypesResponse\"D\202\323\344\223\0025\022\r" + + "/v2/infoTypesZ$\022\"/v2/{parent=locations/*" + + "}/infoTypes\332A\006parent\022\364\002\n\025CreateInspectTe" + + "mplate\0223.google.privacy.dlp.v2.CreateIns" + + "pectTemplateRequest\032&.google.privacy.dlp" + + ".v2.InspectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{pare" + + "nt=organizations/*}/inspectTemplates:\001*Z" + + ">\"9/v2/{parent=organizations/*/locations" + + "/*}/inspectTemplates:\001*Z-\"(/v2/{parent=p" + + "rojects/*}/inspectTemplates:\001*Z9\"4/v2/{p" + + "arent=projects/*/locations/*}/inspectTem" + + "plates:\001*\332A\027parent,inspect_template\022\376\002\n\025" + + "UpdateInspectTemplate\0223.google.privacy.d" + + "lp.v2.UpdateInspectTemplateRequest\032&.goo" + + "gle.privacy.dlp.v2.InspectTemplate\"\207\002\202\323\344" + + "\223\002\334\0012-/v2/{name=organizations/*/inspectT" + + "emplates/*}:\001*Z>29/v2/{name=organization" + + "s/*/locations/*/inspectTemplates/*}:\001*Z-" + + "2(/v2/{name=projects/*/inspectTemplates/" + + "*}:\001*Z924/v2/{name=projects/*/locations/" + + "*/inspectTemplates/*}:\001*\332A!name,inspect_" + + "template,update_mask\022\317\002\n\022GetInspectTempl" + + "ate\0220.google.privacy.dlp.v2.GetInspectTe" + + "mplateRequest\032&.google.privacy.dlp.v2.In" + + "spectTemplate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organ" + + "izations/*/inspectTemplates/*}Z;\0229/v2/{n" + + "ame=organizations/*/locations/*/inspectT" + + "emplates/*}Z*\022(/v2/{name=projects/*/insp" + + "ectTemplates/*}Z6\0224/v2/{name=projects/*/" + + "locations/*/inspectTemplates/*}\332A\004name\022\342" + + "\002\n\024ListInspectTemplates\0222.google.privacy" + + ".dlp.v2.ListInspectTemplatesRequest\0323.go" + + "ogle.privacy.dlp.v2.ListInspectTemplates" + + "Response\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organiza" + + "tions/*}/inspectTemplatesZ;\0229/v2/{parent" + + "=organizations/*/locations/*}/inspectTem" + + "platesZ*\022(/v2/{parent=projects/*}/inspec" + + "tTemplatesZ6\0224/v2/{parent=projects/*/loc" + + "ations/*}/inspectTemplates\332A\006parent\022\305\002\n\025" + + "DeleteInspectTemplate\0223.google.privacy.d" + + "lp.v2.DeleteInspectTemplateRequest\032\026.goo" + + "gle.protobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=" + + "organizations/*/inspectTemplates/*}Z;*9/" + + "v2/{name=organizations/*/locations/*/ins" + + "pectTemplates/*}Z**(/v2/{name=projects/*" + + "/inspectTemplates/*}Z6*4/v2/{name=projec" + + "ts/*/locations/*/inspectTemplates/*}\332A\004n" + + "ame\022\214\003\n\030CreateDeidentifyTemplate\0226.googl" + + "e.privacy.dlp.v2.CreateDeidentifyTemplat" + + "eRequest\032).google.privacy.dlp.v2.Deident" + + "ifyTemplate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organ" + + "izations/*}/deidentifyTemplates:\001*ZA\"\022\022*" + + "\"9/" + + "v2/{name=projects/*/locations/*/dlpJobs/" + + "*}:hybridInspect:\001*\332A\004name\022\221\001\n\014FinishDlp" + + "Job\022*.google.privacy.dlp.v2.FinishDlpJob" + + "Request\032\026.google.protobuf.Empty\"=\202\323\344\223\0027\"" + + "2/v2/{name=projects/*/locations/*/dlpJob" + + "s/*}:finish:\001*\032F\312A\022dlp.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\372\002\n\031com.google.privacy.dlp.v2B\010Dl" + + "pProtoP\001Z8google.golang.org/genproto/goo" + + "gleapis/privacy/dlp/v2;dlp\252\002\023Google.Clou" + + "d.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google:" + + ":Cloud::Dlp::V2\352Ar\n\035dlp.googleapis.com/D" + + "lpContent\022\035projects/{project}/dlpContent" + + "\0222projects/{project}/locations/{location" + + "}/dlpContent\352A\\\n\'dlp.googleapis.com/Orga" + + "nizationLocation\0221organizations/{organiz" + + "ation}/locations/{location}b\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.privacy.dlp.v2.DlpStorage.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor, + new java.lang.String[] { + "InfoTypes", + }); + internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor, + new java.lang.String[] { + "Dictionary", "Regex", "ExcludeInfoTypes", "MatchingType", "Type", + }); + internal_static_google_privacy_dlp_v2_InspectionRule_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectionRule_descriptor, + new java.lang.String[] { + "HotwordRule", "ExclusionRule", "Type", + }); + internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor, + new java.lang.String[] { + "InfoTypes", "Rules", + }); + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor, + new java.lang.String[] { + "InfoTypes", + "MinLikelihood", + "Limits", + "IncludeQuote", + "ExcludeInfoTypes", + "CustomInfoTypes", + "ContentOptions", + "RuleSet", + }); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor = + internal_static_google_privacy_dlp_v2_InspectConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor, + new java.lang.String[] { + "MaxFindingsPerItem", "MaxFindingsPerRequest", "MaxFindingsPerInfoType", + }); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor = + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor, + new java.lang.String[] { + "InfoType", "MaxFindings", + }); + internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_privacy_dlp_v2_ByteContentItem_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ByteContentItem_descriptor, + new java.lang.String[] { + "Type", "Data", + }); + internal_static_google_privacy_dlp_v2_ContentItem_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_privacy_dlp_v2_ContentItem_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ContentItem_descriptor, + new java.lang.String[] { + "Value", "Table", "ByteItem", "DataItem", + }); + internal_static_google_privacy_dlp_v2_Table_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Table_descriptor, + new java.lang.String[] { + "Headers", "Rows", + }); + internal_static_google_privacy_dlp_v2_Table_Row_descriptor = + internal_static_google_privacy_dlp_v2_Table_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Table_Row_descriptor, + new java.lang.String[] { + "Values", + }); + internal_static_google_privacy_dlp_v2_InspectResult_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectResult_descriptor, + new java.lang.String[] { + "Findings", "FindingsTruncated", + }); + internal_static_google_privacy_dlp_v2_Finding_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Finding_descriptor, + new java.lang.String[] { + "Name", + "Quote", + "InfoType", + "Likelihood", + "Location", + "CreateTime", + "QuoteInfo", + "ResourceName", + "TriggerName", + "Labels", + "JobCreateTime", + "JobName", + "FindingId", + }); + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_Finding_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_privacy_dlp_v2_Location_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Location_descriptor, + new java.lang.String[] { + "ByteRange", "CodepointRange", "ContentLocations", "Container", + }); + internal_static_google_privacy_dlp_v2_ContentLocation_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ContentLocation_descriptor, + new java.lang.String[] { + "ContainerName", + "RecordLocation", + "ImageLocation", + "DocumentLocation", + "MetadataLocation", + "ContainerTimestamp", + "ContainerVersion", + "Location", + }); + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor, + new java.lang.String[] { + "Type", "StorageLabel", "Label", + }); + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor, + new java.lang.String[] { + "Key", + }); + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor, + new java.lang.String[] { + "FileOffset", + }); + internal_static_google_privacy_dlp_v2_RecordLocation_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordLocation_descriptor, + new java.lang.String[] { + "RecordKey", "FieldId", "TableLocation", + }); + internal_static_google_privacy_dlp_v2_TableLocation_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableLocation_descriptor, + new java.lang.String[] { + "RowIndex", + }); + internal_static_google_privacy_dlp_v2_Container_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Container_descriptor, + new java.lang.String[] { + "Type", "ProjectId", "FullPath", "RootPath", "RelativePath", "UpdateTime", "Version", + }); + internal_static_google_privacy_dlp_v2_Range_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Range_descriptor, + new java.lang.String[] { + "Start", "End", + }); + internal_static_google_privacy_dlp_v2_ImageLocation_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageLocation_descriptor, + new java.lang.String[] { + "BoundingBoxes", + }); + internal_static_google_privacy_dlp_v2_BoundingBox_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BoundingBox_descriptor, + new java.lang.String[] { + "Top", "Left", "Width", "Height", + }); + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor, + new java.lang.String[] { + "Parent", + "LocationId", + "InspectConfig", + "ImageRedactionConfigs", + "IncludeFindings", + "ByteItem", + }); + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor = + internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor, + new java.lang.String[] { + "InfoType", "RedactAllText", "RedactionColor", "Target", + }); + internal_static_google_privacy_dlp_v2_Color_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Color_descriptor, + new java.lang.String[] { + "Red", "Green", "Blue", + }); + internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor, + new java.lang.String[] { + "RedactedImage", "ExtractedText", "InspectResult", + }); + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor, + new java.lang.String[] { + "Parent", + "DeidentifyConfig", + "InspectConfig", + "Item", + "InspectTemplateName", + "DeidentifyTemplateName", + "LocationId", + }); + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor, + new java.lang.String[] { + "Item", "Overview", + }); + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor, + new java.lang.String[] { + "Parent", + "ReidentifyConfig", + "InspectConfig", + "Item", + "InspectTemplateName", + "ReidentifyTemplateName", + "LocationId", + }); + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor, + new java.lang.String[] { + "Item", "Overview", + }); + internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor, + new java.lang.String[] { + "Parent", "InspectConfig", "Item", "InspectTemplateName", "LocationId", + }); + internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor, + new java.lang.String[] { + "Result", + }); + internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor, + new java.lang.String[] { + "Table", "OutputSchema", "Type", + }); + internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor, + new java.lang.String[] { + "InfoType", "Count", + }); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor, + new java.lang.String[] { + "RequestedOptions", "Result", + }); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor = + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor, + new java.lang.String[] { + "SnapshotInspectTemplate", "JobConfig", + }); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor = + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor, + new java.lang.String[] { + "ProcessedBytes", "TotalEstimatedBytes", "InfoTypeStats", "HybridStats", + }); + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor, + new java.lang.String[] { + "ProcessedCount", "AbortedCount", "PendingCount", + }); + internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "SupportedBy", "Description", + }); + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor, + new java.lang.String[] { + "Parent", "LanguageCode", "Filter", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor, + new java.lang.String[] { + "InfoTypes", + }); + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor, + new java.lang.String[] { + "PrivacyMetric", "SourceTable", "Actions", + }); + internal_static_google_privacy_dlp_v2_QuasiId_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_QuasiId_descriptor, + new java.lang.String[] { + "Field", "InfoType", "CustomTag", "Inferred", "Tag", + }); + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor, + new java.lang.String[] { + "Table", "QuasiIds", "RelativeFrequency", + }); + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor = + internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor, + new java.lang.String[] { + "Field", "CustomTag", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor, + new java.lang.String[] { + "NumericalStatsConfig", + "CategoricalStatsConfig", + "KAnonymityConfig", + "LDiversityConfig", + "KMapEstimationConfig", + "DeltaPresenceEstimationConfig", + "Type", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor, + new java.lang.String[] { + "Field", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor, + new java.lang.String[] { + "Field", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor, + new java.lang.String[] { + "QuasiIds", "EntityId", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor, + new java.lang.String[] { + "QuasiIds", "SensitiveAttribute", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor, + new java.lang.String[] { + "QuasiIds", "RegionCode", "AuxiliaryTables", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor, + new java.lang.String[] { + "Field", "InfoType", "CustomTag", "Inferred", "Tag", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor, + new java.lang.String[] { + "Table", "QuasiIds", "RelativeFrequency", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor, + new java.lang.String[] { + "Field", "CustomTag", + }); + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor = + internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor.getNestedTypes().get(5); + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor, + new java.lang.String[] { + "QuasiIds", "RegionCode", "AuxiliaryTables", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor, + new java.lang.String[] { + "RequestedPrivacyMetric", + "RequestedSourceTable", + "NumericalStatsResult", + "CategoricalStatsResult", + "KAnonymityResult", + "LDiversityResult", + "KMapEstimationResult", + "DeltaPresenceEstimationResult", + "RequestedOptions", + "Result", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_NumericalStatsResult_descriptor, + new java.lang.String[] { + "MinValue", "MaxValue", "QuantileValues", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor, + new java.lang.String[] { + "ValueFrequencyHistogramBuckets", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket_descriptor, + new java.lang.String[] { + "ValueFrequencyLowerBound", + "ValueFrequencyUpperBound", + "BucketSize", + "BucketValues", + "BucketValueCount", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(2); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor, + new java.lang.String[] { + "EquivalenceClassHistogramBuckets", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass_descriptor, + new java.lang.String[] { + "QuasiIdsValues", "EquivalenceClassSize", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket_descriptor, + new java.lang.String[] { + "EquivalenceClassSizeLowerBound", + "EquivalenceClassSizeUpperBound", + "BucketSize", + "BucketValues", + "BucketValueCount", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(3); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor, + new java.lang.String[] { + "SensitiveValueFrequencyHistogramBuckets", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass_descriptor, + new java.lang.String[] { + "QuasiIdsValues", + "EquivalenceClassSize", + "NumDistinctSensitiveValues", + "TopSensitiveValues", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket_descriptor, + new java.lang.String[] { + "SensitiveValueFrequencyLowerBound", + "SensitiveValueFrequencyUpperBound", + "BucketSize", + "BucketValues", + "BucketValueCount", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(4); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor, + new java.lang.String[] { + "KMapEstimationHistogram", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues_descriptor, + new java.lang.String[] { + "QuasiIdsValues", "EstimatedAnonymity", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket_descriptor, + new java.lang.String[] { + "MinAnonymity", "MaxAnonymity", "BucketSize", "BucketValues", "BucketValueCount", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(5); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor, + new java.lang.String[] { + "DeltaPresenceEstimationHistogram", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues_descriptor, + new java.lang.String[] { + "QuasiIdsValues", "EstimatedProbability", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket_descriptor, + new java.lang.String[] { + "MinProbability", "MaxProbability", "BucketSize", "BucketValues", "BucketValueCount", + }); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor = + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor + .getNestedTypes() + .get(6); + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_RequestedRiskAnalysisOptions_descriptor, + new java.lang.String[] { + "JobConfig", + }); + internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor, + new java.lang.String[] { + "Value", "Count", + }); + internal_static_google_privacy_dlp_v2_Value_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Value_descriptor, + new java.lang.String[] { + "IntegerValue", + "FloatValue", + "StringValue", + "BooleanValue", + "TimestampValue", + "TimeValue", + "DateValue", + "DayOfWeekValue", + "Type", + }); + internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor, + new java.lang.String[] { + "DateTime", "ParsedQuote", + }); + internal_static_google_privacy_dlp_v2_DateTime_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DateTime_descriptor, + new java.lang.String[] { + "Date", "DayOfWeek", "Time", "TimeZone", + }); + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor = + internal_static_google_privacy_dlp_v2_DateTime_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DateTime_TimeZone_descriptor, + new java.lang.String[] { + "OffsetMinutes", + }); + internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor, + new java.lang.String[] { + "InfoTypeTransformations", + "RecordTransformations", + "TransformationErrorHandling", + "Transformation", + }); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor, + new java.lang.String[] { + "ThrowError", "LeaveUntransformed", "Mode", + }); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor = + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor = + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor, + new java.lang.String[] { + "ReplaceConfig", + "RedactConfig", + "CharacterMaskConfig", + "CryptoReplaceFfxFpeConfig", + "FixedSizeBucketingConfig", + "BucketingConfig", + "ReplaceWithInfoTypeConfig", + "TimePartConfig", + "CryptoHashConfig", + "DateShiftConfig", + "CryptoDeterministicConfig", + "ReplaceDictionaryConfig", + "Transformation", + }); + internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor, + new java.lang.String[] { + "PartToExtract", + }); + internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor, + new java.lang.String[] { + "CryptoKey", + }); + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor, + new java.lang.String[] { + "CryptoKey", "SurrogateInfoType", "Context", + }); + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor, + new java.lang.String[] { + "NewValue", + }); + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor, + new java.lang.String[] { + "WordList", "Type", + }); + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_RedactConfig_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RedactConfig_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor, + new java.lang.String[] { + "CharactersToSkip", "CommonCharactersToIgnore", "Characters", + }); + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor, + new java.lang.String[] { + "MaskingCharacter", "NumberToMask", "ReverseOrder", "CharactersToIgnore", + }); + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor, + new java.lang.String[] { + "LowerBound", "UpperBound", "BucketSize", + }); + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor, + new java.lang.String[] { + "Buckets", + }); + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor = + internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BucketingConfig_Bucket_descriptor, + new java.lang.String[] { + "Min", "Max", "ReplacementValue", + }); + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor, + new java.lang.String[] { + "CryptoKey", + "Context", + "CommonAlphabet", + "CustomAlphabet", + "Radix", + "SurrogateInfoType", + "Alphabet", + }); + internal_static_google_privacy_dlp_v2_CryptoKey_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CryptoKey_descriptor, + new java.lang.String[] { + "Transient", "Unwrapped", "KmsWrapped", "Source", + }); + internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor, + new java.lang.String[] { + "Key", + }); + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor, + new java.lang.String[] { + "WrappedKey", "CryptoKeyName", + }); + internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor, + new java.lang.String[] { + "UpperBoundDays", "LowerBoundDays", "Context", "CryptoKey", "Method", + }); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor, + new java.lang.String[] { + "Transformations", + }); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor = + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor, + new java.lang.String[] { + "InfoTypes", "PrimitiveTransformation", + }); + internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor, + new java.lang.String[] { + "Fields", + "Condition", + "PrimitiveTransformation", + "InfoTypeTransformations", + "Transformation", + }); + internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor, + new java.lang.String[] { + "FieldTransformations", "RecordSuppressions", + }); + internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor, + new java.lang.String[] { + "Condition", + }); + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor, + new java.lang.String[] { + "Expressions", + }); + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor = + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor, + new java.lang.String[] { + "Field", "Operator", "Value", + }); + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor = + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor, + new java.lang.String[] { + "Conditions", + }); + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor = + internal_static_google_privacy_dlp_v2_RecordCondition_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor, + new java.lang.String[] { + "LogicalOperator", "Conditions", "Type", + }); + internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor, + new java.lang.String[] { + "TransformedBytes", "TransformationSummaries", + }); + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor, + new java.lang.String[] { + "InfoType", + "Field", + "Transformation", + "FieldTransformations", + "RecordSuppress", + "Results", + "TransformedBytes", + }); + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor = + internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor, + new java.lang.String[] { + "Count", "Code", "Details", + }); + internal_static_google_privacy_dlp_v2_Schedule_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Schedule_descriptor, + new java.lang.String[] { + "RecurrencePeriodDuration", "Option", + }); + internal_static_google_privacy_dlp_v2_Manual_descriptor = + getDescriptor().getMessageTypes().get(74); + internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Manual_descriptor, new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor = + getDescriptor().getMessageTypes().get(75); + internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "InspectConfig", + }); + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "DeidentifyConfig", + }); + internal_static_google_privacy_dlp_v2_Error_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Error_descriptor, + new java.lang.String[] { + "Details", "Timestamps", + }); + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Description", + "InspectJob", + "Triggers", + "Errors", + "CreateTime", + "UpdateTime", + "LastRunTime", + "Status", + "Job", + }); + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor = + internal_static_google_privacy_dlp_v2_JobTrigger_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor, + new java.lang.String[] { + "Schedule", "Manual", "Trigger", + }); + internal_static_google_privacy_dlp_v2_Action_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_descriptor, + new java.lang.String[] { + "SaveFindings", + "PubSub", + "PublishSummaryToCscc", + "PublishFindingsToCloudDataCatalog", + "JobNotificationEmails", + "PublishToStackdriver", + "Action", + }); + internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Action_SaveFindings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor, + new java.lang.String[] { + "OutputConfig", + }); + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishToPubSub_descriptor, + new java.lang.String[] { + "Topic", + }); + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishFindingsToCloudDataCatalog_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor, + new java.lang.String[] { + "Parent", "InspectTemplate", "TemplateId", "LocationId", + }); + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor, + new java.lang.String[] { + "Name", "InspectTemplate", "UpdateMask", + }); + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(82); + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor = + getDescriptor().getMessageTypes().get(83); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor = + getDescriptor().getMessageTypes().get(84); + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor, + new java.lang.String[] { + "InspectTemplates", "NextPageToken", + }); + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(85); + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(86); + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor, + new java.lang.String[] { + "Parent", "JobTrigger", "TriggerId", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(87); + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(88); + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, + new java.lang.String[] { + "Name", "JobTrigger", "UpdateMask", + }); + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(89); + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(90); + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, + new java.lang.String[] { + "Parent", "InspectJob", "RiskJob", "JobId", "LocationId", "Job", + }); + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = + getDescriptor().getMessageTypes().get(91); + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "Type", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = + getDescriptor().getMessageTypes().get(92); + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, + new java.lang.String[] { + "JobTriggers", "NextPageToken", + }); + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(93); + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = + getDescriptor().getMessageTypes().get(94); + internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, + new java.lang.String[] { + "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", + }); + internal_static_google_privacy_dlp_v2_DlpJob_descriptor = + getDescriptor().getMessageTypes().get(95); + internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DlpJob_descriptor, + new java.lang.String[] { + "Name", + "Type", + "State", + "RiskDetails", + "InspectDetails", + "CreateTime", + "StartTime", + "EndTime", + "JobTriggerName", + "Errors", + "Details", + }); + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(96); + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(97); + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(98); + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, + new java.lang.String[] { + "Jobs", "NextPageToken", + }); + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(99); + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(100); + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(101); + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(102); + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { + "Parent", "DeidentifyTemplate", "TemplateId", "LocationId", + }); + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(103); + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { + "Name", "DeidentifyTemplate", "UpdateMask", + }); + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(104); + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = + getDescriptor().getMessageTypes().get(105); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = + getDescriptor().getMessageTypes().get(106); + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, + new java.lang.String[] { + "DeidentifyTemplates", "NextPageToken", + }); + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(107); + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = + getDescriptor().getMessageTypes().get(108); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, + new java.lang.String[] { + "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", + }); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = + getDescriptor().getMessageTypes().get(109); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, + new java.lang.String[] { + "ApproxNumPhrases", + }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(110); + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, + new java.lang.String[] { + "DisplayName", "Description", "LargeCustomDictionary", "Dictionary", "Regex", "Type", + }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = + getDescriptor().getMessageTypes().get(111); + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, + new java.lang.String[] { + "LargeCustomDictionary", "Type", + }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = + getDescriptor().getMessageTypes().get(112); + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, + new java.lang.String[] { + "Config", "CreateTime", "State", "Errors", "Stats", + }); + internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = + getDescriptor().getMessageTypes().get(113); + internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, + new java.lang.String[] { + "Name", "CurrentVersion", "PendingVersions", + }); + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(114); + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, + new java.lang.String[] { + "Parent", "Config", "StoredInfoTypeId", "LocationId", + }); + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(115); + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, + new java.lang.String[] { + "Name", "Config", "UpdateMask", + }); + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(116); + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(117); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", + }); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = + getDescriptor().getMessageTypes().get(118); + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, + new java.lang.String[] { + "StoredInfoTypes", "NextPageToken", + }); + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(119); + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(120); + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor, + new java.lang.String[] { + "Name", "HybridItem", + }); + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor = + getDescriptor().getMessageTypes().get(121); + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor, + new java.lang.String[] { + "Name", "HybridItem", + }); + internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor = + getDescriptor().getMessageTypes().get(122); + internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor, + new java.lang.String[] { + "Item", "FindingDetails", + }); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor = + getDescriptor().getMessageTypes().get(123); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor, + new java.lang.String[] { + "ContainerDetails", "FileOffset", "RowOffset", "TableOptions", "Labels", + }); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor = + getDescriptor().getMessageTypes().get(124); + internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor, + new java.lang.String[] {}); + 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.resourceDefinition); + 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.privacy.dlp.v2.DlpStorage.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java new file mode 100644 index 00000000..09f53bd3 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -0,0 +1,623 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/storage.proto + +package com.google.privacy.dlp.v2; + +public final class DlpStorage { + private DlpStorage() {} + + 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_privacy_dlp_v2_InfoType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_FieldId_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_PartitionId_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Key_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_BigQueryField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_EntityId_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableOptions_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/privacy/dlp/v2/storage.proto\022\025g" + + "oogle.privacy.dlp.v2\032\031google/api/resourc" + + "e.proto\032\037google/protobuf/timestamp.proto" + + "\")\n\010InfoType\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 " + + "\001(\t\"K\n\nStoredType\022\014\n\004name\030\001 \001(\t\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\"\310\013\n\016CustomInfoType\0222\n\tinfo_type\030\001 \001(\0132\037" + + ".google.privacy.dlp.v2.InfoType\0225\n\nlikel" + + "ihood\030\006 \001(\0162!.google.privacy.dlp.v2.Like" + + "lihood\022F\n\ndictionary\030\002 \001(\01320.google.priv" + + "acy.dlp.v2.CustomInfoType.DictionaryH\000\022<" + + "\n\005regex\030\003 \001(\0132+.google.privacy.dlp.v2.Cu" + + "stomInfoType.RegexH\000\022M\n\016surrogate_type\030\004" + + " \001(\01323.google.privacy.dlp.v2.CustomInfoT" + + "ype.SurrogateTypeH\000\0228\n\013stored_type\030\005 \001(\013" + + "2!.google.privacy.dlp.v2.StoredTypeH\000\022L\n" + + "\017detection_rules\030\007 \003(\01323.google.privacy." + + "dlp.v2.CustomInfoType.DetectionRule\022K\n\016e" + + "xclusion_type\030\010 \001(\01623.google.privacy.dlp" + + ".v2.CustomInfoType.ExclusionType\032\310\001\n\nDic" + + "tionary\022N\n\tword_list\030\001 \001(\01329.google.priv" + + "acy.dlp.v2.CustomInfoType.Dictionary.Wor" + + "dListH\000\022E\n\022cloud_storage_path\030\003 \001(\0132\'.go" + + "ogle.privacy.dlp.v2.CloudStoragePathH\000\032\031" + + "\n\010WordList\022\r\n\005words\030\001 \003(\tB\010\n\006source\032/\n\005R" + + "egex\022\017\n\007pattern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002" + + " \003(\005\032\017\n\rSurrogateType\032\276\004\n\rDetectionRule\022" + + "W\n\014hotword_rule\030\001 \001(\0132?.google.privacy.d" + + "lp.v2.CustomInfoType.DetectionRule.Hotwo" + + "rdRuleH\000\0328\n\tProximity\022\025\n\rwindow_before\030\001" + + " \001(\005\022\024\n\014window_after\030\002 \001(\005\032\202\001\n\024Likelihoo" + + "dAdjustment\022=\n\020fixed_likelihood\030\001 \001(\0162!." + + "google.privacy.dlp.v2.LikelihoodH\000\022\035\n\023re" + + "lative_likelihood\030\002 \001(\005H\000B\014\n\nadjustment\032" + + "\214\002\n\013HotwordRule\022B\n\rhotword_regex\030\001 \001(\0132+" + + ".google.privacy.dlp.v2.CustomInfoType.Re" + + "gex\022P\n\tproximity\030\002 \001(\0132=.google.privacy." + + "dlp.v2.CustomInfoType.DetectionRule.Prox" + + "imity\022g\n\025likelihood_adjustment\030\003 \001(\0132H.g" + + "oogle.privacy.dlp.v2.CustomInfoType.Dete" + + "ctionRule.LikelihoodAdjustmentB\006\n\004type\"K" + + "\n\rExclusionType\022\036\n\032EXCLUSION_TYPE_UNSPEC" + + "IFIED\020\000\022\032\n\026EXCLUSION_TYPE_EXCLUDE\020\001B\006\n\004t" + + "ype\"\027\n\007FieldId\022\014\n\004name\030\001 \001(\t\"7\n\013Partitio" + + "nId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014namespace_id\030" + + "\004 \001(\t\"\036\n\016KindExpression\022\014\n\004name\030\001 \001(\t\"\201\001" + + "\n\020DatastoreOptions\0228\n\014partition_id\030\001 \001(\013" + + "2\".google.privacy.dlp.v2.PartitionId\0223\n\004" + + "kind\030\002 \001(\0132%.google.privacy.dlp.v2.KindE" + + "xpression\"]\n\030CloudStorageRegexFileSet\022\023\n" + + "\013bucket_name\030\001 \001(\t\022\025\n\rinclude_regex\030\002 \003(" + + "\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003\n\023CloudStorag" + + "eOptions\022D\n\010file_set\030\001 \001(\01322.google.priv" + + "acy.dlp.v2.CloudStorageOptions.FileSet\022\034" + + "\n\024bytes_limit_per_file\030\004 \001(\003\022$\n\034bytes_li" + + "mit_per_file_percent\030\010 \001(\005\0223\n\nfile_types" + + "\030\005 \003(\0162\037.google.privacy.dlp.v2.FileType\022" + + "N\n\rsample_method\030\006 \001(\01627.google.privacy." + + "dlp.v2.CloudStorageOptions.SampleMethod\022" + + "\033\n\023files_limit_percent\030\007 \001(\005\032_\n\007FileSet\022" + + "\013\n\003url\030\001 \001(\t\022G\n\016regex_file_set\030\002 \001(\0132/.g" + + "oogle.privacy.dlp.v2.CloudStorageRegexFi" + + "leSet\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_U" + + "NSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"" + + "\"\n\023CloudStorageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020C" + + "loudStoragePath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQue" + + "ryOptions\022=\n\017table_reference\030\001 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTable\022:\n\022iden" + + "tifying_fields\030\002 \003(\0132\036.google.privacy.dl" + + "p.v2.FieldId\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows" + + "_limit_percent\030\006 \001(\005\022J\n\rsample_method\030\004 " + + "\001(\01623.google.privacy.dlp.v2.BigQueryOpti" + + "ons.SampleMethod\0227\n\017excluded_fields\030\005 \003(" + + "\0132\036.google.privacy.dlp.v2.FieldId\0227\n\017inc" + + "luded_fields\030\007 \003(\0132\036.google.privacy.dlp." + + "v2.FieldId\"H\n\014SampleMethod\022\035\n\031SAMPLE_MET" + + "HOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_STA" + + "RT\020\002\"\332\004\n\rStorageConfig\022D\n\021datastore_opti" + + "ons\030\002 \001(\0132\'.google.privacy.dlp.v2.Datast" + + "oreOptionsH\000\022K\n\025cloud_storage_options\030\003 " + + "\001(\0132*.google.privacy.dlp.v2.CloudStorage" + + "OptionsH\000\022C\n\021big_query_options\030\004 \001(\0132&.g" + + "oogle.privacy.dlp.v2.BigQueryOptionsH\000\022>" + + "\n\016hybrid_options\030\t \001(\0132$.google.privacy." + + "dlp.v2.HybridOptionsH\000\022L\n\017timespan_confi" + + "g\030\006 \001(\01323.google.privacy.dlp.v2.StorageC" + + "onfig.TimespanConfig\032\332\001\n\016TimespanConfig\022" + + ".\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022,\n\010end_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\0227\n\017timestamp_field\030\003 \001(\0132\036" + + ".google.privacy.dlp.v2.FieldId\0221\n)enable" + + "_auto_population_of_timespan_config\030\004 \001(" + + "\010B\006\n\004type\"\366\001\n\rHybridOptions\022\023\n\013descripti" + + "on\030\001 \001(\t\022#\n\033required_finding_label_keys\030" + + "\002 \003(\t\022@\n\006labels\030\003 \003(\01320.google.privacy.d" + + "lp.v2.HybridOptions.LabelsEntry\022:\n\rtable" + + "_options\030\004 \001(\0132#.google.privacy.dlp.v2.T" + + "ableOptions\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"`\n\013BigQueryKey\022=\n\017tab" + + "le_reference\030\001 \001(\0132$.google.privacy.dlp." + + "v2.BigQueryTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014" + + "DatastoreKey\022.\n\nentity_key\030\001 \001(\0132\032.googl" + + "e.privacy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014partitio" + + "n_id\030\001 \001(\0132\".google.privacy.dlp.v2.Parti" + + "tionId\0224\n\004path\030\002 \003(\0132&.google.privacy.dl" + + "p.v2.Key.PathElement\032D\n\013PathElement\022\014\n\004k" + + "ind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B" + + "\t\n\007id_type\"\241\001\n\tRecordKey\022<\n\rdatastore_ke" + + "y\030\002 \001(\0132#.google.privacy.dlp.v2.Datastor" + + "eKeyH\000\022;\n\rbig_query_key\030\003 \001(\0132\".google.p" + + "rivacy.dlp.v2.BigQueryKeyH\000\022\021\n\tid_values" + + "\030\005 \003(\tB\006\n\004type\"I\n\rBigQueryTable\022\022\n\nproje" + + "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" + + "_id\030\003 \001(\t\"s\n\rBigQueryField\0223\n\005table\030\001 \001(" + + "\0132$.google.privacy.dlp.v2.BigQueryTable\022" + + "-\n\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.F" + + "ieldId\"9\n\010EntityId\022-\n\005field\030\001 \001(\0132\036.goog" + + "le.privacy.dlp.v2.FieldId\"J\n\014TableOption" + + "s\022:\n\022identifying_fields\030\001 \003(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId*t\n\nLikelihood\022\032\n\026L" + + "IKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY" + + "\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY" + + "\020\004\022\017\n\013VERY_LIKELY\020\005*\232\001\n\010FileType\022\031\n\025FILE" + + "_TYPE_UNSPECIFIED\020\000\022\017\n\013BINARY_FILE\020\001\022\r\n\t" + + "TEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n\003PDF\020" + + "\006\022\010\n\004AVRO\020\007\022\007\n\003CSV\020\010\022\007\n\003TSV\020\t\022\016\n\nPOWERPO" + + "INT\020\013\022\t\n\005EXCEL\020\014B\250\001\n\031com.google.privacy." + + "dlp.v2B\nDlpStorageP\001Z8google.golang.org/" + + "genproto/googleapis/privacy/dlp/v2;dlp\252\002" + + "\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\" + + "V2\352\002\026Google::Cloud::Dlp::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_privacy_dlp_v2_InfoType_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoType_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_privacy_dlp_v2_StoredType_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredType_descriptor, + new java.lang.String[] { + "Name", "CreateTime", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_privacy_dlp_v2_CustomInfoType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor, + new java.lang.String[] { + "InfoType", + "Likelihood", + "Dictionary", + "Regex", + "SurrogateType", + "StoredType", + "DetectionRules", + "ExclusionType", + "Type", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor, + new java.lang.String[] { + "WordList", "CloudStoragePath", "Source", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_Dictionary_WordList_descriptor, + new java.lang.String[] { + "Words", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor, + new java.lang.String[] { + "Pattern", "GroupIndexes", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor, + new java.lang.String[] { + "HotwordRule", "Type", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_Proximity_descriptor, + new java.lang.String[] { + "WindowBefore", "WindowAfter", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_LikelihoodAdjustment_descriptor, + new java.lang.String[] { + "FixedLikelihood", "RelativeLikelihood", "Adjustment", + }); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor = + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_descriptor + .getNestedTypes() + .get(2); + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CustomInfoType_DetectionRule_HotwordRule_descriptor, + new java.lang.String[] { + "HotwordRegex", "Proximity", "LikelihoodAdjustment", + }); + internal_static_google_privacy_dlp_v2_FieldId_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_FieldId_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_PartitionId_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_PartitionId_descriptor, + new java.lang.String[] { + "ProjectId", "NamespaceId", + }); + internal_static_google_privacy_dlp_v2_KindExpression_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_KindExpression_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_privacy_dlp_v2_DatastoreOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DatastoreOptions_descriptor, + new java.lang.String[] { + "PartitionId", "Kind", + }); + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageRegexFileSet_descriptor, + new java.lang.String[] { + "BucketName", "IncludeRegex", "ExcludeRegex", + }); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor, + new java.lang.String[] { + "FileSet", + "BytesLimitPerFile", + "BytesLimitPerFilePercent", + "FileTypes", + "SampleMethod", + "FilesLimitPercent", + }); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor = + internal_static_google_privacy_dlp_v2_CloudStorageOptions_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageOptions_FileSet_descriptor, + new java.lang.String[] { + "Url", "RegexFileSet", + }); + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStorageFileSet_descriptor, + new java.lang.String[] { + "Url", + }); + internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_privacy_dlp_v2_CloudStoragePath_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_CloudStoragePath_descriptor, + new java.lang.String[] { + "Path", + }); + internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_privacy_dlp_v2_BigQueryOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryOptions_descriptor, + new java.lang.String[] { + "TableReference", + "IdentifyingFields", + "RowsLimit", + "RowsLimitPercent", + "SampleMethod", + "ExcludedFields", + "IncludedFields", + }); + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor, + new java.lang.String[] { + "DatastoreOptions", + "CloudStorageOptions", + "BigQueryOptions", + "HybridOptions", + "TimespanConfig", + "Type", + }); + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor = + internal_static_google_privacy_dlp_v2_StorageConfig_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", "TimestampField", "EnableAutoPopulationOfTimespanConfig", + }); + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor, + new java.lang.String[] { + "Description", "RequiredFindingLabelKeys", "Labels", "TableOptions", + }); + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_HybridOptions_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_privacy_dlp_v2_BigQueryKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryKey_descriptor, + new java.lang.String[] { + "TableReference", "RowNumber", + }); + internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_privacy_dlp_v2_DatastoreKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DatastoreKey_descriptor, + new java.lang.String[] { + "EntityKey", + }); + internal_static_google_privacy_dlp_v2_Key_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Key_descriptor, + new java.lang.String[] { + "PartitionId", "Path", + }); + internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor = + internal_static_google_privacy_dlp_v2_Key_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor, + new java.lang.String[] { + "Kind", "Id", "Name", "IdType", + }); + internal_static_google_privacy_dlp_v2_RecordKey_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordKey_descriptor, + new java.lang.String[] { + "DatastoreKey", "BigQueryKey", "IdValues", "Type", + }); + internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_privacy_dlp_v2_BigQueryTable_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor, + new java.lang.String[] { + "ProjectId", "DatasetId", "TableId", + }); + internal_static_google_privacy_dlp_v2_BigQueryField_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_privacy_dlp_v2_BigQueryField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_BigQueryField_descriptor, + new java.lang.String[] { + "Table", "Field", + }); + internal_static_google_privacy_dlp_v2_EntityId_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_EntityId_descriptor, + new java.lang.String[] { + "Field", + }); + internal_static_google_privacy_dlp_v2_TableOptions_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableOptions_descriptor, + new java.lang.String[] { + "IdentifyingFields", + }); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java index 02e0e441..8362b9c0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocation.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Location of a finding within a document.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DocumentLocation} */ -public final class DocumentLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DocumentLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DocumentLocation) DocumentLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentLocation.newBuilder() to construct. private DocumentLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocumentLocation() { - } + + private DocumentLocation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DocumentLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,57 @@ private DocumentLocation( case 0: done = true; break; - case 8: { - - fileOffset_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + fileOffset_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DocumentLocation.class, com.google.privacy.dlp.v2.DocumentLocation.Builder.class); + com.google.privacy.dlp.v2.DocumentLocation.class, + com.google.privacy.dlp.v2.DocumentLocation.Builder.class); } public static final int FILE_OFFSET_FIELD_NUMBER = 1; private long fileOffset_; /** + * + * *
    * Offset of the line, from the beginning of the file, where the finding
    * is located.
    * 
* * int64 file_offset = 1; + * * @return The fileOffset. */ @java.lang.Override @@ -106,6 +127,7 @@ public long getFileOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,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 { if (fileOffset_ != 0L) { output.writeInt64(1, fileOffset_); } @@ -132,8 +153,7 @@ public int getSerializedSize() { size = 0; if (fileOffset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, fileOffset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, fileOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +163,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.privacy.dlp.v2.DocumentLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DocumentLocation other = (com.google.privacy.dlp.v2.DocumentLocation) obj; + com.google.privacy.dlp.v2.DocumentLocation other = + (com.google.privacy.dlp.v2.DocumentLocation) obj; - if (getFileOffset() - != other.getFileOffset()) return false; + if (getFileOffset() != other.getFileOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -164,125 +184,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FILE_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFileOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFileOffset()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DocumentLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DocumentLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DocumentLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DocumentLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DocumentLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Location of a finding within a document.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DocumentLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DocumentLocation) com.google.privacy.dlp.v2.DocumentLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DocumentLocation.class, com.google.privacy.dlp.v2.DocumentLocation.Builder.class); + com.google.privacy.dlp.v2.DocumentLocation.class, + com.google.privacy.dlp.v2.DocumentLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.DocumentLocation.newBuilder() @@ -290,16 +318,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -309,9 +336,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; } @java.lang.Override @@ -330,7 +357,8 @@ public com.google.privacy.dlp.v2.DocumentLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.DocumentLocation buildPartial() { - com.google.privacy.dlp.v2.DocumentLocation result = new com.google.privacy.dlp.v2.DocumentLocation(this); + com.google.privacy.dlp.v2.DocumentLocation result = + new com.google.privacy.dlp.v2.DocumentLocation(this); result.fileOffset_ = fileOffset_; onBuilt(); return result; @@ -340,38 +368,39 @@ public com.google.privacy.dlp.v2.DocumentLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DocumentLocation) { - return mergeFrom((com.google.privacy.dlp.v2.DocumentLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.DocumentLocation) other); } else { super.mergeFrom(other); return this; @@ -412,14 +441,17 @@ public Builder mergeFrom( return this; } - private long fileOffset_ ; + private long fileOffset_; /** + * + * *
      * Offset of the line, from the beginning of the file, where the finding
      * is located.
      * 
* * int64 file_offset = 1; + * * @return The fileOffset. */ @java.lang.Override @@ -427,39 +459,45 @@ public long getFileOffset() { return fileOffset_; } /** + * + * *
      * Offset of the line, from the beginning of the file, where the finding
      * is located.
      * 
* * int64 file_offset = 1; + * * @param value The fileOffset to set. * @return This builder for chaining. */ public Builder setFileOffset(long value) { - + fileOffset_ = value; onChanged(); return this; } /** + * + * *
      * Offset of the line, from the beginning of the file, where the finding
      * is located.
      * 
* * int64 file_offset = 1; + * * @return This builder for chaining. */ public Builder clearFileOffset() { - + fileOffset_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -469,12 +507,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DocumentLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DocumentLocation) private static final com.google.privacy.dlp.v2.DocumentLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DocumentLocation(); } @@ -483,16 +521,16 @@ public static com.google.privacy.dlp.v2.DocumentLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocumentLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocumentLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -507,6 +545,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DocumentLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java new file mode 100644 index 00000000..8195072a --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DocumentLocationOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface DocumentLocationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DocumentLocation) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Offset of the line, from the beginning of the file, where the finding
+   * is located.
+   * 
+ * + * int64 file_offset = 1; + * + * @return The fileOffset. + */ + long getFileOffset(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java index ea9a60e4..19589d4b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityId.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * An entity in a dataset is a field or set of fields that correspond to a
  * single person. For example, in medical records the `EntityId` might be a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.EntityId}
  */
-public final class EntityId extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EntityId extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.EntityId)
     EntityIdOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EntityId.newBuilder() to construct.
   private EntityId(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private EntityId() {
-  }
+
+  private EntityId() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntityId();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private EntityId(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,59 +72,66 @@ private EntityId(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-            if (field_ != null) {
-              subBuilder = field_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (field_ != null) {
+                subBuilder = field_.toBuilder();
+              }
+              field_ =
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(field_);
+                field_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(field_);
-              field_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_EntityId_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.EntityId.class, com.google.privacy.dlp.v2.EntityId.Builder.class);
+            com.google.privacy.dlp.v2.EntityId.class,
+            com.google.privacy.dlp.v2.EntityId.Builder.class);
   }
 
   public static final int FIELD_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.FieldId field_;
   /**
+   *
+   *
    * 
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -116,11 +139,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -128,6 +154,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
    * Composite key indicating which field contains the entity identifier.
    * 
@@ -140,6 +168,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (field_ != null) { output.writeMessage(1, getField()); } @@ -166,8 +194,7 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -177,7 +204,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.privacy.dlp.v2.EntityId)) { return super.equals(obj); @@ -186,8 +213,7 @@ public boolean equals(final java.lang.Object obj) { if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -209,97 +235,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.EntityId parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.EntityId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.EntityId parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.EntityId parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.EntityId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.EntityId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.EntityId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.EntityId parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.EntityId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.EntityId parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.EntityId 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.privacy.dlp.v2.EntityId parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.EntityId parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.EntityId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.EntityId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 entity in a dataset is a field or set of fields that correspond to a
    * single person. For example, in medical records the `EntityId` might be a
@@ -310,21 +342,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.EntityId}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.EntityId)
       com.google.privacy.dlp.v2.EntityIdOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_EntityId_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_EntityId_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.EntityId.class, com.google.privacy.dlp.v2.EntityId.Builder.class);
+              com.google.privacy.dlp.v2.EntityId.class,
+              com.google.privacy.dlp.v2.EntityId.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.EntityId.newBuilder()
@@ -332,16 +366,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -355,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_EntityId_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_EntityId_descriptor;
     }
 
     @java.lang.Override
@@ -390,38 +423,39 @@ public com.google.privacy.dlp.v2.EntityId buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.EntityId) {
-        return mergeFrom((com.google.privacy.dlp.v2.EntityId)other);
+        return mergeFrom((com.google.privacy.dlp.v2.EntityId) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -464,24 +498,33 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.FieldId field_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        fieldBuilder_;
     /**
+     *
+     *
      * 
      * Composite key indicating which field contains the entity identifier.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -492,6 +535,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -512,14 +557,15 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -530,6 +576,8 @@ public Builder setField( return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -540,7 +588,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -552,6 +600,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -570,6 +620,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -577,11 +629,13 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -592,11 +646,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -604,21 +659,24 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -628,12 +686,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.EntityId) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.EntityId) private static final com.google.privacy.dlp.v2.EntityId DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.EntityId(); } @@ -642,16 +700,16 @@ public static com.google.privacy.dlp.v2.EntityId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EntityId(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EntityId(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,6 +724,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.EntityId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java similarity index 59% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java index f34df9f9..0a4c328f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EntityIdOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface EntityIdOrBuilder extends +public interface EntityIdOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.EntityId) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
    * Composite key indicating which field contains the entity identifier.
    * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
    * Composite key indicating which field contains the entity identifier.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java index b9f10fd0..99e163b9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Error.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Details information about an error encountered during job execution or
  * the results of an unsuccessful activation of the JobTrigger.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Error}
  */
-public final class Error extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Error extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Error)
     ErrorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Error.newBuilder() to construct.
   private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Error() {
     timestamps_ = 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 Error();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Error(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,42 +72,43 @@ private Error(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (details_ != null) {
-              subBuilder = details_.toBuilder();
-            }
-            details_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(details_);
-              details_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (details_ != null) {
+                subBuilder = details_.toBuilder();
+              }
+              details_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(details_);
+                details_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              timestamps_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            timestamps_.add(
-                input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                timestamps_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              timestamps_.add(
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         timestamps_ = java.util.Collections.unmodifiableList(timestamps_);
@@ -99,15 +117,17 @@ private Error(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Error_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Error.class, com.google.privacy.dlp.v2.Error.Builder.class);
   }
@@ -115,11 +135,14 @@ private Error(
   public static final int DETAILS_FIELD_NUMBER = 1;
   private com.google.rpc.Status details_;
   /**
+   *
+   *
    * 
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; + * * @return Whether the details field is set. */ @java.lang.Override @@ -127,11 +150,14 @@ public boolean hasDetails() { return details_ != null; } /** + * + * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; + * * @return The details. */ @java.lang.Override @@ -139,6 +165,8 @@ public com.google.rpc.Status getDetails() { return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; } /** + * + * *
    * Detailed error codes and messages.
    * 
@@ -153,6 +181,8 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { public static final int TIMESTAMPS_FIELD_NUMBER = 2; private java.util.List timestamps_; /** + * + * *
    * The times the error occurred.
    * 
@@ -164,6 +194,8 @@ public java.util.List getTimestampsList() { return timestamps_; } /** + * + * *
    * The times the error occurred.
    * 
@@ -171,11 +203,13 @@ public java.util.List getTimestampsList() { * repeated .google.protobuf.Timestamp timestamps = 2; */ @java.lang.Override - public java.util.List + public java.util.List getTimestampsOrBuilderList() { return timestamps_; } /** + * + * *
    * The times the error occurred.
    * 
@@ -187,6 +221,8 @@ public int getTimestampsCount() { return timestamps_.size(); } /** + * + * *
    * The times the error occurred.
    * 
@@ -198,6 +234,8 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { return timestamps_.get(index); } /** + * + * *
    * The times the error occurred.
    * 
@@ -205,12 +243,12 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { * repeated .google.protobuf.Timestamp timestamps = 2; */ @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( - int index) { + public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) { return timestamps_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (details_ != null) { output.writeMessage(1, getDetails()); } @@ -240,12 +277,10 @@ public int getSerializedSize() { size = 0; if (details_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDetails()); } for (int i = 0; i < timestamps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, timestamps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, timestamps_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,7 +290,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.privacy.dlp.v2.Error)) { return super.equals(obj); @@ -264,11 +299,9 @@ public boolean equals(final java.lang.Object obj) { if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; } - if (!getTimestampsList() - .equals(other.getTimestampsList())) return false; + if (!getTimestampsList().equals(other.getTimestampsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,97 +326,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Error parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Error parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Error parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Error parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Error parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Error parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Error parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Error parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Error 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.privacy.dlp.v2.Error parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Error parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details information about an error encountered during job execution or
    * the results of an unsuccessful activation of the JobTrigger.
@@ -391,19 +430,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Error}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Error)
       com.google.privacy.dlp.v2.ErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Error_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Error.class, com.google.privacy.dlp.v2.Error.Builder.class);
     }
@@ -413,17 +453,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTimestampsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -443,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Error_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Error_descriptor;
     }
 
     @java.lang.Override
@@ -488,38 +528,39 @@ public com.google.privacy.dlp.v2.Error buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Error) {
-        return mergeFrom((com.google.privacy.dlp.v2.Error)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Error) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -549,9 +590,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Error other) {
             timestampsBuilder_ = null;
             timestamps_ = other.timestamps_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            timestampsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTimestampsFieldBuilder() : null;
+            timestampsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTimestampsFieldBuilder()
+                    : null;
           } else {
             timestampsBuilder_.addAllMessages(other.timestamps_);
           }
@@ -585,28 +627,36 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.rpc.Status details_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> detailsBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        detailsBuilder_;
     /**
+     *
+     *
      * 
      * Detailed error codes and messages.
      * 
* * .google.rpc.Status details = 1; + * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** + * + * *
      * Detailed error codes and messages.
      * 
* * .google.rpc.Status details = 1; + * * @return The details. */ public com.google.rpc.Status getDetails() { @@ -617,6 +667,8 @@ public com.google.rpc.Status getDetails() { } } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -637,14 +689,15 @@ public Builder setDetails(com.google.rpc.Status value) { return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
* * .google.rpc.Status details = 1; */ - public Builder setDetails( - com.google.rpc.Status.Builder builderForValue) { + public Builder setDetails(com.google.rpc.Status.Builder builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); @@ -655,6 +708,8 @@ public Builder setDetails( return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -664,8 +719,7 @@ public Builder setDetails( public Builder mergeDetails(com.google.rpc.Status value) { if (detailsBuilder_ == null) { if (details_ != null) { - details_ = - com.google.rpc.Status.newBuilder(details_).mergeFrom(value).buildPartial(); + details_ = com.google.rpc.Status.newBuilder(details_).mergeFrom(value).buildPartial(); } else { details_ = value; } @@ -677,6 +731,8 @@ public Builder mergeDetails(com.google.rpc.Status value) { return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -695,6 +751,8 @@ public Builder clearDetails() { return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -702,11 +760,13 @@ public Builder clearDetails() { * .google.rpc.Status details = 1; */ public com.google.rpc.Status.Builder getDetailsBuilder() { - + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -717,11 +777,12 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { - return details_ == null ? - com.google.rpc.Status.getDefaultInstance() : details_; + return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; } } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -729,32 +790,38 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { * .google.rpc.Status details = 1; */ 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> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getDetails(), - getParentForChildren(), - isClean()); + detailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getDetails(), getParentForChildren(), isClean()); details_ = null; } return detailsBuilder_; } private java.util.List timestamps_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTimestampsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { timestamps_ = new java.util.ArrayList(timestamps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampsBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampsBuilder_; /** + * + * *
      * The times the error occurred.
      * 
@@ -769,6 +836,8 @@ public java.util.List getTimestampsList() { } } /** + * + * *
      * The times the error occurred.
      * 
@@ -783,6 +852,8 @@ public int getTimestampsCount() { } } /** + * + * *
      * The times the error occurred.
      * 
@@ -797,14 +868,15 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { } } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder setTimestamps( - int index, com.google.protobuf.Timestamp value) { + public Builder setTimestamps(int index, com.google.protobuf.Timestamp value) { if (timestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -818,14 +890,15 @@ public Builder setTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder setTimestamps( - int index, com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); timestamps_.set(index, builderForValue.build()); @@ -836,6 +909,8 @@ public Builder setTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -856,14 +931,15 @@ public Builder addTimestamps(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder addTimestamps( - int index, com.google.protobuf.Timestamp value) { + public Builder addTimestamps(int index, com.google.protobuf.Timestamp value) { if (timestampsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -877,14 +953,15 @@ public Builder addTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder addTimestamps( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder addTimestamps(com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); timestamps_.add(builderForValue.build()); @@ -895,14 +972,15 @@ public Builder addTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public Builder addTimestamps( - int index, com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder addTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); timestamps_.add(index, builderForValue.build()); @@ -913,6 +991,8 @@ public Builder addTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -923,8 +1003,7 @@ public Builder addAllTimestamps( java.lang.Iterable values) { if (timestampsBuilder_ == null) { ensureTimestampsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timestamps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timestamps_); onChanged(); } else { timestampsBuilder_.addAllMessages(values); @@ -932,6 +1011,8 @@ public Builder addAllTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -949,6 +1030,8 @@ public Builder clearTimestamps() { return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -966,39 +1049,44 @@ public Builder removeTimestamps(int index) { return this; } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public com.google.protobuf.Timestamp.Builder getTimestampsBuilder( - int index) { + public com.google.protobuf.Timestamp.Builder getTimestampsBuilder(int index) { return getTimestampsFieldBuilder().getBuilder(index); } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( - int index) { + public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) { if (timestampsBuilder_ == null) { - return timestamps_.get(index); } else { + return timestamps_.get(index); + } else { return timestampsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public java.util.List - getTimestampsOrBuilderList() { + public java.util.List + getTimestampsOrBuilderList() { if (timestampsBuilder_ != null) { return timestampsBuilder_.getMessageOrBuilderList(); } else { @@ -1006,6 +1094,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( } } /** + * + * *
      * The times the error occurred.
      * 
@@ -1013,49 +1103,54 @@ public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( * repeated .google.protobuf.Timestamp timestamps = 2; */ public com.google.protobuf.Timestamp.Builder addTimestampsBuilder() { - return getTimestampsFieldBuilder().addBuilder( - com.google.protobuf.Timestamp.getDefaultInstance()); + return getTimestampsFieldBuilder() + .addBuilder(com.google.protobuf.Timestamp.getDefaultInstance()); } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public com.google.protobuf.Timestamp.Builder addTimestampsBuilder( - int index) { - return getTimestampsFieldBuilder().addBuilder( - index, com.google.protobuf.Timestamp.getDefaultInstance()); + public com.google.protobuf.Timestamp.Builder addTimestampsBuilder(int index) { + return getTimestampsFieldBuilder() + .addBuilder(index, com.google.protobuf.Timestamp.getDefaultInstance()); } /** + * + * *
      * The times the error occurred.
      * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - public java.util.List - getTimestampsBuilderList() { + public java.util.List getTimestampsBuilderList() { return getTimestampsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - 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> getTimestampsFieldBuilder() { if (timestampsBuilder_ == null) { - timestampsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - timestamps_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + timestampsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + timestamps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); timestamps_ = null; } return timestampsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Error) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Error) private static final com.google.privacy.dlp.v2.Error DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Error(); } @@ -1079,16 +1174,16 @@ public static com.google.privacy.dlp.v2.Error getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,6 +1198,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java index e91e9157..bf3d6ea1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ErrorOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ErrorOrBuilder extends +public interface ErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Error) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; + * * @return Whether the details field is set. */ boolean hasDetails(); /** + * + * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; + * * @return The details. */ com.google.rpc.Status getDetails(); /** + * + * *
    * Detailed error codes and messages.
    * 
@@ -35,15 +59,18 @@ public interface ErrorOrBuilder extends com.google.rpc.StatusOrBuilder getDetailsOrBuilder(); /** + * + * *
    * The times the error occurred.
    * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - java.util.List - getTimestampsList(); + java.util.List getTimestampsList(); /** + * + * *
    * The times the error occurred.
    * 
@@ -52,6 +79,8 @@ public interface ErrorOrBuilder extends */ com.google.protobuf.Timestamp getTimestamps(int index); /** + * + * *
    * The times the error occurred.
    * 
@@ -60,21 +89,23 @@ public interface ErrorOrBuilder extends */ int getTimestampsCount(); /** + * + * *
    * The times the error occurred.
    * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - java.util.List - getTimestampsOrBuilderList(); + java.util.List getTimestampsOrBuilderList(); /** + * + * *
    * The times the error occurred.
    * 
* * repeated .google.protobuf.Timestamp timestamps = 2; */ - com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( - int index); + com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java index 158af98a..f99e941d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypes.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * List of exclude infoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ExcludeInfoTypes} */ -public final class ExcludeInfoTypes extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExcludeInfoTypes extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ExcludeInfoTypes) ExcludeInfoTypesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExcludeInfoTypes.newBuilder() to construct. private ExcludeInfoTypes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExcludeInfoTypes() { infoTypes_ = 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 ExcludeInfoTypes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExcludeInfoTypes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,30 @@ private ExcludeInfoTypes( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + infoTypes_.add( + input.readMessage( + com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry)); + break; } - infoTypes_.add( - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_); @@ -85,22 +103,27 @@ private ExcludeInfoTypes( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ExcludeInfoTypes.class, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ExcludeInfoTypes.class, + com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); } public static final int INFO_TYPES_FIELD_NUMBER = 1; private java.util.List infoTypes_; /** + * + * *
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -119,6 +142,8 @@ public java.util.List getInfoTypesList() {
     return infoTypes_;
   }
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -133,11 +158,13 @@ public java.util.List getInfoTypesList() {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getInfoTypesOrBuilderList() {
     return infoTypes_;
   }
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -156,6 +183,8 @@ public int getInfoTypesCount() {
     return infoTypes_.size();
   }
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -174,6 +203,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
     return infoTypes_.get(index);
   }
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -188,12 +219,12 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
     return infoTypes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -205,8 +236,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < infoTypes_.size(); i++) {
       output.writeMessage(1, infoTypes_.get(i));
     }
@@ -220,8 +250,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < infoTypes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, infoTypes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -231,15 +260,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.privacy.dlp.v2.ExcludeInfoTypes)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.ExcludeInfoTypes other = (com.google.privacy.dlp.v2.ExcludeInfoTypes) obj;
+    com.google.privacy.dlp.v2.ExcludeInfoTypes other =
+        (com.google.privacy.dlp.v2.ExcludeInfoTypes) obj;
 
-    if (!getInfoTypesList()
-        .equals(other.getInfoTypesList())) return false;
+    if (!getInfoTypesList().equals(other.getInfoTypesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -260,118 +289,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ExcludeInfoTypes parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.ExcludeInfoTypes prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 of exclude infoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ExcludeInfoTypes} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ExcludeInfoTypes) com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ExcludeInfoTypes.class, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ExcludeInfoTypes.class, + com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder.class); } // Construct using com.google.privacy.dlp.v2.ExcludeInfoTypes.newBuilder() @@ -379,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ExcludeInfoTypes_descriptor; } @java.lang.Override @@ -424,7 +462,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes build() { @java.lang.Override public com.google.privacy.dlp.v2.ExcludeInfoTypes buildPartial() { - com.google.privacy.dlp.v2.ExcludeInfoTypes result = new com.google.privacy.dlp.v2.ExcludeInfoTypes(this); + com.google.privacy.dlp.v2.ExcludeInfoTypes result = + new com.google.privacy.dlp.v2.ExcludeInfoTypes(this); int from_bitField0_ = bitField0_; if (infoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -443,38 +482,39 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ExcludeInfoTypes) { - return mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes)other); + return mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes) other); } else { super.mergeFrom(other); return this; @@ -501,9 +541,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ExcludeInfoTypes other) { infoTypesBuilder_ = null; infoTypes_ = other.infoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - infoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInfoTypesFieldBuilder() : null; + infoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInfoTypesFieldBuilder() + : null; } else { infoTypesBuilder_.addAllMessages(other.infoTypes_); } @@ -537,21 +578,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List infoTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { infoTypes_ = new java.util.ArrayList(infoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + infoTypesBuilder_; /** + * + * *
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -573,6 +621,8 @@ public java.util.List getInfoTypesList() {
       }
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -594,6 +644,8 @@ public int getInfoTypesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -615,6 +667,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -628,8 +682,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder setInfoTypes(
-        int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -643,6 +696,8 @@ public Builder setInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -668,6 +723,8 @@ public Builder setInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -695,6 +752,8 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -708,8 +767,7 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(
-        int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -723,6 +781,8 @@ public Builder addInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -736,8 +796,7 @@ public Builder addInfoTypes(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(
-        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
         infoTypes_.add(builderForValue.build());
@@ -748,6 +807,8 @@ public Builder addInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -773,6 +834,8 @@ public Builder addInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -790,8 +853,7 @@ public Builder addAllInfoTypes(
         java.lang.Iterable values) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, infoTypes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_);
         onChanged();
       } else {
         infoTypesBuilder_.addAllMessages(values);
@@ -799,6 +861,8 @@ public Builder addAllInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -823,6 +887,8 @@ public Builder clearInfoTypes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -847,6 +913,8 @@ public Builder removeInfoTypes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -860,11 +928,12 @@ public Builder removeInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) {
       return getInfoTypesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -878,14 +947,16 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
       if (infoTypesBuilder_ == null) {
-        return infoTypes_.get(index);  } else {
+        return infoTypes_.get(index);
+      } else {
         return infoTypesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -899,8 +970,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List 
-         getInfoTypesOrBuilderList() {
+    public java.util.List
+        getInfoTypesOrBuilderList() {
       if (infoTypesBuilder_ != null) {
         return infoTypesBuilder_.getMessageOrBuilderList();
       } else {
@@ -908,6 +979,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -922,10 +995,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
-      return getInfoTypesFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+      return getInfoTypesFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -939,12 +1014,13 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
-        int index) {
-      return getInfoTypesFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) {
+      return getInfoTypesFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * InfoType list in ExclusionRule rule drops a finding when it overlaps or
      * contained within with a finding of an infoType from this list. For
@@ -958,27 +1034,29 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List 
-         getInfoTypesBuilderList() {
+    public java.util.List getInfoTypesBuilderList() {
       return getInfoTypesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getInfoTypesFieldBuilder() {
       if (infoTypesBuilder_ == null) {
-        infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                infoTypes_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        infoTypesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         infoTypes_ = null;
       }
       return infoTypesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -988,12 +1066,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ExcludeInfoTypes)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ExcludeInfoTypes)
   private static final com.google.privacy.dlp.v2.ExcludeInfoTypes DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ExcludeInfoTypes();
   }
@@ -1002,16 +1080,16 @@ public static com.google.privacy.dlp.v2.ExcludeInfoTypes getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExcludeInfoTypes parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ExcludeInfoTypes(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExcludeInfoTypes parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ExcludeInfoTypes(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1026,6 +1104,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.ExcludeInfoTypes getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
index 521bd525..bd8c7d03 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExcludeInfoTypesOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface ExcludeInfoTypesOrBuilder extends
+public interface ExcludeInfoTypesOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ExcludeInfoTypes)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -21,9 +39,10 @@ public interface ExcludeInfoTypesOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List 
-      getInfoTypesList();
+  java.util.List getInfoTypesList();
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -39,6 +58,8 @@ public interface ExcludeInfoTypesOrBuilder extends
    */
   com.google.privacy.dlp.v2.InfoType getInfoTypes(int index);
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -54,6 +75,8 @@ public interface ExcludeInfoTypesOrBuilder extends
    */
   int getInfoTypesCount();
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -67,9 +90,10 @@ public interface ExcludeInfoTypesOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List 
-      getInfoTypesOrBuilderList();
+  java.util.List getInfoTypesOrBuilderList();
   /**
+   *
+   *
    * 
    * InfoType list in ExclusionRule rule drops a finding when it overlaps or
    * contained within with a finding of an infoType from this list. For
@@ -83,6 +107,5 @@ public interface ExcludeInfoTypesOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
similarity index 72%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
index e3f4d9ae..3171b389 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRule.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * The rule that specifies conditions when findings of infoTypes specified in
  * `InspectionRuleSet` are removed from results.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.ExclusionRule}
  */
-public final class ExclusionRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExclusionRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ExclusionRule)
     ExclusionRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExclusionRule.newBuilder() to construct.
   private ExclusionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExclusionRule() {
     matchingType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExclusionRule();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExclusionRule(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,96 +71,110 @@ private ExclusionRule(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
-            if (typeCase_ == 1) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
-            }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
-              type_ = subBuilder.buildPartial();
-            }
-            typeCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-            if (typeCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
-            }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
-              type_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
+              if (typeCase_ == 1) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 1;
+              break;
             }
-            typeCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder subBuilder = null;
-            if (typeCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_).toBuilder();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+              if (typeCase_ == 2) {
+                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 2;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.ExcludeInfoTypes.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_);
-              type_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder subBuilder = null;
+              if (typeCase_ == 3) {
+                subBuilder = ((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.ExcludeInfoTypes.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 3;
+              break;
             }
-            typeCase_ = 3;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            matchingType_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              matchingType_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.ExclusionRule.class, com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
+            com.google.privacy.dlp.v2.ExclusionRule.class,
+            com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
+
   public enum TypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DICTIONARY(1),
     REGEX(2),
     EXCLUDE_INFO_TYPES(3),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -159,31 +190,38 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1: return DICTIONARY;
-        case 2: return REGEX;
-        case 3: return EXCLUDE_INFO_TYPES;
-        case 0: return TYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return DICTIONARY;
+        case 2:
+          return REGEX;
+        case 3:
+          return EXCLUDE_INFO_TYPES;
+        case 0:
+          return TYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase
-  getTypeCase() {
-    return TypeCase.forNumber(
-        typeCase_);
+  public TypeCase getTypeCase() {
+    return TypeCase.forNumber(typeCase_);
   }
 
   public static final int DICTIONARY_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; + * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -191,21 +229,26 @@ public boolean hasDictionary() { return typeCase_ == 1; } /** + * + * *
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; + * * @return The dictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } /** + * + * *
    * Dictionary which defines the rule.
    * 
@@ -215,18 +258,21 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } public static final int REGEX_FIELD_NUMBER = 2; /** + * + * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; + * * @return Whether the regex field is set. */ @java.lang.Override @@ -234,21 +280,26 @@ public boolean hasRegex() { return typeCase_ == 2; } /** + * + * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; + * * @return The regex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } /** + * + * *
    * Regular expression which defines the rule.
    * 
@@ -258,18 +309,21 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER = 3; /** + * + * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; + * * @return Whether the excludeInfoTypes field is set. */ @java.lang.Override @@ -277,21 +331,26 @@ public boolean hasExcludeInfoTypes() { return typeCase_ == 3; } /** + * + * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; + * * @return The excludeInfoTypes. */ @java.lang.Override public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; + return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; } return com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance(); } /** + * + * *
    * Set of infoTypes for which findings would affect this rule.
    * 
@@ -301,7 +360,7 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { @java.lang.Override public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; + return (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_; } return com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance(); } @@ -309,31 +368,41 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr public static final int MATCHING_TYPE_FIELD_NUMBER = 4; private int matchingType_; /** + * + * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return The enum numeric value on the wire for matchingType. */ - @java.lang.Override public int getMatchingTypeValue() { + @java.lang.Override + public int getMatchingTypeValue() { return matchingType_; } /** + * + * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return The matchingType. */ - @java.lang.Override public com.google.privacy.dlp.v2.MatchingType getMatchingType() { + @java.lang.Override + public com.google.privacy.dlp.v2.MatchingType getMatchingType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MatchingType result = com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); + com.google.privacy.dlp.v2.MatchingType result = + com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); return result == null ? com.google.privacy.dlp.v2.MatchingType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +414,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } @@ -356,7 +424,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (typeCase_ == 3) { output.writeMessage(3, (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_); } - if (matchingType_ != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { + if (matchingType_ + != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, matchingType_); } unknownFields.writeTo(output); @@ -369,20 +438,23 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_); } - if (matchingType_ != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, matchingType_); + if (matchingType_ + != com.google.privacy.dlp.v2.MatchingType.MATCHING_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, matchingType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -392,7 +464,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.privacy.dlp.v2.ExclusionRule)) { return super.equals(obj); @@ -403,16 +475,13 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getDictionary() - .equals(other.getDictionary())) return false; + if (!getDictionary().equals(other.getDictionary())) return false; break; case 2: - if (!getRegex() - .equals(other.getRegex())) return false; + if (!getRegex().equals(other.getRegex())) return false; break; case 3: - if (!getExcludeInfoTypes() - .equals(other.getExcludeInfoTypes())) return false; + if (!getExcludeInfoTypes().equals(other.getExcludeInfoTypes())) return false; break; case 0: default: @@ -451,97 +520,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ExclusionRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ExclusionRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ExclusionRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ExclusionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ExclusionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 rule that specifies conditions when findings of infoTypes specified in
    * `InspectionRuleSet` are removed from results.
@@ -549,21 +625,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.ExclusionRule}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ExclusionRule)
       com.google.privacy.dlp.v2.ExclusionRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_ExclusionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.ExclusionRule.class, com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
+              com.google.privacy.dlp.v2.ExclusionRule.class,
+              com.google.privacy.dlp.v2.ExclusionRule.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.ExclusionRule.newBuilder()
@@ -571,16 +649,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -592,9 +669,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_ExclusionRule_descriptor;
     }
 
     @java.lang.Override
@@ -613,7 +690,8 @@ public com.google.privacy.dlp.v2.ExclusionRule build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.ExclusionRule buildPartial() {
-      com.google.privacy.dlp.v2.ExclusionRule result = new com.google.privacy.dlp.v2.ExclusionRule(this);
+      com.google.privacy.dlp.v2.ExclusionRule result =
+          new com.google.privacy.dlp.v2.ExclusionRule(this);
       if (typeCase_ == 1) {
         if (dictionaryBuilder_ == null) {
           result.type_ = type_;
@@ -645,38 +723,39 @@ public com.google.privacy.dlp.v2.ExclusionRule buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.ExclusionRule) {
-        return mergeFrom((com.google.privacy.dlp.v2.ExclusionRule)other);
+        return mergeFrom((com.google.privacy.dlp.v2.ExclusionRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -689,21 +768,25 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ExclusionRule other) {
         setMatchingTypeValue(other.getMatchingTypeValue());
       }
       switch (other.getTypeCase()) {
-        case DICTIONARY: {
-          mergeDictionary(other.getDictionary());
-          break;
-        }
-        case REGEX: {
-          mergeRegex(other.getRegex());
-          break;
-        }
-        case EXCLUDE_INFO_TYPES: {
-          mergeExcludeInfoTypes(other.getExcludeInfoTypes());
-          break;
-        }
-        case TYPE_NOT_SET: {
-          break;
-        }
+        case DICTIONARY:
+          {
+            mergeDictionary(other.getDictionary());
+            break;
+          }
+        case REGEX:
+          {
+            mergeRegex(other.getRegex());
+            break;
+          }
+        case EXCLUDE_INFO_TYPES:
+          {
+            mergeExcludeInfoTypes(other.getExcludeInfoTypes());
+            break;
+          }
+        case TYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -733,12 +816,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int typeCase_ = 0;
     private java.lang.Object type_;
-    public TypeCase
-        getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public Builder clearType() {
@@ -748,15 +831,20 @@ public Builder clearType() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> dictionaryBuilder_;
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary,
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder,
+            com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>
+        dictionaryBuilder_;
     /**
+     *
+     *
      * 
      * Dictionary which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; + * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -764,11 +852,14 @@ public boolean hasDictionary() { return typeCase_ == 1; } /** + * + * *
      * Dictionary which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; + * * @return The dictionary. */ @java.lang.Override @@ -786,6 +877,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -806,6 +899,8 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -824,6 +919,8 @@ public Builder setDictionary( return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -832,10 +929,13 @@ public Builder setDictionary( */ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary value) { if (dictionaryBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -850,6 +950,8 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -873,6 +975,8 @@ public Builder clearDictionary() { return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -883,6 +987,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -901,6 +1007,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -908,32 +1016,44 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> getDictionaryFieldBuilder() { if (dictionaryBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } - dictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( + dictionaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return dictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> regexBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + regexBuilder_; /** + * + * *
      * Regular expression which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; + * * @return Whether the regex field is set. */ @java.lang.Override @@ -941,11 +1061,14 @@ public boolean hasRegex() { return typeCase_ == 2; } /** + * + * *
      * Regular expression which defines the rule.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; + * * @return The regex. */ @java.lang.Override @@ -963,6 +1086,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -983,6 +1108,8 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1001,6 +1128,8 @@ public Builder setRegex( return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1009,10 +1138,13 @@ public Builder setRegex( */ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { if (regexBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1027,6 +1159,8 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1050,6 +1184,8 @@ public Builder clearRegex() { return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1060,6 +1196,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1078,6 +1216,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1085,32 +1225,44 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getRegexFieldBuilder() { if (regexBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } - regexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + regexBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return regexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExcludeInfoTypes, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> excludeInfoTypesBuilder_; + com.google.privacy.dlp.v2.ExcludeInfoTypes, + com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, + com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> + excludeInfoTypesBuilder_; /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; + * * @return Whether the excludeInfoTypes field is set. */ @java.lang.Override @@ -1118,11 +1270,14 @@ public boolean hasExcludeInfoTypes() { return typeCase_ == 3; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; + * * @return The excludeInfoTypes. */ @java.lang.Override @@ -1140,6 +1295,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { } } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1160,6 +1317,8 @@ public Builder setExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes va return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1178,6 +1337,8 @@ public Builder setExcludeInfoTypes( return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1186,10 +1347,13 @@ public Builder setExcludeInfoTypes( */ public Builder mergeExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes value) { if (excludeInfoTypesBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.ExcludeInfoTypes.newBuilder((com.google.privacy.dlp.v2.ExcludeInfoTypes) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 + && type_ != com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.ExcludeInfoTypes.newBuilder( + (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1204,6 +1368,8 @@ public Builder mergeExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1227,6 +1393,8 @@ public Builder clearExcludeInfoTypes() { return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1237,6 +1405,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder getExcludeInfoTypesBui return getExcludeInfoTypesFieldBuilder().getBuilder(); } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1255,6 +1425,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr } } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1262,71 +1434,91 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExcludeInfoTypes, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> + com.google.privacy.dlp.v2.ExcludeInfoTypes, + com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, + com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder> getExcludeInfoTypesFieldBuilder() { if (excludeInfoTypesBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.ExcludeInfoTypes.getDefaultInstance(); } - excludeInfoTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExcludeInfoTypes, com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder>( + excludeInfoTypesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ExcludeInfoTypes, + com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder, + com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder>( (com.google.privacy.dlp.v2.ExcludeInfoTypes) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return excludeInfoTypesBuilder_; } private int matchingType_ = 0; /** + * + * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return The enum numeric value on the wire for matchingType. */ - @java.lang.Override public int getMatchingTypeValue() { + @java.lang.Override + public int getMatchingTypeValue() { return matchingType_; } /** + * + * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @param value The enum numeric value on the wire for matchingType to set. * @return This builder for chaining. */ public Builder setMatchingTypeValue(int value) { - + matchingType_ = value; onChanged(); return this; } /** + * + * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return The matchingType. */ @java.lang.Override public com.google.privacy.dlp.v2.MatchingType getMatchingType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MatchingType result = com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); + com.google.privacy.dlp.v2.MatchingType result = + com.google.privacy.dlp.v2.MatchingType.valueOf(matchingType_); return result == null ? com.google.privacy.dlp.v2.MatchingType.UNRECOGNIZED : result; } /** + * + * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @param value The matchingType to set. * @return This builder for chaining. */ @@ -1334,28 +1526,31 @@ public Builder setMatchingType(com.google.privacy.dlp.v2.MatchingType value) { if (value == null) { throw new NullPointerException(); } - + matchingType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * How the rule is applied, see MatchingType documentation for details.
      * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return This builder for chaining. */ public Builder clearMatchingType() { - + matchingType_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1365,12 +1560,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ExclusionRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ExclusionRule) private static final com.google.privacy.dlp.v2.ExclusionRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ExclusionRule(); } @@ -1379,16 +1574,16 @@ public static com.google.privacy.dlp.v2.ExclusionRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExclusionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExclusionRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExclusionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExclusionRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1403,6 +1598,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ExclusionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java index ae42d8aa..15efba0b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ExclusionRuleOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ExclusionRuleOrBuilder extends +public interface ExclusionRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ExclusionRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; + * * @return Whether the dictionary field is set. */ boolean hasDictionary(); /** + * + * *
    * Dictionary which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1; + * * @return The dictionary. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); /** + * + * *
    * Dictionary which defines the rule.
    * 
@@ -35,24 +59,32 @@ public interface ExclusionRuleOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); /** + * + * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; + * * @return Whether the regex field is set. */ boolean hasRegex(); /** + * + * *
    * Regular expression which defines the rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2; + * * @return The regex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); /** + * + * *
    * Regular expression which defines the rule.
    * 
@@ -62,24 +94,32 @@ public interface ExclusionRuleOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder(); /** + * + * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; + * * @return Whether the excludeInfoTypes field is set. */ boolean hasExcludeInfoTypes(); /** + * + * *
    * Set of infoTypes for which findings would affect this rule.
    * 
* * .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3; + * * @return The excludeInfoTypes. */ com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes(); /** + * + * *
    * Set of infoTypes for which findings would affect this rule.
    * 
@@ -89,20 +129,26 @@ public interface ExclusionRuleOrBuilder extends com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder(); /** + * + * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return The enum numeric value on the wire for matchingType. */ int getMatchingTypeValue(); /** + * + * *
    * How the rule is applied, see MatchingType documentation for details.
    * 
* * .google.privacy.dlp.v2.MatchingType matching_type = 4; + * * @return The matchingType. */ com.google.privacy.dlp.v2.MatchingType getMatchingType(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java index 65815811..d3ab5092 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldId.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * General identifier of a data field in a storage service.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldId} */ -public final class FieldId extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FieldId extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FieldId) FieldIdOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldId.newBuilder() to construct. private FieldId(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldId() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldId(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FieldId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,58 @@ private FieldId( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_FieldId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldId.class, com.google.privacy.dlp.v2.FieldId.Builder.class); + com.google.privacy.dlp.v2.FieldId.class, + com.google.privacy.dlp.v2.FieldId.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Name describing the field.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -107,29 +130,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Name describing the field.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -138,6 +161,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +197,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.privacy.dlp.v2.FieldId)) { return super.equals(obj); } com.google.privacy.dlp.v2.FieldId other = (com.google.privacy.dlp.v2.FieldId) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -201,118 +223,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.FieldId parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.FieldId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FieldId parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FieldId parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.FieldId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FieldId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FieldId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FieldId parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FieldId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FieldId parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.FieldId 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.privacy.dlp.v2.FieldId parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.FieldId parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FieldId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.FieldId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * General identifier of a data field in a storage service.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldId} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FieldId) com.google.privacy.dlp.v2.FieldIdOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_FieldId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_FieldId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldId.class, com.google.privacy.dlp.v2.FieldId.Builder.class); + com.google.privacy.dlp.v2.FieldId.class, + com.google.privacy.dlp.v2.FieldId.Builder.class); } // Construct using com.google.privacy.dlp.v2.FieldId.newBuilder() @@ -320,16 +350,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_FieldId_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_FieldId_descriptor; } @java.lang.Override @@ -370,38 +399,39 @@ public com.google.privacy.dlp.v2.FieldId buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.FieldId) { - return mergeFrom((com.google.privacy.dlp.v2.FieldId)other); + return mergeFrom((com.google.privacy.dlp.v2.FieldId) other); } else { super.mergeFrom(other); return this; @@ -445,18 +475,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Name describing the field.
      * 
* * 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; @@ -465,20 +497,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name describing the field.
      * 
* * 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 { @@ -486,61 +519,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Name describing the field.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Name describing the field.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name describing the field.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FieldId) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FieldId) private static final com.google.privacy.dlp.v2.FieldId DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FieldId(); } @@ -564,16 +604,16 @@ public static com.google.privacy.dlp.v2.FieldId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldId(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FieldId(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +628,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.FieldId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java new file mode 100644 index 00000000..e1fd9afd --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldIdOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/storage.proto + +package com.google.privacy.dlp.v2; + +public interface FieldIdOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FieldId) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name describing the field.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Name describing the field.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java index 56e12a1b..a0abd76b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The transformation to apply to the field.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldTransformation} */ -public final class FieldTransformation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FieldTransformation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FieldTransformation) FieldTransformationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldTransformation.newBuilder() to construct. private FieldTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldTransformation() { 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 FieldTransformation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FieldTransformation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,70 +71,85 @@ private FieldTransformation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - case 26: { - com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null; - if (condition_ != null) { - subBuilder = condition_.toBuilder(); - } - condition_ = input.readMessage(com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(condition_); - condition_ = subBuilder.buildPartial(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; } + case 26: + { + com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null; + if (condition_ != null) { + subBuilder = condition_.toBuilder(); + } + condition_ = + input.readMessage( + com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(condition_); + condition_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null; - if (transformationCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_).toBuilder(); + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_); - transformation_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null; + if (transformationCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 4; + break; } - transformationCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; - if (transformationCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); + case 42: + { + com.google.privacy.dlp.v2.InfoTypeTransformations.Builder subBuilder = null; + if (transformationCase_ == 5) { + subBuilder = + ((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.InfoTypeTransformations.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 5; + break; } - transformationCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -126,28 +158,34 @@ private FieldTransformation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldTransformation.class, com.google.privacy.dlp.v2.FieldTransformation.Builder.class); + com.google.privacy.dlp.v2.FieldTransformation.class, + com.google.privacy.dlp.v2.FieldTransformation.Builder.class); } private int transformationCase_ = 0; private java.lang.Object transformation_; + public enum TransformationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PRIMITIVE_TRANSFORMATION(4), INFO_TYPE_TRANSFORMATIONS(5), TRANSFORMATION_NOT_SET(0); private final int value; + private TransformationCase(int value) { this.value = value; } @@ -163,26 +201,31 @@ public static TransformationCase valueOf(int value) { public static TransformationCase forNumber(int value) { switch (value) { - case 4: return PRIMITIVE_TRANSFORMATION; - case 5: return INFO_TYPE_TRANSFORMATIONS; - case 0: return TRANSFORMATION_NOT_SET; - default: return null; + case 4: + return PRIMITIVE_TRANSFORMATION; + case 5: + return INFO_TYPE_TRANSFORMATIONS; + case 0: + return TRANSFORMATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TransformationCase - getTransformationCase() { - return TransformationCase.forNumber( - transformationCase_); + public TransformationCase getTransformationCase() { + return TransformationCase.forNumber(transformationCase_); } public static final int FIELDS_FIELD_NUMBER = 1; private java.util.List fields_; /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -190,13 +233,17 @@ public int getNumber() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -204,14 +251,18 @@ public java.util.List getFieldsList() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -219,13 +270,17 @@ public java.util.List getFieldsList() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -233,13 +288,17 @@ public int getFieldsCount() {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getFields(int index) { return fields_.get(index); } /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -247,17 +306,20 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) {
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) { return fields_.get(index); } public static final int CONDITION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.RecordCondition condition_; /** + * + * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -269,6 +331,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -276,6 +339,8 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -287,13 +352,18 @@ public boolean hasCondition() {
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; + * * @return The condition. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition getCondition() { - return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -313,11 +383,14 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
 
   public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; + * * @return Whether the primitiveTransformation field is set. */ @java.lang.Override @@ -325,21 +398,26 @@ public boolean hasPrimitiveTransformation() { return transformationCase_ == 4; } /** + * + * *
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; + * * @return The primitiveTransformation. */ @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; + return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; } return com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance(); } /** + * + * *
    * Apply the transformation to the entire field.
    * 
@@ -347,21 +425,25 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder + getPrimitiveTransformationOrBuilder() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; + return (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_; } return com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance(); } public static final int INFO_TYPE_TRANSFORMATIONS_FIELD_NUMBER = 5; /** + * + * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; + * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -369,22 +451,27 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 5; } /** + * + * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; + * * @return The infoTypeTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations() { if (transformationCase_ == 5) { - return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; + return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_; } return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance(); } /** + * + * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
@@ -393,14 +480,16 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
    * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
+  public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
+      getInfoTypeTransformationsOrBuilder() {
     if (transformationCase_ == 5) {
-       return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
+      return (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_;
     }
     return com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -412,8 +501,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -436,20 +524,20 @@ 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));
     }
     if (condition_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getCondition());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCondition());
     }
     if (transformationCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_);
     }
     if (transformationCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -459,29 +547,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.privacy.dlp.v2.FieldTransformation)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.FieldTransformation other = (com.google.privacy.dlp.v2.FieldTransformation) obj;
+    com.google.privacy.dlp.v2.FieldTransformation other =
+        (com.google.privacy.dlp.v2.FieldTransformation) obj;
 
-    if (!getFieldsList()
-        .equals(other.getFieldsList())) return false;
+    if (!getFieldsList().equals(other.getFieldsList())) 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 (!getTransformationCase().equals(other.getTransformationCase())) return false;
     switch (transformationCase_) {
       case 4:
-        if (!getPrimitiveTransformation()
-            .equals(other.getPrimitiveTransformation())) return false;
+        if (!getPrimitiveTransformation().equals(other.getPrimitiveTransformation())) return false;
         break;
       case 5:
-        if (!getInfoTypeTransformations()
-            .equals(other.getInfoTypeTransformations())) return false;
+        if (!getInfoTypeTransformations().equals(other.getInfoTypeTransformations())) return false;
         break;
       case 0:
       default:
@@ -522,118 +607,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.FieldTransformation parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.FieldTransformation parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.FieldTransformation parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.FieldTransformation prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 transformation to apply to the field.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.FieldTransformation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FieldTransformation) com.google.privacy.dlp.v2.FieldTransformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FieldTransformation.class, com.google.privacy.dlp.v2.FieldTransformation.Builder.class); + com.google.privacy.dlp.v2.FieldTransformation.class, + com.google.privacy.dlp.v2.FieldTransformation.Builder.class); } // Construct using com.google.privacy.dlp.v2.FieldTransformation.newBuilder() @@ -641,17 +735,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -673,9 +767,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor; } @java.lang.Override @@ -694,7 +788,8 @@ public com.google.privacy.dlp.v2.FieldTransformation build() { @java.lang.Override public com.google.privacy.dlp.v2.FieldTransformation buildPartial() { - com.google.privacy.dlp.v2.FieldTransformation result = new com.google.privacy.dlp.v2.FieldTransformation(this); + com.google.privacy.dlp.v2.FieldTransformation result = + new com.google.privacy.dlp.v2.FieldTransformation(this); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -733,38 +828,39 @@ public com.google.privacy.dlp.v2.FieldTransformation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.FieldTransformation) { - return mergeFrom((com.google.privacy.dlp.v2.FieldTransformation)other); + return mergeFrom((com.google.privacy.dlp.v2.FieldTransformation) other); } else { super.mergeFrom(other); return this; @@ -791,9 +887,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.FieldTransformation 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_); } @@ -803,17 +900,20 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.FieldTransformation other) { mergeCondition(other.getCondition()); } switch (other.getTransformationCase()) { - case PRIMITIVE_TRANSFORMATION: { - mergePrimitiveTransformation(other.getPrimitiveTransformation()); - break; - } - case INFO_TYPE_TRANSFORMATIONS: { - mergeInfoTypeTransformations(other.getInfoTypeTransformations()); - break; - } - case TRANSFORMATION_NOT_SET: { - break; - } + case PRIMITIVE_TRANSFORMATION: + { + mergePrimitiveTransformation(other.getPrimitiveTransformation()); + break; + } + case INFO_TYPE_TRANSFORMATIONS: + { + mergeInfoTypeTransformations(other.getInfoTypeTransformations()); + break; + } + case TRANSFORMATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -843,12 +943,12 @@ public Builder mergeFrom( } return this; } + private int transformationCase_ = 0; private java.lang.Object transformation_; - public TransformationCase - getTransformationCase() { - return TransformationCase.forNumber( - transformationCase_); + + public TransformationCase getTransformationCase() { + return TransformationCase.forNumber(transformationCase_); } public Builder clearTransformation() { @@ -861,18 +961,24 @@ public Builder clearTransformation() { 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.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldsBuilder_; /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -880,7 +986,9 @@ private void ensureFieldsIsMutable() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -890,6 +998,8 @@ public java.util.List getFieldsList() { } } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -897,7 +1007,9 @@ public java.util.List getFieldsList() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -907,6 +1019,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -914,7 +1028,9 @@ public int getFieldsCount() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId getFields(int index) { if (fieldsBuilder_ == null) { @@ -924,6 +1040,8 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) { } } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -931,10 +1049,11 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFields( - int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -948,6 +1067,8 @@ public Builder setFields( return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -955,10 +1076,11 @@ public Builder setFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFields( - int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -969,6 +1091,8 @@ public Builder setFields( return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -976,7 +1100,9 @@ public Builder setFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) { if (fieldsBuilder_ == null) { @@ -992,6 +1118,8 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -999,10 +1127,11 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addFields( - int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1016,6 +1145,8 @@ public Builder addFields( return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1023,10 +1154,11 @@ public Builder addFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addFields( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -1037,6 +1169,8 @@ public Builder addFields( return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1044,10 +1178,11 @@ public Builder addFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addFields( - int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -1058,6 +1193,8 @@ public Builder addFields( return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1065,14 +1202,15 @@ public Builder addFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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); @@ -1080,6 +1218,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1087,7 +1227,9 @@ public Builder addAllFields(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -1100,6 +1242,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1107,7 +1251,9 @@ public Builder clearFields() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -1120,6 +1266,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1127,13 +1275,16 @@ public Builder removeFields(int index) {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder(int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1141,16 +1292,20 @@ public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1158,10 +1313,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -1169,6 +1326,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( } } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1176,13 +1335,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1190,14 +1353,17 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder() {
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder( - int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder(int index) { + return getFieldsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1205,22 +1371,26 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder(
      * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getFieldsBuilderList() { + public java.util.List getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; @@ -1228,8 +1398,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder( private com.google.privacy.dlp.v2.RecordCondition condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> conditionBuilder_; + com.google.privacy.dlp.v2.RecordCondition, + com.google.privacy.dlp.v2.RecordCondition.Builder, + com.google.privacy.dlp.v2.RecordConditionOrBuilder> + conditionBuilder_; /** + * + * *
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1241,12 +1416,15 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder(
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; + * * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** + * + * *
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1258,16 +1436,21 @@ public boolean hasCondition() {
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; + * * @return The condition. */ public com.google.privacy.dlp.v2.RecordCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1294,6 +1477,8 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1306,8 +1491,7 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
      *
      * .google.privacy.dlp.v2.RecordCondition condition = 3;
      */
-    public Builder setCondition(
-        com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
+    public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
       if (conditionBuilder_ == null) {
         condition_ = builderForValue.build();
         onChanged();
@@ -1318,6 +1502,8 @@ public Builder setCondition(
       return this;
     }
     /**
+     *
+     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1334,7 +1520,9 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       if (conditionBuilder_ == null) {
         if (condition_ != null) {
           condition_ =
-            com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           condition_ = value;
         }
@@ -1346,6 +1534,8 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1370,6 +1560,8 @@ public Builder clearCondition() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1383,11 +1575,13 @@ public Builder clearCondition() {
      * .google.privacy.dlp.v2.RecordCondition condition = 3;
      */
     public com.google.privacy.dlp.v2.RecordCondition.Builder getConditionBuilder() {
-      
+
       onChanged();
       return getConditionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1404,11 +1598,14 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
       if (conditionBuilder_ != null) {
         return conditionBuilder_.getMessageOrBuilder();
       } else {
-        return condition_ == null ?
-            com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_;
+        return condition_ == null
+            ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance()
+            : condition_;
       }
     }
     /**
+     *
+     *
      * 
      * Only apply the transformation if the condition evaluates to true for the
      * given `RecordCondition`. The conditions are allowed to reference fields
@@ -1422,27 +1619,36 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
      * .google.privacy.dlp.v2.RecordCondition condition = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> 
+            com.google.privacy.dlp.v2.RecordCondition,
+            com.google.privacy.dlp.v2.RecordCondition.Builder,
+            com.google.privacy.dlp.v2.RecordConditionOrBuilder>
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
-        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
-                getCondition(),
-                getParentForChildren(),
-                isClean());
+        conditionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.RecordCondition,
+                com.google.privacy.dlp.v2.RecordCondition.Builder,
+                com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
+                getCondition(), getParentForChildren(), isClean());
         condition_ = null;
       }
       return conditionBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> primitiveTransformationBuilder_;
+            com.google.privacy.dlp.v2.PrimitiveTransformation,
+            com.google.privacy.dlp.v2.PrimitiveTransformation.Builder,
+            com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>
+        primitiveTransformationBuilder_;
     /**
+     *
+     *
      * 
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; + * * @return Whether the primitiveTransformation field is set. */ @java.lang.Override @@ -1450,11 +1656,14 @@ public boolean hasPrimitiveTransformation() { return transformationCase_ == 4; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; + * * @return The primitiveTransformation. */ @java.lang.Override @@ -1472,13 +1681,16 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformat } } /** + * + * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ - public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder setPrimitiveTransformation( + com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1492,6 +1704,8 @@ public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTra return this; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1510,18 +1724,25 @@ public Builder setPrimitiveTransformation( return this; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ - public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder mergePrimitiveTransformation( + com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { - if (transformationCase_ == 4 && - transformation_ != com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder((com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 4 + && transformation_ + != com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder( + (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -1536,6 +1757,8 @@ public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveT return this; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1559,16 +1782,21 @@ public Builder clearPrimitiveTransformation() { return this; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ - public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getPrimitiveTransformationBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder + getPrimitiveTransformationBuilder() { return getPrimitiveTransformationFieldBuilder().getBuilder(); } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1576,7 +1804,8 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getPrimitiveTra * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder + getPrimitiveTransformationOrBuilder() { if ((transformationCase_ == 4) && (primitiveTransformationBuilder_ != null)) { return primitiveTransformationBuilder_.getMessageOrBuilder(); } else { @@ -1587,6 +1816,8 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTr } } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1594,33 +1825,45 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTr * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> getPrimitiveTransformationFieldBuilder() { if (primitiveTransformationBuilder_ == null) { if (!(transformationCase_ == 4)) { transformation_ = com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance(); } - primitiveTransformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( + primitiveTransformationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( (com.google.privacy.dlp.v2.PrimitiveTransformation) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 4; - onChanged();; + onChanged(); + ; return primitiveTransformationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> infoTypeTransformationsBuilder_; + com.google.privacy.dlp.v2.InfoTypeTransformations, + com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, + com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> + infoTypeTransformationsBuilder_; /** + * + * *
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; + * * @return Whether the infoTypeTransformations field is set. */ @java.lang.Override @@ -1628,12 +1871,15 @@ public boolean hasInfoTypeTransformations() { return transformationCase_ == 5; } /** + * + * *
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
      * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; + * * @return The infoTypeTransformations. */ @java.lang.Override @@ -1651,6 +1897,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati } } /** + * + * *
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1658,7 +1906,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
-    public Builder setInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder setInfoTypeTransformations(
+        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1672,6 +1921,8 @@ public Builder setInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTran
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1691,6 +1942,8 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1698,12 +1951,17 @@ public Builder setInfoTypeTransformations(
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
-    public Builder mergeInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations value) {
+    public Builder mergeInfoTypeTransformations(
+        com.google.privacy.dlp.v2.InfoTypeTransformations value) {
       if (infoTypeTransformationsBuilder_ == null) {
-        if (transformationCase_ == 5 &&
-            transformation_ != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
-          transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder((com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
-              .mergeFrom(value).buildPartial();
+        if (transformationCase_ == 5
+            && transformation_
+                != com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) {
+          transformation_ =
+              com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder(
+                      (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transformation_ = value;
         }
@@ -1718,6 +1976,8 @@ public Builder mergeInfoTypeTransformations(com.google.privacy.dlp.v2.InfoTypeTr
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1742,6 +2002,8 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1749,10 +2011,13 @@ public Builder clearInfoTypeTransformations() {
      *
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
-    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder getInfoTypeTransformationsBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder
+        getInfoTypeTransformationsBuilder() {
       return getInfoTypeTransformationsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1761,7 +2026,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.Builder getInfoTypeTran
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder() {
+    public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder
+        getInfoTypeTransformationsOrBuilder() {
       if ((transformationCase_ == 5) && (infoTypeTransformationsBuilder_ != null)) {
         return infoTypeTransformationsBuilder_.getMessageOrBuilder();
       } else {
@@ -1772,6 +2038,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
       }
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1780,26 +2048,32 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
      * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder> 
+            com.google.privacy.dlp.v2.InfoTypeTransformations,
+            com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
+            com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>
         getInfoTypeTransformationsFieldBuilder() {
       if (infoTypeTransformationsBuilder_ == null) {
         if (!(transformationCase_ == 5)) {
           transformation_ = com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance();
         }
-        infoTypeTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoTypeTransformations, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder, com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
+        infoTypeTransformationsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoTypeTransformations,
+                com.google.privacy.dlp.v2.InfoTypeTransformations.Builder,
+                com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder>(
                 (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_,
                 getParentForChildren(),
                 isClean());
         transformation_ = null;
       }
       transformationCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return infoTypeTransformationsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1809,12 +2083,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FieldTransformation)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FieldTransformation)
   private static final com.google.privacy.dlp.v2.FieldTransformation DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FieldTransformation();
   }
@@ -1823,16 +2097,16 @@ public static com.google.privacy.dlp.v2.FieldTransformation getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FieldTransformation parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new FieldTransformation(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FieldTransformation parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new FieldTransformation(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1847,6 +2121,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.FieldTransformation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
index 204347a7..5572edf9 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface FieldTransformationOrBuilder extends
+public interface FieldTransformationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FieldTransformation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -15,11 +33,14 @@ public interface FieldTransformationOrBuilder extends
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -27,10 +48,14 @@ public interface FieldTransformationOrBuilder extends
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.FieldId getFields(int index); /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -38,10 +63,14 @@ public interface FieldTransformationOrBuilder extends
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getFieldsCount(); /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -49,11 +78,14 @@ public interface FieldTransformationOrBuilder extends
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getFieldsOrBuilderList(); + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Required. Input field(s) to apply the transformation to.
    * When you have columns that reference their position within a list,
@@ -61,12 +93,15 @@ public interface FieldTransformationOrBuilder extends
    * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* - * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( - int index); + com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index); /** + * + * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -78,10 +113,13 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -93,10 +131,13 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 3; + * * @return The condition. */ com.google.privacy.dlp.v2.RecordCondition getCondition(); /** + * + * *
    * Only apply the transformation if the condition evaluates to true for the
    * given `RecordCondition`. The conditions are allowed to reference fields
@@ -112,24 +153,32 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(
   com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; + * * @return Whether the primitiveTransformation field is set. */ boolean hasPrimitiveTransformation(); /** + * + * *
    * Apply the transformation to the entire field.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4; + * * @return The primitiveTransformation. */ com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation(); /** + * + * *
    * Apply the transformation to the entire field.
    * 
@@ -139,26 +188,34 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder( com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder(); /** + * + * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; + * * @return Whether the infoTypeTransformations field is set. */ boolean hasInfoTypeTransformations(); /** + * + * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5; + * * @return The infoTypeTransformations. */ com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations(); /** + * + * *
    * Treat the contents of the field as free text, and selectively
    * transform content that matches an `InfoType`.
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
similarity index 79%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
index e5b28b2d..fe484ce6 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Definitions of file type groups to scan. New types will be added to this
  * list.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.FileType}
  */
-public enum FileType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Includes all files.
    * 
@@ -22,6 +40,8 @@ public enum FileType */ FILE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Includes all file extensions not covered by another entry. Binary
    * scanning attempts to convert the content of the file to utf_8 to scan
@@ -34,6 +54,8 @@ public enum FileType
    */
   BINARY_FILE(1),
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
@@ -48,6 +70,8 @@ public enum FileType
    */
   TEXT_FILE(2),
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   bmp, gif, jpg, jpeg, jpe, png.
@@ -59,6 +83,8 @@ public enum FileType
    */
   IMAGE(3),
   /**
+   *
+   *
    * 
    * Word files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -69,6 +95,8 @@ public enum FileType
    */
   WORD(5),
   /**
+   *
+   *
    * 
    * PDF files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -79,6 +107,8 @@ public enum FileType
    */
   PDF(6),
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   avro
@@ -88,6 +118,8 @@ public enum FileType
    */
   AVRO(7),
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   csv
@@ -97,6 +129,8 @@ public enum FileType
    */
   CSV(8),
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   tsv
@@ -106,6 +140,8 @@ public enum FileType
    */
   TSV(9),
   /**
+   *
+   *
    * 
    * Powerpoint files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -116,6 +152,8 @@ public enum FileType
    */
   POWERPOINT(11),
   /**
+   *
+   *
    * 
    * Excel files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -129,6 +167,8 @@ public enum FileType
   ;
 
   /**
+   *
+   *
    * 
    * Includes all files.
    * 
@@ -137,6 +177,8 @@ public enum FileType */ public static final int FILE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Includes all file extensions not covered by another entry. Binary
    * scanning attempts to convert the content of the file to utf_8 to scan
@@ -149,6 +191,8 @@ public enum FileType
    */
   public static final int BINARY_FILE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
@@ -163,6 +207,8 @@ public enum FileType
    */
   public static final int TEXT_FILE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   bmp, gif, jpg, jpeg, jpe, png.
@@ -174,6 +220,8 @@ public enum FileType
    */
   public static final int IMAGE_VALUE = 3;
   /**
+   *
+   *
    * 
    * Word files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -184,6 +232,8 @@ public enum FileType
    */
   public static final int WORD_VALUE = 5;
   /**
+   *
+   *
    * 
    * PDF files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -194,6 +244,8 @@ public enum FileType
    */
   public static final int PDF_VALUE = 6;
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   avro
@@ -203,6 +255,8 @@ public enum FileType
    */
   public static final int AVRO_VALUE = 7;
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   csv
@@ -212,6 +266,8 @@ public enum FileType
    */
   public static final int CSV_VALUE = 8;
   /**
+   *
+   *
    * 
    * Included file extensions:
    *   tsv
@@ -221,6 +277,8 @@ public enum FileType
    */
   public static final int TSV_VALUE = 9;
   /**
+   *
+   *
    * 
    * Powerpoint files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -231,6 +289,8 @@ public enum FileType
    */
   public static final int POWERPOINT_VALUE = 11;
   /**
+   *
+   *
    * 
    * Excel files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -241,7 +301,6 @@ public enum FileType
    */
   public static final int EXCEL_VALUE = 12;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -266,57 +325,65 @@ public static FileType valueOf(int value) {
    */
   public static FileType forNumber(int value) {
     switch (value) {
-      case 0: return FILE_TYPE_UNSPECIFIED;
-      case 1: return BINARY_FILE;
-      case 2: return TEXT_FILE;
-      case 3: return IMAGE;
-      case 5: return WORD;
-      case 6: return PDF;
-      case 7: return AVRO;
-      case 8: return CSV;
-      case 9: return TSV;
-      case 11: return POWERPOINT;
-      case 12: return EXCEL;
-      default: return null;
+      case 0:
+        return FILE_TYPE_UNSPECIFIED;
+      case 1:
+        return BINARY_FILE;
+      case 2:
+        return TEXT_FILE;
+      case 3:
+        return IMAGE;
+      case 5:
+        return WORD;
+      case 6:
+        return PDF;
+      case 7:
+        return AVRO;
+      case 8:
+        return CSV;
+      case 9:
+        return TSV;
+      case 11:
+        return POWERPOINT;
+      case 12:
+        return EXCEL;
+      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<
-      FileType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FileType findValueByNumber(int number) {
-            return FileType.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 FileType findValueByNumber(int number) {
+          return FileType.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.privacy.dlp.v2.DlpStorage.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final FileType[] VALUES = values();
 
-  public static FileType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static FileType 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;
@@ -332,4 +399,3 @@ private FileType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.FileType)
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
similarity index 73%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
index 36f71169..09070544 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Represents a piece of potentially sensitive content.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Finding} */ -public final class Finding extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Finding extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Finding) FindingOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Finding.newBuilder() to construct. private Finding(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Finding() { name_ = ""; quote_ = ""; @@ -31,16 +49,15 @@ private Finding() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Finding(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Finding( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,173 +77,194 @@ private Finding( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - quote_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (infoType_ != null) { - subBuilder = infoType_.toBuilder(); + quote_ = s; + break; } - infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(infoType_); - infoType_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (infoType_ != null) { + subBuilder = infoType_.toBuilder(); + } + infoType_ = + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(infoType_); + infoType_ = subBuilder.buildPartial(); + } + + break; } + case 24: + { + int rawValue = input.readEnum(); - break; - } - case 24: { - int rawValue = input.readEnum(); - - likelihood_ = rawValue; - break; - } - case 34: { - com.google.privacy.dlp.v2.Location.Builder subBuilder = null; - if (location_ != null) { - subBuilder = location_.toBuilder(); + likelihood_ = rawValue; + break; } - location_ = input.readMessage(com.google.privacy.dlp.v2.Location.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(location_); - location_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.Location.Builder subBuilder = null; + if (location_ != null) { + subBuilder = location_.toBuilder(); + } + location_ = + input.readMessage(com.google.privacy.dlp.v2.Location.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(location_); + location_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.privacy.dlp.v2.QuoteInfo.Builder subBuilder = null; + if (quoteInfo_ != null) { + subBuilder = quoteInfo_.toBuilder(); + } + quoteInfo_ = + input.readMessage( + com.google.privacy.dlp.v2.QuoteInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(quoteInfo_); + quoteInfo_ = subBuilder.buildPartial(); + } + + break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - com.google.privacy.dlp.v2.QuoteInfo.Builder subBuilder = null; - if (quoteInfo_ != null) { - subBuilder = quoteInfo_.toBuilder(); - } - quoteInfo_ = input.readMessage(com.google.privacy.dlp.v2.QuoteInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(quoteInfo_); - quoteInfo_ = subBuilder.buildPartial(); + resourceName_ = s; + break; } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - resourceName_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - triggerName_ = s; - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + triggerName_ = s; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (jobCreateTime_ != null) { - subBuilder = jobCreateTime_.toBuilder(); + case 82: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - jobCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobCreateTime_); - jobCreateTime_ = subBuilder.buildPartial(); + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (jobCreateTime_ != null) { + subBuilder = jobCreateTime_.toBuilder(); + } + jobCreateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobCreateTime_); + jobCreateTime_ = subBuilder.buildPartial(); + } + + break; } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - jobName_ = s; - break; - } - case 114: { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 122: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); - findingId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + findingId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Finding_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 10: 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.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Finding.class, com.google.privacy.dlp.v2.Finding.Builder.class); + com.google.privacy.dlp.v2.Finding.class, + com.google.privacy.dlp.v2.Finding.Builder.class); } public static final int NAME_FIELD_NUMBER = 14; private volatile java.lang.Object name_; /** + * + * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -234,6 +272,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 14; + * * @return The name. */ @java.lang.Override @@ -242,14 +281,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; } } /** + * + * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -257,16 +297,15 @@ public java.lang.String getName() {
    * 
* * string name = 14; + * * @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 { @@ -277,6 +316,8 @@ public java.lang.String getName() { public static final int QUOTE_FIELD_NUMBER = 1; private volatile java.lang.Object quote_; /** + * + * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -286,6 +327,7 @@ public java.lang.String getName() {
    * 
* * string quote = 1; + * * @return The quote. */ @java.lang.Override @@ -294,14 +336,15 @@ public java.lang.String getQuote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quote_ = s; return s; } } /** + * + * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -311,16 +354,15 @@ public java.lang.String getQuote() {
    * 
* * string quote = 1; + * * @return The bytes for quote. */ @java.lang.Override - public com.google.protobuf.ByteString - getQuoteBytes() { + public com.google.protobuf.ByteString getQuoteBytes() { java.lang.Object ref = quote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); quote_ = b; return b; } else { @@ -331,12 +373,15 @@ public java.lang.String getQuote() { public static final int INFO_TYPE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InfoType infoType_; /** + * + * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -344,12 +389,15 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override @@ -357,6 +405,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** + * + * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
@@ -372,38 +422,50 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
   public static final int LIKELIHOOD_FIELD_NUMBER = 3;
   private int likelihood_;
   /**
+   *
+   *
    * 
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override public int getLikelihoodValue() { + @java.lang.Override + public int getLikelihoodValue() { return likelihood_; } /** + * + * *
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return The likelihood. */ - @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { + @java.lang.Override + public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } public static final int LOCATION_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.Location location_; /** + * + * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; + * * @return Whether the location field is set. */ @java.lang.Override @@ -411,11 +473,14 @@ public boolean hasLocation() { return location_ != null; } /** + * + * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; + * * @return The location. */ @java.lang.Override @@ -423,6 +488,8 @@ public com.google.privacy.dlp.v2.Location getLocation() { return location_ == null ? com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_; } /** + * + * *
    * Where the content was found.
    * 
@@ -437,11 +504,14 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -449,11 +519,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -461,6 +534,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Timestamp when finding was detected.
    * 
@@ -475,6 +550,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int QUOTE_INFO_FIELD_NUMBER = 7; private com.google.privacy.dlp.v2.QuoteInfo quoteInfo_; /** + * + * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -482,6 +559,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; + * * @return Whether the quoteInfo field is set. */ @java.lang.Override @@ -489,6 +567,8 @@ public boolean hasQuoteInfo() { return quoteInfo_ != null; } /** + * + * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -496,13 +576,18 @@ public boolean hasQuoteInfo() {
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; + * * @return The quoteInfo. */ @java.lang.Override public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() { - return quoteInfo_ == null ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() : quoteInfo_; + return quoteInfo_ == null + ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() + : quoteInfo_; } /** + * + * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -519,11 +604,14 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
   public static final int RESOURCE_NAME_FIELD_NUMBER = 8;
   private volatile java.lang.Object resourceName_;
   /**
+   *
+   *
    * 
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return The resourceName. */ @java.lang.Override @@ -532,29 +620,29 @@ public java.lang.String getResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** + * + * *
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceNameBytes() { + public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { @@ -565,11 +653,14 @@ public java.lang.String getResourceName() { public static final int TRIGGER_NAME_FIELD_NUMBER = 9; private volatile java.lang.Object triggerName_; /** + * + * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return The triggerName. */ @java.lang.Override @@ -578,29 +669,29 @@ public java.lang.String getTriggerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerName_ = s; return s; } } /** + * + * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return The bytes for triggerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTriggerNameBytes() { + public com.google.protobuf.ByteString getTriggerNameBytes() { java.lang.Object ref = triggerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); triggerName_ = b; return b; } else { @@ -609,24 +700,23 @@ public java.lang.String getTriggerName() { } public static final int LABELS_FIELD_NUMBER = 10; + 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.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -635,6 +725,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -649,22 +741,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 10;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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();
   }
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -680,11 +772,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 10;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -700,16 +793,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 10;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -725,12 +818,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 10;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -740,11 +832,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int JOB_CREATE_TIME_FIELD_NUMBER = 11;
   private com.google.protobuf.Timestamp jobCreateTime_;
   /**
+   *
+   *
    * 
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; + * * @return Whether the jobCreateTime field is set. */ @java.lang.Override @@ -752,18 +847,25 @@ public boolean hasJobCreateTime() { return jobCreateTime_ != null; } /** + * + * *
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; + * * @return The jobCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobCreateTime() { - return jobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobCreateTime_; + return jobCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobCreateTime_; } /** + * + * *
    * Time the job started that produced this finding.
    * 
@@ -778,11 +880,14 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { public static final int JOB_NAME_FIELD_NUMBER = 13; private volatile java.lang.Object jobName_; /** + * + * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return The jobName. */ @java.lang.Override @@ -791,29 +896,29 @@ public java.lang.String getJobName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobName_ = s; return s; } } /** + * + * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobName_ = b; return b; } else { @@ -824,11 +929,14 @@ public java.lang.String getJobName() { public static final int FINDING_ID_FIELD_NUMBER = 15; private volatile java.lang.Object findingId_; /** + * + * *
    * The unique finding id.
    * 
* * string finding_id = 15; + * * @return The findingId. */ @java.lang.Override @@ -837,29 +945,29 @@ public java.lang.String getFindingId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); findingId_ = s; return s; } } /** + * + * *
    * The unique finding id.
    * 
* * string finding_id = 15; + * * @return The bytes for findingId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFindingIdBytes() { + public com.google.protobuf.ByteString getFindingIdBytes() { java.lang.Object ref = findingId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); findingId_ = b; return b; } else { @@ -868,6 +976,7 @@ public java.lang.String getFindingId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -879,8 +988,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quote_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, quote_); } @@ -905,12 +1013,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(triggerName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, triggerName_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); if (jobCreateTime_ != null) { output.writeMessage(11, getJobCreateTime()); } @@ -936,24 +1040,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, quote_); } if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInfoType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInfoType()); } if (likelihood_ != com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, likelihood_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, likelihood_); } if (location_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getLocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLocation()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (quoteInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getQuoteInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getQuoteInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, resourceName_); @@ -961,19 +1060,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(triggerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, triggerName_); } - 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(10, 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(10, labels__); } if (jobCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getJobCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getJobCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, jobName_); @@ -992,53 +1090,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.Finding)) { return super.equals(obj); } com.google.privacy.dlp.v2.Finding other = (com.google.privacy.dlp.v2.Finding) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getQuote() - .equals(other.getQuote())) return false; + if (!getName().equals(other.getName())) return false; + if (!getQuote().equals(other.getQuote())) return false; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } if (likelihood_ != other.likelihood_) return false; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) 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 (hasQuoteInfo() != other.hasQuoteInfo()) return false; if (hasQuoteInfo()) { - if (!getQuoteInfo() - .equals(other.getQuoteInfo())) return false; - } - if (!getResourceName() - .equals(other.getResourceName())) return false; - if (!getTriggerName() - .equals(other.getTriggerName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getQuoteInfo().equals(other.getQuoteInfo())) return false; + } + if (!getResourceName().equals(other.getResourceName())) return false; + if (!getTriggerName().equals(other.getTriggerName())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasJobCreateTime() != other.hasJobCreateTime()) return false; if (hasJobCreateTime()) { - if (!getJobCreateTime() - .equals(other.getJobCreateTime())) return false; + if (!getJobCreateTime().equals(other.getJobCreateTime())) return false; } - if (!getJobName() - .equals(other.getJobName())) return false; - if (!getFindingId() - .equals(other.getFindingId())) return false; + if (!getJobName().equals(other.getJobName())) return false; + if (!getFindingId().equals(other.getFindingId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1093,140 +1179,146 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Finding parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Finding parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Finding parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Finding parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Finding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Finding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Finding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Finding parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Finding parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Finding parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Finding 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.privacy.dlp.v2.Finding parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Finding parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Finding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Finding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a piece of potentially sensitive content.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Finding} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Finding) com.google.privacy.dlp.v2.FindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Finding_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 10: 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 10: 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.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Finding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Finding.class, com.google.privacy.dlp.v2.Finding.Builder.class); + com.google.privacy.dlp.v2.Finding.class, + com.google.privacy.dlp.v2.Finding.Builder.class); } // Construct using com.google.privacy.dlp.v2.Finding.newBuilder() @@ -1234,16 +1326,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1296,9 +1387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Finding_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Finding_descriptor; } @java.lang.Override @@ -1361,38 +1452,39 @@ public com.google.privacy.dlp.v2.Finding buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Finding) { - return mergeFrom((com.google.privacy.dlp.v2.Finding)other); + return mergeFrom((com.google.privacy.dlp.v2.Finding) other); } else { super.mergeFrom(other); return this; @@ -1432,8 +1524,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Finding other) { triggerName_ = other.triggerName_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasJobCreateTime()) { mergeJobCreateTime(other.getJobCreateTime()); } @@ -1473,10 +1564,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1484,13 +1578,13 @@ public Builder mergeFrom(
      * 
* * string name = 14; + * * @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; @@ -1499,6 +1593,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1506,15 +1602,14 @@ public java.lang.String getName() {
      * 
* * string name = 14; + * * @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 { @@ -1522,6 +1617,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1529,20 +1626,22 @@ public java.lang.String getName() {
      * 
* * string name = 14; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1550,15 +1649,18 @@ public Builder setName(
      * 
* * string name = 14; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1566,16 +1668,16 @@ public Builder clearName() {
      * 
* * string name = 14; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1583,6 +1685,8 @@ public Builder setNameBytes( private java.lang.Object quote_ = ""; /** + * + * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1592,13 +1696,13 @@ public Builder setNameBytes(
      * 
* * string quote = 1; + * * @return The quote. */ public java.lang.String getQuote() { java.lang.Object ref = quote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quote_ = s; return s; @@ -1607,6 +1711,8 @@ public java.lang.String getQuote() { } } /** + * + * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1616,15 +1722,14 @@ public java.lang.String getQuote() {
      * 
* * string quote = 1; + * * @return The bytes for quote. */ - public com.google.protobuf.ByteString - getQuoteBytes() { + public com.google.protobuf.ByteString getQuoteBytes() { java.lang.Object ref = quote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); quote_ = b; return b; } else { @@ -1632,6 +1737,8 @@ public java.lang.String getQuote() { } } /** + * + * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1641,20 +1748,22 @@ public java.lang.String getQuote() {
      * 
* * string quote = 1; + * * @param value The quote to set. * @return This builder for chaining. */ - public Builder setQuote( - java.lang.String value) { + public Builder setQuote(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + quote_ = value; onChanged(); return this; } /** + * + * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1664,15 +1773,18 @@ public Builder setQuote(
      * 
* * string quote = 1; + * * @return This builder for chaining. */ public Builder clearQuote() { - + quote_ = getDefaultInstance().getQuote(); onChanged(); return this; } /** + * + * *
      * The content that was found. Even if the content is not textual, it
      * may be converted to a textual representation here.
@@ -1682,16 +1794,16 @@ public Builder clearQuote() {
      * 
* * string quote = 1; + * * @param value The bytes for quote to set. * @return This builder for chaining. */ - public Builder setQuoteBytes( - com.google.protobuf.ByteString value) { + public Builder setQuoteBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + quote_ = value; onChanged(); return this; @@ -1699,36 +1811,49 @@ public Builder setQuoteBytes( private com.google.privacy.dlp.v2.InfoType infoType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + infoTypeBuilder_; /** + * + * *
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** + * + * *
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1750,6 +1875,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1757,8 +1884,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
      *
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
-    public Builder setInfoType(
-        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypeBuilder_ == null) {
         infoType_ = builderForValue.build();
         onChanged();
@@ -1769,6 +1895,8 @@ public Builder setInfoType(
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1780,7 +1908,9 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypeBuilder_ == null) {
         if (infoType_ != null) {
           infoType_ =
-            com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           infoType_ = value;
         }
@@ -1792,6 +1922,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1811,6 +1943,8 @@ public Builder clearInfoType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1819,11 +1953,13 @@ public Builder clearInfoType() {
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
-      
+
       onChanged();
       return getInfoTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1835,11 +1971,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       if (infoTypeBuilder_ != null) {
         return infoTypeBuilder_.getMessageOrBuilder();
       } else {
-        return infoType_ == null ?
-            com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
+        return infoType_ == null
+            ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
+            : infoType_;
       }
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1848,14 +1987,17 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getInfoTypeFieldBuilder() {
       if (infoTypeBuilder_ == null) {
-        infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                getInfoType(),
-                getParentForChildren(),
-                isClean());
+        infoTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                getInfoType(), getParentForChildren(), isClean());
         infoType_ = null;
       }
       return infoTypeBuilder_;
@@ -1863,51 +2005,65 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
 
     private int likelihood_ = 0;
     /**
+     *
+     *
      * 
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return The enum numeric value on the wire for likelihood. */ - @java.lang.Override public int getLikelihoodValue() { + @java.lang.Override + public int getLikelihoodValue() { return likelihood_; } /** + * + * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @param value The enum numeric value on the wire for likelihood to set. * @return This builder for chaining. */ public Builder setLikelihoodValue(int value) { - + likelihood_ = value; onChanged(); return this; } /** + * + * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return The likelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf(likelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } /** + * + * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @param value The likelihood to set. * @return This builder for chaining. */ @@ -1915,21 +2071,24 @@ public Builder setLikelihood(com.google.privacy.dlp.v2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + likelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Confidence of how likely it is that the `info_type` is correct.
      * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return This builder for chaining. */ public Builder clearLikelihood() { - + likelihood_ = 0; onChanged(); return this; @@ -1937,34 +2096,47 @@ public Builder clearLikelihood() { private com.google.privacy.dlp.v2.Location location_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Location, com.google.privacy.dlp.v2.Location.Builder, com.google.privacy.dlp.v2.LocationOrBuilder> locationBuilder_; + com.google.privacy.dlp.v2.Location, + com.google.privacy.dlp.v2.Location.Builder, + com.google.privacy.dlp.v2.LocationOrBuilder> + locationBuilder_; /** + * + * *
      * Where the content was found.
      * 
* * .google.privacy.dlp.v2.Location location = 4; + * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** + * + * *
      * Where the content was found.
      * 
* * .google.privacy.dlp.v2.Location location = 4; + * * @return The location. */ public com.google.privacy.dlp.v2.Location getLocation() { if (locationBuilder_ == null) { - return location_ == null ? com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_; + return location_ == null + ? com.google.privacy.dlp.v2.Location.getDefaultInstance() + : location_; } else { return locationBuilder_.getMessage(); } } /** + * + * *
      * Where the content was found.
      * 
@@ -1985,14 +2157,15 @@ public Builder setLocation(com.google.privacy.dlp.v2.Location value) { return this; } /** + * + * *
      * Where the content was found.
      * 
* * .google.privacy.dlp.v2.Location location = 4; */ - public Builder setLocation( - com.google.privacy.dlp.v2.Location.Builder builderForValue) { + public Builder setLocation(com.google.privacy.dlp.v2.Location.Builder builderForValue) { if (locationBuilder_ == null) { location_ = builderForValue.build(); onChanged(); @@ -2003,6 +2176,8 @@ public Builder setLocation( return this; } /** + * + * *
      * Where the content was found.
      * 
@@ -2013,7 +2188,9 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.Location value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.privacy.dlp.v2.Location.newBuilder(location_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Location.newBuilder(location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -2025,6 +2202,8 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.Location value) { return this; } /** + * + * *
      * Where the content was found.
      * 
@@ -2043,6 +2222,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Where the content was found.
      * 
@@ -2050,11 +2231,13 @@ public Builder clearLocation() { * .google.privacy.dlp.v2.Location location = 4; */ public com.google.privacy.dlp.v2.Location.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Where the content was found.
      * 
@@ -2065,11 +2248,14 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null ? - com.google.privacy.dlp.v2.Location.getDefaultInstance() : location_; + return location_ == null + ? com.google.privacy.dlp.v2.Location.getDefaultInstance() + : location_; } } /** + * + * *
      * Where the content was found.
      * 
@@ -2077,14 +2263,17 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { * .google.privacy.dlp.v2.Location location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Location, com.google.privacy.dlp.v2.Location.Builder, com.google.privacy.dlp.v2.LocationOrBuilder> + com.google.privacy.dlp.v2.Location, + com.google.privacy.dlp.v2.Location.Builder, + com.google.privacy.dlp.v2.LocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Location, com.google.privacy.dlp.v2.Location.Builder, com.google.privacy.dlp.v2.LocationOrBuilder>( - getLocation(), - getParentForChildren(), - isClean()); + locationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Location, + com.google.privacy.dlp.v2.Location.Builder, + com.google.privacy.dlp.v2.LocationOrBuilder>( + getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; @@ -2092,34 +2281,47 @@ public com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder() { 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_; /** + * + * *
      * Timestamp when finding was detected.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Timestamp when finding was detected.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @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(); } } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2140,14 +2342,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2158,6 +2361,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2168,7 +2373,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2180,6 +2385,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2198,6 +2405,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2205,11 +2414,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2220,11 +2431,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_; } } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2232,14 +2446,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ 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_; @@ -2247,8 +2464,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.privacy.dlp.v2.QuoteInfo quoteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.QuoteInfo, com.google.privacy.dlp.v2.QuoteInfo.Builder, com.google.privacy.dlp.v2.QuoteInfoOrBuilder> quoteInfoBuilder_; + com.google.privacy.dlp.v2.QuoteInfo, + com.google.privacy.dlp.v2.QuoteInfo.Builder, + com.google.privacy.dlp.v2.QuoteInfoOrBuilder> + quoteInfoBuilder_; /** + * + * *
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2256,12 +2478,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; + * * @return Whether the quoteInfo field is set. */ public boolean hasQuoteInfo() { return quoteInfoBuilder_ != null || quoteInfo_ != null; } /** + * + * *
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2269,16 +2494,21 @@ public boolean hasQuoteInfo() {
      * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; + * * @return The quoteInfo. */ public com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo() { if (quoteInfoBuilder_ == null) { - return quoteInfo_ == null ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() : quoteInfo_; + return quoteInfo_ == null + ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() + : quoteInfo_; } else { return quoteInfoBuilder_.getMessage(); } } /** + * + * *
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2301,6 +2531,8 @@ public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2309,8 +2541,7 @@ public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
      *
      * .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      */
-    public Builder setQuoteInfo(
-        com.google.privacy.dlp.v2.QuoteInfo.Builder builderForValue) {
+    public Builder setQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo.Builder builderForValue) {
       if (quoteInfoBuilder_ == null) {
         quoteInfo_ = builderForValue.build();
         onChanged();
@@ -2321,6 +2552,8 @@ public Builder setQuoteInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2333,7 +2566,9 @@ public Builder mergeQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
       if (quoteInfoBuilder_ == null) {
         if (quoteInfo_ != null) {
           quoteInfo_ =
-            com.google.privacy.dlp.v2.QuoteInfo.newBuilder(quoteInfo_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.QuoteInfo.newBuilder(quoteInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           quoteInfo_ = value;
         }
@@ -2345,6 +2580,8 @@ public Builder mergeQuoteInfo(com.google.privacy.dlp.v2.QuoteInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2365,6 +2602,8 @@ public Builder clearQuoteInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2374,11 +2613,13 @@ public Builder clearQuoteInfo() {
      * .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      */
     public com.google.privacy.dlp.v2.QuoteInfo.Builder getQuoteInfoBuilder() {
-      
+
       onChanged();
       return getQuoteInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2391,11 +2632,14 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
       if (quoteInfoBuilder_ != null) {
         return quoteInfoBuilder_.getMessageOrBuilder();
       } else {
-        return quoteInfo_ == null ?
-            com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance() : quoteInfo_;
+        return quoteInfo_ == null
+            ? com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance()
+            : quoteInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Contains data parsed from quotes. Only populated if include_quote was set
      * to true and a supported infoType was requested. Currently supported
@@ -2405,14 +2649,17 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
      * .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.QuoteInfo, com.google.privacy.dlp.v2.QuoteInfo.Builder, com.google.privacy.dlp.v2.QuoteInfoOrBuilder> 
+            com.google.privacy.dlp.v2.QuoteInfo,
+            com.google.privacy.dlp.v2.QuoteInfo.Builder,
+            com.google.privacy.dlp.v2.QuoteInfoOrBuilder>
         getQuoteInfoFieldBuilder() {
       if (quoteInfoBuilder_ == null) {
-        quoteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.QuoteInfo, com.google.privacy.dlp.v2.QuoteInfo.Builder, com.google.privacy.dlp.v2.QuoteInfoOrBuilder>(
-                getQuoteInfo(),
-                getParentForChildren(),
-                isClean());
+        quoteInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.QuoteInfo,
+                com.google.privacy.dlp.v2.QuoteInfo.Builder,
+                com.google.privacy.dlp.v2.QuoteInfoOrBuilder>(
+                getQuoteInfo(), getParentForChildren(), isClean());
         quoteInfo_ = null;
       }
       return quoteInfoBuilder_;
@@ -2420,18 +2667,20 @@ public com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder() {
 
     private java.lang.Object resourceName_ = "";
     /**
+     *
+     *
      * 
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -2440,20 +2689,21 @@ public java.lang.String getResourceName() { } } /** + * + * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString - getResourceNameBytes() { + public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { @@ -2461,54 +2711,61 @@ public java.lang.String getResourceName() { } } /** + * + * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName( - java.lang.String value) { + public Builder setResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** + * + * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** + * + * *
      * The job that stored the finding.
      * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; @@ -2516,18 +2773,20 @@ public Builder setResourceNameBytes( private java.lang.Object triggerName_ = ""; /** + * + * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return The triggerName. */ public java.lang.String getTriggerName() { java.lang.Object ref = triggerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); triggerName_ = s; return s; @@ -2536,20 +2795,21 @@ public java.lang.String getTriggerName() { } } /** + * + * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return The bytes for triggerName. */ - public com.google.protobuf.ByteString - getTriggerNameBytes() { + public com.google.protobuf.ByteString getTriggerNameBytes() { java.lang.Object ref = triggerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); triggerName_ = b; return b; } else { @@ -2557,75 +2817,81 @@ public java.lang.String getTriggerName() { } } /** + * + * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @param value The triggerName to set. * @return This builder for chaining. */ - public Builder setTriggerName( - java.lang.String value) { + public Builder setTriggerName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + triggerName_ = value; onChanged(); return this; } /** + * + * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTriggerName() { - + triggerName_ = getDefaultInstance().getTriggerName(); onChanged(); return this; } /** + * + * *
      * Job trigger name, if applicable, for this finding.
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for triggerName to set. * @return This builder for chaining. */ - public Builder setTriggerNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTriggerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + triggerName_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2637,6 +2903,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2651,22 +2919,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 10;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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();
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2682,11 +2950,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 10;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2702,16 +2971,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 10;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2727,12 +2997,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 10;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2740,11 +3009,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2759,23 +3029,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 10;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2790,16 +3058,19 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 10;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2814,44 +3085,54 @@ public Builder putLabels(
      *
      * map<string, string> labels = 10;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp jobCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobCreateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        jobCreateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Time the job started that produced this finding.
      * 
* * .google.protobuf.Timestamp job_create_time = 11; + * * @return Whether the jobCreateTime field is set. */ public boolean hasJobCreateTime() { return jobCreateTimeBuilder_ != null || jobCreateTime_ != null; } /** + * + * *
      * Time the job started that produced this finding.
      * 
* * .google.protobuf.Timestamp job_create_time = 11; + * * @return The jobCreateTime. */ public com.google.protobuf.Timestamp getJobCreateTime() { if (jobCreateTimeBuilder_ == null) { - return jobCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobCreateTime_; + return jobCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobCreateTime_; } else { return jobCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2872,14 +3153,15 @@ public Builder setJobCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
* * .google.protobuf.Timestamp job_create_time = 11; */ - public Builder setJobCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (jobCreateTimeBuilder_ == null) { jobCreateTime_ = builderForValue.build(); onChanged(); @@ -2890,6 +3172,8 @@ public Builder setJobCreateTime( return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2900,7 +3184,9 @@ public Builder mergeJobCreateTime(com.google.protobuf.Timestamp value) { if (jobCreateTimeBuilder_ == null) { if (jobCreateTime_ != null) { jobCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(jobCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(jobCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { jobCreateTime_ = value; } @@ -2912,6 +3198,8 @@ public Builder mergeJobCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2930,6 +3218,8 @@ public Builder clearJobCreateTime() { return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2937,11 +3227,13 @@ public Builder clearJobCreateTime() { * .google.protobuf.Timestamp job_create_time = 11; */ public com.google.protobuf.Timestamp.Builder getJobCreateTimeBuilder() { - + onChanged(); return getJobCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2952,11 +3244,14 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { if (jobCreateTimeBuilder_ != null) { return jobCreateTimeBuilder_.getMessageOrBuilder(); } else { - return jobCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : jobCreateTime_; + return jobCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobCreateTime_; } } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2964,14 +3259,17 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { * .google.protobuf.Timestamp job_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> getJobCreateTimeFieldBuilder() { if (jobCreateTimeBuilder_ == null) { - jobCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getJobCreateTime(), - getParentForChildren(), - isClean()); + jobCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getJobCreateTime(), getParentForChildren(), isClean()); jobCreateTime_ = null; } return jobCreateTimeBuilder_; @@ -2979,18 +3277,20 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() { private java.lang.Object jobName_ = ""; /** + * + * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobName_ = s; return s; @@ -2999,20 +3299,21 @@ public java.lang.String getJobName() { } } /** + * + * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobName_ = b; return b; } else { @@ -3020,54 +3321,61 @@ public java.lang.String getJobName() { } } /** + * + * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName( - java.lang.String value) { + public Builder setJobName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** + * + * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** + * + * *
      * The job that stored the finding.
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes( - com.google.protobuf.ByteString value) { + public Builder setJobNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -3075,18 +3383,20 @@ public Builder setJobNameBytes( private java.lang.Object findingId_ = ""; /** + * + * *
      * The unique finding id.
      * 
* * string finding_id = 15; + * * @return The findingId. */ public java.lang.String getFindingId() { java.lang.Object ref = findingId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); findingId_ = s; return s; @@ -3095,20 +3405,21 @@ public java.lang.String getFindingId() { } } /** + * + * *
      * The unique finding id.
      * 
* * string finding_id = 15; + * * @return The bytes for findingId. */ - public com.google.protobuf.ByteString - getFindingIdBytes() { + public com.google.protobuf.ByteString getFindingIdBytes() { java.lang.Object ref = findingId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); findingId_ = b; return b; } else { @@ -3116,61 +3427,68 @@ public java.lang.String getFindingId() { } } /** + * + * *
      * The unique finding id.
      * 
* * string finding_id = 15; + * * @param value The findingId to set. * @return This builder for chaining. */ - public Builder setFindingId( - java.lang.String value) { + public Builder setFindingId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + findingId_ = value; onChanged(); return this; } /** + * + * *
      * The unique finding id.
      * 
* * string finding_id = 15; + * * @return This builder for chaining. */ public Builder clearFindingId() { - + findingId_ = getDefaultInstance().getFindingId(); onChanged(); return this; } /** + * + * *
      * The unique finding id.
      * 
* * string finding_id = 15; + * * @param value The bytes for findingId to set. * @return This builder for chaining. */ - public Builder setFindingIdBytes( - com.google.protobuf.ByteString value) { + public Builder setFindingIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + findingId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3180,12 +3498,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Finding) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Finding) private static final com.google.privacy.dlp.v2.Finding DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Finding(); } @@ -3194,16 +3512,16 @@ public static com.google.privacy.dlp.v2.Finding getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Finding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Finding(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Finding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Finding(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3218,6 +3536,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Finding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java similarity index 85% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java index 50100962..a6c9d395 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface FindingOrBuilder extends +public interface FindingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Finding) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -15,10 +33,13 @@ public interface FindingOrBuilder extends
    * 
* * string name = 14; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name in format
    * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -26,12 +47,14 @@ public interface FindingOrBuilder extends
    * 
* * string name = 14; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -41,10 +64,13 @@ public interface FindingOrBuilder extends
    * 
* * string quote = 1; + * * @return The quote. */ java.lang.String getQuote(); /** + * + * *
    * The content that was found. Even if the content is not textual, it
    * may be converted to a textual representation here.
@@ -54,32 +80,40 @@ public interface FindingOrBuilder extends
    * 
* * string quote = 1; + * * @return The bytes for quote. */ - com.google.protobuf.ByteString - getQuoteBytes(); + com.google.protobuf.ByteString getQuoteBytes(); /** + * + * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * The type of content that might have been found.
    * Provided if `excluded_types` is false.
@@ -90,43 +124,57 @@ public interface FindingOrBuilder extends
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return The enum numeric value on the wire for likelihood. */ int getLikelihoodValue(); /** + * + * *
    * Confidence of how likely it is that the `info_type` is correct.
    * 
* * .google.privacy.dlp.v2.Likelihood likelihood = 3; + * * @return The likelihood. */ com.google.privacy.dlp.v2.Likelihood getLikelihood(); /** + * + * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * Where the content was found.
    * 
* * .google.privacy.dlp.v2.Location location = 4; + * * @return The location. */ com.google.privacy.dlp.v2.Location getLocation(); /** + * + * *
    * Where the content was found.
    * 
@@ -136,24 +184,32 @@ public interface FindingOrBuilder extends com.google.privacy.dlp.v2.LocationOrBuilder getLocationOrBuilder(); /** + * + * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Timestamp when finding was detected.
    * 
@@ -163,6 +219,8 @@ public interface FindingOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -170,10 +228,13 @@ public interface FindingOrBuilder extends
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; + * * @return Whether the quoteInfo field is set. */ boolean hasQuoteInfo(); /** + * + * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -181,10 +242,13 @@ public interface FindingOrBuilder extends
    * 
* * .google.privacy.dlp.v2.QuoteInfo quote_info = 7; + * * @return The quoteInfo. */ com.google.privacy.dlp.v2.QuoteInfo getQuoteInfo(); /** + * + * *
    * Contains data parsed from quotes. Only populated if include_quote was set
    * to true and a supported infoType was requested. Currently supported
@@ -196,46 +260,58 @@ public interface FindingOrBuilder extends
   com.google.privacy.dlp.v2.QuoteInfoOrBuilder getQuoteInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return The resourceName. */ java.lang.String getResourceName(); /** + * + * *
    * The job that stored the finding.
    * 
* * string resource_name = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString - getResourceNameBytes(); + com.google.protobuf.ByteString getResourceNameBytes(); /** + * + * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return The triggerName. */ java.lang.String getTriggerName(); /** + * + * *
    * Job trigger name, if applicable, for this finding.
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } + * * @return The bytes for triggerName. */ - com.google.protobuf.ByteString - getTriggerNameBytes(); + com.google.protobuf.ByteString getTriggerNameBytes(); /** + * + * *
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -252,6 +328,8 @@ public interface FindingOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -266,15 +344,13 @@ public interface FindingOrBuilder extends
    *
    * map<string, string> labels = 10;
    */
-  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();
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -289,9 +365,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 10;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -306,11 +383,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 10;
    */
-
-  java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -325,29 +401,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 10;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; + * * @return Whether the jobCreateTime field is set. */ boolean hasJobCreateTime(); /** + * + * *
    * Time the job started that produced this finding.
    * 
* * .google.protobuf.Timestamp job_create_time = 11; + * * @return The jobCreateTime. */ com.google.protobuf.Timestamp getJobCreateTime(); /** + * + * *
    * Time the job started that produced this finding.
    * 
@@ -357,42 +439,52 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder(); /** + * + * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return The jobName. */ java.lang.String getJobName(); /** + * + * *
    * The job that stored the finding.
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } + * * @return The bytes for jobName. */ - com.google.protobuf.ByteString - getJobNameBytes(); + com.google.protobuf.ByteString getJobNameBytes(); /** + * + * *
    * The unique finding id.
    * 
* * string finding_id = 15; + * * @return The findingId. */ java.lang.String getFindingId(); /** + * + * *
    * The unique finding id.
    * 
* * string finding_id = 15; + * * @return The bytes for findingId. */ - com.google.protobuf.ByteString - getFindingIdBytes(); + com.google.protobuf.ByteString getFindingIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java index 149d19af..c57e216a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The request message for finishing a DLP hybrid job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.FinishDlpJobRequest} */ -public final class FinishDlpJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinishDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FinishDlpJobRequest) FinishDlpJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinishDlpJobRequest.newBuilder() to construct. private FinishDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FinishDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinishDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FinishDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private FinishDlpJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FinishDlpJobRequest.class, com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.FinishDlpJobRequest.class, + com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * 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 @@ -107,29 +132,31 @@ 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 DlpJob resource to be cancelled.
    * 
* - * 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 { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.FinishDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.FinishDlpJobRequest other = (com.google.privacy.dlp.v2.FinishDlpJobRequest) obj; + com.google.privacy.dlp.v2.FinishDlpJobRequest other = + (com.google.privacy.dlp.v2.FinishDlpJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -201,118 +228,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FinishDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.FinishDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 finishing a DLP hybrid job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.FinishDlpJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FinishDlpJobRequest) com.google.privacy.dlp.v2.FinishDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.FinishDlpJobRequest.class, com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.FinishDlpJobRequest.class, + com.google.privacy.dlp.v2.FinishDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.FinishDlpJobRequest.newBuilder() @@ -320,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor; } @java.lang.Override @@ -360,7 +395,8 @@ public com.google.privacy.dlp.v2.FinishDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.FinishDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.FinishDlpJobRequest result = new com.google.privacy.dlp.v2.FinishDlpJobRequest(this); + com.google.privacy.dlp.v2.FinishDlpJobRequest result = + new com.google.privacy.dlp.v2.FinishDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +406,39 @@ public com.google.privacy.dlp.v2.FinishDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.FinishDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.FinishDlpJobRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.FinishDlpJobRequest) other); } else { super.mergeFrom(other); return this; @@ -445,18 +482,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * 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; @@ -465,20 +506,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * 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 { @@ -486,61 +530,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FinishDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FinishDlpJobRequest) private static final com.google.privacy.dlp.v2.FinishDlpJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FinishDlpJobRequest(); } @@ -564,16 +621,16 @@ public static com.google.privacy.dlp.v2.FinishDlpJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinishDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinishDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinishDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinishDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.FinishDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..a8a22f69 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FinishDlpJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface FinishDlpJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FinishDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DlpJob resource to be cancelled.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java index 89c94762..f6979016 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Buckets values based on fixed size ranges. The
  * Bucketing transformation can provide all of this functionality,
@@ -21,30 +38,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.FixedSizeBucketingConfig}
  */
-public final class FixedSizeBucketingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FixedSizeBucketingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.FixedSizeBucketingConfig)
     FixedSizeBucketingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FixedSizeBucketingConfig.newBuilder() to construct.
   private FixedSizeBucketingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FixedSizeBucketingConfig() {
-  }
+
+  private FixedSizeBucketingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FixedSizeBucketingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private FixedSizeBucketingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -63,79 +79,89 @@ private FixedSizeBucketingConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
-            if (lowerBound_ != null) {
-              subBuilder = lowerBound_.toBuilder();
-            }
-            lowerBound_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lowerBound_);
-              lowerBound_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
+              if (lowerBound_ != null) {
+                subBuilder = lowerBound_.toBuilder();
+              }
+              lowerBound_ =
+                  input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lowerBound_);
+                lowerBound_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
+              if (upperBound_ != null) {
+                subBuilder = upperBound_.toBuilder();
+              }
+              upperBound_ =
+                  input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(upperBound_);
+                upperBound_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
-            if (upperBound_ != null) {
-              subBuilder = upperBound_.toBuilder();
+              break;
             }
-            upperBound_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(upperBound_);
-              upperBound_ = subBuilder.buildPartial();
+          case 25:
+            {
+              bucketSize_ = input.readDouble();
+              break;
             }
-
-            break;
-          }
-          case 25: {
-
-            bucketSize_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
+            com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class,
+            com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
   }
 
   public static final int LOWER_BOUND_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.Value lowerBound_;
   /**
+   *
+   *
    * 
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the lowerBound field is set. */ @java.lang.Override @@ -143,13 +169,17 @@ public boolean hasLowerBound() { return lowerBound_ != null; } /** + * + * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The lowerBound. */ @java.lang.Override @@ -157,13 +187,16 @@ public com.google.privacy.dlp.v2.Value getLowerBound() { return lowerBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_; } /** + * + * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { @@ -173,13 +206,17 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { public static final int UPPER_BOUND_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.Value upperBound_; /** + * + * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the upperBound field is set. */ @java.lang.Override @@ -187,13 +224,17 @@ public boolean hasUpperBound() { return upperBound_ != null; } /** + * + * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The upperBound. */ @java.lang.Override @@ -201,13 +242,16 @@ public com.google.privacy.dlp.v2.Value getUpperBound() { return upperBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_; } /** + * + * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { @@ -217,6 +261,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { public static final int BUCKET_SIZE_FIELD_NUMBER = 3; private double bucketSize_; /** + * + * *
    * Required. Size of each bucket (except for minimum and maximum buckets). So if
    * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -225,6 +271,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
    * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketSize. */ @java.lang.Override @@ -233,6 +280,7 @@ public double getBucketSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +292,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (lowerBound_ != null) { output.writeMessage(1, getLowerBound()); } @@ -265,16 +312,13 @@ public int getSerializedSize() { size = 0; if (lowerBound_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLowerBound()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLowerBound()); } if (upperBound_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpperBound()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpperBound()); } if (bucketSize_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, bucketSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,26 +328,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.privacy.dlp.v2.FixedSizeBucketingConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.FixedSizeBucketingConfig other = (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) obj; + com.google.privacy.dlp.v2.FixedSizeBucketingConfig other = + (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) obj; if (hasLowerBound() != other.hasLowerBound()) return false; if (hasLowerBound()) { - if (!getLowerBound() - .equals(other.getLowerBound())) return false; + if (!getLowerBound().equals(other.getLowerBound())) return false; } if (hasUpperBound() != other.hasUpperBound()) return false; if (hasUpperBound()) { - if (!getUpperBound() - .equals(other.getUpperBound())) return false; + if (!getUpperBound().equals(other.getUpperBound())) return false; } if (java.lang.Double.doubleToLongBits(getBucketSize()) - != java.lang.Double.doubleToLongBits( - other.getBucketSize())) return false; + != java.lang.Double.doubleToLongBits(other.getBucketSize())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,104 +366,113 @@ public int hashCode() { hash = (53 * hash) + getUpperBound().hashCode(); } hash = (37 * hash) + BUCKET_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getBucketSize())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getBucketSize())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.FixedSizeBucketingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Buckets values based on fixed size ranges. The
    * Bucketing transformation can provide all of this functionality,
@@ -439,21 +490,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.FixedSizeBucketingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.FixedSizeBucketingConfig)
       com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
+              com.google.privacy.dlp.v2.FixedSizeBucketingConfig.class,
+              com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.FixedSizeBucketingConfig.newBuilder()
@@ -461,16 +514,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -513,7 +565,8 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.FixedSizeBucketingConfig buildPartial() {
-      com.google.privacy.dlp.v2.FixedSizeBucketingConfig result = new com.google.privacy.dlp.v2.FixedSizeBucketingConfig(this);
+      com.google.privacy.dlp.v2.FixedSizeBucketingConfig result =
+          new com.google.privacy.dlp.v2.FixedSizeBucketingConfig(this);
       if (lowerBoundBuilder_ == null) {
         result.lowerBound_ = lowerBound_;
       } else {
@@ -533,38 +586,39 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.FixedSizeBucketingConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.FixedSizeBucketingConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,7 +626,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.FixedSizeBucketingConfig other) {
-      if (other == com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance())
+        return this;
       if (other.hasLowerBound()) {
         mergeLowerBound(other.getLowerBound());
       }
@@ -601,7 +656,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -613,45 +669,61 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.Value lowerBound_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> lowerBoundBuilder_;
+            com.google.privacy.dlp.v2.Value,
+            com.google.privacy.dlp.v2.Value.Builder,
+            com.google.privacy.dlp.v2.ValueOrBuilder>
+        lowerBoundBuilder_;
     /**
+     *
+     *
      * 
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the lowerBound field is set. */ public boolean hasLowerBound() { return lowerBoundBuilder_ != null || lowerBound_ != null; } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The lowerBound. */ public com.google.privacy.dlp.v2.Value getLowerBound() { if (lowerBoundBuilder_ == null) { - return lowerBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_; + return lowerBound_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : lowerBound_; } else { return lowerBoundBuilder_.getMessage(); } } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLowerBound(com.google.privacy.dlp.v2.Value value) { if (lowerBoundBuilder_ == null) { @@ -667,16 +739,18 @@ public Builder setLowerBound(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLowerBound( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setLowerBound(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (lowerBoundBuilder_ == null) { lowerBound_ = builderForValue.build(); onChanged(); @@ -687,19 +761,24 @@ public Builder setLowerBound( return this; } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLowerBound(com.google.privacy.dlp.v2.Value value) { if (lowerBoundBuilder_ == null) { if (lowerBound_ != null) { lowerBound_ = - com.google.privacy.dlp.v2.Value.newBuilder(lowerBound_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(lowerBound_) + .mergeFrom(value) + .buildPartial(); } else { lowerBound_ = value; } @@ -711,13 +790,16 @@ public Builder mergeLowerBound(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLowerBound() { if (lowerBoundBuilder_ == null) { @@ -731,54 +813,67 @@ public Builder clearLowerBound() { return this; } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.Value.Builder getLowerBoundBuilder() { - + onChanged(); return getLowerBoundFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { if (lowerBoundBuilder_ != null) { return lowerBoundBuilder_.getMessageOrBuilder(); } else { - return lowerBound_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : lowerBound_; + return lowerBound_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : lowerBound_; } } /** + * + * *
      * Required. Lower bound value of buckets. All values less than `lower_bound` are
      * grouped together into a single bucket; for example if `lower_bound` = 10,
      * then all values less than 10 are replaced with the value "-10".
      * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getLowerBoundFieldBuilder() { if (lowerBoundBuilder_ == null) { - lowerBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getLowerBound(), - getParentForChildren(), - isClean()); + lowerBoundBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getLowerBound(), getParentForChildren(), isClean()); lowerBound_ = null; } return lowerBoundBuilder_; @@ -786,45 +881,61 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { private com.google.privacy.dlp.v2.Value upperBound_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> upperBoundBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + upperBoundBuilder_; /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the upperBound field is set. */ public boolean hasUpperBound() { return upperBoundBuilder_ != null || upperBound_ != null; } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The upperBound. */ public com.google.privacy.dlp.v2.Value getUpperBound() { if (upperBoundBuilder_ == null) { - return upperBound_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_; + return upperBound_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : upperBound_; } else { return upperBoundBuilder_.getMessage(); } } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpperBound(com.google.privacy.dlp.v2.Value value) { if (upperBoundBuilder_ == null) { @@ -840,16 +951,18 @@ public Builder setUpperBound(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpperBound( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setUpperBound(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (upperBoundBuilder_ == null) { upperBound_ = builderForValue.build(); onChanged(); @@ -860,19 +973,24 @@ public Builder setUpperBound( return this; } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpperBound(com.google.privacy.dlp.v2.Value value) { if (upperBoundBuilder_ == null) { if (upperBound_ != null) { upperBound_ = - com.google.privacy.dlp.v2.Value.newBuilder(upperBound_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(upperBound_) + .mergeFrom(value) + .buildPartial(); } else { upperBound_ = value; } @@ -884,13 +1002,16 @@ public Builder mergeUpperBound(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpperBound() { if (upperBoundBuilder_ == null) { @@ -904,61 +1025,76 @@ public Builder clearUpperBound() { return this; } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.Value.Builder getUpperBoundBuilder() { - + onChanged(); return getUpperBoundFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { if (upperBoundBuilder_ != null) { return upperBoundBuilder_.getMessageOrBuilder(); } else { - return upperBound_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : upperBound_; + return upperBound_ == null + ? com.google.privacy.dlp.v2.Value.getDefaultInstance() + : upperBound_; } } /** + * + * *
      * Required. Upper bound value of buckets. All values greater than upper_bound are
      * grouped together into a single bucket; for example if `upper_bound` = 89,
      * then all values greater than 89 are replaced with the value "89+".
      * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getUpperBoundFieldBuilder() { if (upperBoundBuilder_ == null) { - upperBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getUpperBound(), - getParentForChildren(), - isClean()); + upperBoundBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getUpperBound(), getParentForChildren(), isClean()); upperBound_ = null; } return upperBoundBuilder_; } - private double bucketSize_ ; + private double bucketSize_; /** + * + * *
      * Required. Size of each bucket (except for minimum and maximum buckets). So if
      * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -967,6 +1103,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketSize. */ @java.lang.Override @@ -974,6 +1111,8 @@ public double getBucketSize() { return bucketSize_; } /** + * + * *
      * Required. Size of each bucket (except for minimum and maximum buckets). So if
      * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -982,16 +1121,19 @@ public double getBucketSize() {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucketSize to set. * @return This builder for chaining. */ public Builder setBucketSize(double value) { - + bucketSize_ = value; onChanged(); return this; } /** + * + * *
      * Required. Size of each bucket (except for minimum and maximum buckets). So if
      * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -1000,17 +1142,18 @@ public Builder setBucketSize(double value) {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucketSize() { - + bucketSize_ = 0D; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1020,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.FixedSizeBucketingConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FixedSizeBucketingConfig) private static final com.google.privacy.dlp.v2.FixedSizeBucketingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.FixedSizeBucketingConfig(); } @@ -1034,16 +1177,16 @@ public static com.google.privacy.dlp.v2.FixedSizeBucketingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedSizeBucketingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedSizeBucketingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FixedSizeBucketingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FixedSizeBucketingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java index e4046de1..b41c4fd0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java @@ -1,79 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface FixedSizeBucketingConfigOrBuilder extends +public interface FixedSizeBucketingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.FixedSizeBucketingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the lowerBound field is set. */ boolean hasLowerBound(); /** + * + * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The lowerBound. */ com.google.privacy.dlp.v2.Value getLowerBound(); /** + * + * *
    * Required. Lower bound value of buckets. All values less than `lower_bound` are
    * grouped together into a single bucket; for example if `lower_bound` = 10,
    * then all values less than 10 are replaced with the value "-10".
    * 
* - * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder(); /** + * + * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the upperBound field is set. */ boolean hasUpperBound(); /** + * + * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The upperBound. */ com.google.privacy.dlp.v2.Value getUpperBound(); /** + * + * *
    * Required. Upper bound value of buckets. All values greater than upper_bound are
    * grouped together into a single bucket; for example if `upper_bound` = 89,
    * then all values greater than 89 are replaced with the value "89+".
    * 
* - * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder(); /** + * + * *
    * Required. Size of each bucket (except for minimum and maximum buckets). So if
    * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
@@ -82,6 +122,7 @@ public interface FixedSizeBucketingConfigOrBuilder extends
    * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketSize. */ double getBucketSize(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java index a53f8ddc..cde2e251 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for GetDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDeidentifyTemplateRequest} */ -public final class GetDeidentifyTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) GetDeidentifyTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDeidentifyTemplateRequest.newBuilder() to construct. private GetDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDeidentifyTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetDeidentifyTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * 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 @@ -109,31 +134,33 @@ 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. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.privacy.dlp.v2.GetDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest other = + (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDeidentifyTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) com.google.privacy.dlp.v2.GetDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest result = + new com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +489,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * 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; @@ -471,22 +515,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * 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 { @@ -494,67 +541,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest(); } @@ -578,16 +638,16 @@ public static com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +662,4 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java new file mode 100644 index 00000000..d2fe67a9 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetDeidentifyTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java index 2bec28ef..4b25f47d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The request message for [DlpJobs.GetDlpJob][].
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDlpJobRequest} */ -public final class GetDlpJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetDlpJobRequest) GetDlpJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDlpJobRequest.newBuilder() to construct. private GetDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,60 @@ private GetDlpJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDlpJobRequest.class, com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.GetDlpJobRequest.class, + com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the DlpJob resource.
    * 
* - * 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 @@ -107,29 +132,31 @@ 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 DlpJob resource.
    * 
* - * 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 { @@ -138,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.GetDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetDlpJobRequest other = (com.google.privacy.dlp.v2.GetDlpJobRequest) obj; + com.google.privacy.dlp.v2.GetDlpJobRequest other = + (com.google.privacy.dlp.v2.GetDlpJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -201,118 +228,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetDlpJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.GetDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [DlpJobs.GetDlpJob][].
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetDlpJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetDlpJobRequest) com.google.privacy.dlp.v2.GetDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetDlpJobRequest.class, com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.GetDlpJobRequest.class, + com.google.privacy.dlp.v2.GetDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetDlpJobRequest.newBuilder() @@ -320,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor; } @java.lang.Override @@ -360,7 +395,8 @@ public com.google.privacy.dlp.v2.GetDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.GetDlpJobRequest result = new com.google.privacy.dlp.v2.GetDlpJobRequest(this); + com.google.privacy.dlp.v2.GetDlpJobRequest result = + new com.google.privacy.dlp.v2.GetDlpJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +406,39 @@ public com.google.privacy.dlp.v2.GetDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetDlpJobRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.GetDlpJobRequest) other); } else { super.mergeFrom(other); return this; @@ -445,18 +482,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DlpJob resource.
      * 
* - * 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; @@ -465,20 +506,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource.
      * 
* - * 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 { @@ -486,61 +530,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DlpJob resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the DlpJob resource.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetDlpJobRequest) private static final com.google.privacy.dlp.v2.GetDlpJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetDlpJobRequest(); } @@ -564,16 +621,16 @@ public static com.google.privacy.dlp.v2.GetDlpJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.GetDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java new file mode 100644 index 00000000..1e3e7208 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetDlpJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetDlpJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DlpJob resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DlpJob resource.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java index a8191d50..c3f44946 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for GetInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetInspectTemplateRequest} */ -public final class GetInspectTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetInspectTemplateRequest) GetInspectTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInspectTemplateRequest.newBuilder() to construct. private GetInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInspectTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetInspectTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, + com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * 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 @@ -109,31 +134,33 @@ 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. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.privacy.dlp.v2.GetInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetInspectTemplateRequest other = (com.google.privacy.dlp.v2.GetInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.GetInspectTemplateRequest other = + (com.google.privacy.dlp.v2.GetInspectTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.GetInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetInspectTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetInspectTemplateRequest) com.google.privacy.dlp.v2.GetInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.GetInspectTemplateRequest.class, + com.google.privacy.dlp.v2.GetInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetInspectTemplateRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.privacy.dlp.v2.GetInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.GetInspectTemplateRequest result = new com.google.privacy.dlp.v2.GetInspectTemplateRequest(this); + com.google.privacy.dlp.v2.GetInspectTemplateRequest result = + new com.google.privacy.dlp.v2.GetInspectTemplateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.privacy.dlp.v2.GetInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetInspectTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.GetInspectTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.GetInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.GetInspectTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.GetInspectTemplateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.GetInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.GetInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +488,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * 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; @@ -471,22 +514,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * 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 { @@ -494,67 +540,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetInspectTemplateRequest) private static final com.google.privacy.dlp.v2.GetInspectTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetInspectTemplateRequest(); } @@ -578,16 +637,16 @@ public static com.google.privacy.dlp.v2.GetInspectTemplateRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.GetInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java new file mode 100644 index 00000000..f0a69421 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetInspectTemplateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetInspectTemplateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java index f9fe19a1..667a5109 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for GetJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetJobTriggerRequest} */ -public final class GetJobTriggerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetJobTriggerRequest) GetJobTriggerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobTriggerRequest.newBuilder() to construct. private GetJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetJobTriggerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetJobTriggerRequest.class, com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.GetJobTriggerRequest.class, + com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ 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. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.GetJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetJobTriggerRequest other = (com.google.privacy.dlp.v2.GetJobTriggerRequest) obj; + com.google.privacy.dlp.v2.GetJobTriggerRequest other = + (com.google.privacy.dlp.v2.GetJobTriggerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.GetJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetJobTriggerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetJobTriggerRequest) com.google.privacy.dlp.v2.GetJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetJobTriggerRequest.class, com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.GetJobTriggerRequest.class, + com.google.privacy.dlp.v2.GetJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetJobTriggerRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.privacy.dlp.v2.GetJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.GetJobTriggerRequest result = new com.google.privacy.dlp.v2.GetJobTriggerRequest(this); + com.google.privacy.dlp.v2.GetJobTriggerRequest result = + new com.google.privacy.dlp.v2.GetJobTriggerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.privacy.dlp.v2.GetJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetJobTriggerRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.GetJobTriggerRequest) other); } else { super.mergeFrom(other); return this; @@ -447,19 +484,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +509,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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 { @@ -490,64 +534,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetJobTriggerRequest) private static final com.google.privacy.dlp.v2.GetJobTriggerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetJobTriggerRequest(); } @@ -571,16 +628,16 @@ public static com.google.privacy.dlp.v2.GetJobTriggerRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.GetJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java new file mode 100644 index 00000000..7b7a1bd7 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetJobTriggerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the project and the triggeredJob, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java index 4aeec5d0..b106bf9e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for GetStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.GetStoredInfoTypeRequest} */ -public final class GetStoredInfoTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.GetStoredInfoTypeRequest) GetStoredInfoTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetStoredInfoTypeRequest.newBuilder() to construct. private GetStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetStoredInfoTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private GetStoredInfoTypeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * 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 @@ -109,31 +134,33 @@ 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. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.privacy.dlp.v2.GetStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest other = + (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.GetStoredInfoTypeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.GetStoredInfoTypeRequest) com.google.privacy.dlp.v2.GetStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.GetStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.GetStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.GetStoredInfoTypeRequest result = + new com.google.privacy.dlp.v2.GetStoredInfoTypeRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.GetStoredInfoTypeRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.GetStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.GetStoredInfoTypeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.GetStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +488,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * 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; @@ -471,22 +514,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * 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 { @@ -494,67 +540,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.GetStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.GetStoredInfoTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.GetStoredInfoTypeRequest(); } @@ -578,16 +637,16 @@ public static com.google.privacy.dlp.v2.GetStoredInfoTypeRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.GetStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java new file mode 100644 index 00000000..42cbf504 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface GetStoredInfoTypeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.GetStoredInfoTypeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
+   * projects/project-id/storedInfoTypes/432452342.
+   * 
+ * + * + * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java index 44a69a18..f920d9ce 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItem.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * An individual hybrid item to inspect. Will be stored temporarily during
  * processing.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.HybridContentItem}
  */
-public final class HybridContentItem extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HybridContentItem extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridContentItem)
     HybridContentItemOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HybridContentItem.newBuilder() to construct.
   private HybridContentItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private HybridContentItem() {
-  }
+
+  private HybridContentItem() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HybridContentItem();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HybridContentItem(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,72 +69,83 @@ private HybridContentItem(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null;
-            if (item_ != null) {
-              subBuilder = item_.toBuilder();
-            }
-            item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(item_);
-              item_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.HybridFindingDetails.Builder subBuilder = null;
-            if (findingDetails_ != null) {
-              subBuilder = findingDetails_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null;
+              if (item_ != null) {
+                subBuilder = item_.toBuilder();
+              }
+              item_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(item_);
+                item_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            findingDetails_ = input.readMessage(com.google.privacy.dlp.v2.HybridFindingDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(findingDetails_);
-              findingDetails_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.HybridFindingDetails.Builder subBuilder = null;
+              if (findingDetails_ != null) {
+                subBuilder = findingDetails_.toBuilder();
+              }
+              findingDetails_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.HybridFindingDetails.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(findingDetails_);
+                findingDetails_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.HybridContentItem.class, com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
+            com.google.privacy.dlp.v2.HybridContentItem.class,
+            com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
   }
 
   public static final int ITEM_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.ContentItem item_;
   /**
+   *
+   *
    * 
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ @java.lang.Override @@ -126,11 +153,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ @java.lang.Override @@ -138,6 +168,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The item to inspect.
    * 
@@ -152,11 +184,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int FINDING_DETAILS_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.HybridFindingDetails findingDetails_; /** + * + * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; + * * @return Whether the findingDetails field is set. */ @java.lang.Override @@ -164,18 +199,25 @@ public boolean hasFindingDetails() { return findingDetails_ != null; } /** + * + * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; + * * @return The findingDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails() { - return findingDetails_ == null ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() : findingDetails_; + return findingDetails_ == null + ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() + : findingDetails_; } /** + * + * *
    * Supplementary information that will be added to each finding.
    * 
@@ -188,6 +230,7 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,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 (item_ != null) { output.writeMessage(1, getItem()); } @@ -217,12 +259,10 @@ public int getSerializedSize() { size = 0; if (item_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getItem()); } if (findingDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFindingDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFindingDetails()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,22 +272,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.HybridContentItem)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridContentItem other = (com.google.privacy.dlp.v2.HybridContentItem) obj; + com.google.privacy.dlp.v2.HybridContentItem other = + (com.google.privacy.dlp.v2.HybridContentItem) obj; if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem() - .equals(other.getItem())) return false; + if (!getItem().equals(other.getItem())) return false; } if (hasFindingDetails() != other.hasFindingDetails()) return false; if (hasFindingDetails()) { - if (!getFindingDetails() - .equals(other.getFindingDetails())) return false; + if (!getFindingDetails().equals(other.getFindingDetails())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,97 +312,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridContentItem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridContentItem parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridContentItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridContentItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.HybridContentItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 individual hybrid item to inspect. Will be stored temporarily during
    * processing.
@@ -371,21 +417,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.HybridContentItem}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridContentItem)
       com.google.privacy.dlp.v2.HybridContentItemOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.HybridContentItem.class, com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
+              com.google.privacy.dlp.v2.HybridContentItem.class,
+              com.google.privacy.dlp.v2.HybridContentItem.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.HybridContentItem.newBuilder()
@@ -393,16 +441,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +469,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +490,8 @@ public com.google.privacy.dlp.v2.HybridContentItem build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.HybridContentItem buildPartial() {
-      com.google.privacy.dlp.v2.HybridContentItem result = new com.google.privacy.dlp.v2.HybridContentItem(this);
+      com.google.privacy.dlp.v2.HybridContentItem result =
+          new com.google.privacy.dlp.v2.HybridContentItem(this);
       if (itemBuilder_ == null) {
         result.item_ = item_;
       } else {
@@ -462,38 +510,39 @@ public com.google.privacy.dlp.v2.HybridContentItem buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.HybridContentItem) {
-        return mergeFrom((com.google.privacy.dlp.v2.HybridContentItem)other);
+        return mergeFrom((com.google.privacy.dlp.v2.HybridContentItem) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -539,24 +588,33 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.ContentItem item_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_;
+            com.google.privacy.dlp.v2.ContentItem,
+            com.google.privacy.dlp.v2.ContentItem.Builder,
+            com.google.privacy.dlp.v2.ContentItemOrBuilder>
+        itemBuilder_;
     /**
+     *
+     *
      * 
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -567,6 +625,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to inspect.
      * 
@@ -587,14 +647,15 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; */ - public Builder setItem( - com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -605,6 +666,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -615,7 +678,9 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -627,6 +692,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -645,6 +712,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -652,11 +721,13 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 1; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** + * + * *
      * The item to inspect.
      * 
@@ -667,11 +738,12 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? - com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** + * + * *
      * The item to inspect.
      * 
@@ -679,14 +751,17 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), - getParentForChildren(), - isClean()); + itemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), getParentForChildren(), isClean()); item_ = null; } return itemBuilder_; @@ -694,34 +769,47 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private com.google.privacy.dlp.v2.HybridFindingDetails findingDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridFindingDetails, com.google.privacy.dlp.v2.HybridFindingDetails.Builder, com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> findingDetailsBuilder_; + com.google.privacy.dlp.v2.HybridFindingDetails, + com.google.privacy.dlp.v2.HybridFindingDetails.Builder, + com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> + findingDetailsBuilder_; /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; + * * @return Whether the findingDetails field is set. */ public boolean hasFindingDetails() { return findingDetailsBuilder_ != null || findingDetails_ != null; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; + * * @return The findingDetails. */ public com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails() { if (findingDetailsBuilder_ == null) { - return findingDetails_ == null ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() : findingDetails_; + return findingDetails_ == null + ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() + : findingDetails_; } else { return findingDetailsBuilder_.getMessage(); } } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -742,6 +830,8 @@ public Builder setFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetails return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -760,6 +850,8 @@ public Builder setFindingDetails( return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -770,7 +862,9 @@ public Builder mergeFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetail if (findingDetailsBuilder_ == null) { if (findingDetails_ != null) { findingDetails_ = - com.google.privacy.dlp.v2.HybridFindingDetails.newBuilder(findingDetails_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.HybridFindingDetails.newBuilder(findingDetails_) + .mergeFrom(value) + .buildPartial(); } else { findingDetails_ = value; } @@ -782,6 +876,8 @@ public Builder mergeFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetail return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -800,6 +896,8 @@ public Builder clearFindingDetails() { return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -807,11 +905,13 @@ public Builder clearFindingDetails() { * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; */ public com.google.privacy.dlp.v2.HybridFindingDetails.Builder getFindingDetailsBuilder() { - + onChanged(); return getFindingDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -822,11 +922,14 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails if (findingDetailsBuilder_ != null) { return findingDetailsBuilder_.getMessageOrBuilder(); } else { - return findingDetails_ == null ? - com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() : findingDetails_; + return findingDetails_ == null + ? com.google.privacy.dlp.v2.HybridFindingDetails.getDefaultInstance() + : findingDetails_; } } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -834,21 +937,24 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridFindingDetails, com.google.privacy.dlp.v2.HybridFindingDetails.Builder, com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> + com.google.privacy.dlp.v2.HybridFindingDetails, + com.google.privacy.dlp.v2.HybridFindingDetails.Builder, + com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder> getFindingDetailsFieldBuilder() { if (findingDetailsBuilder_ == null) { - findingDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridFindingDetails, com.google.privacy.dlp.v2.HybridFindingDetails.Builder, com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder>( - getFindingDetails(), - getParentForChildren(), - isClean()); + findingDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridFindingDetails, + com.google.privacy.dlp.v2.HybridFindingDetails.Builder, + com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder>( + getFindingDetails(), getParentForChildren(), isClean()); findingDetails_ = null; } return findingDetailsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,12 +964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridContentItem) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridContentItem) private static final com.google.privacy.dlp.v2.HybridContentItem DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridContentItem(); } @@ -872,16 +978,16 @@ public static com.google.privacy.dlp.v2.HybridContentItem getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridContentItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridContentItem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridContentItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridContentItem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,6 +1002,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.HybridContentItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java index d7f55d6a..cc4b61d4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridContentItemOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridContentItemOrBuilder extends +public interface HybridContentItemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridContentItem) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ boolean hasItem(); /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** + * + * *
    * The item to inspect.
    * 
@@ -35,24 +59,32 @@ public interface HybridContentItemOrBuilder extends com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** + * + * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; + * * @return Whether the findingDetails field is set. */ boolean hasFindingDetails(); /** + * + * *
    * Supplementary information that will be added to each finding.
    * 
* * .google.privacy.dlp.v2.HybridFindingDetails finding_details = 2; + * * @return The findingDetails. */ com.google.privacy.dlp.v2.HybridFindingDetails getFindingDetails(); /** + * + * *
    * Supplementary information that will be added to each finding.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java index c94d61df..3d49e647 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Populate to associate additional data with each finding.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridFindingDetails} */ -public final class HybridFindingDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HybridFindingDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridFindingDetails) HybridFindingDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HybridFindingDetails.newBuilder() to construct. private HybridFindingDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HybridFindingDetails() { - } + + private HybridFindingDetails() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HybridFindingDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HybridFindingDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,107 +69,117 @@ private HybridFindingDetails( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Container.Builder subBuilder = null; - if (containerDetails_ != null) { - subBuilder = containerDetails_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.Container.Builder subBuilder = null; + if (containerDetails_ != null) { + subBuilder = containerDetails_.toBuilder(); + } + containerDetails_ = + input.readMessage( + com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(containerDetails_); + containerDetails_ = subBuilder.buildPartial(); + } + + break; } - containerDetails_ = input.readMessage(com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(containerDetails_); - containerDetails_ = subBuilder.buildPartial(); + case 16: + { + fileOffset_ = input.readInt64(); + break; } - - break; - } - case 16: { - - fileOffset_ = input.readInt64(); - break; - } - case 24: { - - rowOffset_ = input.readInt64(); - break; - } - case 34: { - com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null; - if (tableOptions_ != null) { - subBuilder = tableOptions_.toBuilder(); + case 24: + { + rowOffset_ = input.readInt64(); + break; } - tableOptions_ = input.readMessage(com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableOptions_); - tableOptions_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null; + if (tableOptions_ != null) { + subBuilder = tableOptions_.toBuilder(); + } + tableOptions_ = + input.readMessage( + com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableOptions_); + tableOptions_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridFindingDetails_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 5: 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.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridFindingDetails.class, com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); + com.google.privacy.dlp.v2.HybridFindingDetails.class, + com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); } public static final int CONTAINER_DETAILS_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Container containerDetails_; /** + * + * *
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; + * * @return Whether the containerDetails field is set. */ @java.lang.Override @@ -161,18 +187,25 @@ public boolean hasContainerDetails() { return containerDetails_ != null; } /** + * + * *
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; + * * @return The containerDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.Container getContainerDetails() { - return containerDetails_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : containerDetails_; + return containerDetails_ == null + ? com.google.privacy.dlp.v2.Container.getDefaultInstance() + : containerDetails_; } /** + * + * *
    * Details about the container where the content being inspected is from.
    * 
@@ -187,6 +220,8 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder public static final int FILE_OFFSET_FIELD_NUMBER = 2; private long fileOffset_; /** + * + * *
    * Offset in bytes of the line, from the beginning of the file, where the
    * finding  is located. Populate if the item being scanned is only part of a
@@ -195,6 +230,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
    * 
* * int64 file_offset = 2; + * * @return The fileOffset. */ @java.lang.Override @@ -205,6 +241,8 @@ public long getFileOffset() { public static final int ROW_OFFSET_FIELD_NUMBER = 3; private long rowOffset_; /** + * + * *
    * Offset of the row for tables. Populate if the row(s) being scanned are
    * part of a bigger dataset and you want to keep track of their absolute
@@ -212,6 +250,7 @@ public long getFileOffset() {
    * 
* * int64 row_offset = 3; + * * @return The rowOffset. */ @java.lang.Override @@ -222,6 +261,8 @@ public long getRowOffset() { public static final int TABLE_OPTIONS_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.TableOptions tableOptions_; /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -231,6 +272,7 @@ public long getRowOffset() {
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ @java.lang.Override @@ -238,6 +280,8 @@ public boolean hasTableOptions() { return tableOptions_ != null; } /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -247,13 +291,18 @@ public boolean hasTableOptions() {
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return The tableOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.TableOptions getTableOptions() { - return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; + return tableOptions_ == null + ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() + : tableOptions_; } /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -270,24 +319,23 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
+
   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.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_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.privacy.dlp.v2.DlpProto
+                .internal_static_google_privacy_dlp_v2_HybridFindingDetails_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -296,6 +344,8 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -313,22 +363,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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 to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -347,11 +397,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -370,16 +421,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -398,12 +449,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -411,6 +461,7 @@ public java.lang.String getLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -422,8 +473,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (containerDetails_ != null) {
       output.writeMessage(1, getContainerDetails());
     }
@@ -436,12 +486,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (tableOptions_ != null) {
       output.writeMessage(4, getTableOptions());
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        5);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5);
     unknownFields.writeTo(output);
   }
 
@@ -452,30 +498,26 @@ public int getSerializedSize() {
 
     size = 0;
     if (containerDetails_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getContainerDetails());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContainerDetails());
     }
     if (fileOffset_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(2, fileOffset_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, fileOffset_);
     }
     if (rowOffset_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(3, rowOffset_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowOffset_);
     }
     if (tableOptions_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getTableOptions());
-    }
-    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(5, labels__);
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTableOptions());
+    }
+    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(5, labels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -485,29 +527,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.privacy.dlp.v2.HybridFindingDetails)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.HybridFindingDetails other = (com.google.privacy.dlp.v2.HybridFindingDetails) obj;
+    com.google.privacy.dlp.v2.HybridFindingDetails other =
+        (com.google.privacy.dlp.v2.HybridFindingDetails) obj;
 
     if (hasContainerDetails() != other.hasContainerDetails()) return false;
     if (hasContainerDetails()) {
-      if (!getContainerDetails()
-          .equals(other.getContainerDetails())) return false;
+      if (!getContainerDetails().equals(other.getContainerDetails())) return false;
     }
-    if (getFileOffset()
-        != other.getFileOffset()) return false;
-    if (getRowOffset()
-        != other.getRowOffset()) return false;
+    if (getFileOffset() != other.getFileOffset()) return false;
+    if (getRowOffset() != other.getRowOffset()) return false;
     if (hasTableOptions() != other.hasTableOptions()) return false;
     if (hasTableOptions()) {
-      if (!getTableOptions()
-          .equals(other.getTableOptions())) return false;
+      if (!getTableOptions().equals(other.getTableOptions())) return false;
     }
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -524,11 +562,9 @@ public int hashCode() {
       hash = (53 * hash) + getContainerDetails().hashCode();
     }
     hash = (37 * hash) + FILE_OFFSET_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getFileOffset());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFileOffset());
     hash = (37 * hash) + ROW_OFFSET_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getRowOffset());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowOffset());
     if (hasTableOptions()) {
       hash = (37 * hash) + TABLE_OPTIONS_FIELD_NUMBER;
       hash = (53 * hash) + getTableOptions().hashCode();
@@ -542,140 +578,147 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.HybridFindingDetails parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.HybridFindingDetails parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.HybridFindingDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.HybridFindingDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Populate to associate additional data with each finding.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridFindingDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridFindingDetails) com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 5: 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 5: 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.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridFindingDetails.class, com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); + com.google.privacy.dlp.v2.HybridFindingDetails.class, + com.google.privacy.dlp.v2.HybridFindingDetails.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridFindingDetails.newBuilder() @@ -683,16 +726,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -717,9 +759,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor; } @java.lang.Override @@ -738,7 +780,8 @@ public com.google.privacy.dlp.v2.HybridFindingDetails build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridFindingDetails buildPartial() { - com.google.privacy.dlp.v2.HybridFindingDetails result = new com.google.privacy.dlp.v2.HybridFindingDetails(this); + com.google.privacy.dlp.v2.HybridFindingDetails result = + new com.google.privacy.dlp.v2.HybridFindingDetails(this); int from_bitField0_ = bitField0_; if (containerDetailsBuilder_ == null) { result.containerDetails_ = containerDetails_; @@ -762,38 +805,39 @@ public com.google.privacy.dlp.v2.HybridFindingDetails buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridFindingDetails) { - return mergeFrom((com.google.privacy.dlp.v2.HybridFindingDetails)other); + return mergeFrom((com.google.privacy.dlp.v2.HybridFindingDetails) other); } else { super.mergeFrom(other); return this; @@ -814,8 +858,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.HybridFindingDetails other) { if (other.hasTableOptions()) { mergeTableOptions(other.getTableOptions()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -844,38 +887,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.privacy.dlp.v2.Container containerDetails_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> containerDetailsBuilder_; + com.google.privacy.dlp.v2.Container, + com.google.privacy.dlp.v2.Container.Builder, + com.google.privacy.dlp.v2.ContainerOrBuilder> + containerDetailsBuilder_; /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
* * .google.privacy.dlp.v2.Container container_details = 1; + * * @return Whether the containerDetails field is set. */ public boolean hasContainerDetails() { return containerDetailsBuilder_ != null || containerDetails_ != null; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
* * .google.privacy.dlp.v2.Container container_details = 1; + * * @return The containerDetails. */ public com.google.privacy.dlp.v2.Container getContainerDetails() { if (containerDetailsBuilder_ == null) { - return containerDetails_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : containerDetails_; + return containerDetails_ == null + ? com.google.privacy.dlp.v2.Container.getDefaultInstance() + : containerDetails_; } else { return containerDetailsBuilder_.getMessage(); } } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -896,6 +953,8 @@ public Builder setContainerDetails(com.google.privacy.dlp.v2.Container value) { return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -914,6 +973,8 @@ public Builder setContainerDetails( return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -924,7 +985,9 @@ public Builder mergeContainerDetails(com.google.privacy.dlp.v2.Container value) if (containerDetailsBuilder_ == null) { if (containerDetails_ != null) { containerDetails_ = - com.google.privacy.dlp.v2.Container.newBuilder(containerDetails_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Container.newBuilder(containerDetails_) + .mergeFrom(value) + .buildPartial(); } else { containerDetails_ = value; } @@ -936,6 +999,8 @@ public Builder mergeContainerDetails(com.google.privacy.dlp.v2.Container value) return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -954,6 +1019,8 @@ public Builder clearContainerDetails() { return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -961,11 +1028,13 @@ public Builder clearContainerDetails() { * .google.privacy.dlp.v2.Container container_details = 1; */ public com.google.privacy.dlp.v2.Container.Builder getContainerDetailsBuilder() { - + onChanged(); return getContainerDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -976,11 +1045,14 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder if (containerDetailsBuilder_ != null) { return containerDetailsBuilder_.getMessageOrBuilder(); } else { - return containerDetails_ == null ? - com.google.privacy.dlp.v2.Container.getDefaultInstance() : containerDetails_; + return containerDetails_ == null + ? com.google.privacy.dlp.v2.Container.getDefaultInstance() + : containerDetails_; } } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -988,21 +1060,26 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder * .google.privacy.dlp.v2.Container container_details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> + com.google.privacy.dlp.v2.Container, + com.google.privacy.dlp.v2.Container.Builder, + com.google.privacy.dlp.v2.ContainerOrBuilder> getContainerDetailsFieldBuilder() { if (containerDetailsBuilder_ == null) { - containerDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder>( - getContainerDetails(), - getParentForChildren(), - isClean()); + containerDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Container, + com.google.privacy.dlp.v2.Container.Builder, + com.google.privacy.dlp.v2.ContainerOrBuilder>( + getContainerDetails(), getParentForChildren(), isClean()); containerDetails_ = null; } return containerDetailsBuilder_; } - private long fileOffset_ ; + private long fileOffset_; /** + * + * *
      * Offset in bytes of the line, from the beginning of the file, where the
      * finding  is located. Populate if the item being scanned is only part of a
@@ -1011,6 +1088,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
      * 
* * int64 file_offset = 2; + * * @return The fileOffset. */ @java.lang.Override @@ -1018,6 +1096,8 @@ public long getFileOffset() { return fileOffset_; } /** + * + * *
      * Offset in bytes of the line, from the beginning of the file, where the
      * finding  is located. Populate if the item being scanned is only part of a
@@ -1026,16 +1106,19 @@ public long getFileOffset() {
      * 
* * int64 file_offset = 2; + * * @param value The fileOffset to set. * @return This builder for chaining. */ public Builder setFileOffset(long value) { - + fileOffset_ = value; onChanged(); return this; } /** + * + * *
      * Offset in bytes of the line, from the beginning of the file, where the
      * finding  is located. Populate if the item being scanned is only part of a
@@ -1044,17 +1127,20 @@ public Builder setFileOffset(long value) {
      * 
* * int64 file_offset = 2; + * * @return This builder for chaining. */ public Builder clearFileOffset() { - + fileOffset_ = 0L; onChanged(); return this; } - private long rowOffset_ ; + private long rowOffset_; /** + * + * *
      * Offset of the row for tables. Populate if the row(s) being scanned are
      * part of a bigger dataset and you want to keep track of their absolute
@@ -1062,6 +1148,7 @@ public Builder clearFileOffset() {
      * 
* * int64 row_offset = 3; + * * @return The rowOffset. */ @java.lang.Override @@ -1069,6 +1156,8 @@ public long getRowOffset() { return rowOffset_; } /** + * + * *
      * Offset of the row for tables. Populate if the row(s) being scanned are
      * part of a bigger dataset and you want to keep track of their absolute
@@ -1076,16 +1165,19 @@ public long getRowOffset() {
      * 
* * int64 row_offset = 3; + * * @param value The rowOffset to set. * @return This builder for chaining. */ public Builder setRowOffset(long value) { - + rowOffset_ = value; onChanged(); return this; } /** + * + * *
      * Offset of the row for tables. Populate if the row(s) being scanned are
      * part of a bigger dataset and you want to keep track of their absolute
@@ -1093,10 +1185,11 @@ public Builder setRowOffset(long value) {
      * 
* * int64 row_offset = 3; + * * @return This builder for chaining. */ public Builder clearRowOffset() { - + rowOffset_ = 0L; onChanged(); return this; @@ -1104,8 +1197,13 @@ public Builder clearRowOffset() { private com.google.privacy.dlp.v2.TableOptions tableOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> tableOptionsBuilder_; + com.google.privacy.dlp.v2.TableOptions, + com.google.privacy.dlp.v2.TableOptions.Builder, + com.google.privacy.dlp.v2.TableOptionsOrBuilder> + tableOptionsBuilder_; /** + * + * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1115,12 +1213,15 @@ public Builder clearRowOffset() {
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ public boolean hasTableOptions() { return tableOptionsBuilder_ != null || tableOptions_ != null; } /** + * + * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1130,16 +1231,21 @@ public boolean hasTableOptions() {
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return The tableOptions. */ public com.google.privacy.dlp.v2.TableOptions getTableOptions() { if (tableOptionsBuilder_ == null) { - return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; + return tableOptions_ == null + ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() + : tableOptions_; } else { return tableOptionsBuilder_.getMessage(); } } /** + * + * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1164,6 +1270,8 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1174,8 +1282,7 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
      *
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
-    public Builder setTableOptions(
-        com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
+    public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
       if (tableOptionsBuilder_ == null) {
         tableOptions_ = builderForValue.build();
         onChanged();
@@ -1186,6 +1293,8 @@ public Builder setTableOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1200,7 +1309,9 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       if (tableOptionsBuilder_ == null) {
         if (tableOptions_ != null) {
           tableOptions_ =
-            com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tableOptions_ = value;
         }
@@ -1212,6 +1323,8 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1234,6 +1347,8 @@ public Builder clearTableOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1245,11 +1360,13 @@ public Builder clearTableOptions() {
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     public com.google.privacy.dlp.v2.TableOptions.Builder getTableOptionsBuilder() {
-      
+
       onChanged();
       return getTableOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1264,11 +1381,14 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
       if (tableOptionsBuilder_ != null) {
         return tableOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return tableOptions_ == null ?
-            com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_;
+        return tableOptions_ == null
+            ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance()
+            : tableOptions_;
       }
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys. If not known ahead
@@ -1280,35 +1400,37 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> 
+            com.google.privacy.dlp.v2.TableOptions,
+            com.google.privacy.dlp.v2.TableOptions.Builder,
+            com.google.privacy.dlp.v2.TableOptionsOrBuilder>
         getTableOptionsFieldBuilder() {
       if (tableOptionsBuilder_ == null) {
-        tableOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
-                getTableOptions(),
-                getParentForChildren(),
-                isClean());
+        tableOptionsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.TableOptions,
+                com.google.privacy.dlp.v2.TableOptions.Builder,
+                com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
+                getTableOptions(), getParentForChildren(), isClean());
         tableOptions_ = null;
       }
       return tableOptionsBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -1320,6 +1442,8 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1337,22 +1461,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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 to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1371,11 +1495,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1394,16 +1519,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1422,12 +1548,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1435,11 +1560,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1457,23 +1583,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1491,16 +1615,19 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1518,16 +1645,13 @@ public Builder putLabels(
      *
      * map<string, string> labels = 5;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1537,12 +1661,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridFindingDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridFindingDetails)
   private static final com.google.privacy.dlp.v2.HybridFindingDetails DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridFindingDetails();
   }
@@ -1551,16 +1675,16 @@ public static com.google.privacy.dlp.v2.HybridFindingDetails getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HybridFindingDetails parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HybridFindingDetails(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HybridFindingDetails parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HybridFindingDetails(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1575,6 +1699,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.HybridFindingDetails getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
index bf3a1914..4598cda8 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface HybridFindingDetailsOrBuilder extends
+public interface HybridFindingDetailsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridFindingDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; + * * @return Whether the containerDetails field is set. */ boolean hasContainerDetails(); /** + * + * *
    * Details about the container where the content being inspected is from.
    * 
* * .google.privacy.dlp.v2.Container container_details = 1; + * * @return The containerDetails. */ com.google.privacy.dlp.v2.Container getContainerDetails(); /** + * + * *
    * Details about the container where the content being inspected is from.
    * 
@@ -35,6 +59,8 @@ public interface HybridFindingDetailsOrBuilder extends com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder(); /** + * + * *
    * Offset in bytes of the line, from the beginning of the file, where the
    * finding  is located. Populate if the item being scanned is only part of a
@@ -43,11 +69,14 @@ public interface HybridFindingDetailsOrBuilder extends
    * 
* * int64 file_offset = 2; + * * @return The fileOffset. */ long getFileOffset(); /** + * + * *
    * Offset of the row for tables. Populate if the row(s) being scanned are
    * part of a bigger dataset and you want to keep track of their absolute
@@ -55,11 +84,14 @@ public interface HybridFindingDetailsOrBuilder extends
    * 
* * int64 row_offset = 3; + * * @return The rowOffset. */ long getRowOffset(); /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -69,10 +101,13 @@ public interface HybridFindingDetailsOrBuilder extends
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ boolean hasTableOptions(); /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -82,10 +117,13 @@ public interface HybridFindingDetailsOrBuilder extends
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return The tableOptions. */ com.google.privacy.dlp.v2.TableOptions getTableOptions(); /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys. If not known ahead
@@ -99,6 +137,8 @@ public interface HybridFindingDetailsOrBuilder extends
   com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -118,6 +158,8 @@ public interface HybridFindingDetailsOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -135,15 +177,13 @@ public interface HybridFindingDetailsOrBuilder extends
    *
    * map<string, string> labels = 5;
    */
-  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 to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -161,9 +201,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -181,11 +222,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-
-  java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -203,7 +243,5 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
similarity index 67%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
index 7800b7f7..d99ac632 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Request to search for potentially sensitive info in a custom location.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectDlpJobRequest} */ -public final class HybridInspectDlpJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HybridInspectDlpJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectDlpJobRequest) HybridInspectDlpJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HybridInspectDlpJobRequest.newBuilder() to construct. private HybridInspectDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HybridInspectDlpJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HybridInspectDlpJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HybridInspectDlpJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,66 +70,77 @@ private HybridInspectDlpJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; - if (hybridItem_ != null) { - subBuilder = hybridItem_.toBuilder(); + name_ = s; + break; } - hybridItem_ = input.readMessage(com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(hybridItem_); - hybridItem_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; + if (hybridItem_ != null) { + subBuilder = hybridItem_.toBuilder(); + } + hybridItem_ = + input.readMessage( + com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hybridItem_); + hybridItem_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * 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 @@ -121,30 +149,32 @@ 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. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * 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 { @@ -155,11 +185,14 @@ public java.lang.String getName() { public static final int HYBRID_ITEM_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return Whether the hybridItem field is set. */ @java.lang.Override @@ -167,18 +200,25 @@ public boolean hasHybridItem() { return hybridItem_ != null; } /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return The hybridItem. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { - return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; + return hybridItem_ == null + ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() + : hybridItem_; } /** + * + * *
    * The item to inspect.
    * 
@@ -191,6 +231,7 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -223,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (hybridItem_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getHybridItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHybridItem()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +273,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.privacy.dlp.v2.HybridInspectDlpJobRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest other = (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) obj; + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest other = + (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasHybridItem() != other.hasHybridItem()) return false; if (hasHybridItem()) { - if (!getHybridItem() - .equals(other.getHybridItem())) return false; + if (!getHybridItem().equals(other.getHybridItem())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +309,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in a custom location.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectDlpJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectDlpJobRequest) com.google.privacy.dlp.v2.HybridInspectDlpJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.class, + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.newBuilder() @@ -389,16 +436,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor; } @java.lang.Override @@ -435,7 +481,8 @@ public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest buildPartial() { - com.google.privacy.dlp.v2.HybridInspectDlpJobRequest result = new com.google.privacy.dlp.v2.HybridInspectDlpJobRequest(this); + com.google.privacy.dlp.v2.HybridInspectDlpJobRequest result = + new com.google.privacy.dlp.v2.HybridInspectDlpJobRequest(this); result.name_ = name_; if (hybridItemBuilder_ == null) { result.hybridItem_ = hybridItem_; @@ -450,38 +497,39 @@ public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectDlpJobRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) other); } else { super.mergeFrom(other); return this; @@ -489,7 +537,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectDlpJobRequest other) { - if (other == com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.HybridInspectDlpJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -516,7 +565,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.HybridInspectDlpJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,19 +578,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * 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; @@ -549,21 +603,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * 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 { @@ -571,57 +628,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the job to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -629,34 +699,47 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> hybridItemBuilder_; + com.google.privacy.dlp.v2.HybridContentItem, + com.google.privacy.dlp.v2.HybridContentItem.Builder, + com.google.privacy.dlp.v2.HybridContentItemOrBuilder> + hybridItemBuilder_; /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return Whether the hybridItem field is set. */ public boolean hasHybridItem() { return hybridItemBuilder_ != null || hybridItem_ != null; } /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return The hybridItem. */ public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { if (hybridItemBuilder_ == null) { - return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; + return hybridItem_ == null + ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() + : hybridItem_; } else { return hybridItemBuilder_.getMessage(); } } /** + * + * *
      * The item to inspect.
      * 
@@ -677,6 +760,8 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -695,6 +780,8 @@ public Builder setHybridItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -705,7 +792,9 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value if (hybridItemBuilder_ == null) { if (hybridItem_ != null) { hybridItem_ = - com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_) + .mergeFrom(value) + .buildPartial(); } else { hybridItem_ = value; } @@ -717,6 +806,8 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -735,6 +826,8 @@ public Builder clearHybridItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -742,11 +835,13 @@ public Builder clearHybridItem() { * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ public com.google.privacy.dlp.v2.HybridContentItem.Builder getHybridItemBuilder() { - + onChanged(); return getHybridItemFieldBuilder().getBuilder(); } /** + * + * *
      * The item to inspect.
      * 
@@ -757,11 +852,14 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild if (hybridItemBuilder_ != null) { return hybridItemBuilder_.getMessageOrBuilder(); } else { - return hybridItem_ == null ? - com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; + return hybridItem_ == null + ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() + : hybridItem_; } } /** + * + * *
      * The item to inspect.
      * 
@@ -769,21 +867,24 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> + com.google.privacy.dlp.v2.HybridContentItem, + com.google.privacy.dlp.v2.HybridContentItem.Builder, + com.google.privacy.dlp.v2.HybridContentItemOrBuilder> getHybridItemFieldBuilder() { if (hybridItemBuilder_ == null) { - hybridItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( - getHybridItem(), - getParentForChildren(), - isClean()); + hybridItemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridContentItem, + com.google.privacy.dlp.v2.HybridContentItem.Builder, + com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( + getHybridItem(), getParentForChildren(), isClean()); hybridItem_ = null; } return hybridItemBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,12 +894,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectDlpJobRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectDlpJobRequest) private static final com.google.privacy.dlp.v2.HybridInspectDlpJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectDlpJobRequest(); } @@ -807,16 +908,16 @@ public static com.google.privacy.dlp.v2.HybridInspectDlpJobRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectDlpJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectDlpJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectDlpJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectDlpJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,6 +932,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.HybridInspectDlpJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java index e22ca794..b6bab6b4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridInspectDlpJobRequestOrBuilder extends +public interface HybridInspectDlpJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectDlpJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * 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. Resource name of the job to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* - * 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(); /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return Whether the hybridItem field is set. */ boolean hasHybridItem(); /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return The hybridItem. */ com.google.privacy.dlp.v2.HybridContentItem getHybridItem(); /** + * + * *
    * The item to inspect.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java index 30355008..f6ce551e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request to search for potentially sensitive info in a custom location.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectJobTriggerRequest} */ -public final class HybridInspectJobTriggerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HybridInspectJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) HybridInspectJobTriggerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HybridInspectJobTriggerRequest.newBuilder() to construct. - private HybridInspectJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private HybridInspectJobTriggerRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HybridInspectJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HybridInspectJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HybridInspectJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,66 +71,77 @@ private HybridInspectJobTriggerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; - if (hybridItem_ != null) { - subBuilder = hybridItem_.toBuilder(); + name_ = s; + break; } - hybridItem_ = input.readMessage(com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(hybridItem_); - hybridItem_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.HybridContentItem.Builder subBuilder = null; + if (hybridItem_ != null) { + subBuilder = hybridItem_.toBuilder(); + } + hybridItem_ = + input.readMessage( + com.google.privacy.dlp.v2.HybridContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hybridItem_); + hybridItem_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 @@ -121,30 +150,32 @@ 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. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 { @@ -155,11 +186,14 @@ public java.lang.String getName() { public static final int HYBRID_ITEM_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return Whether the hybridItem field is set. */ @java.lang.Override @@ -167,18 +201,25 @@ public boolean hasHybridItem() { return hybridItem_ != null; } /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return The hybridItem. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { - return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; + return hybridItem_ == null + ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() + : hybridItem_; } /** + * + * *
    * The item to inspect.
    * 
@@ -191,6 +232,7 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -223,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (hybridItem_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getHybridItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHybridItem()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +274,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest other = (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) obj; + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest other = + (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasHybridItem() != other.hasHybridItem()) return false; if (hasHybridItem()) { - if (!getHybridItem() - .equals(other.getHybridItem())) return false; + if (!getHybridItem().equals(other.getHybridItem())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +310,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in a custom location.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectJobTriggerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) com.google.privacy.dlp.v2.HybridInspectJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.class, + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.newBuilder() @@ -389,16 +438,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +462,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor; } @java.lang.Override @@ -435,7 +483,8 @@ public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest result = new com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest(this); + com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest result = + new com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest(this); result.name_ = name_; if (hybridItemBuilder_ == null) { result.hybridItem_ = hybridItem_; @@ -450,38 +499,39 @@ public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) other); } else { super.mergeFrom(other); return this; @@ -489,7 +539,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -516,7 +567,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,19 +580,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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; @@ -549,21 +605,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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 { @@ -571,57 +630,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the trigger to execute a hybrid inspect on, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -629,34 +701,47 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.HybridContentItem hybridItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> hybridItemBuilder_; + com.google.privacy.dlp.v2.HybridContentItem, + com.google.privacy.dlp.v2.HybridContentItem.Builder, + com.google.privacy.dlp.v2.HybridContentItemOrBuilder> + hybridItemBuilder_; /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return Whether the hybridItem field is set. */ public boolean hasHybridItem() { return hybridItemBuilder_ != null || hybridItem_ != null; } /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return The hybridItem. */ public com.google.privacy.dlp.v2.HybridContentItem getHybridItem() { if (hybridItemBuilder_ == null) { - return hybridItem_ == null ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; + return hybridItem_ == null + ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() + : hybridItem_; } else { return hybridItemBuilder_.getMessage(); } } /** + * + * *
      * The item to inspect.
      * 
@@ -677,6 +762,8 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -695,6 +782,8 @@ public Builder setHybridItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -705,7 +794,9 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value if (hybridItemBuilder_ == null) { if (hybridItem_ != null) { hybridItem_ = - com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.HybridContentItem.newBuilder(hybridItem_) + .mergeFrom(value) + .buildPartial(); } else { hybridItem_ = value; } @@ -717,6 +808,8 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -735,6 +828,8 @@ public Builder clearHybridItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -742,11 +837,13 @@ public Builder clearHybridItem() { * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ public com.google.privacy.dlp.v2.HybridContentItem.Builder getHybridItemBuilder() { - + onChanged(); return getHybridItemFieldBuilder().getBuilder(); } /** + * + * *
      * The item to inspect.
      * 
@@ -757,11 +854,14 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild if (hybridItemBuilder_ != null) { return hybridItemBuilder_.getMessageOrBuilder(); } else { - return hybridItem_ == null ? - com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() : hybridItem_; + return hybridItem_ == null + ? com.google.privacy.dlp.v2.HybridContentItem.getDefaultInstance() + : hybridItem_; } } /** + * + * *
      * The item to inspect.
      * 
@@ -769,21 +869,24 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder> + com.google.privacy.dlp.v2.HybridContentItem, + com.google.privacy.dlp.v2.HybridContentItem.Builder, + com.google.privacy.dlp.v2.HybridContentItemOrBuilder> getHybridItemFieldBuilder() { if (hybridItemBuilder_ == null) { - hybridItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridContentItem, com.google.privacy.dlp.v2.HybridContentItem.Builder, com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( - getHybridItem(), - getParentForChildren(), - isClean()); + hybridItemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridContentItem, + com.google.privacy.dlp.v2.HybridContentItem.Builder, + com.google.privacy.dlp.v2.HybridContentItemOrBuilder>( + getHybridItem(), getParentForChildren(), isClean()); hybridItem_ = null; } return hybridItemBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,12 +896,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) private static final com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest(); } @@ -807,16 +910,16 @@ public static com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,6 +934,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.privacy.dlp.v2.HybridInspectJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java index 819775dc..93e2f12d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridInspectJobTriggerRequestOrBuilder extends +public interface HybridInspectJobTriggerRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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. Resource name of the trigger to execute a hybrid inspect on, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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(); /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return Whether the hybridItem field is set. */ boolean hasHybridItem(); /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.HybridContentItem hybrid_item = 3; + * * @return The hybridItem. */ com.google.privacy.dlp.v2.HybridContentItem getHybridItem(); /** + * + * *
    * The item to inspect.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java index 88755381..0bfc14fb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Quota exceeded errors will be thrown once quota has been met.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectResponse} */ -public final class HybridInspectResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HybridInspectResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectResponse) HybridInspectResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HybridInspectResponse.newBuilder() to construct. private HybridInspectResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HybridInspectResponse() { - } + + private HybridInspectResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HybridInspectResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HybridInspectResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,42 @@ private HybridInspectResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectResponse.class, com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); + com.google.privacy.dlp.v2.HybridInspectResponse.class, + com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,8 +115,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -115,12 +133,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.privacy.dlp.v2.HybridInspectResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectResponse other = (com.google.privacy.dlp.v2.HybridInspectResponse) obj; + com.google.privacy.dlp.v2.HybridInspectResponse other = + (com.google.privacy.dlp.v2.HybridInspectResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -138,118 +157,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Quota exceeded errors will be thrown once quota has been met.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectResponse) com.google.privacy.dlp.v2.HybridInspectResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectResponse.class, com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); + com.google.privacy.dlp.v2.HybridInspectResponse.class, + com.google.privacy.dlp.v2.HybridInspectResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectResponse.newBuilder() @@ -257,16 +285,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -274,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor; } @java.lang.Override @@ -295,7 +322,8 @@ public com.google.privacy.dlp.v2.HybridInspectResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectResponse buildPartial() { - com.google.privacy.dlp.v2.HybridInspectResponse result = new com.google.privacy.dlp.v2.HybridInspectResponse(this); + com.google.privacy.dlp.v2.HybridInspectResponse result = + new com.google.privacy.dlp.v2.HybridInspectResponse(this); onBuilt(); return result; } @@ -304,38 +332,39 @@ public com.google.privacy.dlp.v2.HybridInspectResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectResponse) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectResponse) other); } else { super.mergeFrom(other); return this; @@ -343,7 +372,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectResponse other) { - if (other == com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.HybridInspectResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -372,9 +402,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -384,12 +414,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectResponse) private static final com.google.privacy.dlp.v2.HybridInspectResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectResponse(); } @@ -398,16 +428,16 @@ public static com.google.privacy.dlp.v2.HybridInspectResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -422,6 +452,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.HybridInspectResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java new file mode 100644 index 00000000..22d236c9 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface HybridInspectResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java index f4850414..ca1fd088 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Statistics related to processing hybrid inspect requests.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectStatistics} */ -public final class HybridInspectStatistics extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HybridInspectStatistics extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridInspectStatistics) HybridInspectStatisticsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HybridInspectStatistics.newBuilder() to construct. private HybridInspectStatistics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HybridInspectStatistics() { - } + + private HybridInspectStatistics() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HybridInspectStatistics(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HybridInspectStatistics( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,61 +68,66 @@ private HybridInspectStatistics( case 0: done = true; break; - case 8: { - - processedCount_ = input.readInt64(); - break; - } - case 16: { - - abortedCount_ = input.readInt64(); - break; - } - case 24: { - - pendingCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + processedCount_ = input.readInt64(); + break; + } + case 16: + { + abortedCount_ = input.readInt64(); + break; + } + case 24: + { + pendingCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectStatistics.class, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); + com.google.privacy.dlp.v2.HybridInspectStatistics.class, + com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); } public static final int PROCESSED_COUNT_FIELD_NUMBER = 1; private long processedCount_; /** + * + * *
    * The number of hybrid inspection requests processed within this job.
    * 
* * int64 processed_count = 1; + * * @return The processedCount. */ @java.lang.Override @@ -117,12 +138,15 @@ public long getProcessedCount() { public static final int ABORTED_COUNT_FIELD_NUMBER = 2; private long abortedCount_; /** + * + * *
    * The number of hybrid inspection requests aborted because the job ran
    * out of quota or was ended before they could be processed.
    * 
* * int64 aborted_count = 2; + * * @return The abortedCount. */ @java.lang.Override @@ -133,6 +157,8 @@ public long getAbortedCount() { public static final int PENDING_COUNT_FIELD_NUMBER = 3; private long pendingCount_; /** + * + * *
    * The number of hybrid requests currently being processed. Only populated
    * when called via method `getDlpJob`.
@@ -142,6 +168,7 @@ public long getAbortedCount() {
    * 
* * int64 pending_count = 3; + * * @return The pendingCount. */ @java.lang.Override @@ -150,6 +177,7 @@ public long getPendingCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,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 (processedCount_ != 0L) { output.writeInt64(1, processedCount_); } @@ -182,16 +209,13 @@ public int getSerializedSize() { size = 0; if (processedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, processedCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, processedCount_); } if (abortedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, abortedCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, abortedCount_); } if (pendingCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, pendingCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, pendingCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -201,19 +225,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.HybridInspectStatistics)) { return super.equals(obj); } - com.google.privacy.dlp.v2.HybridInspectStatistics other = (com.google.privacy.dlp.v2.HybridInspectStatistics) obj; + com.google.privacy.dlp.v2.HybridInspectStatistics other = + (com.google.privacy.dlp.v2.HybridInspectStatistics) obj; - if (getProcessedCount() - != other.getProcessedCount()) return false; - if (getAbortedCount() - != other.getAbortedCount()) return false; - if (getPendingCount() - != other.getPendingCount()) return false; + if (getProcessedCount() != other.getProcessedCount()) return false; + if (getAbortedCount() != other.getAbortedCount()) return false; + if (getPendingCount() != other.getPendingCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,131 +248,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROCESSED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getProcessedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProcessedCount()); hash = (37 * hash) + ABORTED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAbortedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAbortedCount()); hash = (37 * hash) + PENDING_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPendingCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPendingCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.HybridInspectStatistics parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.HybridInspectStatistics parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.HybridInspectStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Statistics related to processing hybrid inspect requests.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectStatistics} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridInspectStatistics) com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.HybridInspectStatistics.class, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); + com.google.privacy.dlp.v2.HybridInspectStatistics.class, + com.google.privacy.dlp.v2.HybridInspectStatistics.Builder.class); } // Construct using com.google.privacy.dlp.v2.HybridInspectStatistics.newBuilder() @@ -358,16 +386,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor; } @java.lang.Override @@ -402,7 +429,8 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics build() { @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectStatistics buildPartial() { - com.google.privacy.dlp.v2.HybridInspectStatistics result = new com.google.privacy.dlp.v2.HybridInspectStatistics(this); + com.google.privacy.dlp.v2.HybridInspectStatistics result = + new com.google.privacy.dlp.v2.HybridInspectStatistics(this); result.processedCount_ = processedCount_; result.abortedCount_ = abortedCount_; result.pendingCount_ = pendingCount_; @@ -414,38 +442,39 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.HybridInspectStatistics) { - return mergeFrom((com.google.privacy.dlp.v2.HybridInspectStatistics)other); + return mergeFrom((com.google.privacy.dlp.v2.HybridInspectStatistics) other); } else { super.mergeFrom(other); return this; @@ -453,7 +482,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.HybridInspectStatistics other) { - if (other == com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance()) + return this; if (other.getProcessedCount() != 0L) { setProcessedCount(other.getProcessedCount()); } @@ -482,7 +512,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.HybridInspectStatistics) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.HybridInspectStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,13 +523,16 @@ public Builder mergeFrom( return this; } - private long processedCount_ ; + private long processedCount_; /** + * + * *
      * The number of hybrid inspection requests processed within this job.
      * 
* * int64 processed_count = 1; + * * @return The processedCount. */ @java.lang.Override @@ -506,43 +540,52 @@ public long getProcessedCount() { return processedCount_; } /** + * + * *
      * The number of hybrid inspection requests processed within this job.
      * 
* * int64 processed_count = 1; + * * @param value The processedCount to set. * @return This builder for chaining. */ public Builder setProcessedCount(long value) { - + processedCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of hybrid inspection requests processed within this job.
      * 
* * int64 processed_count = 1; + * * @return This builder for chaining. */ public Builder clearProcessedCount() { - + processedCount_ = 0L; onChanged(); return this; } - private long abortedCount_ ; + private long abortedCount_; /** + * + * *
      * The number of hybrid inspection requests aborted because the job ran
      * out of quota or was ended before they could be processed.
      * 
* * int64 aborted_count = 2; + * * @return The abortedCount. */ @java.lang.Override @@ -550,39 +593,47 @@ public long getAbortedCount() { return abortedCount_; } /** + * + * *
      * The number of hybrid inspection requests aborted because the job ran
      * out of quota or was ended before they could be processed.
      * 
* * int64 aborted_count = 2; + * * @param value The abortedCount to set. * @return This builder for chaining. */ public Builder setAbortedCount(long value) { - + abortedCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of hybrid inspection requests aborted because the job ran
      * out of quota or was ended before they could be processed.
      * 
* * int64 aborted_count = 2; + * * @return This builder for chaining. */ public Builder clearAbortedCount() { - + abortedCount_ = 0L; onChanged(); return this; } - private long pendingCount_ ; + private long pendingCount_; /** + * + * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -592,6 +643,7 @@ public Builder clearAbortedCount() {
      * 
* * int64 pending_count = 3; + * * @return The pendingCount. */ @java.lang.Override @@ -599,6 +651,8 @@ public long getPendingCount() { return pendingCount_; } /** + * + * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -608,16 +662,19 @@ public long getPendingCount() {
      * 
* * int64 pending_count = 3; + * * @param value The pendingCount to set. * @return This builder for chaining. */ public Builder setPendingCount(long value) { - + pendingCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -627,17 +684,18 @@ public Builder setPendingCount(long value) {
      * 
* * int64 pending_count = 3; + * * @return This builder for chaining. */ public Builder clearPendingCount() { - + pendingCount_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -647,12 +705,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridInspectStatistics) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectStatistics) private static final com.google.privacy.dlp.v2.HybridInspectStatistics DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridInspectStatistics(); } @@ -661,16 +719,16 @@ public static com.google.privacy.dlp.v2.HybridInspectStatistics getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HybridInspectStatistics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HybridInspectStatistics(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HybridInspectStatistics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HybridInspectStatistics(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -685,6 +743,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.HybridInspectStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java index 4057d7d8..e092c04d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatisticsOrBuilder.java @@ -1,34 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface HybridInspectStatisticsOrBuilder extends +public interface HybridInspectStatisticsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridInspectStatistics) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of hybrid inspection requests processed within this job.
    * 
* * int64 processed_count = 1; + * * @return The processedCount. */ long getProcessedCount(); /** + * + * *
    * The number of hybrid inspection requests aborted because the job ran
    * out of quota or was ended before they could be processed.
    * 
* * int64 aborted_count = 2; + * * @return The abortedCount. */ long getAbortedCount(); /** + * + * *
    * The number of hybrid requests currently being processed. Only populated
    * when called via method `getDlpJob`.
@@ -38,6 +62,7 @@ public interface HybridInspectStatisticsOrBuilder extends
    * 
* * int64 pending_count = 3; + * * @return The pendingCount. */ long getPendingCount(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java index c3b94de5..ebf10f21 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Configuration to control jobs where the content being inspected is outside
  * of Google Cloud Platform.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.HybridOptions}
  */
-public final class HybridOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HybridOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.HybridOptions)
     HybridOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HybridOptions.newBuilder() to construct.
   private HybridOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HybridOptions() {
     description_ = "";
     requiredFindingLabelKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -27,16 +45,15 @@ private HybridOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HybridOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HybridOptions(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,61 +73,65 @@ private HybridOptions(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              requiredFindingLabelKeys_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              description_ = s;
+              break;
             }
-            requiredFindingLabelKeys_.add(s);
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                requiredFindingLabelKeys_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              requiredFindingLabelKeys_.add(s);
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null;
-            if (tableOptions_ != null) {
-              subBuilder = tableOptions_.toBuilder();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
-            tableOptions_ = input.readMessage(com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tableOptions_);
-              tableOptions_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.privacy.dlp.v2.TableOptions.Builder subBuilder = null;
+              if (tableOptions_ != null) {
+                subBuilder = tableOptions_.toBuilder();
+              }
+              tableOptions_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TableOptions.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tableOptions_);
+                tableOptions_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         requiredFindingLabelKeys_ = requiredFindingLabelKeys_.getUnmodifiableView();
@@ -119,40 +140,45 @@ private HybridOptions(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_HybridOptions_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 3:
         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.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.HybridOptions.class, com.google.privacy.dlp.v2.HybridOptions.Builder.class);
+            com.google.privacy.dlp.v2.HybridOptions.class,
+            com.google.privacy.dlp.v2.HybridOptions.Builder.class);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 1;
   private volatile java.lang.Object description_;
   /**
+   *
+   *
    * 
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -161,30 +187,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; } } /** + * + * *
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; + * * @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 { @@ -195,6 +221,8 @@ public java.lang.String getDescription() { public static final int REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList requiredFindingLabelKeys_; /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -205,13 +233,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string required_finding_label_keys = 2; + * * @return A list containing the requiredFindingLabelKeys. */ - public com.google.protobuf.ProtocolStringList - getRequiredFindingLabelKeysList() { + public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList() { return requiredFindingLabelKeys_; } /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -222,12 +252,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string required_finding_label_keys = 2; + * * @return The count of requiredFindingLabelKeys. */ public int getRequiredFindingLabelKeysCount() { return requiredFindingLabelKeys_.size(); } /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -238,6 +271,7 @@ public int getRequiredFindingLabelKeysCount() {
    * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index of the element to return. * @return The requiredFindingLabelKeys at the given index. */ @@ -245,6 +279,8 @@ public java.lang.String getRequiredFindingLabelKeys(int index) { return requiredFindingLabelKeys_.get(index); } /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -255,33 +291,32 @@ public java.lang.String getRequiredFindingLabelKeys(int index) {
    * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index of the value to return. * @return The bytes of the requiredFindingLabelKeys at the given index. */ - public com.google.protobuf.ByteString - getRequiredFindingLabelKeysBytes(int index) { + public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index) { return requiredFindingLabelKeys_.getByteString(index); } public static final int LABELS_FIELD_NUMBER = 3; + 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.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_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.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_HybridOptions_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -290,6 +325,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -304,22 +341,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 3;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     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();
   }
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -335,11 +372,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -355,16 +393,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -380,12 +418,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -395,12 +432,15 @@ public java.lang.String getLabelsOrThrow(
   public static final int TABLE_OPTIONS_FIELD_NUMBER = 4;
   private com.google.privacy.dlp.v2.TableOptions tableOptions_;
   /**
+   *
+   *
    * 
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ @java.lang.Override @@ -408,19 +448,26 @@ public boolean hasTableOptions() { return tableOptions_ != null; } /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return The tableOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.TableOptions getTableOptions() { - return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; + return tableOptions_ == null + ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() + : tableOptions_; } /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
@@ -434,6 +481,7 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -445,20 +493,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(description_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_);
     }
     for (int i = 0; i < requiredFindingLabelKeys_.size(); i++) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requiredFindingLabelKeys_.getRaw(i));
-    }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        3);
+      com.google.protobuf.GeneratedMessageV3.writeString(
+          output, 2, requiredFindingLabelKeys_.getRaw(i));
+    }
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3);
     if (tableOptions_ != null) {
       output.writeMessage(4, getTableOptions());
     }
@@ -482,19 +526,18 @@ public int getSerializedSize() {
       size += dataSize;
       size += 1 * getRequiredFindingLabelKeysList().size();
     }
-    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(3, 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(3, labels__);
     }
     if (tableOptions_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getTableOptions());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTableOptions());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -504,23 +547,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.privacy.dlp.v2.HybridOptions)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.HybridOptions other = (com.google.privacy.dlp.v2.HybridOptions) obj;
 
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (!getRequiredFindingLabelKeysList()
-        .equals(other.getRequiredFindingLabelKeysList())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getRequiredFindingLabelKeysList().equals(other.getRequiredFindingLabelKeysList()))
+      return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
     if (hasTableOptions() != other.hasTableOptions()) return false;
     if (hasTableOptions()) {
-      if (!getTableOptions()
-          .equals(other.getTableOptions())) return false;
+      if (!getTableOptions().equals(other.getTableOptions())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -552,97 +592,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.HybridOptions parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.HybridOptions parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.HybridOptions parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.HybridOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.HybridOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration to control jobs where the content being inspected is outside
    * of Google Cloud Platform.
@@ -650,43 +697,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.HybridOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.HybridOptions)
       com.google.privacy.dlp.v2.HybridOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           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 3:
           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.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_HybridOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.HybridOptions.class, com.google.privacy.dlp.v2.HybridOptions.Builder.class);
+              com.google.privacy.dlp.v2.HybridOptions.class,
+              com.google.privacy.dlp.v2.HybridOptions.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.HybridOptions.newBuilder()
@@ -694,16 +741,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -722,9 +768,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_HybridOptions_descriptor;
     }
 
     @java.lang.Override
@@ -743,7 +789,8 @@ public com.google.privacy.dlp.v2.HybridOptions build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.HybridOptions buildPartial() {
-      com.google.privacy.dlp.v2.HybridOptions result = new com.google.privacy.dlp.v2.HybridOptions(this);
+      com.google.privacy.dlp.v2.HybridOptions result =
+          new com.google.privacy.dlp.v2.HybridOptions(this);
       int from_bitField0_ = bitField0_;
       result.description_ = description_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -766,38 +813,39 @@ public com.google.privacy.dlp.v2.HybridOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.HybridOptions) {
-        return mergeFrom((com.google.privacy.dlp.v2.HybridOptions)other);
+        return mergeFrom((com.google.privacy.dlp.v2.HybridOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -820,8 +868,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.HybridOptions other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.hasTableOptions()) {
         mergeTableOptions(other.getTableOptions());
       }
@@ -853,23 +900,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; + * * @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; @@ -878,21 +928,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; + * * @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 { @@ -900,70 +951,82 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A short description of where the data is coming from. Will be stored once
      * in the job. 256 max length.
      * 
* * string description = 1; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList requiredFindingLabelKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList requiredFindingLabelKeys_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRequiredFindingLabelKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requiredFindingLabelKeys_ = new com.google.protobuf.LazyStringArrayList(requiredFindingLabelKeys_); + requiredFindingLabelKeys_ = + new com.google.protobuf.LazyStringArrayList(requiredFindingLabelKeys_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -974,13 +1037,15 @@ private void ensureRequiredFindingLabelKeysIsMutable() {
      * 
* * repeated string required_finding_label_keys = 2; + * * @return A list containing the requiredFindingLabelKeys. */ - public com.google.protobuf.ProtocolStringList - getRequiredFindingLabelKeysList() { + public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList() { return requiredFindingLabelKeys_.getUnmodifiableView(); } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -991,12 +1056,15 @@ private void ensureRequiredFindingLabelKeysIsMutable() {
      * 
* * repeated string required_finding_label_keys = 2; + * * @return The count of requiredFindingLabelKeys. */ public int getRequiredFindingLabelKeysCount() { return requiredFindingLabelKeys_.size(); } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1007,6 +1075,7 @@ public int getRequiredFindingLabelKeysCount() {
      * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index of the element to return. * @return The requiredFindingLabelKeys at the given index. */ @@ -1014,6 +1083,8 @@ public java.lang.String getRequiredFindingLabelKeys(int index) { return requiredFindingLabelKeys_.get(index); } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1024,14 +1095,16 @@ public java.lang.String getRequiredFindingLabelKeys(int index) {
      * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index of the value to return. * @return The bytes of the requiredFindingLabelKeys at the given index. */ - public com.google.protobuf.ByteString - getRequiredFindingLabelKeysBytes(int index) { + public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index) { return requiredFindingLabelKeys_.getByteString(index); } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1042,21 +1115,23 @@ public java.lang.String getRequiredFindingLabelKeys(int index) {
      * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index to set the value at. * @param value The requiredFindingLabelKeys to set. * @return This builder for chaining. */ - public Builder setRequiredFindingLabelKeys( - int index, java.lang.String value) { + public Builder setRequiredFindingLabelKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRequiredFindingLabelKeysIsMutable(); + throw new NullPointerException(); + } + ensureRequiredFindingLabelKeysIsMutable(); requiredFindingLabelKeys_.set(index, value); onChanged(); return this; } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1067,20 +1142,22 @@ public Builder setRequiredFindingLabelKeys(
      * 
* * repeated string required_finding_label_keys = 2; + * * @param value The requiredFindingLabelKeys to add. * @return This builder for chaining. */ - public Builder addRequiredFindingLabelKeys( - java.lang.String value) { + public Builder addRequiredFindingLabelKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRequiredFindingLabelKeysIsMutable(); + throw new NullPointerException(); + } + ensureRequiredFindingLabelKeysIsMutable(); requiredFindingLabelKeys_.add(value); onChanged(); return this; } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1091,18 +1168,19 @@ public Builder addRequiredFindingLabelKeys(
      * 
* * repeated string required_finding_label_keys = 2; + * * @param values The requiredFindingLabelKeys to add. * @return This builder for chaining. */ - public Builder addAllRequiredFindingLabelKeys( - java.lang.Iterable values) { + public Builder addAllRequiredFindingLabelKeys(java.lang.Iterable values) { ensureRequiredFindingLabelKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requiredFindingLabelKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requiredFindingLabelKeys_); onChanged(); return this; } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1113,6 +1191,7 @@ public Builder addAllRequiredFindingLabelKeys(
      * 
* * repeated string required_finding_label_keys = 2; + * * @return This builder for chaining. */ public Builder clearRequiredFindingLabelKeys() { @@ -1122,6 +1201,8 @@ public Builder clearRequiredFindingLabelKeys() { return this; } /** + * + * *
      * These are labels that each inspection request must include within their
      * 'finding_labels' map. Request may contain others, but any missing one of
@@ -1132,37 +1213,36 @@ public Builder clearRequiredFindingLabelKeys() {
      * 
* * repeated string required_finding_label_keys = 2; + * * @param value The bytes of the requiredFindingLabelKeys to add. * @return This builder for chaining. */ - public Builder addRequiredFindingLabelKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addRequiredFindingLabelKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRequiredFindingLabelKeysIsMutable(); requiredFindingLabelKeys_.add(value); onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1174,6 +1254,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1188,22 +1270,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 3;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       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();
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1219,11 +1301,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 3;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1239,16 +1322,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 3;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1264,12 +1348,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1277,11 +1360,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1296,23 +1380,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1327,16 +1409,19 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 3;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1351,46 +1436,56 @@ public Builder putLabels(
      *
      * map<string, string> labels = 3;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.privacy.dlp.v2.TableOptions tableOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> tableOptionsBuilder_;
+            com.google.privacy.dlp.v2.TableOptions,
+            com.google.privacy.dlp.v2.TableOptions.Builder,
+            com.google.privacy.dlp.v2.TableOptionsOrBuilder>
+        tableOptionsBuilder_;
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ public boolean hasTableOptions() { return tableOptionsBuilder_ != null || tableOptions_ != null; } /** + * + * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
      * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return The tableOptions. */ public com.google.privacy.dlp.v2.TableOptions getTableOptions() { if (tableOptionsBuilder_ == null) { - return tableOptions_ == null ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_; + return tableOptions_ == null + ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() + : tableOptions_; } else { return tableOptionsBuilder_.getMessage(); } } /** + * + * *
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1412,6 +1507,8 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1419,8 +1516,7 @@ public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
      *
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
-    public Builder setTableOptions(
-        com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
+    public Builder setTableOptions(com.google.privacy.dlp.v2.TableOptions.Builder builderForValue) {
       if (tableOptionsBuilder_ == null) {
         tableOptions_ = builderForValue.build();
         onChanged();
@@ -1431,6 +1527,8 @@ public Builder setTableOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1442,7 +1540,9 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       if (tableOptionsBuilder_ == null) {
         if (tableOptions_ != null) {
           tableOptions_ =
-            com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.TableOptions.newBuilder(tableOptions_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tableOptions_ = value;
         }
@@ -1454,6 +1554,8 @@ public Builder mergeTableOptions(com.google.privacy.dlp.v2.TableOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1473,6 +1575,8 @@ public Builder clearTableOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1481,11 +1585,13 @@ public Builder clearTableOptions() {
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     public com.google.privacy.dlp.v2.TableOptions.Builder getTableOptionsBuilder() {
-      
+
       onChanged();
       return getTableOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1497,11 +1603,14 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
       if (tableOptionsBuilder_ != null) {
         return tableOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return tableOptions_ == null ?
-            com.google.privacy.dlp.v2.TableOptions.getDefaultInstance() : tableOptions_;
+        return tableOptions_ == null
+            ? com.google.privacy.dlp.v2.TableOptions.getDefaultInstance()
+            : tableOptions_;
       }
     }
     /**
+     *
+     *
      * 
      * If the container is a table, additional information to make findings
      * meaningful such as the columns that are primary keys.
@@ -1510,21 +1619,24 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
      * .google.privacy.dlp.v2.TableOptions table_options = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder> 
+            com.google.privacy.dlp.v2.TableOptions,
+            com.google.privacy.dlp.v2.TableOptions.Builder,
+            com.google.privacy.dlp.v2.TableOptionsOrBuilder>
         getTableOptionsFieldBuilder() {
       if (tableOptionsBuilder_ == null) {
-        tableOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableOptions, com.google.privacy.dlp.v2.TableOptions.Builder, com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
-                getTableOptions(),
-                getParentForChildren(),
-                isClean());
+        tableOptionsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.TableOptions,
+                com.google.privacy.dlp.v2.TableOptions.Builder,
+                com.google.privacy.dlp.v2.TableOptionsOrBuilder>(
+                getTableOptions(), getParentForChildren(), isClean());
         tableOptions_ = null;
       }
       return tableOptionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1534,12 +1646,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.HybridOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridOptions)
   private static final com.google.privacy.dlp.v2.HybridOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.HybridOptions();
   }
@@ -1548,16 +1660,16 @@ public static com.google.privacy.dlp.v2.HybridOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HybridOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HybridOptions(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HybridOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HybridOptions(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1572,6 +1684,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.HybridOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
index da77cfbb..a2942c01 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface HybridOptionsOrBuilder extends
+public interface HybridOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A short description of where the data is coming from. Will be stored once
    * in the job. 256 max length.
    * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -40,11 +63,13 @@ public interface HybridOptionsOrBuilder extends
    * 
* * repeated string required_finding_label_keys = 2; + * * @return A list containing the requiredFindingLabelKeys. */ - java.util.List - getRequiredFindingLabelKeysList(); + java.util.List getRequiredFindingLabelKeysList(); /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -55,10 +80,13 @@ public interface HybridOptionsOrBuilder extends
    * 
* * repeated string required_finding_label_keys = 2; + * * @return The count of requiredFindingLabelKeys. */ int getRequiredFindingLabelKeysCount(); /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -69,11 +97,14 @@ public interface HybridOptionsOrBuilder extends
    * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index of the element to return. * @return The requiredFindingLabelKeys at the given index. */ java.lang.String getRequiredFindingLabelKeys(int index); /** + * + * *
    * These are labels that each inspection request must include within their
    * 'finding_labels' map. Request may contain others, but any missing one of
@@ -84,13 +115,15 @@ public interface HybridOptionsOrBuilder extends
    * 
* * repeated string required_finding_label_keys = 2; + * * @param index The index of the value to return. * @return The bytes of the requiredFindingLabelKeys at the given index. */ - com.google.protobuf.ByteString - getRequiredFindingLabelKeysBytes(int index); + com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index); /** + * + * *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -107,6 +140,8 @@ public interface HybridOptionsOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -121,15 +156,13 @@ public interface HybridOptionsOrBuilder extends
    *
    * map<string, string> labels = 3;
    */
-  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();
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -144,9 +177,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 3;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -161,11 +195,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 3;
    */
-
-  java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -180,31 +213,37 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 3;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ boolean hasTableOptions(); /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return The tableOptions. */ com.google.privacy.dlp.v2.TableOptions getTableOptions(); /** + * + * *
    * If the container is a table, additional information to make findings
    * meaningful such as the columns that are primary keys.
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
similarity index 74%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
index 4462ae27..193ca4ee 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocation.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Location of the finding within an image.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageLocation} */ -public final class ImageLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImageLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageLocation) ImageLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageLocation.newBuilder() to construct. private ImageLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImageLocation() { boundingBoxes_ = 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 ImageLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImageLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,30 @@ private ImageLocation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - boundingBoxes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + boundingBoxes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + boundingBoxes_.add( + input.readMessage( + com.google.privacy.dlp.v2.BoundingBox.parser(), extensionRegistry)); + break; } - boundingBoxes_.add( - input.readMessage(com.google.privacy.dlp.v2.BoundingBox.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { boundingBoxes_ = java.util.Collections.unmodifiableList(boundingBoxes_); @@ -85,22 +103,27 @@ private ImageLocation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageLocation.class, com.google.privacy.dlp.v2.ImageLocation.Builder.class); + com.google.privacy.dlp.v2.ImageLocation.class, + com.google.privacy.dlp.v2.ImageLocation.Builder.class); } public static final int BOUNDING_BOXES_FIELD_NUMBER = 1; private java.util.List boundingBoxes_; /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -112,6 +135,8 @@ public java.util.List getBoundingBoxesLis return boundingBoxes_; } /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -119,11 +144,13 @@ public java.util.List getBoundingBoxesLis * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBoundingBoxesOrBuilderList() { return boundingBoxes_; } /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -135,6 +162,8 @@ public int getBoundingBoxesCount() { return boundingBoxes_.size(); } /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -146,6 +175,8 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) { return boundingBoxes_.get(index); } /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -153,12 +184,12 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) { * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index) { return boundingBoxes_.get(index); } 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 { for (int i = 0; i < boundingBoxes_.size(); i++) { output.writeMessage(1, boundingBoxes_.get(i)); } @@ -185,8 +215,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < boundingBoxes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, boundingBoxes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, boundingBoxes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +225,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.privacy.dlp.v2.ImageLocation)) { return super.equals(obj); } com.google.privacy.dlp.v2.ImageLocation other = (com.google.privacy.dlp.v2.ImageLocation) obj; - if (!getBoundingBoxesList() - .equals(other.getBoundingBoxesList())) return false; + if (!getBoundingBoxesList().equals(other.getBoundingBoxesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,118 +253,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ImageLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ImageLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ImageLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ImageLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Location of the finding within an image.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageLocation) com.google.privacy.dlp.v2.ImageLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageLocation.class, com.google.privacy.dlp.v2.ImageLocation.Builder.class); + com.google.privacy.dlp.v2.ImageLocation.class, + com.google.privacy.dlp.v2.ImageLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.ImageLocation.newBuilder() @@ -344,17 +381,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBoundingBoxesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +405,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageLocation_descriptor; } @java.lang.Override @@ -389,7 +426,8 @@ public com.google.privacy.dlp.v2.ImageLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.ImageLocation buildPartial() { - com.google.privacy.dlp.v2.ImageLocation result = new com.google.privacy.dlp.v2.ImageLocation(this); + com.google.privacy.dlp.v2.ImageLocation result = + new com.google.privacy.dlp.v2.ImageLocation(this); int from_bitField0_ = bitField0_; if (boundingBoxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,38 +446,39 @@ public com.google.privacy.dlp.v2.ImageLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ImageLocation) { - return mergeFrom((com.google.privacy.dlp.v2.ImageLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.ImageLocation) other); } else { super.mergeFrom(other); return this; @@ -466,9 +505,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ImageLocation other) { boundingBoxesBuilder_ = null; boundingBoxes_ = other.boundingBoxes_; bitField0_ = (bitField0_ & ~0x00000001); - boundingBoxesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBoundingBoxesFieldBuilder() : null; + boundingBoxesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBoundingBoxesFieldBuilder() + : null; } else { boundingBoxesBuilder_.addAllMessages(other.boundingBoxes_); } @@ -502,21 +542,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List boundingBoxes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBoundingBoxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - boundingBoxes_ = new java.util.ArrayList(boundingBoxes_); + boundingBoxes_ = + new java.util.ArrayList(boundingBoxes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BoundingBox, com.google.privacy.dlp.v2.BoundingBox.Builder, com.google.privacy.dlp.v2.BoundingBoxOrBuilder> boundingBoxesBuilder_; + com.google.privacy.dlp.v2.BoundingBox, + com.google.privacy.dlp.v2.BoundingBox.Builder, + com.google.privacy.dlp.v2.BoundingBoxOrBuilder> + boundingBoxesBuilder_; /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -531,6 +579,8 @@ public java.util.List getBoundingBoxesLis } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -545,6 +595,8 @@ public int getBoundingBoxesCount() { } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -559,14 +611,15 @@ public com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index) { } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public Builder setBoundingBoxes( - int index, com.google.privacy.dlp.v2.BoundingBox value) { + public Builder setBoundingBoxes(int index, com.google.privacy.dlp.v2.BoundingBox value) { if (boundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -580,6 +633,8 @@ public Builder setBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -598,6 +653,8 @@ public Builder setBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -618,14 +675,15 @@ public Builder addBoundingBoxes(com.google.privacy.dlp.v2.BoundingBox value) { return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public Builder addBoundingBoxes( - int index, com.google.privacy.dlp.v2.BoundingBox value) { + public Builder addBoundingBoxes(int index, com.google.privacy.dlp.v2.BoundingBox value) { if (boundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,14 +697,15 @@ public Builder addBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public Builder addBoundingBoxes( - com.google.privacy.dlp.v2.BoundingBox.Builder builderForValue) { + public Builder addBoundingBoxes(com.google.privacy.dlp.v2.BoundingBox.Builder builderForValue) { if (boundingBoxesBuilder_ == null) { ensureBoundingBoxesIsMutable(); boundingBoxes_.add(builderForValue.build()); @@ -657,6 +716,8 @@ public Builder addBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -675,6 +736,8 @@ public Builder addBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -685,8 +748,7 @@ public Builder addAllBoundingBoxes( java.lang.Iterable values) { if (boundingBoxesBuilder_ == null) { ensureBoundingBoxesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, boundingBoxes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, boundingBoxes_); onChanged(); } else { boundingBoxesBuilder_.addAllMessages(values); @@ -694,6 +756,8 @@ public Builder addAllBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -711,6 +775,8 @@ public Builder clearBoundingBoxes() { return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -728,39 +794,44 @@ public Builder removeBoundingBoxes(int index) { return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public com.google.privacy.dlp.v2.BoundingBox.Builder getBoundingBoxesBuilder( - int index) { + public com.google.privacy.dlp.v2.BoundingBox.Builder getBoundingBoxesBuilder(int index) { return getBoundingBoxesFieldBuilder().getBuilder(index); } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index) { if (boundingBoxesBuilder_ == null) { - return boundingBoxes_.get(index); } else { + return boundingBoxes_.get(index); + } else { return boundingBoxesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public java.util.List - getBoundingBoxesOrBuilderList() { + public java.util.List + getBoundingBoxesOrBuilderList() { if (boundingBoxesBuilder_ != null) { return boundingBoxesBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +839,8 @@ public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -775,38 +848,47 @@ public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder() { - return getBoundingBoxesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); + return getBoundingBoxesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder( - int index) { - return getBoundingBoxesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); + public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder(int index) { + return getBoundingBoxesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.BoundingBox.getDefaultInstance()); } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - public java.util.List - getBoundingBoxesBuilderList() { + public java.util.List + getBoundingBoxesBuilderList() { return getBoundingBoxesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BoundingBox, com.google.privacy.dlp.v2.BoundingBox.Builder, com.google.privacy.dlp.v2.BoundingBoxOrBuilder> + com.google.privacy.dlp.v2.BoundingBox, + com.google.privacy.dlp.v2.BoundingBox.Builder, + com.google.privacy.dlp.v2.BoundingBoxOrBuilder> getBoundingBoxesFieldBuilder() { if (boundingBoxesBuilder_ == null) { - boundingBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.BoundingBox, com.google.privacy.dlp.v2.BoundingBox.Builder, com.google.privacy.dlp.v2.BoundingBoxOrBuilder>( + boundingBoxesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.BoundingBox, + com.google.privacy.dlp.v2.BoundingBox.Builder, + com.google.privacy.dlp.v2.BoundingBoxOrBuilder>( boundingBoxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -815,9 +897,9 @@ public com.google.privacy.dlp.v2.BoundingBox.Builder addBoundingBoxesBuilder( } return boundingBoxesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,12 +909,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageLocation) private static final com.google.privacy.dlp.v2.ImageLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageLocation(); } @@ -841,16 +923,16 @@ public static com.google.privacy.dlp.v2.ImageLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ImageLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java index 99ddc748..a9b3ac41 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageLocationOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ImageLocationOrBuilder extends +public interface ImageLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - java.util.List - getBoundingBoxesList(); + java.util.List getBoundingBoxesList(); /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -25,6 +44,8 @@ public interface ImageLocationOrBuilder extends */ com.google.privacy.dlp.v2.BoundingBox getBoundingBoxes(int index); /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -33,21 +54,24 @@ public interface ImageLocationOrBuilder extends */ int getBoundingBoxesCount(); /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - java.util.List + java.util.List getBoundingBoxesOrBuilderList(); /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
* * repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; */ - com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( - int index); + com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java index d5d96fcc..b5c8b7ca 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Type of information detected by the API.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoType} */ -public final class InfoType extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InfoType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoType) InfoTypeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfoType.newBuilder() to construct. private InfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InfoType() { name_ = ""; version_ = ""; @@ -26,16 +44,15 @@ private InfoType() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InfoType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InfoType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,53 +71,59 @@ private InfoType( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_InfoType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoType.class, com.google.privacy.dlp.v2.InfoType.Builder.class); + com.google.privacy.dlp.v2.InfoType.class, + com.google.privacy.dlp.v2.InfoType.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -110,6 +133,7 @@ private InfoType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -118,14 +142,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 information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -135,16 +160,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 { @@ -155,11 +179,14 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -168,29 +195,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; } } /** + * + * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -199,6 +226,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -241,17 +268,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.privacy.dlp.v2.InfoType)) { return super.equals(obj); } com.google.privacy.dlp.v2.InfoType other = (com.google.privacy.dlp.v2.InfoType) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -272,118 +297,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoType parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoType parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoType parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.InfoType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoType parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoType parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoType 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.privacy.dlp.v2.InfoType parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Type of information detected by the API.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoType} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoType) com.google.privacy.dlp.v2.InfoTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_InfoType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_InfoType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoType.class, com.google.privacy.dlp.v2.InfoType.Builder.class); + com.google.privacy.dlp.v2.InfoType.class, + com.google.privacy.dlp.v2.InfoType.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoType.newBuilder() @@ -391,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_InfoType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_InfoType_descriptor; } @java.lang.Override @@ -444,38 +476,39 @@ public com.google.privacy.dlp.v2.InfoType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoType) { - return mergeFrom((com.google.privacy.dlp.v2.InfoType)other); + return mergeFrom((com.google.privacy.dlp.v2.InfoType) other); } else { super.mergeFrom(other); return this; @@ -523,6 +556,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -532,13 +567,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; @@ -547,6 +582,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -556,15 +593,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 { @@ -572,6 +608,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -581,20 +619,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -604,15 +644,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -622,16 +665,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -639,18 +682,20 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -659,20 +704,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -680,61 +726,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Optional version name for this InfoType.
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -744,12 +797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoType) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoType) private static final com.google.privacy.dlp.v2.InfoType DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoType(); } @@ -758,16 +811,16 @@ public static com.google.privacy.dlp.v2.InfoType getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoType(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoType(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -782,6 +835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java index 453c270b..5353dc10 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * InfoType description.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeDescription} */ -public final class InfoTypeDescription extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InfoTypeDescription extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeDescription) InfoTypeDescriptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfoTypeDescription.newBuilder() to construct. private InfoTypeDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InfoTypeDescription() { name_ = ""; displayName_ = ""; @@ -28,16 +46,15 @@ private InfoTypeDescription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InfoTypeDescription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InfoTypeDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,61 +74,65 @@ private InfoTypeDescription( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedBy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + displayName_ = s; + break; } - supportedBy_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedBy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedBy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedBy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedBy_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + description_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedBy_ = java.util.Collections.unmodifiableList(supportedBy_); @@ -120,27 +141,33 @@ private InfoTypeDescription( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeDescription.class, com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); + com.google.privacy.dlp.v2.InfoTypeDescription.class, + com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Internal name of the infoType.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -149,29 +176,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Internal name of the infoType.
    * 
* * 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 { @@ -182,11 +209,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Human readable form of the infoType name.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -195,29 +225,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; } } /** + * + * *
    * Human readable form of the infoType name.
    * 
* * 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 { @@ -228,34 +258,45 @@ public java.lang.String getDisplayName() { public static final int SUPPORTED_BY_FIELD_NUMBER = 3; private java.util.List supportedBy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy> supportedBy_converter_ = + java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy> + supportedBy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>() { public com.google.privacy.dlp.v2.InfoTypeSupportedBy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeSupportedBy result = com.google.privacy.dlp.v2.InfoTypeSupportedBy.valueOf(from); - return result == null ? com.google.privacy.dlp.v2.InfoTypeSupportedBy.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeSupportedBy result = + com.google.privacy.dlp.v2.InfoTypeSupportedBy.valueOf(from); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeSupportedBy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return A list containing the supportedBy. */ @java.lang.Override public java.util.List getSupportedByList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>(supportedBy_, supportedBy_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>( + supportedBy_, supportedBy_converter_); } /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return The count of supportedBy. */ @java.lang.Override @@ -263,11 +304,14 @@ public int getSupportedByCount() { return supportedBy_.size(); } /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the element to return. * @return The supportedBy at the given index. */ @@ -276,24 +320,29 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) { return supportedBy_converter_.convert(supportedBy_.get(index)); } /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return A list containing the enum numeric values on the wire for supportedBy. */ @java.lang.Override - public java.util.List - getSupportedByValueList() { + public java.util.List getSupportedByValueList() { return supportedBy_; } /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. */ @@ -301,17 +350,21 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) { public int getSupportedByValue(int index) { return supportedBy_.get(index); } + private int supportedByMemoizedSerializedSize; public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** + * + * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -320,30 +373,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; } } /** + * + * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; + * * @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 { @@ -352,6 +405,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,8 +417,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -400,14 +453,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < supportedBy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedBy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedBy_.get(i)); } size += dataSize; - if (!getSupportedByList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedByMemoizedSerializedSize = dataSize; + if (!getSupportedByList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedByMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); @@ -420,20 +473,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.privacy.dlp.v2.InfoTypeDescription)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeDescription other = (com.google.privacy.dlp.v2.InfoTypeDescription) obj; + com.google.privacy.dlp.v2.InfoTypeDescription other = + (com.google.privacy.dlp.v2.InfoTypeDescription) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!supportedBy_.equals(other.supportedBy_)) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -460,118 +511,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeDescription parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeDescription parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * InfoType description.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeDescription} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeDescription) com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeDescription.class, com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); + com.google.privacy.dlp.v2.InfoTypeDescription.class, + com.google.privacy.dlp.v2.InfoTypeDescription.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoTypeDescription.newBuilder() @@ -579,16 +639,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -604,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor; } @java.lang.Override @@ -625,7 +684,8 @@ public com.google.privacy.dlp.v2.InfoTypeDescription build() { @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() { - com.google.privacy.dlp.v2.InfoTypeDescription result = new com.google.privacy.dlp.v2.InfoTypeDescription(this); + com.google.privacy.dlp.v2.InfoTypeDescription result = + new com.google.privacy.dlp.v2.InfoTypeDescription(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; @@ -643,38 +703,39 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoTypeDescription) { - return mergeFrom((com.google.privacy.dlp.v2.InfoTypeDescription)other); + return mergeFrom((com.google.privacy.dlp.v2.InfoTypeDescription) other); } else { super.mergeFrom(other); return this; @@ -733,22 +794,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Internal name of the infoType.
      * 
* * 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; @@ -757,20 +821,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Internal name of the infoType.
      * 
* * 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 { @@ -778,54 +843,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Internal name of the infoType.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Internal name of the infoType.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Internal name of the infoType.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -833,18 +905,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human readable form of the infoType name.
      * 
* * 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; @@ -853,20 +927,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human readable form of the infoType name.
      * 
* * 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 { @@ -874,61 +949,68 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human readable form of the infoType name.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Human readable form of the infoType name.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human readable form of the infoType name.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - private java.util.List supportedBy_ = - java.util.Collections.emptyList(); + private java.util.List supportedBy_ = java.util.Collections.emptyList(); + private void ensureSupportedByIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedBy_ = new java.util.ArrayList(supportedBy_); @@ -936,34 +1018,44 @@ private void ensureSupportedByIsMutable() { } } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return A list containing the supportedBy. */ public java.util.List getSupportedByList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>(supportedBy_, supportedBy_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.InfoTypeSupportedBy>( + supportedBy_, supportedBy_converter_); } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return The count of supportedBy. */ public int getSupportedByCount() { return supportedBy_.size(); } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the element to return. * @return The supportedBy at the given index. */ @@ -971,17 +1063,19 @@ public com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index) { return supportedBy_converter_.convert(supportedBy_.get(index)); } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index to set the value at. * @param value The supportedBy to set. * @return This builder for chaining. */ - public Builder setSupportedBy( - int index, com.google.privacy.dlp.v2.InfoTypeSupportedBy value) { + public Builder setSupportedBy(int index, com.google.privacy.dlp.v2.InfoTypeSupportedBy value) { if (value == null) { throw new NullPointerException(); } @@ -991,11 +1085,14 @@ public Builder setSupportedBy( return this; } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param value The supportedBy to add. * @return This builder for chaining. */ @@ -1009,11 +1106,14 @@ public Builder addSupportedBy(com.google.privacy.dlp.v2.InfoTypeSupportedBy valu return this; } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param values The supportedBy to add. * @return This builder for chaining. */ @@ -1027,11 +1127,14 @@ public Builder addAllSupportedBy( return this; } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return This builder for chaining. */ public Builder clearSupportedBy() { @@ -1041,23 +1144,28 @@ public Builder clearSupportedBy() { return this; } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return A list containing the enum numeric values on the wire for supportedBy. */ - public java.util.List - getSupportedByValueList() { + public java.util.List getSupportedByValueList() { return java.util.Collections.unmodifiableList(supportedBy_); } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. */ @@ -1065,28 +1173,33 @@ public int getSupportedByValue(int index) { return supportedBy_.get(index); } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. * @return This builder for chaining. */ - public Builder setSupportedByValue( - int index, int value) { + public Builder setSupportedByValue(int index, int value) { ensureSupportedByIsMutable(); supportedBy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param value The enum numeric value on the wire for supportedBy to add. * @return This builder for chaining. */ @@ -1097,16 +1210,18 @@ public Builder addSupportedByValue(int value) { return this; } /** + * + * *
      * Which parts of the API supports this InfoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param values The enum numeric values on the wire for supportedBy to add. * @return This builder for chaining. */ - public Builder addAllSupportedByValue( - java.lang.Iterable values) { + public Builder addAllSupportedByValue(java.lang.Iterable values) { ensureSupportedByIsMutable(); for (int value : values) { supportedBy_.add(value); @@ -1117,19 +1232,21 @@ public Builder addAllSupportedByValue( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; + * * @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; @@ -1138,21 +1255,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; + * * @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 { @@ -1160,64 +1278,71 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of the infotype. Translated when language is provided in the
      * request.
      * 
* * string description = 4; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1227,12 +1352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeDescription) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeDescription) private static final com.google.privacy.dlp.v2.InfoTypeDescription DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeDescription(); } @@ -1241,16 +1366,16 @@ public static com.google.privacy.dlp.v2.InfoTypeDescription getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeDescription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeDescription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeDescription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeDescription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1265,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java index 973a6057..853f63fb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java @@ -1,120 +1,165 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InfoTypeDescriptionOrBuilder extends +public interface InfoTypeDescriptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeDescription) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Internal name of the infoType.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Internal name of the infoType.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Human readable form of the infoType name.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human readable form of the infoType name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return A list containing the supportedBy. */ java.util.List getSupportedByList(); /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return The count of supportedBy. */ int getSupportedByCount(); /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the element to return. * @return The supportedBy at the given index. */ com.google.privacy.dlp.v2.InfoTypeSupportedBy getSupportedBy(int index); /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @return A list containing the enum numeric values on the wire for supportedBy. */ - java.util.List - getSupportedByValueList(); + java.util.List getSupportedByValueList(); /** + * + * *
    * Which parts of the API supports this InfoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedBy at the given index. */ int getSupportedByValue(int index); /** + * + * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the infotype. Translated when language is provided in the
    * request.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java index 7786b7ba..f0026243 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface InfoTypeOrBuilder extends +public interface InfoTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoType) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -17,10 +35,13 @@ public interface InfoTypeOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the information type. Either a name of your choosing when
    * creating a CustomInfoType, or one of the names listed
@@ -30,28 +51,33 @@ public interface InfoTypeOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Optional version name for this InfoType.
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java index 4ad83e45..7c4772f2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Statistics regarding a specific InfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeStats} */ -public final class InfoTypeStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InfoTypeStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeStats) InfoTypeStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfoTypeStats.newBuilder() to construct. private InfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InfoTypeStats() { - } + + private InfoTypeStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InfoTypeStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InfoTypeStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,64 +68,71 @@ private InfoTypeStats( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (infoType_ != null) { - subBuilder = infoType_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (infoType_ != null) { + subBuilder = infoType_.toBuilder(); + } + infoType_ = + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(infoType_); + infoType_ = subBuilder.buildPartial(); + } + + break; } - infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(infoType_); - infoType_ = subBuilder.buildPartial(); + case 16: + { + count_ = input.readInt64(); + break; } - - break; - } - case 16: { - - count_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeStats.class, com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.InfoTypeStats.class, + com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** + * + * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -117,11 +140,14 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -129,6 +155,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** + * + * *
    * The type of finding this stat is for.
    * 
@@ -143,11 +171,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** + * + * *
    * Number of findings for this infoType.
    * 
* * int64 count = 2; + * * @return The count. */ @java.lang.Override @@ -156,6 +187,7 @@ public long getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,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 (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -185,12 +216,10 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,7 +229,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.privacy.dlp.v2.InfoTypeStats)) { return super.equals(obj); @@ -209,11 +238,9 @@ public boolean equals(final java.lang.Object obj) { if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,125 +257,133 @@ public int hashCode() { hash = (53 * hash) + getInfoType().hashCode(); } hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Statistics regarding a specific InfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeStats) com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeStats.class, com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.InfoTypeStats.class, + com.google.privacy.dlp.v2.InfoTypeStats.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoTypeStats.newBuilder() @@ -356,16 +391,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor; } @java.lang.Override @@ -402,7 +436,8 @@ public com.google.privacy.dlp.v2.InfoTypeStats build() { @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeStats buildPartial() { - com.google.privacy.dlp.v2.InfoTypeStats result = new com.google.privacy.dlp.v2.InfoTypeStats(this); + com.google.privacy.dlp.v2.InfoTypeStats result = + new com.google.privacy.dlp.v2.InfoTypeStats(this); if (infoTypeBuilder_ == null) { result.infoType_ = infoType_; } else { @@ -417,38 +452,39 @@ public com.google.privacy.dlp.v2.InfoTypeStats buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoTypeStats) { - return mergeFrom((com.google.privacy.dlp.v2.InfoTypeStats)other); + return mergeFrom((com.google.privacy.dlp.v2.InfoTypeStats) other); } else { super.mergeFrom(other); return this; @@ -494,34 +530,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InfoType infoType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + infoTypeBuilder_; /** + * + * *
      * The type of finding this stat is for.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
      * The type of finding this stat is for.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -542,14 +591,15 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; */ - public Builder setInfoType( - com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { if (infoTypeBuilder_ == null) { infoType_ = builderForValue.build(); onChanged(); @@ -560,6 +610,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -570,7 +622,9 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { if (infoTypeBuilder_ == null) { if (infoType_ != null) { infoType_ = - com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_) + .mergeFrom(value) + .buildPartial(); } else { infoType_ = value; } @@ -582,6 +636,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -600,6 +656,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -607,11 +665,13 @@ public Builder clearInfoType() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { - + onChanged(); return getInfoTypeFieldBuilder().getBuilder(); } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -622,11 +682,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { if (infoTypeBuilder_ != null) { return infoTypeBuilder_.getMessageOrBuilder(); } else { - return infoType_ == null ? - com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -634,26 +697,32 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypeFieldBuilder() { if (infoTypeBuilder_ == null) { - infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>( - getInfoType(), - getParentForChildren(), - isClean()); + infoTypeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder>( + getInfoType(), getParentForChildren(), isClean()); infoType_ = null; } return infoTypeBuilder_; } - private long count_ ; + private long count_; /** + * + * *
      * Number of findings for this infoType.
      * 
* * int64 count = 2; + * * @return The count. */ @java.lang.Override @@ -661,37 +730,43 @@ public long getCount() { return count_; } /** + * + * *
      * Number of findings for this infoType.
      * 
* * int64 count = 2; + * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** + * + * *
      * Number of findings for this infoType.
      * 
* * int64 count = 2; + * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeStats) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeStats) private static final com.google.privacy.dlp.v2.InfoTypeStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeStats(); } @@ -715,16 +790,16 @@ public static com.google.privacy.dlp.v2.InfoTypeStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,6 +814,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java index da42c2c2..924adfff 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeStatsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InfoTypeStatsOrBuilder extends +public interface InfoTypeStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * The type of finding this stat is for.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * The type of finding this stat is for.
    * 
@@ -35,11 +59,14 @@ public interface InfoTypeStatsOrBuilder extends com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); /** + * + * *
    * Number of findings for this infoType.
    * 
* * int64 count = 2; + * * @return The count. */ long getCount(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java index 2a0226f6..db393fc4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Parts of the APIs which use certain infoTypes.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeSupportedBy} */ -public enum InfoTypeSupportedBy - implements com.google.protobuf.ProtocolMessageEnum { +public enum InfoTypeSupportedBy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unused.
    * 
@@ -21,6 +39,8 @@ public enum InfoTypeSupportedBy */ ENUM_TYPE_UNSPECIFIED(0), /** + * + * *
    * Supported by the inspect operations.
    * 
@@ -29,6 +49,8 @@ public enum InfoTypeSupportedBy */ INSPECT(1), /** + * + * *
    * Supported by the risk analysis operations.
    * 
@@ -40,6 +62,8 @@ public enum InfoTypeSupportedBy ; /** + * + * *
    * Unused.
    * 
@@ -48,6 +72,8 @@ public enum InfoTypeSupportedBy */ public static final int ENUM_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Supported by the inspect operations.
    * 
@@ -56,6 +82,8 @@ public enum InfoTypeSupportedBy */ public static final int INSPECT_VALUE = 1; /** + * + * *
    * Supported by the risk analysis operations.
    * 
@@ -64,7 +92,6 @@ public enum InfoTypeSupportedBy */ public static final int RISK_ANALYSIS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,10 +116,14 @@ public static InfoTypeSupportedBy valueOf(int value) { */ public static InfoTypeSupportedBy forNumber(int value) { switch (value) { - case 0: return ENUM_TYPE_UNSPECIFIED; - case 1: return INSPECT; - case 2: return RISK_ANALYSIS; - default: return null; + case 0: + return ENUM_TYPE_UNSPECIFIED; + case 1: + return INSPECT; + case 2: + return RISK_ANALYSIS; + default: + return null; } } @@ -100,28 +131,28 @@ public static InfoTypeSupportedBy forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - InfoTypeSupportedBy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InfoTypeSupportedBy findValueByNumber(int number) { - return InfoTypeSupportedBy.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 InfoTypeSupportedBy findValueByNumber(int number) { + return InfoTypeSupportedBy.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(4); } @@ -130,8 +161,7 @@ public InfoTypeSupportedBy findValueByNumber(int number) { public static InfoTypeSupportedBy 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 +177,3 @@ private InfoTypeSupportedBy(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.InfoTypeSupportedBy) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java index 22dfef2f..e8a0262b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformations.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A type of transformation that will scan unstructured text and
  * apply various `PrimitiveTransformation`s to each finding, where the
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations}
  */
-public final class InfoTypeTransformations extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InfoTypeTransformations extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeTransformations)
     InfoTypeTransformationsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InfoTypeTransformations.newBuilder() to construct.
   private InfoTypeTransformations(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InfoTypeTransformations() {
     transformations_ = 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 InfoTypeTransformations();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InfoTypeTransformations(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,29 +74,34 @@ private InfoTypeTransformations(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              transformations_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                transformations_ =
+                    new java.util.ArrayList<
+                        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              transformations_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
+                          .parser(),
+                      extensionRegistry));
+              break;
             }
-            transformations_.add(
-                input.readMessage(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         transformations_ = java.util.Collections.unmodifiableList(transformations_);
@@ -88,24 +110,30 @@ private InfoTypeTransformations(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InfoTypeTransformations.class, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
+            com.google.privacy.dlp.v2.InfoTypeTransformations.class,
+            com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
   }
 
-  public interface InfoTypeTransformationOrBuilder extends
+  public interface InfoTypeTransformationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -114,9 +142,10 @@ public interface InfoTypeTransformationOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    java.util.List 
-        getInfoTypesList();
+    java.util.List getInfoTypesList();
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -127,6 +156,8 @@ public interface InfoTypeTransformationOrBuilder extends
      */
     com.google.privacy.dlp.v2.InfoType getInfoTypes(int index);
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -137,6 +168,8 @@ public interface InfoTypeTransformationOrBuilder extends
      */
     int getInfoTypesCount();
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -145,9 +178,11 @@ public interface InfoTypeTransformationOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    java.util.List 
+    java.util.List
         getInfoTypesOrBuilderList();
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -156,37 +191,53 @@ public interface InfoTypeTransformationOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-        int index);
+    com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the primitiveTransformation field is set. */ boolean hasPrimitiveTransformation(); /** + * + * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The primitiveTransformation. */ com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation(); /** + * + * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder(); + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder + getPrimitiveTransformationOrBuilder(); } /** + * + * *
    * A transformation to apply to text that is identified as a specific
    * info_type.
@@ -194,31 +245,31 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation}
    */
-  public static final class InfoTypeTransformation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class InfoTypeTransformation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
       InfoTypeTransformationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use InfoTypeTransformation.newBuilder() to construct.
     private InfoTypeTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private InfoTypeTransformation() {
       infoTypes_ = 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 InfoTypeTransformation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private InfoTypeTransformation(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -238,42 +289,47 @@ private InfoTypeTransformation(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                infoTypes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  infoTypes_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                infoTypes_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
+                break;
               }
-              infoTypes_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
-              if (primitiveTransformation_ != null) {
-                subBuilder = primitiveTransformation_.toBuilder();
+            case 18:
+              {
+                com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
+                if (primitiveTransformation_ != null) {
+                  subBuilder = primitiveTransformation_.toBuilder();
+                }
+                primitiveTransformation_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.PrimitiveTransformation.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(primitiveTransformation_);
+                  primitiveTransformation_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              primitiveTransformation_ = input.readMessage(com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(primitiveTransformation_);
-                primitiveTransformation_ = subBuilder.buildPartial();
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -282,22 +338,28 @@ private InfoTypeTransformation(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder.class);
+              com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class,
+              com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder
+                  .class);
     }
 
     public static final int INFO_TYPES_FIELD_NUMBER = 1;
     private java.util.List infoTypes_;
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -311,6 +373,8 @@ public java.util.List getInfoTypesList() {
       return infoTypes_;
     }
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -320,11 +384,13 @@ public java.util.List getInfoTypesList() {
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getInfoTypesOrBuilderList() {
       return infoTypes_;
     }
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -338,6 +404,8 @@ public int getInfoTypesCount() {
       return infoTypes_.size();
     }
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -351,6 +419,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
       return infoTypes_.get(index);
     }
     /**
+     *
+     *
      * 
      * InfoTypes to apply the transformation to. An empty list will cause
      * this transformation to apply to all findings that correspond to
@@ -360,19 +430,23 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
       return infoTypes_.get(index);
     }
 
     public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.PrimitiveTransformation primitiveTransformation_;
     /**
+     *
+     *
      * 
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the primitiveTransformation field is set. */ @java.lang.Override @@ -380,30 +454,43 @@ public boolean hasPrimitiveTransformation() { return primitiveTransformation_ != null; } /** + * + * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The primitiveTransformation. */ @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() { - return primitiveTransformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : primitiveTransformation_; + return primitiveTransformation_ == null + ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() + : primitiveTransformation_; } /** + * + * *
      * Required. Primitive transformation to apply to the infoType.
      * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder + getPrimitiveTransformationOrBuilder() { return getPrimitiveTransformation(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -415,8 +502,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -433,12 +519,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i)); } if (primitiveTransformation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPrimitiveTransformation()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getPrimitiveTransformation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -448,19 +534,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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)) { + if (!(obj + instanceof com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other = (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) obj; + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other = + (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) obj; - if (!getInfoTypesList() - .equals(other.getInfoTypesList())) return false; + if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; if (hasPrimitiveTransformation() != other.hasPrimitiveTransformation()) return false; if (hasPrimitiveTransformation()) { - if (!getPrimitiveTransformation() - .equals(other.getPrimitiveTransformation())) return false; + if (!getPrimitiveTransformation().equals(other.getPrimitiveTransformation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -486,88 +572,101 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + 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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -577,6 +676,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A transformation to apply to text that is identified as a specific
      * info_type.
@@ -584,39 +685,44 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
         com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder.class);
+                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.class,
+                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder
+                    .class);
       }
 
-      // Construct using com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.newBuilder()
+      // Construct using
+      // com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getInfoTypesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -636,19 +742,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_InfoTypeTransformation_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance();
+      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
+          getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation build() {
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result = buildPartial();
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -656,8 +765,10 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation buildPartial() {
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result = new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(this);
+      public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
+          buildPartial() {
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation result =
+            new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(this);
         int from_bitField0_ = bitField0_;
         if (infoTypesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -681,46 +792,54 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) {
-          return mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)other);
+        if (other
+            instanceof com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) {
+          return mergeFrom(
+              (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other) {
-        if (other == com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation other) {
+        if (other
+            == com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
+                .getDefaultInstance()) return this;
         if (infoTypesBuilder_ == null) {
           if (!other.infoTypes_.isEmpty()) {
             if (infoTypes_.isEmpty()) {
@@ -739,9 +858,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoT
               infoTypesBuilder_ = null;
               infoTypes_ = other.infoTypes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              infoTypesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getInfoTypesFieldBuilder() : null;
+              infoTypesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getInfoTypesFieldBuilder()
+                      : null;
             } else {
               infoTypesBuilder_.addAllMessages(other.infoTypes_);
             }
@@ -765,11 +885,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parsedMessage = null;
+        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -778,21 +901,28 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List infoTypes_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureInfoTypesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           infoTypes_ = new java.util.ArrayList(infoTypes_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_;
+              com.google.privacy.dlp.v2.InfoType,
+              com.google.privacy.dlp.v2.InfoType.Builder,
+              com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+          infoTypesBuilder_;
 
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -809,6 +939,8 @@ public java.util.List getInfoTypesList() {
         }
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -825,6 +957,8 @@ public int getInfoTypesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -841,6 +975,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -849,8 +985,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public Builder setInfoTypes(
-          int index, com.google.privacy.dlp.v2.InfoType value) {
+      public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
         if (infoTypesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -864,6 +999,8 @@ public Builder setInfoTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -884,6 +1021,8 @@ public Builder setInfoTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -906,6 +1045,8 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -914,8 +1055,7 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public Builder addInfoTypes(
-          int index, com.google.privacy.dlp.v2.InfoType value) {
+      public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
         if (infoTypesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -929,6 +1069,8 @@ public Builder addInfoTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -937,8 +1079,7 @@ public Builder addInfoTypes(
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public Builder addInfoTypes(
-          com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+      public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
         if (infoTypesBuilder_ == null) {
           ensureInfoTypesIsMutable();
           infoTypes_.add(builderForValue.build());
@@ -949,6 +1090,8 @@ public Builder addInfoTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -969,6 +1112,8 @@ public Builder addInfoTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -981,8 +1126,7 @@ public Builder addAllInfoTypes(
           java.lang.Iterable values) {
         if (infoTypesBuilder_ == null) {
           ensureInfoTypesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, infoTypes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_);
           onChanged();
         } else {
           infoTypesBuilder_.addAllMessages(values);
@@ -990,6 +1134,8 @@ public Builder addAllInfoTypes(
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1009,6 +1155,8 @@ public Builder clearInfoTypes() {
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1028,6 +1176,8 @@ public Builder removeInfoTypes(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1036,11 +1186,12 @@ public Builder removeInfoTypes(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) {
         return getInfoTypesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1049,14 +1200,16 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
         if (infoTypesBuilder_ == null) {
-          return infoTypes_.get(index);  } else {
+          return infoTypes_.get(index);
+        } else {
           return infoTypesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1065,8 +1218,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public java.util.List 
-           getInfoTypesOrBuilderList() {
+      public java.util.List
+          getInfoTypesOrBuilderList() {
         if (infoTypesBuilder_ != null) {
           return infoTypesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1074,6 +1227,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1083,10 +1238,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
       public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
-        return getInfoTypesFieldBuilder().addBuilder(
-            com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+        return getInfoTypesFieldBuilder()
+            .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1095,12 +1252,13 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
-          int index) {
-        return getInfoTypesFieldBuilder().addBuilder(
-            index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+      public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) {
+        return getInfoTypesFieldBuilder()
+            .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * InfoTypes to apply the transformation to. An empty list will cause
        * this transformation to apply to all findings that correspond to
@@ -1109,20 +1267,22 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
        *
        * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
        */
-      public java.util.List 
-           getInfoTypesBuilderList() {
+      public java.util.List getInfoTypesBuilderList() {
         return getInfoTypesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+              com.google.privacy.dlp.v2.InfoType,
+              com.google.privacy.dlp.v2.InfoType.Builder,
+              com.google.privacy.dlp.v2.InfoTypeOrBuilder>
           getInfoTypesFieldBuilder() {
         if (infoTypesBuilder_ == null) {
-          infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                  infoTypes_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          infoTypesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.privacy.dlp.v2.InfoType,
+                  com.google.privacy.dlp.v2.InfoType.Builder,
+                  com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                  infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           infoTypes_ = null;
         }
         return infoTypesBuilder_;
@@ -1130,41 +1290,61 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
 
       private com.google.privacy.dlp.v2.PrimitiveTransformation primitiveTransformation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> primitiveTransformationBuilder_;
+              com.google.privacy.dlp.v2.PrimitiveTransformation,
+              com.google.privacy.dlp.v2.PrimitiveTransformation.Builder,
+              com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>
+          primitiveTransformationBuilder_;
       /**
+       *
+       *
        * 
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the primitiveTransformation field is set. */ public boolean hasPrimitiveTransformation() { return primitiveTransformationBuilder_ != null || primitiveTransformation_ != null; } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The primitiveTransformation. */ public com.google.privacy.dlp.v2.PrimitiveTransformation getPrimitiveTransformation() { if (primitiveTransformationBuilder_ == null) { - return primitiveTransformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : primitiveTransformation_; + return primitiveTransformation_ == null + ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() + : primitiveTransformation_; } else { return primitiveTransformationBuilder_.getMessage(); } } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder setPrimitiveTransformation( + com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1178,11 +1358,15 @@ public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTra return this; } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPrimitiveTransformation( com.google.privacy.dlp.v2.PrimitiveTransformation.Builder builderForValue) { @@ -1196,17 +1380,25 @@ public Builder setPrimitiveTransformation( return this; } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTransformation value) { + public Builder mergePrimitiveTransformation( + com.google.privacy.dlp.v2.PrimitiveTransformation value) { if (primitiveTransformationBuilder_ == null) { if (primitiveTransformation_ != null) { primitiveTransformation_ = - com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder(primitiveTransformation_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder( + primitiveTransformation_) + .mergeFrom(value) + .buildPartial(); } else { primitiveTransformation_ = value; } @@ -1218,11 +1410,15 @@ public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveT return this; } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPrimitiveTransformation() { if (primitiveTransformationBuilder_ == null) { @@ -1236,52 +1432,71 @@ public Builder clearPrimitiveTransformation() { return this; } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getPrimitiveTransformationBuilder() { - + public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder + getPrimitiveTransformationBuilder() { + onChanged(); return getPrimitiveTransformationFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder() { + public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder + getPrimitiveTransformationOrBuilder() { if (primitiveTransformationBuilder_ != null) { return primitiveTransformationBuilder_.getMessageOrBuilder(); } else { - return primitiveTransformation_ == null ? - com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : primitiveTransformation_; + return primitiveTransformation_ == null + ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() + : primitiveTransformation_; } } /** + * + * *
        * Required. Primitive transformation to apply to the infoType.
        * 
* - * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> getPrimitiveTransformationFieldBuilder() { if (primitiveTransformationBuilder_ == null) { - primitiveTransformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( - getPrimitiveTransformation(), - getParentForChildren(), - isClean()); + primitiveTransformationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( + getPrimitiveTransformation(), getParentForChildren(), isClean()); primitiveTransformation_ = null; } return primitiveTransformationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1294,30 +1509,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) - private static final com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation(); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getDefaultInstance() { + public static com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeTransformation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeTransformation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeTransformation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1329,78 +1547,104 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TRANSFORMATIONS_FIELD_NUMBER = 1; - private java.util.List transformations_; + private java.util.List + transformations_; /** + * + * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getTransformationsList() { + public java.util.List + getTransformationsList() { return transformations_; } /** + * + * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> getTransformationsOrBuilderList() { return transformations_; } /** + * + * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getTransformationsCount() { return transformations_.size(); } /** + * + * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + getTransformations(int index) { return transformations_.get(index); } /** + * + * *
    * Required. Transformation for each infoType. Cannot specify more than one
    * for a given infoType.
    * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder + getTransformationsOrBuilder(int index) { return transformations_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1412,8 +1656,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < transformations_.size(); i++) { output.writeMessage(1, transformations_.get(i)); } @@ -1427,8 +1670,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transformations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transformations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transformations_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1438,15 +1680,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.privacy.dlp.v2.InfoTypeTransformations)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeTransformations other = (com.google.privacy.dlp.v2.InfoTypeTransformations) obj; + com.google.privacy.dlp.v2.InfoTypeTransformations other = + (com.google.privacy.dlp.v2.InfoTypeTransformations) obj; - if (!getTransformationsList() - .equals(other.getTransformationsList())) return false; + if (!getTransformationsList().equals(other.getTransformationsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1468,96 +1710,103 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeTransformations parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeTransformations parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeTransformations prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 type of transformation that will scan unstructured text and
    * apply various `PrimitiveTransformation`s to each finding, where the
@@ -1567,21 +1816,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InfoTypeTransformations}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeTransformations)
       com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InfoTypeTransformations.class, com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
+              com.google.privacy.dlp.v2.InfoTypeTransformations.class,
+              com.google.privacy.dlp.v2.InfoTypeTransformations.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InfoTypeTransformations.newBuilder()
@@ -1589,17 +1840,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTransformationsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1613,9 +1864,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor;
     }
 
     @java.lang.Override
@@ -1634,7 +1885,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InfoTypeTransformations buildPartial() {
-      com.google.privacy.dlp.v2.InfoTypeTransformations result = new com.google.privacy.dlp.v2.InfoTypeTransformations(this);
+      com.google.privacy.dlp.v2.InfoTypeTransformations result =
+          new com.google.privacy.dlp.v2.InfoTypeTransformations(this);
       int from_bitField0_ = bitField0_;
       if (transformationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1653,38 +1905,39 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InfoTypeTransformations) {
-        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations)other);
+        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeTransformations) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1692,7 +1945,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations other) {
-      if (other == com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.InfoTypeTransformations.getDefaultInstance())
+        return this;
       if (transformationsBuilder_ == null) {
         if (!other.transformations_.isEmpty()) {
           if (transformations_.isEmpty()) {
@@ -1711,9 +1965,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeTransformations other
             transformationsBuilder_ = null;
             transformations_ = other.transformations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            transformationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTransformationsFieldBuilder() : null;
+            transformationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTransformationsFieldBuilder()
+                    : null;
           } else {
             transformationsBuilder_.addAllMessages(other.transformations_);
           }
@@ -1738,7 +1993,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.InfoTypeTransformations) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.InfoTypeTransformations) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1747,29 +2003,42 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List transformations_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        transformations_ = java.util.Collections.emptyList();
+
     private void ensureTransformationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        transformations_ = new java.util.ArrayList(transformations_);
+        transformations_ =
+            new java.util.ArrayList<
+                com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation>(
+                transformations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> transformationsBuilder_;
+            com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation,
+            com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder,
+            com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>
+        transformationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getTransformationsList() { + public java.util.List + getTransformationsList() { if (transformationsBuilder_ == null) { return java.util.Collections.unmodifiableList(transformations_); } else { @@ -1777,12 +2046,16 @@ public java.util.List * Required. Transformation for each infoType. Cannot specify more than one * for a given infoType. *
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getTransformationsCount() { if (transformationsBuilder_ == null) { @@ -1792,14 +2065,19 @@ public int getTransformationsCount() { } } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations(int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + getTransformations(int index) { if (transformationsBuilder_ == null) { return transformations_.get(index); } else { @@ -1807,12 +2085,16 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation } } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransformations( int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { @@ -1829,15 +2111,21 @@ public Builder setTransformations( return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransformations( - int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder + builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.set(index, builderForValue.build()); @@ -1848,14 +2136,19 @@ public Builder setTransformations( return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addTransformations(com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { + public Builder addTransformations( + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { if (transformationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1869,12 +2162,16 @@ public Builder addTransformations(com.google.privacy.dlp.v2.InfoTypeTransformati return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTransformations( int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation value) { @@ -1891,15 +2188,20 @@ public Builder addTransformations( return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTransformations( - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue) { + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder + builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.add(builderForValue.build()); @@ -1910,15 +2212,21 @@ public Builder addTransformations( return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTransformations( - int index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder + builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.add(index, builderForValue.build()); @@ -1929,19 +2237,24 @@ public Builder addTransformations( return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllTransformations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation> + values) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transformations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformations_); onChanged(); } else { transformationsBuilder_.addAllMessages(values); @@ -1949,12 +2262,16 @@ public Builder addAllTransformations( return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransformations() { if (transformationsBuilder_ == null) { @@ -1967,12 +2284,16 @@ public Builder clearTransformations() { return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeTransformations(int index) { if (transformationsBuilder_ == null) { @@ -1985,42 +2306,57 @@ public Builder removeTransformations(int index) { return this; } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder getTransformationsBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder + getTransformationsBuilder(int index) { return getTransformationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder + getTransformationsOrBuilder(int index) { if (transformationsBuilder_ == null) { - return transformations_.get(index); } else { + return transformations_.get(index); + } else { return transformationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTransformationsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> + getTransformationsOrBuilderList() { if (transformationsBuilder_ != null) { return transformationsBuilder_.getMessageOrBuilderList(); } else { @@ -2028,48 +2364,73 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationO } } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder() { - return getTransformationsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder + addTransformationsBuilder() { + return getTransformationsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + .getDefaultInstance()); } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder addTransformationsBuilder( - int index) { - return getTransformationsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder + addTransformationsBuilder(int index) { + return getTransformationsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation + .getDefaultInstance()); } /** + * + * *
      * Required. Transformation for each infoType. Cannot specify more than one
      * for a given infoType.
      * 
* - * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTransformationsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder> + getTransformationsBuilderList() { return getTransformationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> getTransformationsFieldBuilder() { if (transformationsBuilder_ == null) { - transformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>( + transformationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.Builder, + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>( transformations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2078,9 +2439,9 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation. } return transformationsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2090,12 +2451,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeTransformations) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeTransformations) private static final com.google.privacy.dlp.v2.InfoTypeTransformations DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeTransformations(); } @@ -2104,16 +2465,16 @@ public static com.google.privacy.dlp.v2.InfoTypeTransformations getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeTransformations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeTransformations(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeTransformations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeTransformations(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2128,6 +2489,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeTransformations getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java new file mode 100644 index 00000000..dc66479a --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeTransformationsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface InfoTypeTransformationsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeTransformations) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getTransformationsList(); + /** + * + * + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation getTransformations( + int index); + /** + * + * + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getTransformationsCount(); + /** + * + * + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List< + ? extends + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> + getTransformationsOrBuilderList(); + /** + * + * + *
+   * Required. Transformation for each infoType. Cannot specify more than one
+   * for a given infoType.
+   * 
+ * + * + * repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder + getTransformationsOrBuilder(int index); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java index a291bec6..0ccb5c70 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Configuration description of the scanning process.
  * When used with redactContent only info_types and min_likelihood are currently
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectConfig}
  */
-public final class InspectConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InspectConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectConfig)
     InspectConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InspectConfig.newBuilder() to construct.
   private InspectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InspectConfig() {
     infoTypes_ = java.util.Collections.emptyList();
     minLikelihood_ = 0;
@@ -31,16 +49,15 @@ private InspectConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InspectConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InspectConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,99 +77,112 @@ private InspectConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              infoTypes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                infoTypes_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              infoTypes_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
+              break;
             }
-            infoTypes_.add(
-                input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            minLikelihood_ = rawValue;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder subBuilder = null;
-            if (limits_ != null) {
-              subBuilder = limits_.toBuilder();
-            }
-            limits_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(limits_);
-              limits_ = subBuilder.buildPartial();
+              minLikelihood_ = rawValue;
+              break;
             }
+          case 26:
+            {
+              com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder subBuilder = null;
+              if (limits_ != null) {
+                subBuilder = limits_.toBuilder();
+              }
+              limits_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectConfig.FindingLimits.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(limits_);
+                limits_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-
-            includeQuote_ = input.readBool();
-            break;
-          }
-          case 40: {
-
-            excludeInfoTypes_ = input.readBool();
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              customInfoTypes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+              break;
             }
-            customInfoTypes_.add(
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.parser(), extensionRegistry));
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              contentOptions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+          case 32:
+            {
+              includeQuote_ = input.readBool();
+              break;
             }
-            contentOptions_.add(rawValue);
-            break;
-          }
-          case 66: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 40:
+            {
+              excludeInfoTypes_ = input.readBool();
+              break;
+            }
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                customInfoTypes_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              customInfoTypes_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.parser(), extensionRegistry));
+              break;
+            }
+          case 64:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 contentOptions_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               contentOptions_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-              ruleSet_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000008;
+          case 66:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  contentOptions_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                contentOptions_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
             }
-            ruleSet_.add(
-                input.readMessage(com.google.privacy.dlp.v2.InspectionRuleSet.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                ruleSet_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000008;
+              }
+              ruleSet_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectionRuleSet.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -170,24 +200,30 @@ private InspectConfig(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectConfig.class, com.google.privacy.dlp.v2.InspectConfig.Builder.class);
+            com.google.privacy.dlp.v2.InspectConfig.class,
+            com.google.privacy.dlp.v2.InspectConfig.Builder.class);
   }
 
-  public interface FindingLimitsOrBuilder extends
+  public interface FindingLimitsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectConfig.FindingLimits)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Max number of findings that will be returned for each item scanned.
      * When set within `InspectJobConfig`,
@@ -196,11 +232,14 @@ public interface FindingLimitsOrBuilder extends
      * 
* * int32 max_findings_per_item = 1; + * * @return The maxFindingsPerItem. */ int getMaxFindingsPerItem(); /** + * + * *
      * Max number of findings that will be returned per request/job.
      * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -208,55 +247,80 @@ public interface FindingLimitsOrBuilder extends
      * 
* * int32 max_findings_per_request = 2; + * * @return The maxFindingsPerRequest. */ int getMaxFindingsPerRequest(); /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - java.util.List + java.util.List getMaxFindingsPerInfoTypeList(); /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType( + int index); /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ int getMaxFindingsPerInfoTypeCount(); /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - java.util.List + java.util.List< + ? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> getMaxFindingsPerInfoTypeOrBuilderList(); /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder( - int index); + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder + getMaxFindingsPerInfoTypeOrBuilder(int index); } /** + * + * *
    * Configuration to control the number of findings returned for inspection.
    * This is not used for de-identification or data profiling.
@@ -264,31 +328,31 @@ com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder get
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits}
    */
-  public static final class FindingLimits extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class FindingLimits extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits)
       FindingLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use FindingLimits.newBuilder() to construct.
     private FindingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private FindingLimits() {
       maxFindingsPerInfoType_ = 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 FindingLimits();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private FindingLimits(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -308,39 +372,44 @@ private FindingLimits(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              maxFindingsPerItem_ = input.readInt32();
-              break;
-            }
-            case 16: {
-
-              maxFindingsPerRequest_ = input.readInt32();
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                maxFindingsPerInfoType_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 8:
+              {
+                maxFindingsPerItem_ = input.readInt32();
+                break;
               }
-              maxFindingsPerInfoType_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 16:
+              {
+                maxFindingsPerRequest_ = input.readInt32();
+                break;
+              }
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  maxFindingsPerInfoType_ =
+                      new java.util.ArrayList<
+                          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                maxFindingsPerInfoType_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+                            .parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           maxFindingsPerInfoType_ = java.util.Collections.unmodifiableList(maxFindingsPerInfoType_);
@@ -349,24 +418,30 @@ private FindingLimits(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class);
+              com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class,
+              com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class);
     }
 
-    public interface InfoTypeLimitOrBuilder extends
+    public interface InfoTypeLimitOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -375,10 +450,13 @@ public interface InfoTypeLimitOrBuilder extends
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -387,10 +465,13 @@ public interface InfoTypeLimitOrBuilder extends
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -403,16 +484,21 @@ public interface InfoTypeLimitOrBuilder extends
       com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
       /**
+       *
+       *
        * 
        * Max findings limit for the given infoType.
        * 
* * int32 max_findings = 2; + * * @return The maxFindings. */ int getMaxFindings(); } /** + * + * *
      * Max findings configuration per infoType, per content item or long
      * running DlpJob.
@@ -420,30 +506,29 @@ public interface InfoTypeLimitOrBuilder extends
      *
      * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit}
      */
-    public static final class InfoTypeLimit extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class InfoTypeLimit extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
         InfoTypeLimitOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use InfoTypeLimit.newBuilder() to construct.
       private InfoTypeLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private InfoTypeLimit() {
-      }
+
+      private InfoTypeLimit() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new InfoTypeLimit();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private InfoTypeLimit(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -462,59 +547,67 @@ private InfoTypeLimit(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-                if (infoType_ != null) {
-                  subBuilder = infoType_.toBuilder();
+              case 10:
+                {
+                  com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+                  if (infoType_ != null) {
+                    subBuilder = infoType_.toBuilder();
+                  }
+                  infoType_ =
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(infoType_);
+                    infoType_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-                infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(infoType_);
-                  infoType_ = subBuilder.buildPartial();
+              case 16:
+                {
+                  maxFindings_ = input.readInt32();
+                  break;
                 }
-
-                break;
-              }
-              case 16: {
-
-                maxFindings_ = input.readInt32();
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder.class);
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class,
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder.class);
       }
 
       public static final int INFO_TYPE_FIELD_NUMBER = 1;
       private com.google.privacy.dlp.v2.InfoType infoType_;
       /**
+       *
+       *
        * 
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -523,6 +616,7 @@ private InfoTypeLimit(
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -530,6 +624,8 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -538,13 +634,18 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { - return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } /** + * + * *
        * Type of information the findings limit applies to. Only one limit per
        * info_type should be provided. If InfoTypeLimit does not have an
@@ -562,11 +663,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       public static final int MAX_FINDINGS_FIELD_NUMBER = 2;
       private int maxFindings_;
       /**
+       *
+       *
        * 
        * Max findings limit for the given infoType.
        * 
* * int32 max_findings = 2; + * * @return The maxFindings. */ @java.lang.Override @@ -575,6 +679,7 @@ public int getMaxFindings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -586,8 +691,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -604,12 +708,10 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); } if (maxFindings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxFindings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxFindings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -619,20 +721,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.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) obj; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other = + (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } - if (getMaxFindings() - != other.getMaxFindings()) return false; + if (getMaxFindings() != other.getMaxFindings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -656,87 +757,96 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -746,6 +856,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Max findings configuration per infoType, per content item or long
        * running DlpJob.
@@ -753,38 +865,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
           com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.privacy.dlp.v2.DlpProto
+              .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
+          return com.google.privacy.dlp.v2.DlpProto
+              .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder.class);
+                  com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.class,
+                  com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder
+                      .class);
         }
 
-        // Construct using com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.newBuilder()
+        // Construct using
+        // com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -800,19 +916,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.privacy.dlp.v2.DlpProto
+              .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_InfoTypeLimit_descriptor;
         }
 
         @java.lang.Override
-        public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType() {
-          return com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance();
+        public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+            getDefaultInstanceForType() {
+          return com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit build() {
-          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result = buildPartial();
+          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -821,7 +940,8 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit build
 
         @java.lang.Override
         public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit buildPartial() {
-          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(this);
+          com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit result =
+              new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(this);
           if (infoTypeBuilder_ == null) {
             result.infoType_ = infoType_;
           } else {
@@ -836,46 +956,54 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit build
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other instanceof com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) {
-            return mergeFrom((com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)other);
+          if (other
+              instanceof com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) {
+            return mergeFrom(
+                (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other) {
-          if (other == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit other) {
+          if (other
+              == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+                  .getDefaultInstance()) return this;
           if (other.hasInfoType()) {
             mergeInfoType(other.getInfoType());
           }
@@ -901,7 +1029,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -913,8 +1043,13 @@ public Builder mergeFrom(
 
         private com.google.privacy.dlp.v2.InfoType infoType_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_;
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+            infoTypeBuilder_;
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -923,12 +1058,15 @@ public Builder mergeFrom(
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -937,16 +1075,21 @@ public boolean hasInfoType() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** + * + * *
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -970,6 +1113,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -979,8 +1124,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
          *
          * .google.privacy.dlp.v2.InfoType info_type = 1;
          */
-        public Builder setInfoType(
-            com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+        public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
           if (infoTypeBuilder_ == null) {
             infoType_ = builderForValue.build();
             onChanged();
@@ -991,6 +1135,8 @@ public Builder setInfoType(
           return this;
         }
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1004,7 +1150,9 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           if (infoTypeBuilder_ == null) {
             if (infoType_ != null) {
               infoType_ =
-                com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial();
+                  com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               infoType_ = value;
             }
@@ -1016,6 +1164,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1037,6 +1187,8 @@ public Builder clearInfoType() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1047,11 +1199,13 @@ public Builder clearInfoType() {
          * .google.privacy.dlp.v2.InfoType info_type = 1;
          */
         public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
-          
+
           onChanged();
           return getInfoTypeFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1065,11 +1219,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
           if (infoTypeBuilder_ != null) {
             return infoTypeBuilder_.getMessageOrBuilder();
           } else {
-            return infoType_ == null ?
-                com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_;
+            return infoType_ == null
+                ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance()
+                : infoType_;
           }
         }
         /**
+         *
+         *
          * 
          * Type of information the findings limit applies to. Only one limit per
          * info_type should be provided. If InfoTypeLimit does not have an
@@ -1080,26 +1237,32 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * .google.privacy.dlp.v2.InfoType info_type = 1;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>
             getInfoTypeFieldBuilder() {
           if (infoTypeBuilder_ == null) {
-            infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                    getInfoType(),
-                    getParentForChildren(),
-                    isClean());
+            infoTypeBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.privacy.dlp.v2.InfoType,
+                    com.google.privacy.dlp.v2.InfoType.Builder,
+                    com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                    getInfoType(), getParentForChildren(), isClean());
             infoType_ = null;
           }
           return infoTypeBuilder_;
         }
 
-        private int maxFindings_ ;
+        private int maxFindings_;
         /**
+         *
+         *
          * 
          * Max findings limit for the given infoType.
          * 
* * int32 max_findings = 2; + * * @return The maxFindings. */ @java.lang.Override @@ -1107,34 +1270,41 @@ public int getMaxFindings() { return maxFindings_; } /** + * + * *
          * Max findings limit for the given infoType.
          * 
* * int32 max_findings = 2; + * * @param value The maxFindings to set. * @return This builder for chaining. */ public Builder setMaxFindings(int value) { - + maxFindings_ = value; onChanged(); return this; } /** + * + * *
          * Max findings limit for the given infoType.
          * 
* * int32 max_findings = 2; + * * @return This builder for chaining. */ public Builder clearMaxFindings() { - + maxFindings_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1147,30 +1317,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit) - private static final com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit(); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstance() { + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeLimit(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeLimit(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,15 +1355,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int MAX_FINDINGS_PER_ITEM_FIELD_NUMBER = 1; private int maxFindingsPerItem_; /** + * + * *
      * Max number of findings that will be returned for each item scanned.
      * When set within `InspectJobConfig`,
@@ -1199,6 +1374,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDe
      * 
* * int32 max_findings_per_item = 1; + * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1209,6 +1385,8 @@ public int getMaxFindingsPerItem() { public static final int MAX_FINDINGS_PER_REQUEST_FIELD_NUMBER = 2; private int maxFindingsPerRequest_; /** + * + * *
      * Max number of findings that will be returned per request/job.
      * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1216,6 +1394,7 @@ public int getMaxFindingsPerItem() {
      * 
* * int32 max_findings_per_request = 2; + * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1224,66 +1403,91 @@ public int getMaxFindingsPerRequest() { } public static final int MAX_FINDINGS_PER_INFO_TYPE_FIELD_NUMBER = 3; - private java.util.List maxFindingsPerInfoType_; + private java.util.List + maxFindingsPerInfoType_; /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ @java.lang.Override - public java.util.List getMaxFindingsPerInfoTypeList() { + public java.util.List + getMaxFindingsPerInfoTypeList() { return maxFindingsPerInfoType_; } /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> getMaxFindingsPerInfoTypeOrBuilderList() { return maxFindingsPerInfoType_; } /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ @java.lang.Override public int getMaxFindingsPerInfoTypeCount() { return maxFindingsPerInfoType_.size(); } /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + getMaxFindingsPerInfoType(int index) { return maxFindingsPerInfoType_.get(index); } /** + * + * *
      * Configuration of findings limit given for specified infoTypes.
      * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder + getMaxFindingsPerInfoTypeOrBuilder(int index) { return maxFindingsPerInfoType_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1295,8 +1499,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxFindingsPerItem_ != 0) { output.writeInt32(1, maxFindingsPerItem_); } @@ -1316,16 +1519,15 @@ public int getSerializedSize() { size = 0; if (maxFindingsPerItem_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxFindingsPerItem_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxFindingsPerItem_); } if (maxFindingsPerRequest_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxFindingsPerRequest_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxFindingsPerRequest_); } for (int i = 0; i < maxFindingsPerInfoType_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, maxFindingsPerInfoType_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, maxFindingsPerInfoType_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1335,19 +1537,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.privacy.dlp.v2.InspectConfig.FindingLimits)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectConfig.FindingLimits other = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) obj; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits other = + (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) obj; - if (getMaxFindingsPerItem() - != other.getMaxFindingsPerItem()) return false; - if (getMaxFindingsPerRequest() - != other.getMaxFindingsPerRequest()) return false; - if (!getMaxFindingsPerInfoTypeList() - .equals(other.getMaxFindingsPerInfoTypeList())) return false; + if (getMaxFindingsPerItem() != other.getMaxFindingsPerItem()) return false; + if (getMaxFindingsPerRequest() != other.getMaxFindingsPerRequest()) return false; + if (!getMaxFindingsPerInfoTypeList().equals(other.getMaxFindingsPerInfoTypeList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1373,87 +1574,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectConfig.FindingLimits prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.InspectConfig.FindingLimits prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1463,6 +1671,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration to control the number of findings returned for inspection.
      * This is not used for de-identification or data profiling.
@@ -1470,21 +1680,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectConfig.FindingLimits)
         com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class);
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.class,
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.InspectConfig.FindingLimits.newBuilder()
@@ -1492,17 +1705,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getMaxFindingsPerInfoTypeFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1520,9 +1733,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_InspectConfig_FindingLimits_descriptor;
       }
 
       @java.lang.Override
@@ -1541,13 +1754,15 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.InspectConfig.FindingLimits buildPartial() {
-        com.google.privacy.dlp.v2.InspectConfig.FindingLimits result = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(this);
+        com.google.privacy.dlp.v2.InspectConfig.FindingLimits result =
+            new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(this);
         int from_bitField0_ = bitField0_;
         result.maxFindingsPerItem_ = maxFindingsPerItem_;
         result.maxFindingsPerRequest_ = maxFindingsPerRequest_;
         if (maxFindingsPerInfoTypeBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
-            maxFindingsPerInfoType_ = java.util.Collections.unmodifiableList(maxFindingsPerInfoType_);
+            maxFindingsPerInfoType_ =
+                java.util.Collections.unmodifiableList(maxFindingsPerInfoType_);
             bitField0_ = (bitField0_ & ~0x00000001);
           }
           result.maxFindingsPerInfoType_ = maxFindingsPerInfoType_;
@@ -1562,38 +1777,41 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.InspectConfig.FindingLimits) {
-          return mergeFrom((com.google.privacy.dlp.v2.InspectConfig.FindingLimits)other);
+          return mergeFrom((com.google.privacy.dlp.v2.InspectConfig.FindingLimits) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1601,7 +1819,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits other) {
-        if (other == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance())
+          return this;
         if (other.getMaxFindingsPerItem() != 0) {
           setMaxFindingsPerItem(other.getMaxFindingsPerItem());
         }
@@ -1626,9 +1845,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig.FindingLimits o
               maxFindingsPerInfoTypeBuilder_ = null;
               maxFindingsPerInfoType_ = other.maxFindingsPerInfoType_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              maxFindingsPerInfoTypeBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getMaxFindingsPerInfoTypeFieldBuilder() : null;
+              maxFindingsPerInfoTypeBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getMaxFindingsPerInfoTypeFieldBuilder()
+                      : null;
             } else {
               maxFindingsPerInfoTypeBuilder_.addAllMessages(other.maxFindingsPerInfoType_);
             }
@@ -1653,7 +1873,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.InspectConfig.FindingLimits) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1662,10 +1883,13 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private int maxFindingsPerItem_ ;
+      private int maxFindingsPerItem_;
       /**
+       *
+       *
        * 
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1674,6 +1898,7 @@ public Builder mergeFrom(
        * 
* * int32 max_findings_per_item = 1; + * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1681,6 +1906,8 @@ public int getMaxFindingsPerItem() { return maxFindingsPerItem_; } /** + * + * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1689,16 +1916,19 @@ public int getMaxFindingsPerItem() {
        * 
* * int32 max_findings_per_item = 1; + * * @param value The maxFindingsPerItem to set. * @return This builder for chaining. */ public Builder setMaxFindingsPerItem(int value) { - + maxFindingsPerItem_ = value; onChanged(); return this; } /** + * + * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1707,17 +1937,20 @@ public Builder setMaxFindingsPerItem(int value) {
        * 
* * int32 max_findings_per_item = 1; + * * @return This builder for chaining. */ public Builder clearMaxFindingsPerItem() { - + maxFindingsPerItem_ = 0; onChanged(); return this; } - private int maxFindingsPerRequest_ ; + private int maxFindingsPerRequest_; /** + * + * *
        * Max number of findings that will be returned per request/job.
        * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1725,6 +1958,7 @@ public Builder clearMaxFindingsPerItem() {
        * 
* * int32 max_findings_per_request = 2; + * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1732,6 +1966,8 @@ public int getMaxFindingsPerRequest() { return maxFindingsPerRequest_; } /** + * + * *
        * Max number of findings that will be returned per request/job.
        * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1739,16 +1975,19 @@ public int getMaxFindingsPerRequest() {
        * 
* * int32 max_findings_per_request = 2; + * * @param value The maxFindingsPerRequest to set. * @return This builder for chaining. */ public Builder setMaxFindingsPerRequest(int value) { - + maxFindingsPerRequest_ = value; onChanged(); return this; } /** + * + * *
        * Max number of findings that will be returned per request/job.
        * When set within `InspectContentRequest`, the maximum returned is 2000
@@ -1756,35 +1995,48 @@ public Builder setMaxFindingsPerRequest(int value) {
        * 
* * int32 max_findings_per_request = 2; + * * @return This builder for chaining. */ public Builder clearMaxFindingsPerRequest() { - + maxFindingsPerRequest_ = 0; onChanged(); return this; } - private java.util.List maxFindingsPerInfoType_ = - java.util.Collections.emptyList(); + private java.util.List + maxFindingsPerInfoType_ = java.util.Collections.emptyList(); + private void ensureMaxFindingsPerInfoTypeIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - maxFindingsPerInfoType_ = new java.util.ArrayList(maxFindingsPerInfoType_); + maxFindingsPerInfoType_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit>( + maxFindingsPerInfoType_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> maxFindingsPerInfoTypeBuilder_; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> + maxFindingsPerInfoTypeBuilder_; /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public java.util.List getMaxFindingsPerInfoTypeList() { + public java.util.List + getMaxFindingsPerInfoTypeList() { if (maxFindingsPerInfoTypeBuilder_ == null) { return java.util.Collections.unmodifiableList(maxFindingsPerInfoType_); } else { @@ -1792,11 +2044,15 @@ public java.util.List * Configuration of findings limit given for specified infoTypes. *
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public int getMaxFindingsPerInfoTypeCount() { if (maxFindingsPerInfoTypeBuilder_ == null) { @@ -1806,13 +2062,18 @@ public int getMaxFindingsPerInfoTypeCount() { } } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindingsPerInfoType(int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + getMaxFindingsPerInfoType(int index) { if (maxFindingsPerInfoTypeBuilder_ == null) { return maxFindingsPerInfoType_.get(index); } else { @@ -1820,11 +2081,15 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMa } } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder setMaxFindingsPerInfoType( int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { @@ -1841,14 +2106,20 @@ public Builder setMaxFindingsPerInfoType( return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder setMaxFindingsPerInfoType( - int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder + builderForValue) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); maxFindingsPerInfoType_.set(index, builderForValue.build()); @@ -1859,13 +2130,18 @@ public Builder setMaxFindingsPerInfoType( return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public Builder addMaxFindingsPerInfoType(com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { + public Builder addMaxFindingsPerInfoType( + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { if (maxFindingsPerInfoTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1879,11 +2155,15 @@ public Builder addMaxFindingsPerInfoType(com.google.privacy.dlp.v2.InspectConfig return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder addMaxFindingsPerInfoType( int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit value) { @@ -1900,14 +2180,19 @@ public Builder addMaxFindingsPerInfoType( return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder addMaxFindingsPerInfoType( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) { + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder + builderForValue) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); maxFindingsPerInfoType_.add(builderForValue.build()); @@ -1918,14 +2203,20 @@ public Builder addMaxFindingsPerInfoType( return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder addMaxFindingsPerInfoType( - int index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder + builderForValue) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); maxFindingsPerInfoType_.add(index, builderForValue.build()); @@ -1936,18 +2227,23 @@ public Builder addMaxFindingsPerInfoType( return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder addAllMaxFindingsPerInfoType( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit> + values) { if (maxFindingsPerInfoTypeBuilder_ == null) { ensureMaxFindingsPerInfoTypeIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, maxFindingsPerInfoType_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maxFindingsPerInfoType_); onChanged(); } else { maxFindingsPerInfoTypeBuilder_.addAllMessages(values); @@ -1955,11 +2251,15 @@ public Builder addAllMaxFindingsPerInfoType( return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder clearMaxFindingsPerInfoType() { if (maxFindingsPerInfoTypeBuilder_ == null) { @@ -1972,11 +2272,15 @@ public Builder clearMaxFindingsPerInfoType() { return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ public Builder removeMaxFindingsPerInfoType(int index) { if (maxFindingsPerInfoTypeBuilder_ == null) { @@ -1989,39 +2293,54 @@ public Builder removeMaxFindingsPerInfoType(int index) { return this; } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder getMaxFindingsPerInfoTypeBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder + getMaxFindingsPerInfoTypeBuilder(int index) { return getMaxFindingsPerInfoTypeFieldBuilder().getBuilder(index); } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder getMaxFindingsPerInfoTypeOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder + getMaxFindingsPerInfoTypeOrBuilder(int index) { if (maxFindingsPerInfoTypeBuilder_ == null) { - return maxFindingsPerInfoType_.get(index); } else { + return maxFindingsPerInfoType_.get(index); + } else { return maxFindingsPerInfoTypeBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public java.util.List - getMaxFindingsPerInfoTypeOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> + getMaxFindingsPerInfoTypeOrBuilderList() { if (maxFindingsPerInfoTypeBuilder_ != null) { return maxFindingsPerInfoTypeBuilder_.getMessageOrBuilderList(); } else { @@ -2029,45 +2348,70 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuil } } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder addMaxFindingsPerInfoTypeBuilder() { - return getMaxFindingsPerInfoTypeFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder + addMaxFindingsPerInfoTypeBuilder() { + return getMaxFindingsPerInfoTypeFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + .getDefaultInstance()); } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder addMaxFindingsPerInfoTypeBuilder( - int index) { - return getMaxFindingsPerInfoTypeFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder + addMaxFindingsPerInfoTypeBuilder(int index) { + return getMaxFindingsPerInfoTypeFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit + .getDefaultInstance()); } /** + * + * *
        * Configuration of findings limit given for specified infoTypes.
        * 
* - * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * + * repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; + * */ - public java.util.List - getMaxFindingsPerInfoTypeBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder> + getMaxFindingsPerInfoTypeBuilderList() { return getMaxFindingsPerInfoTypeFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder> getMaxFindingsPerInfoTypeFieldBuilder() { if (maxFindingsPerInfoTypeBuilder_ == null) { - maxFindingsPerInfoTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder>( + maxFindingsPerInfoTypeBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Builder, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimitOrBuilder>( maxFindingsPerInfoType_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2076,6 +2420,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.Build } return maxFindingsPerInfoTypeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2088,12 +2433,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectConfig.FindingLimits) private static final com.google.privacy.dlp.v2.InspectConfig.FindingLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectConfig.FindingLimits(); } @@ -2102,16 +2447,16 @@ public static com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FindingLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FindingLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FindingLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FindingLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2126,12 +2471,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int INFO_TYPES_FIELD_NUMBER = 1; private java.util.List infoTypes_; /** + * + * *
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2151,6 +2497,8 @@ public java.util.List getInfoTypesList() {
     return infoTypes_;
   }
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2166,11 +2514,13 @@ public java.util.List getInfoTypesList() {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getInfoTypesOrBuilderList() {
     return infoTypes_;
   }
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2190,6 +2540,8 @@ public int getInfoTypesCount() {
     return infoTypes_.size();
   }
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2209,6 +2561,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
     return infoTypes_.get(index);
   }
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -2224,14 +2578,15 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
     return infoTypes_.get(index);
   }
 
   public static final int MIN_LIKELIHOOD_FIELD_NUMBER = 2;
   private int minLikelihood_;
   /**
+   *
+   *
    * 
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -2239,12 +2594,16 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return The enum numeric value on the wire for minLikelihood. */ - @java.lang.Override public int getMinLikelihoodValue() { + @java.lang.Override + public int getMinLikelihoodValue() { return minLikelihood_; } /** + * + * *
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -2252,23 +2611,29 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return The minLikelihood. */ - @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() { + @java.lang.Override + public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } public static final int LIMITS_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.InspectConfig.FindingLimits limits_; /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return Whether the limits field is set. */ @java.lang.Override @@ -2276,19 +2641,26 @@ public boolean hasLimits() { return limits_ != null; } /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return The limits. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() { - return limits_ == null ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() : limits_; + return limits_ == null + ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() + : limits_; } /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
@@ -2304,6 +2676,8 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
   public static final int INCLUDE_QUOTE_FIELD_NUMBER = 4;
   private boolean includeQuote_;
   /**
+   *
+   *
    * 
    * When true, a contextual quote from the data that triggered a finding is
    * included in the response; see Finding.quote.
@@ -2311,6 +2685,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
    * 
* * bool include_quote = 4; + * * @return The includeQuote. */ @java.lang.Override @@ -2321,12 +2696,15 @@ public boolean getIncludeQuote() { public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER = 5; private boolean excludeInfoTypes_; /** + * + * *
    * When true, excludes type information of the findings.
    * This is not used for data profiling.
    * 
* * bool exclude_info_types = 5; + * * @return The excludeInfoTypes. */ @java.lang.Override @@ -2337,6 +2715,8 @@ public boolean getExcludeInfoTypes() { public static final int CUSTOM_INFO_TYPES_FIELD_NUMBER = 6; private java.util.List customInfoTypes_; /** + * + * *
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2349,6 +2729,8 @@ public java.util.List getCustomInfoTyp
     return customInfoTypes_;
   }
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2357,11 +2739,13 @@ public java.util.List getCustomInfoTyp
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCustomInfoTypesOrBuilderList() {
     return customInfoTypes_;
   }
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2374,6 +2758,8 @@ public int getCustomInfoTypesCount() {
     return customInfoTypes_.size();
   }
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2386,6 +2772,8 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
     return customInfoTypes_.get(index);
   }
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -2394,42 +2782,50 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index) {
     return customInfoTypes_.get(index);
   }
 
   public static final int CONTENT_OPTIONS_FIELD_NUMBER = 8;
   private java.util.List contentOptions_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.privacy.dlp.v2.ContentOption> contentOptions_converter_ =
+          java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>
+      contentOptions_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>() {
             public com.google.privacy.dlp.v2.ContentOption convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.privacy.dlp.v2.ContentOption result = com.google.privacy.dlp.v2.ContentOption.valueOf(from);
+              com.google.privacy.dlp.v2.ContentOption result =
+                  com.google.privacy.dlp.v2.ContentOption.valueOf(from);
               return result == null ? com.google.privacy.dlp.v2.ContentOption.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return A list containing the contentOptions. */ @java.lang.Override public java.util.List getContentOptionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>(contentOptions_, contentOptions_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>( + contentOptions_, contentOptions_converter_); } /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return The count of contentOptions. */ @java.lang.Override @@ -2437,11 +2833,14 @@ public int getContentOptionsCount() { return contentOptions_.size(); } /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the element to return. * @return The contentOptions at the given index. */ @@ -2450,24 +2849,29 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) { return contentOptions_converter_.convert(contentOptions_.get(index)); } /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return A list containing the enum numeric values on the wire for contentOptions. */ @java.lang.Override - public java.util.List - getContentOptionsValueList() { + public java.util.List getContentOptionsValueList() { return contentOptions_; } /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. */ @@ -2475,11 +2879,14 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) { public int getContentOptionsValue(int index) { return contentOptions_.get(index); } + private int contentOptionsMemoizedSerializedSize; public static final int RULE_SET_FIELD_NUMBER = 10; private java.util.List ruleSet_; /** + * + * *
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2493,6 +2900,8 @@ public java.util.List getRuleSetLis
     return ruleSet_;
   }
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2502,11 +2911,13 @@ public java.util.List getRuleSetLis
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRuleSetOrBuilderList() {
     return ruleSet_;
   }
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2520,6 +2931,8 @@ public int getRuleSetCount() {
     return ruleSet_.size();
   }
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2533,6 +2946,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
     return ruleSet_.get(index);
   }
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -2542,12 +2957,12 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index) {
     return ruleSet_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2559,8 +2974,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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();
     for (int i = 0; i < infoTypes_.size(); i++) {
       output.writeMessage(1, infoTypes_.get(i));
@@ -2600,44 +3014,38 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < infoTypes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, infoTypes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i));
     }
     if (minLikelihood_ != com.google.privacy.dlp.v2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, minLikelihood_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, minLikelihood_);
     }
     if (limits_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getLimits());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLimits());
     }
     if (includeQuote_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, includeQuote_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, includeQuote_);
     }
     if (excludeInfoTypes_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(5, excludeInfoTypes_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, excludeInfoTypes_);
     }
     for (int i = 0; i < customInfoTypes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, customInfoTypes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, customInfoTypes_.get(i));
     }
     {
       int dataSize = 0;
       for (int i = 0; i < contentOptions_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeEnumSizeNoTag(contentOptions_.get(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contentOptions_.get(i));
       }
       size += dataSize;
-      if (!getContentOptionsList().isEmpty()) {  size += 1;
-        size += com.google.protobuf.CodedOutputStream
-          .computeUInt32SizeNoTag(dataSize);
-      }contentOptionsMemoizedSerializedSize = dataSize;
+      if (!getContentOptionsList().isEmpty()) {
+        size += 1;
+        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
+      }
+      contentOptionsMemoizedSerializedSize = dataSize;
     }
     for (int i = 0; i < ruleSet_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, ruleSet_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, ruleSet_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2647,30 +3055,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.privacy.dlp.v2.InspectConfig)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.InspectConfig other = (com.google.privacy.dlp.v2.InspectConfig) obj;
 
-    if (!getInfoTypesList()
-        .equals(other.getInfoTypesList())) return false;
+    if (!getInfoTypesList().equals(other.getInfoTypesList())) return false;
     if (minLikelihood_ != other.minLikelihood_) return false;
     if (hasLimits() != other.hasLimits()) return false;
     if (hasLimits()) {
-      if (!getLimits()
-          .equals(other.getLimits())) return false;
-    }
-    if (getIncludeQuote()
-        != other.getIncludeQuote()) return false;
-    if (getExcludeInfoTypes()
-        != other.getExcludeInfoTypes()) return false;
-    if (!getCustomInfoTypesList()
-        .equals(other.getCustomInfoTypesList())) return false;
+      if (!getLimits().equals(other.getLimits())) return false;
+    }
+    if (getIncludeQuote() != other.getIncludeQuote()) return false;
+    if (getExcludeInfoTypes() != other.getExcludeInfoTypes()) return false;
+    if (!getCustomInfoTypesList().equals(other.getCustomInfoTypesList())) return false;
     if (!contentOptions_.equals(other.contentOptions_)) return false;
-    if (!getRuleSetList()
-        .equals(other.getRuleSetList())) return false;
+    if (!getRuleSetList().equals(other.getRuleSetList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -2693,11 +3095,9 @@ public int hashCode() {
       hash = (53 * hash) + getLimits().hashCode();
     }
     hash = (37 * hash) + INCLUDE_QUOTE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getIncludeQuote());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeQuote());
     hash = (37 * hash) + EXCLUDE_INFO_TYPES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getExcludeInfoTypes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExcludeInfoTypes());
     if (getCustomInfoTypesCount() > 0) {
       hash = (37 * hash) + CUSTOM_INFO_TYPES_FIELD_NUMBER;
       hash = (53 * hash) + getCustomInfoTypesList().hashCode();
@@ -2715,97 +3115,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.InspectConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.InspectConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.InspectConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.InspectConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.InspectConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration description of the scanning process.
    * When used with redactContent only info_types and min_likelihood are currently
@@ -2814,21 +3221,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectConfig)
       com.google.privacy.dlp.v2.InspectConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectConfig.class, com.google.privacy.dlp.v2.InspectConfig.Builder.class);
+              com.google.privacy.dlp.v2.InspectConfig.class,
+              com.google.privacy.dlp.v2.InspectConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectConfig.newBuilder()
@@ -2836,19 +3245,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getInfoTypesFieldBuilder();
         getCustomInfoTypesFieldBuilder();
         getRuleSetFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2888,9 +3297,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectConfig_descriptor;
     }
 
     @java.lang.Override
@@ -2909,7 +3318,8 @@ public com.google.privacy.dlp.v2.InspectConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectConfig buildPartial() {
-      com.google.privacy.dlp.v2.InspectConfig result = new com.google.privacy.dlp.v2.InspectConfig(this);
+      com.google.privacy.dlp.v2.InspectConfig result =
+          new com.google.privacy.dlp.v2.InspectConfig(this);
       int from_bitField0_ = bitField0_;
       if (infoTypesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -2959,38 +3369,39 @@ public com.google.privacy.dlp.v2.InspectConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3017,9 +3428,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
             infoTypesBuilder_ = null;
             infoTypes_ = other.infoTypes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            infoTypesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInfoTypesFieldBuilder() : null;
+            infoTypesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInfoTypesFieldBuilder()
+                    : null;
           } else {
             infoTypesBuilder_.addAllMessages(other.infoTypes_);
           }
@@ -3055,9 +3467,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
             customInfoTypesBuilder_ = null;
             customInfoTypes_ = other.customInfoTypes_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            customInfoTypesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCustomInfoTypesFieldBuilder() : null;
+            customInfoTypesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCustomInfoTypesFieldBuilder()
+                    : null;
           } else {
             customInfoTypesBuilder_.addAllMessages(other.customInfoTypes_);
           }
@@ -3091,9 +3504,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectConfig other) {
             ruleSetBuilder_ = null;
             ruleSet_ = other.ruleSet_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            ruleSetBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRuleSetFieldBuilder() : null;
+            ruleSetBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRuleSetFieldBuilder()
+                    : null;
           } else {
             ruleSetBuilder_.addAllMessages(other.ruleSet_);
           }
@@ -3127,21 +3541,28 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List infoTypes_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureInfoTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = new java.util.ArrayList(infoTypes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_;
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        infoTypesBuilder_;
 
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3164,6 +3585,8 @@ public java.util.List getInfoTypesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3186,6 +3609,8 @@ public int getInfoTypesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3208,6 +3633,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3222,8 +3649,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder setInfoTypes(
-        int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3237,6 +3663,8 @@ public Builder setInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3263,6 +3691,8 @@ public Builder setInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3291,6 +3721,8 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3305,8 +3737,7 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(
-        int index, com.google.privacy.dlp.v2.InfoType value) {
+    public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3320,6 +3751,8 @@ public Builder addInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3334,8 +3767,7 @@ public Builder addInfoTypes(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public Builder addInfoTypes(
-        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
         infoTypes_.add(builderForValue.build());
@@ -3346,6 +3778,8 @@ public Builder addInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3372,6 +3806,8 @@ public Builder addInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3390,8 +3826,7 @@ public Builder addAllInfoTypes(
         java.lang.Iterable values) {
       if (infoTypesBuilder_ == null) {
         ensureInfoTypesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, infoTypes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_);
         onChanged();
       } else {
         infoTypesBuilder_.addAllMessages(values);
@@ -3399,6 +3834,8 @@ public Builder addAllInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3424,6 +3861,8 @@ public Builder clearInfoTypes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3449,6 +3888,8 @@ public Builder removeInfoTypes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3463,11 +3904,12 @@ public Builder removeInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) {
       return getInfoTypesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3482,14 +3924,16 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) {
       if (infoTypesBuilder_ == null) {
-        return infoTypes_.get(index);  } else {
+        return infoTypes_.get(index);
+      } else {
         return infoTypesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3504,8 +3948,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List 
-         getInfoTypesOrBuilderList() {
+    public java.util.List
+        getInfoTypesOrBuilderList() {
       if (infoTypesBuilder_ != null) {
         return infoTypesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3513,6 +3957,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3528,10 +3974,12 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
     public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
-      return getInfoTypesFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+      return getInfoTypesFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3546,12 +3994,13 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() {
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
-        int index) {
-      return getInfoTypesFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
+    public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) {
+      return getInfoTypesFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3566,20 +4015,22 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
      *
      * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
      */
-    public java.util.List 
-         getInfoTypesBuilderList() {
+    public java.util.List getInfoTypesBuilderList() {
       return getInfoTypesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getInfoTypesFieldBuilder() {
       if (infoTypesBuilder_ == null) {
-        infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                infoTypes_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        infoTypesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         infoTypes_ = null;
       }
       return infoTypesBuilder_;
@@ -3587,6 +4038,8 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
 
     private int minLikelihood_ = 0;
     /**
+     *
+     *
      * 
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -3594,12 +4047,16 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return The enum numeric value on the wire for minLikelihood. */ - @java.lang.Override public int getMinLikelihoodValue() { + @java.lang.Override + public int getMinLikelihoodValue() { return minLikelihood_; } /** + * + * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -3607,16 +4064,19 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @param value The enum numeric value on the wire for minLikelihood to set. * @return This builder for chaining. */ public Builder setMinLikelihoodValue(int value) { - + minLikelihood_ = value; onChanged(); return this; } /** + * + * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -3624,15 +4084,19 @@ public Builder setMinLikelihoodValue(int value) {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return The minLikelihood. */ @java.lang.Override public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.Likelihood result = com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); + com.google.privacy.dlp.v2.Likelihood result = + com.google.privacy.dlp.v2.Likelihood.valueOf(minLikelihood_); return result == null ? com.google.privacy.dlp.v2.Likelihood.UNRECOGNIZED : result; } /** + * + * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -3640,6 +4104,7 @@ public com.google.privacy.dlp.v2.Likelihood getMinLikelihood() {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @param value The minLikelihood to set. * @return This builder for chaining. */ @@ -3647,12 +4112,14 @@ public Builder setMinLikelihood(com.google.privacy.dlp.v2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + minLikelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -3660,10 +4127,11 @@ public Builder setMinLikelihood(com.google.privacy.dlp.v2.Likelihood value) {
      * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearMinLikelihood() { - + minLikelihood_ = 0; onChanged(); return this; @@ -3671,36 +4139,49 @@ public Builder clearMinLikelihood() { private com.google.privacy.dlp.v2.InspectConfig.FindingLimits limits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig.FindingLimits, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> limitsBuilder_; + com.google.privacy.dlp.v2.InspectConfig.FindingLimits, + com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, + com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> + limitsBuilder_; /** + * + * *
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return Whether the limits field is set. */ public boolean hasLimits() { return limitsBuilder_ != null || limits_ != null; } /** + * + * *
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return The limits. */ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits() { if (limitsBuilder_ == null) { - return limits_ == null ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() : limits_; + return limits_ == null + ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() + : limits_; } else { return limitsBuilder_.getMessage(); } } /** + * + * *
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3722,6 +4203,8 @@ public Builder setLimits(com.google.privacy.dlp.v2.InspectConfig.FindingLimits v
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3741,6 +4224,8 @@ public Builder setLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3752,7 +4237,9 @@ public Builder mergeLimits(com.google.privacy.dlp.v2.InspectConfig.FindingLimits
       if (limitsBuilder_ == null) {
         if (limits_ != null) {
           limits_ =
-            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.newBuilder(limits_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InspectConfig.FindingLimits.newBuilder(limits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           limits_ = value;
         }
@@ -3764,6 +4251,8 @@ public Builder mergeLimits(com.google.privacy.dlp.v2.InspectConfig.FindingLimits
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3783,6 +4272,8 @@ public Builder clearLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3791,11 +4282,13 @@ public Builder clearLimits() {
      * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
      */
     public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder getLimitsBuilder() {
-      
+
       onChanged();
       return getLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3807,11 +4300,14 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
       if (limitsBuilder_ != null) {
         return limitsBuilder_.getMessageOrBuilder();
       } else {
-        return limits_ == null ?
-            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance() : limits_;
+        return limits_ == null
+            ? com.google.privacy.dlp.v2.InspectConfig.FindingLimits.getDefaultInstance()
+            : limits_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3820,21 +4316,26 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
      * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InspectConfig.FindingLimits, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder> 
+            com.google.privacy.dlp.v2.InspectConfig.FindingLimits,
+            com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder,
+            com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder>
         getLimitsFieldBuilder() {
       if (limitsBuilder_ == null) {
-        limitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig.FindingLimits, com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder, com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder>(
-                getLimits(),
-                getParentForChildren(),
-                isClean());
+        limitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits,
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimits.Builder,
+                com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder>(
+                getLimits(), getParentForChildren(), isClean());
         limits_ = null;
       }
       return limitsBuilder_;
     }
 
-    private boolean includeQuote_ ;
+    private boolean includeQuote_;
     /**
+     *
+     *
      * 
      * When true, a contextual quote from the data that triggered a finding is
      * included in the response; see Finding.quote.
@@ -3842,6 +4343,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
      * 
* * bool include_quote = 4; + * * @return The includeQuote. */ @java.lang.Override @@ -3849,6 +4351,8 @@ public boolean getIncludeQuote() { return includeQuote_; } /** + * + * *
      * When true, a contextual quote from the data that triggered a finding is
      * included in the response; see Finding.quote.
@@ -3856,16 +4360,19 @@ public boolean getIncludeQuote() {
      * 
* * bool include_quote = 4; + * * @param value The includeQuote to set. * @return This builder for chaining. */ public Builder setIncludeQuote(boolean value) { - + includeQuote_ = value; onChanged(); return this; } /** + * + * *
      * When true, a contextual quote from the data that triggered a finding is
      * included in the response; see Finding.quote.
@@ -3873,23 +4380,27 @@ public Builder setIncludeQuote(boolean value) {
      * 
* * bool include_quote = 4; + * * @return This builder for chaining. */ public Builder clearIncludeQuote() { - + includeQuote_ = false; onChanged(); return this; } - private boolean excludeInfoTypes_ ; + private boolean excludeInfoTypes_; /** + * + * *
      * When true, excludes type information of the findings.
      * This is not used for data profiling.
      * 
* * bool exclude_info_types = 5; + * * @return The excludeInfoTypes. */ @java.lang.Override @@ -3897,50 +4408,63 @@ public boolean getExcludeInfoTypes() { return excludeInfoTypes_; } /** + * + * *
      * When true, excludes type information of the findings.
      * This is not used for data profiling.
      * 
* * bool exclude_info_types = 5; + * * @param value The excludeInfoTypes to set. * @return This builder for chaining. */ public Builder setExcludeInfoTypes(boolean value) { - + excludeInfoTypes_ = value; onChanged(); return this; } /** + * + * *
      * When true, excludes type information of the findings.
      * This is not used for data profiling.
      * 
* * bool exclude_info_types = 5; + * * @return This builder for chaining. */ public Builder clearExcludeInfoTypes() { - + excludeInfoTypes_ = false; onChanged(); return this; } private java.util.List customInfoTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCustomInfoTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - customInfoTypes_ = new java.util.ArrayList(customInfoTypes_); + customInfoTypes_ = + new java.util.ArrayList(customInfoTypes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType, com.google.privacy.dlp.v2.CustomInfoType.Builder, com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> customInfoTypesBuilder_; + com.google.privacy.dlp.v2.CustomInfoType, + com.google.privacy.dlp.v2.CustomInfoType.Builder, + com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> + customInfoTypesBuilder_; /** + * + * *
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -3956,6 +4480,8 @@ public java.util.List getCustomInfoTyp
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -3971,6 +4497,8 @@ public int getCustomInfoTypesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -3986,6 +4514,8 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -3993,8 +4523,7 @@ public com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public Builder setCustomInfoTypes(
-        int index, com.google.privacy.dlp.v2.CustomInfoType value) {
+    public Builder setCustomInfoTypes(int index, com.google.privacy.dlp.v2.CustomInfoType value) {
       if (customInfoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4008,6 +4537,8 @@ public Builder setCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4027,6 +4558,8 @@ public Builder setCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4048,6 +4581,8 @@ public Builder addCustomInfoTypes(com.google.privacy.dlp.v2.CustomInfoType value
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4055,8 +4590,7 @@ public Builder addCustomInfoTypes(com.google.privacy.dlp.v2.CustomInfoType value
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public Builder addCustomInfoTypes(
-        int index, com.google.privacy.dlp.v2.CustomInfoType value) {
+    public Builder addCustomInfoTypes(int index, com.google.privacy.dlp.v2.CustomInfoType value) {
       if (customInfoTypesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4070,6 +4604,8 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4089,6 +4625,8 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4108,6 +4646,8 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4119,8 +4659,7 @@ public Builder addAllCustomInfoTypes(
         java.lang.Iterable values) {
       if (customInfoTypesBuilder_ == null) {
         ensureCustomInfoTypesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, customInfoTypes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customInfoTypes_);
         onChanged();
       } else {
         customInfoTypesBuilder_.addAllMessages(values);
@@ -4128,6 +4667,8 @@ public Builder addAllCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4146,6 +4687,8 @@ public Builder clearCustomInfoTypes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4164,6 +4707,8 @@ public Builder removeCustomInfoTypes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4171,11 +4716,12 @@ public Builder removeCustomInfoTypes(int index) {
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.Builder getCustomInfoTypesBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.CustomInfoType.Builder getCustomInfoTypesBuilder(int index) {
       return getCustomInfoTypesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4186,11 +4732,14 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder getCustomInfoTypesBuilde
     public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
         int index) {
       if (customInfoTypesBuilder_ == null) {
-        return customInfoTypes_.get(index);  } else {
+        return customInfoTypes_.get(index);
+      } else {
         return customInfoTypesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4198,8 +4747,8 @@ public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBui
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public java.util.List 
-         getCustomInfoTypesOrBuilderList() {
+    public java.util.List
+        getCustomInfoTypesOrBuilderList() {
       if (customInfoTypesBuilder_ != null) {
         return customInfoTypesBuilder_.getMessageOrBuilderList();
       } else {
@@ -4207,6 +4756,8 @@ public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBui
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4215,10 +4766,12 @@ public com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBui
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
     public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilder() {
-      return getCustomInfoTypesFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
+      return getCustomInfoTypesFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4226,12 +4779,13 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilder(
-        int index) {
-      return getCustomInfoTypesFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
+    public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilder(int index) {
+      return getCustomInfoTypesFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.CustomInfoType.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4239,16 +4793,22 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
      *
      * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
      */
-    public java.util.List 
-         getCustomInfoTypesBuilderList() {
+    public java.util.List
+        getCustomInfoTypesBuilderList() {
       return getCustomInfoTypesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.CustomInfoType, com.google.privacy.dlp.v2.CustomInfoType.Builder, com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.CustomInfoType,
+            com.google.privacy.dlp.v2.CustomInfoType.Builder,
+            com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>
         getCustomInfoTypesFieldBuilder() {
       if (customInfoTypesBuilder_ == null) {
-        customInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType, com.google.privacy.dlp.v2.CustomInfoType.Builder, com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>(
+        customInfoTypesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.CustomInfoType,
+                com.google.privacy.dlp.v2.CustomInfoType.Builder,
+                com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder>(
                 customInfoTypes_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -4258,8 +4818,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Builder addCustomInfoTypesBuilde
       return customInfoTypesBuilder_;
     }
 
-    private java.util.List contentOptions_ =
-      java.util.Collections.emptyList();
+    private java.util.List contentOptions_ = java.util.Collections.emptyList();
+
     private void ensureContentOptionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         contentOptions_ = new java.util.ArrayList(contentOptions_);
@@ -4267,34 +4827,44 @@ private void ensureContentOptionsIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return A list containing the contentOptions. */ public java.util.List getContentOptionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>(contentOptions_, contentOptions_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.ContentOption>( + contentOptions_, contentOptions_converter_); } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return The count of contentOptions. */ public int getContentOptionsCount() { return contentOptions_.size(); } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the element to return. * @return The contentOptions at the given index. */ @@ -4302,17 +4872,19 @@ public com.google.privacy.dlp.v2.ContentOption getContentOptions(int index) { return contentOptions_converter_.convert(contentOptions_.get(index)); } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index to set the value at. * @param value The contentOptions to set. * @return This builder for chaining. */ - public Builder setContentOptions( - int index, com.google.privacy.dlp.v2.ContentOption value) { + public Builder setContentOptions(int index, com.google.privacy.dlp.v2.ContentOption value) { if (value == null) { throw new NullPointerException(); } @@ -4322,11 +4894,14 @@ public Builder setContentOptions( return this; } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param value The contentOptions to add. * @return This builder for chaining. */ @@ -4340,11 +4915,14 @@ public Builder addContentOptions(com.google.privacy.dlp.v2.ContentOption value) return this; } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param values The contentOptions to add. * @return This builder for chaining. */ @@ -4358,11 +4936,14 @@ public Builder addAllContentOptions( return this; } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return This builder for chaining. */ public Builder clearContentOptions() { @@ -4372,23 +4953,28 @@ public Builder clearContentOptions() { return this; } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return A list containing the enum numeric values on the wire for contentOptions. */ - public java.util.List - getContentOptionsValueList() { + public java.util.List getContentOptionsValueList() { return java.util.Collections.unmodifiableList(contentOptions_); } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. */ @@ -4396,28 +4982,33 @@ public int getContentOptionsValue(int index) { return contentOptions_.get(index); } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. * @return This builder for chaining. */ - public Builder setContentOptionsValue( - int index, int value) { + public Builder setContentOptionsValue(int index, int value) { ensureContentOptionsIsMutable(); contentOptions_.set(index, value); onChanged(); return this; } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param value The enum numeric value on the wire for contentOptions to add. * @return This builder for chaining. */ @@ -4428,16 +5019,18 @@ public Builder addContentOptionsValue(int value) { return this; } /** + * + * *
      * Deprecated and unused.
      * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param values The enum numeric values on the wire for contentOptions to add. * @return This builder for chaining. */ - public Builder addAllContentOptionsValue( - java.lang.Iterable values) { + public Builder addAllContentOptionsValue(java.lang.Iterable values) { ensureContentOptionsIsMutable(); for (int value : values) { contentOptions_.add(value); @@ -4447,18 +5040,24 @@ public Builder addAllContentOptionsValue( } private java.util.List ruleSet_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRuleSetIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { ruleSet_ = new java.util.ArrayList(ruleSet_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRuleSet, com.google.privacy.dlp.v2.InspectionRuleSet.Builder, com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> ruleSetBuilder_; + com.google.privacy.dlp.v2.InspectionRuleSet, + com.google.privacy.dlp.v2.InspectionRuleSet.Builder, + com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> + ruleSetBuilder_; /** + * + * *
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4475,6 +5074,8 @@ public java.util.List getRuleSetLis
       }
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4491,6 +5092,8 @@ public int getRuleSetCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4507,6 +5110,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4515,8 +5120,7 @@ public com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index) {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public Builder setRuleSet(
-        int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
+    public Builder setRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
       if (ruleSetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4530,6 +5134,8 @@ public Builder setRuleSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4550,6 +5156,8 @@ public Builder setRuleSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4572,6 +5180,8 @@ public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4580,8 +5190,7 @@ public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet value) {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public Builder addRuleSet(
-        int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
+    public Builder addRuleSet(int index, com.google.privacy.dlp.v2.InspectionRuleSet value) {
       if (ruleSetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4595,6 +5204,8 @@ public Builder addRuleSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4603,8 +5214,7 @@ public Builder addRuleSet(
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public Builder addRuleSet(
-        com.google.privacy.dlp.v2.InspectionRuleSet.Builder builderForValue) {
+    public Builder addRuleSet(com.google.privacy.dlp.v2.InspectionRuleSet.Builder builderForValue) {
       if (ruleSetBuilder_ == null) {
         ensureRuleSetIsMutable();
         ruleSet_.add(builderForValue.build());
@@ -4615,6 +5225,8 @@ public Builder addRuleSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4635,6 +5247,8 @@ public Builder addRuleSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4647,8 +5261,7 @@ public Builder addAllRuleSet(
         java.lang.Iterable values) {
       if (ruleSetBuilder_ == null) {
         ensureRuleSetIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, ruleSet_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ruleSet_);
         onChanged();
       } else {
         ruleSetBuilder_.addAllMessages(values);
@@ -4656,6 +5269,8 @@ public Builder addAllRuleSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4675,6 +5290,8 @@ public Builder clearRuleSet() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4694,6 +5311,8 @@ public Builder removeRuleSet(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4702,11 +5321,12 @@ public Builder removeRuleSet(int index) {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder getRuleSetBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder getRuleSetBuilder(int index) {
       return getRuleSetFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4715,14 +5335,16 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder getRuleSetBuilder(
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index) {
       if (ruleSetBuilder_ == null) {
-        return ruleSet_.get(index);  } else {
+        return ruleSet_.get(index);
+      } else {
         return ruleSetBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4731,8 +5353,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public java.util.List 
-         getRuleSetOrBuilderList() {
+    public java.util.List
+        getRuleSetOrBuilderList() {
       if (ruleSetBuilder_ != null) {
         return ruleSetBuilder_.getMessageOrBuilderList();
       } else {
@@ -4740,6 +5362,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4749,10 +5373,12 @@ public com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
     public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder() {
-      return getRuleSetFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
+      return getRuleSetFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4761,12 +5387,13 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder() {
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(
-        int index) {
-      return getRuleSetFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
+    public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(int index) {
+      return getRuleSetFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.InspectionRuleSet.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Set of rules to apply to the findings for this InspectConfig.
      * Exclusion rules, contained in the set are executed in the end, other
@@ -4775,27 +5402,30 @@ public com.google.privacy.dlp.v2.InspectionRuleSet.Builder addRuleSetBuilder(
      *
      * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
      */
-    public java.util.List 
-         getRuleSetBuilderList() {
+    public java.util.List
+        getRuleSetBuilderList() {
       return getRuleSetFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.InspectionRuleSet, com.google.privacy.dlp.v2.InspectionRuleSet.Builder, com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder> 
+            com.google.privacy.dlp.v2.InspectionRuleSet,
+            com.google.privacy.dlp.v2.InspectionRuleSet.Builder,
+            com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>
         getRuleSetFieldBuilder() {
       if (ruleSetBuilder_ == null) {
-        ruleSetBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectionRuleSet, com.google.privacy.dlp.v2.InspectionRuleSet.Builder, com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>(
-                ruleSet_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        ruleSetBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.InspectionRuleSet,
+                com.google.privacy.dlp.v2.InspectionRuleSet.Builder,
+                com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder>(
+                ruleSet_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         ruleSet_ = null;
       }
       return ruleSetBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4805,12 +5435,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectConfig)
   private static final com.google.privacy.dlp.v2.InspectConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectConfig();
   }
@@ -4819,16 +5449,16 @@ public static com.google.privacy.dlp.v2.InspectConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public InspectConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new InspectConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public InspectConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new InspectConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4843,6 +5473,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.InspectConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
similarity index 88%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
index 154722c2..cfdec2b6 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface InspectConfigOrBuilder extends
+public interface InspectConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -22,9 +40,10 @@ public interface InspectConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List 
-      getInfoTypesList();
+  java.util.List getInfoTypesList();
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -41,6 +60,8 @@ public interface InspectConfigOrBuilder extends
    */
   com.google.privacy.dlp.v2.InfoType getInfoTypes(int index);
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -57,6 +78,8 @@ public interface InspectConfigOrBuilder extends
    */
   int getInfoTypesCount();
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -71,9 +94,10 @@ public interface InspectConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  java.util.List 
-      getInfoTypesOrBuilderList();
+  java.util.List getInfoTypesOrBuilderList();
   /**
+   *
+   *
    * 
    * Restricts what info_types to look for. The values must correspond to
    * InfoType values returned by ListInfoTypes or listed at
@@ -88,10 +112,11 @@ public interface InspectConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.InfoType info_types = 1;
    */
-  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -99,10 +124,13 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return The enum numeric value on the wire for minLikelihood. */ int getMinLikelihoodValue(); /** + * + * *
    * Only returns findings equal or above this threshold. The default is
    * POSSIBLE.
@@ -110,31 +138,40 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .google.privacy.dlp.v2.Likelihood min_likelihood = 2; + * * @return The minLikelihood. */ com.google.privacy.dlp.v2.Likelihood getMinLikelihood(); /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return Whether the limits field is set. */ boolean hasLimits(); /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return The limits. */ com.google.privacy.dlp.v2.InspectConfig.FindingLimits getLimits(); /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
@@ -145,6 +182,8 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
   com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * When true, a contextual quote from the data that triggered a finding is
    * included in the response; see Finding.quote.
@@ -152,22 +191,28 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * bool include_quote = 4; + * * @return The includeQuote. */ boolean getIncludeQuote(); /** + * + * *
    * When true, excludes type information of the findings.
    * This is not used for data profiling.
    * 
* * bool exclude_info_types = 5; + * * @return The excludeInfoTypes. */ boolean getExcludeInfoTypes(); /** + * + * *
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -175,9 +220,10 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
-  java.util.List 
-      getCustomInfoTypesList();
+  java.util.List getCustomInfoTypesList();
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -187,6 +233,8 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    */
   com.google.privacy.dlp.v2.CustomInfoType getCustomInfoTypes(int index);
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -196,6 +244,8 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    */
   int getCustomInfoTypesCount();
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -203,9 +253,11 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
-  java.util.List 
+  java.util.List
       getCustomInfoTypesOrBuilderList();
   /**
+   *
+   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -213,59 +265,74 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6;
    */
-  com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return A list containing the contentOptions. */ java.util.List getContentOptionsList(); /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return The count of contentOptions. */ int getContentOptionsCount(); /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the element to return. * @return The contentOptions at the given index. */ com.google.privacy.dlp.v2.ContentOption getContentOptions(int index); /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @return A list containing the enum numeric values on the wire for contentOptions. */ - java.util.List - getContentOptionsValueList(); + java.util.List getContentOptionsValueList(); /** + * + * *
    * Deprecated and unused.
    * 
* * repeated .google.privacy.dlp.v2.ContentOption content_options = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contentOptions at the given index. */ int getContentOptionsValue(int index); /** + * + * *
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -274,9 +341,10 @@ com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
-  java.util.List 
-      getRuleSetList();
+  java.util.List getRuleSetList();
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -287,6 +355,8 @@ com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
    */
   com.google.privacy.dlp.v2.InspectionRuleSet getRuleSet(int index);
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -297,6 +367,8 @@ com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
    */
   int getRuleSetCount();
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -305,9 +377,11 @@ com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
-  java.util.List 
+  java.util.List
       getRuleSetOrBuilderList();
   /**
+   *
+   *
    * 
    * Set of rules to apply to the findings for this InspectConfig.
    * Exclusion rules, contained in the set are executed in the end, other
@@ -316,6 +390,5 @@ com.google.privacy.dlp.v2.CustomInfoTypeOrBuilder getCustomInfoTypesOrBuilder(
    *
    * repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10;
    */
-  com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder getRuleSetOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
similarity index 75%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
index a31ad476..1ef8c335 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Request to search for potentially sensitive info in a ContentItem.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentRequest} */ -public final class InspectContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InspectContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectContentRequest) InspectContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InspectContentRequest.newBuilder() to construct. private InspectContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InspectContentRequest() { parent_ = ""; inspectTemplateName_ = ""; @@ -27,16 +45,15 @@ private InspectContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InspectContentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InspectContentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,85 +72,98 @@ private InspectContentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); + parent_ = s; + break; } - inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); + } + inspectConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = + input.readMessage( + com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; } - item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - inspectTemplateName_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + inspectTemplateName_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentRequest.class, com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); + com.google.privacy.dlp.v2.InspectContentRequest.class, + com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -150,6 +180,7 @@ private InspectContentRequest(
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -158,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; } } /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -182,16 +214,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.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 { @@ -202,12 +233,15 @@ public java.lang.String getParent() { public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** + * + * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -215,19 +249,26 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } /** + * + * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
@@ -243,11 +284,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
   public static final int ITEM_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.ContentItem item_;
   /**
+   *
+   *
    * 
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return Whether the item field is set. */ @java.lang.Override @@ -255,11 +299,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return The item. */ @java.lang.Override @@ -267,6 +314,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The item to inspect.
    * 
@@ -281,6 +330,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object inspectTemplateName_; /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -290,6 +341,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 4; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -298,14 +350,15 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -315,16 +368,15 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 4; + * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -335,11 +387,14 @@ public java.lang.String getInspectTemplateName() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ @java.lang.Override @@ -348,29 +403,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -379,6 +434,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +446,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -420,12 +475,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); } if (item_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inspectTemplateName_); @@ -441,29 +494,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.privacy.dlp.v2.InspectContentRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectContentRequest other = (com.google.privacy.dlp.v2.InspectContentRequest) obj; + com.google.privacy.dlp.v2.InspectContentRequest other = + (com.google.privacy.dlp.v2.InspectContentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem() - .equals(other.getItem())) return false; + if (!getItem().equals(other.getItem())) return false; } - if (!getInspectTemplateName() - .equals(other.getInspectTemplateName())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -494,118 +543,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in a ContentItem.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectContentRequest) com.google.privacy.dlp.v2.InspectContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentRequest.class, com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); + com.google.privacy.dlp.v2.InspectContentRequest.class, + com.google.privacy.dlp.v2.InspectContentRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectContentRequest.newBuilder() @@ -613,16 +671,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +705,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor; } @java.lang.Override @@ -669,7 +726,8 @@ public com.google.privacy.dlp.v2.InspectContentRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectContentRequest buildPartial() { - com.google.privacy.dlp.v2.InspectContentRequest result = new com.google.privacy.dlp.v2.InspectContentRequest(this); + com.google.privacy.dlp.v2.InspectContentRequest result = + new com.google.privacy.dlp.v2.InspectContentRequest(this); result.parent_ = parent_; if (inspectConfigBuilder_ == null) { result.inspectConfig_ = inspectConfig_; @@ -691,38 +749,39 @@ public com.google.privacy.dlp.v2.InspectContentRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectContentRequest) { - return mergeFrom((com.google.privacy.dlp.v2.InspectContentRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.InspectContentRequest) other); } else { super.mergeFrom(other); return this; @@ -730,7 +789,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectContentRequest other) { - if (other == com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.InspectContentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -780,6 +840,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -796,13 +858,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.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; @@ -811,6 +873,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -827,15 +891,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.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 { @@ -843,6 +906,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -859,20 +924,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -889,15 +956,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -914,16 +984,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -931,36 +1001,49 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> + inspectConfigBuilder_; /** + * + * *
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -982,6 +1065,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1001,6 +1086,8 @@ public Builder setInspectConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1012,7 +1099,9 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       if (inspectConfigBuilder_ == null) {
         if (inspectConfig_ != null) {
           inspectConfig_ =
-            com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           inspectConfig_ = value;
         }
@@ -1024,6 +1113,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1043,6 +1134,8 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1051,11 +1144,13 @@ public Builder clearInspectConfig() {
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      */
     public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() {
-      
+
       onChanged();
       return getInspectConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1067,11 +1162,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
       if (inspectConfigBuilder_ != null) {
         return inspectConfigBuilder_.getMessageOrBuilder();
       } else {
-        return inspectConfig_ == null ?
-            com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_;
+        return inspectConfig_ == null
+            ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance()
+            : inspectConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1080,14 +1178,17 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
      * .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> 
+            com.google.privacy.dlp.v2.InspectConfig,
+            com.google.privacy.dlp.v2.InspectConfig.Builder,
+            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
         getInspectConfigFieldBuilder() {
       if (inspectConfigBuilder_ == null) {
-        inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
-                getInspectConfig(),
-                getParentForChildren(),
-                isClean());
+        inspectConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InspectConfig,
+                com.google.privacy.dlp.v2.InspectConfig.Builder,
+                com.google.privacy.dlp.v2.InspectConfigOrBuilder>(
+                getInspectConfig(), getParentForChildren(), isClean());
         inspectConfig_ = null;
       }
       return inspectConfigBuilder_;
@@ -1095,24 +1196,33 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
 
     private com.google.privacy.dlp.v2.ContentItem item_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_;
+            com.google.privacy.dlp.v2.ContentItem,
+            com.google.privacy.dlp.v2.ContentItem.Builder,
+            com.google.privacy.dlp.v2.ContentItemOrBuilder>
+        itemBuilder_;
     /**
+     *
+     *
      * 
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -1123,6 +1233,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to inspect.
      * 
@@ -1143,14 +1255,15 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to inspect.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 3; */ - public Builder setItem( - com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -1161,6 +1274,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -1171,7 +1286,9 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -1183,6 +1300,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -1201,6 +1320,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -1208,11 +1329,13 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 3; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** + * + * *
      * The item to inspect.
      * 
@@ -1223,11 +1346,12 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? - com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** + * + * *
      * The item to inspect.
      * 
@@ -1235,14 +1359,17 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), - getParentForChildren(), - isClean()); + itemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), getParentForChildren(), isClean()); item_ = null; } return itemBuilder_; @@ -1250,6 +1377,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private java.lang.Object inspectTemplateName_ = ""; /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1259,13 +1388,13 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
      * 
* * string inspect_template_name = 4; + * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1274,6 +1403,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1283,15 +1414,14 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 4; + * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1299,6 +1429,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1308,20 +1440,22 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 4; + * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName( - java.lang.String value) { + public Builder setInspectTemplateName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1331,15 +1465,18 @@ public Builder setInspectTemplateName(
      * 
* * string inspect_template_name = 4; + * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * inspect_config will override those set in the template. Singular fields
@@ -1349,16 +1486,16 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 4; + * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes( - com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; @@ -1366,18 +1503,20 @@ public Builder setInspectTemplateNameBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1386,20 +1525,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1407,61 +1547,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1471,12 +1618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectContentRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectContentRequest) private static final com.google.privacy.dlp.v2.InspectContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectContentRequest(); } @@ -1485,16 +1632,16 @@ public static com.google.privacy.dlp.v2.InspectContentRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectContentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectContentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1509,6 +1656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java index d2079954..340d5c05 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectContentRequestOrBuilder extends +public interface InspectContentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectContentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -24,10 +42,13 @@ public interface InspectContentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -44,32 +65,40 @@ public interface InspectContentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * Configuration for the inspector. What specified here will override
    * the template referenced by the inspect_template_name argument.
@@ -80,24 +109,32 @@ public interface InspectContentRequestOrBuilder extends
   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return Whether the item field is set. */ boolean hasItem(); /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** + * + * *
    * The item to inspect.
    * 
@@ -107,6 +144,8 @@ public interface InspectContentRequestOrBuilder extends com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -116,10 +155,13 @@ public interface InspectContentRequestOrBuilder extends
    * 
* * string inspect_template_name = 4; + * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * inspect_config will override those set in the template. Singular fields
@@ -129,28 +171,33 @@ public interface InspectContentRequestOrBuilder extends
    * 
* * string inspect_template_name = 4; + * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString - getInspectTemplateNameBytes(); + com.google.protobuf.ByteString getInspectTemplateNameBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java index 5c34b241..9d34c025 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Results of inspecting an item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentResponse} */ -public final class InspectContentResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InspectContentResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectContentResponse) InspectContentResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InspectContentResponse.newBuilder() to construct. private InspectContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InspectContentResponse() { - } + + private InspectContentResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InspectContentResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InspectContentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,59 +68,67 @@ private InspectContentResponse( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; - if (result_ != null) { - subBuilder = result_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; + if (result_ != null) { + subBuilder = result_.toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(result_); + result_ = subBuilder.buildPartial(); + } + + break; } - result_ = input.readMessage(com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(result_); - result_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentResponse.class, com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); + com.google.privacy.dlp.v2.InspectContentResponse.class, + com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); } public static final int RESULT_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InspectResult result_; /** + * + * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return Whether the result field is set. */ @java.lang.Override @@ -112,11 +136,14 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return The result. */ @java.lang.Override @@ -124,6 +151,8 @@ public com.google.privacy.dlp.v2.InspectResult getResult() { return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; } /** + * + * *
    * The findings.
    * 
@@ -136,6 +165,7 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (result_ != null) { output.writeMessage(1, getResult()); } @@ -162,8 +191,7 @@ public int getSerializedSize() { size = 0; if (result_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,17 +201,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.privacy.dlp.v2.InspectContentResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectContentResponse other = (com.google.privacy.dlp.v2.InspectContentResponse) obj; + com.google.privacy.dlp.v2.InspectContentResponse other = + (com.google.privacy.dlp.v2.InspectContentResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -205,118 +233,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectContentResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectContentResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Results of inspecting an item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectContentResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectContentResponse) com.google.privacy.dlp.v2.InspectContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectContentResponse.class, com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); + com.google.privacy.dlp.v2.InspectContentResponse.class, + com.google.privacy.dlp.v2.InspectContentResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectContentResponse.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor; } @java.lang.Override @@ -368,7 +404,8 @@ public com.google.privacy.dlp.v2.InspectContentResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectContentResponse buildPartial() { - com.google.privacy.dlp.v2.InspectContentResponse result = new com.google.privacy.dlp.v2.InspectContentResponse(this); + com.google.privacy.dlp.v2.InspectContentResponse result = + new com.google.privacy.dlp.v2.InspectContentResponse(this); if (resultBuilder_ == null) { result.result_ = result_; } else { @@ -382,38 +419,39 @@ public com.google.privacy.dlp.v2.InspectContentResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectContentResponse) { - return mergeFrom((com.google.privacy.dlp.v2.InspectContentResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.InspectContentResponse) other); } else { super.mergeFrom(other); return this; @@ -421,7 +459,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectContentResponse other) { - if (other == com.google.privacy.dlp.v2.InspectContentResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.InspectContentResponse.getDefaultInstance()) + return this; if (other.hasResult()) { mergeResult(other.getResult()); } @@ -456,34 +495,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InspectResult result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> resultBuilder_; + com.google.privacy.dlp.v2.InspectResult, + com.google.privacy.dlp.v2.InspectResult.Builder, + com.google.privacy.dlp.v2.InspectResultOrBuilder> + resultBuilder_; /** + * + * *
      * The findings.
      * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** + * + * *
      * The findings.
      * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return The result. */ public com.google.privacy.dlp.v2.InspectResult getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * The findings.
      * 
@@ -504,14 +556,15 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** + * + * *
      * The findings.
      * 
* * .google.privacy.dlp.v2.InspectResult result = 1; */ - public Builder setResult( - com.google.privacy.dlp.v2.InspectResult.Builder builderForValue) { + public Builder setResult(com.google.privacy.dlp.v2.InspectResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -522,6 +575,8 @@ public Builder setResult( return this; } /** + * + * *
      * The findings.
      * 
@@ -532,7 +587,9 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectResult value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = - com.google.privacy.dlp.v2.InspectResult.newBuilder(result_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectResult.newBuilder(result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -544,6 +601,8 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** + * + * *
      * The findings.
      * 
@@ -562,6 +621,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * The findings.
      * 
@@ -569,11 +630,13 @@ public Builder clearResult() { * .google.privacy.dlp.v2.InspectResult result = 1; */ public com.google.privacy.dlp.v2.InspectResult.Builder getResultBuilder() { - + onChanged(); return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * The findings.
      * 
@@ -584,11 +647,14 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() + : result_; } } /** + * + * *
      * The findings.
      * 
@@ -596,21 +662,24 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { * .google.privacy.dlp.v2.InspectResult result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> + com.google.privacy.dlp.v2.InspectResult, + com.google.privacy.dlp.v2.InspectResult.Builder, + com.google.privacy.dlp.v2.InspectResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectResult, + com.google.privacy.dlp.v2.InspectResult.Builder, + com.google.privacy.dlp.v2.InspectResultOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectContentResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectContentResponse) private static final com.google.privacy.dlp.v2.InspectContentResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectContentResponse(); } @@ -634,16 +703,16 @@ public static com.google.privacy.dlp.v2.InspectContentResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectContentResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectContentResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,6 +727,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java index 2595a8c8..cd3ec926 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectContentResponseOrBuilder extends +public interface InspectContentResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectContentResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return The result. */ com.google.privacy.dlp.v2.InspectResult getResult(); /** + * + * *
    * The findings.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java index 96f86208..0dce0310 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The results of an inspect DataSource job.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails} */ -public final class InspectDataSourceDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InspectDataSourceDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectDataSourceDetails) InspectDataSourceDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InspectDataSourceDetails.newBuilder() to construct. private InspectDataSourceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InspectDataSourceDetails() { - } + + private InspectDataSourceDetails() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InspectDataSourceDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InspectDataSourceDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,89 +68,109 @@ private InspectDataSourceDetails( case 0: done = true; break; - case 18: { - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder subBuilder = null; - if (requestedOptions_ != null) { - subBuilder = requestedOptions_.toBuilder(); - } - requestedOptions_ = input.readMessage(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestedOptions_); - requestedOptions_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder + subBuilder = null; + if (requestedOptions_ != null) { + subBuilder = requestedOptions_.toBuilder(); + } + requestedOptions_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedOptions_); + requestedOptions_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder subBuilder = null; - if (result_ != null) { - subBuilder = result_.toBuilder(); - } - result_ = input.readMessage(com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(result_); - result_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder subBuilder = null; + if (result_ != null) { + subBuilder = result_.toBuilder(); + } + result_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(result_); + result_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.class, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); } - public interface RequestedOptionsOrBuilder extends + public interface RequestedOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * * @return Whether the snapshotInspectTemplate field is set. */ boolean hasSnapshotInspectTemplate(); /** + * + * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * * @return The snapshotInspectTemplate. */ com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate(); /** + * + * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
@@ -145,24 +181,32 @@ public interface RequestedOptionsOrBuilder extends
     com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder();
 
     /**
+     *
+     *
      * 
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; + * * @return Whether the jobConfig field is set. */ boolean hasJobConfig(); /** + * + * *
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; + * * @return The jobConfig. */ com.google.privacy.dlp.v2.InspectJobConfig getJobConfig(); /** + * + * *
      * Inspect config.
      * 
@@ -172,36 +216,37 @@ public interface RequestedOptionsOrBuilder extends com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder(); } /** + * + * *
    * Snapshot of the inspection configuration.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions} */ - public static final class RequestedOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RequestedOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) RequestedOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RequestedOptions.newBuilder() to construct. private RequestedOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RequestedOptions() { - } + + private RequestedOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RequestedOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RequestedOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -220,73 +265,84 @@ private RequestedOptions( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; - if (snapshotInspectTemplate_ != null) { - subBuilder = snapshotInspectTemplate_.toBuilder(); - } - snapshotInspectTemplate_ = input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotInspectTemplate_); - snapshotInspectTemplate_ = subBuilder.buildPartial(); + case 10: + { + com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; + if (snapshotInspectTemplate_ != null) { + subBuilder = snapshotInspectTemplate_.toBuilder(); + } + snapshotInspectTemplate_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotInspectTemplate_); + snapshotInspectTemplate_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null; - if (jobConfig_ != null) { - subBuilder = jobConfig_.toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null; + if (jobConfig_ != null) { + subBuilder = jobConfig_.toBuilder(); + } + jobConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobConfig_); + jobConfig_ = subBuilder.buildPartial(); + } + + break; } - jobConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobConfig_); - jobConfig_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); } public static final int SNAPSHOT_INSPECT_TEMPLATE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InspectTemplate snapshotInspectTemplate_; /** + * + * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * * @return Whether the snapshotInspectTemplate field is set. */ @java.lang.Override @@ -294,19 +350,26 @@ public boolean hasSnapshotInspectTemplate() { return snapshotInspectTemplate_ != null; } /** + * + * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
      * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * * @return The snapshotInspectTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() { - return snapshotInspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : snapshotInspectTemplate_; + return snapshotInspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : snapshotInspectTemplate_; } /** + * + * *
      * If run with an InspectTemplate, a snapshot of its state at the time of
      * this run.
@@ -315,18 +378,22 @@ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() {
      * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder() {
+    public com.google.privacy.dlp.v2.InspectTemplateOrBuilder
+        getSnapshotInspectTemplateOrBuilder() {
       return getSnapshotInspectTemplate();
     }
 
     public static final int JOB_CONFIG_FIELD_NUMBER = 3;
     private com.google.privacy.dlp.v2.InspectJobConfig jobConfig_;
     /**
+     *
+     *
      * 
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; + * * @return Whether the jobConfig field is set. */ @java.lang.Override @@ -334,18 +401,25 @@ public boolean hasJobConfig() { return jobConfig_ != null; } /** + * + * *
      * Inspect config.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; + * * @return The jobConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() { - return jobConfig_ == null ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() : jobConfig_; + return jobConfig_ == null + ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() + : jobConfig_; } /** + * + * *
      * Inspect config.
      * 
@@ -358,6 +432,7 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,8 +444,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (snapshotInspectTemplate_ != null) { output.writeMessage(1, getSnapshotInspectTemplate()); } @@ -387,12 +461,12 @@ public int getSerializedSize() { size = 0; if (snapshotInspectTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSnapshotInspectTemplate()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getSnapshotInspectTemplate()); } if (jobConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getJobConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getJobConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -402,22 +476,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.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other = (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) obj; + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other = + (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) obj; if (hasSnapshotInspectTemplate() != other.hasSnapshotInspectTemplate()) return false; if (hasSnapshotInspectTemplate()) { - if (!getSnapshotInspectTemplate() - .equals(other.getSnapshotInspectTemplate())) return false; + if (!getSnapshotInspectTemplate().equals(other.getSnapshotInspectTemplate())) return false; } if (hasJobConfig() != other.hasJobConfig()) return false; if (hasJobConfig()) { - if (!getJobConfig() - .equals(other.getJobConfig())) return false; + if (!getJobConfig().equals(other.getJobConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -444,87 +517,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -534,44 +615,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Snapshot of the inspection configuration.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.class, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder.class); } - // Construct using com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -591,14 +677,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_RequestedOptions_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance(); + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + .getDefaultInstance(); } @java.lang.Override @@ -612,7 +700,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions build @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions buildPartial() { - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions result = new com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions(this); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions result = + new com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions(this); if (snapshotInspectTemplateBuilder_ == null) { result.snapshotInspectTemplate_ = snapshotInspectTemplate_; } else { @@ -631,46 +720,53 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) { - return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions)other); + return mergeFrom( + (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other) { - if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions other) { + if (other + == com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + .getDefaultInstance()) return this; if (other.hasSnapshotInspectTemplate()) { mergeSnapshotInspectTemplate(other.getSnapshotInspectTemplate()); } @@ -696,7 +792,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -708,36 +806,49 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InspectTemplate snapshotInspectTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> snapshotInspectTemplateBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + snapshotInspectTemplateBuilder_; /** + * + * *
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
        * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * * @return Whether the snapshotInspectTemplate field is set. */ public boolean hasSnapshotInspectTemplate() { return snapshotInspectTemplateBuilder_ != null || snapshotInspectTemplate_ != null; } /** + * + * *
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
        * 
* * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * * @return The snapshotInspectTemplate. */ public com.google.privacy.dlp.v2.InspectTemplate getSnapshotInspectTemplate() { if (snapshotInspectTemplateBuilder_ == null) { - return snapshotInspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : snapshotInspectTemplate_; + return snapshotInspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : snapshotInspectTemplate_; } else { return snapshotInspectTemplateBuilder_.getMessage(); } } /** + * + * *
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -759,6 +870,8 @@ public Builder setSnapshotInspectTemplate(com.google.privacy.dlp.v2.InspectTempl
         return this;
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -778,6 +891,8 @@ public Builder setSnapshotInspectTemplate(
         return this;
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -789,7 +904,9 @@ public Builder mergeSnapshotInspectTemplate(com.google.privacy.dlp.v2.InspectTem
         if (snapshotInspectTemplateBuilder_ == null) {
           if (snapshotInspectTemplate_ != null) {
             snapshotInspectTemplate_ =
-              com.google.privacy.dlp.v2.InspectTemplate.newBuilder(snapshotInspectTemplate_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.InspectTemplate.newBuilder(snapshotInspectTemplate_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             snapshotInspectTemplate_ = value;
           }
@@ -801,6 +918,8 @@ public Builder mergeSnapshotInspectTemplate(com.google.privacy.dlp.v2.InspectTem
         return this;
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -820,6 +939,8 @@ public Builder clearSnapshotInspectTemplate() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -828,11 +949,13 @@ public Builder clearSnapshotInspectTemplate() {
        * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
        */
       public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTemplateBuilder() {
-        
+
         onChanged();
         return getSnapshotInspectTemplateFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -840,15 +963,19 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getSnapshotInspectTempl
        *
        * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
        */
-      public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemplateOrBuilder() {
+      public com.google.privacy.dlp.v2.InspectTemplateOrBuilder
+          getSnapshotInspectTemplateOrBuilder() {
         if (snapshotInspectTemplateBuilder_ != null) {
           return snapshotInspectTemplateBuilder_.getMessageOrBuilder();
         } else {
-          return snapshotInspectTemplate_ == null ?
-              com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : snapshotInspectTemplate_;
+          return snapshotInspectTemplate_ == null
+              ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()
+              : snapshotInspectTemplate_;
         }
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -857,14 +984,17 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemp
        * .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> 
+              com.google.privacy.dlp.v2.InspectTemplate,
+              com.google.privacy.dlp.v2.InspectTemplate.Builder,
+              com.google.privacy.dlp.v2.InspectTemplateOrBuilder>
           getSnapshotInspectTemplateFieldBuilder() {
         if (snapshotInspectTemplateBuilder_ == null) {
-          snapshotInspectTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>(
-                  getSnapshotInspectTemplate(),
-                  getParentForChildren(),
-                  isClean());
+          snapshotInspectTemplateBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.InspectTemplate,
+                  com.google.privacy.dlp.v2.InspectTemplate.Builder,
+                  com.google.privacy.dlp.v2.InspectTemplateOrBuilder>(
+                  getSnapshotInspectTemplate(), getParentForChildren(), isClean());
           snapshotInspectTemplate_ = null;
         }
         return snapshotInspectTemplateBuilder_;
@@ -872,34 +1002,47 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getSnapshotInspectTemp
 
       private com.google.privacy.dlp.v2.InspectJobConfig jobConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> jobConfigBuilder_;
+              com.google.privacy.dlp.v2.InspectJobConfig,
+              com.google.privacy.dlp.v2.InspectJobConfig.Builder,
+              com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>
+          jobConfigBuilder_;
       /**
+       *
+       *
        * 
        * Inspect config.
        * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; + * * @return Whether the jobConfig field is set. */ public boolean hasJobConfig() { return jobConfigBuilder_ != null || jobConfig_ != null; } /** + * + * *
        * Inspect config.
        * 
* * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; + * * @return The jobConfig. */ public com.google.privacy.dlp.v2.InspectJobConfig getJobConfig() { if (jobConfigBuilder_ == null) { - return jobConfig_ == null ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() : jobConfig_; + return jobConfig_ == null + ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() + : jobConfig_; } else { return jobConfigBuilder_.getMessage(); } } /** + * + * *
        * Inspect config.
        * 
@@ -920,6 +1063,8 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** + * + * *
        * Inspect config.
        * 
@@ -938,6 +1083,8 @@ public Builder setJobConfig( return this; } /** + * + * *
        * Inspect config.
        * 
@@ -948,7 +1095,9 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) if (jobConfigBuilder_ == null) { if (jobConfig_ != null) { jobConfig_ = - com.google.privacy.dlp.v2.InspectJobConfig.newBuilder(jobConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectJobConfig.newBuilder(jobConfig_) + .mergeFrom(value) + .buildPartial(); } else { jobConfig_ = value; } @@ -960,6 +1109,8 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** + * + * *
        * Inspect config.
        * 
@@ -978,6 +1129,8 @@ public Builder clearJobConfig() { return this; } /** + * + * *
        * Inspect config.
        * 
@@ -985,11 +1138,13 @@ public Builder clearJobConfig() { * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; */ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getJobConfigBuilder() { - + onChanged(); return getJobConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Inspect config.
        * 
@@ -1000,11 +1155,14 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder if (jobConfigBuilder_ != null) { return jobConfigBuilder_.getMessageOrBuilder(); } else { - return jobConfig_ == null ? - com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() : jobConfig_; + return jobConfig_ == null + ? com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance() + : jobConfig_; } } /** + * + * *
        * Inspect config.
        * 
@@ -1012,18 +1170,22 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder * .google.privacy.dlp.v2.InspectJobConfig job_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> getJobConfigFieldBuilder() { if (jobConfigBuilder_ == null) { - jobConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( - getJobConfig(), - getParentForChildren(), - isClean()); + jobConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( + getJobConfig(), getParentForChildren(), isClean()); jobConfig_ = null; } return jobConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1036,30 +1198,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions) - private static final com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions(); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getDefaultInstance() { + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestedOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RequestedOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestedOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RequestedOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1071,37 +1235,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResultOrBuilder extends + public interface ResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectDataSourceDetails.Result) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Total size in bytes that were processed.
      * 
* * int64 processed_bytes = 1; + * * @return The processedBytes. */ long getProcessedBytes(); /** + * + * *
      * Estimate of the number of bytes to process.
      * 
* * int64 total_estimated_bytes = 2; + * * @return The totalEstimatedBytes. */ long getTotalEstimatedBytes(); /** + * + * *
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1109,9 +1282,10 @@ public interface ResultOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
-    java.util.List 
-        getInfoTypeStatsList();
+    java.util.List getInfoTypeStatsList();
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1121,6 +1295,8 @@ public interface ResultOrBuilder extends
      */
     com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index);
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1130,6 +1306,8 @@ public interface ResultOrBuilder extends
      */
     int getInfoTypeStatsCount();
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1137,9 +1315,11 @@ public interface ResultOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
-    java.util.List 
+    java.util.List
         getInfoTypeStatsOrBuilderList();
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1147,28 +1327,35 @@ public interface ResultOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
-    com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(
-        int index);
+    com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; + * * @return Whether the hybridStats field is set. */ boolean hasHybridStats(); /** + * + * *
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; + * * @return The hybridStats. */ com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats(); /** + * + * *
      * Statistics related to the processing of hybrid inspect.
      * 
@@ -1178,37 +1365,39 @@ com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder( com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStatsOrBuilder(); } /** + * + * *
    * All result fields mentioned below are updated while the job is processing.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.Result} */ - public static final class Result extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Result extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectDataSourceDetails.Result) ResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Result.newBuilder() to construct. private Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Result() { infoTypeStats_ = 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 Result(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Result( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1228,52 +1417,58 @@ private Result( case 0: done = true; break; - case 8: { - - processedBytes_ = input.readInt64(); - break; - } - case 16: { - - totalEstimatedBytes_ = input.readInt64(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypeStats_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 8: + { + processedBytes_ = input.readInt64(); + break; } - infoTypeStats_.add( - input.readMessage(com.google.privacy.dlp.v2.InfoTypeStats.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.privacy.dlp.v2.HybridInspectStatistics.Builder subBuilder = null; - if (hybridStats_ != null) { - subBuilder = hybridStats_.toBuilder(); + case 16: + { + totalEstimatedBytes_ = input.readInt64(); + break; } - hybridStats_ = input.readMessage(com.google.privacy.dlp.v2.HybridInspectStatistics.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(hybridStats_); - hybridStats_ = subBuilder.buildPartial(); + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypeStats_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + infoTypeStats_.add( + input.readMessage( + com.google.privacy.dlp.v2.InfoTypeStats.parser(), extensionRegistry)); + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 58: + { + com.google.privacy.dlp.v2.HybridInspectStatistics.Builder subBuilder = null; + if (hybridStats_ != null) { + subBuilder = hybridStats_.toBuilder(); + } + hybridStats_ = + input.readMessage( + com.google.privacy.dlp.v2.HybridInspectStatistics.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(hybridStats_); + hybridStats_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { infoTypeStats_ = java.util.Collections.unmodifiableList(infoTypeStats_); @@ -1282,27 +1477,33 @@ private Result( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); } public static final int PROCESSED_BYTES_FIELD_NUMBER = 1; private long processedBytes_; /** + * + * *
      * Total size in bytes that were processed.
      * 
* * int64 processed_bytes = 1; + * * @return The processedBytes. */ @java.lang.Override @@ -1313,11 +1514,14 @@ public long getProcessedBytes() { public static final int TOTAL_ESTIMATED_BYTES_FIELD_NUMBER = 2; private long totalEstimatedBytes_; /** + * + * *
      * Estimate of the number of bytes to process.
      * 
* * int64 total_estimated_bytes = 2; + * * @return The totalEstimatedBytes. */ @java.lang.Override @@ -1328,6 +1532,8 @@ public long getTotalEstimatedBytes() { public static final int INFO_TYPE_STATS_FIELD_NUMBER = 3; private java.util.List infoTypeStats_; /** + * + * *
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1340,6 +1546,8 @@ public java.util.List getInfoTypeStatsL
       return infoTypeStats_;
     }
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1348,11 +1556,13 @@ public java.util.List getInfoTypeStatsL
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getInfoTypeStatsOrBuilderList() {
       return infoTypeStats_;
     }
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1365,6 +1575,8 @@ public int getInfoTypeStatsCount() {
       return infoTypeStats_.size();
     }
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1377,6 +1589,8 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
       return infoTypeStats_.get(index);
     }
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1385,19 +1599,21 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
      * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index) {
       return infoTypeStats_.get(index);
     }
 
     public static final int HYBRID_STATS_FIELD_NUMBER = 7;
     private com.google.privacy.dlp.v2.HybridInspectStatistics hybridStats_;
     /**
+     *
+     *
      * 
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; + * * @return Whether the hybridStats field is set. */ @java.lang.Override @@ -1405,18 +1621,25 @@ public boolean hasHybridStats() { return hybridStats_ != null; } /** + * + * *
      * Statistics related to the processing of hybrid inspect.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; + * * @return The hybridStats. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() { - return hybridStats_ == null ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() : hybridStats_; + return hybridStats_ == null + ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() + : hybridStats_; } /** + * + * *
      * Statistics related to the processing of hybrid inspect.
      * 
@@ -1429,6 +1652,7 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1440,8 +1664,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (processedBytes_ != 0L) { output.writeInt64(1, processedBytes_); } @@ -1464,20 +1687,16 @@ public int getSerializedSize() { size = 0; if (processedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, processedBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, processedBytes_); } if (totalEstimatedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, totalEstimatedBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, totalEstimatedBytes_); } for (int i = 0; i < infoTypeStats_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, infoTypeStats_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, infoTypeStats_.get(i)); } if (hybridStats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getHybridStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHybridStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1487,23 +1706,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.privacy.dlp.v2.InspectDataSourceDetails.Result)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result other = (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) obj; + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result other = + (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) obj; - if (getProcessedBytes() - != other.getProcessedBytes()) return false; - if (getTotalEstimatedBytes() - != other.getTotalEstimatedBytes()) return false; - if (!getInfoTypeStatsList() - .equals(other.getInfoTypeStatsList())) return false; + if (getProcessedBytes() != other.getProcessedBytes()) return false; + if (getTotalEstimatedBytes() != other.getTotalEstimatedBytes()) return false; + if (!getInfoTypeStatsList().equals(other.getInfoTypeStatsList())) return false; if (hasHybridStats() != other.hasHybridStats()) return false; if (hasHybridStats()) { - if (!getHybridStats() - .equals(other.getHybridStats())) return false; + if (!getHybridStats().equals(other.getHybridStats())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1517,11 +1733,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PROCESSED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getProcessedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProcessedBytes()); hash = (37 * hash) + TOTAL_ESTIMATED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTotalEstimatedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalEstimatedBytes()); if (getInfoTypeStatsCount() > 0) { hash = (37 * hash) + INFO_TYPE_STATS_FIELD_NUMBER; hash = (53 * hash) + getInfoTypeStatsList().hashCode(); @@ -1536,87 +1750,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InspectDataSourceDetails.Result prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1626,27 +1847,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * All result fields mentioned below are updated while the job is processing.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails.Result} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectDataSourceDetails.Result) com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.class, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.newBuilder() @@ -1654,17 +1880,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getInfoTypeStatsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1688,9 +1914,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_Result_descriptor; } @java.lang.Override @@ -1709,7 +1935,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result buildPartial() { - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result = new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(this); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result = + new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(this); int from_bitField0_ = bitField0_; result.processedBytes_ = processedBytes_; result.totalEstimatedBytes_ = totalEstimatedBytes_; @@ -1735,38 +1962,41 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.InspectDataSourceDetails.Result) { - return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails.Result)other); + return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) other); } else { super.mergeFrom(other); return this; @@ -1774,7 +2004,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.Result other) { - if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance()) + return this; if (other.getProcessedBytes() != 0L) { setProcessedBytes(other.getProcessedBytes()); } @@ -1799,9 +2030,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu infoTypeStatsBuilder_ = null; infoTypeStats_ = other.infoTypeStats_; bitField0_ = (bitField0_ & ~0x00000001); - infoTypeStatsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInfoTypeStatsFieldBuilder() : null; + infoTypeStatsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInfoTypeStatsFieldBuilder() + : null; } else { infoTypeStatsBuilder_.addAllMessages(other.infoTypeStats_); } @@ -1829,7 +2061,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.InspectDataSourceDetails.Result) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1838,15 +2071,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long processedBytes_ ; + private long processedBytes_; /** + * + * *
        * Total size in bytes that were processed.
        * 
* * int64 processed_bytes = 1; + * * @return The processedBytes. */ @java.lang.Override @@ -1854,42 +2091,51 @@ public long getProcessedBytes() { return processedBytes_; } /** + * + * *
        * Total size in bytes that were processed.
        * 
* * int64 processed_bytes = 1; + * * @param value The processedBytes to set. * @return This builder for chaining. */ public Builder setProcessedBytes(long value) { - + processedBytes_ = value; onChanged(); return this; } /** + * + * *
        * Total size in bytes that were processed.
        * 
* * int64 processed_bytes = 1; + * * @return This builder for chaining. */ public Builder clearProcessedBytes() { - + processedBytes_ = 0L; onChanged(); return this; } - private long totalEstimatedBytes_ ; + private long totalEstimatedBytes_; /** + * + * *
        * Estimate of the number of bytes to process.
        * 
* * int64 total_estimated_bytes = 2; + * * @return The totalEstimatedBytes. */ @java.lang.Override @@ -1897,48 +2143,61 @@ public long getTotalEstimatedBytes() { return totalEstimatedBytes_; } /** + * + * *
        * Estimate of the number of bytes to process.
        * 
* * int64 total_estimated_bytes = 2; + * * @param value The totalEstimatedBytes to set. * @return This builder for chaining. */ public Builder setTotalEstimatedBytes(long value) { - + totalEstimatedBytes_ = value; onChanged(); return this; } /** + * + * *
        * Estimate of the number of bytes to process.
        * 
* * int64 total_estimated_bytes = 2; + * * @return This builder for chaining. */ public Builder clearTotalEstimatedBytes() { - + totalEstimatedBytes_ = 0L; onChanged(); return this; } private java.util.List infoTypeStats_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInfoTypeStatsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - infoTypeStats_ = new java.util.ArrayList(infoTypeStats_); + infoTypeStats_ = + new java.util.ArrayList(infoTypeStats_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeStats, com.google.privacy.dlp.v2.InfoTypeStats.Builder, com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder> infoTypeStatsBuilder_; + com.google.privacy.dlp.v2.InfoTypeStats, + com.google.privacy.dlp.v2.InfoTypeStats.Builder, + com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder> + infoTypeStatsBuilder_; /** + * + * *
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -1954,6 +2213,8 @@ public java.util.List getInfoTypeStatsL
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -1969,6 +2230,8 @@ public int getInfoTypeStatsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -1984,6 +2247,8 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -1991,8 +2256,7 @@ public com.google.privacy.dlp.v2.InfoTypeStats getInfoTypeStats(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public Builder setInfoTypeStats(
-          int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
+      public Builder setInfoTypeStats(int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
         if (infoTypeStatsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2006,6 +2270,8 @@ public Builder setInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2025,6 +2291,8 @@ public Builder setInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2046,6 +2314,8 @@ public Builder addInfoTypeStats(com.google.privacy.dlp.v2.InfoTypeStats value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2053,8 +2323,7 @@ public Builder addInfoTypeStats(com.google.privacy.dlp.v2.InfoTypeStats value) {
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public Builder addInfoTypeStats(
-          int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
+      public Builder addInfoTypeStats(int index, com.google.privacy.dlp.v2.InfoTypeStats value) {
         if (infoTypeStatsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2068,6 +2337,8 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2087,6 +2358,8 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2106,6 +2379,8 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2117,8 +2392,7 @@ public Builder addAllInfoTypeStats(
           java.lang.Iterable values) {
         if (infoTypeStatsBuilder_ == null) {
           ensureInfoTypeStatsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, infoTypeStats_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypeStats_);
           onChanged();
         } else {
           infoTypeStatsBuilder_.addAllMessages(values);
@@ -2126,6 +2400,8 @@ public Builder addAllInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2144,6 +2420,8 @@ public Builder clearInfoTypeStats() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2162,6 +2440,8 @@ public Builder removeInfoTypeStats(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2169,11 +2449,12 @@ public Builder removeInfoTypeStats(int index) {
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public com.google.privacy.dlp.v2.InfoTypeStats.Builder getInfoTypeStatsBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.InfoTypeStats.Builder getInfoTypeStatsBuilder(int index) {
         return getInfoTypeStatsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2181,14 +2462,16 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder getInfoTypeStatsBuilder(
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilder(int index) {
         if (infoTypeStatsBuilder_ == null) {
-          return infoTypeStats_.get(index);  } else {
+          return infoTypeStats_.get(index);
+        } else {
           return infoTypeStatsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2196,8 +2479,8 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public java.util.List 
-           getInfoTypeStatsOrBuilderList() {
+      public java.util.List
+          getInfoTypeStatsOrBuilderList() {
         if (infoTypeStatsBuilder_ != null) {
           return infoTypeStatsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2205,6 +2488,8 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2213,10 +2498,12 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
       public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder() {
-        return getInfoTypeStatsFieldBuilder().addBuilder(
-            com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
+        return getInfoTypeStatsFieldBuilder()
+            .addBuilder(com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2224,12 +2511,13 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder()
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(
-          int index) {
-        return getInfoTypeStatsFieldBuilder().addBuilder(
-            index, com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
+      public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(int index) {
+        return getInfoTypeStatsFieldBuilder()
+            .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeStats.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2237,16 +2525,22 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(
        *
        * repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3;
        */
-      public java.util.List 
-           getInfoTypeStatsBuilderList() {
+      public java.util.List
+          getInfoTypeStatsBuilderList() {
         return getInfoTypeStatsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.InfoTypeStats, com.google.privacy.dlp.v2.InfoTypeStats.Builder, com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder> 
+              com.google.privacy.dlp.v2.InfoTypeStats,
+              com.google.privacy.dlp.v2.InfoTypeStats.Builder,
+              com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>
           getInfoTypeStatsFieldBuilder() {
         if (infoTypeStatsBuilder_ == null) {
-          infoTypeStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoTypeStats, com.google.privacy.dlp.v2.InfoTypeStats.Builder, com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>(
+          infoTypeStatsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.privacy.dlp.v2.InfoTypeStats,
+                  com.google.privacy.dlp.v2.InfoTypeStats.Builder,
+                  com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder>(
                   infoTypeStats_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -2258,34 +2552,47 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(
 
       private com.google.privacy.dlp.v2.HybridInspectStatistics hybridStats_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.HybridInspectStatistics, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder> hybridStatsBuilder_;
+              com.google.privacy.dlp.v2.HybridInspectStatistics,
+              com.google.privacy.dlp.v2.HybridInspectStatistics.Builder,
+              com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder>
+          hybridStatsBuilder_;
       /**
+       *
+       *
        * 
        * Statistics related to the processing of hybrid inspect.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; + * * @return Whether the hybridStats field is set. */ public boolean hasHybridStats() { return hybridStatsBuilder_ != null || hybridStats_ != null; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; + * * @return The hybridStats. */ public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() { if (hybridStatsBuilder_ == null) { - return hybridStats_ == null ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() : hybridStats_; + return hybridStats_ == null + ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() + : hybridStats_; } else { return hybridStatsBuilder_.getMessage(); } } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2306,6 +2613,8 @@ public Builder setHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistics return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2324,6 +2633,8 @@ public Builder setHybridStats( return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2334,7 +2645,9 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic if (hybridStatsBuilder_ == null) { if (hybridStats_ != null) { hybridStats_ = - com.google.privacy.dlp.v2.HybridInspectStatistics.newBuilder(hybridStats_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.HybridInspectStatistics.newBuilder(hybridStats_) + .mergeFrom(value) + .buildPartial(); } else { hybridStats_ = value; } @@ -2346,6 +2659,8 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2364,6 +2679,8 @@ public Builder clearHybridStats() { return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2371,11 +2688,13 @@ public Builder clearHybridStats() { * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; */ public com.google.privacy.dlp.v2.HybridInspectStatistics.Builder getHybridStatsBuilder() { - + onChanged(); return getHybridStatsFieldBuilder().getBuilder(); } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2386,11 +2705,14 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats if (hybridStatsBuilder_ != null) { return hybridStatsBuilder_.getMessageOrBuilder(); } else { - return hybridStats_ == null ? - com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() : hybridStats_; + return hybridStats_ == null + ? com.google.privacy.dlp.v2.HybridInspectStatistics.getDefaultInstance() + : hybridStats_; } } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2398,18 +2720,22 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridInspectStatistics, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder> + com.google.privacy.dlp.v2.HybridInspectStatistics, + com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, + com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder> getHybridStatsFieldBuilder() { if (hybridStatsBuilder_ == null) { - hybridStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridInspectStatistics, com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder>( - getHybridStats(), - getParentForChildren(), - isClean()); + hybridStatsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridInspectStatistics, + com.google.privacy.dlp.v2.HybridInspectStatistics.Builder, + com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder>( + getHybridStats(), getParentForChildren(), isClean()); hybridStats_ = null; } return hybridStatsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2422,12 +2748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectDataSourceDetails.Result) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectDataSourceDetails.Result) private static final com.google.privacy.dlp.v2.InspectDataSourceDetails.Result DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectDataSourceDetails.Result(); } @@ -2436,16 +2762,16 @@ public static com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Result parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Result(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Result parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Result(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2460,17 +2786,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int REQUESTED_OPTIONS_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requestedOptions_; /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * + * * @return Whether the requestedOptions field is set. */ @java.lang.Override @@ -2478,37 +2807,50 @@ public boolean hasRequestedOptions() { return requestedOptions_ != null; } /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * + * * @return The requestedOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions() { - return requestedOptions_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() : requestedOptions_; + return requestedOptions_ == null + ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() + : requestedOptions_; } /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder + getRequestedOptionsOrBuilder() { return getRequestedOptions(); } public static final int RESULT_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result_; /** + * + * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * * @return Whether the result field is set. */ @java.lang.Override @@ -2516,18 +2858,25 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * * @return The result. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() { - return result_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() : result_; + return result_ == null + ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() + : result_; } /** + * + * *
    * A summary of the outcome of this inspection job.
    * 
@@ -2540,6 +2889,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2551,8 +2901,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (requestedOptions_ != null) { output.writeMessage(2, getRequestedOptions()); } @@ -2569,12 +2918,10 @@ public int getSerializedSize() { size = 0; if (requestedOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRequestedOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestedOptions()); } if (result_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2584,22 +2931,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.privacy.dlp.v2.InspectDataSourceDetails)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectDataSourceDetails other = (com.google.privacy.dlp.v2.InspectDataSourceDetails) obj; + com.google.privacy.dlp.v2.InspectDataSourceDetails other = + (com.google.privacy.dlp.v2.InspectDataSourceDetails) obj; if (hasRequestedOptions() != other.hasRequestedOptions()) return false; if (hasRequestedOptions()) { - if (!getRequestedOptions() - .equals(other.getRequestedOptions())) return false; + if (!getRequestedOptions().equals(other.getRequestedOptions())) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult() - .equals(other.getResult())) return false; + if (!getResult().equals(other.getResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2626,117 +2972,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectDataSourceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectDataSourceDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 results of an inspect DataSource job.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectDataSourceDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectDataSourceDetails) com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectDataSourceDetails.class, com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); + com.google.privacy.dlp.v2.InspectDataSourceDetails.class, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectDataSourceDetails.newBuilder() @@ -2744,16 +3099,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2773,9 +3127,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor; } @java.lang.Override @@ -2794,7 +3148,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectDataSourceDetails buildPartial() { - com.google.privacy.dlp.v2.InspectDataSourceDetails result = new com.google.privacy.dlp.v2.InspectDataSourceDetails(this); + com.google.privacy.dlp.v2.InspectDataSourceDetails result = + new com.google.privacy.dlp.v2.InspectDataSourceDetails(this); if (requestedOptionsBuilder_ == null) { result.requestedOptions_ = requestedOptions_; } else { @@ -2813,38 +3168,39 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectDataSourceDetails) { - return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails)other); + return mergeFrom((com.google.privacy.dlp.v2.InspectDataSourceDetails) other); } else { super.mergeFrom(other); return this; @@ -2852,7 +3208,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.InspectDataSourceDetails other) { - if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.InspectDataSourceDetails.getDefaultInstance()) + return this; if (other.hasRequestedOptions()) { mergeRequestedOptions(other.getRequestedOptions()); } @@ -2878,7 +3235,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.InspectDataSourceDetails) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.InspectDataSourceDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2890,41 +3248,60 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requestedOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> requestedOptionsBuilder_; + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> + requestedOptionsBuilder_; /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * + * * @return Whether the requestedOptions field is set. */ public boolean hasRequestedOptions() { return requestedOptionsBuilder_ != null || requestedOptions_ != null; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * + * * @return The requestedOptions. */ - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + getRequestedOptions() { if (requestedOptionsBuilder_ == null) { - return requestedOptions_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() : requestedOptions_; + return requestedOptions_ == null + ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + .getDefaultInstance() + : requestedOptions_; } else { return requestedOptionsBuilder_.getMessage(); } } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ - public Builder setRequestedOptions(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { + public Builder setRequestedOptions( + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { if (requestedOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2938,14 +3315,18 @@ public Builder setRequestedOptions(com.google.privacy.dlp.v2.InspectDataSourceDe return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ public Builder setRequestedOptions( - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder builderForValue) { + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder + builderForValue) { if (requestedOptionsBuilder_ == null) { requestedOptions_ = builderForValue.build(); onChanged(); @@ -2956,17 +3337,24 @@ public Builder setRequestedOptions( return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ - public Builder mergeRequestedOptions(com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { + public Builder mergeRequestedOptions( + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions value) { if (requestedOptionsBuilder_ == null) { if (requestedOptions_ != null) { requestedOptions_ = - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder(requestedOptions_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.newBuilder( + requestedOptions_) + .mergeFrom(value) + .buildPartial(); } else { requestedOptions_ = value; } @@ -2978,11 +3366,14 @@ public Builder mergeRequestedOptions(com.google.privacy.dlp.v2.InspectDataSource return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ public Builder clearRequestedOptions() { if (requestedOptionsBuilder_ == null) { @@ -2996,48 +3387,64 @@ public Builder clearRequestedOptions() { return this; } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder getRequestedOptionsBuilder() { - + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder + getRequestedOptionsBuilder() { + onChanged(); return getRequestedOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ - public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder getRequestedOptionsOrBuilder() { + public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder + getRequestedOptionsOrBuilder() { if (requestedOptionsBuilder_ != null) { return requestedOptionsBuilder_.getMessageOrBuilder(); } else { - return requestedOptions_ == null ? - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.getDefaultInstance() : requestedOptions_; + return requestedOptions_ == null + ? com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions + .getDefaultInstance() + : requestedOptions_; } } /** + * + * *
      * The configuration used for this job.
      * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder> getRequestedOptionsFieldBuilder() { if (requestedOptionsBuilder_ == null) { - requestedOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder>( - getRequestedOptions(), - getParentForChildren(), - isClean()); + requestedOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder>( + getRequestedOptions(), getParentForChildren(), isClean()); requestedOptions_ = null; } return requestedOptionsBuilder_; @@ -3045,34 +3452,47 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuil private com.google.privacy.dlp.v2.InspectDataSourceDetails.Result result_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> resultBuilder_; + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> + resultBuilder_; /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * * @return The result. */ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() : result_; + return result_ == null + ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3093,6 +3513,8 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3111,6 +3533,8 @@ public Builder setResult( return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3121,7 +3545,9 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re if (resultBuilder_ == null) { if (result_ != null) { result_ = - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.newBuilder(result_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.newBuilder(result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -3133,6 +3559,8 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3151,6 +3579,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3158,11 +3588,13 @@ public Builder clearResult() { * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; */ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder getResultBuilder() { - + onChanged(); return getResultFieldBuilder().getBuilder(); } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3173,11 +3605,14 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { - return result_ == null ? - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() : result_; + return result_ == null + ? com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.getDefaultInstance() + : result_; } } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3185,21 +3620,24 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); + resultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result, + com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder, + com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder>( + getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3209,12 +3647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectDataSourceDetails) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectDataSourceDetails) private static final com.google.privacy.dlp.v2.InspectDataSourceDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectDataSourceDetails(); } @@ -3223,16 +3661,16 @@ public static com.google.privacy.dlp.v2.InspectDataSourceDetails getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectDataSourceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectDataSourceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectDataSourceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectDataSourceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3247,6 +3685,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectDataSourceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java index ace7119d..af173210 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectDataSourceDetailsOrBuilder extends +public interface InspectDataSourceDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectDataSourceDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * + * * @return Whether the requestedOptions field is set. */ boolean hasRequestedOptions(); /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * + * * @return The requestedOptions. */ com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRequestedOptions(); /** + * + * *
    * The configuration used for this job.
    * 
* - * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * .google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions requested_options = 2; + * */ - com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder getRequestedOptionsOrBuilder(); + com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptionsOrBuilder + getRequestedOptionsOrBuilder(); /** + * + * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * * @return The result. */ com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult(); /** + * + * *
    * A summary of the outcome of this inspection job.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java index bc0ba2e4..a1c00219 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Controls what and how to inspect for findings.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectJobConfig} */ -public final class InspectJobConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InspectJobConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectJobConfig) InspectJobConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InspectJobConfig.newBuilder() to construct. private InspectJobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InspectJobConfig() { inspectTemplateName_ = ""; actions_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private InspectJobConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InspectJobConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InspectJobConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,61 +72,68 @@ private InspectJobConfig( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.StorageConfig.Builder subBuilder = null; - if (storageConfig_ != null) { - subBuilder = storageConfig_.toBuilder(); - } - storageConfig_ = input.readMessage(com.google.privacy.dlp.v2.StorageConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(storageConfig_); - storageConfig_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.StorageConfig.Builder subBuilder = null; + if (storageConfig_ != null) { + subBuilder = storageConfig_.toBuilder(); + } + storageConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.StorageConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(storageConfig_); + storageConfig_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); - } - inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); + } + inspectConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - inspectTemplateName_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - actions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inspectTemplateName_ = s; + break; } - actions_.add( - input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + actions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + actions_.add( + input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); @@ -118,27 +142,33 @@ private InspectJobConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectJobConfig.class, com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); + com.google.privacy.dlp.v2.InspectJobConfig.class, + com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); } public static final int STORAGE_CONFIG_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.StorageConfig storageConfig_; /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; + * * @return Whether the storageConfig field is set. */ @java.lang.Override @@ -146,18 +176,25 @@ public boolean hasStorageConfig() { return storageConfig_ != null; } /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; + * * @return The storageConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() { - return storageConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() : storageConfig_; + return storageConfig_ == null + ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() + : storageConfig_; } /** + * + * *
    * The data to scan.
    * 
@@ -172,11 +209,14 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** + * + * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -184,18 +224,25 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } /** + * + * *
    * How and what to scan for.
    * 
@@ -210,6 +257,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object inspectTemplateName_; /** + * + * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -217,6 +266,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
    * 
* * string inspect_template_name = 3; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -225,14 +275,15 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** + * + * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -240,16 +291,15 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 3; + * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -260,6 +310,8 @@ public java.lang.String getInspectTemplateName() { public static final int ACTIONS_FIELD_NUMBER = 4; private java.util.List actions_; /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -271,6 +323,8 @@ public java.util.List getActionsList() { return actions_; } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -278,11 +332,13 @@ public java.util.List getActionsList() { * repeated .google.privacy.dlp.v2.Action actions = 4; */ @java.lang.Override - public java.util.List + public java.util.List getActionsOrBuilderList() { return actions_; } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -294,6 +350,8 @@ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -305,6 +363,8 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { return actions_.get(index); } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -312,12 +372,12 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { * repeated .google.privacy.dlp.v2.Action actions = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) { return actions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,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 (storageConfig_ != null) { output.writeMessage(1, getStorageConfig()); } @@ -353,19 +412,16 @@ public int getSerializedSize() { size = 0; if (storageConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStorageConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStorageConfig()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inspectTemplateName_); } for (int i = 0; i < actions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, actions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, actions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -375,27 +431,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.privacy.dlp.v2.InspectJobConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectJobConfig other = (com.google.privacy.dlp.v2.InspectJobConfig) obj; + com.google.privacy.dlp.v2.InspectJobConfig other = + (com.google.privacy.dlp.v2.InspectJobConfig) obj; if (hasStorageConfig() != other.hasStorageConfig()) return false; if (hasStorageConfig()) { - if (!getStorageConfig() - .equals(other.getStorageConfig())) return false; + if (!getStorageConfig().equals(other.getStorageConfig())) return false; } if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } - if (!getInspectTemplateName() - .equals(other.getInspectTemplateName())) return false; - if (!getActionsList() - .equals(other.getActionsList())) return false; + if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -426,118 +479,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectJobConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectJobConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectJobConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectJobConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Controls what and how to inspect for findings.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectJobConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectJobConfig) com.google.privacy.dlp.v2.InspectJobConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectJobConfig.class, com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); + com.google.privacy.dlp.v2.InspectJobConfig.class, + com.google.privacy.dlp.v2.InspectJobConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectJobConfig.newBuilder() @@ -545,17 +607,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +645,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor; } @java.lang.Override @@ -604,7 +666,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig buildPartial() { - com.google.privacy.dlp.v2.InspectJobConfig result = new com.google.privacy.dlp.v2.InspectJobConfig(this); + com.google.privacy.dlp.v2.InspectJobConfig result = + new com.google.privacy.dlp.v2.InspectJobConfig(this); int from_bitField0_ = bitField0_; if (storageConfigBuilder_ == null) { result.storageConfig_ = storageConfig_; @@ -634,38 +697,39 @@ public com.google.privacy.dlp.v2.InspectJobConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectJobConfig) { - return mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) other); } else { super.mergeFrom(other); return this; @@ -702,9 +766,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectJobConfig other) { actionsBuilder_ = null; actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); - actionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getActionsFieldBuilder() : null; + actionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getActionsFieldBuilder() + : null; } else { actionsBuilder_.addAllMessages(other.actions_); } @@ -738,38 +803,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.privacy.dlp.v2.StorageConfig storageConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig, com.google.privacy.dlp.v2.StorageConfig.Builder, com.google.privacy.dlp.v2.StorageConfigOrBuilder> storageConfigBuilder_; + com.google.privacy.dlp.v2.StorageConfig, + com.google.privacy.dlp.v2.StorageConfig.Builder, + com.google.privacy.dlp.v2.StorageConfigOrBuilder> + storageConfigBuilder_; /** + * + * *
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; + * * @return Whether the storageConfig field is set. */ public boolean hasStorageConfig() { return storageConfigBuilder_ != null || storageConfig_ != null; } /** + * + * *
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; + * * @return The storageConfig. */ public com.google.privacy.dlp.v2.StorageConfig getStorageConfig() { if (storageConfigBuilder_ == null) { - return storageConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() : storageConfig_; + return storageConfig_ == null + ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() + : storageConfig_; } else { return storageConfigBuilder_.getMessage(); } } /** + * + * *
      * The data to scan.
      * 
@@ -790,6 +869,8 @@ public Builder setStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) { return this; } /** + * + * *
      * The data to scan.
      * 
@@ -808,6 +889,8 @@ public Builder setStorageConfig( return this; } /** + * + * *
      * The data to scan.
      * 
@@ -818,7 +901,9 @@ public Builder mergeStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) if (storageConfigBuilder_ == null) { if (storageConfig_ != null) { storageConfig_ = - com.google.privacy.dlp.v2.StorageConfig.newBuilder(storageConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.StorageConfig.newBuilder(storageConfig_) + .mergeFrom(value) + .buildPartial(); } else { storageConfig_ = value; } @@ -830,6 +915,8 @@ public Builder mergeStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) return this; } /** + * + * *
      * The data to scan.
      * 
@@ -848,6 +935,8 @@ public Builder clearStorageConfig() { return this; } /** + * + * *
      * The data to scan.
      * 
@@ -855,11 +944,13 @@ public Builder clearStorageConfig() { * .google.privacy.dlp.v2.StorageConfig storage_config = 1; */ public com.google.privacy.dlp.v2.StorageConfig.Builder getStorageConfigBuilder() { - + onChanged(); return getStorageConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The data to scan.
      * 
@@ -870,11 +961,14 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde if (storageConfigBuilder_ != null) { return storageConfigBuilder_.getMessageOrBuilder(); } else { - return storageConfig_ == null ? - com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() : storageConfig_; + return storageConfig_ == null + ? com.google.privacy.dlp.v2.StorageConfig.getDefaultInstance() + : storageConfig_; } } /** + * + * *
      * The data to scan.
      * 
@@ -882,14 +976,17 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde * .google.privacy.dlp.v2.StorageConfig storage_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig, com.google.privacy.dlp.v2.StorageConfig.Builder, com.google.privacy.dlp.v2.StorageConfigOrBuilder> + com.google.privacy.dlp.v2.StorageConfig, + com.google.privacy.dlp.v2.StorageConfig.Builder, + com.google.privacy.dlp.v2.StorageConfigOrBuilder> getStorageConfigFieldBuilder() { if (storageConfigBuilder_ == null) { - storageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig, com.google.privacy.dlp.v2.StorageConfig.Builder, com.google.privacy.dlp.v2.StorageConfigOrBuilder>( - getStorageConfig(), - getParentForChildren(), - isClean()); + storageConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageConfig, + com.google.privacy.dlp.v2.StorageConfig.Builder, + com.google.privacy.dlp.v2.StorageConfigOrBuilder>( + getStorageConfig(), getParentForChildren(), isClean()); storageConfig_ = null; } return storageConfigBuilder_; @@ -897,34 +994,47 @@ public com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilde private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> + inspectConfigBuilder_; /** + * + * *
      * How and what to scan for.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * How and what to scan for.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** + * + * *
      * How and what to scan for.
      * 
@@ -945,6 +1055,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -963,6 +1075,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -973,7 +1087,9 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) + .mergeFrom(value) + .buildPartial(); } else { inspectConfig_ = value; } @@ -985,6 +1101,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -1003,6 +1121,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -1010,11 +1130,13 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * How and what to scan for.
      * 
@@ -1025,11 +1147,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null ? - com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } } /** + * + * *
      * How and what to scan for.
      * 
@@ -1037,14 +1162,17 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), - getParentForChildren(), - isClean()); + inspectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), getParentForChildren(), isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; @@ -1052,6 +1180,8 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde private java.lang.Object inspectTemplateName_ = ""; /** + * + * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1059,13 +1189,13 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
      * 
* * string inspect_template_name = 3; + * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1074,6 +1204,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1081,15 +1213,14 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 3; + * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1097,6 +1228,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1104,20 +1237,22 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 3; + * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName( - java.lang.String value) { + public Builder setInspectTemplateName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** + * + * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1125,15 +1260,18 @@ public Builder setInspectTemplateName(
      * 
* * string inspect_template_name = 3; + * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** + * + * *
      * If provided, will be used as the default for all values in InspectConfig.
      * `inspect_config` will be merged into the values persisted as part of the
@@ -1141,34 +1279,40 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 3; + * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes( - com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; } private java.util.List actions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { actions_ = new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> actionsBuilder_; + com.google.privacy.dlp.v2.Action, + com.google.privacy.dlp.v2.Action.Builder, + com.google.privacy.dlp.v2.ActionOrBuilder> + actionsBuilder_; /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1183,6 +1327,8 @@ public java.util.List getActionsList() { } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1197,6 +1343,8 @@ public int getActionsCount() { } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1211,14 +1359,15 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder setActions( - int index, com.google.privacy.dlp.v2.Action value) { + public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1232,14 +1381,15 @@ public Builder setActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder setActions( - int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { + public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.set(index, builderForValue.build()); @@ -1250,6 +1400,8 @@ public Builder setActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1270,14 +1422,15 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) { return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder addActions( - int index, com.google.privacy.dlp.v2.Action value) { + public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) { if (actionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1291,14 +1444,15 @@ public Builder addActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder addActions( - com.google.privacy.dlp.v2.Action.Builder builderForValue) { + public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(builderForValue.build()); @@ -1309,14 +1463,15 @@ public Builder addActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public Builder addActions( - int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { + public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); actions_.add(index, builderForValue.build()); @@ -1327,6 +1482,8 @@ public Builder addActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1337,8 +1494,7 @@ public Builder addAllActions( java.lang.Iterable values) { if (actionsBuilder_ == null) { ensureActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, actions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_); onChanged(); } else { actionsBuilder_.addAllMessages(values); @@ -1346,6 +1502,8 @@ public Builder addAllActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1363,6 +1521,8 @@ public Builder clearActions() { return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1380,39 +1540,44 @@ public Builder removeActions(int index) { return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder( - int index) { + public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(int index) { return getActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) { if (actionsBuilder_ == null) { - return actions_.get(index); } else { + return actions_.get(index); + } else { return actionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public java.util.List - getActionsOrBuilderList() { + public java.util.List + getActionsOrBuilderList() { if (actionsBuilder_ != null) { return actionsBuilder_.getMessageOrBuilderList(); } else { @@ -1420,6 +1585,8 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1427,49 +1594,54 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( * repeated .google.privacy.dlp.v2.Action actions = 4; */ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() { - return getActionsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Action.getDefaultInstance()); + return getActionsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Action.getDefaultInstance()); } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder( - int index) { - return getActionsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Action.getDefaultInstance()); + public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(int index) { + return getActionsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Action.getDefaultInstance()); } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - public java.util.List - getActionsBuilderList() { + public java.util.List getActionsBuilderList() { return getActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> + com.google.privacy.dlp.v2.Action, + com.google.privacy.dlp.v2.Action.Builder, + com.google.privacy.dlp.v2.ActionOrBuilder> getActionsFieldBuilder() { if (actionsBuilder_ == null) { - actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder>( - actions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + actionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Action, + com.google.privacy.dlp.v2.Action.Builder, + com.google.privacy.dlp.v2.ActionOrBuilder>( + actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); actions_ = null; } return actionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1479,12 +1651,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectJobConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectJobConfig) private static final com.google.privacy.dlp.v2.InspectJobConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectJobConfig(); } @@ -1493,16 +1665,16 @@ public static com.google.privacy.dlp.v2.InspectJobConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectJobConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectJobConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectJobConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectJobConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1517,6 +1689,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectJobConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java index 00a4054b..f7e55c5e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectJobConfigOrBuilder extends +public interface InspectJobConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectJobConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; + * * @return Whether the storageConfig field is set. */ boolean hasStorageConfig(); /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.StorageConfig storage_config = 1; + * * @return The storageConfig. */ com.google.privacy.dlp.v2.StorageConfig getStorageConfig(); /** + * + * *
    * The data to scan.
    * 
@@ -35,24 +59,32 @@ public interface InspectJobConfigOrBuilder extends com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilder(); /** + * + * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * How and what to scan for.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * How and what to scan for.
    * 
@@ -62,6 +94,8 @@ public interface InspectJobConfigOrBuilder extends com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); /** + * + * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -69,10 +103,13 @@ public interface InspectJobConfigOrBuilder extends
    * 
* * string inspect_template_name = 3; + * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** + * + * *
    * If provided, will be used as the default for all values in InspectConfig.
    * `inspect_config` will be merged into the values persisted as part of the
@@ -80,21 +117,24 @@ public interface InspectJobConfigOrBuilder extends
    * 
* * string inspect_template_name = 3; + * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString - getInspectTemplateNameBytes(); + com.google.protobuf.ByteString getInspectTemplateNameBytes(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - java.util.List - getActionsList(); + java.util.List getActionsList(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -103,6 +143,8 @@ public interface InspectJobConfigOrBuilder extends */ com.google.privacy.dlp.v2.Action getActions(int index); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -111,21 +153,23 @@ public interface InspectJobConfigOrBuilder extends */ int getActionsCount(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - java.util.List - getActionsOrBuilderList(); + java.util.List getActionsOrBuilderList(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; */ - com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( - int index); + com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java index 1cb1578c..52016e8c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResult.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * All the findings for a single scanned item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectResult} */ -public final class InspectResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InspectResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectResult) InspectResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InspectResult.newBuilder() to construct. private InspectResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InspectResult() { findings_ = 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 InspectResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InspectResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,34 +71,34 @@ private InspectResult( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - findings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + findings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + findings_.add( + input.readMessage(com.google.privacy.dlp.v2.Finding.parser(), extensionRegistry)); + break; } - findings_.add( - input.readMessage(com.google.privacy.dlp.v2.Finding.parser(), extensionRegistry)); - break; - } - case 16: { - - findingsTruncated_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + findingsTruncated_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { findings_ = java.util.Collections.unmodifiableList(findings_); @@ -90,22 +107,27 @@ private InspectResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectResult.class, com.google.privacy.dlp.v2.InspectResult.Builder.class); + com.google.privacy.dlp.v2.InspectResult.class, + com.google.privacy.dlp.v2.InspectResult.Builder.class); } public static final int FINDINGS_FIELD_NUMBER = 1; private java.util.List findings_; /** + * + * *
    * List of findings for an item.
    * 
@@ -117,6 +139,8 @@ public java.util.List getFindingsList() { return findings_; } /** + * + * *
    * List of findings for an item.
    * 
@@ -124,11 +148,13 @@ public java.util.List getFindingsList() { * repeated .google.privacy.dlp.v2.Finding findings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFindingsOrBuilderList() { return findings_; } /** + * + * *
    * List of findings for an item.
    * 
@@ -140,6 +166,8 @@ public int getFindingsCount() { return findings_.size(); } /** + * + * *
    * List of findings for an item.
    * 
@@ -151,6 +179,8 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { return findings_.get(index); } /** + * + * *
    * List of findings for an item.
    * 
@@ -158,14 +188,15 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { * repeated .google.privacy.dlp.v2.Finding findings = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index) { return findings_.get(index); } public static final int FINDINGS_TRUNCATED_FIELD_NUMBER = 2; private boolean findingsTruncated_; /** + * + * *
    * If true, then this item might have more findings than were returned,
    * and the findings returned are an arbitrary subset of all findings.
@@ -176,6 +207,7 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(
    * 
* * bool findings_truncated = 2; + * * @return The findingsTruncated. */ @java.lang.Override @@ -184,6 +216,7 @@ public boolean getFindingsTruncated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,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 { for (int i = 0; i < findings_.size(); i++) { output.writeMessage(1, findings_.get(i)); } @@ -213,12 +245,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < findings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, findings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, findings_.get(i)); } if (findingsTruncated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, findingsTruncated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, findingsTruncated_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,17 +258,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.privacy.dlp.v2.InspectResult)) { return super.equals(obj); } com.google.privacy.dlp.v2.InspectResult other = (com.google.privacy.dlp.v2.InspectResult) obj; - if (!getFindingsList() - .equals(other.getFindingsList())) return false; - if (getFindingsTruncated() - != other.getFindingsTruncated()) return false; + if (!getFindingsList().equals(other.getFindingsList())) return false; + if (getFindingsTruncated() != other.getFindingsTruncated()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -255,125 +283,133 @@ public int hashCode() { hash = (53 * hash) + getFindingsList().hashCode(); } hash = (37 * hash) + FINDINGS_TRUNCATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFindingsTruncated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFindingsTruncated()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.InspectResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * All the findings for a single scanned item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectResult) com.google.privacy.dlp.v2.InspectResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InspectResult.class, com.google.privacy.dlp.v2.InspectResult.Builder.class); + com.google.privacy.dlp.v2.InspectResult.class, + com.google.privacy.dlp.v2.InspectResult.Builder.class); } // Construct using com.google.privacy.dlp.v2.InspectResult.newBuilder() @@ -381,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFindingsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InspectResult_descriptor; } @java.lang.Override @@ -428,7 +464,8 @@ public com.google.privacy.dlp.v2.InspectResult build() { @java.lang.Override public com.google.privacy.dlp.v2.InspectResult buildPartial() { - com.google.privacy.dlp.v2.InspectResult result = new com.google.privacy.dlp.v2.InspectResult(this); + com.google.privacy.dlp.v2.InspectResult result = + new com.google.privacy.dlp.v2.InspectResult(this); int from_bitField0_ = bitField0_; if (findingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -448,38 +485,39 @@ public com.google.privacy.dlp.v2.InspectResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InspectResult) { - return mergeFrom((com.google.privacy.dlp.v2.InspectResult)other); + return mergeFrom((com.google.privacy.dlp.v2.InspectResult) other); } else { super.mergeFrom(other); return this; @@ -506,9 +544,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectResult other) { findingsBuilder_ = null; findings_ = other.findings_; bitField0_ = (bitField0_ & ~0x00000001); - findingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFindingsFieldBuilder() : null; + findingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFindingsFieldBuilder() + : null; } else { findingsBuilder_.addAllMessages(other.findings_); } @@ -545,21 +584,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List findings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { findings_ = new java.util.ArrayList(findings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Finding, com.google.privacy.dlp.v2.Finding.Builder, com.google.privacy.dlp.v2.FindingOrBuilder> findingsBuilder_; + com.google.privacy.dlp.v2.Finding, + com.google.privacy.dlp.v2.Finding.Builder, + com.google.privacy.dlp.v2.FindingOrBuilder> + findingsBuilder_; /** + * + * *
      * List of findings for an item.
      * 
@@ -574,6 +620,8 @@ public java.util.List getFindingsList() { } } /** + * + * *
      * List of findings for an item.
      * 
@@ -588,6 +636,8 @@ public int getFindingsCount() { } } /** + * + * *
      * List of findings for an item.
      * 
@@ -602,14 +652,15 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { } } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public Builder setFindings( - int index, com.google.privacy.dlp.v2.Finding value) { + public Builder setFindings(int index, com.google.privacy.dlp.v2.Finding value) { if (findingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -623,6 +674,8 @@ public Builder setFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -641,6 +694,8 @@ public Builder setFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -661,14 +716,15 @@ public Builder addFindings(com.google.privacy.dlp.v2.Finding value) { return this; } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public Builder addFindings( - int index, com.google.privacy.dlp.v2.Finding value) { + public Builder addFindings(int index, com.google.privacy.dlp.v2.Finding value) { if (findingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -682,14 +738,15 @@ public Builder addFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public Builder addFindings( - com.google.privacy.dlp.v2.Finding.Builder builderForValue) { + public Builder addFindings(com.google.privacy.dlp.v2.Finding.Builder builderForValue) { if (findingsBuilder_ == null) { ensureFindingsIsMutable(); findings_.add(builderForValue.build()); @@ -700,6 +757,8 @@ public Builder addFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -718,6 +777,8 @@ public Builder addFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -728,8 +789,7 @@ public Builder addAllFindings( java.lang.Iterable values) { if (findingsBuilder_ == null) { ensureFindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, findings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, findings_); onChanged(); } else { findingsBuilder_.addAllMessages(values); @@ -737,6 +797,8 @@ public Builder addAllFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -754,6 +816,8 @@ public Builder clearFindings() { return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -771,39 +835,44 @@ public Builder removeFindings(int index) { return this; } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public com.google.privacy.dlp.v2.Finding.Builder getFindingsBuilder( - int index) { + public com.google.privacy.dlp.v2.Finding.Builder getFindingsBuilder(int index) { return getFindingsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index) { if (findingsBuilder_ == null) { - return findings_.get(index); } else { + return findings_.get(index); + } else { return findingsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public java.util.List - getFindingsOrBuilderList() { + public java.util.List + getFindingsOrBuilderList() { if (findingsBuilder_ != null) { return findingsBuilder_.getMessageOrBuilderList(); } else { @@ -811,6 +880,8 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( } } /** + * + * *
      * List of findings for an item.
      * 
@@ -818,49 +889,56 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( * repeated .google.privacy.dlp.v2.Finding findings = 1; */ public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder() { - return getFindingsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Finding.getDefaultInstance()); + return getFindingsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Finding.getDefaultInstance()); } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder( - int index) { - return getFindingsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Finding.getDefaultInstance()); + public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder(int index) { + return getFindingsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Finding.getDefaultInstance()); } /** + * + * *
      * List of findings for an item.
      * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - public java.util.List - getFindingsBuilderList() { + public java.util.List getFindingsBuilderList() { return getFindingsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Finding, com.google.privacy.dlp.v2.Finding.Builder, com.google.privacy.dlp.v2.FindingOrBuilder> + com.google.privacy.dlp.v2.Finding, + com.google.privacy.dlp.v2.Finding.Builder, + com.google.privacy.dlp.v2.FindingOrBuilder> getFindingsFieldBuilder() { if (findingsBuilder_ == null) { - findingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Finding, com.google.privacy.dlp.v2.Finding.Builder, com.google.privacy.dlp.v2.FindingOrBuilder>( - findings_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + findingsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Finding, + com.google.privacy.dlp.v2.Finding.Builder, + com.google.privacy.dlp.v2.FindingOrBuilder>( + findings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); findings_ = null; } return findingsBuilder_; } - private boolean findingsTruncated_ ; + private boolean findingsTruncated_; /** + * + * *
      * If true, then this item might have more findings than were returned,
      * and the findings returned are an arbitrary subset of all findings.
@@ -871,6 +949,7 @@ public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder(
      * 
* * bool findings_truncated = 2; + * * @return The findingsTruncated. */ @java.lang.Override @@ -878,6 +957,8 @@ public boolean getFindingsTruncated() { return findingsTruncated_; } /** + * + * *
      * If true, then this item might have more findings than were returned,
      * and the findings returned are an arbitrary subset of all findings.
@@ -888,16 +969,19 @@ public boolean getFindingsTruncated() {
      * 
* * bool findings_truncated = 2; + * * @param value The findingsTruncated to set. * @return This builder for chaining. */ public Builder setFindingsTruncated(boolean value) { - + findingsTruncated_ = value; onChanged(); return this; } /** + * + * *
      * If true, then this item might have more findings than were returned,
      * and the findings returned are an arbitrary subset of all findings.
@@ -908,17 +992,18 @@ public Builder setFindingsTruncated(boolean value) {
      * 
* * bool findings_truncated = 2; + * * @return This builder for chaining. */ public Builder clearFindingsTruncated() { - + findingsTruncated_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -928,12 +1013,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectResult) private static final com.google.privacy.dlp.v2.InspectResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectResult(); } @@ -942,16 +1027,16 @@ public static com.google.privacy.dlp.v2.InspectResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -966,6 +1051,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java index 0bd251f5..fc22e3d6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectResultOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectResultOrBuilder extends +public interface InspectResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of findings for an item.
    * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - java.util.List - getFindingsList(); + java.util.List getFindingsList(); /** + * + * *
    * List of findings for an item.
    * 
@@ -25,6 +44,8 @@ public interface InspectResultOrBuilder extends */ com.google.privacy.dlp.v2.Finding getFindings(int index); /** + * + * *
    * List of findings for an item.
    * 
@@ -33,25 +54,29 @@ public interface InspectResultOrBuilder extends */ int getFindingsCount(); /** + * + * *
    * List of findings for an item.
    * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - java.util.List - getFindingsOrBuilderList(); + java.util.List getFindingsOrBuilderList(); /** + * + * *
    * List of findings for an item.
    * 
* * repeated .google.privacy.dlp.v2.Finding findings = 1; */ - com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( - int index); + com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index); /** + * + * *
    * If true, then this item might have more findings than were returned,
    * and the findings returned are an arbitrary subset of all findings.
@@ -62,6 +87,7 @@ com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(
    * 
* * bool findings_truncated = 2; + * * @return The findingsTruncated. */ boolean getFindingsTruncated(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java index b1fd64e0..b4693f2f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The inspectTemplate contains a configuration (set of types of sensitive data
  * to be detected) to be used anywhere you otherwise would normally specify
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectTemplate}
  */
-public final class InspectTemplate extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InspectTemplate extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectTemplate)
     InspectTemplateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InspectTemplate.newBuilder() to construct.
   private InspectTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InspectTemplate() {
     name_ = "";
     displayName_ = "";
@@ -30,16 +48,15 @@ private InspectTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InspectTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InspectTemplate(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,98 +75,112 @@ private InspectTemplate(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
-            if (inspectConfig_ != null) {
-              subBuilder = inspectConfig_.toBuilder();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(inspectConfig_);
-              inspectConfig_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
+              if (inspectConfig_ != null) {
+                subBuilder = inspectConfig_.toBuilder();
+              }
+              inspectConfig_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(inspectConfig_);
+                inspectConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectTemplate.class, com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
+            com.google.privacy.dlp.v2.InspectTemplate.class,
+            com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -158,6 +189,7 @@ private InspectTemplate(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -166,14 +198,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; } } /** + * + * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -182,16 +215,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -202,11 +234,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -215,29 +250,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; } } /** + * + * *
    * Display name (max 256 chars).
    * 
* * 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 { @@ -248,11 +283,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Short description (max 256 chars).
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -261,29 +299,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; } } /** + * + * *
    * Short description (max 256 chars).
    * 
* * 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 { @@ -294,11 +332,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -306,11 +348,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -318,11 +364,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -332,11 +381,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -344,11 +397,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -356,11 +413,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -370,11 +430,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int INSPECT_CONFIG_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** + * + * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -382,18 +445,25 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; + * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } /** + * + * *
    * The core content of the template. Configuration of the scanning process.
    * 
@@ -406,6 +476,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +488,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -456,16 +526,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInspectConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -475,33 +542,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.privacy.dlp.v2.InspectTemplate)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectTemplate other = (com.google.privacy.dlp.v2.InspectTemplate) obj; + com.google.privacy.dlp.v2.InspectTemplate other = + (com.google.privacy.dlp.v2.InspectTemplate) 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 (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 (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -537,97 +599,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectTemplate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectTemplate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 inspectTemplate contains a configuration (set of types of sensitive data
    * to be detected) to be used anywhere you otherwise would normally specify
@@ -637,21 +706,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectTemplate}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectTemplate)
       com.google.privacy.dlp.v2.InspectTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectTemplate.class, com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
+              com.google.privacy.dlp.v2.InspectTemplate.class,
+              com.google.privacy.dlp.v2.InspectTemplate.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectTemplate.newBuilder()
@@ -659,16 +730,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -700,9 +770,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -721,7 +791,8 @@ public com.google.privacy.dlp.v2.InspectTemplate build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectTemplate buildPartial() {
-      com.google.privacy.dlp.v2.InspectTemplate result = new com.google.privacy.dlp.v2.InspectTemplate(this);
+      com.google.privacy.dlp.v2.InspectTemplate result =
+          new com.google.privacy.dlp.v2.InspectTemplate(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -748,38 +819,39 @@ public com.google.privacy.dlp.v2.InspectTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectTemplate) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectTemplate)other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectTemplate) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,6 +912,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -848,13 +922,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -863,6 +937,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -871,15 +947,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -887,6 +962,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -895,20 +972,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -917,15 +996,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -934,16 +1016,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -951,18 +1033,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name (max 256 chars).
      * 
* * 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; @@ -971,20 +1055,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name (max 256 chars).
      * 
* * 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 { @@ -992,54 +1077,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name (max 256 chars).
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1047,18 +1139,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Short description (max 256 chars).
      * 
* * 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; @@ -1067,20 +1161,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Short description (max 256 chars).
      * 
* * 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 { @@ -1088,54 +1183,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Short description (max 256 chars).
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Short description (max 256 chars).
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Short description (max 256 chars).
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1143,39 +1245,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 creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1191,14 +1312,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1209,17 +1333,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1231,11 +1359,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1249,48 +1381,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.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 creation timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.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_; @@ -1298,39 +1446,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1346,14 +1513,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1364,17 +1534,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1386,11 +1560,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1404,48 +1582,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The last update timestamp of an inspectTemplate.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp 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> 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_; @@ -1453,34 +1647,47 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> + inspectConfigBuilder_; /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; + * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1501,6 +1708,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1519,6 +1728,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1529,7 +1740,9 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) + .mergeFrom(value) + .buildPartial(); } else { inspectConfig_ = value; } @@ -1541,6 +1754,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1559,6 +1774,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1566,11 +1783,13 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1581,11 +1800,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null ? - com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1593,21 +1815,24 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), - getParentForChildren(), - isClean()); + inspectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), getParentForChildren(), isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1617,12 +1842,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectTemplate) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectTemplate) private static final com.google.privacy.dlp.v2.InspectTemplate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectTemplate(); } @@ -1631,16 +1856,16 @@ public static com.google.privacy.dlp.v2.InspectTemplate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectTemplate(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1655,6 +1880,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java similarity index 96% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java index 299dcd11..750d1b56 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateName.java @@ -22,8 +22,6 @@ 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; @@ -248,26 +246,6 @@ public static InspectTemplateName parse(String formattedString) { throw new ValidationException("InspectTemplateName.parse: formattedString not in valid format"); } - 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 (InspectTemplateName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - public static boolean isParsableFrom(String formattedString) { return ORGANIZATION_INSPECT_TEMPLATE.matches(formattedString) || PROJECT_INSPECT_TEMPLATE.matches(formattedString) diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java index ad84e9e8..249b0048 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectTemplateOrBuilder extends +public interface InspectTemplateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectTemplate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -16,10 +34,13 @@ public interface InspectTemplateOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The template name.
    * The template will have one of the following formats:
@@ -28,124 +49,164 @@ public interface InspectTemplateOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name (max 256 chars).
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Short description (max 256 chars).
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Short description (max 256 chars).
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of an inspectTemplate.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * The core content of the template. Configuration of the scanning process.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 6; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * The core content of the template. Configuration of the scanning process.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java index 3164249c..b3beb83d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A single inspection rule to be applied to infoTypes, specified in
  * `InspectionRuleSet`.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectionRule}
  */
-public final class InspectionRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InspectionRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectionRule)
     InspectionRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InspectionRule.newBuilder() to construct.
   private InspectionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private InspectionRule() {
-  }
+
+  private InspectionRule() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InspectionRule();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InspectionRule(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,75 +69,89 @@ private InspectionRule(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder subBuilder = null;
-            if (typeCase_ == 1) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_).toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder
+                  subBuilder = null;
+              if (typeCase_ == 1) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_)
+                        .toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 1;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_);
-              type_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.ExclusionRule.Builder subBuilder = null;
+              if (typeCase_ == 2) {
+                subBuilder = ((com.google.privacy.dlp.v2.ExclusionRule) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.ExclusionRule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExclusionRule) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 2;
+              break;
             }
-            typeCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.ExclusionRule.Builder subBuilder = null;
-            if (typeCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.ExclusionRule) type_).toBuilder();
-            }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.ExclusionRule.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.ExclusionRule) type_);
-              type_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            typeCase_ = 2;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectionRule.class, com.google.privacy.dlp.v2.InspectionRule.Builder.class);
+            com.google.privacy.dlp.v2.InspectionRule.class,
+            com.google.privacy.dlp.v2.InspectionRule.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
+
   public enum TypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     HOTWORD_RULE(1),
     EXCLUSION_RULE(2),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -137,30 +167,36 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1: return HOTWORD_RULE;
-        case 2: return EXCLUSION_RULE;
-        case 0: return TYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return HOTWORD_RULE;
+        case 2:
+          return EXCLUSION_RULE;
+        case 0:
+          return TYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase
-  getTypeCase() {
-    return TypeCase.forNumber(
-        typeCase_);
+  public TypeCase getTypeCase() {
+    return TypeCase.forNumber(typeCase_);
   }
 
   public static final int HOTWORD_RULE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -168,21 +204,26 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** + * + * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * * @return The hotwordRule. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } /** + * + * *
    * Hotword-based detection rule.
    * 
@@ -190,20 +231,24 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder + getHotwordRuleOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); } public static final int EXCLUSION_RULE_FIELD_NUMBER = 2; /** + * + * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return Whether the exclusionRule field is set. */ @java.lang.Override @@ -211,21 +256,26 @@ public boolean hasExclusionRule() { return typeCase_ == 2; } /** + * + * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return The exclusionRule. */ @java.lang.Override public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.ExclusionRule) type_; + return (com.google.privacy.dlp.v2.ExclusionRule) type_; } return com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance(); } /** + * + * *
    * Exclusion rule.
    * 
@@ -235,12 +285,13 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { @java.lang.Override public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.ExclusionRule) type_; + return (com.google.privacy.dlp.v2.ExclusionRule) type_; } return com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,10 +303,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { - output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + output.writeMessage( + 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.ExclusionRule) type_); @@ -270,12 +321,14 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.ExclusionRule) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.ExclusionRule) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,7 +338,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.privacy.dlp.v2.InspectionRule)) { return super.equals(obj); @@ -295,12 +348,10 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getHotwordRule() - .equals(other.getHotwordRule())) return false; + if (!getHotwordRule().equals(other.getHotwordRule())) return false; break; case 2: - if (!getExclusionRule() - .equals(other.getExclusionRule())) return false; + if (!getExclusionRule().equals(other.getExclusionRule())) return false; break; case 0: default: @@ -333,97 +384,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectionRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectionRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectionRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 single inspection rule to be applied to infoTypes, specified in
    * `InspectionRuleSet`.
@@ -431,21 +489,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectionRule}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectionRule)
       com.google.privacy.dlp.v2.InspectionRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectionRule.class, com.google.privacy.dlp.v2.InspectionRule.Builder.class);
+              com.google.privacy.dlp.v2.InspectionRule.class,
+              com.google.privacy.dlp.v2.InspectionRule.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectionRule.newBuilder()
@@ -453,16 +513,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +531,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectionRule_descriptor;
     }
 
     @java.lang.Override
@@ -493,7 +552,8 @@ public com.google.privacy.dlp.v2.InspectionRule build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectionRule buildPartial() {
-      com.google.privacy.dlp.v2.InspectionRule result = new com.google.privacy.dlp.v2.InspectionRule(this);
+      com.google.privacy.dlp.v2.InspectionRule result =
+          new com.google.privacy.dlp.v2.InspectionRule(this);
       if (typeCase_ == 1) {
         if (hotwordRuleBuilder_ == null) {
           result.type_ = type_;
@@ -517,38 +577,39 @@ public com.google.privacy.dlp.v2.InspectionRule buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectionRule) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectionRule)other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectionRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,17 +619,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.InspectionRule other) {
       if (other == com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()) return this;
       switch (other.getTypeCase()) {
-        case HOTWORD_RULE: {
-          mergeHotwordRule(other.getHotwordRule());
-          break;
-        }
-        case EXCLUSION_RULE: {
-          mergeExclusionRule(other.getExclusionRule());
-          break;
-        }
-        case TYPE_NOT_SET: {
-          break;
-        }
+        case HOTWORD_RULE:
+          {
+            mergeHotwordRule(other.getHotwordRule());
+            break;
+          }
+        case EXCLUSION_RULE:
+          {
+            mergeExclusionRule(other.getExclusionRule());
+            break;
+          }
+        case TYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -598,12 +662,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int typeCase_ = 0;
     private java.lang.Object type_;
-    public TypeCase
-        getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public Builder clearType() {
@@ -613,15 +677,21 @@ public Builder clearType() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> hotwordRuleBuilder_;
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule,
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder,
+            com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>
+        hotwordRuleBuilder_;
     /**
+     *
+     *
      * 
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return Whether the hotwordRule field is set. */ @java.lang.Override @@ -629,11 +699,15 @@ public boolean hasHotwordRule() { return typeCase_ == 1; } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * + * * @return The hotwordRule. */ @java.lang.Override @@ -642,22 +716,28 @@ public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHot if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } else { if (typeCase_ == 1) { return hotwordRuleBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - public Builder setHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder setHotwordRule( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -671,14 +751,18 @@ public Builder setHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.Detection return this; } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ public Builder setHotwordRule( - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder builderForValue) { + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder + builderForValue) { if (hotwordRuleBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -689,18 +773,27 @@ public Builder setHotwordRule( return this; } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - public Builder mergeHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { + public Builder mergeHotwordRule( + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule value) { if (hotwordRuleBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ + != com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -715,11 +808,14 @@ public Builder mergeHotwordRule(com.google.privacy.dlp.v2.CustomInfoType.Detecti return this; } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ public Builder clearHotwordRule() { if (hotwordRuleBuilder_ == null) { @@ -738,67 +834,93 @@ public Builder clearHotwordRule() { return this; } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder getHotwordRuleBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder + getHotwordRuleBuilder() { return getHotwordRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder() { + public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder + getHotwordRuleOrBuilder() { if ((typeCase_ == 1) && (hotwordRuleBuilder_ != null)) { return hotwordRuleBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_; } - return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } } /** + * + * *
      * Hotword-based detection rule.
      * 
* - * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder> getHotwordRuleFieldBuilder() { if (hotwordRuleBuilder_ == null) { if (!(typeCase_ == 1)) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance(); + type_ = + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule + .getDefaultInstance(); } - hotwordRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( + hotwordRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return hotwordRuleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExclusionRule, com.google.privacy.dlp.v2.ExclusionRule.Builder, com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> exclusionRuleBuilder_; + com.google.privacy.dlp.v2.ExclusionRule, + com.google.privacy.dlp.v2.ExclusionRule.Builder, + com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> + exclusionRuleBuilder_; /** + * + * *
      * Exclusion rule.
      * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return Whether the exclusionRule field is set. */ @java.lang.Override @@ -806,11 +928,14 @@ public boolean hasExclusionRule() { return typeCase_ == 2; } /** + * + * *
      * Exclusion rule.
      * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return The exclusionRule. */ @java.lang.Override @@ -828,6 +953,8 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { } } /** + * + * *
      * Exclusion rule.
      * 
@@ -848,6 +975,8 @@ public Builder setExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) { return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -866,6 +995,8 @@ public Builder setExclusionRule( return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -874,10 +1005,13 @@ public Builder setExclusionRule( */ public Builder mergeExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) { if (exclusionRuleBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.ExclusionRule.newBuilder((com.google.privacy.dlp.v2.ExclusionRule) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ != com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.ExclusionRule.newBuilder( + (com.google.privacy.dlp.v2.ExclusionRule) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -892,6 +1026,8 @@ public Builder mergeExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -915,6 +1051,8 @@ public Builder clearExclusionRule() { return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -925,6 +1063,8 @@ public com.google.privacy.dlp.v2.ExclusionRule.Builder getExclusionRuleBuilder() return getExclusionRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Exclusion rule.
      * 
@@ -943,6 +1083,8 @@ public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilde } } /** + * + * *
      * Exclusion rule.
      * 
@@ -950,26 +1092,30 @@ public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilde * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExclusionRule, com.google.privacy.dlp.v2.ExclusionRule.Builder, com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> + com.google.privacy.dlp.v2.ExclusionRule, + com.google.privacy.dlp.v2.ExclusionRule.Builder, + com.google.privacy.dlp.v2.ExclusionRuleOrBuilder> getExclusionRuleFieldBuilder() { if (exclusionRuleBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.ExclusionRule.getDefaultInstance(); } - exclusionRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ExclusionRule, com.google.privacy.dlp.v2.ExclusionRule.Builder, com.google.privacy.dlp.v2.ExclusionRuleOrBuilder>( - (com.google.privacy.dlp.v2.ExclusionRule) type_, - getParentForChildren(), - isClean()); + exclusionRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ExclusionRule, + com.google.privacy.dlp.v2.ExclusionRule.Builder, + com.google.privacy.dlp.v2.ExclusionRuleOrBuilder>( + (com.google.privacy.dlp.v2.ExclusionRule) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return exclusionRuleBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectionRule) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectionRule) private static final com.google.privacy.dlp.v2.InspectionRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectionRule(); } @@ -993,16 +1139,16 @@ public static com.google.privacy.dlp.v2.InspectionRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectionRule(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectionRule(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1017,6 +1163,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java index ff09d8f3..676fe9b7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectionRuleOrBuilder extends +public interface InspectionRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectionRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * * @return Whether the hotwordRule field is set. */ boolean hasHotwordRule(); /** + * + * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; + * * @return The hotwordRule. */ com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule getHotwordRule(); /** + * + * *
    * Hotword-based detection rule.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1; */ - com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder getHotwordRuleOrBuilder(); + com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder + getHotwordRuleOrBuilder(); /** + * + * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return Whether the exclusionRule field is set. */ boolean hasExclusionRule(); /** + * + * *
    * Exclusion rule.
    * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return The exclusionRule. */ com.google.privacy.dlp.v2.ExclusionRule getExclusionRule(); /** + * + * *
    * Exclusion rule.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java index fef4210e..1cd5e9d5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSet.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Rule set for modifying a set of infoTypes to alter behavior under certain
  * circumstances, depending on the specific details of the rules within the set.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InspectionRuleSet}
  */
-public final class InspectionRuleSet extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InspectionRuleSet extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InspectionRuleSet)
     InspectionRuleSetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InspectionRuleSet.newBuilder() to construct.
   private InspectionRuleSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InspectionRuleSet() {
     infoTypes_ = java.util.Collections.emptyList();
     rules_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private InspectionRuleSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InspectionRuleSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InspectionRuleSet(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,38 +73,41 @@ private InspectionRuleSet(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              infoTypes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                infoTypes_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              infoTypes_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
+              break;
             }
-            infoTypes_.add(
-                input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              rules_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                rules_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              rules_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectionRule.parser(), extensionRegistry));
+              break;
             }
-            rules_.add(
-                input.readMessage(com.google.privacy.dlp.v2.InspectionRule.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_);
@@ -99,22 +119,27 @@ private InspectionRuleSet(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InspectionRuleSet.class, com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
+            com.google.privacy.dlp.v2.InspectionRuleSet.class,
+            com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
   }
 
   public static final int INFO_TYPES_FIELD_NUMBER = 1;
   private java.util.List infoTypes_;
   /**
+   *
+   *
    * 
    * List of infoTypes this rule set is applied to.
    * 
@@ -126,6 +151,8 @@ public java.util.List getInfoTypesList() { return infoTypes_; } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -133,11 +160,13 @@ public java.util.List getInfoTypesList() { * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInfoTypesOrBuilderList() { return infoTypes_; } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -149,6 +178,8 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -160,6 +191,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { return infoTypes_.get(index); } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -167,14 +200,15 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) { return infoTypes_.get(index); } public static final int RULES_FIELD_NUMBER = 2; private java.util.List rules_; /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -186,6 +220,8 @@ public java.util.List getRulesList() { return rules_; } /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -193,11 +229,13 @@ public java.util.List getRulesList() { * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -209,6 +247,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -220,6 +260,8 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) { return rules_.get(index); } /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -227,12 +269,12 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) { * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -262,12 +303,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i)); } 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -277,17 +316,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.privacy.dlp.v2.InspectionRuleSet)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InspectionRuleSet other = (com.google.privacy.dlp.v2.InspectionRuleSet) obj; + com.google.privacy.dlp.v2.InspectionRuleSet other = + (com.google.privacy.dlp.v2.InspectionRuleSet) obj; - if (!getInfoTypesList() - .equals(other.getInfoTypesList())) return false; - if (!getRulesList() - .equals(other.getRulesList())) return false; + if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; + if (!getRulesList().equals(other.getRulesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -312,97 +350,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InspectionRuleSet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InspectionRuleSet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InspectionRuleSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InspectionRuleSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Rule set for modifying a set of infoTypes to alter behavior under certain
    * circumstances, depending on the specific details of the rules within the set.
@@ -410,21 +455,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InspectionRuleSet}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InspectionRuleSet)
       com.google.privacy.dlp.v2.InspectionRuleSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectionRuleSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InspectionRuleSet.class, com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
+              com.google.privacy.dlp.v2.InspectionRuleSet.class,
+              com.google.privacy.dlp.v2.InspectionRuleSet.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InspectionRuleSet.newBuilder()
@@ -432,18 +479,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getInfoTypesFieldBuilder();
         getRulesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -463,9 +510,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InspectionRuleSet_descriptor;
     }
 
     @java.lang.Override
@@ -484,7 +531,8 @@ public com.google.privacy.dlp.v2.InspectionRuleSet build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InspectionRuleSet buildPartial() {
-      com.google.privacy.dlp.v2.InspectionRuleSet result = new com.google.privacy.dlp.v2.InspectionRuleSet(this);
+      com.google.privacy.dlp.v2.InspectionRuleSet result =
+          new com.google.privacy.dlp.v2.InspectionRuleSet(this);
       int from_bitField0_ = bitField0_;
       if (infoTypesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -512,38 +560,39 @@ public com.google.privacy.dlp.v2.InspectionRuleSet buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InspectionRuleSet) {
-        return mergeFrom((com.google.privacy.dlp.v2.InspectionRuleSet)other);
+        return mergeFrom((com.google.privacy.dlp.v2.InspectionRuleSet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,9 +619,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectionRuleSet other) {
             infoTypesBuilder_ = null;
             infoTypes_ = other.infoTypes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            infoTypesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInfoTypesFieldBuilder() : null;
+            infoTypesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInfoTypesFieldBuilder()
+                    : null;
           } else {
             infoTypesBuilder_.addAllMessages(other.infoTypes_);
           }
@@ -596,9 +646,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectionRuleSet other) {
             rulesBuilder_ = null;
             rules_ = other.rules_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rulesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRulesFieldBuilder() : null;
+            rulesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRulesFieldBuilder()
+                    : null;
           } else {
             rulesBuilder_.addAllMessages(other.rules_);
           }
@@ -632,21 +683,28 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List infoTypes_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureInfoTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         infoTypes_ = new java.util.ArrayList(infoTypes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypesBuilder_;
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        infoTypesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of infoTypes this rule set is applied to.
      * 
@@ -661,6 +719,8 @@ public java.util.List getInfoTypesList() { } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -675,6 +735,8 @@ public int getInfoTypesCount() { } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -689,14 +751,15 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public Builder setInfoTypes( - int index, com.google.privacy.dlp.v2.InfoType value) { + public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,6 +773,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -728,6 +793,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -748,14 +815,15 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public Builder addInfoTypes( - int index, com.google.privacy.dlp.v2.InfoType value) { + public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -769,14 +837,15 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public Builder addInfoTypes( - com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { if (infoTypesBuilder_ == null) { ensureInfoTypesIsMutable(); infoTypes_.add(builderForValue.build()); @@ -787,6 +856,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -805,6 +876,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -815,8 +888,7 @@ public Builder addAllInfoTypes( java.lang.Iterable values) { if (infoTypesBuilder_ == null) { ensureInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, infoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_); onChanged(); } else { infoTypesBuilder_.addAllMessages(values); @@ -824,6 +896,8 @@ public Builder addAllInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -841,6 +915,8 @@ public Builder clearInfoTypes() { return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -858,39 +934,44 @@ public Builder removeInfoTypes(int index) { return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) { return getInfoTypesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) { if (infoTypesBuilder_ == null) { - return infoTypes_.get(index); } else { + return infoTypes_.get(index); + } else { return infoTypesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public java.util.List - getInfoTypesOrBuilderList() { + public java.util.List + getInfoTypesOrBuilderList() { if (infoTypesBuilder_ != null) { return infoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +979,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -905,60 +988,71 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() { - return getInfoTypesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); + return getInfoTypesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder( - int index) { - return getInfoTypesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) { + return getInfoTypesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - public java.util.List - getInfoTypesBuilderList() { + public java.util.List getInfoTypesBuilderList() { return getInfoTypesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypesFieldBuilder() { if (infoTypesBuilder_ == null) { - infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>( - infoTypes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + infoTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder>( + infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); infoTypes_ = null; } return infoTypesBuilder_; } private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRule, com.google.privacy.dlp.v2.InspectionRule.Builder, com.google.privacy.dlp.v2.InspectionRuleOrBuilder> rulesBuilder_; + com.google.privacy.dlp.v2.InspectionRule, + com.google.privacy.dlp.v2.InspectionRule.Builder, + com.google.privacy.dlp.v2.InspectionRuleOrBuilder> + rulesBuilder_; /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -973,6 +1067,8 @@ public java.util.List getRulesList() { } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -987,6 +1083,8 @@ public int getRulesCount() { } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1001,14 +1099,15 @@ public com.google.privacy.dlp.v2.InspectionRule getRules(int index) { } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public Builder setRules( - int index, com.google.privacy.dlp.v2.InspectionRule value) { + public Builder setRules(int index, com.google.privacy.dlp.v2.InspectionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1022,6 +1121,8 @@ public Builder setRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1040,6 +1141,8 @@ public Builder setRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1060,14 +1163,15 @@ public Builder addRules(com.google.privacy.dlp.v2.InspectionRule value) { return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public Builder addRules( - int index, com.google.privacy.dlp.v2.InspectionRule value) { + public Builder addRules(int index, com.google.privacy.dlp.v2.InspectionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1081,14 +1185,15 @@ public Builder addRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public Builder addRules( - com.google.privacy.dlp.v2.InspectionRule.Builder builderForValue) { + public Builder addRules(com.google.privacy.dlp.v2.InspectionRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1099,6 +1204,8 @@ public Builder addRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1117,6 +1224,8 @@ public Builder addRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1127,8 +1236,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); @@ -1136,6 +1244,8 @@ public Builder addAllRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1153,6 +1263,8 @@ public Builder clearRules() { return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1170,39 +1282,44 @@ public Builder removeRules(int index) { return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public com.google.privacy.dlp.v2.InspectionRule.Builder getRulesBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectionRule.Builder getRulesBuilder(int index) { return getRulesFieldBuilder().getBuilder(index); } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index) { if (rulesBuilder_ == null) { - return rules_.get(index); } else { + return rules_.get(index); + } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1210,6 +1327,8 @@ public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1217,49 +1336,54 @@ public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ public com.google.privacy.dlp.v2.InspectionRule.Builder addRulesBuilder() { - return getRulesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); + return getRulesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public com.google.privacy.dlp.v2.InspectionRule.Builder addRulesBuilder( - int index) { - return getRulesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectionRule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.InspectionRule.getDefaultInstance()); } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - public java.util.List - getRulesBuilderList() { + public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRule, com.google.privacy.dlp.v2.InspectionRule.Builder, com.google.privacy.dlp.v2.InspectionRuleOrBuilder> + com.google.privacy.dlp.v2.InspectionRule, + com.google.privacy.dlp.v2.InspectionRule.Builder, + com.google.privacy.dlp.v2.InspectionRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectionRule, com.google.privacy.dlp.v2.InspectionRule.Builder, com.google.privacy.dlp.v2.InspectionRuleOrBuilder>( - rules_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InspectionRule, + com.google.privacy.dlp.v2.InspectionRule.Builder, + com.google.privacy.dlp.v2.InspectionRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1393,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InspectionRuleSet) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectionRuleSet) private static final com.google.privacy.dlp.v2.InspectionRuleSet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InspectionRuleSet(); } @@ -1283,16 +1407,16 @@ public static com.google.privacy.dlp.v2.InspectionRuleSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InspectionRuleSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InspectionRuleSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InspectionRuleSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InspectionRuleSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,6 +1431,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InspectionRuleSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java index 2584c2b9..f9eb8c6b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectionRuleSetOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface InspectionRuleSetOrBuilder extends +public interface InspectionRuleSetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectionRuleSet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - java.util.List - getInfoTypesList(); + java.util.List getInfoTypesList(); /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -25,6 +44,8 @@ public interface InspectionRuleSetOrBuilder extends */ com.google.privacy.dlp.v2.InfoType getInfoTypes(int index); /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -33,34 +54,39 @@ public interface InspectionRuleSetOrBuilder extends */ int getInfoTypesCount(); /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - java.util.List - getInfoTypesOrBuilderList(); + java.util.List getInfoTypesOrBuilderList(); /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
* * repeated .google.privacy.dlp.v2.InfoType info_types = 1; */ - com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( - int index); + com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index); /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -69,6 +95,8 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( */ com.google.privacy.dlp.v2.InspectionRule getRules(int index); /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -77,21 +105,24 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( */ int getRulesCount(); /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
* * repeated .google.privacy.dlp.v2.InspectionRule rules = 2; */ - com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( - int index); + com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java index 99578f84..b377c0cd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Contains a configuration to make dlp api calls on a repeating basis.
  * See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.JobTrigger}
  */
-public final class JobTrigger extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobTrigger extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.JobTrigger)
     JobTriggerOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobTrigger.newBuilder() to construct.
   private JobTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobTrigger() {
     name_ = "";
     displayName_ = "";
@@ -31,16 +49,15 @@ private JobTrigger() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobTrigger();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private JobTrigger(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,115 +77,129 @@ private JobTrigger(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
-            if (jobCase_ == 4) {
-              subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
+              name_ = s;
+              break;
             }
-            job_ =
-                input.readMessage(com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
-              job_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
-            jobCase_ = 4;
-            break;
-          }
-          case 42: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              triggers_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              description_ = s;
+              break;
             }
-            triggers_.add(
-                input.readMessage(com.google.privacy.dlp.v2.JobTrigger.Trigger.parser(), extensionRegistry));
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              errors_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 34:
+            {
+              com.google.privacy.dlp.v2.InspectJobConfig.Builder subBuilder = null;
+              if (jobCase_ == 4) {
+                subBuilder = ((com.google.privacy.dlp.v2.InspectJobConfig) job_).toBuilder();
+              }
+              job_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectJobConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.InspectJobConfig) job_);
+                job_ = subBuilder.buildPartial();
+              }
+              jobCase_ = 4;
+              break;
             }
-            errors_.add(
-                input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+          case 42:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                triggers_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              triggers_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.JobTrigger.Trigger.parser(), extensionRegistry));
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                errors_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              errors_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
+              break;
             }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
-            }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastRunTime_ != null) {
-              subBuilder = lastRunTime_.toBuilder();
-            }
-            lastRunTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastRunTime_);
-              lastRunTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 74:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastRunTime_ != null) {
+                subBuilder = lastRunTime_.toBuilder();
+              }
+              lastRunTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastRunTime_);
+                lastRunTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 80: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 80:
+            {
+              int rawValue = input.readEnum();
 
-            status_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              status_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         triggers_ = java.util.Collections.unmodifiableList(triggers_);
@@ -180,20 +211,25 @@ private JobTrigger(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.JobTrigger.class, com.google.privacy.dlp.v2.JobTrigger.Builder.class);
+            com.google.privacy.dlp.v2.JobTrigger.class,
+            com.google.privacy.dlp.v2.JobTrigger.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs
    * will be created with this configuration. The service may automatically
@@ -203,9 +239,10 @@ private JobTrigger(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.JobTrigger.Status}
    */
-  public enum Status
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -214,6 +251,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * Trigger is healthy.
      * 
@@ -222,6 +261,8 @@ public enum Status */ HEALTHY(1), /** + * + * *
      * Trigger is temporarily paused.
      * 
@@ -230,6 +271,8 @@ public enum Status */ PAUSED(2), /** + * + * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -241,6 +284,8 @@ public enum Status ; /** + * + * *
      * Unused.
      * 
@@ -249,6 +294,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Trigger is healthy.
      * 
@@ -257,6 +304,8 @@ public enum Status */ public static final int HEALTHY_VALUE = 1; /** + * + * *
      * Trigger is temporarily paused.
      * 
@@ -265,6 +314,8 @@ public enum Status */ public static final int PAUSED_VALUE = 2; /** + * + * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -273,7 +324,6 @@ public enum Status */ public static final int CANCELLED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -298,50 +348,51 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: return STATUS_UNSPECIFIED; - case 1: return HEALTHY; - case 2: return PAUSED; - case 3: return CANCELLED; - default: return null; + case 0: + return STATUS_UNSPECIFIED; + case 1: + return HEALTHY; + case 2: + return PAUSED; + case 3: + return CANCELLED; + 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< - Status> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.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 Status findValueByNumber(int number) { + return Status.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.privacy.dlp.v2.JobTrigger.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Status 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; @@ -358,29 +409,38 @@ private Status(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.JobTrigger.Status) } - public interface TriggerOrBuilder extends + public interface TriggerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.JobTrigger.Trigger) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; + * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** + * + * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; + * * @return The schedule. */ com.google.privacy.dlp.v2.Schedule getSchedule(); /** + * + * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
@@ -390,24 +450,32 @@ public interface TriggerOrBuilder extends com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder(); /** + * + * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; + * * @return Whether the manual field is set. */ boolean hasManual(); /** + * + * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; + * * @return The manual. */ com.google.privacy.dlp.v2.Manual getManual(); /** + * + * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
@@ -419,36 +487,37 @@ public interface TriggerOrBuilder extends public com.google.privacy.dlp.v2.JobTrigger.Trigger.TriggerCase getTriggerCase(); } /** + * + * *
    * What event needs to occur for a new job to be started.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.JobTrigger.Trigger} */ - public static final class Trigger extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Trigger extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.JobTrigger.Trigger) TriggerOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Trigger.newBuilder() to construct. private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Trigger() { - } + + private Trigger() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Trigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Trigger( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -467,75 +536,83 @@ private Trigger( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Schedule.Builder subBuilder = null; - if (triggerCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.Schedule) trigger_).toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.Schedule.Builder subBuilder = null; + if (triggerCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.Schedule) trigger_).toBuilder(); + } + trigger_ = + input.readMessage( + com.google.privacy.dlp.v2.Schedule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Schedule) trigger_); + trigger_ = subBuilder.buildPartial(); + } + triggerCase_ = 1; + break; } - trigger_ = - input.readMessage(com.google.privacy.dlp.v2.Schedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.Schedule) trigger_); - trigger_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.Manual.Builder subBuilder = null; + if (triggerCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.Manual) trigger_).toBuilder(); + } + trigger_ = + input.readMessage(com.google.privacy.dlp.v2.Manual.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Manual) trigger_); + trigger_ = subBuilder.buildPartial(); + } + triggerCase_ = 2; + break; } - triggerCase_ = 1; - break; - } - case 18: { - com.google.privacy.dlp.v2.Manual.Builder subBuilder = null; - if (triggerCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.Manual) trigger_).toBuilder(); - } - trigger_ = - input.readMessage(com.google.privacy.dlp.v2.Manual.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.Manual) trigger_); - trigger_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - triggerCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.JobTrigger.Trigger.class, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); + com.google.privacy.dlp.v2.JobTrigger.Trigger.class, + com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); } private int triggerCase_ = 0; private java.lang.Object trigger_; + public enum TriggerCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SCHEDULE(1), MANUAL(2), TRIGGER_NOT_SET(0); private final int value; + private TriggerCase(int value) { this.value = value; } @@ -551,30 +628,36 @@ public static TriggerCase valueOf(int value) { public static TriggerCase forNumber(int value) { switch (value) { - case 1: return SCHEDULE; - case 2: return MANUAL; - case 0: return TRIGGER_NOT_SET; - default: return null; + case 1: + return SCHEDULE; + case 2: + return MANUAL; + case 0: + return TRIGGER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TriggerCase - getTriggerCase() { - return TriggerCase.forNumber( - triggerCase_); + public TriggerCase getTriggerCase() { + return TriggerCase.forNumber(triggerCase_); } public static final int SCHEDULE_FIELD_NUMBER = 1; /** + * + * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -582,21 +665,26 @@ public boolean hasSchedule() { return triggerCase_ == 1; } /** + * + * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; + * * @return The schedule. */ @java.lang.Override public com.google.privacy.dlp.v2.Schedule getSchedule() { if (triggerCase_ == 1) { - return (com.google.privacy.dlp.v2.Schedule) trigger_; + return (com.google.privacy.dlp.v2.Schedule) trigger_; } return com.google.privacy.dlp.v2.Schedule.getDefaultInstance(); } /** + * + * *
      * Create a job on a repeating basis based on the elapse of time.
      * 
@@ -606,18 +694,21 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() { @java.lang.Override public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { if (triggerCase_ == 1) { - return (com.google.privacy.dlp.v2.Schedule) trigger_; + return (com.google.privacy.dlp.v2.Schedule) trigger_; } return com.google.privacy.dlp.v2.Schedule.getDefaultInstance(); } public static final int MANUAL_FIELD_NUMBER = 2; /** + * + * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; + * * @return Whether the manual field is set. */ @java.lang.Override @@ -625,21 +716,26 @@ public boolean hasManual() { return triggerCase_ == 2; } /** + * + * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; + * * @return The manual. */ @java.lang.Override public com.google.privacy.dlp.v2.Manual getManual() { if (triggerCase_ == 2) { - return (com.google.privacy.dlp.v2.Manual) trigger_; + return (com.google.privacy.dlp.v2.Manual) trigger_; } return com.google.privacy.dlp.v2.Manual.getDefaultInstance(); } /** + * + * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
      * 
@@ -649,12 +745,13 @@ public com.google.privacy.dlp.v2.Manual getManual() { @java.lang.Override public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { if (triggerCase_ == 2) { - return (com.google.privacy.dlp.v2.Manual) trigger_; + return (com.google.privacy.dlp.v2.Manual) trigger_; } return com.google.privacy.dlp.v2.Manual.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -666,8 +763,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (triggerCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.Schedule) trigger_); } @@ -684,12 +780,14 @@ public int getSerializedSize() { size = 0; if (triggerCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.Schedule) trigger_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.Schedule) trigger_); } if (triggerCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.Manual) trigger_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.Manual) trigger_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -699,22 +797,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.privacy.dlp.v2.JobTrigger.Trigger)) { return super.equals(obj); } - com.google.privacy.dlp.v2.JobTrigger.Trigger other = (com.google.privacy.dlp.v2.JobTrigger.Trigger) obj; + com.google.privacy.dlp.v2.JobTrigger.Trigger other = + (com.google.privacy.dlp.v2.JobTrigger.Trigger) obj; if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 1: - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; break; case 2: - if (!getManual() - .equals(other.getManual())) return false; + if (!getManual().equals(other.getManual())) return false; break; case 0: default: @@ -747,88 +844,94 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.JobTrigger.Trigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.JobTrigger.Trigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -838,27 +941,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * What event needs to occur for a new job to be started.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.JobTrigger.Trigger} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.JobTrigger.Trigger) com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.JobTrigger.Trigger.class, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); + com.google.privacy.dlp.v2.JobTrigger.Trigger.class, + com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder.class); } // Construct using com.google.privacy.dlp.v2.JobTrigger.Trigger.newBuilder() @@ -866,16 +974,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -885,9 +992,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_JobTrigger_Trigger_descriptor; } @java.lang.Override @@ -906,7 +1013,8 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger build() { @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger.Trigger buildPartial() { - com.google.privacy.dlp.v2.JobTrigger.Trigger result = new com.google.privacy.dlp.v2.JobTrigger.Trigger(this); + com.google.privacy.dlp.v2.JobTrigger.Trigger result = + new com.google.privacy.dlp.v2.JobTrigger.Trigger(this); if (triggerCase_ == 1) { if (scheduleBuilder_ == null) { result.trigger_ = trigger_; @@ -930,38 +1038,41 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.JobTrigger.Trigger) { - return mergeFrom((com.google.privacy.dlp.v2.JobTrigger.Trigger)other); + return mergeFrom((com.google.privacy.dlp.v2.JobTrigger.Trigger) other); } else { super.mergeFrom(other); return this; @@ -971,17 +1082,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger.Trigger other) { if (other == com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance()) return this; switch (other.getTriggerCase()) { - case SCHEDULE: { - mergeSchedule(other.getSchedule()); - break; - } - case MANUAL: { - mergeManual(other.getManual()); - break; - } - case TRIGGER_NOT_SET: { - break; - } + case SCHEDULE: + { + mergeSchedule(other.getSchedule()); + break; + } + case MANUAL: + { + mergeManual(other.getManual()); + break; + } + case TRIGGER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1011,12 +1125,12 @@ public Builder mergeFrom( } return this; } + private int triggerCase_ = 0; private java.lang.Object trigger_; - public TriggerCase - getTriggerCase() { - return TriggerCase.forNumber( - triggerCase_); + + public TriggerCase getTriggerCase() { + return TriggerCase.forNumber(triggerCase_); } public Builder clearTrigger() { @@ -1026,15 +1140,20 @@ public Builder clearTrigger() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Schedule, com.google.privacy.dlp.v2.Schedule.Builder, com.google.privacy.dlp.v2.ScheduleOrBuilder> scheduleBuilder_; + com.google.privacy.dlp.v2.Schedule, + com.google.privacy.dlp.v2.Schedule.Builder, + com.google.privacy.dlp.v2.ScheduleOrBuilder> + scheduleBuilder_; /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -1042,11 +1161,14 @@ public boolean hasSchedule() { return triggerCase_ == 1; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; + * * @return The schedule. */ @java.lang.Override @@ -1064,6 +1186,8 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() { } } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1084,14 +1208,15 @@ public Builder setSchedule(com.google.privacy.dlp.v2.Schedule value) { return this; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
* * .google.privacy.dlp.v2.Schedule schedule = 1; */ - public Builder setSchedule( - com.google.privacy.dlp.v2.Schedule.Builder builderForValue) { + public Builder setSchedule(com.google.privacy.dlp.v2.Schedule.Builder builderForValue) { if (scheduleBuilder_ == null) { trigger_ = builderForValue.build(); onChanged(); @@ -1102,6 +1227,8 @@ public Builder setSchedule( return this; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1110,10 +1237,13 @@ public Builder setSchedule( */ public Builder mergeSchedule(com.google.privacy.dlp.v2.Schedule value) { if (scheduleBuilder_ == null) { - if (triggerCase_ == 1 && - trigger_ != com.google.privacy.dlp.v2.Schedule.getDefaultInstance()) { - trigger_ = com.google.privacy.dlp.v2.Schedule.newBuilder((com.google.privacy.dlp.v2.Schedule) trigger_) - .mergeFrom(value).buildPartial(); + if (triggerCase_ == 1 + && trigger_ != com.google.privacy.dlp.v2.Schedule.getDefaultInstance()) { + trigger_ = + com.google.privacy.dlp.v2.Schedule.newBuilder( + (com.google.privacy.dlp.v2.Schedule) trigger_) + .mergeFrom(value) + .buildPartial(); } else { trigger_ = value; } @@ -1128,6 +1258,8 @@ public Builder mergeSchedule(com.google.privacy.dlp.v2.Schedule value) { return this; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1151,6 +1283,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1161,6 +1295,8 @@ public com.google.privacy.dlp.v2.Schedule.Builder getScheduleBuilder() { return getScheduleFieldBuilder().getBuilder(); } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1179,6 +1315,8 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { } } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1186,32 +1324,42 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { * .google.privacy.dlp.v2.Schedule schedule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Schedule, com.google.privacy.dlp.v2.Schedule.Builder, com.google.privacy.dlp.v2.ScheduleOrBuilder> + com.google.privacy.dlp.v2.Schedule, + com.google.privacy.dlp.v2.Schedule.Builder, + com.google.privacy.dlp.v2.ScheduleOrBuilder> getScheduleFieldBuilder() { if (scheduleBuilder_ == null) { if (!(triggerCase_ == 1)) { trigger_ = com.google.privacy.dlp.v2.Schedule.getDefaultInstance(); } - scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Schedule, com.google.privacy.dlp.v2.Schedule.Builder, com.google.privacy.dlp.v2.ScheduleOrBuilder>( - (com.google.privacy.dlp.v2.Schedule) trigger_, - getParentForChildren(), - isClean()); + scheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Schedule, + com.google.privacy.dlp.v2.Schedule.Builder, + com.google.privacy.dlp.v2.ScheduleOrBuilder>( + (com.google.privacy.dlp.v2.Schedule) trigger_, getParentForChildren(), isClean()); trigger_ = null; } triggerCase_ = 1; - onChanged();; + onChanged(); + ; return scheduleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Manual, com.google.privacy.dlp.v2.Manual.Builder, com.google.privacy.dlp.v2.ManualOrBuilder> manualBuilder_; + com.google.privacy.dlp.v2.Manual, + com.google.privacy.dlp.v2.Manual.Builder, + com.google.privacy.dlp.v2.ManualOrBuilder> + manualBuilder_; /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; + * * @return Whether the manual field is set. */ @java.lang.Override @@ -1219,11 +1367,14 @@ public boolean hasManual() { return triggerCase_ == 2; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; + * * @return The manual. */ @java.lang.Override @@ -1241,6 +1392,8 @@ public com.google.privacy.dlp.v2.Manual getManual() { } } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1261,14 +1414,15 @@ public Builder setManual(com.google.privacy.dlp.v2.Manual value) { return this; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; */ - public Builder setManual( - com.google.privacy.dlp.v2.Manual.Builder builderForValue) { + public Builder setManual(com.google.privacy.dlp.v2.Manual.Builder builderForValue) { if (manualBuilder_ == null) { trigger_ = builderForValue.build(); onChanged(); @@ -1279,6 +1433,8 @@ public Builder setManual( return this; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1287,10 +1443,13 @@ public Builder setManual( */ public Builder mergeManual(com.google.privacy.dlp.v2.Manual value) { if (manualBuilder_ == null) { - if (triggerCase_ == 2 && - trigger_ != com.google.privacy.dlp.v2.Manual.getDefaultInstance()) { - trigger_ = com.google.privacy.dlp.v2.Manual.newBuilder((com.google.privacy.dlp.v2.Manual) trigger_) - .mergeFrom(value).buildPartial(); + if (triggerCase_ == 2 + && trigger_ != com.google.privacy.dlp.v2.Manual.getDefaultInstance()) { + trigger_ = + com.google.privacy.dlp.v2.Manual.newBuilder( + (com.google.privacy.dlp.v2.Manual) trigger_) + .mergeFrom(value) + .buildPartial(); } else { trigger_ = value; } @@ -1305,6 +1464,8 @@ public Builder mergeManual(com.google.privacy.dlp.v2.Manual value) { return this; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1328,6 +1489,8 @@ public Builder clearManual() { return this; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1338,6 +1501,8 @@ public com.google.privacy.dlp.v2.Manual.Builder getManualBuilder() { return getManualFieldBuilder().getBuilder(); } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1356,6 +1521,8 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { } } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1363,23 +1530,28 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { * .google.privacy.dlp.v2.Manual manual = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Manual, com.google.privacy.dlp.v2.Manual.Builder, com.google.privacy.dlp.v2.ManualOrBuilder> + com.google.privacy.dlp.v2.Manual, + com.google.privacy.dlp.v2.Manual.Builder, + com.google.privacy.dlp.v2.ManualOrBuilder> getManualFieldBuilder() { if (manualBuilder_ == null) { if (!(triggerCase_ == 2)) { trigger_ = com.google.privacy.dlp.v2.Manual.getDefaultInstance(); } - manualBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Manual, com.google.privacy.dlp.v2.Manual.Builder, com.google.privacy.dlp.v2.ManualOrBuilder>( - (com.google.privacy.dlp.v2.Manual) trigger_, - getParentForChildren(), - isClean()); + manualBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Manual, + com.google.privacy.dlp.v2.Manual.Builder, + com.google.privacy.dlp.v2.ManualOrBuilder>( + (com.google.privacy.dlp.v2.Manual) trigger_, getParentForChildren(), isClean()); trigger_ = null; } triggerCase_ = 2; - onChanged();; + onChanged(); + ; return manualBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1392,12 +1564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.JobTrigger.Trigger) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.JobTrigger.Trigger) private static final com.google.privacy.dlp.v2.JobTrigger.Trigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.JobTrigger.Trigger(); } @@ -1406,16 +1578,16 @@ public static com.google.privacy.dlp.v2.JobTrigger.Trigger getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Trigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1430,17 +1602,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.JobTrigger.Trigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int jobCase_ = 0; private java.lang.Object job_; + public enum JobCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSPECT_JOB(4), JOB_NOT_SET(0); private final int value; + private JobCase(int value) { this.value = value; } @@ -1456,25 +1630,29 @@ public static JobCase valueOf(int value) { public static JobCase forNumber(int value) { switch (value) { - case 4: return INSPECT_JOB; - case 0: return JOB_NOT_SET; - default: return null; + case 4: + return INSPECT_JOB; + case 0: + return JOB_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public JobCase - getJobCase() { - return JobCase.forNumber( - jobCase_); + public JobCase getJobCase() { + return JobCase.forNumber(jobCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -1482,6 +1660,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1490,14 +1669,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; } } /** + * + * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -1505,16 +1685,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 { @@ -1525,11 +1704,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name (max 100 chars)
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1538,29 +1720,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; } } /** + * + * *
    * Display name (max 100 chars)
    * 
* * 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 { @@ -1571,11 +1753,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * User provided description (max 256 chars)
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1584,29 +1769,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; } } /** + * + * *
    * User provided description (max 256 chars)
    * 
* * 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,11 +1801,14 @@ public java.lang.String getDescription() { public static final int INSPECT_JOB_FIELD_NUMBER = 4; /** + * + * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; + * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -1628,21 +1816,26 @@ public boolean hasInspectJob() { return jobCase_ == 4; } /** + * + * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; + * * @return The inspectJob. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { if (jobCase_ == 4) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } /** + * + * *
    * For inspect jobs, a snapshot of the configuration.
    * 
@@ -1652,7 +1845,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { @java.lang.Override public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder() { if (jobCase_ == 4) { - return (com.google.privacy.dlp.v2.InspectJobConfig) job_; + return (com.google.privacy.dlp.v2.InspectJobConfig) job_; } return com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } @@ -1660,6 +1853,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde public static final int TRIGGERS_FIELD_NUMBER = 5; private java.util.List triggers_; /** + * + * *
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1673,6 +1868,8 @@ public java.util.List getTriggersL
     return triggers_;
   }
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1682,11 +1879,13 @@ public java.util.List getTriggersL
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTriggersOrBuilderList() {
     return triggers_;
   }
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1700,6 +1899,8 @@ public int getTriggersCount() {
     return triggers_.size();
   }
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1713,6 +1914,8 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
     return triggers_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -1722,14 +1925,15 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index) {
     return triggers_.get(index);
   }
 
   public static final int ERRORS_FIELD_NUMBER = 6;
   private java.util.List errors_;
   /**
+   *
+   *
    * 
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1737,13 +1941,17 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1751,14 +1959,18 @@ public java.util.List getErrorsList() {
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1766,13 +1978,17 @@ public java.util.List getErrorsList() {
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1780,13 +1996,17 @@ public int getErrorsCount() {
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.Error getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -1794,22 +2014,27 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { return errors_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1817,11 +2042,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1829,11 +2058,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1843,11 +2075,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1855,11 +2091,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1867,11 +2107,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1881,11 +2124,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_RUN_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp lastRunTime_; /** + * + * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastRunTime field is set. */ @java.lang.Override @@ -1893,11 +2141,16 @@ public boolean hasLastRunTime() { return lastRunTime_ != null; } /** + * + * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastRunTime. */ @java.lang.Override @@ -1905,11 +2158,15 @@ public com.google.protobuf.Timestamp getLastRunTime() { return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; } /** + * + * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { @@ -1919,31 +2176,45 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { public static final int STATUS_FIELD_NUMBER = 10; private int status_; /** + * + * *
    * Required. A status for this trigger.
    * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * Required. A status for this trigger.
    * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The status. */ - @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() { + @java.lang.Override + public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.JobTrigger.Status result = com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); + com.google.privacy.dlp.v2.JobTrigger.Status result = + com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); return result == null ? com.google.privacy.dlp.v2.JobTrigger.Status.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1955,8 +2226,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2006,32 +2276,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (jobCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.InspectJobConfig) job_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.InspectJobConfig) job_); } for (int i = 0; i < triggers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, triggers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, triggers_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, errors_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); } if (lastRunTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLastRunTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastRunTime()); } if (status_ != com.google.privacy.dlp.v2.JobTrigger.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2041,44 +2306,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.privacy.dlp.v2.JobTrigger)) { return super.equals(obj); } com.google.privacy.dlp.v2.JobTrigger other = (com.google.privacy.dlp.v2.JobTrigger) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getTriggersList() - .equals(other.getTriggersList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getTriggersList().equals(other.getTriggersList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) 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 (hasLastRunTime() != other.hasLastRunTime()) return false; if (hasLastRunTime()) { - if (!getLastRunTime() - .equals(other.getLastRunTime())) return false; + if (!getLastRunTime().equals(other.getLastRunTime())) return false; } if (status_ != other.status_) return false; if (!getJobCase().equals(other.getJobCase())) return false; switch (jobCase_) { case 4: - if (!getInspectJob() - .equals(other.getInspectJob())) return false; + if (!getInspectJob().equals(other.getInspectJob())) return false; break; case 0: default: @@ -2135,97 +2391,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.JobTrigger parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.JobTrigger parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger 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.privacy.dlp.v2.JobTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.JobTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.JobTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains a configuration to make dlp api calls on a repeating basis.
    * See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
@@ -2233,21 +2495,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.JobTrigger}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.JobTrigger)
       com.google.privacy.dlp.v2.JobTriggerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.JobTrigger.class, com.google.privacy.dlp.v2.JobTrigger.Builder.class);
+              com.google.privacy.dlp.v2.JobTrigger.class,
+              com.google.privacy.dlp.v2.JobTrigger.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.JobTrigger.newBuilder()
@@ -2255,18 +2519,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTriggersFieldBuilder();
         getErrorsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2314,9 +2578,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_JobTrigger_descriptor;
     }
 
     @java.lang.Override
@@ -2390,38 +2654,39 @@ public com.google.privacy.dlp.v2.JobTrigger buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.JobTrigger) {
-        return mergeFrom((com.google.privacy.dlp.v2.JobTrigger)other);
+        return mergeFrom((com.google.privacy.dlp.v2.JobTrigger) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2460,9 +2725,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
             triggersBuilder_ = null;
             triggers_ = other.triggers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            triggersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTriggersFieldBuilder() : null;
+            triggersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTriggersFieldBuilder()
+                    : null;
           } else {
             triggersBuilder_.addAllMessages(other.triggers_);
           }
@@ -2486,9 +2752,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
             errorsBuilder_ = null;
             errors_ = other.errors_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            errorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getErrorsFieldBuilder() : null;
+            errorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getErrorsFieldBuilder()
+                    : null;
           } else {
             errorsBuilder_.addAllMessages(other.errors_);
           }
@@ -2507,13 +2774,15 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.JobTrigger other) {
         setStatusValue(other.getStatusValue());
       }
       switch (other.getJobCase()) {
-        case INSPECT_JOB: {
-          mergeInspectJob(other.getInspectJob());
-          break;
-        }
-        case JOB_NOT_SET: {
-          break;
-        }
+        case INSPECT_JOB:
+          {
+            mergeInspectJob(other.getInspectJob());
+            break;
+          }
+        case JOB_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2543,12 +2812,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int jobCase_ = 0;
     private java.lang.Object job_;
-    public JobCase
-        getJobCase() {
-      return JobCase.forNumber(
-          jobCase_);
+
+    public JobCase getJobCase() {
+      return JobCase.forNumber(jobCase_);
     }
 
     public Builder clearJob() {
@@ -2562,6 +2831,8 @@ public Builder clearJob() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2569,13 +2840,13 @@ public Builder clearJob() {
      * 
* * 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; @@ -2584,6 +2855,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2591,15 +2864,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 { @@ -2607,6 +2879,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2614,20 +2888,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2635,15 +2911,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2651,16 +2930,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2668,18 +2947,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name (max 100 chars)
      * 
* * 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; @@ -2688,20 +2969,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name (max 100 chars)
      * 
* * 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 { @@ -2709,54 +2991,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name (max 100 chars)
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name (max 100 chars)
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name (max 100 chars)
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2764,18 +3053,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * User provided description (max 256 chars)
      * 
* * 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; @@ -2784,20 +3075,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User provided description (max 256 chars)
      * 
* * 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 { @@ -2805,67 +3097,80 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User provided description (max 256 chars)
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * User provided description (max 256 chars)
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * User provided description (max 256 chars)
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> inspectJobBuilder_; + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + inspectJobBuilder_; /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; + * * @return Whether the inspectJob field is set. */ @java.lang.Override @@ -2873,11 +3178,14 @@ public boolean hasInspectJob() { return jobCase_ == 4; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; + * * @return The inspectJob. */ @java.lang.Override @@ -2895,6 +3203,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2915,6 +3225,8 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2933,6 +3245,8 @@ public Builder setInspectJob( return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2941,10 +3255,13 @@ public Builder setInspectJob( */ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { if (inspectJobBuilder_ == null) { - if (jobCase_ == 4 && - job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { - job_ = com.google.privacy.dlp.v2.InspectJobConfig.newBuilder((com.google.privacy.dlp.v2.InspectJobConfig) job_) - .mergeFrom(value).buildPartial(); + if (jobCase_ == 4 + && job_ != com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance()) { + job_ = + com.google.privacy.dlp.v2.InspectJobConfig.newBuilder( + (com.google.privacy.dlp.v2.InspectJobConfig) job_) + .mergeFrom(value) + .buildPartial(); } else { job_ = value; } @@ -2959,6 +3276,8 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2982,6 +3301,8 @@ public Builder clearInspectJob() { return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2992,6 +3313,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3010,6 +3333,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3017,37 +3342,50 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder> getInspectJobFieldBuilder() { if (inspectJobBuilder_ == null) { if (!(jobCase_ == 4)) { job_ = com.google.privacy.dlp.v2.InspectJobConfig.getDefaultInstance(); } - inspectJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectJobConfig, com.google.privacy.dlp.v2.InspectJobConfig.Builder, com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( + inspectJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectJobConfig, + com.google.privacy.dlp.v2.InspectJobConfig.Builder, + com.google.privacy.dlp.v2.InspectJobConfigOrBuilder>( (com.google.privacy.dlp.v2.InspectJobConfig) job_, getParentForChildren(), isClean()); job_ = null; } jobCase_ = 4; - onChanged();; + onChanged(); + ; return inspectJobBuilder_; } private java.util.List triggers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTriggersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - triggers_ = new java.util.ArrayList(triggers_); + triggers_ = + new java.util.ArrayList(triggers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger.Trigger, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> triggersBuilder_; + com.google.privacy.dlp.v2.JobTrigger.Trigger, + com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, + com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> + triggersBuilder_; /** + * + * *
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3064,6 +3402,8 @@ public java.util.List getTriggersL
       }
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3080,6 +3420,8 @@ public int getTriggersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3096,6 +3438,8 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3104,8 +3448,7 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index) {
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public Builder setTriggers(
-        int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
+    public Builder setTriggers(int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
       if (triggersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3119,6 +3462,8 @@ public Builder setTriggers(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3139,6 +3484,8 @@ public Builder setTriggers(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3161,6 +3508,8 @@ public Builder addTriggers(com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3169,8 +3518,7 @@ public Builder addTriggers(com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public Builder addTriggers(
-        int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
+    public Builder addTriggers(int index, com.google.privacy.dlp.v2.JobTrigger.Trigger value) {
       if (triggersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3184,6 +3532,8 @@ public Builder addTriggers(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3204,6 +3554,8 @@ public Builder addTriggers(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3224,6 +3576,8 @@ public Builder addTriggers(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3236,8 +3590,7 @@ public Builder addAllTriggers(
         java.lang.Iterable values) {
       if (triggersBuilder_ == null) {
         ensureTriggersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, triggers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, triggers_);
         onChanged();
       } else {
         triggersBuilder_.addAllMessages(values);
@@ -3245,6 +3598,8 @@ public Builder addAllTriggers(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3264,6 +3619,8 @@ public Builder clearTriggers() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3283,6 +3640,8 @@ public Builder removeTriggers(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3291,11 +3650,12 @@ public Builder removeTriggers(int index) {
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder getTriggersBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder getTriggersBuilder(int index) {
       return getTriggersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3304,14 +3664,16 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder getTriggersBuilder(
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index) {
       if (triggersBuilder_ == null) {
-        return triggers_.get(index);  } else {
+        return triggers_.get(index);
+      } else {
         return triggersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3320,8 +3682,8 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public java.util.List 
-         getTriggersOrBuilderList() {
+    public java.util.List
+        getTriggersOrBuilderList() {
       if (triggersBuilder_ != null) {
         return triggersBuilder_.getMessageOrBuilderList();
       } else {
@@ -3329,6 +3691,8 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3338,10 +3702,12 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
     public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder() {
-      return getTriggersFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
+      return getTriggersFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3350,12 +3716,13 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder()
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(
-        int index) {
-      return getTriggersFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
+    public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(int index) {
+      return getTriggersFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.JobTrigger.Trigger.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of triggers which will be OR'ed together. Only one in the list
      * needs to trigger for a job to be started. The list may contain only
@@ -3364,38 +3731,47 @@ public com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder addTriggersBuilder(
      *
      * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
      */
-    public java.util.List 
-         getTriggersBuilderList() {
+    public java.util.List
+        getTriggersBuilderList() {
       return getTriggersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.JobTrigger.Trigger, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> 
+            com.google.privacy.dlp.v2.JobTrigger.Trigger,
+            com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder,
+            com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>
         getTriggersFieldBuilder() {
       if (triggersBuilder_ == null) {
-        triggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.JobTrigger.Trigger, com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder, com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>(
-                triggers_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        triggersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.JobTrigger.Trigger,
+                com.google.privacy.dlp.v2.JobTrigger.Trigger.Builder,
+                com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>(
+                triggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         triggers_ = null;
       }
       return triggersBuilder_;
     }
 
     private java.util.List errors_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureErrorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         errors_ = new java.util.ArrayList(errors_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> errorsBuilder_;
+            com.google.privacy.dlp.v2.Error,
+            com.google.privacy.dlp.v2.Error.Builder,
+            com.google.privacy.dlp.v2.ErrorOrBuilder>
+        errorsBuilder_;
 
     /**
+     *
+     *
      * 
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3403,7 +3779,9 @@ private void ensureErrorsIsMutable() {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -3413,6 +3791,8 @@ public java.util.List getErrorsList() { } } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3420,7 +3800,9 @@ public java.util.List getErrorsList() {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -3430,6 +3812,8 @@ public int getErrorsCount() { } } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3437,7 +3821,9 @@ public int getErrorsCount() {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.privacy.dlp.v2.Error getErrors(int index) { if (errorsBuilder_ == null) { @@ -3447,6 +3833,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { } } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3454,10 +3842,11 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrors( - int index, com.google.privacy.dlp.v2.Error value) { + public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3471,6 +3860,8 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3478,10 +3869,11 @@ public Builder setErrors(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrors( - int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -3492,6 +3884,8 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3499,7 +3893,9 @@ public Builder setErrors(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { @@ -3515,6 +3911,8 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3522,10 +3920,11 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addErrors( - int index, com.google.privacy.dlp.v2.Error value) { + public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3539,6 +3938,8 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3546,10 +3947,11 @@ public Builder addErrors(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addErrors( - com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -3560,6 +3962,8 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3567,10 +3971,11 @@ public Builder addErrors(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addErrors( - int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { + public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -3581,6 +3986,8 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3588,14 +3995,15 @@ public Builder addErrors(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -3603,6 +4011,8 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3610,7 +4020,9 @@ public Builder addAllErrors(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -3623,6 +4035,8 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3630,7 +4044,9 @@ public Builder clearErrors() {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -3643,6 +4059,8 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3650,13 +4068,16 @@ public Builder removeErrors(int index) {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder( - int index) { + public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3664,16 +4085,20 @@ public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3681,10 +4106,12 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -3692,6 +4119,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( } } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3699,13 +4128,17 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Error.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3713,14 +4146,17 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() {
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); + public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Error.getDefaultInstance()); } /** + * + * *
      * Output only. A stream of errors encountered when the trigger was activated. Repeated
      * errors may result in the JobTrigger automatically being paused.
@@ -3728,22 +4164,26 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(
      * this list will be cleared.
      * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> + com.google.privacy.dlp.v2.Error, + com.google.privacy.dlp.v2.Error.Builder, + com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Error, + com.google.privacy.dlp.v2.Error.Builder, + com.google.privacy.dlp.v2.ErrorOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -3751,39 +4191,58 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder( 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 creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.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 creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3799,14 +4258,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3817,17 +4279,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3839,11 +4305,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3857,48 +4327,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.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 creation timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.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_; @@ -3906,39 +4392,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3954,14 +4459,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3972,17 +4480,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3994,11 +4506,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4012,48 +4528,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The last update timestamp of a triggeredJob.
      * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4061,39 +4593,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp lastRunTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastRunTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastRunTimeBuilder_; /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastRunTime field is set. */ public boolean hasLastRunTime() { return lastRunTimeBuilder_ != null || lastRunTime_ != null; } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastRunTime. */ public com.google.protobuf.Timestamp getLastRunTime() { if (lastRunTimeBuilder_ == null) { - return lastRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; + return lastRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastRunTime_; } else { return lastRunTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastRunTime(com.google.protobuf.Timestamp value) { if (lastRunTimeBuilder_ == null) { @@ -4109,14 +4660,17 @@ public Builder setLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLastRunTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastRunTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastRunTimeBuilder_ == null) { lastRunTime_ = builderForValue.build(); onChanged(); @@ -4127,17 +4681,23 @@ public Builder setLastRunTime( return this; } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { if (lastRunTimeBuilder_ == null) { if (lastRunTime_ != null) { lastRunTime_ = - com.google.protobuf.Timestamp.newBuilder(lastRunTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastRunTime_) + .mergeFrom(value) + .buildPartial(); } else { lastRunTime_ = value; } @@ -4149,11 +4709,15 @@ public Builder mergeLastRunTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastRunTime() { if (lastRunTimeBuilder_ == null) { @@ -4167,48 +4731,64 @@ public Builder clearLastRunTime() { return this; } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastRunTimeBuilder() { - + onChanged(); return getLastRunTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { if (lastRunTimeBuilder_ != null) { return lastRunTimeBuilder_.getMessageOrBuilder(); } else { - return lastRunTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastRunTime_; + return lastRunTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastRunTime_; } } /** + * + * *
      * Output only. The timestamp of the last time this trigger executed.
      * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.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> getLastRunTimeFieldBuilder() { if (lastRunTimeBuilder_ == null) { - lastRunTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastRunTime(), - getParentForChildren(), - isClean()); + lastRunTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastRunTime(), getParentForChildren(), isClean()); lastRunTime_ = null; } return lastRunTimeBuilder_; @@ -4216,51 +4796,73 @@ public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder() { private int status_ = 0; /** + * + * *
      * Required. A status for this trigger.
      * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * Required. A status for this trigger.
      * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * Required. A status for this trigger.
      * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The status. */ @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger.Status getStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.JobTrigger.Status result = com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); + com.google.privacy.dlp.v2.JobTrigger.Status result = + com.google.privacy.dlp.v2.JobTrigger.Status.valueOf(status_); return result == null ? com.google.privacy.dlp.v2.JobTrigger.Status.UNRECOGNIZED : result; } /** + * + * *
      * Required. A status for this trigger.
      * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The status to set. * @return This builder for chaining. */ @@ -4268,28 +4870,33 @@ public Builder setStatus(com.google.privacy.dlp.v2.JobTrigger.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. A status for this trigger.
      * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4299,12 +4906,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.JobTrigger) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.JobTrigger) private static final com.google.privacy.dlp.v2.JobTrigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.JobTrigger(); } @@ -4313,16 +4920,16 @@ public static com.google.privacy.dlp.v2.JobTrigger getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JobTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JobTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4337,6 +4944,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.JobTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java index 399e0b46..5acc7e47 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface JobTriggerOrBuilder extends +public interface JobTriggerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.JobTrigger) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -15,10 +33,13 @@ public interface JobTriggerOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
@@ -26,70 +47,88 @@ public interface JobTriggerOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Display name (max 100 chars)
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name (max 100 chars)
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * User provided description (max 256 chars)
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User provided description (max 256 chars)
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; + * * @return Whether the inspectJob field is set. */ boolean hasInspectJob(); /** + * + * *
    * For inspect jobs, a snapshot of the configuration.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4; + * * @return The inspectJob. */ com.google.privacy.dlp.v2.InspectJobConfig getInspectJob(); /** + * + * *
    * For inspect jobs, a snapshot of the configuration.
    * 
@@ -99,6 +138,8 @@ public interface JobTriggerOrBuilder extends com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder(); /** + * + * *
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -107,9 +148,10 @@ public interface JobTriggerOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
-  java.util.List 
-      getTriggersList();
+  java.util.List getTriggersList();
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -120,6 +162,8 @@ public interface JobTriggerOrBuilder extends
    */
   com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index);
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -130,6 +174,8 @@ public interface JobTriggerOrBuilder extends
    */
   int getTriggersCount();
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -138,9 +184,11 @@ public interface JobTriggerOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
-  java.util.List 
+  java.util.List
       getTriggersOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of triggers which will be OR'ed together. Only one in the list
    * needs to trigger for a job to be started. The list may contain only
@@ -149,10 +197,11 @@ public interface JobTriggerOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    */
-  com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -160,11 +209,14 @@ com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -172,10 +224,14 @@ com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.privacy.dlp.v2.Error getErrors(int index); /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -183,10 +239,14 @@ com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getErrorsCount(); /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -194,11 +254,14 @@ com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsOrBuilderList(); + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * Output only. A stream of errors encountered when the trigger was activated. Repeated
    * errors may result in the JobTrigger automatically being paused.
@@ -206,107 +269,154 @@ com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(
    * this list will be cleared.
    * 
* - * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index); /** + * + * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a triggeredJob.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastRunTime field is set. */ boolean hasLastRunTime(); /** + * + * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastRunTime. */ com.google.protobuf.Timestamp getLastRunTime(); /** + * + * *
    * Output only. The timestamp of the last time this trigger executed.
    * 
* - * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder(); /** + * + * *
    * Required. A status for this trigger.
    * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * Required. A status for this trigger.
    * 
* - * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The status. */ com.google.privacy.dlp.v2.JobTrigger.Status getStatus(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java index a18aa19f..9619ca24 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Key.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A unique identifier for a Datastore entity.
  * If a key's partition ID or any of its path kinds or names are
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Key}
  */
-public final class Key extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Key extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Key)
     KeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Key.newBuilder() to construct.
   private Key(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Key() {
     path_ = 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 Key();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Key(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,42 +74,46 @@ private Key(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null;
-            if (partitionId_ != null) {
-              subBuilder = partitionId_.toBuilder();
-            }
-            partitionId_ = input.readMessage(com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(partitionId_);
-              partitionId_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.PartitionId.Builder subBuilder = null;
+              if (partitionId_ != null) {
+                subBuilder = partitionId_.toBuilder();
+              }
+              partitionId_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.PartitionId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(partitionId_);
+                partitionId_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              path_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            path_.add(
-                input.readMessage(com.google.privacy.dlp.v2.Key.PathElement.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                path_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              path_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Key.PathElement.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         path_ = java.util.Collections.unmodifiableList(path_);
@@ -101,24 +122,29 @@ private Key(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_Key_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Key.class, com.google.privacy.dlp.v2.Key.Builder.class);
   }
 
-  public interface PathElementOrBuilder extends
+  public interface PathElementOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Key.PathElement)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -127,10 +153,13 @@ public interface PathElementOrBuilder extends
      * 
* * string kind = 1; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -139,12 +168,14 @@ public interface PathElementOrBuilder extends
      * 
* * string kind = 1; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); /** + * + * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -152,10 +183,13 @@ public interface PathElementOrBuilder extends
      * 
* * int64 id = 2; + * * @return Whether the id field is set. */ boolean hasId(); /** + * + * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -163,11 +197,14 @@ public interface PathElementOrBuilder extends
      * 
* * int64 id = 2; + * * @return The id. */ long getId(); /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -176,10 +213,13 @@ public interface PathElementOrBuilder extends
      * 
* * string name = 3; + * * @return Whether the name field is set. */ boolean hasName(); /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -188,10 +228,13 @@ public interface PathElementOrBuilder extends
      * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -200,14 +243,16 @@ public interface PathElementOrBuilder extends
      * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); public com.google.privacy.dlp.v2.Key.PathElement.IdTypeCase getIdTypeCase(); } /** + * + * *
    * A (kind, ID/name) pair used to construct a key path.
    * If either name or ID is set, the element is complete.
@@ -216,31 +261,31 @@ public interface PathElementOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Key.PathElement}
    */
-  public static final class PathElement extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PathElement extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Key.PathElement)
       PathElementOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PathElement.newBuilder() to construct.
     private PathElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PathElement() {
       kind_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PathElement();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PathElement(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -259,64 +304,72 @@ private PathElement(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              kind_ = s;
-              break;
-            }
-            case 16: {
-              idTypeCase_ = 2;
-              idType_ = input.readInt64();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              idTypeCase_ = 3;
-              idType_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                kind_ = s;
+                break;
+              }
+            case 16:
+              {
+                idTypeCase_ = 2;
+                idType_ = input.readInt64();
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                idTypeCase_ = 3;
+                idType_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Key.PathElement.class, com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
+              com.google.privacy.dlp.v2.Key.PathElement.class,
+              com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
     }
 
     private int idTypeCase_ = 0;
     private java.lang.Object idType_;
+
     public enum IdTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ID(2),
       NAME(3),
       IDTYPE_NOT_SET(0);
       private final int value;
+
       private IdTypeCase(int value) {
         this.value = value;
       }
@@ -332,26 +385,31 @@ public static IdTypeCase valueOf(int value) {
 
       public static IdTypeCase forNumber(int value) {
         switch (value) {
-          case 2: return ID;
-          case 3: return NAME;
-          case 0: return IDTYPE_NOT_SET;
-          default: return null;
+          case 2:
+            return ID;
+          case 3:
+            return NAME;
+          case 0:
+            return IDTYPE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public IdTypeCase
-    getIdTypeCase() {
-      return IdTypeCase.forNumber(
-          idTypeCase_);
+    public IdTypeCase getIdTypeCase() {
+      return IdTypeCase.forNumber(idTypeCase_);
     }
 
     public static final int KIND_FIELD_NUMBER = 1;
     private volatile java.lang.Object kind_;
     /**
+     *
+     *
      * 
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -360,6 +418,7 @@ public int getNumber() {
      * 
* * string kind = 1; + * * @return The kind. */ @java.lang.Override @@ -368,14 +427,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
      * The kind of the entity.
      * A kind matching regex `__.*__` is reserved/read-only.
@@ -384,16 +444,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 1; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -403,6 +462,8 @@ public java.lang.String getKind() { public static final int ID_FIELD_NUMBER = 2; /** + * + * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -410,6 +471,7 @@ public java.lang.String getKind() {
      * 
* * int64 id = 2; + * * @return Whether the id field is set. */ @java.lang.Override @@ -417,6 +479,8 @@ public boolean hasId() { return idTypeCase_ == 2; } /** + * + * *
      * The auto-allocated ID of the entity.
      * Never equal to zero. Values less than zero are discouraged and may not
@@ -424,6 +488,7 @@ public boolean hasId() {
      * 
* * int64 id = 2; + * * @return The id. */ @java.lang.Override @@ -436,6 +501,8 @@ public long getId() { public static final int NAME_FIELD_NUMBER = 3; /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -444,12 +511,15 @@ public long getId() {
      * 
* * string name = 3; + * * @return Whether the name field is set. */ public boolean hasName() { return idTypeCase_ == 3; } /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -458,6 +528,7 @@ public boolean hasName() {
      * 
* * string name = 3; + * * @return The name. */ public java.lang.String getName() { @@ -468,8 +539,7 @@ 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(); if (idTypeCase_ == 3) { idType_ = s; @@ -478,6 +548,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -486,18 +558,17 @@ public java.lang.String getName() {
      * 
* * string name = 3; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -508,6 +579,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,14 +591,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); } if (idTypeCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) idType_)); + output.writeInt64(2, (long) ((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, idType_); @@ -544,9 +614,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); } if (idTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) idType_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, idType_); @@ -559,24 +629,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.privacy.dlp.v2.Key.PathElement)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Key.PathElement other = (com.google.privacy.dlp.v2.Key.PathElement) obj; + com.google.privacy.dlp.v2.Key.PathElement other = + (com.google.privacy.dlp.v2.Key.PathElement) obj; - if (!getKind() - .equals(other.getKind())) return false; + if (!getKind().equals(other.getKind())) return false; if (!getIdTypeCase().equals(other.getIdTypeCase())) return false; switch (idTypeCase_) { case 2: - if (getId() - != other.getId()) return false; + if (getId() != other.getId()) return false; break; case 3: - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; break; case 0: default: @@ -597,8 +665,7 @@ public int hashCode() { switch (idTypeCase_) { case 2: hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); break; case 3: hash = (37 * hash) + NAME_FIELD_NUMBER; @@ -612,88 +679,94 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.Key.PathElement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.Key.PathElement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Key.PathElement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Key.PathElement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Key.PathElement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -703,6 +776,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A (kind, ID/name) pair used to construct a key path.
      * If either name or ID is set, the element is complete.
@@ -711,21 +786,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Key.PathElement}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Key.PathElement)
         com.google.privacy.dlp.v2.Key.PathElementOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_Key_PathElement_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Key.PathElement.class, com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
+                com.google.privacy.dlp.v2.Key.PathElement.class,
+                com.google.privacy.dlp.v2.Key.PathElement.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Key.PathElement.newBuilder()
@@ -733,16 +811,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -754,9 +831,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
@@ -775,7 +852,8 @@ public com.google.privacy.dlp.v2.Key.PathElement build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Key.PathElement buildPartial() {
-        com.google.privacy.dlp.v2.Key.PathElement result = new com.google.privacy.dlp.v2.Key.PathElement(this);
+        com.google.privacy.dlp.v2.Key.PathElement result =
+            new com.google.privacy.dlp.v2.Key.PathElement(this);
         result.kind_ = kind_;
         if (idTypeCase_ == 2) {
           result.idType_ = idType_;
@@ -792,38 +870,41 @@ public com.google.privacy.dlp.v2.Key.PathElement buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Key.PathElement) {
-          return mergeFrom((com.google.privacy.dlp.v2.Key.PathElement)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Key.PathElement) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -837,19 +918,22 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Key.PathElement other) {
           onChanged();
         }
         switch (other.getIdTypeCase()) {
-          case ID: {
-            setId(other.getId());
-            break;
-          }
-          case NAME: {
-            idTypeCase_ = 3;
-            idType_ = other.idType_;
-            onChanged();
-            break;
-          }
-          case IDTYPE_NOT_SET: {
-            break;
-          }
+          case ID:
+            {
+              setId(other.getId());
+              break;
+            }
+          case NAME:
+            {
+              idTypeCase_ = 3;
+              idType_ = other.idType_;
+              onChanged();
+              break;
+            }
+          case IDTYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -879,12 +963,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int idTypeCase_ = 0;
       private java.lang.Object idType_;
-      public IdTypeCase
-          getIdTypeCase() {
-        return IdTypeCase.forNumber(
-            idTypeCase_);
+
+      public IdTypeCase getIdTypeCase() {
+        return IdTypeCase.forNumber(idTypeCase_);
       }
 
       public Builder clearIdType() {
@@ -894,9 +978,10 @@ public Builder clearIdType() {
         return this;
       }
 
-
       private java.lang.Object kind_ = "";
       /**
+       *
+       *
        * 
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -905,13 +990,13 @@ public Builder clearIdType() {
        * 
* * string kind = 1; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -920,6 +1005,8 @@ public java.lang.String getKind() { } } /** + * + * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -928,15 +1015,14 @@ public java.lang.String getKind() {
        * 
* * string kind = 1; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -944,6 +1030,8 @@ public java.lang.String getKind() { } } /** + * + * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -952,20 +1040,22 @@ public java.lang.String getKind() {
        * 
* * string kind = 1; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { + public Builder setKind(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** + * + * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -974,15 +1064,18 @@ public Builder setKind(
        * 
* * string kind = 1; + * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** + * + * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -991,22 +1084,24 @@ public Builder clearKind() {
        * 
* * string kind = 1; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { + public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; onChanged(); return this; } /** + * + * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1014,12 +1109,15 @@ public Builder setKindBytes(
        * 
* * int64 id = 2; + * * @return Whether the id field is set. */ public boolean hasId() { return idTypeCase_ == 2; } /** + * + * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1027,6 +1125,7 @@ public boolean hasId() {
        * 
* * int64 id = 2; + * * @return The id. */ public long getId() { @@ -1036,6 +1135,8 @@ public long getId() { return 0L; } /** + * + * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1043,6 +1144,7 @@ public long getId() {
        * 
* * int64 id = 2; + * * @param value The id to set. * @return This builder for chaining. */ @@ -1053,6 +1155,8 @@ public Builder setId(long value) { return this; } /** + * + * *
        * The auto-allocated ID of the entity.
        * Never equal to zero. Values less than zero are discouraged and may not
@@ -1060,6 +1164,7 @@ public Builder setId(long value) {
        * 
* * int64 id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -1072,6 +1177,8 @@ public Builder clearId() { } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1080,6 +1187,7 @@ public Builder clearId() {
        * 
* * string name = 3; + * * @return Whether the name field is set. */ @java.lang.Override @@ -1087,6 +1195,8 @@ public boolean hasName() { return idTypeCase_ == 3; } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1095,6 +1205,7 @@ public boolean hasName() {
        * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -1104,8 +1215,7 @@ public java.lang.String getName() { ref = idType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (idTypeCase_ == 3) { idType_ = s; @@ -1116,6 +1226,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1124,19 +1236,18 @@ public java.lang.String getName() {
        * 
* * string name = 3; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -1146,6 +1257,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1154,20 +1267,22 @@ public java.lang.String getName() {
        * 
* * string name = 3; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - idTypeCase_ = 3; + throw new NullPointerException(); + } + idTypeCase_ = 3; idType_ = value; onChanged(); return this; } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1176,6 +1291,7 @@ public Builder setName(
        * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1187,6 +1303,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1195,20 +1313,21 @@ public Builder clearName() {
        * 
* * string name = 3; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); idTypeCase_ = 3; idType_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1221,12 +1340,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Key.PathElement) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Key.PathElement) private static final com.google.privacy.dlp.v2.Key.PathElement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Key.PathElement(); } @@ -1235,16 +1354,16 @@ public static com.google.privacy.dlp.v2.Key.PathElement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PathElement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PathElement(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PathElement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PathElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,12 +1378,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARTITION_ID_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.PartitionId partitionId_; /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1272,6 +1392,7 @@ public com.google.privacy.dlp.v2.Key.PathElement getDefaultInstanceForType() {
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -1279,6 +1400,8 @@ public boolean hasPartitionId() { return partitionId_ != null; } /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1286,13 +1409,18 @@ public boolean hasPartitionId() {
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return The partitionId. */ @java.lang.Override public com.google.privacy.dlp.v2.PartitionId getPartitionId() { - return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() + : partitionId_; } /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1309,6 +1437,8 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
   public static final int PATH_FIELD_NUMBER = 2;
   private java.util.List path_;
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1327,6 +1457,8 @@ public java.util.List getPathList() {
     return path_;
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1341,11 +1473,13 @@ public java.util.List getPathList() {
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPathOrBuilderList() {
     return path_;
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1364,6 +1498,8 @@ public int getPathCount() {
     return path_.size();
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1382,6 +1518,8 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
     return path_.get(index);
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1396,12 +1534,12 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index) {
     return path_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1413,8 +1551,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (partitionId_ != null) {
       output.writeMessage(1, getPartitionId());
     }
@@ -1431,12 +1568,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (partitionId_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPartitionId());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartitionId());
     }
     for (int i = 0; i < path_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, path_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, path_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1446,7 +1581,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.privacy.dlp.v2.Key)) {
       return super.equals(obj);
@@ -1455,11 +1590,9 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasPartitionId() != other.hasPartitionId()) return false;
     if (hasPartitionId()) {
-      if (!getPartitionId()
-          .equals(other.getPartitionId())) return false;
+      if (!getPartitionId().equals(other.getPartitionId())) return false;
     }
-    if (!getPathList()
-        .equals(other.getPathList())) return false;
+    if (!getPathList().equals(other.getPathList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1484,97 +1617,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.Key parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.Key parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Key parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.Key parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.privacy.dlp.v2.Key parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Key parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Key parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Key parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Key parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.Key parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Key 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.privacy.dlp.v2.Key parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.Key parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.privacy.dlp.v2.Key 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.privacy.dlp.v2.Key parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.Key prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 unique identifier for a Datastore entity.
    * If a key's partition ID or any of its path kinds or names are
@@ -1584,19 +1723,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Key}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Key)
       com.google.privacy.dlp.v2.KeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_Key_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_Key_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Key.class, com.google.privacy.dlp.v2.Key.Builder.class);
     }
@@ -1606,17 +1746,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getPathFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1636,9 +1776,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_Key_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_Key_descriptor;
     }
 
     @java.lang.Override
@@ -1681,38 +1821,39 @@ public com.google.privacy.dlp.v2.Key buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Key) {
-        return mergeFrom((com.google.privacy.dlp.v2.Key)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Key) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1742,9 +1883,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Key other) {
             pathBuilder_ = null;
             path_ = other.path_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pathBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPathFieldBuilder() : null;
+            pathBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPathFieldBuilder()
+                    : null;
           } else {
             pathBuilder_.addAllMessages(other.path_);
           }
@@ -1778,12 +1920,18 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.PartitionId partitionId_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> partitionIdBuilder_;
+            com.google.privacy.dlp.v2.PartitionId,
+            com.google.privacy.dlp.v2.PartitionId.Builder,
+            com.google.privacy.dlp.v2.PartitionIdOrBuilder>
+        partitionIdBuilder_;
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1791,12 +1939,15 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return partitionIdBuilder_ != null || partitionId_ != null; } /** + * + * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1804,16 +1955,21 @@ public boolean hasPartitionId() {
      * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return The partitionId. */ public com.google.privacy.dlp.v2.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() + : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** + * + * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1836,6 +1992,8 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1844,8 +2002,7 @@ public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId value) {
      *
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
-    public Builder setPartitionId(
-        com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(com.google.privacy.dlp.v2.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
         onChanged();
@@ -1856,6 +2013,8 @@ public Builder setPartitionId(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1868,7 +2027,9 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       if (partitionIdBuilder_ == null) {
         if (partitionId_ != null) {
           partitionId_ =
-            com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.PartitionId.newBuilder(partitionId_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           partitionId_ = value;
         }
@@ -1880,6 +2041,8 @@ public Builder mergePartitionId(com.google.privacy.dlp.v2.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1900,6 +2063,8 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1909,11 +2074,13 @@ public Builder clearPartitionId() {
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     public com.google.privacy.dlp.v2.PartitionId.Builder getPartitionIdBuilder() {
-      
+
       onChanged();
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1926,11 +2093,14 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null ?
-            com.google.privacy.dlp.v2.PartitionId.getDefaultInstance() : partitionId_;
+        return partitionId_ == null
+            ? com.google.privacy.dlp.v2.PartitionId.getDefaultInstance()
+            : partitionId_;
       }
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1940,32 +2110,41 @@ public com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder()
      * .google.privacy.dlp.v2.PartitionId partition_id = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder> 
+            com.google.privacy.dlp.v2.PartitionId,
+            com.google.privacy.dlp.v2.PartitionId.Builder,
+            com.google.privacy.dlp.v2.PartitionIdOrBuilder>
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.PartitionId, com.google.privacy.dlp.v2.PartitionId.Builder, com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
-                getPartitionId(),
-                getParentForChildren(),
-                isClean());
+        partitionIdBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.PartitionId,
+                com.google.privacy.dlp.v2.PartitionId.Builder,
+                com.google.privacy.dlp.v2.PartitionIdOrBuilder>(
+                getPartitionId(), getParentForChildren(), isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
     }
 
     private java.util.List path_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePathIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         path_ = new java.util.ArrayList(path_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.Key.PathElement, com.google.privacy.dlp.v2.Key.PathElement.Builder, com.google.privacy.dlp.v2.Key.PathElementOrBuilder> pathBuilder_;
+            com.google.privacy.dlp.v2.Key.PathElement,
+            com.google.privacy.dlp.v2.Key.PathElement.Builder,
+            com.google.privacy.dlp.v2.Key.PathElementOrBuilder>
+        pathBuilder_;
 
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -1987,6 +2166,8 @@ public java.util.List getPathList() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2008,6 +2189,8 @@ public int getPathCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2029,6 +2212,8 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2042,8 +2227,7 @@ public com.google.privacy.dlp.v2.Key.PathElement getPath(int index) {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public Builder setPath(
-        int index, com.google.privacy.dlp.v2.Key.PathElement value) {
+    public Builder setPath(int index, com.google.privacy.dlp.v2.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2057,6 +2241,8 @@ public Builder setPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2082,6 +2268,8 @@ public Builder setPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2109,6 +2297,8 @@ public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2122,8 +2312,7 @@ public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement value) {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public Builder addPath(
-        int index, com.google.privacy.dlp.v2.Key.PathElement value) {
+    public Builder addPath(int index, com.google.privacy.dlp.v2.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2137,6 +2326,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2150,8 +2341,7 @@ public Builder addPath(
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public Builder addPath(
-        com.google.privacy.dlp.v2.Key.PathElement.Builder builderForValue) {
+    public Builder addPath(com.google.privacy.dlp.v2.Key.PathElement.Builder builderForValue) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
         path_.add(builderForValue.build());
@@ -2162,6 +2352,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2187,6 +2379,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2204,8 +2398,7 @@ public Builder addAllPath(
         java.lang.Iterable values) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, path_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_);
         onChanged();
       } else {
         pathBuilder_.addAllMessages(values);
@@ -2213,6 +2406,8 @@ public Builder addAllPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2237,6 +2432,8 @@ public Builder clearPath() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2261,6 +2458,8 @@ public Builder removePath(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2274,11 +2473,12 @@ public Builder removePath(int index) {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public com.google.privacy.dlp.v2.Key.PathElement.Builder getPathBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.Key.PathElement.Builder getPathBuilder(int index) {
       return getPathFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2292,14 +2492,16 @@ public com.google.privacy.dlp.v2.Key.PathElement.Builder getPathBuilder(
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index) {
       if (pathBuilder_ == null) {
-        return path_.get(index);  } else {
+        return path_.get(index);
+      } else {
         return pathBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2313,8 +2515,8 @@ public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public java.util.List 
-         getPathOrBuilderList() {
+    public java.util.List
+        getPathOrBuilderList() {
       if (pathBuilder_ != null) {
         return pathBuilder_.getMessageOrBuilderList();
       } else {
@@ -2322,6 +2524,8 @@ public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2336,10 +2540,12 @@ public com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
     public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder() {
-      return getPathFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
+      return getPathFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2353,12 +2559,13 @@ public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder() {
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder(
-        int index) {
-      return getPathFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
+    public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder(int index) {
+      return getPathFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.Key.PathElement.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2372,27 +2579,29 @@ public com.google.privacy.dlp.v2.Key.PathElement.Builder addPathBuilder(
      *
      * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
      */
-    public java.util.List 
-         getPathBuilderList() {
+    public java.util.List getPathBuilderList() {
       return getPathFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.Key.PathElement, com.google.privacy.dlp.v2.Key.PathElement.Builder, com.google.privacy.dlp.v2.Key.PathElementOrBuilder> 
+            com.google.privacy.dlp.v2.Key.PathElement,
+            com.google.privacy.dlp.v2.Key.PathElement.Builder,
+            com.google.privacy.dlp.v2.Key.PathElementOrBuilder>
         getPathFieldBuilder() {
       if (pathBuilder_ == null) {
-        pathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Key.PathElement, com.google.privacy.dlp.v2.Key.PathElement.Builder, com.google.privacy.dlp.v2.Key.PathElementOrBuilder>(
-                path_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        pathBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.Key.PathElement,
+                com.google.privacy.dlp.v2.Key.PathElement.Builder,
+                com.google.privacy.dlp.v2.Key.PathElementOrBuilder>(
+                path_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         path_ = null;
       }
       return pathBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2402,12 +2611,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Key)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Key)
   private static final com.google.privacy.dlp.v2.Key DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Key();
   }
@@ -2416,16 +2625,16 @@ public static com.google.privacy.dlp.v2.Key getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Key parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Key(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Key parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Key(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2440,6 +2649,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.Key getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
index 0a62e436..467a004e 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KeyOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface KeyOrBuilder extends
+public interface KeyOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Key)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -15,10 +33,13 @@ public interface KeyOrBuilder extends
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -26,10 +47,13 @@ public interface KeyOrBuilder extends
    * 
* * .google.privacy.dlp.v2.PartitionId partition_id = 1; + * * @return The partitionId. */ com.google.privacy.dlp.v2.PartitionId getPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -41,6 +65,8 @@ public interface KeyOrBuilder extends
   com.google.privacy.dlp.v2.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -54,9 +80,10 @@ public interface KeyOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
-  java.util.List 
-      getPathList();
+  java.util.List getPathList();
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -72,6 +99,8 @@ public interface KeyOrBuilder extends
    */
   com.google.privacy.dlp.v2.Key.PathElement getPath(int index);
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -87,6 +116,8 @@ public interface KeyOrBuilder extends
    */
   int getPathCount();
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -100,9 +131,11 @@ public interface KeyOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
-  java.util.List 
+  java.util.List
       getPathOrBuilderList();
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -116,6 +149,5 @@ public interface KeyOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Key.PathElement path = 2;
    */
-  com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.Key.PathElementOrBuilder getPathOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
similarity index 68%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
index 537cbd70..793bc2f9 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpression.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * A representation of a Datastore kind.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.KindExpression} */ -public final class KindExpression extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KindExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.KindExpression) KindExpressionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KindExpression.newBuilder() to construct. private KindExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KindExpression() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KindExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KindExpression( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,58 @@ private KindExpression( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.KindExpression.class, com.google.privacy.dlp.v2.KindExpression.Builder.class); + com.google.privacy.dlp.v2.KindExpression.class, + com.google.privacy.dlp.v2.KindExpression.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the kind.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -107,29 +130,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the kind.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -138,6 +161,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +197,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.privacy.dlp.v2.KindExpression)) { return super.equals(obj); } com.google.privacy.dlp.v2.KindExpression other = (com.google.privacy.dlp.v2.KindExpression) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -201,118 +223,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.KindExpression parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.KindExpression parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.KindExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.KindExpression parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.KindExpression parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.KindExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.KindExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Datastore kind.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.KindExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.KindExpression) com.google.privacy.dlp.v2.KindExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.KindExpression.class, com.google.privacy.dlp.v2.KindExpression.Builder.class); + com.google.privacy.dlp.v2.KindExpression.class, + com.google.privacy.dlp.v2.KindExpression.Builder.class); } // Construct using com.google.privacy.dlp.v2.KindExpression.newBuilder() @@ -320,16 +351,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +369,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_KindExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_KindExpression_descriptor; } @java.lang.Override @@ -360,7 +390,8 @@ public com.google.privacy.dlp.v2.KindExpression build() { @java.lang.Override public com.google.privacy.dlp.v2.KindExpression buildPartial() { - com.google.privacy.dlp.v2.KindExpression result = new com.google.privacy.dlp.v2.KindExpression(this); + com.google.privacy.dlp.v2.KindExpression result = + new com.google.privacy.dlp.v2.KindExpression(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +401,39 @@ public com.google.privacy.dlp.v2.KindExpression buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.KindExpression) { - return mergeFrom((com.google.privacy.dlp.v2.KindExpression)other); + return mergeFrom((com.google.privacy.dlp.v2.KindExpression) other); } else { super.mergeFrom(other); return this; @@ -445,18 +477,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the kind.
      * 
* * 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; @@ -465,20 +499,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the kind.
      * 
* * 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 { @@ -486,61 +521,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the kind.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the kind.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the kind.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.KindExpression) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.KindExpression) private static final com.google.privacy.dlp.v2.KindExpression DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.KindExpression(); } @@ -564,16 +606,16 @@ public static com.google.privacy.dlp.v2.KindExpression getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KindExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KindExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KindExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KindExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +630,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.KindExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java new file mode 100644 index 00000000..4d46f0c1 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KindExpressionOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/storage.proto + +package com.google.privacy.dlp.v2; + +public interface KindExpressionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KindExpression) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java index c523d318..bb3ce037 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Include to use an existing data crypto key wrapped by KMS.
  * The wrapped key must be a 128-, 192-, or 256-bit key.
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.KmsWrappedCryptoKey}
  */
-public final class KmsWrappedCryptoKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class KmsWrappedCryptoKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.KmsWrappedCryptoKey)
     KmsWrappedCryptoKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use KmsWrappedCryptoKey.newBuilder() to construct.
   private KmsWrappedCryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private KmsWrappedCryptoKey() {
     wrappedKey_ = com.google.protobuf.ByteString.EMPTY;
     cryptoKeyName_ = "";
@@ -34,16 +52,15 @@ private KmsWrappedCryptoKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new KmsWrappedCryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private KmsWrappedCryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,57 +79,63 @@ private KmsWrappedCryptoKey(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            wrappedKey_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              wrappedKey_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            cryptoKeyName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              cryptoKeyName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class,
+            com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
   }
 
   public static final int WRAPPED_KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString wrappedKey_;
   /**
+   *
+   *
    * 
    * Required. The wrapped data crypto key.
    * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The wrappedKey. */ @java.lang.Override @@ -123,11 +146,14 @@ public com.google.protobuf.ByteString getWrappedKey() { public static final int CRYPTO_KEY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object cryptoKeyName_; /** + * + * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cryptoKeyName. */ @java.lang.Override @@ -136,29 +162,29 @@ public java.lang.String getCryptoKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cryptoKeyName_ = s; return s; } } /** + * + * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cryptoKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCryptoKeyNameBytes() { + public com.google.protobuf.ByteString getCryptoKeyNameBytes() { java.lang.Object ref = cryptoKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cryptoKeyName_ = b; return b; } else { @@ -167,6 +193,7 @@ public java.lang.String getCryptoKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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 { if (!wrappedKey_.isEmpty()) { output.writeBytes(1, wrappedKey_); } @@ -196,8 +222,7 @@ public int getSerializedSize() { size = 0; if (!wrappedKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, wrappedKey_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, wrappedKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cryptoKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cryptoKeyName_); @@ -210,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.privacy.dlp.v2.KmsWrappedCryptoKey)) { return super.equals(obj); } - com.google.privacy.dlp.v2.KmsWrappedCryptoKey other = (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) obj; + com.google.privacy.dlp.v2.KmsWrappedCryptoKey other = + (com.google.privacy.dlp.v2.KmsWrappedCryptoKey) obj; - if (!getWrappedKey() - .equals(other.getWrappedKey())) return false; - if (!getCryptoKeyName() - .equals(other.getCryptoKeyName())) return false; + if (!getWrappedKey().equals(other.getWrappedKey())) return false; + if (!getCryptoKeyName().equals(other.getCryptoKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -241,97 +265,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.KmsWrappedCryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Include to use an existing data crypto key wrapped by KMS.
    * The wrapped key must be a 128-, 192-, or 256-bit key.
@@ -346,21 +377,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.KmsWrappedCryptoKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.KmsWrappedCryptoKey)
       com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class, com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.class,
+              com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.KmsWrappedCryptoKey.newBuilder()
@@ -368,16 +401,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -410,7 +442,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.KmsWrappedCryptoKey buildPartial() {
-      com.google.privacy.dlp.v2.KmsWrappedCryptoKey result = new com.google.privacy.dlp.v2.KmsWrappedCryptoKey(this);
+      com.google.privacy.dlp.v2.KmsWrappedCryptoKey result =
+          new com.google.privacy.dlp.v2.KmsWrappedCryptoKey(this);
       result.wrappedKey_ = wrappedKey_;
       result.cryptoKeyName_ = cryptoKeyName_;
       onBuilt();
@@ -421,38 +454,39 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.KmsWrappedCryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey)other);
+        return mergeFrom((com.google.privacy.dlp.v2.KmsWrappedCryptoKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -499,11 +533,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString wrappedKey_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Required. The wrapped data crypto key.
      * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The wrappedKey. */ @java.lang.Override @@ -511,33 +548,39 @@ public com.google.protobuf.ByteString getWrappedKey() { return wrappedKey_; } /** + * + * *
      * Required. The wrapped data crypto key.
      * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The wrappedKey to set. * @return This builder for chaining. */ public Builder setWrappedKey(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + wrappedKey_ = value; onChanged(); return this; } /** + * + * *
      * Required. The wrapped data crypto key.
      * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWrappedKey() { - + wrappedKey_ = getDefaultInstance().getWrappedKey(); onChanged(); return this; @@ -545,18 +588,20 @@ public Builder clearWrappedKey() { private java.lang.Object cryptoKeyName_ = ""; /** + * + * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cryptoKeyName. */ public java.lang.String getCryptoKeyName() { java.lang.Object ref = cryptoKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cryptoKeyName_ = s; return s; @@ -565,20 +610,21 @@ public java.lang.String getCryptoKeyName() { } } /** + * + * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cryptoKeyName. */ - public com.google.protobuf.ByteString - getCryptoKeyNameBytes() { + public com.google.protobuf.ByteString getCryptoKeyNameBytes() { java.lang.Object ref = cryptoKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cryptoKeyName_ = b; return b; } else { @@ -586,61 +632,68 @@ public java.lang.String getCryptoKeyName() { } } /** + * + * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cryptoKeyName to set. * @return This builder for chaining. */ - public Builder setCryptoKeyName( - java.lang.String value) { + public Builder setCryptoKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cryptoKeyName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCryptoKeyName() { - + cryptoKeyName_ = getDefaultInstance().getCryptoKeyName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the KMS CryptoKey to use for unwrapping.
      * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cryptoKeyName to set. * @return This builder for chaining. */ - public Builder setCryptoKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCryptoKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cryptoKeyName_ = 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); } @@ -650,12 +703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.KmsWrappedCryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.KmsWrappedCryptoKey) private static final com.google.privacy.dlp.v2.KmsWrappedCryptoKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.KmsWrappedCryptoKey(); } @@ -664,16 +717,16 @@ public static com.google.privacy.dlp.v2.KmsWrappedCryptoKey getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KmsWrappedCryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KmsWrappedCryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KmsWrappedCryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KmsWrappedCryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -688,6 +741,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java similarity index 58% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java index 3c37dfb4..6f12b33b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKeyOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface KmsWrappedCryptoKeyOrBuilder extends +public interface KmsWrappedCryptoKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KmsWrappedCryptoKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The wrapped data crypto key.
    * 
* * bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The wrappedKey. */ com.google.protobuf.ByteString getWrappedKey(); /** + * + * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cryptoKeyName. */ java.lang.String getCryptoKeyName(); /** + * + * *
    * Required. The resource name of the KMS CryptoKey to use for unwrapping.
    * 
* * string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cryptoKeyName. */ - com.google.protobuf.ByteString - getCryptoKeyNameBytes(); + com.google.protobuf.ByteString getCryptoKeyNameBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java index 08ce3eb0..9b47d288 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Configuration for a custom dictionary created from a data source of any size
  * up to the maximum size defined in the
@@ -15,30 +32,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryConfig}
  */
-public final class LargeCustomDictionaryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LargeCustomDictionaryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.LargeCustomDictionaryConfig)
     LargeCustomDictionaryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LargeCustomDictionaryConfig.newBuilder() to construct.
   private LargeCustomDictionaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private LargeCustomDictionaryConfig() {
-  }
+
+  private LargeCustomDictionaryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LargeCustomDictionaryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private LargeCustomDictionaryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,88 +73,100 @@ private LargeCustomDictionaryConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null;
-            if (outputPath_ != null) {
-              subBuilder = outputPath_.toBuilder();
-            }
-            outputPath_ = input.readMessage(com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputPath_);
-              outputPath_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.CloudStoragePath.Builder subBuilder = null;
+              if (outputPath_ != null) {
+                subBuilder = outputPath_.toBuilder();
+              }
+              outputPath_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CloudStoragePath.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputPath_);
+                outputPath_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.CloudStorageFileSet.Builder subBuilder = null;
-            if (sourceCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.CloudStorageFileSet) source_).toBuilder();
+              break;
             }
-            source_ =
-                input.readMessage(com.google.privacy.dlp.v2.CloudStorageFileSet.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) source_);
-              source_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.CloudStorageFileSet.Builder subBuilder = null;
+              if (sourceCase_ == 2) {
+                subBuilder = ((com.google.privacy.dlp.v2.CloudStorageFileSet) source_).toBuilder();
+              }
+              source_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CloudStorageFileSet.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageFileSet) source_);
+                source_ = subBuilder.buildPartial();
+              }
+              sourceCase_ = 2;
+              break;
             }
-            sourceCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.BigQueryField.Builder subBuilder = null;
-            if (sourceCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.BigQueryField) source_).toBuilder();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.BigQueryField.Builder subBuilder = null;
+              if (sourceCase_ == 3) {
+                subBuilder = ((com.google.privacy.dlp.v2.BigQueryField) source_).toBuilder();
+              }
+              source_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.BigQueryField.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryField) source_);
+                source_ = subBuilder.buildPartial();
+              }
+              sourceCase_ = 3;
+              break;
             }
-            source_ =
-                input.readMessage(com.google.privacy.dlp.v2.BigQueryField.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryField) source_);
-              source_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            sourceCase_ = 3;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
+            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class,
+            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
   }
 
   private int sourceCase_ = 0;
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CLOUD_STORAGE_FILE_SET(2),
     BIG_QUERY_FIELD(3),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -154,26 +182,31 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 2: return CLOUD_STORAGE_FILE_SET;
-        case 3: return BIG_QUERY_FIELD;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 2:
+          return CLOUD_STORAGE_FILE_SET;
+        case 3:
+          return BIG_QUERY_FIELD;
+        case 0:
+          return SOURCE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase
-  getSourceCase() {
-    return SourceCase.forNumber(
-        sourceCase_);
+  public SourceCase getSourceCase() {
+    return SourceCase.forNumber(sourceCase_);
   }
 
   public static final int OUTPUT_PATH_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.CloudStoragePath outputPath_;
   /**
+   *
+   *
    * 
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -182,6 +215,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return Whether the outputPath field is set. */ @java.lang.Override @@ -189,6 +223,8 @@ public boolean hasOutputPath() { return outputPath_ != null; } /** + * + * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -197,13 +233,18 @@ public boolean hasOutputPath() {
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return The outputPath. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() { - return outputPath_ == null ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() : outputPath_; + return outputPath_ == null + ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() + : outputPath_; } /** + * + * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -220,11 +261,14 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
 
   public static final int CLOUD_STORAGE_FILE_SET_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; + * * @return Whether the cloudStorageFileSet field is set. */ @java.lang.Override @@ -232,21 +276,26 @@ public boolean hasCloudStorageFileSet() { return sourceCase_ == 2; } /** + * + * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; + * * @return The cloudStorageFileSet. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; + return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; } return com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance(); } /** + * + * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
@@ -256,18 +305,21 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder() { if (sourceCase_ == 2) { - return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; + return (com.google.privacy.dlp.v2.CloudStorageFileSet) source_; } return com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance(); } public static final int BIG_QUERY_FIELD_FIELD_NUMBER = 3; /** + * + * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; + * * @return Whether the bigQueryField field is set. */ @java.lang.Override @@ -275,21 +327,26 @@ public boolean hasBigQueryField() { return sourceCase_ == 3; } /** + * + * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; + * * @return The bigQueryField. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryField) source_; + return (com.google.privacy.dlp.v2.BigQueryField) source_; } return com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance(); } /** + * + * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
@@ -299,12 +356,13 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilder() { if (sourceCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryField) source_; + return (com.google.privacy.dlp.v2.BigQueryField) source_; } return com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,8 +374,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (outputPath_ != null) { output.writeMessage(1, getOutputPath()); } @@ -337,16 +394,17 @@ public int getSerializedSize() { size = 0; if (outputPath_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOutputPath()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputPath()); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.CloudStorageFileSet) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.CloudStorageFileSet) source_); } if (sourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.BigQueryField) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.BigQueryField) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,27 +414,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.privacy.dlp.v2.LargeCustomDictionaryConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig other = (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) obj; + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig other = + (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) obj; if (hasOutputPath() != other.hasOutputPath()) return false; if (hasOutputPath()) { - if (!getOutputPath() - .equals(other.getOutputPath())) return false; + if (!getOutputPath().equals(other.getOutputPath())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getCloudStorageFileSet() - .equals(other.getCloudStorageFileSet())) return false; + if (!getCloudStorageFileSet().equals(other.getCloudStorageFileSet())) return false; break; case 3: - if (!getBigQueryField() - .equals(other.getBigQueryField())) return false; + if (!getBigQueryField().equals(other.getBigQueryField())) return false; break; case 0: default: @@ -414,96 +470,104 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for a custom dictionary created from a data source of any size
    * up to the maximum size defined in the
@@ -515,21 +579,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.LargeCustomDictionaryConfig)
       com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
+              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.class,
+              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.newBuilder()
@@ -537,16 +603,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,9 +627,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -583,7 +648,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig buildPartial() {
-      com.google.privacy.dlp.v2.LargeCustomDictionaryConfig result = new com.google.privacy.dlp.v2.LargeCustomDictionaryConfig(this);
+      com.google.privacy.dlp.v2.LargeCustomDictionaryConfig result =
+          new com.google.privacy.dlp.v2.LargeCustomDictionaryConfig(this);
       if (outputPathBuilder_ == null) {
         result.outputPath_ = outputPath_;
       } else {
@@ -612,38 +678,39 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -651,22 +718,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig other) {
-      if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance())
+        return this;
       if (other.hasOutputPath()) {
         mergeOutputPath(other.getOutputPath());
       }
       switch (other.getSourceCase()) {
-        case CLOUD_STORAGE_FILE_SET: {
-          mergeCloudStorageFileSet(other.getCloudStorageFileSet());
-          break;
-        }
-        case BIG_QUERY_FIELD: {
-          mergeBigQueryField(other.getBigQueryField());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case CLOUD_STORAGE_FILE_SET:
+          {
+            mergeCloudStorageFileSet(other.getCloudStorageFileSet());
+            break;
+          }
+        case BIG_QUERY_FIELD:
+          {
+            mergeBigQueryField(other.getBigQueryField());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -687,7 +758,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -696,12 +768,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-    public SourceCase
-        getSourceCase() {
-      return SourceCase.forNumber(
-          sourceCase_);
+
+    public SourceCase getSourceCase() {
+      return SourceCase.forNumber(sourceCase_);
     }
 
     public Builder clearSource() {
@@ -711,11 +783,15 @@ public Builder clearSource() {
       return this;
     }
 
-
     private com.google.privacy.dlp.v2.CloudStoragePath outputPath_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> outputPathBuilder_;
+            com.google.privacy.dlp.v2.CloudStoragePath,
+            com.google.privacy.dlp.v2.CloudStoragePath.Builder,
+            com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>
+        outputPathBuilder_;
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -724,12 +800,15 @@ public Builder clearSource() {
      * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return Whether the outputPath field is set. */ public boolean hasOutputPath() { return outputPathBuilder_ != null || outputPath_ != null; } /** + * + * *
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -738,16 +817,21 @@ public boolean hasOutputPath() {
      * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return The outputPath. */ public com.google.privacy.dlp.v2.CloudStoragePath getOutputPath() { if (outputPathBuilder_ == null) { - return outputPath_ == null ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() : outputPath_; + return outputPath_ == null + ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() + : outputPath_; } else { return outputPathBuilder_.getMessage(); } } /** + * + * *
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -771,6 +855,8 @@ public Builder setOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -792,6 +878,8 @@ public Builder setOutputPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -805,7 +893,9 @@ public Builder mergeOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value)
       if (outputPathBuilder_ == null) {
         if (outputPath_ != null) {
           outputPath_ =
-            com.google.privacy.dlp.v2.CloudStoragePath.newBuilder(outputPath_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.CloudStoragePath.newBuilder(outputPath_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           outputPath_ = value;
         }
@@ -817,6 +907,8 @@ public Builder mergeOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -838,6 +930,8 @@ public Builder clearOutputPath() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -848,11 +942,13 @@ public Builder clearOutputPath() {
      * .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
      */
     public com.google.privacy.dlp.v2.CloudStoragePath.Builder getOutputPathBuilder() {
-      
+
       onChanged();
       return getOutputPathFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -866,11 +962,14 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
       if (outputPathBuilder_ != null) {
         return outputPathBuilder_.getMessageOrBuilder();
       } else {
-        return outputPath_ == null ?
-            com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance() : outputPath_;
+        return outputPath_ == null
+            ? com.google.privacy.dlp.v2.CloudStoragePath.getDefaultInstance()
+            : outputPath_;
       }
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Google Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -881,27 +980,36 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilde
      * .google.privacy.dlp.v2.CloudStoragePath output_path = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder> 
+            com.google.privacy.dlp.v2.CloudStoragePath,
+            com.google.privacy.dlp.v2.CloudStoragePath.Builder,
+            com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>
         getOutputPathFieldBuilder() {
       if (outputPathBuilder_ == null) {
-        outputPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CloudStoragePath, com.google.privacy.dlp.v2.CloudStoragePath.Builder, com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
-                getOutputPath(),
-                getParentForChildren(),
-                isClean());
+        outputPathBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.CloudStoragePath,
+                com.google.privacy.dlp.v2.CloudStoragePath.Builder,
+                com.google.privacy.dlp.v2.CloudStoragePathOrBuilder>(
+                getOutputPath(), getParentForChildren(), isClean());
         outputPath_ = null;
       }
       return outputPathBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CloudStorageFileSet, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder> cloudStorageFileSetBuilder_;
+            com.google.privacy.dlp.v2.CloudStorageFileSet,
+            com.google.privacy.dlp.v2.CloudStorageFileSet.Builder,
+            com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder>
+        cloudStorageFileSetBuilder_;
     /**
+     *
+     *
      * 
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; + * * @return Whether the cloudStorageFileSet field is set. */ @java.lang.Override @@ -909,11 +1017,14 @@ public boolean hasCloudStorageFileSet() { return sourceCase_ == 2; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; + * * @return The cloudStorageFileSet. */ @java.lang.Override @@ -931,6 +1042,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { } } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -951,6 +1064,8 @@ public Builder setCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFile return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -969,6 +1084,8 @@ public Builder setCloudStorageFileSet( return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -977,10 +1094,13 @@ public Builder setCloudStorageFileSet( */ public Builder mergeCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFileSet value) { if (cloudStorageFileSetBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance()) { - source_ = com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder((com.google.privacy.dlp.v2.CloudStorageFileSet) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ != com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance()) { + source_ = + com.google.privacy.dlp.v2.CloudStorageFileSet.newBuilder( + (com.google.privacy.dlp.v2.CloudStorageFileSet) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -995,6 +1115,8 @@ public Builder mergeCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFi return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1018,6 +1140,8 @@ public Builder clearCloudStorageFileSet() { return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1028,6 +1152,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile return getCloudStorageFileSetFieldBuilder().getBuilder(); } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1035,7 +1161,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder() { + public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder + getCloudStorageFileSetOrBuilder() { if ((sourceCase_ == 2) && (cloudStorageFileSetBuilder_ != null)) { return cloudStorageFileSetBuilder_.getMessageOrBuilder(); } else { @@ -1046,6 +1173,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFil } } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1053,32 +1182,44 @@ public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFil * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageFileSet, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder> + com.google.privacy.dlp.v2.CloudStorageFileSet, + com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, + com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder> getCloudStorageFileSetFieldBuilder() { if (cloudStorageFileSetBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.privacy.dlp.v2.CloudStorageFileSet.getDefaultInstance(); } - cloudStorageFileSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageFileSet, com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder>( + cloudStorageFileSetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CloudStorageFileSet, + com.google.privacy.dlp.v2.CloudStorageFileSet.Builder, + com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder>( (com.google.privacy.dlp.v2.CloudStorageFileSet) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return cloudStorageFileSetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryField, com.google.privacy.dlp.v2.BigQueryField.Builder, com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> bigQueryFieldBuilder_; + com.google.privacy.dlp.v2.BigQueryField, + com.google.privacy.dlp.v2.BigQueryField.Builder, + com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> + bigQueryFieldBuilder_; /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; + * * @return Whether the bigQueryField field is set. */ @java.lang.Override @@ -1086,11 +1227,14 @@ public boolean hasBigQueryField() { return sourceCase_ == 3; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; + * * @return The bigQueryField. */ @java.lang.Override @@ -1108,6 +1252,8 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { } } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1128,6 +1274,8 @@ public Builder setBigQueryField(com.google.privacy.dlp.v2.BigQueryField value) { return this; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1146,6 +1294,8 @@ public Builder setBigQueryField( return this; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1154,10 +1304,13 @@ public Builder setBigQueryField( */ public Builder mergeBigQueryField(com.google.privacy.dlp.v2.BigQueryField value) { if (bigQueryFieldBuilder_ == null) { - if (sourceCase_ == 3 && - source_ != com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance()) { - source_ = com.google.privacy.dlp.v2.BigQueryField.newBuilder((com.google.privacy.dlp.v2.BigQueryField) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 3 + && source_ != com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance()) { + source_ = + com.google.privacy.dlp.v2.BigQueryField.newBuilder( + (com.google.privacy.dlp.v2.BigQueryField) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1172,6 +1325,8 @@ public Builder mergeBigQueryField(com.google.privacy.dlp.v2.BigQueryField value) return this; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1195,6 +1350,8 @@ public Builder clearBigQueryField() { return this; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1205,6 +1362,8 @@ public com.google.privacy.dlp.v2.BigQueryField.Builder getBigQueryFieldBuilder() return getBigQueryFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1223,6 +1382,8 @@ public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilde } } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1230,26 +1391,32 @@ public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilde * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryField, com.google.privacy.dlp.v2.BigQueryField.Builder, com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> + com.google.privacy.dlp.v2.BigQueryField, + com.google.privacy.dlp.v2.BigQueryField.Builder, + com.google.privacy.dlp.v2.BigQueryFieldOrBuilder> getBigQueryFieldFieldBuilder() { if (bigQueryFieldBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.privacy.dlp.v2.BigQueryField.getDefaultInstance(); } - bigQueryFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryField, com.google.privacy.dlp.v2.BigQueryField.Builder, com.google.privacy.dlp.v2.BigQueryFieldOrBuilder>( + bigQueryFieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryField, + com.google.privacy.dlp.v2.BigQueryField.Builder, + com.google.privacy.dlp.v2.BigQueryFieldOrBuilder>( (com.google.privacy.dlp.v2.BigQueryField) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 3; - onChanged();; + onChanged(); + ; return bigQueryFieldBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1259,12 +1426,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.LargeCustomDictionaryConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryConfig) private static final com.google.privacy.dlp.v2.LargeCustomDictionaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.LargeCustomDictionaryConfig(); } @@ -1273,16 +1440,16 @@ public static com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LargeCustomDictionaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LargeCustomDictionaryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LargeCustomDictionaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LargeCustomDictionaryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1297,6 +1464,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java similarity index 81% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java index 49ba8e3f..29d55de2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface LargeCustomDictionaryConfigOrBuilder extends +public interface LargeCustomDictionaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -16,10 +34,13 @@ public interface LargeCustomDictionaryConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return Whether the outputPath field is set. */ boolean hasOutputPath(); /** + * + * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -28,10 +49,13 @@ public interface LargeCustomDictionaryConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return The outputPath. */ com.google.privacy.dlp.v2.CloudStoragePath getOutputPath(); /** + * + * *
    * Location to store dictionary artifacts in Google Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -44,24 +68,32 @@ public interface LargeCustomDictionaryConfigOrBuilder extends
   com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getOutputPathOrBuilder();
 
   /**
+   *
+   *
    * 
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; + * * @return Whether the cloudStorageFileSet field is set. */ boolean hasCloudStorageFileSet(); /** + * + * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
* * .google.privacy.dlp.v2.CloudStorageFileSet cloud_storage_file_set = 2; + * * @return The cloudStorageFileSet. */ com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet(); /** + * + * *
    * Set of files containing newline-delimited lists of dictionary phrases.
    * 
@@ -71,24 +103,32 @@ public interface LargeCustomDictionaryConfigOrBuilder extends com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFileSetOrBuilder(); /** + * + * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; + * * @return Whether the bigQueryField field is set. */ boolean hasBigQueryField(); /** + * + * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
* * .google.privacy.dlp.v2.BigQueryField big_query_field = 3; + * * @return The bigQueryField. */ com.google.privacy.dlp.v2.BigQueryField getBigQueryField(); /** + * + * *
    * Field in a BigQuery table where each cell represents a dictionary phrase.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java index 4d0fbf16..486f60df 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Summary statistics of a custom dictionary.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryStats} */ -public final class LargeCustomDictionaryStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LargeCustomDictionaryStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.LargeCustomDictionaryStats) LargeCustomDictionaryStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LargeCustomDictionaryStats.newBuilder() to construct. private LargeCustomDictionaryStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LargeCustomDictionaryStats() { - } + + private LargeCustomDictionaryStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LargeCustomDictionaryStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LargeCustomDictionaryStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,51 +68,56 @@ private LargeCustomDictionaryStats( case 0: done = true; break; - case 8: { - - approxNumPhrases_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + approxNumPhrases_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); } public static final int APPROX_NUM_PHRASES_FIELD_NUMBER = 1; private long approxNumPhrases_; /** + * + * *
    * Approximate number of distinct phrases in the dictionary.
    * 
* * int64 approx_num_phrases = 1; + * * @return The approxNumPhrases. */ @java.lang.Override @@ -105,6 +126,7 @@ public long getApproxNumPhrases() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,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 (approxNumPhrases_ != 0L) { output.writeInt64(1, approxNumPhrases_); } @@ -131,8 +152,7 @@ public int getSerializedSize() { size = 0; if (approxNumPhrases_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, approxNumPhrases_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, approxNumPhrases_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -142,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.privacy.dlp.v2.LargeCustomDictionaryStats)) { return super.equals(obj); } - com.google.privacy.dlp.v2.LargeCustomDictionaryStats other = (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) obj; + com.google.privacy.dlp.v2.LargeCustomDictionaryStats other = + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) obj; - if (getApproxNumPhrases() - != other.getApproxNumPhrases()) return false; + if (getApproxNumPhrases() != other.getApproxNumPhrases()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -163,125 +183,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + APPROX_NUM_PHRASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getApproxNumPhrases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getApproxNumPhrases()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.LargeCustomDictionaryStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Summary statistics of a custom dictionary.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.LargeCustomDictionaryStats) com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); } // Construct using com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder() @@ -289,16 +317,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +335,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; } @java.lang.Override @@ -329,7 +356,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats build() { @java.lang.Override public com.google.privacy.dlp.v2.LargeCustomDictionaryStats buildPartial() { - com.google.privacy.dlp.v2.LargeCustomDictionaryStats result = new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(this); + com.google.privacy.dlp.v2.LargeCustomDictionaryStats result = + new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(this); result.approxNumPhrases_ = approxNumPhrases_; onBuilt(); return result; @@ -339,38 +367,39 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryStats) { - return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats)other); + return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) other); } else { super.mergeFrom(other); return this; @@ -378,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.LargeCustomDictionaryStats other) { - if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) + return this; if (other.getApproxNumPhrases() != 0L) { setApproxNumPhrases(other.getApproxNumPhrases()); } @@ -401,7 +431,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,13 +442,16 @@ public Builder mergeFrom( return this; } - private long approxNumPhrases_ ; + private long approxNumPhrases_; /** + * + * *
      * Approximate number of distinct phrases in the dictionary.
      * 
* * int64 approx_num_phrases = 1; + * * @return The approxNumPhrases. */ @java.lang.Override @@ -425,37 +459,43 @@ public long getApproxNumPhrases() { return approxNumPhrases_; } /** + * + * *
      * Approximate number of distinct phrases in the dictionary.
      * 
* * int64 approx_num_phrases = 1; + * * @param value The approxNumPhrases to set. * @return This builder for chaining. */ public Builder setApproxNumPhrases(long value) { - + approxNumPhrases_ = value; onChanged(); return this; } /** + * + * *
      * Approximate number of distinct phrases in the dictionary.
      * 
* * int64 approx_num_phrases = 1; + * * @return This builder for chaining. */ public Builder clearApproxNumPhrases() { - + approxNumPhrases_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -465,12 +505,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) private static final com.google.privacy.dlp.v2.LargeCustomDictionaryStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(); } @@ -479,16 +519,16 @@ public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LargeCustomDictionaryStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LargeCustomDictionaryStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LargeCustomDictionaryStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LargeCustomDictionaryStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -503,6 +543,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java new file mode 100644 index 00000000..de254455 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface LargeCustomDictionaryStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Approximate number of distinct phrases in the dictionary.
+   * 
+ * + * int64 approx_num_phrases = 1; + * + * @return The approxNumPhrases. + */ + long getApproxNumPhrases(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java index 61805ff7..636c804a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Likelihood.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Categorization of results based on how likely they are to represent a match,
  * based on the number of elements they contain which imply a match.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.Likelihood}
  */
-public enum Likelihood
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value; same as POSSIBLE.
    * 
@@ -22,6 +40,8 @@ public enum Likelihood */ LIKELIHOOD_UNSPECIFIED(0), /** + * + * *
    * Few matching elements.
    * 
@@ -29,11 +49,11 @@ public enum Likelihood * VERY_UNLIKELY = 1; */ VERY_UNLIKELY(1), - /** - * UNLIKELY = 2; - */ + /** UNLIKELY = 2; */ UNLIKELY(2), /** + * + * *
    * Some matching elements.
    * 
@@ -41,11 +61,11 @@ public enum Likelihood * POSSIBLE = 3; */ POSSIBLE(3), - /** - * LIKELY = 4; - */ + /** LIKELY = 4; */ LIKELY(4), /** + * + * *
    * Many matching elements.
    * 
@@ -57,6 +77,8 @@ public enum Likelihood ; /** + * + * *
    * Default value; same as POSSIBLE.
    * 
@@ -65,6 +87,8 @@ public enum Likelihood */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Few matching elements.
    * 
@@ -72,11 +96,11 @@ public enum Likelihood * VERY_UNLIKELY = 1; */ public static final int VERY_UNLIKELY_VALUE = 1; - /** - * UNLIKELY = 2; - */ + /** UNLIKELY = 2; */ public static final int UNLIKELY_VALUE = 2; /** + * + * *
    * Some matching elements.
    * 
@@ -84,11 +108,11 @@ public enum Likelihood * POSSIBLE = 3; */ public static final int POSSIBLE_VALUE = 3; - /** - * LIKELY = 4; - */ + /** LIKELY = 4; */ public static final int LIKELY_VALUE = 4; /** + * + * *
    * Many matching elements.
    * 
@@ -97,7 +121,6 @@ public enum Likelihood */ public static final int VERY_LIKELY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -122,52 +145,55 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: return LIKELIHOOD_UNSPECIFIED; - case 1: return VERY_UNLIKELY; - case 2: return UNLIKELY; - case 3: return POSSIBLE; - case 4: return LIKELY; - case 5: return VERY_LIKELY; - default: return null; + case 0: + return LIKELIHOOD_UNSPECIFIED; + case 1: + return VERY_UNLIKELY; + case 2: + return UNLIKELY; + case 3: + return POSSIBLE; + case 4: + return LIKELY; + case 5: + return VERY_LIKELY; + 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< - Likelihood> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.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 Likelihood findValueByNumber(int number) { + return Likelihood.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.privacy.dlp.v2.DlpStorage.getDescriptor().getEnumTypes().get(0); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -183,4 +209,3 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.Likelihood) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java index b4f1e337..5cf5e98f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for ListDeidentifyTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesRequest} */ -public final class ListDeidentifyTemplatesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDeidentifyTemplatesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) ListDeidentifyTemplatesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeidentifyTemplatesRequest.newBuilder() to construct. - private ListDeidentifyTemplatesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDeidentifyTemplatesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeidentifyTemplatesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +47,15 @@ private ListDeidentifyTemplatesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeidentifyTemplatesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDeidentifyTemplatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,70 +74,78 @@ private ListDeidentifyTemplatesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -139,7 +165,10 @@ private ListDeidentifyTemplatesRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -148,14 +177,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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -175,17 +205,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -196,12 +227,15 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -210,30 +244,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; + * * @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 { @@ -244,12 +278,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -260,6 +297,8 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -274,6 +313,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -282,14 +322,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; } } /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -304,16 +345,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; + * * @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 { @@ -324,11 +364,14 @@ public java.lang.String getOrderBy() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ @java.lang.Override @@ -337,29 +380,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -368,6 +411,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,8 +423,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -412,8 +455,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -429,23 +471,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.privacy.dlp.v2.ListDeidentifyTemplatesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest other = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest other = + (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,117 +511,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListDeidentifyTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.class, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.newBuilder() @@ -591,16 +639,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -618,9 +665,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor; } @java.lang.Override @@ -639,7 +686,8 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest buildPartial() { - com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest result = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest(this); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest result = + new com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -653,38 +701,39 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) other); } else { super.mergeFrom(other); return this; @@ -692,7 +741,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest other) { - if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -731,7 +781,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -743,6 +794,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -762,14 +815,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -778,6 +833,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -797,16 +854,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -814,6 +872,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -833,21 +893,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -867,16 +931,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -896,17 +965,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -914,19 +985,21 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; + * * @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; @@ -935,21 +1008,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; + * * @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,70 +1031,80 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListDeidentifyTemplates`.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1028,32 +1112,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1061,6 +1151,8 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1075,13 +1167,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; + * * @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; @@ -1090,6 +1182,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1104,15 +1198,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @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 { @@ -1120,6 +1213,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1134,20 +1229,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1162,15 +1259,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1185,16 +1285,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1202,18 +1302,20 @@ public Builder setOrderByBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1222,20 +1324,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1243,61 +1346,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1307,12 +1417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) private static final com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest(); } @@ -1321,16 +1431,16 @@ public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeidentifyTemplatesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeidentifyTemplatesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeidentifyTemplatesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeidentifyTemplatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1345,6 +1455,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java index 232455b5..51f57978 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDeidentifyTemplatesRequestOrBuilder extends +public interface ListDeidentifyTemplatesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -27,11 +45,16 @@ public interface ListDeidentifyTemplatesRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -51,46 +74,58 @@ public interface ListDeidentifyTemplatesRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListDeidentifyTemplates`.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -105,10 +140,13 @@ public interface ListDeidentifyTemplatesRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -123,28 +161,33 @@ public interface ListDeidentifyTemplatesRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java index 224b5c67..be71d361 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Response message for ListDeidentifyTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesResponse} */ -public final class ListDeidentifyTemplatesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDeidentifyTemplatesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) ListDeidentifyTemplatesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeidentifyTemplatesResponse.newBuilder() to construct. - private ListDeidentifyTemplatesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDeidentifyTemplatesResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeidentifyTemplatesResponse() { deidentifyTemplates_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListDeidentifyTemplatesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeidentifyTemplatesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDeidentifyTemplatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +73,38 @@ private ListDeidentifyTemplatesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deidentifyTemplates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deidentifyTemplates_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + deidentifyTemplates_.add( + input.readMessage( + com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry)); + break; } - deidentifyTemplates_.add( - input.readMessage(com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { deidentifyTemplates_ = java.util.Collections.unmodifiableList(deidentifyTemplates_); @@ -92,22 +113,27 @@ private ListDeidentifyTemplatesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); } public static final int DEIDENTIFY_TEMPLATES_FIELD_NUMBER = 1; private java.util.List deidentifyTemplates_; /** + * + * *
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -120,6 +146,8 @@ public java.util.List getDeidentif
     return deidentifyTemplates_;
   }
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -128,11 +156,13 @@ public java.util.List getDeidentif
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDeidentifyTemplatesOrBuilderList() {
     return deidentifyTemplates_;
   }
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -145,6 +175,8 @@ public int getDeidentifyTemplatesCount() {
     return deidentifyTemplates_.size();
   }
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -157,6 +189,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
     return deidentifyTemplates_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -173,12 +207,15 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,30 +224,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; } } /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * 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 { @@ -219,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < deidentifyTemplates_.size(); i++) { output.writeMessage(1, deidentifyTemplates_.get(i)); } @@ -248,8 +285,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deidentifyTemplates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, deidentifyTemplates_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, deidentifyTemplates_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,17 +299,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.privacy.dlp.v2.ListDeidentifyTemplatesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse other = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) obj; + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse other = + (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) obj; - if (!getDeidentifyTemplatesList() - .equals(other.getDeidentifyTemplatesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDeidentifyTemplatesList().equals(other.getDeidentifyTemplatesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,117 +332,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListDeidentifyTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDeidentifyTemplatesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.class, + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.newBuilder() @@ -414,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDeidentifyTemplatesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor; } @java.lang.Override @@ -461,7 +507,8 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse buildPartial() { - com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse result = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(this); + com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse result = + new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(this); int from_bitField0_ = bitField0_; if (deidentifyTemplatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +528,39 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse other) { - if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.getDefaultInstance()) + return this; if (deidentifyTemplatesBuilder_ == null) { if (!other.deidentifyTemplates_.isEmpty()) { if (deidentifyTemplates_.isEmpty()) { @@ -539,9 +588,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesRespon deidentifyTemplatesBuilder_ = null; deidentifyTemplates_ = other.deidentifyTemplates_; bitField0_ = (bitField0_ & ~0x00000001); - deidentifyTemplatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeidentifyTemplatesFieldBuilder() : null; + deidentifyTemplatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeidentifyTemplatesFieldBuilder() + : null; } else { deidentifyTemplatesBuilder_.addAllMessages(other.deidentifyTemplates_); } @@ -570,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,21 +630,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List deidentifyTemplates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDeidentifyTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deidentifyTemplates_ = new java.util.ArrayList(deidentifyTemplates_); + deidentifyTemplates_ = + new java.util.ArrayList( + deidentifyTemplates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> deidentifyTemplatesBuilder_; + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + deidentifyTemplatesBuilder_; /** + * + * *
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -601,7 +661,8 @@ private void ensureDeidentifyTemplatesIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
-    public java.util.List getDeidentifyTemplatesList() {
+    public java.util.List
+        getDeidentifyTemplatesList() {
       if (deidentifyTemplatesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(deidentifyTemplates_);
       } else {
@@ -609,6 +670,8 @@ public java.util.List getDeidentif
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -624,6 +687,8 @@ public int getDeidentifyTemplatesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -639,6 +704,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -661,6 +728,8 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -680,6 +749,8 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -701,6 +772,8 @@ public Builder addDeidentifyTemplates(com.google.privacy.dlp.v2.DeidentifyTempla
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -723,6 +796,8 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -742,6 +817,8 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -761,6 +838,8 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -772,8 +851,7 @@ public Builder addAllDeidentifyTemplates(
         java.lang.Iterable values) {
       if (deidentifyTemplatesBuilder_ == null) {
         ensureDeidentifyTemplatesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, deidentifyTemplates_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deidentifyTemplates_);
         onChanged();
       } else {
         deidentifyTemplatesBuilder_.addAllMessages(values);
@@ -781,6 +859,8 @@ public Builder addAllDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -799,6 +879,8 @@ public Builder clearDeidentifyTemplates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -817,6 +899,8 @@ public Builder removeDeidentifyTemplates(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -829,6 +913,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplat
       return getDeidentifyTemplatesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -839,11 +925,14 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplat
     public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(
         int index) {
       if (deidentifyTemplatesBuilder_ == null) {
-        return deidentifyTemplates_.get(index);  } else {
+        return deidentifyTemplates_.get(index);
+      } else {
         return deidentifyTemplatesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -851,8 +940,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
      *
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
-    public java.util.List 
-         getDeidentifyTemplatesOrBuilderList() {
+    public java.util.List
+        getDeidentifyTemplatesOrBuilderList() {
       if (deidentifyTemplatesBuilder_ != null) {
         return deidentifyTemplatesBuilder_.getMessageOrBuilderList();
       } else {
@@ -860,6 +949,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -868,10 +959,12 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
     public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder() {
-      return getDeidentifyTemplatesFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
+      return getDeidentifyTemplatesFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -881,10 +974,12 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
      */
     public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder(
         int index) {
-      return getDeidentifyTemplatesFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
+      return getDeidentifyTemplatesFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -892,16 +987,22 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
      *
      * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
      */
-    public java.util.List 
-         getDeidentifyTemplatesBuilderList() {
+    public java.util.List
+        getDeidentifyTemplatesBuilderList() {
       return getDeidentifyTemplatesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> 
+            com.google.privacy.dlp.v2.DeidentifyTemplate,
+            com.google.privacy.dlp.v2.DeidentifyTemplate.Builder,
+            com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>
         getDeidentifyTemplatesFieldBuilder() {
       if (deidentifyTemplatesBuilder_ == null) {
-        deidentifyTemplatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>(
+        deidentifyTemplatesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.DeidentifyTemplate,
+                com.google.privacy.dlp.v2.DeidentifyTemplate.Builder,
+                com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>(
                 deidentifyTemplates_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -913,19 +1014,21 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder addDeidentifyTemplat
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * 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; @@ -934,21 +1037,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * 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 { @@ -956,64 +1060,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListDeidentifyTemplates request.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1134,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) private static final com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse(); } @@ -1037,16 +1148,16 @@ public static com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeidentifyTemplatesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeidentifyTemplatesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeidentifyTemplatesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeidentifyTemplatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1172,4 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java index 3c5eaeb8..317fe803 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDeidentifyTemplatesResponseOrBuilder extends +public interface ListDeidentifyTemplatesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -15,9 +33,10 @@ public interface ListDeidentifyTemplatesResponseOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
-  java.util.List 
-      getDeidentifyTemplatesList();
+  java.util.List getDeidentifyTemplatesList();
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -27,6 +46,8 @@ public interface ListDeidentifyTemplatesResponseOrBuilder extends
    */
   com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int index);
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -36,6 +57,8 @@ public interface ListDeidentifyTemplatesResponseOrBuilder extends
    */
   int getDeidentifyTemplatesCount();
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -43,9 +66,11 @@ public interface ListDeidentifyTemplatesResponseOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
-  java.util.List 
+  java.util.List
       getDeidentifyTemplatesOrBuilderList();
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -53,28 +78,32 @@ public interface ListDeidentifyTemplatesResponseOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;
    */
-  com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListDeidentifyTemplates request.
    * 
* * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java index 22a50d75..480fcaeb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The request message for listing DLP jobs.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsRequest} */ -public final class ListDlpJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDlpJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDlpJobsRequest) ListDlpJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDlpJobsRequest.newBuilder() to construct. private ListDlpJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDlpJobsRequest() { parent_ = ""; filter_ = ""; @@ -30,16 +48,15 @@ private ListDlpJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDlpJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDlpJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,82 +75,92 @@ private ListDlpJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsRequest.class, com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsRequest.class, + com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -149,7 +176,10 @@ private ListDlpJobsRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -158,14 +188,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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -181,17 +212,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.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 { @@ -202,6 +234,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 1; private volatile java.lang.Object filter_; /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -229,6 +263,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 1; + * * @return The filter. */ @java.lang.Override @@ -237,14 +272,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; } } /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -272,16 +308,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 1; + * * @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 { @@ -292,11 +327,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The standard list page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -307,11 +345,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The standard list page token.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -320,29 +361,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 standard list page token.
    * 
* * string page_token = 3; + * * @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 { @@ -353,33 +394,44 @@ public java.lang.String getPageToken() { public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** + * + * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return The type. */ - @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { + @java.lang.Override + public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -394,6 +446,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6; + * * @return The orderBy. */ @java.lang.Override @@ -402,14 +455,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; } } /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -424,16 +478,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6; + * * @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 { @@ -444,11 +497,14 @@ public java.lang.String getOrderBy() { public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ @java.lang.Override @@ -457,29 +513,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -488,6 +544,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -499,8 +556,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -535,8 +591,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } 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_); @@ -545,8 +600,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, parent_); } if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); @@ -562,26 +616,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.privacy.dlp.v2.ListDlpJobsRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDlpJobsRequest other = (com.google.privacy.dlp.v2.ListDlpJobsRequest) obj; + com.google.privacy.dlp.v2.ListDlpJobsRequest other = + (com.google.privacy.dlp.v2.ListDlpJobsRequest) 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 (!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 (type_ != other.type_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -612,118 +661,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDlpJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListDlpJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 listing DLP jobs.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDlpJobsRequest) com.google.privacy.dlp.v2.ListDlpJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsRequest.class, com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsRequest.class, + com.google.privacy.dlp.v2.ListDlpJobsRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDlpJobsRequest.newBuilder() @@ -731,16 +789,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +819,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor; } @java.lang.Override @@ -783,7 +840,8 @@ public com.google.privacy.dlp.v2.ListDlpJobsRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDlpJobsRequest buildPartial() { - com.google.privacy.dlp.v2.ListDlpJobsRequest result = new com.google.privacy.dlp.v2.ListDlpJobsRequest(this); + com.google.privacy.dlp.v2.ListDlpJobsRequest result = + new com.google.privacy.dlp.v2.ListDlpJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -799,38 +857,39 @@ public com.google.privacy.dlp.v2.ListDlpJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDlpJobsRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -896,6 +955,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -911,14 +972,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.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; @@ -927,6 +990,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -942,16 +1007,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -959,6 +1025,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -974,21 +1042,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1004,16 +1076,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1029,17 +1106,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1047,6 +1126,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1074,13 +1155,13 @@ public Builder setParentBytes(
      * 
* * string filter = 1; + * * @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; @@ -1089,6 +1170,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1116,15 +1199,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1; + * * @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 { @@ -1132,6 +1214,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1159,20 +1243,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1200,15 +1286,18 @@ public Builder setFilter(
      * 
* * string filter = 1; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1236,28 +1325,31 @@ public Builder clearFilter() {
      * 
* * string filter = 1; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The standard list page size.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1265,30 +1357,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The standard list page size.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The standard list page size.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1296,18 +1394,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The standard list page token.
      * 
* * string page_token = 3; + * * @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; @@ -1316,20 +1416,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The standard list page token.
      * 
* * string page_token = 3; + * * @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 { @@ -1337,54 +1438,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The standard list page token.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The standard list page token.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The standard list page token.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1392,51 +1500,65 @@ public Builder setPageTokenBytes( private int type_ = 0; /** + * + * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } /** + * + * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1444,21 +1566,24 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of job. Defaults to `DlpJobType.INSPECT`
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1466,6 +1591,8 @@ public Builder clearType() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1480,13 +1607,13 @@ public Builder clearType() {
      * 
* * string order_by = 6; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1495,6 +1622,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1509,15 +1638,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6; + * * @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 { @@ -1525,6 +1653,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1539,20 +1669,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1567,15 +1699,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 6; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1590,16 +1725,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1607,18 +1742,20 @@ public Builder setOrderByBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1627,20 +1764,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1648,61 +1786,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1712,12 +1857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDlpJobsRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDlpJobsRequest) private static final com.google.privacy.dlp.v2.ListDlpJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDlpJobsRequest(); } @@ -1726,16 +1871,16 @@ public static com.google.privacy.dlp.v2.ListDlpJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDlpJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDlpJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDlpJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDlpJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1750,6 +1895,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListDlpJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java similarity index 84% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java index 66a47c19..e1a95847 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDlpJobsRequestOrBuilder extends +public interface ListDlpJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDlpJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -23,11 +41,16 @@ public interface ListDlpJobsRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -43,13 +66,17 @@ public interface ListDlpJobsRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -77,10 +104,13 @@ public interface ListDlpJobsRequestOrBuilder extends
    * 
* * string filter = 1; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -108,61 +138,77 @@ public interface ListDlpJobsRequestOrBuilder extends
    * 
* * string filter = 1; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The standard list page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The standard list page token.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The standard list page token.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of job. Defaults to `DlpJobType.INSPECT`
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 5; + * * @return The type. */ com.google.privacy.dlp.v2.DlpJobType getType(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -177,10 +223,13 @@ public interface ListDlpJobsRequestOrBuilder extends
    * 
* * string order_by = 6; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -195,28 +244,33 @@ public interface ListDlpJobsRequestOrBuilder extends
    * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java index c4deb012..7d00635a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * The response message for listing DLP jobs.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsResponse} */ -public final class ListDlpJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDlpJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListDlpJobsResponse) ListDlpJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDlpJobsResponse.newBuilder() to construct. private ListDlpJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDlpJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDlpJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDlpJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDlpJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,36 @@ private ListDlpJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + jobs_.add( + input.readMessage(com.google.privacy.dlp.v2.DlpJob.parser(), extensionRegistry)); + break; } - jobs_.add( - input.readMessage(com.google.privacy.dlp.v2.DlpJob.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -92,22 +110,27 @@ private ListDlpJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsResponse.class, com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsResponse.class, + com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -119,6 +142,8 @@ public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -126,11 +151,13 @@ public java.util.List getJobsList() { * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -142,6 +169,8 @@ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -153,6 +182,8 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -160,19 +191,21 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) { * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -181,29 +214,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; } } /** + * + * *
    * The standard List next-page token.
    * 
* * 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 { @@ -212,6 +245,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -241,8 +274,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,17 +287,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.privacy.dlp.v2.ListDlpJobsResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListDlpJobsResponse other = (com.google.privacy.dlp.v2.ListDlpJobsResponse) obj; + com.google.privacy.dlp.v2.ListDlpJobsResponse other = + (com.google.privacy.dlp.v2.ListDlpJobsResponse) obj; - if (!getJobsList() - .equals(other.getJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -288,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListDlpJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListDlpJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 listing DLP jobs.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListDlpJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListDlpJobsResponse) com.google.privacy.dlp.v2.ListDlpJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListDlpJobsResponse.class, com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); + com.google.privacy.dlp.v2.ListDlpJobsResponse.class, + com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListDlpJobsResponse.newBuilder() @@ -407,17 +447,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -433,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor; } @java.lang.Override @@ -454,7 +494,8 @@ public com.google.privacy.dlp.v2.ListDlpJobsResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListDlpJobsResponse buildPartial() { - com.google.privacy.dlp.v2.ListDlpJobsResponse result = new com.google.privacy.dlp.v2.ListDlpJobsResponse(this); + com.google.privacy.dlp.v2.ListDlpJobsResponse result = + new com.google.privacy.dlp.v2.ListDlpJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -474,38 +515,39 @@ public com.google.privacy.dlp.v2.ListDlpJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListDlpJobsResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ListDlpJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -532,9 +574,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListDlpJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -572,21 +615,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DlpJob, com.google.privacy.dlp.v2.DlpJob.Builder, com.google.privacy.dlp.v2.DlpJobOrBuilder> jobsBuilder_; + com.google.privacy.dlp.v2.DlpJob, + com.google.privacy.dlp.v2.DlpJob.Builder, + com.google.privacy.dlp.v2.DlpJobOrBuilder> + jobsBuilder_; /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -601,6 +651,8 @@ public java.util.List getJobsList() { } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -615,6 +667,8 @@ public int getJobsCount() { } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -629,14 +683,15 @@ public com.google.privacy.dlp.v2.DlpJob getJobs(int index) { } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder setJobs( - int index, com.google.privacy.dlp.v2.DlpJob value) { + public Builder setJobs(int index, com.google.privacy.dlp.v2.DlpJob value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -650,14 +705,15 @@ public Builder setJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder setJobs( - int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { + public Builder setJobs(int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -668,6 +724,8 @@ public Builder setJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -688,14 +746,15 @@ public Builder addJobs(com.google.privacy.dlp.v2.DlpJob value) { return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder addJobs( - int index, com.google.privacy.dlp.v2.DlpJob value) { + public Builder addJobs(int index, com.google.privacy.dlp.v2.DlpJob value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -709,14 +768,15 @@ public Builder addJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder addJobs( - com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { + public Builder addJobs(com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -727,14 +787,15 @@ public Builder addJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public Builder addJobs( - int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { + public Builder addJobs(int index, com.google.privacy.dlp.v2.DlpJob.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -745,6 +806,8 @@ public Builder addJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -755,8 +818,7 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -764,6 +826,8 @@ public Builder addAllJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -781,6 +845,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -798,39 +864,44 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public com.google.privacy.dlp.v2.DlpJob.Builder getJobsBuilder( - int index) { + public com.google.privacy.dlp.v2.DlpJob.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -838,6 +909,8 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -845,42 +918,47 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); + public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.DlpJob.getDefaultInstance()); } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DlpJob, com.google.privacy.dlp.v2.DlpJob.Builder, com.google.privacy.dlp.v2.DlpJobOrBuilder> + com.google.privacy.dlp.v2.DlpJob, + com.google.privacy.dlp.v2.DlpJob.Builder, + com.google.privacy.dlp.v2.DlpJobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DlpJob, com.google.privacy.dlp.v2.DlpJob.Builder, com.google.privacy.dlp.v2.DlpJobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.DlpJob, + com.google.privacy.dlp.v2.DlpJob.Builder, + com.google.privacy.dlp.v2.DlpJobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -888,18 +966,20 @@ public com.google.privacy.dlp.v2.DlpJob.Builder addJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The standard List next-page token.
      * 
* * 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; @@ -908,20 +988,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The standard List next-page token.
      * 
* * 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 { @@ -929,61 +1010,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -993,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListDlpJobsResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDlpJobsResponse) private static final com.google.privacy.dlp.v2.ListDlpJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListDlpJobsResponse(); } @@ -1007,16 +1095,16 @@ public static com.google.privacy.dlp.v2.ListDlpJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDlpJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDlpJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDlpJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDlpJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1031,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListDlpJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java index 6f4aa8cd..cca4a80a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListDlpJobsResponseOrBuilder extends +public interface ListDlpJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListDlpJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -25,6 +44,8 @@ public interface ListDlpJobsResponseOrBuilder extends */ com.google.privacy.dlp.v2.DlpJob getJobs(int index); /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -33,41 +54,48 @@ public interface ListDlpJobsResponseOrBuilder extends */ int getJobsCount(); /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
* * repeated .google.privacy.dlp.v2.DlpJob jobs = 1; */ - com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( - int index); + com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The standard List next-page token.
    * 
* * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java index 1b835cbf..f891534e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request for the list of infoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesRequest} */ -public final class ListInfoTypesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInfoTypesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInfoTypesRequest) ListInfoTypesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInfoTypesRequest.newBuilder() to construct. private ListInfoTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInfoTypesRequest() { parent_ = ""; languageCode_ = ""; @@ -28,16 +46,15 @@ private ListInfoTypesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInfoTypesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInfoTypesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,73 @@ private ListInfoTypesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + languageCode_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + locationId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesRequest.class, com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesRequest.class, + com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** + * + * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -122,6 +147,7 @@ private ListInfoTypesRequest(
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -130,14 +156,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 parent resource name.
    * The format of this value is as follows:
@@ -145,16 +172,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -165,6 +191,8 @@ public java.lang.String getParent() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** + * + * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -172,6 +200,7 @@ public java.lang.String getParent() {
    * 
* * string language_code = 1; + * * @return The languageCode. */ @java.lang.Override @@ -180,14 +209,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -195,16 +225,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -215,12 +244,15 @@ public java.lang.String getLanguageCode() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -229,30 +261,30 @@ 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; } } /** + * + * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -263,11 +295,14 @@ public java.lang.String getFilter() { public static final int LOCATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; + * * @return The locationId. */ @java.lang.Override @@ -276,29 +311,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -307,6 +342,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,8 +354,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); } @@ -361,21 +396,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.privacy.dlp.v2.ListInfoTypesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInfoTypesRequest other = (com.google.privacy.dlp.v2.ListInfoTypesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListInfoTypesRequest other = + (com.google.privacy.dlp.v2.ListInfoTypesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -400,118 +432,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInfoTypesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListInfoTypesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the list of infoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInfoTypesRequest) com.google.privacy.dlp.v2.ListInfoTypesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesRequest.class, com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesRequest.class, + com.google.privacy.dlp.v2.ListInfoTypesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInfoTypesRequest.newBuilder() @@ -519,16 +560,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +584,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor; } @java.lang.Override @@ -565,7 +605,8 @@ public com.google.privacy.dlp.v2.ListInfoTypesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInfoTypesRequest buildPartial() { - com.google.privacy.dlp.v2.ListInfoTypesRequest result = new com.google.privacy.dlp.v2.ListInfoTypesRequest(this); + com.google.privacy.dlp.v2.ListInfoTypesRequest result = + new com.google.privacy.dlp.v2.ListInfoTypesRequest(this); result.parent_ = parent_; result.languageCode_ = languageCode_; result.filter_ = filter_; @@ -578,38 +619,39 @@ public com.google.privacy.dlp.v2.ListInfoTypesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInfoTypesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesRequest) other); } else { super.mergeFrom(other); return this; @@ -665,6 +707,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -672,13 +716,13 @@ public Builder mergeFrom(
      * 
* * string parent = 4; + * * @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; @@ -687,6 +731,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -694,15 +740,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @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 { @@ -710,6 +755,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -717,20 +764,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -738,15 +787,18 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -754,16 +806,16 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -771,6 +823,8 @@ public Builder setParentBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -778,13 +832,13 @@ public Builder setParentBytes(
      * 
* * string language_code = 1; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -793,6 +847,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -800,15 +856,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -816,6 +871,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -823,20 +880,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -844,15 +903,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 1; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -860,16 +922,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -877,19 +939,21 @@ public Builder setLanguageCodeBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -898,21 +962,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -920,57 +985,64 @@ public java.lang.String getFilter() { } } /** + * + * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * filter to only return infoTypes supported by certain parts of the
      * API. Defaults to supported_by=INSPECT.
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -978,18 +1050,20 @@ public Builder setFilterBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -998,20 +1072,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1019,61 +1094,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 3; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,12 +1165,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInfoTypesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInfoTypesRequest) private static final com.google.privacy.dlp.v2.ListInfoTypesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInfoTypesRequest(); } @@ -1097,16 +1179,16 @@ public static com.google.privacy.dlp.v2.ListInfoTypesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInfoTypesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInfoTypesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInfoTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInfoTypesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,6 +1203,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListInfoTypesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java index b070e590..d264e50d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInfoTypesRequestOrBuilder extends +public interface ListInfoTypesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInfoTypesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -15,10 +33,13 @@ public interface ListInfoTypesRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -26,12 +47,14 @@ public interface ListInfoTypesRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -39,10 +62,13 @@ public interface ListInfoTypesRequestOrBuilder extends
    * 
* * string language_code = 1; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * BCP-47 language code for localized infoType friendly
    * names. If omitted, or if localized strings are not available,
@@ -50,50 +76,60 @@ public interface ListInfoTypesRequestOrBuilder extends
    * 
* * string language_code = 1; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * filter to only return infoTypes supported by certain parts of the
    * API. Defaults to supported_by=INSPECT.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 3; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java index 7a41e7d6..8064fa7c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Response to the ListInfoTypes request.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesResponse} */ -public final class ListInfoTypesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInfoTypesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInfoTypesResponse) ListInfoTypesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInfoTypesResponse.newBuilder() to construct. private ListInfoTypesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInfoTypesResponse() { infoTypes_ = 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 ListInfoTypesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInfoTypesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,31 @@ private ListInfoTypesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + infoTypes_.add( + input.readMessage( + com.google.privacy.dlp.v2.InfoTypeDescription.parser(), extensionRegistry)); + break; } - infoTypes_.add( - input.readMessage(com.google.privacy.dlp.v2.InfoTypeDescription.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_); @@ -85,22 +104,27 @@ private ListInfoTypesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesResponse.class, com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesResponse.class, + com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); } public static final int INFO_TYPES_FIELD_NUMBER = 1; private java.util.List infoTypes_; /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -112,6 +136,8 @@ public java.util.List getInfoType return infoTypes_; } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -119,11 +145,13 @@ public java.util.List getInfoType * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInfoTypesOrBuilderList() { return infoTypes_; } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -135,6 +163,8 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -146,6 +176,8 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { return infoTypes_.get(index); } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -153,12 +185,12 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index) { return infoTypes_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -185,8 +216,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, infoTypes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +226,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.privacy.dlp.v2.ListInfoTypesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInfoTypesResponse other = (com.google.privacy.dlp.v2.ListInfoTypesResponse) obj; + com.google.privacy.dlp.v2.ListInfoTypesResponse other = + (com.google.privacy.dlp.v2.ListInfoTypesResponse) obj; - if (!getInfoTypesList() - .equals(other.getInfoTypesList())) return false; + if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,118 +255,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInfoTypesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListInfoTypesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 to the ListInfoTypes request.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInfoTypesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInfoTypesResponse) com.google.privacy.dlp.v2.ListInfoTypesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInfoTypesResponse.class, com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInfoTypesResponse.class, + com.google.privacy.dlp.v2.ListInfoTypesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInfoTypesResponse.newBuilder() @@ -344,17 +383,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor; } @java.lang.Override @@ -389,7 +428,8 @@ public com.google.privacy.dlp.v2.ListInfoTypesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInfoTypesResponse buildPartial() { - com.google.privacy.dlp.v2.ListInfoTypesResponse result = new com.google.privacy.dlp.v2.ListInfoTypesResponse(this); + com.google.privacy.dlp.v2.ListInfoTypesResponse result = + new com.google.privacy.dlp.v2.ListInfoTypesResponse(this); int from_bitField0_ = bitField0_; if (infoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,38 +448,39 @@ public com.google.privacy.dlp.v2.ListInfoTypesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInfoTypesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ListInfoTypesResponse) other); } else { super.mergeFrom(other); return this; @@ -447,7 +488,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListInfoTypesResponse other) { - if (other == com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListInfoTypesResponse.getDefaultInstance()) + return this; if (infoTypesBuilder_ == null) { if (!other.infoTypes_.isEmpty()) { if (infoTypes_.isEmpty()) { @@ -466,9 +508,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListInfoTypesResponse other) infoTypesBuilder_ = null; infoTypes_ = other.infoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - infoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInfoTypesFieldBuilder() : null; + infoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInfoTypesFieldBuilder() + : null; } else { infoTypesBuilder_.addAllMessages(other.infoTypes_); } @@ -502,21 +545,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List infoTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - infoTypes_ = new java.util.ArrayList(infoTypes_); + infoTypes_ = + new java.util.ArrayList(infoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeDescription, com.google.privacy.dlp.v2.InfoTypeDescription.Builder, com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> infoTypesBuilder_; + com.google.privacy.dlp.v2.InfoTypeDescription, + com.google.privacy.dlp.v2.InfoTypeDescription.Builder, + com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> + infoTypesBuilder_; /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -531,6 +582,8 @@ public java.util.List getInfoType } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -545,6 +598,8 @@ public int getInfoTypesCount() { } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -559,14 +614,15 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public Builder setInfoTypes( - int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { + public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -580,6 +636,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -598,6 +656,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -618,14 +678,15 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoTypeDescription value) return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public Builder addInfoTypes( - int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { + public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescription value) { if (infoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,6 +700,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -657,6 +720,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -675,6 +740,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -685,8 +752,7 @@ public Builder addAllInfoTypes( java.lang.Iterable values) { if (infoTypesBuilder_ == null) { ensureInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, infoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, infoTypes_); onChanged(); } else { infoTypesBuilder_.addAllMessages(values); @@ -694,6 +760,8 @@ public Builder addAllInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -711,6 +779,8 @@ public Builder clearInfoTypes() { return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -728,39 +798,44 @@ public Builder removeInfoTypes(int index) { return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeDescription.Builder getInfoTypesBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeDescription.Builder getInfoTypesBuilder(int index) { return getInfoTypesFieldBuilder().getBuilder(index); } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index) { if (infoTypesBuilder_ == null) { - return infoTypes_.get(index); } else { + return infoTypes_.get(index); + } else { return infoTypesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public java.util.List - getInfoTypesOrBuilderList() { + public java.util.List + getInfoTypesOrBuilderList() { if (infoTypesBuilder_ != null) { return infoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +843,8 @@ public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuil } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -775,49 +852,55 @@ public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuil * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ public com.google.privacy.dlp.v2.InfoTypeDescription.Builder addInfoTypesBuilder() { - return getInfoTypesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); + return getInfoTypesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public com.google.privacy.dlp.v2.InfoTypeDescription.Builder addInfoTypesBuilder( - int index) { - return getInfoTypesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeDescription.Builder addInfoTypesBuilder(int index) { + return getInfoTypesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeDescription.getDefaultInstance()); } /** + * + * *
      * Set of sensitive infoTypes.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - public java.util.List - getInfoTypesBuilderList() { + public java.util.List + getInfoTypesBuilderList() { return getInfoTypesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeDescription, com.google.privacy.dlp.v2.InfoTypeDescription.Builder, com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> + com.google.privacy.dlp.v2.InfoTypeDescription, + com.google.privacy.dlp.v2.InfoTypeDescription.Builder, + com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder> getInfoTypesFieldBuilder() { if (infoTypesBuilder_ == null) { - infoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeDescription, com.google.privacy.dlp.v2.InfoTypeDescription.Builder, com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder>( - infoTypes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + infoTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeDescription, + com.google.privacy.dlp.v2.InfoTypeDescription.Builder, + com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder>( + infoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); infoTypes_ = null; } return infoTypesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,12 +910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInfoTypesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInfoTypesResponse) private static final com.google.privacy.dlp.v2.ListInfoTypesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInfoTypesResponse(); } @@ -841,16 +924,16 @@ public static com.google.privacy.dlp.v2.ListInfoTypesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInfoTypesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInfoTypesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInfoTypesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInfoTypesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +948,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListInfoTypesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java index c3217bec..524da6ea 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInfoTypesResponseOrBuilder extends +public interface ListInfoTypesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInfoTypesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Set of sensitive infoTypes.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - java.util.List - getInfoTypesList(); + java.util.List getInfoTypesList(); /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -25,6 +44,8 @@ public interface ListInfoTypesResponseOrBuilder extends */ com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index); /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -33,21 +54,24 @@ public interface ListInfoTypesResponseOrBuilder extends */ int getInfoTypesCount(); /** + * + * *
    * Set of sensitive infoTypes.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - java.util.List + java.util.List getInfoTypesOrBuilderList(); /** + * + * *
    * Set of sensitive infoTypes.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; */ - com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder( - int index); + com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java index 965843f1..9e970277 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for ListInspectTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesRequest} */ -public final class ListInspectTemplatesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInspectTemplatesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInspectTemplatesRequest) ListInspectTemplatesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInspectTemplatesRequest.newBuilder() to construct. private ListInspectTemplatesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInspectTemplatesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListInspectTemplatesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInspectTemplatesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInspectTemplatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,70 +73,78 @@ private ListInspectTemplatesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -139,7 +164,10 @@ private ListInspectTemplatesRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -148,14 +176,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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -175,17 +204,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -196,12 +226,15 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -210,30 +243,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; + * * @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 { @@ -244,12 +277,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -260,6 +296,8 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -274,6 +312,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -282,14 +321,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; } } /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -304,16 +344,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; + * * @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 { @@ -324,11 +363,14 @@ public java.lang.String getOrderBy() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ @java.lang.Override @@ -337,29 +379,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -368,6 +410,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,8 +422,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -412,8 +454,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -429,23 +470,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.privacy.dlp.v2.ListInspectTemplatesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInspectTemplatesRequest other = (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListInspectTemplatesRequest other = + (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,117 +510,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListInspectTemplatesRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ListInspectTemplatesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListInspectTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInspectTemplatesRequest) com.google.privacy.dlp.v2.ListInspectTemplatesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.class, + com.google.privacy.dlp.v2.ListInspectTemplatesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInspectTemplatesRequest.newBuilder() @@ -591,16 +638,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -618,9 +664,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor; } @java.lang.Override @@ -639,7 +685,8 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInspectTemplatesRequest buildPartial() { - com.google.privacy.dlp.v2.ListInspectTemplatesRequest result = new com.google.privacy.dlp.v2.ListInspectTemplatesRequest(this); + com.google.privacy.dlp.v2.ListInspectTemplatesRequest result = + new com.google.privacy.dlp.v2.ListInspectTemplatesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -653,38 +700,39 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInspectTemplatesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesRequest) other); } else { super.mergeFrom(other); return this; @@ -692,7 +740,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesRequest other) { - if (other == com.google.privacy.dlp.v2.ListInspectTemplatesRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListInspectTemplatesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -731,7 +780,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListInspectTemplatesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -743,6 +793,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -762,14 +814,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -778,6 +832,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -797,16 +853,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -814,6 +871,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -833,21 +892,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -867,16 +930,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -896,17 +964,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -914,19 +984,21 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; + * * @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; @@ -935,21 +1007,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; + * * @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,70 +1030,80 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListInspectTemplates`.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1028,32 +1111,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1061,6 +1150,8 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1075,13 +1166,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; + * * @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; @@ -1090,6 +1181,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1104,15 +1197,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @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 { @@ -1120,6 +1212,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1134,20 +1228,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1162,15 +1258,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1185,16 +1284,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1202,18 +1301,20 @@ public Builder setOrderByBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1222,20 +1323,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1243,61 +1345,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1307,12 +1416,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInspectTemplatesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInspectTemplatesRequest) private static final com.google.privacy.dlp.v2.ListInspectTemplatesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInspectTemplatesRequest(); } @@ -1321,16 +1430,16 @@ public static com.google.privacy.dlp.v2.ListInspectTemplatesRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInspectTemplatesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInspectTemplatesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInspectTemplatesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInspectTemplatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1345,6 +1454,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.ListInspectTemplatesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java index 64c2d364..12323ef3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInspectTemplatesRequestOrBuilder extends +public interface ListInspectTemplatesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInspectTemplatesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -27,11 +45,16 @@ public interface ListInspectTemplatesRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -51,46 +74,58 @@ public interface ListInspectTemplatesRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListInspectTemplates`.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -105,10 +140,13 @@ public interface ListInspectTemplatesRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -123,28 +161,33 @@ public interface ListInspectTemplatesRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java index 22b3adf4..d198aed5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Response message for ListInspectTemplates.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesResponse} */ -public final class ListInspectTemplatesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInspectTemplatesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListInspectTemplatesResponse) ListInspectTemplatesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInspectTemplatesResponse.newBuilder() to construct. private ListInspectTemplatesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInspectTemplatesResponse() { inspectTemplates_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListInspectTemplatesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInspectTemplatesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListInspectTemplatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,38 @@ private ListInspectTemplatesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - inspectTemplates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + inspectTemplates_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + inspectTemplates_.add( + input.readMessage( + com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry)); + break; } - inspectTemplates_.add( - input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { inspectTemplates_ = java.util.Collections.unmodifiableList(inspectTemplates_); @@ -92,22 +112,27 @@ private ListInspectTemplatesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); } public static final int INSPECT_TEMPLATES_FIELD_NUMBER = 1; private java.util.List inspectTemplates_; /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -119,6 +144,8 @@ public java.util.List getInspectTempl return inspectTemplates_; } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -126,11 +153,13 @@ public java.util.List getInspectTempl * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInspectTemplatesOrBuilderList() { return inspectTemplates_; } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -142,6 +171,8 @@ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -153,6 +184,8 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) return inspectTemplates_.get(index); } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -168,12 +201,15 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +218,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * 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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < inspectTemplates_.size(); i++) { output.writeMessage(1, inspectTemplates_.get(i)); } @@ -243,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < inspectTemplates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, inspectTemplates_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, inspectTemplates_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ListInspectTemplatesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListInspectTemplatesResponse other = (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) obj; + com.google.privacy.dlp.v2.ListInspectTemplatesResponse other = + (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) obj; - if (!getInspectTemplatesList() - .equals(other.getInspectTemplatesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getInspectTemplatesList().equals(other.getInspectTemplatesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +325,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListInspectTemplatesResponse prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ListInspectTemplatesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListInspectTemplates.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListInspectTemplatesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListInspectTemplatesResponse) com.google.privacy.dlp.v2.ListInspectTemplatesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.class, + com.google.privacy.dlp.v2.ListInspectTemplatesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListInspectTemplatesResponse.newBuilder() @@ -409,17 +453,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getInspectTemplatesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor; } @java.lang.Override @@ -456,7 +500,8 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListInspectTemplatesResponse buildPartial() { - com.google.privacy.dlp.v2.ListInspectTemplatesResponse result = new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(this); + com.google.privacy.dlp.v2.ListInspectTemplatesResponse result = + new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(this); int from_bitField0_ = bitField0_; if (inspectTemplatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +521,39 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListInspectTemplatesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ListInspectTemplatesResponse) other); } else { super.mergeFrom(other); return this; @@ -515,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesResponse other) { - if (other == com.google.privacy.dlp.v2.ListInspectTemplatesResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListInspectTemplatesResponse.getDefaultInstance()) + return this; if (inspectTemplatesBuilder_ == null) { if (!other.inspectTemplates_.isEmpty()) { if (inspectTemplates_.isEmpty()) { @@ -534,9 +581,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesResponse inspectTemplatesBuilder_ = null; inspectTemplates_ = other.inspectTemplates_; bitField0_ = (bitField0_ & ~0x00000001); - inspectTemplatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInspectTemplatesFieldBuilder() : null; + inspectTemplatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInspectTemplatesFieldBuilder() + : null; } else { inspectTemplatesBuilder_.addAllMessages(other.inspectTemplates_); } @@ -565,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListInspectTemplatesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +623,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List inspectTemplates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInspectTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - inspectTemplates_ = new java.util.ArrayList(inspectTemplates_); + inspectTemplates_ = + new java.util.ArrayList(inspectTemplates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> inspectTemplatesBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + inspectTemplatesBuilder_; /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -603,6 +660,8 @@ public java.util.List getInspectTempl } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -617,6 +676,8 @@ public int getInspectTemplatesCount() { } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -631,14 +692,15 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public Builder setInspectTemplates( - int index, com.google.privacy.dlp.v2.InspectTemplate value) { + public Builder setInspectTemplates(int index, com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -652,6 +714,8 @@ public Builder setInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -670,6 +734,8 @@ public Builder setInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -690,14 +756,15 @@ public Builder addInspectTemplates(com.google.privacy.dlp.v2.InspectTemplate val return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public Builder addInspectTemplates( - int index, com.google.privacy.dlp.v2.InspectTemplate value) { + public Builder addInspectTemplates(int index, com.google.privacy.dlp.v2.InspectTemplate value) { if (inspectTemplatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,6 +778,8 @@ public Builder addInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -729,6 +798,8 @@ public Builder addInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -747,6 +818,8 @@ public Builder addInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -757,8 +830,7 @@ public Builder addAllInspectTemplates( java.lang.Iterable values) { if (inspectTemplatesBuilder_ == null) { ensureInspectTemplatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inspectTemplates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inspectTemplates_); onChanged(); } else { inspectTemplatesBuilder_.addAllMessages(values); @@ -766,6 +838,8 @@ public Builder addAllInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -783,6 +857,8 @@ public Builder clearInspectTemplates() { return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -800,17 +876,20 @@ public Builder removeInspectTemplates(int index) { return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplatesBuilder( - int index) { + public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplatesBuilder(int index) { return getInspectTemplatesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -820,19 +899,22 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplatesBuil public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder( int index) { if (inspectTemplatesBuilder_ == null) { - return inspectTemplates_.get(index); } else { + return inspectTemplates_.get(index); + } else { return inspectTemplatesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public java.util.List - getInspectTemplatesOrBuilderList() { + public java.util.List + getInspectTemplatesOrBuilderList() { if (inspectTemplatesBuilder_ != null) { return inspectTemplatesBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +922,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -847,38 +931,47 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuilder() { - return getInspectTemplatesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); + return getInspectTemplatesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuilder( - int index) { - return getInspectTemplatesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); + public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuilder(int index) { + return getInspectTemplatesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance()); } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - public java.util.List - getInspectTemplatesBuilderList() { + public java.util.List + getInspectTemplatesBuilderList() { return getInspectTemplatesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> getInspectTemplatesFieldBuilder() { if (inspectTemplatesBuilder_ == null) { - inspectTemplatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( + inspectTemplatesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( inspectTemplates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,19 +983,21 @@ public com.google.privacy.dlp.v2.InspectTemplate.Builder addInspectTemplatesBuil private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * 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; @@ -911,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * 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 { @@ -933,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListInspectTemplates request.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListInspectTemplatesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInspectTemplatesResponse) private static final com.google.privacy.dlp.v2.ListInspectTemplatesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListInspectTemplatesResponse(); } @@ -1014,16 +1117,16 @@ public static com.google.privacy.dlp.v2.ListInspectTemplatesResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInspectTemplatesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListInspectTemplatesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInspectTemplatesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListInspectTemplatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.ListInspectTemplatesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java index b659793b..11a5a9c4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListInspectTemplatesResponseOrBuilder extends +public interface ListInspectTemplatesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListInspectTemplatesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - java.util.List - getInspectTemplatesList(); + java.util.List getInspectTemplatesList(); /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -25,6 +44,8 @@ public interface ListInspectTemplatesResponseOrBuilder extends */ com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index); /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -33,43 +54,51 @@ public interface ListInspectTemplatesResponseOrBuilder extends */ int getInspectTemplatesCount(); /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - java.util.List + java.util.List getInspectTemplatesOrBuilderList(); /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
* * repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; */ - com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder( - int index); + com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrBuilder(int index); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListInspectTemplates request.
    * 
* * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java index 04e4aa52..15054d7a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for ListJobTriggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersRequest} */ -public final class ListJobTriggersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobTriggersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListJobTriggersRequest) ListJobTriggersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobTriggersRequest.newBuilder() to construct. private ListJobTriggersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobTriggersRequest() { parent_ = ""; pageToken_ = ""; @@ -30,16 +48,15 @@ private ListJobTriggersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobTriggersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListJobTriggersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,82 +75,92 @@ private ListJobTriggersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 48: { - int rawValue = input.readEnum(); + filter_ = s; + break; + } + case 48: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersRequest.class, com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersRequest.class, + com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -149,7 +176,10 @@ private ListJobTriggersRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -158,14 +188,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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -181,17 +212,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -202,6 +234,8 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -209,6 +243,7 @@ public java.lang.String getParent() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -217,14 +252,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; } } /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -232,16 +268,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 2; + * * @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 { @@ -252,11 +287,14 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Size of the page, can be limited by a server.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -267,6 +305,8 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -283,6 +323,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -291,14 +332,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; } } /** + * + * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -315,16 +357,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; + * * @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 { @@ -335,6 +376,8 @@ public java.lang.String getOrderBy() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -358,6 +401,7 @@ public java.lang.String getOrderBy() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -366,14 +410,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; } } /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -397,16 +442,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; + * * @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 { @@ -417,38 +461,50 @@ public java.lang.String getFilter() { public static final int TYPE_FIELD_NUMBER = 6; private int type_; /** + * + * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return The type. */ - @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { + @java.lang.Override + public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ @java.lang.Override @@ -457,29 +513,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -488,6 +544,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -499,8 +556,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -538,8 +594,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -548,8 +603,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); @@ -562,26 +616,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.privacy.dlp.v2.ListJobTriggersRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListJobTriggersRequest other = (com.google.privacy.dlp.v2.ListJobTriggersRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.privacy.dlp.v2.ListJobTriggersRequest other = + (com.google.privacy.dlp.v2.ListJobTriggersRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (type_ != other.type_) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -612,118 +661,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListJobTriggersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListJobTriggersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListJobTriggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListJobTriggersRequest) com.google.privacy.dlp.v2.ListJobTriggersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersRequest.class, com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersRequest.class, + com.google.privacy.dlp.v2.ListJobTriggersRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListJobTriggersRequest.newBuilder() @@ -731,16 +789,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +819,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor; } @java.lang.Override @@ -783,7 +840,8 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { - com.google.privacy.dlp.v2.ListJobTriggersRequest result = new com.google.privacy.dlp.v2.ListJobTriggersRequest(this); + com.google.privacy.dlp.v2.ListJobTriggersRequest result = + new com.google.privacy.dlp.v2.ListJobTriggersRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -799,38 +857,39 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListJobTriggersRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersRequest) other); } else { super.mergeFrom(other); return this; @@ -838,7 +897,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersRequest other) { - if (other == com.google.privacy.dlp.v2.ListJobTriggersRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListJobTriggersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -896,6 +956,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -911,14 +973,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -927,6 +991,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -942,16 +1008,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -959,6 +1026,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -974,21 +1043,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1004,16 +1077,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1029,17 +1107,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1047,6 +1127,8 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1054,13 +1136,13 @@ public Builder setParentBytes(
      * 
* * string page_token = 2; + * * @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; @@ -1069,6 +1151,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1076,15 +1160,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @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 { @@ -1092,6 +1175,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1099,20 +1184,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1120,15 +1207,18 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1136,28 +1226,31 @@ public Builder clearPageToken() {
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Size of the page, can be limited by a server.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1165,30 +1258,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by a server.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of the page, can be limited by a server.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1196,6 +1295,8 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1212,13 +1313,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; + * * @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; @@ -1227,6 +1328,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1243,15 +1346,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @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 { @@ -1259,6 +1361,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1275,20 +1379,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1305,15 +1411,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Comma separated list of triggeredJob fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1330,16 +1439,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1347,6 +1456,8 @@ public Builder setOrderByBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1370,13 +1481,13 @@ public Builder setOrderByBytes(
      * 
* * string filter = 5; + * * @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; @@ -1385,6 +1496,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1408,15 +1521,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @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 { @@ -1424,6 +1536,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1447,20 +1561,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1484,15 +1600,18 @@ public Builder setFilter(
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1516,16 +1635,16 @@ public Builder clearFilter() {
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1533,51 +1652,65 @@ public Builder setFilterBytes( private int type_ = 0; /** + * + * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.DlpJobType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DlpJobType result = com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; } /** + * + * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1585,21 +1718,24 @@ public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
      * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1607,18 +1743,20 @@ public Builder clearType() { private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1627,20 +1765,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1648,61 +1787,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1712,12 +1858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListJobTriggersRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListJobTriggersRequest) private static final com.google.privacy.dlp.v2.ListJobTriggersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListJobTriggersRequest(); } @@ -1726,16 +1872,16 @@ public static com.google.privacy.dlp.v2.ListJobTriggersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobTriggersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTriggersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobTriggersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobTriggersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1750,6 +1896,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListJobTriggersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java similarity index 84% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java index cc7dc1fa..b5337bce 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListJobTriggersRequestOrBuilder extends +public interface ListJobTriggersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListJobTriggersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -23,11 +41,16 @@ public interface ListJobTriggersRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -43,13 +66,17 @@ public interface ListJobTriggersRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -57,10 +84,13 @@ public interface ListJobTriggersRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to ListJobTriggers. `order_by` field must not
@@ -68,22 +98,27 @@ public interface ListJobTriggersRequestOrBuilder extends
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Size of the page, can be limited by a server.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -100,10 +135,13 @@ public interface ListJobTriggersRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Comma separated list of triggeredJob fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -120,12 +158,14 @@ public interface ListJobTriggersRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -149,10 +189,13 @@ public interface ListJobTriggersRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -176,47 +219,58 @@ public interface ListJobTriggersRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
    * 
* * .google.privacy.dlp.v2.DlpJobType type = 6; + * * @return The type. */ com.google.privacy.dlp.v2.DlpJobType getType(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java index 35e408ce..1179c1c4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Response message for ListJobTriggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersResponse} */ -public final class ListJobTriggersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobTriggersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListJobTriggersResponse) ListJobTriggersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobTriggersResponse.newBuilder() to construct. private ListJobTriggersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobTriggersResponse() { jobTriggers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListJobTriggersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobTriggersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListJobTriggersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,37 @@ private ListJobTriggersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobTriggers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobTriggers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + jobTriggers_.add( + input.readMessage( + com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry)); + break; } - jobTriggers_.add( - input.readMessage(com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobTriggers_ = java.util.Collections.unmodifiableList(jobTriggers_); @@ -92,22 +111,27 @@ private ListJobTriggersResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersResponse.class, com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersResponse.class, + com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); } public static final int JOB_TRIGGERS_FIELD_NUMBER = 1; private java.util.List jobTriggers_; /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -119,6 +143,8 @@ public java.util.List getJobTriggersList() return jobTriggers_; } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -126,11 +152,13 @@ public java.util.List getJobTriggersList() * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobTriggersOrBuilderList() { return jobTriggers_; } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -142,6 +170,8 @@ public int getJobTriggersCount() { return jobTriggers_.size(); } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -153,6 +183,8 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { return jobTriggers_.get(index); } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -160,20 +192,22 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( - int index) { + public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index) { return jobTriggers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +216,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; } } /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * 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 { @@ -214,6 +248,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < jobTriggers_.size(); i++) { output.writeMessage(1, jobTriggers_.get(i)); } @@ -243,8 +277,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobTriggers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobTriggers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobTriggers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +290,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.privacy.dlp.v2.ListJobTriggersResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListJobTriggersResponse other = (com.google.privacy.dlp.v2.ListJobTriggersResponse) obj; + com.google.privacy.dlp.v2.ListJobTriggersResponse other = + (com.google.privacy.dlp.v2.ListJobTriggersResponse) obj; - if (!getJobTriggersList() - .equals(other.getJobTriggersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getJobTriggersList().equals(other.getJobTriggersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +323,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListJobTriggersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListJobTriggersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListJobTriggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListJobTriggersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListJobTriggersResponse) com.google.privacy.dlp.v2.ListJobTriggersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListJobTriggersResponse.class, com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); + com.google.privacy.dlp.v2.ListJobTriggersResponse.class, + com.google.privacy.dlp.v2.ListJobTriggersResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListJobTriggersResponse.newBuilder() @@ -409,17 +450,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getJobTriggersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor; } @java.lang.Override @@ -456,7 +497,8 @@ public com.google.privacy.dlp.v2.ListJobTriggersResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListJobTriggersResponse buildPartial() { - com.google.privacy.dlp.v2.ListJobTriggersResponse result = new com.google.privacy.dlp.v2.ListJobTriggersResponse(this); + com.google.privacy.dlp.v2.ListJobTriggersResponse result = + new com.google.privacy.dlp.v2.ListJobTriggersResponse(this); int from_bitField0_ = bitField0_; if (jobTriggersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +518,39 @@ public com.google.privacy.dlp.v2.ListJobTriggersResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListJobTriggersResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ListJobTriggersResponse) other); } else { super.mergeFrom(other); return this; @@ -515,7 +558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersResponse other) { - if (other == com.google.privacy.dlp.v2.ListJobTriggersResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListJobTriggersResponse.getDefaultInstance()) + return this; if (jobTriggersBuilder_ == null) { if (!other.jobTriggers_.isEmpty()) { if (jobTriggers_.isEmpty()) { @@ -534,9 +578,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersResponse other jobTriggersBuilder_ = null; jobTriggers_ = other.jobTriggers_; bitField0_ = (bitField0_ & ~0x00000001); - jobTriggersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobTriggersFieldBuilder() : null; + jobTriggersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobTriggersFieldBuilder() + : null; } else { jobTriggersBuilder_.addAllMessages(other.jobTriggers_); } @@ -565,7 +610,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListJobTriggersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListJobTriggersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +620,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List jobTriggers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobTriggersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobTriggers_ = new java.util.ArrayList(jobTriggers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> jobTriggersBuilder_; + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder> + jobTriggersBuilder_; /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -603,6 +656,8 @@ public java.util.List getJobTriggersList() } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -617,6 +672,8 @@ public int getJobTriggersCount() { } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -631,14 +688,15 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public Builder setJobTriggers( - int index, com.google.privacy.dlp.v2.JobTrigger value) { + public Builder setJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -652,6 +710,8 @@ public Builder setJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -670,6 +730,8 @@ public Builder setJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -690,14 +752,15 @@ public Builder addJobTriggers(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public Builder addJobTriggers( - int index, com.google.privacy.dlp.v2.JobTrigger value) { + public Builder addJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,14 +774,15 @@ public Builder addJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public Builder addJobTriggers( - com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { + public Builder addJobTriggers(com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { if (jobTriggersBuilder_ == null) { ensureJobTriggersIsMutable(); jobTriggers_.add(builderForValue.build()); @@ -729,6 +793,8 @@ public Builder addJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -747,6 +813,8 @@ public Builder addJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -757,8 +825,7 @@ public Builder addAllJobTriggers( java.lang.Iterable values) { if (jobTriggersBuilder_ == null) { ensureJobTriggersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobTriggers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobTriggers_); onChanged(); } else { jobTriggersBuilder_.addAllMessages(values); @@ -766,6 +833,8 @@ public Builder addAllJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -783,6 +852,8 @@ public Builder clearJobTriggers() { return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -800,39 +871,44 @@ public Builder removeJobTriggers(int index) { return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggersBuilder( - int index) { + public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggersBuilder(int index) { return getJobTriggersFieldBuilder().getBuilder(index); } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( - int index) { + public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index) { if (jobTriggersBuilder_ == null) { - return jobTriggers_.get(index); } else { + return jobTriggers_.get(index); + } else { return jobTriggersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public java.util.List - getJobTriggersOrBuilderList() { + public java.util.List + getJobTriggersOrBuilderList() { if (jobTriggersBuilder_ != null) { return jobTriggersBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +916,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -847,42 +925,48 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder() { - return getJobTriggersFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); + return getJobTriggersFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder( - int index) { - return getJobTriggersFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); + public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder(int index) { + return getJobTriggersFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance()); } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - public java.util.List - getJobTriggersBuilderList() { + public java.util.List + getJobTriggersBuilderList() { return getJobTriggersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder> getJobTriggersFieldBuilder() { if (jobTriggersBuilder_ == null) { - jobTriggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder>( - jobTriggers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobTriggersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder>( + jobTriggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobTriggers_ = null; } return jobTriggersBuilder_; @@ -890,19 +974,21 @@ public com.google.privacy.dlp.v2.JobTrigger.Builder addJobTriggersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * 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; @@ -911,21 +997,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * 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 { @@ -933,64 +1020,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListJobTriggers request.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1094,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListJobTriggersResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListJobTriggersResponse) private static final com.google.privacy.dlp.v2.ListJobTriggersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListJobTriggersResponse(); } @@ -1014,16 +1108,16 @@ public static com.google.privacy.dlp.v2.ListJobTriggersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobTriggersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobTriggersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobTriggersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobTriggersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1132,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ListJobTriggersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java index 622afb7a..75334d6e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListJobTriggersResponseOrBuilder extends +public interface ListJobTriggersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListJobTriggersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - java.util.List - getJobTriggersList(); + java.util.List getJobTriggersList(); /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -25,6 +44,8 @@ public interface ListJobTriggersResponseOrBuilder extends */ com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index); /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -33,43 +54,51 @@ public interface ListJobTriggersResponseOrBuilder extends */ int getJobTriggersCount(); /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - java.util.List + java.util.List getJobTriggersOrBuilderList(); /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
* * repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; */ - com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( - int index); + com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int index); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListJobTriggers request.
    * 
* * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java index 7e258bcf..8416a44a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for ListStoredInfoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesRequest} */ -public final class ListStoredInfoTypesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListStoredInfoTypesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListStoredInfoTypesRequest) ListStoredInfoTypesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListStoredInfoTypesRequest.newBuilder() to construct. private ListStoredInfoTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListStoredInfoTypesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListStoredInfoTypesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListStoredInfoTypesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListStoredInfoTypesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,70 +73,78 @@ private ListStoredInfoTypesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -139,7 +164,10 @@ private ListStoredInfoTypesRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -148,14 +176,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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -175,17 +204,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -196,12 +226,15 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -210,30 +243,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; + * * @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 { @@ -244,12 +277,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -260,6 +296,8 @@ public int getPageSize() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -275,6 +313,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -283,14 +322,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; } } /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -306,16 +346,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4; + * * @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 { @@ -326,11 +365,14 @@ public java.lang.String getOrderBy() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ @java.lang.Override @@ -339,29 +381,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -370,6 +412,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -414,8 +456,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } 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(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); @@ -431,23 +472,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.privacy.dlp.v2.ListStoredInfoTypesRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest other = (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest other = + (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,117 +512,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListStoredInfoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListStoredInfoTypesRequest) com.google.privacy.dlp.v2.ListStoredInfoTypesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.class, + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.newBuilder() @@ -593,16 +639,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +665,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor; } @java.lang.Override @@ -641,7 +686,8 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest buildPartial() { - com.google.privacy.dlp.v2.ListStoredInfoTypesRequest result = new com.google.privacy.dlp.v2.ListStoredInfoTypesRequest(this); + com.google.privacy.dlp.v2.ListStoredInfoTypesRequest result = + new com.google.privacy.dlp.v2.ListStoredInfoTypesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -655,38 +701,39 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) other); } else { super.mergeFrom(other); return this; @@ -694,7 +741,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest other) { - if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -733,7 +781,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListStoredInfoTypesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -745,6 +794,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -764,14 +815,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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; @@ -780,6 +833,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -799,16 +854,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -816,6 +872,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -835,21 +893,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -869,16 +931,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -898,17 +965,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -916,19 +985,21 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; + * * @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; @@ -937,21 +1008,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; + * * @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 { @@ -959,70 +1031,80 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to `ListStoredInfoTypes`.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1030,32 +1112,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of the page, can be limited by server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1063,6 +1151,8 @@ public Builder clearPageSize() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1078,13 +1168,13 @@ public Builder clearPageSize() {
      * 
* * string order_by = 4; + * * @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; @@ -1093,6 +1183,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1108,15 +1200,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @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 { @@ -1124,6 +1215,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1139,20 +1232,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1168,15 +1263,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Comma separated list of fields to order by,
      * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1192,16 +1290,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1209,18 +1307,20 @@ public Builder setOrderByBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1229,20 +1329,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1250,61 +1351,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 5; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1314,12 +1422,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListStoredInfoTypesRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListStoredInfoTypesRequest) private static final com.google.privacy.dlp.v2.ListStoredInfoTypesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListStoredInfoTypesRequest(); } @@ -1328,16 +1436,16 @@ public static com.google.privacy.dlp.v2.ListStoredInfoTypesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStoredInfoTypesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStoredInfoTypesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStoredInfoTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStoredInfoTypesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1352,6 +1460,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java index 7ec362bf..5e85a54a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListStoredInfoTypesRequestOrBuilder extends +public interface ListStoredInfoTypesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListStoredInfoTypesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -27,11 +45,16 @@ public interface ListStoredInfoTypesRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on the scope of the request
@@ -51,46 +74,58 @@ public interface ListStoredInfoTypesRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Page token to continue retrieval. Comes from previous call
    * to `ListStoredInfoTypes`.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Size of the page, can be limited by server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -106,10 +141,13 @@ public interface ListStoredInfoTypesRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Comma separated list of fields to order by,
    * followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -125,28 +163,33 @@ public interface ListStoredInfoTypesRequestOrBuilder extends
    * 
* * string order_by = 4; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 5; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java index af199eb5..70997a5d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Response message for ListStoredInfoTypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesResponse} */ -public final class ListStoredInfoTypesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListStoredInfoTypesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ListStoredInfoTypesResponse) ListStoredInfoTypesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListStoredInfoTypesResponse.newBuilder() to construct. private ListStoredInfoTypesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListStoredInfoTypesResponse() { storedInfoTypes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListStoredInfoTypesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListStoredInfoTypesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListStoredInfoTypesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,38 @@ private ListStoredInfoTypesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - storedInfoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + storedInfoTypes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + storedInfoTypes_.add( + input.readMessage( + com.google.privacy.dlp.v2.StoredInfoType.parser(), extensionRegistry)); + break; } - storedInfoTypes_.add( - input.readMessage(com.google.privacy.dlp.v2.StoredInfoType.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { storedInfoTypes_ = java.util.Collections.unmodifiableList(storedInfoTypes_); @@ -92,22 +112,27 @@ private ListStoredInfoTypesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); } public static final int STORED_INFO_TYPES_FIELD_NUMBER = 1; private java.util.List storedInfoTypes_; /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -119,6 +144,8 @@ public java.util.List getStoredInfoTyp return storedInfoTypes_; } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -126,11 +153,13 @@ public java.util.List getStoredInfoTyp * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ @java.lang.Override - public java.util.List + public java.util.List getStoredInfoTypesOrBuilderList() { return storedInfoTypes_; } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -142,6 +171,8 @@ public int getStoredInfoTypesCount() { return storedInfoTypes_.size(); } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -153,6 +184,8 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { return storedInfoTypes_.get(index); } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -160,20 +193,22 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder(int index) { return storedInfoTypes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -182,30 +217,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; } } /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * 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 { @@ -214,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 { for (int i = 0; i < storedInfoTypes_.size(); i++) { output.writeMessage(1, storedInfoTypes_.get(i)); } @@ -243,8 +278,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < storedInfoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, storedInfoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, storedInfoTypes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +291,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.privacy.dlp.v2.ListStoredInfoTypesResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse other = (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) obj; + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse other = + (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) obj; - if (!getStoredInfoTypesList() - .equals(other.getStoredInfoTypesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getStoredInfoTypesList().equals(other.getStoredInfoTypesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +324,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ListStoredInfoTypesResponse prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListStoredInfoTypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ListStoredInfoTypesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ListStoredInfoTypesResponse) com.google.privacy.dlp.v2.ListStoredInfoTypesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.class, + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.newBuilder() @@ -409,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStoredInfoTypesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse buildPartial() { - com.google.privacy.dlp.v2.ListStoredInfoTypesResponse result = new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(this); + com.google.privacy.dlp.v2.ListStoredInfoTypesResponse result = + new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(this); int from_bitField0_ = bitField0_; if (storedInfoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,38 +520,39 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) other); } else { super.mergeFrom(other); return this; @@ -515,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesResponse other) { - if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ListStoredInfoTypesResponse.getDefaultInstance()) + return this; if (storedInfoTypesBuilder_ == null) { if (!other.storedInfoTypes_.isEmpty()) { if (storedInfoTypes_.isEmpty()) { @@ -534,9 +580,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesResponse o storedInfoTypesBuilder_ = null; storedInfoTypes_ = other.storedInfoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - storedInfoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStoredInfoTypesFieldBuilder() : null; + storedInfoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStoredInfoTypesFieldBuilder() + : null; } else { storedInfoTypesBuilder_.addAllMessages(other.storedInfoTypes_); } @@ -565,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ListStoredInfoTypesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +622,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List storedInfoTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStoredInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - storedInfoTypes_ = new java.util.ArrayList(storedInfoTypes_); + storedInfoTypes_ = + new java.util.ArrayList(storedInfoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoType, com.google.privacy.dlp.v2.StoredInfoType.Builder, com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> storedInfoTypesBuilder_; + com.google.privacy.dlp.v2.StoredInfoType, + com.google.privacy.dlp.v2.StoredInfoType.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> + storedInfoTypesBuilder_; /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -603,6 +659,8 @@ public java.util.List getStoredInfoTyp } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -617,6 +675,8 @@ public int getStoredInfoTypesCount() { } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -631,14 +691,15 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public Builder setStoredInfoTypes( - int index, com.google.privacy.dlp.v2.StoredInfoType value) { + public Builder setStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInfoType value) { if (storedInfoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -652,6 +713,8 @@ public Builder setStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -670,6 +733,8 @@ public Builder setStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -690,14 +755,15 @@ public Builder addStoredInfoTypes(com.google.privacy.dlp.v2.StoredInfoType value return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public Builder addStoredInfoTypes( - int index, com.google.privacy.dlp.v2.StoredInfoType value) { + public Builder addStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInfoType value) { if (storedInfoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,6 +777,8 @@ public Builder addStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -729,6 +797,8 @@ public Builder addStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -747,6 +817,8 @@ public Builder addStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -757,8 +829,7 @@ public Builder addAllStoredInfoTypes( java.lang.Iterable values) { if (storedInfoTypesBuilder_ == null) { ensureStoredInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, storedInfoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, storedInfoTypes_); onChanged(); } else { storedInfoTypesBuilder_.addAllMessages(values); @@ -766,6 +837,8 @@ public Builder addAllStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -783,6 +856,8 @@ public Builder clearStoredInfoTypes() { return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -800,17 +875,20 @@ public Builder removeStoredInfoTypes(int index) { return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public com.google.privacy.dlp.v2.StoredInfoType.Builder getStoredInfoTypesBuilder( - int index) { + public com.google.privacy.dlp.v2.StoredInfoType.Builder getStoredInfoTypesBuilder(int index) { return getStoredInfoTypesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -820,19 +898,22 @@ public com.google.privacy.dlp.v2.StoredInfoType.Builder getStoredInfoTypesBuilde public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder( int index) { if (storedInfoTypesBuilder_ == null) { - return storedInfoTypes_.get(index); } else { + return storedInfoTypes_.get(index); + } else { return storedInfoTypesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public java.util.List - getStoredInfoTypesOrBuilderList() { + public java.util.List + getStoredInfoTypesOrBuilderList() { if (storedInfoTypesBuilder_ != null) { return storedInfoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +921,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -847,38 +930,47 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilder() { - return getStoredInfoTypesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); + return getStoredInfoTypesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilder( - int index) { - return getStoredInfoTypesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); + public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilder(int index) { + return getStoredInfoTypesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.StoredInfoType.getDefaultInstance()); } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - public java.util.List - getStoredInfoTypesBuilderList() { + public java.util.List + getStoredInfoTypesBuilderList() { return getStoredInfoTypesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoType, com.google.privacy.dlp.v2.StoredInfoType.Builder, com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> + com.google.privacy.dlp.v2.StoredInfoType, + com.google.privacy.dlp.v2.StoredInfoType.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder> getStoredInfoTypesFieldBuilder() { if (storedInfoTypesBuilder_ == null) { - storedInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoType, com.google.privacy.dlp.v2.StoredInfoType.Builder, com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder>( + storedInfoTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoType, + com.google.privacy.dlp.v2.StoredInfoType.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder>( storedInfoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -890,19 +982,21 @@ public com.google.privacy.dlp.v2.StoredInfoType.Builder addStoredInfoTypesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * 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; @@ -911,21 +1005,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * 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 { @@ -933,64 +1028,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If the next page is available then the next page token to be used
      * in following ListStoredInfoTypes request.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1102,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ListStoredInfoTypesResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListStoredInfoTypesResponse) private static final com.google.privacy.dlp.v2.ListStoredInfoTypesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ListStoredInfoTypesResponse(); } @@ -1014,16 +1116,16 @@ public static com.google.privacy.dlp.v2.ListStoredInfoTypesResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListStoredInfoTypesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListStoredInfoTypesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStoredInfoTypesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListStoredInfoTypesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1140,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.ListStoredInfoTypesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java index 89c319c9..557c5159 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ListStoredInfoTypesResponseOrBuilder extends +public interface ListStoredInfoTypesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ListStoredInfoTypesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - java.util.List - getStoredInfoTypesList(); + java.util.List getStoredInfoTypesList(); /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -25,6 +44,8 @@ public interface ListStoredInfoTypesResponseOrBuilder extends */ com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index); /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -33,43 +54,51 @@ public interface ListStoredInfoTypesResponseOrBuilder extends */ int getStoredInfoTypesCount(); /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - java.util.List + java.util.List getStoredInfoTypesOrBuilderList(); /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
* * repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; */ - com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder( - int index); + com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBuilder(int index); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If the next page is available then the next page token to be used
    * in following ListStoredInfoTypes request.
    * 
* * 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/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java index 1be32e8b..c9dd74e5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Location.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Specifies the location of the finding.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Location() { contentLocations_ = 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 Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Location( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,68 +71,77 @@ private Location( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Range.Builder subBuilder = null; - if (byteRange_ != null) { - subBuilder = byteRange_.toBuilder(); - } - byteRange_ = input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(byteRange_); - byteRange_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.Range.Builder subBuilder = null; + if (byteRange_ != null) { + subBuilder = byteRange_.toBuilder(); + } + byteRange_ = + input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(byteRange_); + byteRange_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.Range.Builder subBuilder = null; - if (codepointRange_ != null) { - subBuilder = codepointRange_.toBuilder(); - } - codepointRange_ = input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(codepointRange_); - codepointRange_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.privacy.dlp.v2.Range.Builder subBuilder = null; + if (codepointRange_ != null) { + subBuilder = codepointRange_.toBuilder(); + } + codepointRange_ = + input.readMessage(com.google.privacy.dlp.v2.Range.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(codepointRange_); + codepointRange_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contentLocations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contentLocations_.add( - input.readMessage(com.google.privacy.dlp.v2.ContentLocation.parser(), extensionRegistry)); - break; - } - case 66: { - com.google.privacy.dlp.v2.Container.Builder subBuilder = null; - if (container_ != null) { - subBuilder = container_.toBuilder(); + break; } - container_ = input.readMessage(com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(container_); - container_ = subBuilder.buildPartial(); + case 58: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contentLocations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contentLocations_.add( + input.readMessage( + com.google.privacy.dlp.v2.ContentLocation.parser(), extensionRegistry)); + break; } + case 66: + { + com.google.privacy.dlp.v2.Container.Builder subBuilder = null; + if (container_ != null) { + subBuilder = container_.toBuilder(); + } + container_ = + input.readMessage( + com.google.privacy.dlp.v2.Container.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(container_); + container_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contentLocations_ = java.util.Collections.unmodifiableList(contentLocations_); @@ -124,22 +150,27 @@ private Location( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Location.class, com.google.privacy.dlp.v2.Location.Builder.class); + com.google.privacy.dlp.v2.Location.class, + com.google.privacy.dlp.v2.Location.Builder.class); } public static final int BYTE_RANGE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Range byteRange_; /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -149,6 +180,7 @@ private Location(
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return Whether the byteRange field is set. */ @java.lang.Override @@ -156,6 +188,8 @@ public boolean hasByteRange() { return byteRange_ != null; } /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -165,6 +199,7 @@ public boolean hasByteRange() {
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return The byteRange. */ @java.lang.Override @@ -172,6 +207,8 @@ public com.google.privacy.dlp.v2.Range getByteRange() { return byteRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_; } /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -190,6 +227,8 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
   public static final int CODEPOINT_RANGE_FIELD_NUMBER = 2;
   private com.google.privacy.dlp.v2.Range codepointRange_;
   /**
+   *
+   *
    * 
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -197,6 +236,7 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; + * * @return Whether the codepointRange field is set. */ @java.lang.Override @@ -204,6 +244,8 @@ public boolean hasCodepointRange() { return codepointRange_ != null; } /** + * + * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -211,13 +253,18 @@ public boolean hasCodepointRange() {
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; + * * @return The codepointRange. */ @java.lang.Override public com.google.privacy.dlp.v2.Range getCodepointRange() { - return codepointRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : codepointRange_; + return codepointRange_ == null + ? com.google.privacy.dlp.v2.Range.getDefaultInstance() + : codepointRange_; } /** + * + * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -234,6 +281,8 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
   public static final int CONTENT_LOCATIONS_FIELD_NUMBER = 7;
   private java.util.List contentLocations_;
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -246,6 +295,8 @@ public java.util.List getContentLocat
     return contentLocations_;
   }
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -254,11 +305,13 @@ public java.util.List getContentLocat
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getContentLocationsOrBuilderList() {
     return contentLocations_;
   }
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -271,6 +324,8 @@ public int getContentLocationsCount() {
     return contentLocations_.size();
   }
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -283,6 +338,8 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
     return contentLocations_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -299,11 +356,14 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
   public static final int CONTAINER_FIELD_NUMBER = 8;
   private com.google.privacy.dlp.v2.Container container_;
   /**
+   *
+   *
    * 
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; + * * @return Whether the container field is set. */ @java.lang.Override @@ -311,18 +371,25 @@ public boolean hasContainer() { return container_ != null; } /** + * + * *
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; + * * @return The container. */ @java.lang.Override public com.google.privacy.dlp.v2.Container getContainer() { - return container_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : container_; + return container_ == null + ? com.google.privacy.dlp.v2.Container.getDefaultInstance() + : container_; } /** + * + * *
    * Information about the container where this finding occurred, if available.
    * 
@@ -335,6 +402,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,8 +414,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (byteRange_ != null) { output.writeMessage(1, getByteRange()); } @@ -370,20 +437,16 @@ public int getSerializedSize() { size = 0; if (byteRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getByteRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getByteRange()); } if (codepointRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCodepointRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCodepointRange()); } for (int i = 0; i < contentLocations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, contentLocations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, contentLocations_.get(i)); } if (container_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getContainer()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getContainer()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -393,7 +456,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.privacy.dlp.v2.Location)) { return super.equals(obj); @@ -402,20 +465,16 @@ public boolean equals(final java.lang.Object obj) { if (hasByteRange() != other.hasByteRange()) return false; if (hasByteRange()) { - if (!getByteRange() - .equals(other.getByteRange())) return false; + if (!getByteRange().equals(other.getByteRange())) return false; } if (hasCodepointRange() != other.hasCodepointRange()) return false; if (hasCodepointRange()) { - if (!getCodepointRange() - .equals(other.getCodepointRange())) return false; + if (!getCodepointRange().equals(other.getCodepointRange())) return false; } - if (!getContentLocationsList() - .equals(other.getContentLocationsList())) return false; + if (!getContentLocationsList().equals(other.getContentLocationsList())) return false; if (hasContainer() != other.hasContainer()) return false; if (hasContainer()) { - if (!getContainer() - .equals(other.getContainer())) return false; + if (!getContainer().equals(other.getContainer())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -449,118 +508,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Location parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Location parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Location parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Location parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Location parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Location parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Location 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.privacy.dlp.v2.Location parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Location parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies the location of the finding.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Location} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Location) com.google.privacy.dlp.v2.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Location.class, com.google.privacy.dlp.v2.Location.Builder.class); + com.google.privacy.dlp.v2.Location.class, + com.google.privacy.dlp.v2.Location.Builder.class); } // Construct using com.google.privacy.dlp.v2.Location.newBuilder() @@ -568,17 +635,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getContentLocationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +677,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Location_descriptor; } @java.lang.Override @@ -665,38 +732,39 @@ public com.google.privacy.dlp.v2.Location buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Location) { - return mergeFrom((com.google.privacy.dlp.v2.Location)other); + return mergeFrom((com.google.privacy.dlp.v2.Location) other); } else { super.mergeFrom(other); return this; @@ -729,9 +797,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Location other) { contentLocationsBuilder_ = null; contentLocations_ = other.contentLocations_; bitField0_ = (bitField0_ & ~0x00000001); - contentLocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getContentLocationsFieldBuilder() : null; + contentLocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getContentLocationsFieldBuilder() + : null; } else { contentLocationsBuilder_.addAllMessages(other.contentLocations_); } @@ -768,12 +837,18 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.privacy.dlp.v2.Range byteRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> byteRangeBuilder_; + com.google.privacy.dlp.v2.Range, + com.google.privacy.dlp.v2.Range.Builder, + com.google.privacy.dlp.v2.RangeOrBuilder> + byteRangeBuilder_; /** + * + * *
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -783,12 +858,15 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return Whether the byteRange field is set. */ public boolean hasByteRange() { return byteRangeBuilder_ != null || byteRange_ != null; } /** + * + * *
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -798,16 +876,21 @@ public boolean hasByteRange() {
      * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return The byteRange. */ public com.google.privacy.dlp.v2.Range getByteRange() { if (byteRangeBuilder_ == null) { - return byteRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_; + return byteRange_ == null + ? com.google.privacy.dlp.v2.Range.getDefaultInstance() + : byteRange_; } else { return byteRangeBuilder_.getMessage(); } } /** + * + * *
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -832,6 +915,8 @@ public Builder setByteRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -842,8 +927,7 @@ public Builder setByteRange(com.google.privacy.dlp.v2.Range value) {
      *
      * .google.privacy.dlp.v2.Range byte_range = 1;
      */
-    public Builder setByteRange(
-        com.google.privacy.dlp.v2.Range.Builder builderForValue) {
+    public Builder setByteRange(com.google.privacy.dlp.v2.Range.Builder builderForValue) {
       if (byteRangeBuilder_ == null) {
         byteRange_ = builderForValue.build();
         onChanged();
@@ -854,6 +938,8 @@ public Builder setByteRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -868,7 +954,9 @@ public Builder mergeByteRange(com.google.privacy.dlp.v2.Range value) {
       if (byteRangeBuilder_ == null) {
         if (byteRange_ != null) {
           byteRange_ =
-            com.google.privacy.dlp.v2.Range.newBuilder(byteRange_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.Range.newBuilder(byteRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           byteRange_ = value;
         }
@@ -880,6 +968,8 @@ public Builder mergeByteRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -902,6 +992,8 @@ public Builder clearByteRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -913,11 +1005,13 @@ public Builder clearByteRange() {
      * .google.privacy.dlp.v2.Range byte_range = 1;
      */
     public com.google.privacy.dlp.v2.Range.Builder getByteRangeBuilder() {
-      
+
       onChanged();
       return getByteRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -932,11 +1026,14 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
       if (byteRangeBuilder_ != null) {
         return byteRangeBuilder_.getMessageOrBuilder();
       } else {
-        return byteRange_ == null ?
-            com.google.privacy.dlp.v2.Range.getDefaultInstance() : byteRange_;
+        return byteRange_ == null
+            ? com.google.privacy.dlp.v2.Range.getDefaultInstance()
+            : byteRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -948,14 +1045,17 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
      * .google.privacy.dlp.v2.Range byte_range = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> 
+            com.google.privacy.dlp.v2.Range,
+            com.google.privacy.dlp.v2.Range.Builder,
+            com.google.privacy.dlp.v2.RangeOrBuilder>
         getByteRangeFieldBuilder() {
       if (byteRangeBuilder_ == null) {
-        byteRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder>(
-                getByteRange(),
-                getParentForChildren(),
-                isClean());
+        byteRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.Range,
+                com.google.privacy.dlp.v2.Range.Builder,
+                com.google.privacy.dlp.v2.RangeOrBuilder>(
+                getByteRange(), getParentForChildren(), isClean());
         byteRange_ = null;
       }
       return byteRangeBuilder_;
@@ -963,8 +1063,13 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
 
     private com.google.privacy.dlp.v2.Range codepointRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> codepointRangeBuilder_;
+            com.google.privacy.dlp.v2.Range,
+            com.google.privacy.dlp.v2.Range.Builder,
+            com.google.privacy.dlp.v2.RangeOrBuilder>
+        codepointRangeBuilder_;
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -972,12 +1077,15 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; + * * @return Whether the codepointRange field is set. */ public boolean hasCodepointRange() { return codepointRangeBuilder_ != null || codepointRange_ != null; } /** + * + * *
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -985,16 +1093,21 @@ public boolean hasCodepointRange() {
      * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; + * * @return The codepointRange. */ public com.google.privacy.dlp.v2.Range getCodepointRange() { if (codepointRangeBuilder_ == null) { - return codepointRange_ == null ? com.google.privacy.dlp.v2.Range.getDefaultInstance() : codepointRange_; + return codepointRange_ == null + ? com.google.privacy.dlp.v2.Range.getDefaultInstance() + : codepointRange_; } else { return codepointRangeBuilder_.getMessage(); } } /** + * + * *
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1017,6 +1130,8 @@ public Builder setCodepointRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1025,8 +1140,7 @@ public Builder setCodepointRange(com.google.privacy.dlp.v2.Range value) {
      *
      * .google.privacy.dlp.v2.Range codepoint_range = 2;
      */
-    public Builder setCodepointRange(
-        com.google.privacy.dlp.v2.Range.Builder builderForValue) {
+    public Builder setCodepointRange(com.google.privacy.dlp.v2.Range.Builder builderForValue) {
       if (codepointRangeBuilder_ == null) {
         codepointRange_ = builderForValue.build();
         onChanged();
@@ -1037,6 +1151,8 @@ public Builder setCodepointRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1049,7 +1165,9 @@ public Builder mergeCodepointRange(com.google.privacy.dlp.v2.Range value) {
       if (codepointRangeBuilder_ == null) {
         if (codepointRange_ != null) {
           codepointRange_ =
-            com.google.privacy.dlp.v2.Range.newBuilder(codepointRange_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.Range.newBuilder(codepointRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           codepointRange_ = value;
         }
@@ -1061,6 +1179,8 @@ public Builder mergeCodepointRange(com.google.privacy.dlp.v2.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1081,6 +1201,8 @@ public Builder clearCodepointRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1090,11 +1212,13 @@ public Builder clearCodepointRange() {
      * .google.privacy.dlp.v2.Range codepoint_range = 2;
      */
     public com.google.privacy.dlp.v2.Range.Builder getCodepointRangeBuilder() {
-      
+
       onChanged();
       return getCodepointRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1107,11 +1231,14 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
       if (codepointRangeBuilder_ != null) {
         return codepointRangeBuilder_.getMessageOrBuilder();
       } else {
-        return codepointRange_ == null ?
-            com.google.privacy.dlp.v2.Range.getDefaultInstance() : codepointRange_;
+        return codepointRange_ == null
+            ? com.google.privacy.dlp.v2.Range.getDefaultInstance()
+            : codepointRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1121,32 +1248,42 @@ public com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder() {
      * .google.privacy.dlp.v2.Range codepoint_range = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder> 
+            com.google.privacy.dlp.v2.Range,
+            com.google.privacy.dlp.v2.Range.Builder,
+            com.google.privacy.dlp.v2.RangeOrBuilder>
         getCodepointRangeFieldBuilder() {
       if (codepointRangeBuilder_ == null) {
-        codepointRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.Range, com.google.privacy.dlp.v2.Range.Builder, com.google.privacy.dlp.v2.RangeOrBuilder>(
-                getCodepointRange(),
-                getParentForChildren(),
-                isClean());
+        codepointRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.Range,
+                com.google.privacy.dlp.v2.Range.Builder,
+                com.google.privacy.dlp.v2.RangeOrBuilder>(
+                getCodepointRange(), getParentForChildren(), isClean());
         codepointRange_ = null;
       }
       return codepointRangeBuilder_;
     }
 
     private java.util.List contentLocations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureContentLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        contentLocations_ = new java.util.ArrayList(contentLocations_);
+        contentLocations_ =
+            new java.util.ArrayList(contentLocations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.ContentLocation, com.google.privacy.dlp.v2.ContentLocation.Builder, com.google.privacy.dlp.v2.ContentLocationOrBuilder> contentLocationsBuilder_;
+            com.google.privacy.dlp.v2.ContentLocation,
+            com.google.privacy.dlp.v2.ContentLocation.Builder,
+            com.google.privacy.dlp.v2.ContentLocationOrBuilder>
+        contentLocationsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1162,6 +1299,8 @@ public java.util.List getContentLocat
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1177,6 +1316,8 @@ public int getContentLocationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1192,6 +1333,8 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1199,8 +1342,7 @@ public com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index)
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public Builder setContentLocations(
-        int index, com.google.privacy.dlp.v2.ContentLocation value) {
+    public Builder setContentLocations(int index, com.google.privacy.dlp.v2.ContentLocation value) {
       if (contentLocationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1214,6 +1356,8 @@ public Builder setContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1233,6 +1377,8 @@ public Builder setContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1254,6 +1400,8 @@ public Builder addContentLocations(com.google.privacy.dlp.v2.ContentLocation val
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1261,8 +1409,7 @@ public Builder addContentLocations(com.google.privacy.dlp.v2.ContentLocation val
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public Builder addContentLocations(
-        int index, com.google.privacy.dlp.v2.ContentLocation value) {
+    public Builder addContentLocations(int index, com.google.privacy.dlp.v2.ContentLocation value) {
       if (contentLocationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1276,6 +1423,8 @@ public Builder addContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1295,6 +1444,8 @@ public Builder addContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1314,6 +1465,8 @@ public Builder addContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1325,8 +1478,7 @@ public Builder addAllContentLocations(
         java.lang.Iterable values) {
       if (contentLocationsBuilder_ == null) {
         ensureContentLocationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, contentLocations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contentLocations_);
         onChanged();
       } else {
         contentLocationsBuilder_.addAllMessages(values);
@@ -1334,6 +1486,8 @@ public Builder addAllContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1352,6 +1506,8 @@ public Builder clearContentLocations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1370,6 +1526,8 @@ public Builder removeContentLocations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1377,11 +1535,12 @@ public Builder removeContentLocations(int index) {
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public com.google.privacy.dlp.v2.ContentLocation.Builder getContentLocationsBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.ContentLocation.Builder getContentLocationsBuilder(int index) {
       return getContentLocationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1392,11 +1551,14 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder getContentLocationsBuil
     public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(
         int index) {
       if (contentLocationsBuilder_ == null) {
-        return contentLocations_.get(index);  } else {
+        return contentLocations_.get(index);
+      } else {
         return contentLocationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1404,8 +1566,8 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public java.util.List 
-         getContentLocationsOrBuilderList() {
+    public java.util.List
+        getContentLocationsOrBuilderList() {
       if (contentLocationsBuilder_ != null) {
         return contentLocationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1413,6 +1575,8 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1421,10 +1585,12 @@ public com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrB
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
     public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuilder() {
-      return getContentLocationsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
+      return getContentLocationsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1432,12 +1598,13 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuilder(
-        int index) {
-      return getContentLocationsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
+    public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuilder(int index) {
+      return getContentLocationsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.ContentLocation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1445,16 +1612,22 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
      *
      * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
      */
-    public java.util.List 
-         getContentLocationsBuilderList() {
+    public java.util.List
+        getContentLocationsBuilderList() {
       return getContentLocationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.ContentLocation, com.google.privacy.dlp.v2.ContentLocation.Builder, com.google.privacy.dlp.v2.ContentLocationOrBuilder> 
+            com.google.privacy.dlp.v2.ContentLocation,
+            com.google.privacy.dlp.v2.ContentLocation.Builder,
+            com.google.privacy.dlp.v2.ContentLocationOrBuilder>
         getContentLocationsFieldBuilder() {
       if (contentLocationsBuilder_ == null) {
-        contentLocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.ContentLocation, com.google.privacy.dlp.v2.ContentLocation.Builder, com.google.privacy.dlp.v2.ContentLocationOrBuilder>(
+        contentLocationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.ContentLocation,
+                com.google.privacy.dlp.v2.ContentLocation.Builder,
+                com.google.privacy.dlp.v2.ContentLocationOrBuilder>(
                 contentLocations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1466,34 +1639,47 @@ public com.google.privacy.dlp.v2.ContentLocation.Builder addContentLocationsBuil
 
     private com.google.privacy.dlp.v2.Container container_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> containerBuilder_;
+            com.google.privacy.dlp.v2.Container,
+            com.google.privacy.dlp.v2.Container.Builder,
+            com.google.privacy.dlp.v2.ContainerOrBuilder>
+        containerBuilder_;
     /**
+     *
+     *
      * 
      * Information about the container where this finding occurred, if available.
      * 
* * .google.privacy.dlp.v2.Container container = 8; + * * @return Whether the container field is set. */ public boolean hasContainer() { return containerBuilder_ != null || container_ != null; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
* * .google.privacy.dlp.v2.Container container = 8; + * * @return The container. */ public com.google.privacy.dlp.v2.Container getContainer() { if (containerBuilder_ == null) { - return container_ == null ? com.google.privacy.dlp.v2.Container.getDefaultInstance() : container_; + return container_ == null + ? com.google.privacy.dlp.v2.Container.getDefaultInstance() + : container_; } else { return containerBuilder_.getMessage(); } } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1514,14 +1700,15 @@ public Builder setContainer(com.google.privacy.dlp.v2.Container value) { return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
* * .google.privacy.dlp.v2.Container container = 8; */ - public Builder setContainer( - com.google.privacy.dlp.v2.Container.Builder builderForValue) { + public Builder setContainer(com.google.privacy.dlp.v2.Container.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); onChanged(); @@ -1532,6 +1719,8 @@ public Builder setContainer( return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1542,7 +1731,9 @@ public Builder mergeContainer(com.google.privacy.dlp.v2.Container value) { if (containerBuilder_ == null) { if (container_ != null) { container_ = - com.google.privacy.dlp.v2.Container.newBuilder(container_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Container.newBuilder(container_) + .mergeFrom(value) + .buildPartial(); } else { container_ = value; } @@ -1554,6 +1745,8 @@ public Builder mergeContainer(com.google.privacy.dlp.v2.Container value) { return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1572,6 +1765,8 @@ public Builder clearContainer() { return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1579,11 +1774,13 @@ public Builder clearContainer() { * .google.privacy.dlp.v2.Container container = 8; */ public com.google.privacy.dlp.v2.Container.Builder getContainerBuilder() { - + onChanged(); return getContainerFieldBuilder().getBuilder(); } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1594,11 +1791,14 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { - return container_ == null ? - com.google.privacy.dlp.v2.Container.getDefaultInstance() : container_; + return container_ == null + ? com.google.privacy.dlp.v2.Container.getDefaultInstance() + : container_; } } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1606,21 +1806,24 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { * .google.privacy.dlp.v2.Container container = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder> + com.google.privacy.dlp.v2.Container, + com.google.privacy.dlp.v2.Container.Builder, + com.google.privacy.dlp.v2.ContainerOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { - containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Container, com.google.privacy.dlp.v2.Container.Builder, com.google.privacy.dlp.v2.ContainerOrBuilder>( - getContainer(), - getParentForChildren(), - isClean()); + containerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Container, + com.google.privacy.dlp.v2.Container.Builder, + com.google.privacy.dlp.v2.ContainerOrBuilder>( + getContainer(), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1630,12 +1833,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Location) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Location) private static final com.google.privacy.dlp.v2.Location DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Location(); } @@ -1644,16 +1847,16 @@ public static com.google.privacy.dlp.v2.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Location(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Location(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1668,6 +1871,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java index baba0c5b..1291b914 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface LocationOrBuilder extends +public interface LocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Location) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -17,10 +35,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return Whether the byteRange field is set. */ boolean hasByteRange(); /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -30,10 +51,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return The byteRange. */ com.google.privacy.dlp.v2.Range getByteRange(); /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -47,6 +71,8 @@ public interface LocationOrBuilder extends
   com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -54,10 +80,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; + * * @return Whether the codepointRange field is set. */ boolean hasCodepointRange(); /** + * + * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -65,10 +94,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.privacy.dlp.v2.Range codepoint_range = 2; + * * @return The codepointRange. */ com.google.privacy.dlp.v2.Range getCodepointRange(); /** + * + * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -80,6 +112,8 @@ public interface LocationOrBuilder extends
   com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -87,9 +121,10 @@ public interface LocationOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
-  java.util.List 
-      getContentLocationsList();
+  java.util.List getContentLocationsList();
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -99,6 +134,8 @@ public interface LocationOrBuilder extends
    */
   com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index);
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -108,6 +145,8 @@ public interface LocationOrBuilder extends
    */
   int getContentLocationsCount();
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -115,9 +154,11 @@ public interface LocationOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
-  java.util.List 
+  java.util.List
       getContentLocationsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -125,28 +166,35 @@ public interface LocationOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
    */
-  com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; + * * @return Whether the container field is set. */ boolean hasContainer(); /** + * + * *
    * Information about the container where this finding occurred, if available.
    * 
* * .google.privacy.dlp.v2.Container container = 8; + * * @return The container. */ com.google.privacy.dlp.v2.Container getContainer(); /** + * + * *
    * Information about the container where this finding occurred, if available.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java index b00f3822..4514a2f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Manual.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Job trigger option for hybrid jobs. Jobs must be manually created
  * and finished.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Manual}
  */
-public final class Manual extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Manual extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Manual)
     ManualOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Manual.newBuilder() to construct.
   private Manual(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Manual() {
-  }
+
+  private Manual() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Manual();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Manual(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,41 @@ private Manual(
           case 0:
             done = true;
             break;
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Manual_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Manual.class, com.google.privacy.dlp.v2.Manual.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -97,8 +115,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     unknownFields.writeTo(output);
   }
 
@@ -116,7 +133,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.privacy.dlp.v2.Manual)) {
       return super.equals(obj);
@@ -139,97 +156,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.Manual parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.Manual parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.Manual parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.privacy.dlp.v2.Manual parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Manual 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.privacy.dlp.v2.Manual parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.Manual parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.Manual prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Job trigger option for hybrid jobs. Jobs must be manually created
    * and finished.
@@ -237,21 +260,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Manual}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Manual)
       com.google.privacy.dlp.v2.ManualOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Manual_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Manual.class, com.google.privacy.dlp.v2.Manual.Builder.class);
+              com.google.privacy.dlp.v2.Manual.class,
+              com.google.privacy.dlp.v2.Manual.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.Manual.newBuilder()
@@ -259,16 +284,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -276,9 +300,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Manual_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Manual_descriptor;
     }
 
     @java.lang.Override
@@ -306,38 +330,39 @@ public com.google.privacy.dlp.v2.Manual buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Manual) {
-        return mergeFrom((com.google.privacy.dlp.v2.Manual)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Manual) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -374,9 +399,9 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -386,12 +411,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Manual)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Manual)
   private static final com.google.privacy.dlp.v2.Manual DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Manual();
   }
@@ -400,16 +425,16 @@ public static com.google.privacy.dlp.v2.Manual getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Manual parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Manual(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Manual parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Manual(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -424,6 +449,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.Manual getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java
new file mode 100644
index 00000000..14d79c0a
--- /dev/null
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ManualOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+public interface ManualOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Manual)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
similarity index 74%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
index 087861e5..90d30b09 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MatchingType.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Type of the match which can be applied to different ways of matching, like
  * Dictionary, regular expression and intersecting with findings of another
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.MatchingType}
  */
-public enum MatchingType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum MatchingType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Invalid.
    * 
@@ -23,6 +41,8 @@ public enum MatchingType */ MATCHING_TYPE_UNSPECIFIED(0), /** + * + * *
    * Full match.
    * - Dictionary: join of Dictionary results matched complete finding quote
@@ -34,6 +54,8 @@ public enum MatchingType
    */
   MATCHING_TYPE_FULL_MATCH(1),
   /**
+   *
+   *
    * 
    * Partial match.
    * - Dictionary: at least one of the tokens in the finding matches
@@ -45,6 +67,8 @@ public enum MatchingType
    */
   MATCHING_TYPE_PARTIAL_MATCH(2),
   /**
+   *
+   *
    * 
    * Inverse match.
    * - Dictionary: no tokens in the finding match the dictionary
@@ -59,6 +83,8 @@ public enum MatchingType
   ;
 
   /**
+   *
+   *
    * 
    * Invalid.
    * 
@@ -67,6 +93,8 @@ public enum MatchingType */ public static final int MATCHING_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Full match.
    * - Dictionary: join of Dictionary results matched complete finding quote
@@ -78,6 +106,8 @@ public enum MatchingType
    */
   public static final int MATCHING_TYPE_FULL_MATCH_VALUE = 1;
   /**
+   *
+   *
    * 
    * Partial match.
    * - Dictionary: at least one of the tokens in the finding matches
@@ -89,6 +119,8 @@ public enum MatchingType
    */
   public static final int MATCHING_TYPE_PARTIAL_MATCH_VALUE = 2;
   /**
+   *
+   *
    * 
    * Inverse match.
    * - Dictionary: no tokens in the finding match the dictionary
@@ -100,7 +132,6 @@ public enum MatchingType
    */
   public static final int MATCHING_TYPE_INVERSE_MATCH_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -125,50 +156,51 @@ public static MatchingType valueOf(int value) {
    */
   public static MatchingType forNumber(int value) {
     switch (value) {
-      case 0: return MATCHING_TYPE_UNSPECIFIED;
-      case 1: return MATCHING_TYPE_FULL_MATCH;
-      case 2: return MATCHING_TYPE_PARTIAL_MATCH;
-      case 3: return MATCHING_TYPE_INVERSE_MATCH;
-      default: return null;
+      case 0:
+        return MATCHING_TYPE_UNSPECIFIED;
+      case 1:
+        return MATCHING_TYPE_FULL_MATCH;
+      case 2:
+        return MATCHING_TYPE_PARTIAL_MATCH;
+      case 3:
+        return MATCHING_TYPE_INVERSE_MATCH;
+      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<
-      MatchingType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public MatchingType findValueByNumber(int number) {
-            return MatchingType.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 MatchingType findValueByNumber(int number) {
+          return MatchingType.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final MatchingType[] VALUES = values();
 
-  public static MatchingType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static MatchingType 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;
@@ -184,4 +216,3 @@ private MatchingType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.MatchingType)
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
index bb785132..5a0bcd18 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Metadata Location
  * 
* * Protobuf type {@code google.privacy.dlp.v2.MetadataLocation} */ -public final class MetadataLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MetadataLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.MetadataLocation) MetadataLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetadataLocation.newBuilder() to construct. private MetadataLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetadataLocation() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetadataLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MetadataLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,66 +70,74 @@ private MetadataLocation( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 26: { - com.google.privacy.dlp.v2.StorageMetadataLabel.Builder subBuilder = null; - if (labelCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.StorageMetadataLabel) label_).toBuilder(); + type_ = rawValue; + break; } - label_ = - input.readMessage(com.google.privacy.dlp.v2.StorageMetadataLabel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) label_); - label_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder subBuilder = null; + if (labelCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.StorageMetadataLabel) label_).toBuilder(); + } + label_ = + input.readMessage( + com.google.privacy.dlp.v2.StorageMetadataLabel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + label_ = subBuilder.buildPartial(); + } + labelCase_ = 3; + break; } - labelCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.MetadataLocation.class, com.google.privacy.dlp.v2.MetadataLocation.Builder.class); + com.google.privacy.dlp.v2.MetadataLocation.class, + com.google.privacy.dlp.v2.MetadataLocation.Builder.class); } private int labelCase_ = 0; private java.lang.Object label_; + public enum LabelCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STORAGE_LABEL(3), LABEL_NOT_SET(0); private final int value; + private LabelCase(int value) { this.value = value; } @@ -128,56 +153,70 @@ public static LabelCase valueOf(int value) { public static LabelCase forNumber(int value) { switch (value) { - case 3: return STORAGE_LABEL; - case 0: return LABEL_NOT_SET; - default: return null; + case 3: + return STORAGE_LABEL; + case 0: + return LABEL_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public LabelCase - getLabelCase() { - return LabelCase.forNumber( - labelCase_); + public LabelCase getLabelCase() { + return LabelCase.forNumber(labelCase_); } public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.privacy.dlp.v2.MetadataType getType() { + @java.lang.Override + public com.google.privacy.dlp.v2.MetadataType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MetadataType result = com.google.privacy.dlp.v2.MetadataType.valueOf(type_); + com.google.privacy.dlp.v2.MetadataType result = + com.google.privacy.dlp.v2.MetadataType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.MetadataType.UNRECOGNIZED : result; } public static final int STORAGE_LABEL_FIELD_NUMBER = 3; /** + * + * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return Whether the storageLabel field is set. */ @java.lang.Override @@ -185,21 +224,26 @@ public boolean hasStorageLabel() { return labelCase_ == 3; } /** + * + * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return The storageLabel. */ @java.lang.Override public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { if (labelCase_ == 3) { - return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; } return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); } /** + * + * *
    * Storage metadata.
    * 
@@ -209,12 +253,13 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { @java.lang.Override public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder() { if (labelCase_ == 3) { - return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; } return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -244,12 +288,12 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (labelCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.StorageMetadataLabel) label_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,19 +303,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.privacy.dlp.v2.MetadataLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.MetadataLocation other = (com.google.privacy.dlp.v2.MetadataLocation) obj; + com.google.privacy.dlp.v2.MetadataLocation other = + (com.google.privacy.dlp.v2.MetadataLocation) obj; if (type_ != other.type_) return false; if (!getLabelCase().equals(other.getLabelCase())) return false; switch (labelCase_) { case 3: - if (!getStorageLabel() - .equals(other.getStorageLabel())) return false; + if (!getStorageLabel().equals(other.getStorageLabel())) return false; break; case 0: default: @@ -302,118 +346,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.MetadataLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata Location
    * 
* * Protobuf type {@code google.privacy.dlp.v2.MetadataLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.MetadataLocation) com.google.privacy.dlp.v2.MetadataLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.MetadataLocation.class, com.google.privacy.dlp.v2.MetadataLocation.Builder.class); + com.google.privacy.dlp.v2.MetadataLocation.class, + com.google.privacy.dlp.v2.MetadataLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.MetadataLocation.newBuilder() @@ -421,16 +474,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; } @java.lang.Override @@ -463,7 +515,8 @@ public com.google.privacy.dlp.v2.MetadataLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.MetadataLocation buildPartial() { - com.google.privacy.dlp.v2.MetadataLocation result = new com.google.privacy.dlp.v2.MetadataLocation(this); + com.google.privacy.dlp.v2.MetadataLocation result = + new com.google.privacy.dlp.v2.MetadataLocation(this); result.type_ = type_; if (labelCase_ == 3) { if (storageLabelBuilder_ == null) { @@ -481,38 +534,39 @@ public com.google.privacy.dlp.v2.MetadataLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.MetadataLocation) { - return mergeFrom((com.google.privacy.dlp.v2.MetadataLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) other); } else { super.mergeFrom(other); return this; @@ -525,13 +579,15 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.MetadataLocation other) { setTypeValue(other.getTypeValue()); } switch (other.getLabelCase()) { - case STORAGE_LABEL: { - mergeStorageLabel(other.getStorageLabel()); - break; - } - case LABEL_NOT_SET: { - break; - } + case STORAGE_LABEL: + { + mergeStorageLabel(other.getStorageLabel()); + break; + } + case LABEL_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -561,12 +617,12 @@ public Builder mergeFrom( } return this; } + private int labelCase_ = 0; private java.lang.Object label_; - public LabelCase - getLabelCase() { - return LabelCase.forNumber( - labelCase_); + + public LabelCase getLabelCase() { + return LabelCase.forNumber(labelCase_); } public Builder clearLabel() { @@ -576,54 +632,67 @@ public Builder clearLabel() { return this; } - private int type_ = 0; /** + * + * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.MetadataType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.MetadataType result = com.google.privacy.dlp.v2.MetadataType.valueOf(type_); + com.google.privacy.dlp.v2.MetadataType result = + com.google.privacy.dlp.v2.MetadataType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.MetadataType.UNRECOGNIZED : result; } /** + * + * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -631,34 +700,43 @@ public Builder setType(com.google.privacy.dlp.v2.MetadataType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of metadata containing the finding.
      * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageMetadataLabel, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> storageLabelBuilder_; + com.google.privacy.dlp.v2.StorageMetadataLabel, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> + storageLabelBuilder_; /** + * + * *
      * Storage metadata.
      * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return Whether the storageLabel field is set. */ @java.lang.Override @@ -666,11 +744,14 @@ public boolean hasStorageLabel() { return labelCase_ == 3; } /** + * + * *
      * Storage metadata.
      * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return The storageLabel. */ @java.lang.Override @@ -688,6 +769,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { } } /** + * + * *
      * Storage metadata.
      * 
@@ -708,6 +791,8 @@ public Builder setStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel va return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -726,6 +811,8 @@ public Builder setStorageLabel( return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -734,10 +821,13 @@ public Builder setStorageLabel( */ public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel value) { if (storageLabelBuilder_ == null) { - if (labelCase_ == 3 && - label_ != com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance()) { - label_ = com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder((com.google.privacy.dlp.v2.StorageMetadataLabel) label_) - .mergeFrom(value).buildPartial(); + if (labelCase_ == 3 + && label_ != com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance()) { + label_ = + com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder( + (com.google.privacy.dlp.v2.StorageMetadataLabel) label_) + .mergeFrom(value) + .buildPartial(); } else { label_ = value; } @@ -752,6 +842,8 @@ public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -775,6 +867,8 @@ public Builder clearStorageLabel() { return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -785,6 +879,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel.Builder getStorageLabelBui return getStorageLabelFieldBuilder().getBuilder(); } /** + * + * *
      * Storage metadata.
      * 
@@ -803,6 +899,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOr } } /** + * + * *
      * Storage metadata.
      * 
@@ -810,26 +908,32 @@ public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOr * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageMetadataLabel, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> + com.google.privacy.dlp.v2.StorageMetadataLabel, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> getStorageLabelFieldBuilder() { if (storageLabelBuilder_ == null) { if (!(labelCase_ == 3)) { label_ = com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); } - storageLabelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageMetadataLabel, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder>( + storageLabelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageMetadataLabel, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder>( (com.google.privacy.dlp.v2.StorageMetadataLabel) label_, getParentForChildren(), isClean()); label_ = null; } labelCase_ = 3; - onChanged();; + onChanged(); + ; return storageLabelBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,12 +943,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.MetadataLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.MetadataLocation) private static final com.google.privacy.dlp.v2.MetadataLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.MetadataLocation(); } @@ -853,16 +957,16 @@ public static com.google.privacy.dlp.v2.MetadataLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetadataLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetadataLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetadataLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetadataLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -877,6 +981,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.MetadataLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java index 19acf67d..d1605fee 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java @@ -1,50 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface MetadataLocationOrBuilder extends +public interface MetadataLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.MetadataLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of metadata containing the finding.
    * 
* * .google.privacy.dlp.v2.MetadataType type = 1; + * * @return The type. */ com.google.privacy.dlp.v2.MetadataType getType(); /** + * + * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return Whether the storageLabel field is set. */ boolean hasStorageLabel(); /** + * + * *
    * Storage metadata.
    * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return The storageLabel. */ com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel(); /** + * + * *
    * Storage metadata.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java index 6f6f7184..ec7c0ce6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Type of metadata containing the finding.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.MetadataType} */ -public enum MetadataType - implements com.google.protobuf.ProtocolMessageEnum { +public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unused
    * 
@@ -21,6 +39,8 @@ public enum MetadataType */ METADATATYPE_UNSPECIFIED(0), /** + * + * *
    * General file metadata provided by Cloud Storage.
    * 
@@ -32,6 +52,8 @@ public enum MetadataType ; /** + * + * *
    * Unused
    * 
@@ -40,6 +62,8 @@ public enum MetadataType */ public static final int METADATATYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * General file metadata provided by Cloud Storage.
    * 
@@ -48,7 +72,6 @@ public enum MetadataType */ public static final int STORAGE_METADATA_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -73,48 +96,47 @@ public static MetadataType valueOf(int value) { */ public static MetadataType forNumber(int value) { switch (value) { - case 0: return METADATATYPE_UNSPECIFIED; - case 2: return STORAGE_METADATA; - default: return null; + case 0: + return METADATATYPE_UNSPECIFIED; + case 2: + return STORAGE_METADATA; + 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< - MetadataType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetadataType findValueByNumber(int number) { - return MetadataType.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 MetadataType findValueByNumber(int number) { + return MetadataType.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(3); } private static final MetadataType[] VALUES = values(); - public static MetadataType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetadataType 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; @@ -130,4 +152,3 @@ private MetadataType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.MetadataType) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationLocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OrganizationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java index 5b37c495..50c572ce 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfig.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Cloud repository for storing output.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.OutputStorageConfig} */ -public final class OutputStorageConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OutputStorageConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.OutputStorageConfig) OutputStorageConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OutputStorageConfig.newBuilder() to construct. private OutputStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OutputStorageConfig() { outputSchema_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OutputStorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OutputStorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,59 +70,66 @@ private OutputStorageConfig( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.BigQueryTable) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryTable) type_); - type_ = subBuilder.buildPartial(); + case 10: + { + com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.BigQueryTable) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryTable) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; } - typeCase_ = 1; - break; - } - case 24: { - int rawValue = input.readEnum(); + case 24: + { + int rawValue = input.readEnum(); - outputSchema_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + outputSchema_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OutputStorageConfig.class, com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); + com.google.privacy.dlp.v2.OutputStorageConfig.class, + com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); } /** + * + * *
    * Predefined schemas for storing findings.
    * Only for use with external storage.
@@ -113,9 +137,10 @@ private OutputStorageConfig(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.OutputStorageConfig.OutputSchema}
    */
-  public enum OutputSchema
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -124,6 +149,8 @@ public enum OutputSchema */ OUTPUT_SCHEMA_UNSPECIFIED(0), /** + * + * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -133,6 +160,8 @@ public enum OutputSchema
      */
     BASIC_COLUMNS(1),
     /**
+     *
+     *
      * 
      * Schema tailored to findings from scanning Google Cloud Storage.
      * 
@@ -141,6 +170,8 @@ public enum OutputSchema */ GCS_COLUMNS(2), /** + * + * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -149,6 +180,8 @@ public enum OutputSchema */ DATASTORE_COLUMNS(3), /** + * + * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -157,6 +190,8 @@ public enum OutputSchema */ BIG_QUERY_COLUMNS(4), /** + * + * *
      * Schema containing all columns.
      * 
@@ -168,6 +203,8 @@ public enum OutputSchema ; /** + * + * *
      * Unused.
      * 
@@ -176,6 +213,8 @@ public enum OutputSchema */ public static final int OUTPUT_SCHEMA_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -185,6 +224,8 @@ public enum OutputSchema
      */
     public static final int BASIC_COLUMNS_VALUE = 1;
     /**
+     *
+     *
      * 
      * Schema tailored to findings from scanning Google Cloud Storage.
      * 
@@ -193,6 +234,8 @@ public enum OutputSchema */ public static final int GCS_COLUMNS_VALUE = 2; /** + * + * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -201,6 +244,8 @@ public enum OutputSchema */ public static final int DATASTORE_COLUMNS_VALUE = 3; /** + * + * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -209,6 +254,8 @@ public enum OutputSchema */ public static final int BIG_QUERY_COLUMNS_VALUE = 4; /** + * + * *
      * Schema containing all columns.
      * 
@@ -217,7 +264,6 @@ public enum OutputSchema */ public static final int ALL_COLUMNS_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -242,52 +288,55 @@ public static OutputSchema valueOf(int value) { */ public static OutputSchema forNumber(int value) { switch (value) { - case 0: return OUTPUT_SCHEMA_UNSPECIFIED; - case 1: return BASIC_COLUMNS; - case 2: return GCS_COLUMNS; - case 3: return DATASTORE_COLUMNS; - case 4: return BIG_QUERY_COLUMNS; - case 5: return ALL_COLUMNS; - default: return null; + case 0: + return OUTPUT_SCHEMA_UNSPECIFIED; + case 1: + return BASIC_COLUMNS; + case 2: + return GCS_COLUMNS; + case 3: + return DATASTORE_COLUMNS; + case 4: + return BIG_QUERY_COLUMNS; + case 5: + return ALL_COLUMNS; + 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< - OutputSchema> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OutputSchema findValueByNumber(int number) { - return OutputSchema.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 OutputSchema findValueByNumber(int number) { + return OutputSchema.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.privacy.dlp.v2.OutputStorageConfig.getDescriptor().getEnumTypes().get(0); } private static final OutputSchema[] VALUES = values(); - public static OutputSchema valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static OutputSchema 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; @@ -306,12 +355,15 @@ private OutputSchema(int value) { private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TABLE(1), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -327,24 +379,28 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: return TABLE; - case 0: return TYPE_NOT_SET; - default: return null; + case 1: + return TABLE; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int TABLE_FIELD_NUMBER = 1; /** + * + * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -361,6 +417,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -368,6 +425,8 @@ public boolean hasTable() { return typeCase_ == 1; } /** + * + * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -384,16 +443,19 @@ public boolean hasTable() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.BigQueryTable) type_; + return (com.google.privacy.dlp.v2.BigQueryTable) type_; } return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance(); } /** + * + * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -414,7 +476,7 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
     if (typeCase_ == 1) {
-       return (com.google.privacy.dlp.v2.BigQueryTable) type_;
+      return (com.google.privacy.dlp.v2.BigQueryTable) type_;
     }
     return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance();
   }
@@ -422,6 +484,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
   public static final int OUTPUT_SCHEMA_FIELD_NUMBER = 3;
   private int outputSchema_;
   /**
+   *
+   *
    * 
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -435,12 +499,16 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return The enum numeric value on the wire for outputSchema. */ - @java.lang.Override public int getOutputSchemaValue() { + @java.lang.Override + public int getOutputSchemaValue() { return outputSchema_; } /** + * + * *
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -454,15 +522,21 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return The outputSchema. */ - @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() { + @java.lang.Override + public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); - return result == null ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); + return result == null + ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,12 +548,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.BigQueryTable) type_); } - if (outputSchema_ != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED.getNumber()) { + if (outputSchema_ + != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED + .getNumber()) { output.writeEnum(3, outputSchema_); } unknownFields.writeTo(output); @@ -492,12 +567,14 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.BigQueryTable) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.BigQueryTable) type_); } - if (outputSchema_ != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, outputSchema_); + if (outputSchema_ + != com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.OUTPUT_SCHEMA_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, outputSchema_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -507,19 +584,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.privacy.dlp.v2.OutputStorageConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.OutputStorageConfig other = (com.google.privacy.dlp.v2.OutputStorageConfig) obj; + com.google.privacy.dlp.v2.OutputStorageConfig other = + (com.google.privacy.dlp.v2.OutputStorageConfig) obj; if (outputSchema_ != other.outputSchema_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; break; case 0: default: @@ -550,118 +627,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.OutputStorageConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.OutputStorageConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.OutputStorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.OutputStorageConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Cloud repository for storing output.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.OutputStorageConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.OutputStorageConfig) com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OutputStorageConfig.class, com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); + com.google.privacy.dlp.v2.OutputStorageConfig.class, + com.google.privacy.dlp.v2.OutputStorageConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder() @@ -669,16 +755,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -690,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor; } @java.lang.Override @@ -711,7 +796,8 @@ public com.google.privacy.dlp.v2.OutputStorageConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig buildPartial() { - com.google.privacy.dlp.v2.OutputStorageConfig result = new com.google.privacy.dlp.v2.OutputStorageConfig(this); + com.google.privacy.dlp.v2.OutputStorageConfig result = + new com.google.privacy.dlp.v2.OutputStorageConfig(this); if (typeCase_ == 1) { if (tableBuilder_ == null) { result.type_ = type_; @@ -729,38 +815,39 @@ public com.google.privacy.dlp.v2.OutputStorageConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.OutputStorageConfig) { - return mergeFrom((com.google.privacy.dlp.v2.OutputStorageConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.OutputStorageConfig) other); } else { super.mergeFrom(other); return this; @@ -773,13 +860,15 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.OutputStorageConfig other) { setOutputSchemaValue(other.getOutputSchemaValue()); } switch (other.getTypeCase()) { - case TABLE: { - mergeTable(other.getTable()); - break; - } - case TYPE_NOT_SET: { - break; - } + case TABLE: + { + mergeTable(other.getTable()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -809,12 +898,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -824,10 +913,14 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + tableBuilder_; /** + * + * *
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -844,6 +937,7 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -851,6 +945,8 @@ public boolean hasTable() { return typeCase_ == 1; } /** + * + * *
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -867,6 +963,7 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ @java.lang.Override @@ -884,6 +981,8 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { } } /** + * + * *
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -915,6 +1014,8 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -932,8 +1033,7 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) {
      *
      * .google.privacy.dlp.v2.BigQueryTable table = 1;
      */
-    public Builder setTable(
-        com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) {
+    public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) {
       if (tableBuilder_ == null) {
         type_ = builderForValue.build();
         onChanged();
@@ -944,6 +1044,8 @@ public Builder setTable(
       return this;
     }
     /**
+     *
+     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -963,10 +1065,13 @@ public Builder setTable(
      */
     public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       if (tableBuilder_ == null) {
-        if (typeCase_ == 1 &&
-            type_ != com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()) {
-          type_ = com.google.privacy.dlp.v2.BigQueryTable.newBuilder((com.google.privacy.dlp.v2.BigQueryTable) type_)
-              .mergeFrom(value).buildPartial();
+        if (typeCase_ == 1
+            && type_ != com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()) {
+          type_ =
+              com.google.privacy.dlp.v2.BigQueryTable.newBuilder(
+                      (com.google.privacy.dlp.v2.BigQueryTable) type_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           type_ = value;
         }
@@ -981,6 +1086,8 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1015,6 +1122,8 @@ public Builder clearTable() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1036,6 +1145,8 @@ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() {
       return getTableFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1065,6 +1176,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Store findings in an existing table or a new table in an existing
      * dataset. If table_id is not set a new one will be generated
@@ -1083,26 +1196,32 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
      * .google.privacy.dlp.v2.BigQueryTable table = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> 
+            com.google.privacy.dlp.v2.BigQueryTable,
+            com.google.privacy.dlp.v2.BigQueryTable.Builder,
+            com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
         getTableFieldBuilder() {
       if (tableBuilder_ == null) {
         if (!(typeCase_ == 1)) {
           type_ = com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance();
         }
-        tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
-                (com.google.privacy.dlp.v2.BigQueryTable) type_,
-                getParentForChildren(),
-                isClean());
+        tableBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.BigQueryTable,
+                com.google.privacy.dlp.v2.BigQueryTable.Builder,
+                com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
+                (com.google.privacy.dlp.v2.BigQueryTable) type_, getParentForChildren(), isClean());
         type_ = null;
       }
       typeCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return tableBuilder_;
     }
 
     private int outputSchema_ = 0;
     /**
+     *
+     *
      * 
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1116,12 +1235,16 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return The enum numeric value on the wire for outputSchema. */ - @java.lang.Override public int getOutputSchemaValue() { + @java.lang.Override + public int getOutputSchemaValue() { return outputSchema_; } /** + * + * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1135,16 +1258,19 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @param value The enum numeric value on the wire for outputSchema to set. * @return This builder for chaining. */ public Builder setOutputSchemaValue(int value) { - + outputSchema_ = value; onChanged(); return this; } /** + * + * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1158,15 +1284,21 @@ public Builder setOutputSchemaValue(int value) {
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return The outputSchema. */ @java.lang.Override public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); - return result == null ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema result = + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.valueOf(outputSchema_); + return result == null + ? com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema.UNRECOGNIZED + : result; } /** + * + * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1180,19 +1312,23 @@ public com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchem
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @param value The outputSchema to set. * @return This builder for chaining. */ - public Builder setOutputSchema(com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema value) { + public Builder setOutputSchema( + com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema value) { if (value == null) { throw new NullPointerException(); } - + outputSchema_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Schema used for writing the findings for Inspect jobs. This field is only
      * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -1206,17 +1342,18 @@ public Builder setOutputSchema(com.google.privacy.dlp.v2.OutputStorageConfig.Out
      * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return This builder for chaining. */ public Builder clearOutputSchema() { - + outputSchema_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1226,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.OutputStorageConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.OutputStorageConfig) private static final com.google.privacy.dlp.v2.OutputStorageConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.OutputStorageConfig(); } @@ -1240,16 +1377,16 @@ public static com.google.privacy.dlp.v2.OutputStorageConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputStorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputStorageConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputStorageConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1264,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.OutputStorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java similarity index 87% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java index 69715679..d949dab4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OutputStorageConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface OutputStorageConfigOrBuilder extends +public interface OutputStorageConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.OutputStorageConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -24,10 +42,13 @@ public interface OutputStorageConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -44,10 +65,13 @@ public interface OutputStorageConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** + * + * *
    * Store findings in an existing table or a new table in an existing
    * dataset. If table_id is not set a new one will be generated
@@ -68,6 +92,8 @@ public interface OutputStorageConfigOrBuilder extends
   com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder();
 
   /**
+   *
+   *
    * 
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -81,10 +107,13 @@ public interface OutputStorageConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return The enum numeric value on the wire for outputSchema. */ int getOutputSchemaValue(); /** + * + * *
    * Schema used for writing the findings for Inspect jobs. This field is only
    * used for Inspect and must be unspecified for Risk jobs. Columns are derived
@@ -98,6 +127,7 @@ public interface OutputStorageConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3; + * * @return The outputSchema. */ com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java index e7c6013d..59d0d0f9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionId.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Datastore partition ID.
  * A partition ID identifies a grouping of entities. The grouping is always
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.PartitionId}
  */
-public final class PartitionId extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartitionId extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PartitionId)
     PartitionIdOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartitionId.newBuilder() to construct.
   private PartitionId(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PartitionId() {
     projectId_ = "";
     namespaceId_ = "";
@@ -30,16 +48,15 @@ private PartitionId() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionId();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PartitionId(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,58 +75,65 @@ private PartitionId(
           case 0:
             done = true;
             break;
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            projectId_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              projectId_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            namespaceId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              namespaceId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.PartitionId.class, com.google.privacy.dlp.v2.PartitionId.Builder.class);
+            com.google.privacy.dlp.v2.PartitionId.class,
+            com.google.privacy.dlp.v2.PartitionId.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 2;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The projectId. */ @java.lang.Override @@ -118,29 +142,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -151,11 +175,14 @@ public java.lang.String getProjectId() { public static final int NAMESPACE_ID_FIELD_NUMBER = 4; private volatile java.lang.Object namespaceId_; /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The namespaceId. */ @java.lang.Override @@ -164,29 +191,29 @@ public java.lang.String getNamespaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; } } /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The bytes for namespaceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNamespaceIdBytes() { + public com.google.protobuf.ByteString getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -195,6 +222,7 @@ public java.lang.String getNamespaceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +234,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_); } @@ -237,17 +264,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.privacy.dlp.v2.PartitionId)) { return super.equals(obj); } com.google.privacy.dlp.v2.PartitionId other = (com.google.privacy.dlp.v2.PartitionId) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getNamespaceId() - .equals(other.getNamespaceId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getNamespaceId().equals(other.getNamespaceId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,97 +293,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.PartitionId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PartitionId parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.PartitionId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.PartitionId 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.privacy.dlp.v2.PartitionId parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PartitionId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.PartitionId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Datastore partition ID.
    * A partition ID identifies a grouping of entities. The grouping is always
@@ -369,21 +400,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.PartitionId}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PartitionId)
       com.google.privacy.dlp.v2.PartitionIdOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_PartitionId_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PartitionId.class, com.google.privacy.dlp.v2.PartitionId.Builder.class);
+              com.google.privacy.dlp.v2.PartitionId.class,
+              com.google.privacy.dlp.v2.PartitionId.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.PartitionId.newBuilder()
@@ -391,16 +424,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,9 +444,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_PartitionId_descriptor;
     }
 
     @java.lang.Override
@@ -433,7 +465,8 @@ public com.google.privacy.dlp.v2.PartitionId build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.PartitionId buildPartial() {
-      com.google.privacy.dlp.v2.PartitionId result = new com.google.privacy.dlp.v2.PartitionId(this);
+      com.google.privacy.dlp.v2.PartitionId result =
+          new com.google.privacy.dlp.v2.PartitionId(this);
       result.projectId_ = projectId_;
       result.namespaceId_ = namespaceId_;
       onBuilt();
@@ -444,38 +477,39 @@ public com.google.privacy.dlp.v2.PartitionId buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.PartitionId) {
-        return mergeFrom((com.google.privacy.dlp.v2.PartitionId)other);
+        return mergeFrom((com.google.privacy.dlp.v2.PartitionId) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -523,18 +557,20 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -543,20 +579,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -564,54 +601,61 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -619,18 +663,20 @@ public Builder setProjectIdBytes( private java.lang.Object namespaceId_ = ""; /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @return The namespaceId. */ public java.lang.String getNamespaceId() { java.lang.Object ref = namespaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; @@ -639,20 +685,21 @@ public java.lang.String getNamespaceId() { } } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @return The bytes for namespaceId. */ - public com.google.protobuf.ByteString - getNamespaceIdBytes() { + public com.google.protobuf.ByteString getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -660,61 +707,68 @@ public java.lang.String getNamespaceId() { } } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @param value The namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceId( - java.lang.String value) { + public Builder setNamespaceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + namespaceId_ = value; onChanged(); return this; } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @return This builder for chaining. */ public Builder clearNamespaceId() { - + namespaceId_ = getDefaultInstance().getNamespaceId(); onChanged(); return this; } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @param value The bytes for namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + namespaceId_ = 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); } @@ -724,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PartitionId) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PartitionId) private static final com.google.privacy.dlp.v2.PartitionId DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PartitionId(); } @@ -738,16 +792,16 @@ public static com.google.privacy.dlp.v2.PartitionId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionId(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionId(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -762,6 +816,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PartitionId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java index f386a5d7..9fd8b3e3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PartitionIdOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface PartitionIdOrBuilder extends +public interface PartitionIdOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PartitionId) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The namespaceId. */ java.lang.String getNamespaceId(); /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The bytes for namespaceId. */ - com.google.protobuf.ByteString - getNamespaceIdBytes(); + com.google.protobuf.ByteString getNamespaceIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java index c2c45528..a21d6a3e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A rule for transforming a value.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.PrimitiveTransformation} */ -public final class PrimitiveTransformation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrimitiveTransformation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrimitiveTransformation) PrimitiveTransformationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrimitiveTransformation.newBuilder() to construct. private PrimitiveTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrimitiveTransformation() { - } + + private PrimitiveTransformation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrimitiveTransformation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PrimitiveTransformation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,210 +68,266 @@ private PrimitiveTransformation( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.ReplaceValueConfig.Builder subBuilder = null; - if (transformationCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.ReplaceValueConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 1; - break; - } - case 18: { - com.google.privacy.dlp.v2.RedactConfig.Builder subBuilder = null; - if (transformationCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.RedactConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.RedactConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.RedactConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 2; - break; - } - case 26: { - com.google.privacy.dlp.v2.CharacterMaskConfig.Builder subBuilder = null; - if (transformationCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.CharacterMaskConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + case 10: + { + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder subBuilder = null; + if (transformationCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.ReplaceValueConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 1; + break; } - transformationCase_ = 3; - break; - } - case 34: { - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder subBuilder = null; - if (transformationCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_).toBuilder(); + case 18: + { + com.google.privacy.dlp.v2.RedactConfig.Builder subBuilder = null; + if (transformationCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.RedactConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.RedactConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.RedactConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 2; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.CharacterMaskConfig.Builder subBuilder = null; + if (transformationCase_ == 3) { + subBuilder = + ((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.CharacterMaskConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 3; + break; } - transformationCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder subBuilder = null; - if (transformationCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_).toBuilder(); + case 34: + { + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder subBuilder = null; + if (transformationCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 4; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.FixedSizeBucketingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + case 42: + { + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder subBuilder = null; + if (transformationCase_ == 5) { + subBuilder = + ((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 5; + break; } - transformationCase_ = 5; - break; - } - case 50: { - com.google.privacy.dlp.v2.BucketingConfig.Builder subBuilder = null; - if (transformationCase_ == 6) { - subBuilder = ((com.google.privacy.dlp.v2.BucketingConfig) transformation_).toBuilder(); + case 50: + { + com.google.privacy.dlp.v2.BucketingConfig.Builder subBuilder = null; + if (transformationCase_ == 6) { + subBuilder = + ((com.google.privacy.dlp.v2.BucketingConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.BucketingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BucketingConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 6; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.BucketingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BucketingConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + case 58: + { + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder subBuilder = null; + if (transformationCase_ == 7) { + subBuilder = + ((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 7; + break; } - transformationCase_ = 6; - break; - } - case 58: { - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder subBuilder = null; - if (transformationCase_ == 7) { - subBuilder = ((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_).toBuilder(); + case 66: + { + com.google.privacy.dlp.v2.TimePartConfig.Builder subBuilder = null; + if (transformationCase_ == 8) { + subBuilder = + ((com.google.privacy.dlp.v2.TimePartConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.TimePartConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.TimePartConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 8; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + case 74: + { + com.google.privacy.dlp.v2.CryptoHashConfig.Builder subBuilder = null; + if (transformationCase_ == 9) { + subBuilder = + ((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.CryptoHashConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 9; + break; } - transformationCase_ = 7; - break; - } - case 66: { - com.google.privacy.dlp.v2.TimePartConfig.Builder subBuilder = null; - if (transformationCase_ == 8) { - subBuilder = ((com.google.privacy.dlp.v2.TimePartConfig) transformation_).toBuilder(); + case 90: + { + com.google.privacy.dlp.v2.DateShiftConfig.Builder subBuilder = null; + if (transformationCase_ == 11) { + subBuilder = + ((com.google.privacy.dlp.v2.DateShiftConfig) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.DateShiftConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 11; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.TimePartConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.TimePartConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + case 98: + { + com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder subBuilder = null; + if (transformationCase_ == 12) { + subBuilder = + ((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.CryptoDeterministicConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 12; + break; } - transformationCase_ = 8; - break; - } - case 74: { - com.google.privacy.dlp.v2.CryptoHashConfig.Builder subBuilder = null; - if (transformationCase_ == 9) { - subBuilder = ((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_).toBuilder(); + case 106: + { + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder subBuilder = null; + if (transformationCase_ == 13) { + subBuilder = + ((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 13; + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.CryptoHashConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); - transformation_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - transformationCase_ = 9; - break; - } - case 90: { - com.google.privacy.dlp.v2.DateShiftConfig.Builder subBuilder = null; - if (transformationCase_ == 11) { - subBuilder = ((com.google.privacy.dlp.v2.DateShiftConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.DateShiftConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateShiftConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 11; - break; - } - case 98: { - com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder subBuilder = null; - if (transformationCase_ == 12) { - subBuilder = ((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.CryptoDeterministicConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 12; - break; - } - case 106: { - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder subBuilder = null; - if (transformationCase_ == 13) { - subBuilder = ((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_).toBuilder(); - } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.ReplaceDictionaryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); - transformation_ = subBuilder.buildPartial(); - } - transformationCase_ = 13; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrimitiveTransformation.class, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); + com.google.privacy.dlp.v2.PrimitiveTransformation.class, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); } private int transformationCase_ = 0; private java.lang.Object transformation_; + public enum TransformationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REPLACE_CONFIG(1), REDACT_CONFIG(2), @@ -271,6 +343,7 @@ public enum TransformationCase REPLACE_DICTIONARY_CONFIG(13), TRANSFORMATION_NOT_SET(0); private final int value; + private TransformationCase(int value) { this.value = value; } @@ -286,40 +359,56 @@ public static TransformationCase valueOf(int value) { public static TransformationCase forNumber(int value) { switch (value) { - case 1: return REPLACE_CONFIG; - case 2: return REDACT_CONFIG; - case 3: return CHARACTER_MASK_CONFIG; - case 4: return CRYPTO_REPLACE_FFX_FPE_CONFIG; - case 5: return FIXED_SIZE_BUCKETING_CONFIG; - case 6: return BUCKETING_CONFIG; - case 7: return REPLACE_WITH_INFO_TYPE_CONFIG; - case 8: return TIME_PART_CONFIG; - case 9: return CRYPTO_HASH_CONFIG; - case 11: return DATE_SHIFT_CONFIG; - case 12: return CRYPTO_DETERMINISTIC_CONFIG; - case 13: return REPLACE_DICTIONARY_CONFIG; - case 0: return TRANSFORMATION_NOT_SET; - default: return null; + case 1: + return REPLACE_CONFIG; + case 2: + return REDACT_CONFIG; + case 3: + return CHARACTER_MASK_CONFIG; + case 4: + return CRYPTO_REPLACE_FFX_FPE_CONFIG; + case 5: + return FIXED_SIZE_BUCKETING_CONFIG; + case 6: + return BUCKETING_CONFIG; + case 7: + return REPLACE_WITH_INFO_TYPE_CONFIG; + case 8: + return TIME_PART_CONFIG; + case 9: + return CRYPTO_HASH_CONFIG; + case 11: + return DATE_SHIFT_CONFIG; + case 12: + return CRYPTO_DETERMINISTIC_CONFIG; + case 13: + return REPLACE_DICTIONARY_CONFIG; + case 0: + return TRANSFORMATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TransformationCase - getTransformationCase() { - return TransformationCase.forNumber( - transformationCase_); + public TransformationCase getTransformationCase() { + return TransformationCase.forNumber(transformationCase_); } public static final int REPLACE_CONFIG_FIELD_NUMBER = 1; /** + * + * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; + * * @return Whether the replaceConfig field is set. */ @java.lang.Override @@ -327,21 +416,26 @@ public boolean hasReplaceConfig() { return transformationCase_ == 1; } /** + * + * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; + * * @return The replaceConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { if (transformationCase_ == 1) { - return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance(); } /** + * + * *
    * Replace with a specified value.
    * 
@@ -351,18 +445,21 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder() { if (transformationCase_ == 1) { - return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance(); } public static final int REDACT_CONFIG_FIELD_NUMBER = 2; /** + * + * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return Whether the redactConfig field is set. */ @java.lang.Override @@ -370,21 +467,26 @@ public boolean hasRedactConfig() { return transformationCase_ == 2; } /** + * + * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return The redactConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { if (transformationCase_ == 2) { - return (com.google.privacy.dlp.v2.RedactConfig) transformation_; + return (com.google.privacy.dlp.v2.RedactConfig) transformation_; } return com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance(); } /** + * + * *
    * Redact
    * 
@@ -394,18 +496,21 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { @java.lang.Override public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder() { if (transformationCase_ == 2) { - return (com.google.privacy.dlp.v2.RedactConfig) transformation_; + return (com.google.privacy.dlp.v2.RedactConfig) transformation_; } return com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance(); } public static final int CHARACTER_MASK_CONFIG_FIELD_NUMBER = 3; /** + * + * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return Whether the characterMaskConfig field is set. */ @java.lang.Override @@ -413,21 +518,26 @@ public boolean hasCharacterMaskConfig() { return transformationCase_ == 3; } /** + * + * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return The characterMaskConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { if (transformationCase_ == 3) { - return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; + return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; } return com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance(); } /** + * + * *
    * Mask
    * 
@@ -437,18 +547,22 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { @java.lang.Override public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder() { if (transformationCase_ == 3) { - return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; + return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_; } return com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance(); } public static final int CRYPTO_REPLACE_FFX_FPE_CONFIG_FIELD_NUMBER = 4; /** + * + * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * + * * @return Whether the cryptoReplaceFfxFpeConfig field is set. */ @java.lang.Override @@ -456,42 +570,53 @@ public boolean hasCryptoReplaceFfxFpeConfig() { return transformationCase_ == 4; } /** + * + * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * + * * @return The cryptoReplaceFfxFpeConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); } /** + * + * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder + getCryptoReplaceFfxFpeConfigOrBuilder() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); } public static final int FIXED_SIZE_BUCKETING_CONFIG_FIELD_NUMBER = 5; /** + * + * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; + * * @return Whether the fixedSizeBucketingConfig field is set. */ @java.lang.Override @@ -499,21 +624,26 @@ public boolean hasFixedSizeBucketingConfig() { return transformationCase_ == 5; } /** + * + * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; + * * @return The fixedSizeBucketingConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig() { if (transformationCase_ == 5) { - return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; } return com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance(); } /** + * + * *
    * Fixed size bucketing
    * 
@@ -521,20 +651,24 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder() { + public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder + getFixedSizeBucketingConfigOrBuilder() { if (transformationCase_ == 5) { - return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_; } return com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance(); } public static final int BUCKETING_CONFIG_FIELD_NUMBER = 6; /** + * + * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return Whether the bucketingConfig field is set. */ @java.lang.Override @@ -542,21 +676,26 @@ public boolean hasBucketingConfig() { return transformationCase_ == 6; } /** + * + * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return The bucketingConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { if (transformationCase_ == 6) { - return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; } return com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance(); } /** + * + * *
    * Bucketing
    * 
@@ -566,18 +705,22 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { @java.lang.Override public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder() { if (transformationCase_ == 6) { - return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; + return (com.google.privacy.dlp.v2.BucketingConfig) transformation_; } return com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance(); } public static final int REPLACE_WITH_INFO_TYPE_CONFIG_FIELD_NUMBER = 7; /** + * + * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * + * * @return Whether the replaceWithInfoTypeConfig field is set. */ @java.lang.Override @@ -585,42 +728,53 @@ public boolean hasReplaceWithInfoTypeConfig() { return transformationCase_ == 7; } /** + * + * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * + * * @return The replaceWithInfoTypeConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig() { if (transformationCase_ == 7) { - return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); } /** + * + * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder + getReplaceWithInfoTypeConfigOrBuilder() { if (transformationCase_ == 7) { - return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); } public static final int TIME_PART_CONFIG_FIELD_NUMBER = 8; /** + * + * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return Whether the timePartConfig field is set. */ @java.lang.Override @@ -628,21 +782,26 @@ public boolean hasTimePartConfig() { return transformationCase_ == 8; } /** + * + * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return The timePartConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { if (transformationCase_ == 8) { - return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; + return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; } return com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance(); } /** + * + * *
    * Time extraction
    * 
@@ -652,18 +811,21 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder() { if (transformationCase_ == 8) { - return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; + return (com.google.privacy.dlp.v2.TimePartConfig) transformation_; } return com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance(); } public static final int CRYPTO_HASH_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return Whether the cryptoHashConfig field is set. */ @java.lang.Override @@ -671,21 +833,26 @@ public boolean hasCryptoHashConfig() { return transformationCase_ == 9; } /** + * + * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return The cryptoHashConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { if (transformationCase_ == 9) { - return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance(); } /** + * + * *
    * Crypto
    * 
@@ -695,18 +862,21 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { @java.lang.Override public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder() { if (transformationCase_ == 9) { - return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance(); } public static final int DATE_SHIFT_CONFIG_FIELD_NUMBER = 11; /** + * + * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return Whether the dateShiftConfig field is set. */ @java.lang.Override @@ -714,21 +884,26 @@ public boolean hasDateShiftConfig() { return transformationCase_ == 11; } /** + * + * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return The dateShiftConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { if (transformationCase_ == 11) { - return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; + return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; } return com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance(); } /** + * + * *
    * Date Shift
    * 
@@ -738,18 +913,21 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { @java.lang.Override public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder() { if (transformationCase_ == 11) { - return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; + return (com.google.privacy.dlp.v2.DateShiftConfig) transformation_; } return com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance(); } public static final int CRYPTO_DETERMINISTIC_CONFIG_FIELD_NUMBER = 12; /** + * + * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * * @return Whether the cryptoDeterministicConfig field is set. */ @java.lang.Override @@ -757,21 +935,26 @@ public boolean hasCryptoDeterministicConfig() { return transformationCase_ == 12; } /** + * + * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * * @return The cryptoDeterministicConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig() { if (transformationCase_ == 12) { - return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); } /** + * + * *
    * Deterministic Crypto
    * 
@@ -779,20 +962,24 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministi * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder + getCryptoDeterministicConfigOrBuilder() { if (transformationCase_ == 12) { - return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; + return (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_; } return com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); } public static final int REPLACE_DICTIONARY_CONFIG_FIELD_NUMBER = 13; /** + * + * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * * @return Whether the replaceDictionaryConfig field is set. */ @java.lang.Override @@ -800,21 +987,26 @@ public boolean hasReplaceDictionaryConfig() { return transformationCase_ == 13; } /** + * + * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * * @return The replaceDictionaryConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig() { if (transformationCase_ == 13) { - return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); } /** + * + * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
@@ -822,14 +1014,16 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryCon * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder + getReplaceDictionaryConfigOrBuilder() { if (transformationCase_ == 13) { - return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -841,8 +1035,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transformationCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); } @@ -874,7 +1067,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(11, (com.google.privacy.dlp.v2.DateShiftConfig) transformation_); } if (transformationCase_ == 12) { - output.writeMessage(12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); + output.writeMessage( + 12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); } if (transformationCase_ == 13) { output.writeMessage(13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); @@ -889,52 +1083,64 @@ public int getSerializedSize() { size = 0; if (transformationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_); } if (transformationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.RedactConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.RedactConfig) transformation_); } if (transformationCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_); } if (transformationCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_); } if (transformationCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_); } if (transformationCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.privacy.dlp.v2.BucketingConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.privacy.dlp.v2.BucketingConfig) transformation_); } if (transformationCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_); } if (transformationCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.privacy.dlp.v2.TimePartConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.privacy.dlp.v2.TimePartConfig) transformation_); } if (transformationCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_); } if (transformationCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.privacy.dlp.v2.DateShiftConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.privacy.dlp.v2.DateShiftConfig) transformation_); } if (transformationCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); } if (transformationCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -944,62 +1150,55 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.PrimitiveTransformation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrimitiveTransformation other = (com.google.privacy.dlp.v2.PrimitiveTransformation) obj; + com.google.privacy.dlp.v2.PrimitiveTransformation other = + (com.google.privacy.dlp.v2.PrimitiveTransformation) obj; if (!getTransformationCase().equals(other.getTransformationCase())) return false; switch (transformationCase_) { case 1: - if (!getReplaceConfig() - .equals(other.getReplaceConfig())) return false; + if (!getReplaceConfig().equals(other.getReplaceConfig())) return false; break; case 2: - if (!getRedactConfig() - .equals(other.getRedactConfig())) return false; + if (!getRedactConfig().equals(other.getRedactConfig())) return false; break; case 3: - if (!getCharacterMaskConfig() - .equals(other.getCharacterMaskConfig())) return false; + if (!getCharacterMaskConfig().equals(other.getCharacterMaskConfig())) return false; break; case 4: - if (!getCryptoReplaceFfxFpeConfig() - .equals(other.getCryptoReplaceFfxFpeConfig())) return false; + if (!getCryptoReplaceFfxFpeConfig().equals(other.getCryptoReplaceFfxFpeConfig())) + return false; break; case 5: - if (!getFixedSizeBucketingConfig() - .equals(other.getFixedSizeBucketingConfig())) return false; + if (!getFixedSizeBucketingConfig().equals(other.getFixedSizeBucketingConfig())) + return false; break; case 6: - if (!getBucketingConfig() - .equals(other.getBucketingConfig())) return false; + if (!getBucketingConfig().equals(other.getBucketingConfig())) return false; break; case 7: - if (!getReplaceWithInfoTypeConfig() - .equals(other.getReplaceWithInfoTypeConfig())) return false; + if (!getReplaceWithInfoTypeConfig().equals(other.getReplaceWithInfoTypeConfig())) + return false; break; case 8: - if (!getTimePartConfig() - .equals(other.getTimePartConfig())) return false; + if (!getTimePartConfig().equals(other.getTimePartConfig())) return false; break; case 9: - if (!getCryptoHashConfig() - .equals(other.getCryptoHashConfig())) return false; + if (!getCryptoHashConfig().equals(other.getCryptoHashConfig())) return false; break; case 11: - if (!getDateShiftConfig() - .equals(other.getDateShiftConfig())) return false; + if (!getDateShiftConfig().equals(other.getDateShiftConfig())) return false; break; case 12: - if (!getCryptoDeterministicConfig() - .equals(other.getCryptoDeterministicConfig())) return false; + if (!getCryptoDeterministicConfig().equals(other.getCryptoDeterministicConfig())) + return false; break; case 13: - if (!getReplaceDictionaryConfig() - .equals(other.getReplaceDictionaryConfig())) return false; + if (!getReplaceDictionaryConfig().equals(other.getReplaceDictionaryConfig())) return false; break; case 0: default: @@ -1073,117 +1272,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrimitiveTransformation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrimitiveTransformation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.PrimitiveTransformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 rule for transforming a value.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrimitiveTransformation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrimitiveTransformation) com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrimitiveTransformation.class, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); + com.google.privacy.dlp.v2.PrimitiveTransformation.class, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder() @@ -1191,16 +1399,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1210,9 +1417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor; } @java.lang.Override @@ -1231,7 +1438,8 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation build() { @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation buildPartial() { - com.google.privacy.dlp.v2.PrimitiveTransformation result = new com.google.privacy.dlp.v2.PrimitiveTransformation(this); + com.google.privacy.dlp.v2.PrimitiveTransformation result = + new com.google.privacy.dlp.v2.PrimitiveTransformation(this); if (transformationCase_ == 1) { if (replaceConfigBuilder_ == null) { result.transformation_ = transformation_; @@ -1325,38 +1533,39 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.PrimitiveTransformation) { - return mergeFrom((com.google.privacy.dlp.v2.PrimitiveTransformation)other); + return mergeFrom((com.google.privacy.dlp.v2.PrimitiveTransformation) other); } else { super.mergeFrom(other); return this; @@ -1364,59 +1573,73 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.PrimitiveTransformation other) { - if (other == com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance()) + return this; switch (other.getTransformationCase()) { - case REPLACE_CONFIG: { - mergeReplaceConfig(other.getReplaceConfig()); - break; - } - case REDACT_CONFIG: { - mergeRedactConfig(other.getRedactConfig()); - break; - } - case CHARACTER_MASK_CONFIG: { - mergeCharacterMaskConfig(other.getCharacterMaskConfig()); - break; - } - case CRYPTO_REPLACE_FFX_FPE_CONFIG: { - mergeCryptoReplaceFfxFpeConfig(other.getCryptoReplaceFfxFpeConfig()); - break; - } - case FIXED_SIZE_BUCKETING_CONFIG: { - mergeFixedSizeBucketingConfig(other.getFixedSizeBucketingConfig()); - break; - } - case BUCKETING_CONFIG: { - mergeBucketingConfig(other.getBucketingConfig()); - break; - } - case REPLACE_WITH_INFO_TYPE_CONFIG: { - mergeReplaceWithInfoTypeConfig(other.getReplaceWithInfoTypeConfig()); - break; - } - case TIME_PART_CONFIG: { - mergeTimePartConfig(other.getTimePartConfig()); - break; - } - case CRYPTO_HASH_CONFIG: { - mergeCryptoHashConfig(other.getCryptoHashConfig()); - break; - } - case DATE_SHIFT_CONFIG: { - mergeDateShiftConfig(other.getDateShiftConfig()); - break; - } - case CRYPTO_DETERMINISTIC_CONFIG: { - mergeCryptoDeterministicConfig(other.getCryptoDeterministicConfig()); - break; - } - case REPLACE_DICTIONARY_CONFIG: { - mergeReplaceDictionaryConfig(other.getReplaceDictionaryConfig()); - break; - } - case TRANSFORMATION_NOT_SET: { - break; - } + case REPLACE_CONFIG: + { + mergeReplaceConfig(other.getReplaceConfig()); + break; + } + case REDACT_CONFIG: + { + mergeRedactConfig(other.getRedactConfig()); + break; + } + case CHARACTER_MASK_CONFIG: + { + mergeCharacterMaskConfig(other.getCharacterMaskConfig()); + break; + } + case CRYPTO_REPLACE_FFX_FPE_CONFIG: + { + mergeCryptoReplaceFfxFpeConfig(other.getCryptoReplaceFfxFpeConfig()); + break; + } + case FIXED_SIZE_BUCKETING_CONFIG: + { + mergeFixedSizeBucketingConfig(other.getFixedSizeBucketingConfig()); + break; + } + case BUCKETING_CONFIG: + { + mergeBucketingConfig(other.getBucketingConfig()); + break; + } + case REPLACE_WITH_INFO_TYPE_CONFIG: + { + mergeReplaceWithInfoTypeConfig(other.getReplaceWithInfoTypeConfig()); + break; + } + case TIME_PART_CONFIG: + { + mergeTimePartConfig(other.getTimePartConfig()); + break; + } + case CRYPTO_HASH_CONFIG: + { + mergeCryptoHashConfig(other.getCryptoHashConfig()); + break; + } + case DATE_SHIFT_CONFIG: + { + mergeDateShiftConfig(other.getDateShiftConfig()); + break; + } + case CRYPTO_DETERMINISTIC_CONFIG: + { + mergeCryptoDeterministicConfig(other.getCryptoDeterministicConfig()); + break; + } + case REPLACE_DICTIONARY_CONFIG: + { + mergeReplaceDictionaryConfig(other.getReplaceDictionaryConfig()); + break; + } + case TRANSFORMATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1437,7 +1660,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.PrimitiveTransformation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.PrimitiveTransformation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1446,12 +1670,12 @@ public Builder mergeFrom( } return this; } + private int transformationCase_ = 0; private java.lang.Object transformation_; - public TransformationCase - getTransformationCase() { - return TransformationCase.forNumber( - transformationCase_); + + public TransformationCase getTransformationCase() { + return TransformationCase.forNumber(transformationCase_); } public Builder clearTransformation() { @@ -1461,15 +1685,20 @@ public Builder clearTransformation() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceValueConfig, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> replaceConfigBuilder_; + com.google.privacy.dlp.v2.ReplaceValueConfig, + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, + com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> + replaceConfigBuilder_; /** + * + * *
      * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; + * * @return Whether the replaceConfig field is set. */ @java.lang.Override @@ -1477,11 +1706,14 @@ public boolean hasReplaceConfig() { return transformationCase_ == 1; } /** + * + * *
      * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; + * * @return The replaceConfig. */ @java.lang.Override @@ -1499,6 +1731,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { } } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1519,6 +1753,8 @@ public Builder setReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig val return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1537,6 +1773,8 @@ public Builder setReplaceConfig( return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1545,10 +1783,14 @@ public Builder setReplaceConfig( */ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig value) { if (replaceConfigBuilder_ == null) { - if (transformationCase_ == 1 && - transformation_ != com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.ReplaceValueConfig.newBuilder((com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 1 + && transformation_ + != com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.ReplaceValueConfig.newBuilder( + (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -1563,6 +1805,8 @@ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig v return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1586,6 +1830,8 @@ public Builder clearReplaceConfig() { return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1596,6 +1842,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig.Builder getReplaceConfigBuil return getReplaceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1614,6 +1862,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB } } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1621,32 +1871,44 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceValueConfig, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> + com.google.privacy.dlp.v2.ReplaceValueConfig, + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, + com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder> getReplaceConfigFieldBuilder() { if (replaceConfigBuilder_ == null) { if (!(transformationCase_ == 1)) { transformation_ = com.google.privacy.dlp.v2.ReplaceValueConfig.getDefaultInstance(); } - replaceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceValueConfig, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder>( + replaceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceValueConfig, + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder, + com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder>( (com.google.privacy.dlp.v2.ReplaceValueConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 1; - onChanged();; + onChanged(); + ; return replaceConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RedactConfig, com.google.privacy.dlp.v2.RedactConfig.Builder, com.google.privacy.dlp.v2.RedactConfigOrBuilder> redactConfigBuilder_; + com.google.privacy.dlp.v2.RedactConfig, + com.google.privacy.dlp.v2.RedactConfig.Builder, + com.google.privacy.dlp.v2.RedactConfigOrBuilder> + redactConfigBuilder_; /** + * + * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return Whether the redactConfig field is set. */ @java.lang.Override @@ -1654,11 +1916,14 @@ public boolean hasRedactConfig() { return transformationCase_ == 2; } /** + * + * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return The redactConfig. */ @java.lang.Override @@ -1676,6 +1941,8 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { } } /** + * + * *
      * Redact
      * 
@@ -1696,14 +1963,15 @@ public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { return this; } /** + * + * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; */ - public Builder setRedactConfig( - com.google.privacy.dlp.v2.RedactConfig.Builder builderForValue) { + public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig.Builder builderForValue) { if (redactConfigBuilder_ == null) { transformation_ = builderForValue.build(); onChanged(); @@ -1714,6 +1982,8 @@ public Builder setRedactConfig( return this; } /** + * + * *
      * Redact
      * 
@@ -1722,10 +1992,13 @@ public Builder setRedactConfig( */ public Builder mergeRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { if (redactConfigBuilder_ == null) { - if (transformationCase_ == 2 && - transformation_ != com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.RedactConfig.newBuilder((com.google.privacy.dlp.v2.RedactConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 2 + && transformation_ != com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.RedactConfig.newBuilder( + (com.google.privacy.dlp.v2.RedactConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -1740,6 +2013,8 @@ public Builder mergeRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { return this; } /** + * + * *
      * Redact
      * 
@@ -1763,6 +2038,8 @@ public Builder clearRedactConfig() { return this; } /** + * + * *
      * Redact
      * 
@@ -1773,6 +2050,8 @@ public com.google.privacy.dlp.v2.RedactConfig.Builder getRedactConfigBuilder() { return getRedactConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Redact
      * 
@@ -1791,6 +2070,8 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder( } } /** + * + * *
      * Redact
      * 
@@ -1798,32 +2079,44 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder( * .google.privacy.dlp.v2.RedactConfig redact_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RedactConfig, com.google.privacy.dlp.v2.RedactConfig.Builder, com.google.privacy.dlp.v2.RedactConfigOrBuilder> + com.google.privacy.dlp.v2.RedactConfig, + com.google.privacy.dlp.v2.RedactConfig.Builder, + com.google.privacy.dlp.v2.RedactConfigOrBuilder> getRedactConfigFieldBuilder() { if (redactConfigBuilder_ == null) { if (!(transformationCase_ == 2)) { transformation_ = com.google.privacy.dlp.v2.RedactConfig.getDefaultInstance(); } - redactConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RedactConfig, com.google.privacy.dlp.v2.RedactConfig.Builder, com.google.privacy.dlp.v2.RedactConfigOrBuilder>( + redactConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RedactConfig, + com.google.privacy.dlp.v2.RedactConfig.Builder, + com.google.privacy.dlp.v2.RedactConfigOrBuilder>( (com.google.privacy.dlp.v2.RedactConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 2; - onChanged();; + onChanged(); + ; return redactConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CharacterMaskConfig, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> characterMaskConfigBuilder_; + com.google.privacy.dlp.v2.CharacterMaskConfig, + com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, + com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> + characterMaskConfigBuilder_; /** + * + * *
      * Mask
      * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return Whether the characterMaskConfig field is set. */ @java.lang.Override @@ -1831,11 +2124,14 @@ public boolean hasCharacterMaskConfig() { return transformationCase_ == 3; } /** + * + * *
      * Mask
      * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return The characterMaskConfig. */ @java.lang.Override @@ -1853,6 +2149,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { } } /** + * + * *
      * Mask
      * 
@@ -1873,6 +2171,8 @@ public Builder setCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskCon return this; } /** + * + * *
      * Mask
      * 
@@ -1891,6 +2191,8 @@ public Builder setCharacterMaskConfig( return this; } /** + * + * *
      * Mask
      * 
@@ -1899,10 +2201,14 @@ public Builder setCharacterMaskConfig( */ public Builder mergeCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskConfig value) { if (characterMaskConfigBuilder_ == null) { - if (transformationCase_ == 3 && - transformation_ != com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.CharacterMaskConfig.newBuilder((com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 3 + && transformation_ + != com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.CharacterMaskConfig.newBuilder( + (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -1917,6 +2223,8 @@ public Builder mergeCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskC return this; } /** + * + * *
      * Mask
      * 
@@ -1940,6 +2248,8 @@ public Builder clearCharacterMaskConfig() { return this; } /** + * + * *
      * Mask
      * 
@@ -1950,6 +2260,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon return getCharacterMaskConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Mask
      * 
@@ -1957,7 +2269,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder() { + public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder + getCharacterMaskConfigOrBuilder() { if ((transformationCase_ == 3) && (characterMaskConfigBuilder_ != null)) { return characterMaskConfigBuilder_.getMessageOrBuilder(); } else { @@ -1968,6 +2281,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskCo } } /** + * + * *
      * Mask
      * 
@@ -1975,32 +2290,45 @@ public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskCo * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CharacterMaskConfig, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> + com.google.privacy.dlp.v2.CharacterMaskConfig, + com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, + com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder> getCharacterMaskConfigFieldBuilder() { if (characterMaskConfigBuilder_ == null) { if (!(transformationCase_ == 3)) { transformation_ = com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance(); } - characterMaskConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CharacterMaskConfig, com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder>( + characterMaskConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CharacterMaskConfig, + com.google.privacy.dlp.v2.CharacterMaskConfig.Builder, + com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder>( (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 3; - onChanged();; + onChanged(); + ; return characterMaskConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> cryptoReplaceFfxFpeConfigBuilder_; + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> + cryptoReplaceFfxFpeConfigBuilder_; /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * + * * @return Whether the cryptoReplaceFfxFpeConfig field is set. */ @java.lang.Override @@ -2008,11 +2336,15 @@ public boolean hasCryptoReplaceFfxFpeConfig() { return transformationCase_ == 4; } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * + * * @return The cryptoReplaceFfxFpeConfig. */ @java.lang.Override @@ -2030,13 +2362,17 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFp } } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ - public Builder setCryptoReplaceFfxFpeConfig(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { + public Builder setCryptoReplaceFfxFpeConfig( + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2050,11 +2386,14 @@ public Builder setCryptoReplaceFfxFpeConfig(com.google.privacy.dlp.v2.CryptoRepl return this; } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ public Builder setCryptoReplaceFfxFpeConfig( com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder builderForValue) { @@ -2068,18 +2407,26 @@ public Builder setCryptoReplaceFfxFpeConfig( return this; } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ - public Builder mergeCryptoReplaceFfxFpeConfig(com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { + public Builder mergeCryptoReplaceFfxFpeConfig( + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig value) { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { - if (transformationCase_ == 4 && - transformation_ != com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.newBuilder((com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 4 + && transformation_ + != com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.newBuilder( + (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2094,11 +2441,14 @@ public Builder mergeCryptoReplaceFfxFpeConfig(com.google.privacy.dlp.v2.CryptoRe return this; } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ public Builder clearCryptoReplaceFfxFpeConfig() { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { @@ -2117,24 +2467,32 @@ public Builder clearCryptoReplaceFfxFpeConfig() { return this; } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder getCryptoReplaceFfxFpeConfigBuilder() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder + getCryptoReplaceFfxFpeConfigBuilder() { return getCryptoReplaceFfxFpeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder + getCryptoReplaceFfxFpeConfigOrBuilder() { if ((transformationCase_ == 4) && (cryptoReplaceFfxFpeConfigBuilder_ != null)) { return cryptoReplaceFfxFpeConfigBuilder_.getMessageOrBuilder(); } else { @@ -2145,39 +2503,55 @@ public com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoRep } } /** + * + * *
      * Ffx-Fpe
      * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder> getCryptoReplaceFfxFpeConfigFieldBuilder() { if (cryptoReplaceFfxFpeConfigBuilder_ == null) { if (!(transformationCase_ == 4)) { - transformation_ = com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); - } - cryptoReplaceFfxFpeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder>( + transformation_ = + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.getDefaultInstance(); + } + cryptoReplaceFfxFpeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.Builder, + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder>( (com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 4; - onChanged();; + onChanged(); + ; return cryptoReplaceFfxFpeConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FixedSizeBucketingConfig, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> fixedSizeBucketingConfigBuilder_; + com.google.privacy.dlp.v2.FixedSizeBucketingConfig, + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, + com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> + fixedSizeBucketingConfigBuilder_; /** + * + * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; + * * @return Whether the fixedSizeBucketingConfig field is set. */ @java.lang.Override @@ -2185,11 +2559,14 @@ public boolean hasFixedSizeBucketingConfig() { return transformationCase_ == 5; } /** + * + * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; + * * @return The fixedSizeBucketingConfig. */ @java.lang.Override @@ -2207,13 +2584,16 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingC } } /** + * + * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - public Builder setFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { + public Builder setFixedSizeBucketingConfig( + com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { if (fixedSizeBucketingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2227,6 +2607,8 @@ public Builder setFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSizeBu return this; } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2245,18 +2627,25 @@ public Builder setFixedSizeBucketingConfig( return this; } /** + * + * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - public Builder mergeFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { + public Builder mergeFixedSizeBucketingConfig( + com.google.privacy.dlp.v2.FixedSizeBucketingConfig value) { if (fixedSizeBucketingConfigBuilder_ == null) { - if (transformationCase_ == 5 && - transformation_ != com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.FixedSizeBucketingConfig.newBuilder((com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 5 + && transformation_ + != com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.newBuilder( + (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2271,6 +2660,8 @@ public Builder mergeFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSize return this; } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2294,16 +2685,21 @@ public Builder clearFixedSizeBucketingConfig() { return this; } /** + * + * *
      * Fixed size bucketing
      * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - public com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder getFixedSizeBucketingConfigBuilder() { + public com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder + getFixedSizeBucketingConfigBuilder() { return getFixedSizeBucketingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2311,7 +2707,8 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder getFixedSizeBu * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ @java.lang.Override - public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder() { + public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder + getFixedSizeBucketingConfigOrBuilder() { if ((transformationCase_ == 5) && (fixedSizeBucketingConfigBuilder_ != null)) { return fixedSizeBucketingConfigBuilder_.getMessageOrBuilder(); } else { @@ -2322,6 +2719,8 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeB } } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2329,32 +2728,44 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeB * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FixedSizeBucketingConfig, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> + com.google.privacy.dlp.v2.FixedSizeBucketingConfig, + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, + com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder> getFixedSizeBucketingConfigFieldBuilder() { if (fixedSizeBucketingConfigBuilder_ == null) { if (!(transformationCase_ == 5)) { transformation_ = com.google.privacy.dlp.v2.FixedSizeBucketingConfig.getDefaultInstance(); } - fixedSizeBucketingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FixedSizeBucketingConfig, com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder>( + fixedSizeBucketingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FixedSizeBucketingConfig, + com.google.privacy.dlp.v2.FixedSizeBucketingConfig.Builder, + com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder>( (com.google.privacy.dlp.v2.FixedSizeBucketingConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 5; - onChanged();; + onChanged(); + ; return fixedSizeBucketingConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig, com.google.privacy.dlp.v2.BucketingConfig.Builder, com.google.privacy.dlp.v2.BucketingConfigOrBuilder> bucketingConfigBuilder_; + com.google.privacy.dlp.v2.BucketingConfig, + com.google.privacy.dlp.v2.BucketingConfig.Builder, + com.google.privacy.dlp.v2.BucketingConfigOrBuilder> + bucketingConfigBuilder_; /** + * + * *
      * Bucketing
      * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return Whether the bucketingConfig field is set. */ @java.lang.Override @@ -2362,11 +2773,14 @@ public boolean hasBucketingConfig() { return transformationCase_ == 6; } /** + * + * *
      * Bucketing
      * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return The bucketingConfig. */ @java.lang.Override @@ -2384,6 +2798,8 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { } } /** + * + * *
      * Bucketing
      * 
@@ -2404,6 +2820,8 @@ public Builder setBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig valu return this; } /** + * + * *
      * Bucketing
      * 
@@ -2422,6 +2840,8 @@ public Builder setBucketingConfig( return this; } /** + * + * *
      * Bucketing
      * 
@@ -2430,10 +2850,13 @@ public Builder setBucketingConfig( */ public Builder mergeBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig value) { if (bucketingConfigBuilder_ == null) { - if (transformationCase_ == 6 && - transformation_ != com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.BucketingConfig.newBuilder((com.google.privacy.dlp.v2.BucketingConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 6 + && transformation_ != com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.BucketingConfig.newBuilder( + (com.google.privacy.dlp.v2.BucketingConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2448,6 +2871,8 @@ public Builder mergeBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig va return this; } /** + * + * *
      * Bucketing
      * 
@@ -2471,6 +2896,8 @@ public Builder clearBucketingConfig() { return this; } /** + * + * *
      * Bucketing
      * 
@@ -2481,6 +2908,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.Builder getBucketingConfigBuild return getBucketingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Bucketing
      * 
@@ -2499,6 +2928,8 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu } } /** + * + * *
      * Bucketing
      * 
@@ -2506,32 +2937,45 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig, com.google.privacy.dlp.v2.BucketingConfig.Builder, com.google.privacy.dlp.v2.BucketingConfigOrBuilder> + com.google.privacy.dlp.v2.BucketingConfig, + com.google.privacy.dlp.v2.BucketingConfig.Builder, + com.google.privacy.dlp.v2.BucketingConfigOrBuilder> getBucketingConfigFieldBuilder() { if (bucketingConfigBuilder_ == null) { if (!(transformationCase_ == 6)) { transformation_ = com.google.privacy.dlp.v2.BucketingConfig.getDefaultInstance(); } - bucketingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BucketingConfig, com.google.privacy.dlp.v2.BucketingConfig.Builder, com.google.privacy.dlp.v2.BucketingConfigOrBuilder>( + bucketingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BucketingConfig, + com.google.privacy.dlp.v2.BucketingConfig.Builder, + com.google.privacy.dlp.v2.BucketingConfigOrBuilder>( (com.google.privacy.dlp.v2.BucketingConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 6; - onChanged();; + onChanged(); + ; return bucketingConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> replaceWithInfoTypeConfigBuilder_; + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> + replaceWithInfoTypeConfigBuilder_; /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * + * * @return Whether the replaceWithInfoTypeConfig field is set. */ @java.lang.Override @@ -2539,11 +2983,15 @@ public boolean hasReplaceWithInfoTypeConfig() { return transformationCase_ == 7; } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * + * * @return The replaceWithInfoTypeConfig. */ @java.lang.Override @@ -2561,13 +3009,17 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTyp } } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ - public Builder setReplaceWithInfoTypeConfig(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { + public Builder setReplaceWithInfoTypeConfig( + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { if (replaceWithInfoTypeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2581,11 +3033,14 @@ public Builder setReplaceWithInfoTypeConfig(com.google.privacy.dlp.v2.ReplaceWit return this; } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ public Builder setReplaceWithInfoTypeConfig( com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder builderForValue) { @@ -2599,18 +3054,26 @@ public Builder setReplaceWithInfoTypeConfig( return this; } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ - public Builder mergeReplaceWithInfoTypeConfig(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { + public Builder mergeReplaceWithInfoTypeConfig( + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig value) { if (replaceWithInfoTypeConfigBuilder_ == null) { - if (transformationCase_ == 7 && - transformation_ != com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.newBuilder((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 7 + && transformation_ + != com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.newBuilder( + (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2625,11 +3088,14 @@ public Builder mergeReplaceWithInfoTypeConfig(com.google.privacy.dlp.v2.ReplaceW return this; } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ public Builder clearReplaceWithInfoTypeConfig() { if (replaceWithInfoTypeConfigBuilder_ == null) { @@ -2648,24 +3114,32 @@ public Builder clearReplaceWithInfoTypeConfig() { return this; } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ - public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder getReplaceWithInfoTypeConfigBuilder() { + public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder + getReplaceWithInfoTypeConfigBuilder() { return getReplaceWithInfoTypeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder + getReplaceWithInfoTypeConfigOrBuilder() { if ((transformationCase_ == 7) && (replaceWithInfoTypeConfigBuilder_ != null)) { return replaceWithInfoTypeConfigBuilder_.getMessageOrBuilder(); } else { @@ -2676,39 +3150,55 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWi } } /** + * + * *
      * Replace with infotype
      * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder> getReplaceWithInfoTypeConfigFieldBuilder() { if (replaceWithInfoTypeConfigBuilder_ == null) { if (!(transformationCase_ == 7)) { - transformation_ = com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); - } - replaceWithInfoTypeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder>( + transformation_ = + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance(); + } + replaceWithInfoTypeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder>( (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 7; - onChanged();; + onChanged(); + ; return replaceWithInfoTypeConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TimePartConfig, com.google.privacy.dlp.v2.TimePartConfig.Builder, com.google.privacy.dlp.v2.TimePartConfigOrBuilder> timePartConfigBuilder_; + com.google.privacy.dlp.v2.TimePartConfig, + com.google.privacy.dlp.v2.TimePartConfig.Builder, + com.google.privacy.dlp.v2.TimePartConfigOrBuilder> + timePartConfigBuilder_; /** + * + * *
      * Time extraction
      * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return Whether the timePartConfig field is set. */ @java.lang.Override @@ -2716,11 +3206,14 @@ public boolean hasTimePartConfig() { return transformationCase_ == 8; } /** + * + * *
      * Time extraction
      * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return The timePartConfig. */ @java.lang.Override @@ -2738,6 +3231,8 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { } } /** + * + * *
      * Time extraction
      * 
@@ -2758,6 +3253,8 @@ public Builder setTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig value) return this; } /** + * + * *
      * Time extraction
      * 
@@ -2776,6 +3273,8 @@ public Builder setTimePartConfig( return this; } /** + * + * *
      * Time extraction
      * 
@@ -2784,10 +3283,13 @@ public Builder setTimePartConfig( */ public Builder mergeTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig value) { if (timePartConfigBuilder_ == null) { - if (transformationCase_ == 8 && - transformation_ != com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.TimePartConfig.newBuilder((com.google.privacy.dlp.v2.TimePartConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 8 + && transformation_ != com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.TimePartConfig.newBuilder( + (com.google.privacy.dlp.v2.TimePartConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2802,6 +3304,8 @@ public Builder mergeTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig valu return this; } /** + * + * *
      * Time extraction
      * 
@@ -2825,6 +3329,8 @@ public Builder clearTimePartConfig() { return this; } /** + * + * *
      * Time extraction
      * 
@@ -2835,6 +3341,8 @@ public com.google.privacy.dlp.v2.TimePartConfig.Builder getTimePartConfigBuilder return getTimePartConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Time extraction
      * 
@@ -2853,6 +3361,8 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil } } /** + * + * *
      * Time extraction
      * 
@@ -2860,32 +3370,44 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TimePartConfig, com.google.privacy.dlp.v2.TimePartConfig.Builder, com.google.privacy.dlp.v2.TimePartConfigOrBuilder> + com.google.privacy.dlp.v2.TimePartConfig, + com.google.privacy.dlp.v2.TimePartConfig.Builder, + com.google.privacy.dlp.v2.TimePartConfigOrBuilder> getTimePartConfigFieldBuilder() { if (timePartConfigBuilder_ == null) { if (!(transformationCase_ == 8)) { transformation_ = com.google.privacy.dlp.v2.TimePartConfig.getDefaultInstance(); } - timePartConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TimePartConfig, com.google.privacy.dlp.v2.TimePartConfig.Builder, com.google.privacy.dlp.v2.TimePartConfigOrBuilder>( + timePartConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TimePartConfig, + com.google.privacy.dlp.v2.TimePartConfig.Builder, + com.google.privacy.dlp.v2.TimePartConfigOrBuilder>( (com.google.privacy.dlp.v2.TimePartConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 8; - onChanged();; + onChanged(); + ; return timePartConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoHashConfig, com.google.privacy.dlp.v2.CryptoHashConfig.Builder, com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> cryptoHashConfigBuilder_; + com.google.privacy.dlp.v2.CryptoHashConfig, + com.google.privacy.dlp.v2.CryptoHashConfig.Builder, + com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> + cryptoHashConfigBuilder_; /** + * + * *
      * Crypto
      * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return Whether the cryptoHashConfig field is set. */ @java.lang.Override @@ -2893,11 +3415,14 @@ public boolean hasCryptoHashConfig() { return transformationCase_ == 9; } /** + * + * *
      * Crypto
      * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return The cryptoHashConfig. */ @java.lang.Override @@ -2915,6 +3440,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { } } /** + * + * *
      * Crypto
      * 
@@ -2935,6 +3462,8 @@ public Builder setCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig va return this; } /** + * + * *
      * Crypto
      * 
@@ -2953,6 +3482,8 @@ public Builder setCryptoHashConfig( return this; } /** + * + * *
      * Crypto
      * 
@@ -2961,10 +3492,13 @@ public Builder setCryptoHashConfig( */ public Builder mergeCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig value) { if (cryptoHashConfigBuilder_ == null) { - if (transformationCase_ == 9 && - transformation_ != com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.CryptoHashConfig.newBuilder((com.google.privacy.dlp.v2.CryptoHashConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 9 + && transformation_ != com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.CryptoHashConfig.newBuilder( + (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2979,6 +3513,8 @@ public Builder mergeCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig return this; } /** + * + * *
      * Crypto
      * 
@@ -3002,6 +3538,8 @@ public Builder clearCryptoHashConfig() { return this; } /** + * + * *
      * Crypto
      * 
@@ -3012,6 +3550,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfig.Builder getCryptoHashConfigBui return getCryptoHashConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Crypto
      * 
@@ -3030,6 +3570,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr } } /** + * + * *
      * Crypto
      * 
@@ -3037,32 +3579,44 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoHashConfig, com.google.privacy.dlp.v2.CryptoHashConfig.Builder, com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> + com.google.privacy.dlp.v2.CryptoHashConfig, + com.google.privacy.dlp.v2.CryptoHashConfig.Builder, + com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder> getCryptoHashConfigFieldBuilder() { if (cryptoHashConfigBuilder_ == null) { if (!(transformationCase_ == 9)) { transformation_ = com.google.privacy.dlp.v2.CryptoHashConfig.getDefaultInstance(); } - cryptoHashConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoHashConfig, com.google.privacy.dlp.v2.CryptoHashConfig.Builder, com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder>( + cryptoHashConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoHashConfig, + com.google.privacy.dlp.v2.CryptoHashConfig.Builder, + com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder>( (com.google.privacy.dlp.v2.CryptoHashConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 9; - onChanged();; + onChanged(); + ; return cryptoHashConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateShiftConfig, com.google.privacy.dlp.v2.DateShiftConfig.Builder, com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> dateShiftConfigBuilder_; + com.google.privacy.dlp.v2.DateShiftConfig, + com.google.privacy.dlp.v2.DateShiftConfig.Builder, + com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> + dateShiftConfigBuilder_; /** + * + * *
      * Date Shift
      * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return Whether the dateShiftConfig field is set. */ @java.lang.Override @@ -3070,11 +3624,14 @@ public boolean hasDateShiftConfig() { return transformationCase_ == 11; } /** + * + * *
      * Date Shift
      * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return The dateShiftConfig. */ @java.lang.Override @@ -3092,6 +3649,8 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { } } /** + * + * *
      * Date Shift
      * 
@@ -3112,6 +3671,8 @@ public Builder setDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig valu return this; } /** + * + * *
      * Date Shift
      * 
@@ -3130,6 +3691,8 @@ public Builder setDateShiftConfig( return this; } /** + * + * *
      * Date Shift
      * 
@@ -3138,10 +3701,13 @@ public Builder setDateShiftConfig( */ public Builder mergeDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig value) { if (dateShiftConfigBuilder_ == null) { - if (transformationCase_ == 11 && - transformation_ != com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.DateShiftConfig.newBuilder((com.google.privacy.dlp.v2.DateShiftConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 11 + && transformation_ != com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.DateShiftConfig.newBuilder( + (com.google.privacy.dlp.v2.DateShiftConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -3156,6 +3722,8 @@ public Builder mergeDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig va return this; } /** + * + * *
      * Date Shift
      * 
@@ -3179,6 +3747,8 @@ public Builder clearDateShiftConfig() { return this; } /** + * + * *
      * Date Shift
      * 
@@ -3189,6 +3759,8 @@ public com.google.privacy.dlp.v2.DateShiftConfig.Builder getDateShiftConfigBuild return getDateShiftConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Date Shift
      * 
@@ -3207,6 +3779,8 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu } } /** + * + * *
      * Date Shift
      * 
@@ -3214,32 +3788,45 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateShiftConfig, com.google.privacy.dlp.v2.DateShiftConfig.Builder, com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> + com.google.privacy.dlp.v2.DateShiftConfig, + com.google.privacy.dlp.v2.DateShiftConfig.Builder, + com.google.privacy.dlp.v2.DateShiftConfigOrBuilder> getDateShiftConfigFieldBuilder() { if (dateShiftConfigBuilder_ == null) { if (!(transformationCase_ == 11)) { transformation_ = com.google.privacy.dlp.v2.DateShiftConfig.getDefaultInstance(); } - dateShiftConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateShiftConfig, com.google.privacy.dlp.v2.DateShiftConfig.Builder, com.google.privacy.dlp.v2.DateShiftConfigOrBuilder>( + dateShiftConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DateShiftConfig, + com.google.privacy.dlp.v2.DateShiftConfig.Builder, + com.google.privacy.dlp.v2.DateShiftConfigOrBuilder>( (com.google.privacy.dlp.v2.DateShiftConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 11; - onChanged();; + onChanged(); + ; return dateShiftConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoDeterministicConfig, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> cryptoDeterministicConfigBuilder_; + com.google.privacy.dlp.v2.CryptoDeterministicConfig, + com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, + com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> + cryptoDeterministicConfigBuilder_; /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * + * * @return Whether the cryptoDeterministicConfig field is set. */ @java.lang.Override @@ -3247,11 +3834,15 @@ public boolean hasCryptoDeterministicConfig() { return transformationCase_ == 12; } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * + * * @return The cryptoDeterministicConfig. */ @java.lang.Override @@ -3269,13 +3860,17 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministi } } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ - public Builder setCryptoDeterministicConfig(com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { + public Builder setCryptoDeterministicConfig( + com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { if (cryptoDeterministicConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3289,11 +3884,14 @@ public Builder setCryptoDeterministicConfig(com.google.privacy.dlp.v2.CryptoDete return this; } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ public Builder setCryptoDeterministicConfig( com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder builderForValue) { @@ -3307,18 +3905,26 @@ public Builder setCryptoDeterministicConfig( return this; } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ - public Builder mergeCryptoDeterministicConfig(com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { + public Builder mergeCryptoDeterministicConfig( + com.google.privacy.dlp.v2.CryptoDeterministicConfig value) { if (cryptoDeterministicConfigBuilder_ == null) { - if (transformationCase_ == 12 && - transformation_ != com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.CryptoDeterministicConfig.newBuilder((com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 12 + && transformation_ + != com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.CryptoDeterministicConfig.newBuilder( + (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -3333,11 +3939,14 @@ public Builder mergeCryptoDeterministicConfig(com.google.privacy.dlp.v2.CryptoDe return this; } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ public Builder clearCryptoDeterministicConfig() { if (cryptoDeterministicConfigBuilder_ == null) { @@ -3356,24 +3965,32 @@ public Builder clearCryptoDeterministicConfig() { return this; } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ - public com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder getCryptoDeterministicConfigBuilder() { + public com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder + getCryptoDeterministicConfigBuilder() { return getCryptoDeterministicConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder() { + public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder + getCryptoDeterministicConfigOrBuilder() { if ((transformationCase_ == 12) && (cryptoDeterministicConfigBuilder_ != null)) { return cryptoDeterministicConfigBuilder_.getMessageOrBuilder(); } else { @@ -3384,39 +4001,55 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDet } } /** + * + * *
      * Deterministic Crypto
      * 
* - * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoDeterministicConfig, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> + com.google.privacy.dlp.v2.CryptoDeterministicConfig, + com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, + com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder> getCryptoDeterministicConfigFieldBuilder() { if (cryptoDeterministicConfigBuilder_ == null) { if (!(transformationCase_ == 12)) { - transformation_ = com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); - } - cryptoDeterministicConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CryptoDeterministicConfig, com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder>( + transformation_ = + com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); + } + cryptoDeterministicConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CryptoDeterministicConfig, + com.google.privacy.dlp.v2.CryptoDeterministicConfig.Builder, + com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder>( (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 12; - onChanged();; + onChanged(); + ; return cryptoDeterministicConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceDictionaryConfig, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> replaceDictionaryConfigBuilder_; + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> + replaceDictionaryConfigBuilder_; /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * * @return Whether the replaceDictionaryConfig field is set. */ @java.lang.Override @@ -3424,11 +4057,14 @@ public boolean hasReplaceDictionaryConfig() { return transformationCase_ == 13; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * * @return The replaceDictionaryConfig. */ @java.lang.Override @@ -3446,13 +4082,16 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryCon } } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ - public Builder setReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { + public Builder setReplaceDictionaryConfig( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { if (replaceDictionaryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3466,6 +4105,8 @@ public Builder setReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDicti return this; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3484,18 +4125,25 @@ public Builder setReplaceDictionaryConfig( return this; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ - public Builder mergeReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { + public Builder mergeReplaceDictionaryConfig( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { if (replaceDictionaryConfigBuilder_ == null) { - if (transformationCase_ == 13 && - transformation_ != com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 13 + && transformation_ + != com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder( + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -3510,6 +4158,8 @@ public Builder mergeReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDic return this; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3533,16 +4183,21 @@ public Builder clearReplaceDictionaryConfig() { return this; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ - public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder getReplaceDictionaryConfigBuilder() { + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder + getReplaceDictionaryConfigBuilder() { return getReplaceDictionaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3550,7 +4205,8 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder getReplaceDicti * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ @java.lang.Override - public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder() { + public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder + getReplaceDictionaryConfigOrBuilder() { if ((transformationCase_ == 13) && (replaceDictionaryConfigBuilder_ != null)) { return replaceDictionaryConfigBuilder_.getMessageOrBuilder(); } else { @@ -3561,6 +4217,8 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDict } } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3568,26 +4226,32 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDict * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceDictionaryConfig, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> getReplaceDictionaryConfigFieldBuilder() { if (replaceDictionaryConfigBuilder_ == null) { if (!(transformationCase_ == 13)) { transformation_ = com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); } - replaceDictionaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ReplaceDictionaryConfig, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder>( + replaceDictionaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder>( (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 13; - onChanged();; + onChanged(); + ; return replaceDictionaryConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3597,12 +4261,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrimitiveTransformation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrimitiveTransformation) private static final com.google.privacy.dlp.v2.PrimitiveTransformation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrimitiveTransformation(); } @@ -3611,16 +4275,16 @@ public static com.google.privacy.dlp.v2.PrimitiveTransformation getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimitiveTransformation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrimitiveTransformation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimitiveTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrimitiveTransformation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3635,6 +4299,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PrimitiveTransformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java index b025e516..1a361acb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface PrimitiveTransformationOrBuilder extends +public interface PrimitiveTransformationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrimitiveTransformation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; + * * @return Whether the replaceConfig field is set. */ boolean hasReplaceConfig(); /** + * + * *
    * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; + * * @return The replaceConfig. */ com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig(); /** + * + * *
    * Replace with a specified value.
    * 
@@ -35,24 +59,32 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder(); /** + * + * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return Whether the redactConfig field is set. */ boolean hasRedactConfig(); /** + * + * *
    * Redact
    * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return The redactConfig. */ com.google.privacy.dlp.v2.RedactConfig getRedactConfig(); /** + * + * *
    * Redact
    * 
@@ -62,24 +94,32 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder(); /** + * + * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return Whether the characterMaskConfig field is set. */ boolean hasCharacterMaskConfig(); /** + * + * *
    * Mask
    * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return The characterMaskConfig. */ com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig(); /** + * + * *
    * Mask
    * 
@@ -89,78 +129,107 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder(); /** + * + * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * + * * @return Whether the cryptoReplaceFfxFpeConfig field is set. */ boolean hasCryptoReplaceFfxFpeConfig(); /** + * + * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * + * * @return The cryptoReplaceFfxFpeConfig. */ com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig(); /** + * + * *
    * Ffx-Fpe
    * 
* - * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4; + * */ - com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder(); + com.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigOrBuilder + getCryptoReplaceFfxFpeConfigOrBuilder(); /** + * + * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; + * * @return Whether the fixedSizeBucketingConfig field is set. */ boolean hasFixedSizeBucketingConfig(); /** + * + * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; + * * @return The fixedSizeBucketingConfig. */ com.google.privacy.dlp.v2.FixedSizeBucketingConfig getFixedSizeBucketingConfig(); /** + * + * *
    * Fixed size bucketing
    * 
* * .google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5; */ - com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder(); + com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder + getFixedSizeBucketingConfigOrBuilder(); /** + * + * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return Whether the bucketingConfig field is set. */ boolean hasBucketingConfig(); /** + * + * *
    * Bucketing
    * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return The bucketingConfig. */ com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig(); /** + * + * *
    * Bucketing
    * 
@@ -170,51 +239,71 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBuilder(); /** + * + * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * + * * @return Whether the replaceWithInfoTypeConfig field is set. */ boolean hasReplaceWithInfoTypeConfig(); /** + * + * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * + * * @return The replaceWithInfoTypeConfig. */ com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig(); /** + * + * *
    * Replace with infotype
    * 
* - * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * .google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7; + * */ - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder(); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder + getReplaceWithInfoTypeConfigOrBuilder(); /** + * + * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return Whether the timePartConfig field is set. */ boolean hasTimePartConfig(); /** + * + * *
    * Time extraction
    * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return The timePartConfig. */ com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig(); /** + * + * *
    * Time extraction
    * 
@@ -224,24 +313,32 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuilder(); /** + * + * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return Whether the cryptoHashConfig field is set. */ boolean hasCryptoHashConfig(); /** + * + * *
    * Crypto
    * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return The cryptoHashConfig. */ com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig(); /** + * + * *
    * Crypto
    * 
@@ -251,24 +348,32 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder(); /** + * + * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return Whether the dateShiftConfig field is set. */ boolean hasDateShiftConfig(); /** + * + * *
    * Date Shift
    * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return The dateShiftConfig. */ com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig(); /** + * + * *
    * Date Shift
    * 
@@ -278,51 +383,68 @@ public interface PrimitiveTransformationOrBuilder extends com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBuilder(); /** + * + * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * * @return Whether the cryptoDeterministicConfig field is set. */ boolean hasCryptoDeterministicConfig(); /** + * + * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; + * * @return The cryptoDeterministicConfig. */ com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministicConfig(); /** + * + * *
    * Deterministic Crypto
    * 
* * .google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12; */ - com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder(); + com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder + getCryptoDeterministicConfigOrBuilder(); /** + * + * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * * @return Whether the replaceDictionaryConfig field is set. */ boolean hasReplaceDictionaryConfig(); /** + * + * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
* * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * * @return The replaceDictionaryConfig. */ com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig(); /** + * + * *
    * Replace with a value randomly drawn (with replacement) from a dictionary.
    * 
@@ -331,5 +453,6 @@ public interface PrimitiveTransformationOrBuilder extends */ com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder(); - public com.google.privacy.dlp.v2.PrimitiveTransformation.TransformationCase getTransformationCase(); + public com.google.privacy.dlp.v2.PrimitiveTransformation.TransformationCase + getTransformationCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java index fcd250f8..0ceb32d1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Privacy metric to compute for reidentification risk analysis.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric} */ -public final class PrivacyMetric extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrivacyMetric extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric) PrivacyMetricOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrivacyMetric.newBuilder() to construct. private PrivacyMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivacyMetric() { - } + + private PrivacyMetric() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrivacyMetric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PrivacyMetric( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,147 +68,197 @@ private PrivacyMetric( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 1; - break; - } - case 18: { - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; - } - case 26: { - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; - } - case 34: { - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder subBuilder = null; - if (typeCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_).toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder subBuilder = + null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); - type_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder subBuilder = + null; + if (typeCase_ == 2) { + subBuilder = + ((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 2; + break; } - typeCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder subBuilder = null; - if (typeCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_).toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = + ((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 3; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); - type_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder subBuilder = null; + if (typeCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 4; + break; } - typeCase_ = 5; - break; - } - case 50: { - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder subBuilder = null; - if (typeCase_ == 6) { - subBuilder = ((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_).toBuilder(); + case 42: + { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder subBuilder = + null; + if (typeCase_ == 5) { + subBuilder = + ((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 5; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); - type_ = subBuilder.buildPartial(); + case 50: + { + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder + subBuilder = null; + if (typeCase_ == 6) { + subBuilder = + ((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 6; + break; } - typeCase_ = 6; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.class, com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.class, + com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); } - public interface NumericalStatsConfigOrBuilder extends + public interface NumericalStatsConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
@@ -203,6 +269,8 @@ public interface NumericalStatsConfigOrBuilder extends
     com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compute numerical stats over an individual column, including
    * min, max, and quantiles.
@@ -210,30 +278,29 @@ public interface NumericalStatsConfigOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig}
    */
-  public static final class NumericalStatsConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class NumericalStatsConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
       NumericalStatsConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use NumericalStatsConfig.newBuilder() to construct.
     private NumericalStatsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private NumericalStatsConfig() {
-    }
+
+    private NumericalStatsConfig() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new NumericalStatsConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private NumericalStatsConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -252,60 +319,68 @@ private NumericalStatsConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (field_ != null) {
-                subBuilder = field_.toBuilder();
-              }
-              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(field_);
-                field_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                if (field_ != null) {
+                  subBuilder = field_.toBuilder();
+                }
+                field_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(field_);
+                  field_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class,
+              com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
+     *
+     *
      * 
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -313,12 +388,15 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -326,6 +404,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
      * Field to compute numerical stats on. Supported types are
      * integer, float, date, datetime, timestamp, time.
@@ -339,6 +419,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -350,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 (field_ != null) {
         output.writeMessage(1, getField());
       }
@@ -365,8 +445,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (field_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getField());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -376,17 +455,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.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig other =
+          (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) obj;
 
       if (hasField() != other.hasField()) return false;
       if (hasField()) {
-        if (!getField()
-            .equals(other.getField())) return false;
+        if (!getField().equals(other.getField())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -409,87 +488,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -499,6 +585,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compute numerical stats over an individual column, including
      * min, max, and quantiles.
@@ -506,21 +594,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.class,
+                com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.newBuilder()
@@ -528,16 +619,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -551,13 +641,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_NumericalStatsConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
+          getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance();
       }
 
@@ -572,7 +663,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig result =
+            new com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -586,38 +678,41 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)other);
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -625,7 +720,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig other) {
-        if (other == com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance()) return this;
+        if (other
+            == com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance())
+          return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -648,7 +745,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -660,26 +759,35 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          fieldBuilder_;
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -690,6 +798,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -711,6 +821,8 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -718,8 +830,7 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
        *
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
-      public Builder setField(
-          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (fieldBuilder_ == null) {
           field_ = builderForValue.build();
           onChanged();
@@ -730,6 +841,8 @@ public Builder setField(
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -741,7 +854,9 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         if (fieldBuilder_ == null) {
           if (field_ != null) {
             field_ =
-              com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.FieldId.newBuilder(field_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             field_ = value;
           }
@@ -753,6 +868,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -772,6 +889,8 @@ public Builder clearField() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -780,11 +899,13 @@ public Builder clearField() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() {
-        
+
         onChanged();
         return getFieldFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -796,11 +917,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
         if (fieldBuilder_ != null) {
           return fieldBuilder_.getMessageOrBuilder();
         } else {
-          return field_ == null ?
-              com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
+          return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
         }
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -809,18 +931,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
           getFieldFieldBuilder() {
         if (fieldBuilder_ == null) {
-          fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  getField(),
-                  getParentForChildren(),
-                  isClean());
+          fieldBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.FieldId,
+                  com.google.privacy.dlp.v2.FieldId.Builder,
+                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  getField(), getParentForChildren(), isClean());
           field_ = null;
         }
         return fieldBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -833,30 +959,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig)
-    private static final com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig();
     }
 
-    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public NumericalStatsConfig parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new NumericalStatsConfig(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public NumericalStatsConfig parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new NumericalStatsConfig(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -868,17 +996,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CategoricalStatsConfigOrBuilder extends
+  public interface CategoricalStatsConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -887,10 +1018,13 @@ public interface CategoricalStatsConfigOrBuilder extends
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -899,10 +1033,13 @@ public interface CategoricalStatsConfigOrBuilder extends
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -915,6 +1052,8 @@ public interface CategoricalStatsConfigOrBuilder extends
     com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compute numerical stats over an individual column, including
    * number of distinct values and value count distribution.
@@ -922,30 +1061,29 @@ public interface CategoricalStatsConfigOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig}
    */
-  public static final class CategoricalStatsConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CategoricalStatsConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
       CategoricalStatsConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CategoricalStatsConfig.newBuilder() to construct.
     private CategoricalStatsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private CategoricalStatsConfig() {
-    }
+
+    private CategoricalStatsConfig() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CategoricalStatsConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private CategoricalStatsConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -964,54 +1102,61 @@ private CategoricalStatsConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (field_ != null) {
-                subBuilder = field_.toBuilder();
-              }
-              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(field_);
-                field_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                if (field_ != null) {
+                  subBuilder = field_.toBuilder();
+                }
+                field_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(field_);
+                  field_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class,
+              com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
+     *
+     *
      * 
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1020,6 +1165,7 @@ private CategoricalStatsConfig(
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -1027,6 +1173,8 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1035,6 +1183,7 @@ public boolean hasField() {
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -1042,6 +1191,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
      * Field to compute categorical stats on. All column types are
      * supported except for arrays and structs. However, it may be more
@@ -1057,6 +1208,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1068,8 +1220,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (field_ != null) {
         output.writeMessage(1, getField());
       }
@@ -1083,8 +1234,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (field_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getField());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1094,17 +1244,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.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other =
+          (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) obj;
 
       if (hasField() != other.hasField()) return false;
       if (hasField()) {
-        if (!getField()
-            .equals(other.getField())) return false;
+        if (!getField().equals(other.getField())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1127,87 +1277,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
-    }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(java.io.InputStream input)
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    }
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1217,6 +1374,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compute numerical stats over an individual column, including
      * number of distinct values and value count distribution.
@@ -1224,21 +1383,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.class,
+                com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.newBuilder()
@@ -1246,16 +1408,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1269,13 +1430,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_CategoricalStatsConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
+          getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance();
       }
 
@@ -1290,7 +1452,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig result =
+            new com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -1304,46 +1467,52 @@ public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)other);
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other) {
-        if (other == com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig other) {
+        if (other
+            == com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance())
+          return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -1366,7 +1535,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1378,8 +1549,13 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          fieldBuilder_;
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1388,12 +1564,15 @@ public Builder mergeFrom(
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1402,6 +1581,7 @@ public boolean hasField() {
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -1412,6 +1592,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1435,6 +1617,8 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1444,8 +1628,7 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) {
        *
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
-      public Builder setField(
-          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (fieldBuilder_ == null) {
           field_ = builderForValue.build();
           onChanged();
@@ -1456,6 +1639,8 @@ public Builder setField(
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1469,7 +1654,9 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         if (fieldBuilder_ == null) {
           if (field_ != null) {
             field_ =
-              com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.FieldId.newBuilder(field_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             field_ = value;
           }
@@ -1481,6 +1668,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1502,6 +1691,8 @@ public Builder clearField() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1512,11 +1703,13 @@ public Builder clearField() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() {
-        
+
         onChanged();
         return getFieldFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1530,11 +1723,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
         if (fieldBuilder_ != null) {
           return fieldBuilder_.getMessageOrBuilder();
         } else {
-          return field_ == null ?
-              com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
+          return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_;
         }
       }
       /**
+       *
+       *
        * 
        * Field to compute categorical stats on. All column types are
        * supported except for arrays and structs. However, it may be more
@@ -1545,18 +1739,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * .google.privacy.dlp.v2.FieldId field = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
           getFieldFieldBuilder() {
         if (fieldBuilder_ == null) {
-          fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  getField(),
-                  getParentForChildren(),
-                  isClean());
+          fieldBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.FieldId,
+                  com.google.privacy.dlp.v2.FieldId.Builder,
+                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  getField(), getParentForChildren(), isClean());
           field_ = null;
         }
         return fieldBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1569,30 +1767,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig)
-    private static final com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig();
     }
 
-    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CategoricalStatsConfig parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CategoricalStatsConfig(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CategoricalStatsConfig parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new CategoricalStatsConfig(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1604,17 +1804,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface KAnonymityConfigOrBuilder extends
+  public interface KAnonymityConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1625,9 +1828,10 @@ public interface KAnonymityConfigOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List 
-        getQuasiIdsList();
+    java.util.List getQuasiIdsList();
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1640,6 +1844,8 @@ public interface KAnonymityConfigOrBuilder extends
      */
     com.google.privacy.dlp.v2.FieldId getQuasiIds(int index);
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1652,6 +1858,8 @@ public interface KAnonymityConfigOrBuilder extends
      */
     int getQuasiIdsCount();
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1662,9 +1870,10 @@ public interface KAnonymityConfigOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List 
-        getQuasiIdsOrBuilderList();
+    java.util.List getQuasiIdsOrBuilderList();
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1675,10 +1884,11 @@ public interface KAnonymityConfigOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
-        int index);
+    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1692,10 +1902,13 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; + * * @return Whether the entityId field is set. */ boolean hasEntityId(); /** + * + * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1709,10 +1922,13 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; + * * @return The entityId. */ com.google.privacy.dlp.v2.EntityId getEntityId(); /** + * + * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1730,37 +1946,39 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
     com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder();
   }
   /**
+   *
+   *
    * 
    * k-anonymity metric, used for analysis of reidentification risk.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig} */ - public static final class KAnonymityConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class KAnonymityConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) KAnonymityConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KAnonymityConfig.newBuilder() to construct. private KAnonymityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KAnonymityConfig() { quasiIds_ = 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 KAnonymityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private KAnonymityConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1780,42 +1998,46 @@ private KAnonymityConfig( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIds_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.privacy.dlp.v2.EntityId.Builder subBuilder = null; - if (entityId_ != null) { - subBuilder = entityId_.toBuilder(); - } - entityId_ = input.readMessage(com.google.privacy.dlp.v2.EntityId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entityId_); - entityId_ = subBuilder.buildPartial(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quasiIds_.add( + input.readMessage( + com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; } + case 18: + { + com.google.privacy.dlp.v2.EntityId.Builder subBuilder = null; + if (entityId_ != null) { + subBuilder = entityId_.toBuilder(); + } + entityId_ = + input.readMessage( + com.google.privacy.dlp.v2.EntityId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityId_); + entityId_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_); @@ -1824,22 +2046,27 @@ private KAnonymityConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); } public static final int QUASI_IDS_FIELD_NUMBER = 1; private java.util.List quasiIds_; /** + * + * *
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1855,6 +2082,8 @@ public java.util.List getQuasiIdsList() {
       return quasiIds_;
     }
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1866,11 +2095,13 @@ public java.util.List getQuasiIdsList() {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getQuasiIdsOrBuilderList() {
       return quasiIds_;
     }
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1886,6 +2117,8 @@ public int getQuasiIdsCount() {
       return quasiIds_.size();
     }
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1901,6 +2134,8 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
       return quasiIds_.get(index);
     }
     /**
+     *
+     *
      * 
      * Set of fields to compute k-anonymity over. When multiple fields are
      * specified, they are considered a single composite key. Structs and
@@ -1912,14 +2147,15 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
       return quasiIds_.get(index);
     }
 
     public static final int ENTITY_ID_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.EntityId entityId_;
     /**
+     *
+     *
      * 
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1933,6 +2169,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; + * * @return Whether the entityId field is set. */ @java.lang.Override @@ -1940,6 +2177,8 @@ public boolean hasEntityId() { return entityId_ != null; } /** + * + * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1953,13 +2192,18 @@ public boolean hasEntityId() {
      * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; + * * @return The entityId. */ @java.lang.Override public com.google.privacy.dlp.v2.EntityId getEntityId() { - return entityId_ == null ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() : entityId_; + return entityId_ == null + ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() + : entityId_; } /** + * + * *
      * Message indicating that multiple rows might be associated to a
      * single individual. If the same entity_id is associated to multiple
@@ -1980,6 +2224,7 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1991,8 +2236,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < quasiIds_.size(); i++) {
         output.writeMessage(1, quasiIds_.get(i));
       }
@@ -2009,12 +2253,10 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < quasiIds_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, quasiIds_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i));
       }
       if (entityId_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getEntityId());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntityId());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -2024,19 +2266,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.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig other =
+          (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) obj;
 
-      if (!getQuasiIdsList()
-          .equals(other.getQuasiIdsList())) return false;
+      if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false;
       if (hasEntityId() != other.hasEntityId()) return false;
       if (hasEntityId()) {
-        if (!getEntityId()
-            .equals(other.getEntityId())) return false;
+        if (!getEntityId().equals(other.getEntityId())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2063,87 +2304,94 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2153,27 +2401,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * k-anonymity metric, used for analysis of reidentification risk.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.class, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.newBuilder() @@ -2181,17 +2434,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2211,9 +2464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KAnonymityConfig_descriptor; } @java.lang.Override @@ -2232,7 +2485,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig(this); + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig result = + new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig(this); int from_bitField0_ = bitField0_; if (quasiIdsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2256,38 +2510,41 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) other); } else { super.mergeFrom(other); return this; @@ -2295,7 +2552,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) + return this; if (quasiIdsBuilder_ == null) { if (!other.quasiIds_.isEmpty()) { if (quasiIds_.isEmpty()) { @@ -2314,9 +2572,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfi quasiIdsBuilder_ = null; quasiIds_ = other.quasiIds_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsFieldBuilder() : null; + quasiIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsFieldBuilder() + : null; } else { quasiIdsBuilder_.addAllMessages(other.quasiIds_); } @@ -2344,7 +2603,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2353,21 +2613,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List quasiIds_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { quasiIds_ = new java.util.ArrayList(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> quasiIdsBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + quasiIdsBuilder_; /** + * + * *
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2386,6 +2653,8 @@ public java.util.List getQuasiIdsList() {
         }
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2404,6 +2673,8 @@ public int getQuasiIdsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2422,6 +2693,8 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2432,8 +2705,7 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder setQuasiIds(
-          int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2447,6 +2719,8 @@ public Builder setQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2469,6 +2743,8 @@ public Builder setQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2493,6 +2769,8 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2503,8 +2781,7 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(
-          int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2518,6 +2795,8 @@ public Builder addQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2528,8 +2807,7 @@ public Builder addQuasiIds(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(
-          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
           quasiIds_.add(builderForValue.build());
@@ -2540,6 +2818,8 @@ public Builder addQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2562,6 +2842,8 @@ public Builder addQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2576,8 +2858,7 @@ public Builder addAllQuasiIds(
           java.lang.Iterable values) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, quasiIds_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_);
           onChanged();
         } else {
           quasiIdsBuilder_.addAllMessages(values);
@@ -2585,6 +2866,8 @@ public Builder addAllQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2606,6 +2889,8 @@ public Builder clearQuasiIds() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2627,6 +2912,8 @@ public Builder removeQuasiIds(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2637,11 +2924,12 @@ public Builder removeQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(int index) {
         return getQuasiIdsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2652,14 +2940,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
         if (quasiIdsBuilder_ == null) {
-          return quasiIds_.get(index);  } else {
+          return quasiIds_.get(index);
+        } else {
           return quasiIdsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2670,8 +2960,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List 
-           getQuasiIdsOrBuilderList() {
+      public java.util.List
+          getQuasiIdsOrBuilderList() {
         if (quasiIdsBuilder_ != null) {
           return quasiIdsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2679,6 +2969,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2690,10 +2982,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
-        return getQuasiIdsFieldBuilder().addBuilder(
-            com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+        return getQuasiIdsFieldBuilder()
+            .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2704,12 +2998,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
-          int index) {
-        return getQuasiIdsFieldBuilder().addBuilder(
-            index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(int index) {
+        return getQuasiIdsFieldBuilder()
+            .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Set of fields to compute k-anonymity over. When multiple fields are
        * specified, they are considered a single composite key. Structs and
@@ -2720,20 +3015,22 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List 
-           getQuasiIdsBuilderList() {
+      public java.util.List getQuasiIdsBuilderList() {
         return getQuasiIdsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
           getQuasiIdsFieldBuilder() {
         if (quasiIdsBuilder_ == null) {
-          quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  quasiIds_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          quasiIdsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.privacy.dlp.v2.FieldId,
+                  com.google.privacy.dlp.v2.FieldId.Builder,
+                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           quasiIds_ = null;
         }
         return quasiIdsBuilder_;
@@ -2741,8 +3038,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
 
       private com.google.privacy.dlp.v2.EntityId entityId_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.EntityId, com.google.privacy.dlp.v2.EntityId.Builder, com.google.privacy.dlp.v2.EntityIdOrBuilder> entityIdBuilder_;
+              com.google.privacy.dlp.v2.EntityId,
+              com.google.privacy.dlp.v2.EntityId.Builder,
+              com.google.privacy.dlp.v2.EntityIdOrBuilder>
+          entityIdBuilder_;
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2756,12 +3058,15 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
        * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; + * * @return Whether the entityId field is set. */ public boolean hasEntityId() { return entityIdBuilder_ != null || entityId_ != null; } /** + * + * *
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2775,16 +3080,21 @@ public boolean hasEntityId() {
        * 
* * .google.privacy.dlp.v2.EntityId entity_id = 2; + * * @return The entityId. */ public com.google.privacy.dlp.v2.EntityId getEntityId() { if (entityIdBuilder_ == null) { - return entityId_ == null ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() : entityId_; + return entityId_ == null + ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance() + : entityId_; } else { return entityIdBuilder_.getMessage(); } } /** + * + * *
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2813,6 +3123,8 @@ public Builder setEntityId(com.google.privacy.dlp.v2.EntityId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2827,8 +3139,7 @@ public Builder setEntityId(com.google.privacy.dlp.v2.EntityId value) {
        *
        * .google.privacy.dlp.v2.EntityId entity_id = 2;
        */
-      public Builder setEntityId(
-          com.google.privacy.dlp.v2.EntityId.Builder builderForValue) {
+      public Builder setEntityId(com.google.privacy.dlp.v2.EntityId.Builder builderForValue) {
         if (entityIdBuilder_ == null) {
           entityId_ = builderForValue.build();
           onChanged();
@@ -2839,6 +3150,8 @@ public Builder setEntityId(
         return this;
       }
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2857,7 +3170,9 @@ public Builder mergeEntityId(com.google.privacy.dlp.v2.EntityId value) {
         if (entityIdBuilder_ == null) {
           if (entityId_ != null) {
             entityId_ =
-              com.google.privacy.dlp.v2.EntityId.newBuilder(entityId_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.EntityId.newBuilder(entityId_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             entityId_ = value;
           }
@@ -2869,6 +3184,8 @@ public Builder mergeEntityId(com.google.privacy.dlp.v2.EntityId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2895,6 +3212,8 @@ public Builder clearEntityId() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2910,11 +3229,13 @@ public Builder clearEntityId() {
        * .google.privacy.dlp.v2.EntityId entity_id = 2;
        */
       public com.google.privacy.dlp.v2.EntityId.Builder getEntityIdBuilder() {
-        
+
         onChanged();
         return getEntityIdFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2933,11 +3254,14 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
         if (entityIdBuilder_ != null) {
           return entityIdBuilder_.getMessageOrBuilder();
         } else {
-          return entityId_ == null ?
-              com.google.privacy.dlp.v2.EntityId.getDefaultInstance() : entityId_;
+          return entityId_ == null
+              ? com.google.privacy.dlp.v2.EntityId.getDefaultInstance()
+              : entityId_;
         }
       }
       /**
+       *
+       *
        * 
        * Message indicating that multiple rows might be associated to a
        * single individual. If the same entity_id is associated to multiple
@@ -2953,18 +3277,22 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
        * .google.privacy.dlp.v2.EntityId entity_id = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.EntityId, com.google.privacy.dlp.v2.EntityId.Builder, com.google.privacy.dlp.v2.EntityIdOrBuilder> 
+              com.google.privacy.dlp.v2.EntityId,
+              com.google.privacy.dlp.v2.EntityId.Builder,
+              com.google.privacy.dlp.v2.EntityIdOrBuilder>
           getEntityIdFieldBuilder() {
         if (entityIdBuilder_ == null) {
-          entityIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.EntityId, com.google.privacy.dlp.v2.EntityId.Builder, com.google.privacy.dlp.v2.EntityIdOrBuilder>(
-                  getEntityId(),
-                  getParentForChildren(),
-                  isClean());
+          entityIdBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.EntityId,
+                  com.google.privacy.dlp.v2.EntityId.Builder,
+                  com.google.privacy.dlp.v2.EntityIdOrBuilder>(
+                  getEntityId(), getParentForChildren(), isClean());
           entityId_ = null;
         }
         return entityIdBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2977,12 +3305,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig)
     private static final com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig();
     }
@@ -2991,16 +3319,16 @@ public static com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public KAnonymityConfig parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new KAnonymityConfig(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public KAnonymityConfig parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new KAnonymityConfig(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3015,14 +3343,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface LDiversityConfigOrBuilder extends
+  public interface LDiversityConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3031,9 +3361,10 @@ public interface LDiversityConfigOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List 
-        getQuasiIdsList();
+    java.util.List getQuasiIdsList();
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3044,6 +3375,8 @@ public interface LDiversityConfigOrBuilder extends
      */
     com.google.privacy.dlp.v2.FieldId getQuasiIds(int index);
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3054,6 +3387,8 @@ public interface LDiversityConfigOrBuilder extends
      */
     int getQuasiIdsCount();
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3062,9 +3397,10 @@ public interface LDiversityConfigOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    java.util.List 
-        getQuasiIdsOrBuilderList();
+    java.util.List getQuasiIdsOrBuilderList();
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3073,28 +3409,35 @@ public interface LDiversityConfigOrBuilder extends
      *
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
-    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
-        int index);
+    com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; + * * @return Whether the sensitiveAttribute field is set. */ boolean hasSensitiveAttribute(); /** + * + * *
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; + * * @return The sensitiveAttribute. */ com.google.privacy.dlp.v2.FieldId getSensitiveAttribute(); /** + * + * *
      * Sensitive field for computing the l-value.
      * 
@@ -3104,37 +3447,39 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder( com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder(); } /** + * + * *
    * l-diversity metric, used for analysis of reidentification risk.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig} */ - public static final class LDiversityConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LDiversityConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) LDiversityConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LDiversityConfig.newBuilder() to construct. private LDiversityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LDiversityConfig() { quasiIds_ = 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 LDiversityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LDiversityConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3154,42 +3499,46 @@ private LDiversityConfig( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - quasiIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - quasiIds_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (sensitiveAttribute_ != null) { - subBuilder = sensitiveAttribute_.toBuilder(); - } - sensitiveAttribute_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sensitiveAttribute_); - sensitiveAttribute_ = subBuilder.buildPartial(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + quasiIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + quasiIds_.add( + input.readMessage( + com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; } + case 18: + { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (sensitiveAttribute_ != null) { + subBuilder = sensitiveAttribute_.toBuilder(); + } + sensitiveAttribute_ = + input.readMessage( + com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sensitiveAttribute_); + sensitiveAttribute_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_); @@ -3198,22 +3547,27 @@ private LDiversityConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); } public static final int QUASI_IDS_FIELD_NUMBER = 1; private java.util.List quasiIds_; /** + * + * *
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3227,6 +3581,8 @@ public java.util.List getQuasiIdsList() {
       return quasiIds_;
     }
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3236,11 +3592,13 @@ public java.util.List getQuasiIdsList() {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getQuasiIdsOrBuilderList() {
       return quasiIds_;
     }
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3254,6 +3612,8 @@ public int getQuasiIdsCount() {
       return quasiIds_.size();
     }
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3267,6 +3627,8 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
       return quasiIds_.get(index);
     }
     /**
+     *
+     *
      * 
      * Set of quasi-identifiers indicating how equivalence classes are
      * defined for the l-diversity computation. When multiple fields are
@@ -3276,19 +3638,21 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
      * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
       return quasiIds_.get(index);
     }
 
     public static final int SENSITIVE_ATTRIBUTE_FIELD_NUMBER = 2;
     private com.google.privacy.dlp.v2.FieldId sensitiveAttribute_;
     /**
+     *
+     *
      * 
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; + * * @return Whether the sensitiveAttribute field is set. */ @java.lang.Override @@ -3296,18 +3660,25 @@ public boolean hasSensitiveAttribute() { return sensitiveAttribute_ != null; } /** + * + * *
      * Sensitive field for computing the l-value.
      * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; + * * @return The sensitiveAttribute. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() { - return sensitiveAttribute_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : sensitiveAttribute_; + return sensitiveAttribute_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : sensitiveAttribute_; } /** + * + * *
      * Sensitive field for computing the l-value.
      * 
@@ -3320,6 +3691,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3331,8 +3703,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -3349,12 +3720,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); } if (sensitiveAttribute_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSensitiveAttribute()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSensitiveAttribute()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3364,19 +3734,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.privacy.dlp.v2.PrivacyMetric.LDiversityConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) obj; + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig other = + (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) obj; - if (!getQuasiIdsList() - .equals(other.getQuasiIdsList())) return false; + if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; if (hasSensitiveAttribute() != other.hasSensitiveAttribute()) return false; if (hasSensitiveAttribute()) { - if (!getSensitiveAttribute() - .equals(other.getSensitiveAttribute())) return false; + if (!getSensitiveAttribute().equals(other.getSensitiveAttribute())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3403,87 +3772,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3493,27 +3869,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * l-diversity metric, used for analysis of reidentification risk.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.class, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.newBuilder() @@ -3521,17 +3902,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3551,9 +3932,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_LDiversityConfig_descriptor; } @java.lang.Override @@ -3572,7 +3953,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(this); + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig result = + new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(this); int from_bitField0_ = bitField0_; if (quasiIdsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3596,38 +3978,41 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) other); } else { super.mergeFrom(other); return this; @@ -3635,7 +4020,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) + return this; if (quasiIdsBuilder_ == null) { if (!other.quasiIds_.isEmpty()) { if (quasiIds_.isEmpty()) { @@ -3654,9 +4040,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfi quasiIdsBuilder_ = null; quasiIds_ = other.quasiIds_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsFieldBuilder() : null; + quasiIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsFieldBuilder() + : null; } else { quasiIdsBuilder_.addAllMessages(other.quasiIds_); } @@ -3684,7 +4071,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3693,21 +4081,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List quasiIds_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { quasiIds_ = new java.util.ArrayList(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> quasiIdsBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + quasiIdsBuilder_; /** + * + * *
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3724,6 +4119,8 @@ public java.util.List getQuasiIdsList() {
         }
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3740,6 +4137,8 @@ public int getQuasiIdsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3756,6 +4155,8 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3764,8 +4165,7 @@ public com.google.privacy.dlp.v2.FieldId getQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder setQuasiIds(
-          int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3779,6 +4179,8 @@ public Builder setQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3799,6 +4201,8 @@ public Builder setQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3821,6 +4225,8 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3829,8 +4235,7 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId value) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(
-          int index, com.google.privacy.dlp.v2.FieldId value) {
+      public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.FieldId value) {
         if (quasiIdsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3844,6 +4249,8 @@ public Builder addQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3852,8 +4259,7 @@ public Builder addQuasiIds(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public Builder addQuasiIds(
-          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder addQuasiIds(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
           quasiIds_.add(builderForValue.build());
@@ -3864,6 +4270,8 @@ public Builder addQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3884,6 +4292,8 @@ public Builder addQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3896,8 +4306,7 @@ public Builder addAllQuasiIds(
           java.lang.Iterable values) {
         if (quasiIdsBuilder_ == null) {
           ensureQuasiIdsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, quasiIds_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_);
           onChanged();
         } else {
           quasiIdsBuilder_.addAllMessages(values);
@@ -3905,6 +4314,8 @@ public Builder addAllQuasiIds(
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3924,6 +4335,8 @@ public Builder clearQuasiIds() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3943,6 +4356,8 @@ public Builder removeQuasiIds(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3951,11 +4366,12 @@ public Builder removeQuasiIds(int index) {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(int index) {
         return getQuasiIdsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3964,14 +4380,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder getQuasiIdsBuilder(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
-          int index) {
+      public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(int index) {
         if (quasiIdsBuilder_ == null) {
-          return quasiIds_.get(index);  } else {
+          return quasiIds_.get(index);
+        } else {
           return quasiIdsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3980,8 +4398,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List 
-           getQuasiIdsOrBuilderList() {
+      public java.util.List
+          getQuasiIdsOrBuilderList() {
         if (quasiIdsBuilder_ != null) {
           return quasiIdsBuilder_.getMessageOrBuilderList();
         } else {
@@ -3989,6 +4407,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3998,10 +4418,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getQuasiIdsOrBuilder(
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
-        return getQuasiIdsFieldBuilder().addBuilder(
-            com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+        return getQuasiIdsFieldBuilder()
+            .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4010,12 +4432,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder() {
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
-          int index) {
-        return getQuasiIdsFieldBuilder().addBuilder(
-            index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(int index) {
+        return getQuasiIdsFieldBuilder()
+            .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4024,20 +4447,22 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
        *
        * repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1;
        */
-      public java.util.List 
-           getQuasiIdsBuilderList() {
+      public java.util.List getQuasiIdsBuilderList() {
         return getQuasiIdsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
           getQuasiIdsFieldBuilder() {
         if (quasiIdsBuilder_ == null) {
-          quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  quasiIds_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          quasiIdsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.privacy.dlp.v2.FieldId,
+                  com.google.privacy.dlp.v2.FieldId.Builder,
+                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           quasiIds_ = null;
         }
         return quasiIdsBuilder_;
@@ -4045,34 +4470,47 @@ public com.google.privacy.dlp.v2.FieldId.Builder addQuasiIdsBuilder(
 
       private com.google.privacy.dlp.v2.FieldId sensitiveAttribute_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> sensitiveAttributeBuilder_;
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          sensitiveAttributeBuilder_;
       /**
+       *
+       *
        * 
        * Sensitive field for computing the l-value.
        * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; + * * @return Whether the sensitiveAttribute field is set. */ public boolean hasSensitiveAttribute() { return sensitiveAttributeBuilder_ != null || sensitiveAttribute_ != null; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
* * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; + * * @return The sensitiveAttribute. */ public com.google.privacy.dlp.v2.FieldId getSensitiveAttribute() { if (sensitiveAttributeBuilder_ == null) { - return sensitiveAttribute_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : sensitiveAttribute_; + return sensitiveAttribute_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : sensitiveAttribute_; } else { return sensitiveAttributeBuilder_.getMessage(); } } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4093,6 +4531,8 @@ public Builder setSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4111,6 +4551,8 @@ public Builder setSensitiveAttribute( return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4121,7 +4563,9 @@ public Builder mergeSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) if (sensitiveAttributeBuilder_ == null) { if (sensitiveAttribute_ != null) { sensitiveAttribute_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(sensitiveAttribute_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(sensitiveAttribute_) + .mergeFrom(value) + .buildPartial(); } else { sensitiveAttribute_ = value; } @@ -4133,6 +4577,8 @@ public Builder mergeSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4151,6 +4597,8 @@ public Builder clearSensitiveAttribute() { return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4158,11 +4606,13 @@ public Builder clearSensitiveAttribute() { * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getSensitiveAttributeBuilder() { - + onChanged(); return getSensitiveAttributeFieldBuilder().getBuilder(); } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4173,11 +4623,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder if (sensitiveAttributeBuilder_ != null) { return sensitiveAttributeBuilder_.getMessageOrBuilder(); } else { - return sensitiveAttribute_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : sensitiveAttribute_; + return sensitiveAttribute_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : sensitiveAttribute_; } } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4185,18 +4638,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder * .google.privacy.dlp.v2.FieldId sensitive_attribute = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getSensitiveAttributeFieldBuilder() { if (sensitiveAttributeBuilder_ == null) { - sensitiveAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getSensitiveAttribute(), - getParentForChildren(), - isClean()); + sensitiveAttributeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getSensitiveAttribute(), getParentForChildren(), isClean()); sensitiveAttribute_ = null; } return sensitiveAttributeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4209,12 +4666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) private static final com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig(); } @@ -4223,16 +4680,16 @@ public static com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LDiversityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LDiversityConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LDiversityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LDiversityConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4247,63 +4704,87 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface KMapEstimationConfigOrBuilder extends + public interface KMapEstimationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getQuasiIdsList(); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getQuasiIdsCount(); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> getQuasiIdsOrBuilderList(); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder( - int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder + getQuasiIdsOrBuilder(int index); /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -4311,10 +4792,13 @@ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilde
      * 
* * string region_code = 2; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -4322,66 +4806,92 @@ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilde
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - java.util.List + java.util.List getAuxiliaryTablesList(); /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables( + int index); /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ int getAuxiliaryTablesCount(); /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .AuxiliaryTableOrBuilder> getAuxiliaryTablesOrBuilderList(); /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder( - int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder + getAuxiliaryTablesOrBuilder(int index); } /** + * + * *
    * Reidentifiability metric. This corresponds to a risk model similar to what
    * is called "journalist risk" in the literature, except the attack dataset is
@@ -4393,15 +4903,16 @@ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBui
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig}
    */
-  public static final class KMapEstimationConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class KMapEstimationConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)
       KMapEstimationConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use KMapEstimationConfig.newBuilder() to construct.
     private KMapEstimationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private KMapEstimationConfig() {
       quasiIds_ = java.util.Collections.emptyList();
       regionCode_ = "";
@@ -4410,16 +4921,15 @@ private KMapEstimationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new KMapEstimationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private KMapEstimationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4439,44 +4949,58 @@ private KMapEstimationConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                quasiIds_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  quasiIds_ =
+                      new java.util.ArrayList<
+                          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
+                              .TaggedField>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                quasiIds_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+                            .parser(),
+                        extensionRegistry));
+                break;
               }
-              quasiIds_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              regionCode_ = s;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                auxiliaryTables_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                regionCode_ = s;
+                break;
               }
-              auxiliaryTables_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  auxiliaryTables_ =
+                      new java.util.ArrayList<
+                          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
+                              .AuxiliaryTable>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                auxiliaryTables_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable
+                            .parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -4488,51 +5012,68 @@ private KMapEstimationConfig(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class,
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
     }
 
-    public interface TaggedFieldOrBuilder extends
+    public interface TaggedFieldOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** + * + * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -4542,10 +5083,13 @@ public interface TaggedFieldOrBuilder extends
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -4555,10 +5099,13 @@ public interface TaggedFieldOrBuilder extends
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -4572,6 +5119,8 @@ public interface TaggedFieldOrBuilder extends
       com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
       /**
+       *
+       *
        * 
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -4579,10 +5128,13 @@ public interface TaggedFieldOrBuilder extends
        * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ boolean hasCustomTag(); /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -4590,10 +5142,13 @@ public interface TaggedFieldOrBuilder extends
        * 
* * string custom_tag = 3; + * * @return The customTag. */ java.lang.String getCustomTag(); /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -4601,32 +5156,40 @@ public interface TaggedFieldOrBuilder extends
        * 
* * string custom_tag = 3; + * * @return The bytes for customTag. */ - com.google.protobuf.ByteString - getCustomTagBytes(); + com.google.protobuf.ByteString getCustomTagBytes(); /** + * + * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; + * * @return Whether the inferred field is set. */ boolean hasInferred(); /** + * + * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; + * * @return The inferred. */ com.google.protobuf.Empty getInferred(); /** + * + * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
@@ -4636,39 +5199,41 @@ public interface TaggedFieldOrBuilder extends
        */
       com.google.protobuf.EmptyOrBuilder getInferredOrBuilder();
 
-      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase getTagCase();
+      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.TagCase
+          getTagCase();
     }
     /**
+     *
+     *
      * 
      * A column with a semantic tag attached.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField} */ - public static final class TaggedField extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TaggedField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) TaggedFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TaggedField.newBuilder() to construct. private TaggedField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TaggedField() { - } + + private TaggedField() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TaggedField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TaggedField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4687,95 +5252,108 @@ private TaggedField( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage( + com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (tagCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); + break; } - tag_ = - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (tagCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); + } + tag_ = + input.readMessage( + com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); + tag_ = subBuilder.buildPartial(); + } + tagCase_ = 2; + break; } - tagCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - tagCase_ = 3; - tag_ = s; - break; - } - case 34: { - com.google.protobuf.Empty.Builder subBuilder = null; - if (tagCase_ == 4) { - subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + tagCase_ = 3; + tag_ = s; + break; } - tag_ = - input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); - tag_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Empty.Builder subBuilder = null; + if (tagCase_ == 4) { + subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); + } + tag_ = input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); + tag_ = subBuilder.buildPartial(); + } + tagCase_ = 4; + break; } - tagCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + .class); } private int tagCase_ = 0; private java.lang.Object tag_; + public enum TagCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE(2), CUSTOM_TAG(3), INFERRED(4), TAG_NOT_SET(0); private final int value; + private TagCase(int value) { this.value = value; } @@ -4791,32 +5369,40 @@ public static TagCase valueOf(int value) { public static TagCase forNumber(int value) { switch (value) { - case 2: return INFO_TYPE; - case 3: return CUSTOM_TAG; - case 4: return INFERRED; - case 0: return TAG_NOT_SET; - default: return null; + case 2: + return INFO_TYPE; + case 3: + return CUSTOM_TAG; + case 4: + return INFERRED; + case 0: + return TAG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TagCase - getTagCase() { - return TagCase.forNumber( - tagCase_); + public TagCase getTagCase() { + return TagCase.forNumber(tagCase_); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.FieldId field_; /** + * + * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ @java.lang.Override @@ -4824,11 +5410,15 @@ public boolean hasField() { return field_ != null; } /** + * + * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ @java.lang.Override @@ -4836,11 +5426,14 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
        * Required. Identifies the column.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { @@ -4849,6 +5442,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int INFO_TYPE_FIELD_NUMBER = 2; /** + * + * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -4858,6 +5453,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -4865,6 +5461,8 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** + * + * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -4874,16 +5472,19 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { if (tagCase_ == 2) { - return (com.google.privacy.dlp.v2.InfoType) tag_; + return (com.google.privacy.dlp.v2.InfoType) tag_; } return com.google.privacy.dlp.v2.InfoType.getDefaultInstance(); } /** + * + * *
        * A column can be tagged with a InfoType to use the relevant public
        * dataset as a statistical model of population, if available. We
@@ -4897,13 +5498,15 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
       @java.lang.Override
       public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
         if (tagCase_ == 2) {
-           return (com.google.privacy.dlp.v2.InfoType) tag_;
+          return (com.google.privacy.dlp.v2.InfoType) tag_;
         }
         return com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
       }
 
       public static final int CUSTOM_TAG_FIELD_NUMBER = 3;
       /**
+       *
+       *
        * 
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -4911,12 +5514,15 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
        * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ public boolean hasCustomTag() { return tagCase_ == 3; } /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -4924,6 +5530,7 @@ public boolean hasCustomTag() {
        * 
* * string custom_tag = 3; + * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -4934,8 +5541,7 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -4944,6 +5550,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -4951,18 +5559,17 @@ public java.lang.String getCustomTag() {
        * 
* * string custom_tag = 3; + * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -4974,12 +5581,15 @@ public java.lang.String getCustomTag() { public static final int INFERRED_FIELD_NUMBER = 4; /** + * + * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; + * * @return Whether the inferred field is set. */ @java.lang.Override @@ -4987,22 +5597,27 @@ public boolean hasInferred() { return tagCase_ == 4; } /** + * + * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
        * 
* * .google.protobuf.Empty inferred = 4; + * * @return The inferred. */ @java.lang.Override public com.google.protobuf.Empty getInferred() { if (tagCase_ == 4) { - return (com.google.protobuf.Empty) tag_; + return (com.google.protobuf.Empty) tag_; } return com.google.protobuf.Empty.getDefaultInstance(); } /** + * + * *
        * If no semantic tag is indicated, we infer the statistical model from
        * the distribution of values in the input data
@@ -5013,12 +5628,13 @@ public com.google.protobuf.Empty getInferred() {
       @java.lang.Override
       public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
         if (tagCase_ == 4) {
-           return (com.google.protobuf.Empty) tag_;
+          return (com.google.protobuf.Empty) tag_;
         }
         return com.google.protobuf.Empty.getDefaultInstance();
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -5030,8 +5646,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (field_ != null) {
           output.writeMessage(1, getField());
         }
@@ -5054,19 +5669,20 @@ public int getSerializedSize() {
 
         size = 0;
         if (field_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(1, getField());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
         }
         if (tagCase_ == 2) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(2, (com.google.privacy.dlp.v2.InfoType) tag_);
+          size +=
+              com.google.protobuf.CodedOutputStream.computeMessageSize(
+                  2, (com.google.privacy.dlp.v2.InfoType) tag_);
         }
         if (tagCase_ == 3) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tag_);
         }
         if (tagCase_ == 4) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(4, (com.google.protobuf.Empty) tag_);
+          size +=
+              com.google.protobuf.CodedOutputStream.computeMessageSize(
+                  4, (com.google.protobuf.Empty) tag_);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -5076,31 +5692,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)) {
+        if (!(obj
+            instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)) {
           return super.equals(obj);
         }
-        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) obj;
+        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other =
+            (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) obj;
 
         if (hasField() != other.hasField()) return false;
         if (hasField()) {
-          if (!getField()
-              .equals(other.getField())) return false;
+          if (!getField().equals(other.getField())) return false;
         }
         if (!getTagCase().equals(other.getTagCase())) return false;
         switch (tagCase_) {
           case 2:
-            if (!getInfoType()
-                .equals(other.getInfoType())) return false;
+            if (!getInfoType().equals(other.getInfoType())) return false;
             break;
           case 3:
-            if (!getCustomTag()
-                .equals(other.getCustomTag())) return false;
+            if (!getCustomTag().equals(other.getCustomTag())) return false;
             break;
           case 4:
-            if (!getInferred()
-                .equals(other.getInferred())) return false;
+            if (!getInferred().equals(other.getInferred())) return false;
             break;
           case 0:
           default:
@@ -5141,88 +5755,103 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(java.nio.ByteBuffer data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(
+              java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
-          com.google.protobuf.ByteString data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(com.google.protobuf.ByteString data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
-          com.google.protobuf.ByteString data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(
+              com.google.protobuf.ByteString data,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseDelimitedFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseDelimitedFrom(
+              java.io.InputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField prototype) {
+
+      public static Builder newBuilder(
+          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -5232,44 +5861,50 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * A column with a semantic tag attached.
        * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.class, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5285,19 +5920,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_TaggedField_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField build() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5305,8 +5943,10 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField(this); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField + buildPartial() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField result = + new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -5338,67 +5978,79 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)other); + if (other + instanceof com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) { + return mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance()) return this; - if (other.hasField()) { - mergeField(other.getField()); - } - switch (other.getTagCase()) { - case INFO_TYPE: { - mergeInfoType(other.getInfoType()); - break; - } - case CUSTOM_TAG: { - tagCase_ = 3; - tag_ = other.tag_; - onChanged(); - break; - } - case INFERRED: { - mergeInferred(other.getInferred()); - break; - } - case TAG_NOT_SET: { - break; - } + public Builder mergeFrom( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField other) { + if (other + == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField + .getDefaultInstance()) return this; + if (other.hasField()) { + mergeField(other.getField()); + } + switch (other.getTagCase()) { + case INFO_TYPE: + { + mergeInfoType(other.getInfoType()); + break; + } + case CUSTOM_TAG: + { + tagCase_ = 3; + tag_ = other.tag_; + onChanged(); + break; + } + case INFERRED: + { + mergeInferred(other.getInferred()); + break; + } + case TAG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5415,11 +6067,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parsedMessage = null; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5428,12 +6083,12 @@ public Builder mergeFrom( } return this; } + private int tagCase_ = 0; private java.lang.Object tag_; - public TagCase - getTagCase() { - return TagCase.forNumber( - tagCase_); + + public TagCase getTagCase() { + return TagCase.forNumber(tagCase_); } public Builder clearTag() { @@ -5443,27 +6098,37 @@ public Builder clearTag() { return this; } - private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldBuilder_; /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -5474,11 +6139,14 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { @@ -5494,14 +6162,16 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -5512,17 +6182,22 @@ public Builder setField( return this; } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -5534,11 +6209,14 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -5552,56 +6230,72 @@ public Builder clearField() { return this; } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
          * Required. Identifies the column.
          * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + infoTypeBuilder_; /** + * + * *
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5611,6 +6305,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -5618,6 +6313,8 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** + * + * *
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5627,6 +6324,7 @@ public boolean hasInfoType() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override @@ -5644,6 +6342,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { } } /** + * + * *
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5668,6 +6368,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5678,8 +6380,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
          *
          * .google.privacy.dlp.v2.InfoType info_type = 2;
          */
-        public Builder setInfoType(
-            com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+        public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
           if (infoTypeBuilder_ == null) {
             tag_ = builderForValue.build();
             onChanged();
@@ -5690,6 +6391,8 @@ public Builder setInfoType(
           return this;
         }
         /**
+         *
+         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5702,10 +6405,12 @@ public Builder setInfoType(
          */
         public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           if (infoTypeBuilder_ == null) {
-            if (tagCase_ == 2 &&
-                tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
-              tag_ = com.google.privacy.dlp.v2.InfoType.newBuilder((com.google.privacy.dlp.v2.InfoType) tag_)
-                  .mergeFrom(value).buildPartial();
+            if (tagCase_ == 2 && tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
+              tag_ =
+                  com.google.privacy.dlp.v2.InfoType.newBuilder(
+                          (com.google.privacy.dlp.v2.InfoType) tag_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               tag_ = value;
             }
@@ -5720,6 +6425,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5747,6 +6454,8 @@ public Builder clearInfoType() {
           return this;
         }
         /**
+         *
+         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5761,6 +6470,8 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
           return getInfoTypeFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5783,6 +6494,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
           }
         }
         /**
+         *
+         *
          * 
          * A column can be tagged with a InfoType to use the relevant public
          * dataset as a statistical model of population, if available. We
@@ -5794,25 +6507,31 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * .google.privacy.dlp.v2.InfoType info_type = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>
             getInfoTypeFieldBuilder() {
           if (infoTypeBuilder_ == null) {
             if (!(tagCase_ == 2)) {
               tag_ = com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
             }
-            infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                    (com.google.privacy.dlp.v2.InfoType) tag_,
-                    getParentForChildren(),
-                    isClean());
+            infoTypeBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.privacy.dlp.v2.InfoType,
+                    com.google.privacy.dlp.v2.InfoType.Builder,
+                    com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                    (com.google.privacy.dlp.v2.InfoType) tag_, getParentForChildren(), isClean());
             tag_ = null;
           }
           tagCase_ = 2;
-          onChanged();;
+          onChanged();
+          ;
           return infoTypeBuilder_;
         }
 
         /**
+         *
+         *
          * 
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -5820,6 +6539,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ @java.lang.Override @@ -5827,6 +6547,8 @@ public boolean hasCustomTag() { return tagCase_ == 3; } /** + * + * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -5834,6 +6556,7 @@ public boolean hasCustomTag() {
          * 
* * string custom_tag = 3; + * * @return The customTag. */ @java.lang.Override @@ -5843,8 +6566,7 @@ public java.lang.String getCustomTag() { ref = tag_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -5855,6 +6577,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -5862,19 +6586,18 @@ public java.lang.String getCustomTag() {
          * 
* * string custom_tag = 3; + * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -5884,6 +6607,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -5891,20 +6616,22 @@ public java.lang.String getCustomTag() {
          * 
* * string custom_tag = 3; + * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag( - java.lang.String value) { + public Builder setCustomTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - tagCase_ = 3; + throw new NullPointerException(); + } + tagCase_ = 3; tag_ = value; onChanged(); return this; } /** + * + * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -5912,6 +6639,7 @@ public Builder setCustomTag(
          * 
* * string custom_tag = 3; + * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -5923,6 +6651,8 @@ public Builder clearCustomTag() { return this; } /** + * + * *
          * A column can be tagged with a custom tag. In this case, the user must
          * indicate an auxiliary table that contains statistical information on
@@ -5930,15 +6660,15 @@ public Builder clearCustomTag() {
          * 
* * string custom_tag = 3; + * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); tagCase_ = 3; tag_ = value; onChanged(); @@ -5946,14 +6676,20 @@ public Builder setCustomTagBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> inferredBuilder_; + com.google.protobuf.Empty, + com.google.protobuf.Empty.Builder, + com.google.protobuf.EmptyOrBuilder> + inferredBuilder_; /** + * + * *
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
          * 
* * .google.protobuf.Empty inferred = 4; + * * @return Whether the inferred field is set. */ @java.lang.Override @@ -5961,12 +6697,15 @@ public boolean hasInferred() { return tagCase_ == 4; } /** + * + * *
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
          * 
* * .google.protobuf.Empty inferred = 4; + * * @return The inferred. */ @java.lang.Override @@ -5984,6 +6723,8 @@ public com.google.protobuf.Empty getInferred() { } } /** + * + * *
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6005,6 +6746,8 @@ public Builder setInferred(com.google.protobuf.Empty value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6012,8 +6755,7 @@ public Builder setInferred(com.google.protobuf.Empty value) {
          *
          * .google.protobuf.Empty inferred = 4;
          */
-        public Builder setInferred(
-            com.google.protobuf.Empty.Builder builderForValue) {
+        public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
           if (inferredBuilder_ == null) {
             tag_ = builderForValue.build();
             onChanged();
@@ -6024,6 +6766,8 @@ public Builder setInferred(
           return this;
         }
         /**
+         *
+         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6033,10 +6777,11 @@ public Builder setInferred(
          */
         public Builder mergeInferred(com.google.protobuf.Empty value) {
           if (inferredBuilder_ == null) {
-            if (tagCase_ == 4 &&
-                tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
-              tag_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
-                  .mergeFrom(value).buildPartial();
+            if (tagCase_ == 4 && tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
+              tag_ =
+                  com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               tag_ = value;
             }
@@ -6051,6 +6796,8 @@ public Builder mergeInferred(com.google.protobuf.Empty value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6075,6 +6822,8 @@ public Builder clearInferred() {
           return this;
         }
         /**
+         *
+         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6086,6 +6835,8 @@ public com.google.protobuf.Empty.Builder getInferredBuilder() {
           return getInferredFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6105,6 +6856,8 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
           }
         }
         /**
+         *
+         *
          * 
          * If no semantic tag is indicated, we infer the statistical model from
          * the distribution of values in the input data
@@ -6113,23 +6866,28 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
          * .google.protobuf.Empty inferred = 4;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> 
+                com.google.protobuf.Empty,
+                com.google.protobuf.Empty.Builder,
+                com.google.protobuf.EmptyOrBuilder>
             getInferredFieldBuilder() {
           if (inferredBuilder_ == null) {
             if (!(tagCase_ == 4)) {
               tag_ = com.google.protobuf.Empty.getDefaultInstance();
             }
-            inferredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>(
-                    (com.google.protobuf.Empty) tag_,
-                    getParentForChildren(),
-                    isClean());
+            inferredBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.protobuf.Empty,
+                    com.google.protobuf.Empty.Builder,
+                    com.google.protobuf.EmptyOrBuilder>(
+                    (com.google.protobuf.Empty) tag_, getParentForChildren(), isClean());
             tag_ = null;
           }
           tagCase_ = 4;
-          onChanged();;
+          onChanged();
+          ;
           return inferredBuilder_;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6142,30 +6900,33 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)
       }
 
       // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField)
-      private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField DEFAULT_INSTANCE;
+      private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          DEFAULT_INSTANCE;
+
       static {
-        DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField();
+        DEFAULT_INSTANCE =
+            new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField();
       }
 
-      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstance() {
+      public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TaggedField parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TaggedField(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public TaggedField parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new TaggedField(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -6177,118 +6938,176 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
-    public interface AuxiliaryTableOrBuilder extends
+    public interface AuxiliaryTableOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. Auxiliary table location.
        * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
        * Required. Auxiliary table location.
        * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** + * + * *
        * Required. Auxiliary table location.
        * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField> getQuasiIdsList(); /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getQuasiIds(int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + getQuasiIds(int index); /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getQuasiIdsCount(); /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder> getQuasiIdsOrBuilderList(); /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder getQuasiIdsOrBuilder( - int index); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder + getQuasiIdsOrBuilder(int index); /** + * + * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the relativeFrequency field is set. */ boolean hasRelativeFrequency(); /** + * + * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The relativeFrequency. */ com.google.privacy.dlp.v2.FieldId getRelativeFrequency(); /** + * + * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder(); } /** + * + * *
      * An auxiliary table contains statistical information on the relative
      * frequency of different quasi-identifiers values. It has one or several
@@ -6301,31 +7120,31 @@ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Quas
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable}
      */
-    public static final class AuxiliaryTable extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class AuxiliaryTable extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)
         AuxiliaryTableOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use AuxiliaryTable.newBuilder() to construct.
       private AuxiliaryTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private AuxiliaryTable() {
         quasiIds_ = 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 AuxiliaryTable();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private AuxiliaryTable(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6345,55 +7164,68 @@ private AuxiliaryTable(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  quasiIds_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                quasiIds_.add(
-                    input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.parser(), extensionRegistry));
-                break;
-              }
-              case 18: {
-                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-                if (relativeFrequency_ != null) {
-                  subBuilder = relativeFrequency_.toBuilder();
-                }
-                relativeFrequency_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(relativeFrequency_);
-                  relativeFrequency_ = subBuilder.buildPartial();
+              case 10:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    quasiIds_ =
+                        new java.util.ArrayList<
+                            com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
+                                .AuxiliaryTable.QuasiIdField>();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  quasiIds_.add(
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
+                              .AuxiliaryTable.QuasiIdField.parser(),
+                          extensionRegistry));
+                  break;
                 }
+              case 18:
+                {
+                  com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                  if (relativeFrequency_ != null) {
+                    subBuilder = relativeFrequency_.toBuilder();
+                  }
+                  relativeFrequency_ =
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(relativeFrequency_);
+                    relativeFrequency_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              case 26: {
-                com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-                if (table_ != null) {
-                  subBuilder = table_.toBuilder();
-                }
-                table_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(table_);
-                  table_ = subBuilder.buildPartial();
+                  break;
                 }
+              case 26:
+                {
+                  com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+                  if (table_ != null) {
+                    subBuilder = table_.toBuilder();
+                  }
+                  table_ =
+                      input.readMessage(
+                          com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(table_);
+                    table_ = subBuilder.buildPartial();
+                  }
 
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -6402,42 +7234,55 @@ private AuxiliaryTable(
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class,
+                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder
+                    .class);
       }
 
-      public interface QuasiIdFieldOrBuilder extends
+      public interface QuasiIdFieldOrBuilder
+          extends
           // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)
           com.google.protobuf.MessageOrBuilder {
 
         /**
+         *
+         *
          * 
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
          * Identifies the column.
          * 
@@ -6447,58 +7292,66 @@ public interface QuasiIdFieldOrBuilder extends com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** + * + * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; + * * @return The customTag. */ java.lang.String getCustomTag(); /** + * + * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; + * * @return The bytes for customTag. */ - com.google.protobuf.ByteString - getCustomTagBytes(); + com.google.protobuf.ByteString getCustomTagBytes(); } /** + * + * *
        * A quasi-identifier column has a custom_tag, used to know which column
        * in the data corresponds to which column in the statistical model.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} + * Protobuf type {@code + * google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} */ - public static final class QuasiIdField extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QuasiIdField extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) QuasiIdFieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QuasiIdField.newBuilder() to construct. private QuasiIdField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QuasiIdField() { customTag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QuasiIdField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QuasiIdField( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6517,65 +7370,77 @@ private QuasiIdField( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); + case 10: + { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage( + com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } + + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - customTag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + customTag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.class, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.FieldId field_; /** + * + * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -6583,11 +7448,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -6595,6 +7463,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
          * Identifies the column.
          * 
@@ -6609,11 +7479,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int CUSTOM_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object customTag_; /** + * + * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; + * * @return The customTag. */ @java.lang.Override @@ -6622,29 +7495,29 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; } } /** + * + * *
          * A auxiliary field.
          * 
* * string custom_tag = 2; + * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customTag_ = b; return b; } else { @@ -6653,6 +7526,7 @@ public java.lang.String getCustomTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6665,7 +7539,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } @@ -6682,8 +7556,7 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, customTag_); @@ -6696,20 +7569,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) obj; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + other = + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField) + obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } - if (!getCustomTag() - .equals(other.getCustomTag())) return false; + if (!getCustomTag().equals(other.getCustomTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6732,88 +7610,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6823,45 +7731,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
          * A quasi-identifier column has a custom_tag, used to know which column
          * in the data corresponds to which column in the statistical model.
          * 
* - * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} + * Protobuf type {@code + * google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.class, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder.class); } - // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6877,19 +7794,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField build() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField result = buildPartial(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + build() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6897,8 +7820,13 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField(this); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + buildPartial() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + result = + new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField(this); if (fieldBuilder_ == null) { result.field_ = field_; } else { @@ -6913,46 +7841,60 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField)other); + if (other + instanceof + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField) { + return mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + other) { + if (other + == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } @@ -6975,11 +7917,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField parsedMessage = null; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6991,34 +7937,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldBuilder_; /** + * + * *
            * Identifies the column.
            * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
            * Identifies the column.
            * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { if (fieldBuilder_ == null) { - return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : field_; } else { return fieldBuilder_.getMessage(); } } /** + * + * *
            * Identifies the column.
            * 
@@ -7039,14 +7998,15 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
            * Identifies the column.
            * 
* * .google.privacy.dlp.v2.FieldId field = 1; */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -7057,6 +8017,8 @@ public Builder setField( return this; } /** + * + * *
            * Identifies the column.
            * 
@@ -7067,7 +8029,9 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -7079,6 +8043,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
            * Identifies the column.
            * 
@@ -7097,6 +8063,8 @@ public Builder clearField() { return this; } /** + * + * *
            * Identifies the column.
            * 
@@ -7104,11 +8072,13 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
            * Identifies the column.
            * 
@@ -7119,11 +8089,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : field_; } } /** + * + * *
            * Identifies the column.
            * 
@@ -7131,14 +8104,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -7146,18 +8122,20 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private java.lang.Object customTag_ = ""; /** + * + * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; + * * @return The customTag. */ public java.lang.String getCustomTag() { java.lang.Object ref = customTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; @@ -7166,20 +8144,21 @@ public java.lang.String getCustomTag() { } } /** + * + * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; + * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customTag_ = b; return b; } else { @@ -7187,58 +8166,66 @@ public java.lang.String getCustomTag() { } } /** + * + * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; + * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag( - java.lang.String value) { + public Builder setCustomTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customTag_ = value; onChanged(); return this; } /** + * + * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; + * * @return This builder for chaining. */ public Builder clearCustomTag() { - + customTag_ = getDefaultInstance().getCustomTag(); onChanged(); return this; } /** + * + * *
            * A auxiliary field.
            * 
* * string custom_tag = 2; + * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customTag_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7251,30 +8238,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField) - private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .AuxiliaryTable.QuasiIdField + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField(); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getDefaultInstance() { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuasiIdField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuasiIdField(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuasiIdField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuasiIdField(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7286,20 +8279,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TABLE_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.BigQueryTable table_; /** + * + * *
        * Required. Auxiliary table location.
        * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ @java.lang.Override @@ -7307,23 +8306,34 @@ public boolean hasTable() { return table_ != null; } /** + * + * *
        * Required. Auxiliary table location.
        * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getTable() { - return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } /** + * + * *
        * Required. Auxiliary table location.
        * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { @@ -7331,74 +8341,111 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { } public static final int QUASI_IDS_FIELD_NUMBER = 1; - private java.util.List quasiIds_; + private java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField> + quasiIds_; /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getQuasiIdsList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField> + getQuasiIdsList() { return quasiIds_; } /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder> getQuasiIdsOrBuilderList() { return quasiIds_; } /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getQuasiIds(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + getQuasiIds(int index) { return quasiIds_.get(index); } /** + * + * *
        * Required. Quasi-identifier columns.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder + getQuasiIdsOrBuilder(int index) { return quasiIds_.get(index); } public static final int RELATIVE_FREQUENCY_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId relativeFrequency_; /** + * + * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the relativeFrequency field is set. */ @java.lang.Override @@ -7406,25 +8453,36 @@ public boolean hasRelativeFrequency() { return relativeFrequency_ != null; } /** + * + * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The relativeFrequency. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { - return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; + return relativeFrequency_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : relativeFrequency_; } /** + * + * *
        * Required. The relative frequency column must contain a floating-point number
        * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { @@ -7432,6 +8490,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7443,8 +8502,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -7464,16 +8522,14 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); } if (relativeFrequency_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRelativeFrequency()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRelativeFrequency()); } if (table_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTable()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7483,24 +8539,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) obj; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other = + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; } - if (!getQuasiIdsList() - .equals(other.getQuasiIdsList())) return false; + if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; if (hasRelativeFrequency() != other.hasRelativeFrequency()) return false; if (hasRelativeFrequency()) { - if (!getRelativeFrequency() - .equals(other.getRelativeFrequency())) return false; + if (!getRelativeFrequency().equals(other.getRelativeFrequency())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -7530,88 +8586,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + 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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7621,6 +8692,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * An auxiliary table contains statistical information on the relative
        * frequency of different quasi-identifiers values. It has one or several
@@ -7631,41 +8704,47 @@ protected Builder newBuilderForType(
        * tuple is highly reidentifiable).
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable} + * Protobuf type {@code + * google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.class, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .Builder.class); } - // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQuasiIdsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7691,19 +8770,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance(); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable build() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7711,8 +8793,10 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(this); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + buildPartial() { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable result = + new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(this); int from_bitField0_ = bitField0_; if (tableBuilder_ == null) { result.table_ = table_; @@ -7741,46 +8825,56 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable)other); + if (other + instanceof + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) { + return mergeFrom( + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other) { - if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable other) { + if (other + == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .getDefaultInstance()) return this; if (other.hasTable()) { mergeTable(other.getTable()); } @@ -7802,9 +8896,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC quasiIdsBuilder_ = null; quasiIds_ = other.quasiIds_; bitField0_ = (bitField0_ & ~0x00000001); - quasiIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQuasiIdsFieldBuilder() : null; + quasiIdsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQuasiIdsFieldBuilder() + : null; } else { quasiIdsBuilder_.addAllMessages(other.quasiIds_); } @@ -7828,11 +8923,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable parsedMessage = null; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7841,43 +8939,63 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.privacy.dlp.v2.BigQueryTable table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + tableBuilder_; /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (tableBuilder_ == null) { - return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } else { return tableBuilder_.getMessage(); } } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { @@ -7893,14 +9011,17 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTable( - com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); @@ -7911,17 +9032,23 @@ public Builder setTable( return this; } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_) + .mergeFrom(value) + .buildPartial(); } else { table_ = value; } @@ -7933,11 +9060,15 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTable() { if (tableBuilder_ == null) { @@ -7951,73 +9082,108 @@ public Builder clearTable() { return this; } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { - + onChanged(); return getTableFieldBuilder().getBuilder(); } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } } /** + * + * *
          * Required. Auxiliary table location.
          * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTable(), - getParentForChildren(), - isClean()); + tableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } - private java.util.List quasiIds_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField> + quasiIds_ = java.util.Collections.emptyList(); + private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIds_ = new java.util.ArrayList(quasiIds_); + quasiIds_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField>(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder> quasiIdsBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder> + quasiIdsBuilder_; /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getQuasiIdsList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField> + getQuasiIdsList() { if (quasiIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(quasiIds_); } else { @@ -8025,11 +9191,15 @@ public java.util.List * Required. Quasi-identifier columns. *
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -8039,13 +9209,19 @@ public int getQuasiIdsCount() { } } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField getQuasiIds(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField + getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { return quasiIds_.get(index); } else { @@ -8053,14 +9229,20 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField value) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8074,14 +9256,21 @@ public Builder setQuasiIds( return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + .Builder + builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.set(index, builderForValue.build()); @@ -8092,13 +9281,19 @@ public Builder setQuasiIds( return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addQuasiIds(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField value) { + public Builder addQuasiIds( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8112,14 +9307,20 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimatio return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField value) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8133,14 +9334,20 @@ public Builder addQuasiIds( return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + .Builder + builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(builderForValue.build()); @@ -8151,14 +9358,21 @@ public Builder addQuasiIds( return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField + .Builder + builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(index, builderForValue.build()); @@ -8169,18 +9383,25 @@ public Builder addQuasiIds( return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllQuasiIds( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField> + values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -8188,11 +9409,15 @@ public Builder addAllQuasiIds( return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -8205,11 +9430,15 @@ public Builder clearQuasiIds() { return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -8222,39 +9451,57 @@ public Builder removeQuasiIds(int index) { return this; } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder getQuasiIdsBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder + getQuasiIdsBuilder(int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder + getQuasiIdsOrBuilder(int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); } else { + return quasiIds_.get(index); + } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder> + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -8262,49 +9509,80 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder + addQuasiIdsBuilder() { + return getQuasiIdsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.getDefaultInstance()); } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder addQuasiIdsBuilder( - int index) { - return getQuasiIdsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder + addQuasiIdsBuilder(int index) { + return getQuasiIdsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.getDefaultInstance()); } /** + * + * *
          * Required. Quasi-identifier columns.
          * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder> + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldOrBuilder>( - quasiIds_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + quasiIdsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdField.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .QuasiIdFieldOrBuilder>( + quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -8312,42 +9590,61 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab private com.google.privacy.dlp.v2.FieldId relativeFrequency_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> relativeFrequencyBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + relativeFrequencyBuilder_; /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the relativeFrequency field is set. */ public boolean hasRelativeFrequency() { return relativeFrequencyBuilder_ != null || relativeFrequency_ != null; } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The relativeFrequency. */ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { - return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; + return relativeFrequency_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : relativeFrequency_; } else { return relativeFrequencyBuilder_.getMessage(); } } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { @@ -8363,12 +9660,16 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRelativeFrequency( com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { @@ -8382,18 +9683,24 @@ public Builder setRelativeFrequency( return this; } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { if (relativeFrequency_ != null) { relativeFrequency_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_) + .mergeFrom(value) + .buildPartial(); } else { relativeFrequency_ = value; } @@ -8405,12 +9712,16 @@ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { @@ -8424,55 +9735,72 @@ public Builder clearRelativeFrequency() { return this; } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId.Builder getRelativeFrequencyBuilder() { - + onChanged(); return getRelativeFrequencyFieldBuilder().getBuilder(); } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { if (relativeFrequencyBuilder_ != null) { return relativeFrequencyBuilder_.getMessageOrBuilder(); } else { - return relativeFrequency_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; + return relativeFrequency_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : relativeFrequency_; } } /** + * + * *
          * Required. The relative frequency column must contain a floating-point number
          * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getRelativeFrequencyFieldBuilder() { if (relativeFrequencyBuilder_ == null) { - relativeFrequencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getRelativeFrequency(), - getParentForChildren(), - isClean()); + relativeFrequencyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getRelativeFrequency(), getParentForChildren(), isClean()); relativeFrequency_ = null; } return relativeFrequencyBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8485,30 +9813,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable) - private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .AuxiliaryTable + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable(); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getDefaultInstance() { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuxiliaryTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuxiliaryTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuxiliaryTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuxiliaryTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8520,80 +9852,107 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int QUASI_IDS_FIELD_NUMBER = 1; - private java.util.List quasiIds_; + private java.util.List + quasiIds_; /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getQuasiIdsList() { + public java.util.List + getQuasiIdsList() { return quasiIds_; } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> getQuasiIdsOrBuilderList() { return quasiIds_; } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds( + int index) { return quasiIds_.get(index); } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two columns can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder + getQuasiIdsOrBuilder(int index) { return quasiIds_.get(index); } public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -8601,6 +9960,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldO
      * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -8609,14 +9969,15 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -8624,16 +9985,15 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -8642,76 +10002,105 @@ public java.lang.String getRegionCode() { } public static final int AUXILIARY_TABLES_FIELD_NUMBER = 3; - private java.util.List auxiliaryTables_; + private java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> + auxiliaryTables_; /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ @java.lang.Override - public java.util.List getAuxiliaryTablesList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> + getAuxiliaryTablesList() { return auxiliaryTables_; } /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .AuxiliaryTableOrBuilder> getAuxiliaryTablesOrBuilderList() { return auxiliaryTables_; } /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ @java.lang.Override public int getAuxiliaryTablesCount() { return auxiliaryTables_.size(); } /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + getAuxiliaryTables(int index) { return auxiliaryTables_.get(index); } /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers column must appear in exactly one column
      * of one auxiliary table.
      * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder + getAuxiliaryTablesOrBuilder(int index) { return auxiliaryTables_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8723,8 +10112,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -8744,15 +10132,14 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } for (int i = 0; i < auxiliaryTables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, auxiliaryTables_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, auxiliaryTables_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8762,19 +10149,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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) obj; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig other = + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) obj; - if (!getQuasiIdsList() - .equals(other.getQuasiIdsList())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; - if (!getAuxiliaryTablesList() - .equals(other.getAuxiliaryTablesList())) return false; + if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; + if (!getAuxiliaryTablesList().equals(other.getAuxiliaryTablesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8802,87 +10187,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8892,6 +10284,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Reidentifiability metric. This corresponds to a risk model similar to what
      * is called "journalist risk" in the literature, except the attack dataset is
@@ -8903,21 +10297,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.class,
+                com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.newBuilder()
@@ -8925,18 +10322,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getQuasiIdsFieldBuilder();
           getAuxiliaryTablesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8958,13 +10355,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_KMapEstimationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig
+          getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance();
       }
 
@@ -8979,7 +10377,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig result =
+            new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(this);
         int from_bitField0_ = bitField0_;
         if (quasiIdsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -9008,38 +10407,41 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig buildPartial
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)other);
+          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -9047,7 +10449,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig other) {
-        if (other == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance()) return this;
+        if (other
+            == com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance())
+          return this;
         if (quasiIdsBuilder_ == null) {
           if (!other.quasiIds_.isEmpty()) {
             if (quasiIds_.isEmpty()) {
@@ -9066,9 +10470,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC
               quasiIdsBuilder_ = null;
               quasiIds_ = other.quasiIds_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              quasiIdsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getQuasiIdsFieldBuilder() : null;
+              quasiIdsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getQuasiIdsFieldBuilder()
+                      : null;
             } else {
               quasiIdsBuilder_.addAllMessages(other.quasiIds_);
             }
@@ -9096,9 +10501,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationC
               auxiliaryTablesBuilder_ = null;
               auxiliaryTables_ = other.auxiliaryTables_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              auxiliaryTablesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getAuxiliaryTablesFieldBuilder() : null;
+              auxiliaryTablesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getAuxiliaryTablesFieldBuilder()
+                      : null;
             } else {
               auxiliaryTablesBuilder_.addAllMessages(other.auxiliaryTables_);
             }
@@ -9123,7 +10529,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9132,29 +10540,44 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List quasiIds_ =
-        java.util.Collections.emptyList();
+      private java.util.List<
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField>
+          quasiIds_ = java.util.Collections.emptyList();
+
       private void ensureQuasiIdsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          quasiIds_ = new java.util.ArrayList(quasiIds_);
+          quasiIds_ =
+              new java.util.ArrayList<
+                  com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField>(
+                  quasiIds_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> quasiIdsBuilder_;
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField,
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder,
+              com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder>
+          quasiIdsBuilder_;
 
       /**
+       *
+       *
        * 
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getQuasiIdsList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField> + getQuasiIdsList() { if (quasiIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(quasiIds_); } else { @@ -9162,12 +10585,16 @@ public java.util.List * Required. Fields considered to be quasi-identifiers. No two columns can have the * same tag. *
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -9177,14 +10604,19 @@ public int getQuasiIdsCount() { } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField getQuasiIds( + int index) { if (quasiIdsBuilder_ == null) { return quasiIds_.get(index); } else { @@ -9192,15 +10624,20 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9214,15 +10651,21 @@ public Builder setQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.set(index, builderForValue.build()); @@ -9233,14 +10676,19 @@ public Builder setQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addQuasiIds(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { + public Builder addQuasiIds( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9254,15 +10702,20 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimatio return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9276,15 +10729,20 @@ public Builder addQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(builderForValue.build()); @@ -9295,15 +10753,21 @@ public Builder addQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(index, builderForValue.build()); @@ -9314,19 +10778,25 @@ public Builder addQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllQuasiIds( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField> + values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -9334,12 +10804,16 @@ public Builder addAllQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -9352,12 +10826,16 @@ public Builder clearQuasiIds() { return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -9370,42 +10848,57 @@ public Builder removeQuasiIds(int index) { return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder getQuasiIdsBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + getQuasiIdsBuilder(int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder + getQuasiIdsOrBuilder(int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); } else { + return quasiIds_.get(index); + } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -9413,52 +10906,75 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldO } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + addQuasiIdsBuilder() { + return getQuasiIdsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField + .getDefaultInstance()); } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder addQuasiIdsBuilder( - int index) { - return getQuasiIdsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder + addQuasiIdsBuilder(int index) { + return getQuasiIdsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField + .getDefaultInstance()); } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two columns can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder> + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder>( - quasiIds_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + quasiIdsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .TaggedFieldOrBuilder>( + quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -9466,6 +10982,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField. private java.lang.Object regionCode_ = ""; /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -9473,13 +10991,13 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.
        * 
* * string region_code = 2; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -9488,6 +11006,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -9495,15 +11015,14 @@ public java.lang.String getRegionCode() {
        * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -9511,6 +11030,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -9518,20 +11039,22 @@ public java.lang.String getRegionCode() {
        * 
* * string region_code = 2; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -9539,15 +11062,18 @@ public Builder setRegionCode(
        * 
* * string region_code = 2; + * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -9555,43 +11081,57 @@ public Builder clearRegionCode() {
        * 
* * string region_code = 2; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; } - private java.util.List auxiliaryTables_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> + auxiliaryTables_ = java.util.Collections.emptyList(); + private void ensureAuxiliaryTablesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - auxiliaryTables_ = new java.util.ArrayList(auxiliaryTables_); + auxiliaryTables_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable>( + auxiliaryTables_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> auxiliaryTablesBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> + auxiliaryTablesBuilder_; /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public java.util.List getAuxiliaryTablesList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> + getAuxiliaryTablesList() { if (auxiliaryTablesBuilder_ == null) { return java.util.Collections.unmodifiableList(auxiliaryTables_); } else { @@ -9599,13 +11139,17 @@ public java.util.List * Several auxiliary tables can be used in the analysis. Each custom_tag * used to tag a quasi-identifiers column must appear in exactly one column * of one auxiliary table. *
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public int getAuxiliaryTablesCount() { if (auxiliaryTablesBuilder_ == null) { @@ -9615,15 +11159,20 @@ public int getAuxiliaryTablesCount() { } } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable getAuxiliaryTables(int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + getAuxiliaryTables(int index) { if (auxiliaryTablesBuilder_ == null) { return auxiliaryTables_.get(index); } else { @@ -9631,16 +11180,21 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder setAuxiliaryTables( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { if (auxiliaryTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9654,16 +11208,22 @@ public Builder setAuxiliaryTables( return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder setAuxiliaryTables( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder + builderForValue) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); auxiliaryTables_.set(index, builderForValue.build()); @@ -9674,15 +11234,20 @@ public Builder setAuxiliaryTables( return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public Builder addAuxiliaryTables(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { + public Builder addAuxiliaryTables( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { if (auxiliaryTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9696,16 +11261,21 @@ public Builder addAuxiliaryTables(com.google.privacy.dlp.v2.PrivacyMetric.KMapEs return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder addAuxiliaryTables( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable value) { if (auxiliaryTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9719,16 +11289,21 @@ public Builder addAuxiliaryTables( return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder addAuxiliaryTables( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder + builderForValue) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); auxiliaryTables_.add(builderForValue.build()); @@ -9739,16 +11314,22 @@ public Builder addAuxiliaryTables( return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder addAuxiliaryTables( - int index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder + builderForValue) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); auxiliaryTables_.add(index, builderForValue.build()); @@ -9759,20 +11340,26 @@ public Builder addAuxiliaryTables( return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder addAllAuxiliaryTables( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable> + values) { if (auxiliaryTablesBuilder_ == null) { ensureAuxiliaryTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, auxiliaryTables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auxiliaryTables_); onChanged(); } else { auxiliaryTablesBuilder_.addAllMessages(values); @@ -9780,13 +11367,17 @@ public Builder addAllAuxiliaryTables( return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder clearAuxiliaryTables() { if (auxiliaryTablesBuilder_ == null) { @@ -9799,13 +11390,17 @@ public Builder clearAuxiliaryTables() { return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ public Builder removeAuxiliaryTables(int index) { if (auxiliaryTablesBuilder_ == null) { @@ -9818,45 +11413,61 @@ public Builder removeAuxiliaryTables(int index) { return this; } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder getAuxiliaryTablesBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder + getAuxiliaryTablesBuilder(int index) { return getAuxiliaryTablesFieldBuilder().getBuilder(index); } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder getAuxiliaryTablesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder + getAuxiliaryTablesOrBuilder(int index) { if (auxiliaryTablesBuilder_ == null) { - return auxiliaryTables_.get(index); } else { + return auxiliaryTables_.get(index); + } else { return auxiliaryTablesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public java.util.List - getAuxiliaryTablesOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .AuxiliaryTableOrBuilder> + getAuxiliaryTablesOrBuilderList() { if (auxiliaryTablesBuilder_ != null) { return auxiliaryTablesBuilder_.getMessageOrBuilderList(); } else { @@ -9864,51 +11475,78 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder addAuxiliaryTablesBuilder() { - return getAuxiliaryTablesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder + addAuxiliaryTablesBuilder() { + return getAuxiliaryTablesFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .getDefaultInstance()); } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder addAuxiliaryTablesBuilder( - int index) { - return getAuxiliaryTablesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.getDefaultInstance()); + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder + addAuxiliaryTablesBuilder(int index) { + return getAuxiliaryTablesFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .getDefaultInstance()); } /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers column must appear in exactly one column
        * of one auxiliary table.
        * 
* - * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * + * repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; + * */ - public java.util.List - getAuxiliaryTablesBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder> + getAuxiliaryTablesBuilderList() { return getAuxiliaryTablesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder> getAuxiliaryTablesFieldBuilder() { if (auxiliaryTablesBuilder_ == null) { - auxiliaryTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTableOrBuilder>( + auxiliaryTablesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable + .Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .AuxiliaryTableOrBuilder>( auxiliaryTables_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -9917,6 +11555,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTab } return auxiliaryTablesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9929,30 +11568,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) - private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig(); } - public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getDefaultInstance() { + public static com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KMapEstimationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KMapEstimationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KMapEstimationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KMapEstimationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9964,66 +11605,86 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeltaPresenceEstimationConfigOrBuilder extends + public interface DeltaPresenceEstimationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getQuasiIdsList(); + java.util.List getQuasiIdsList(); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getQuasiIdsCount(); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getQuasiIdsOrBuilderList(); + java.util.List getQuasiIdsOrBuilderList(); /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( - int index); + com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index); /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -10031,10 +11692,13 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * string region_code = 2; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -10042,12 +11706,14 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10056,9 +11722,10 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
-    java.util.List 
-        getAuxiliaryTablesList();
+    java.util.List getAuxiliaryTablesList();
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10069,6 +11736,8 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      */
     com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index);
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10079,6 +11748,8 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      */
     int getAuxiliaryTablesCount();
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10087,9 +11758,11 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
-    java.util.List 
+    java.util.List
         getAuxiliaryTablesOrBuilderList();
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10098,10 +11771,11 @@ com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
-    com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(
-        int index);
+    com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * δ-presence metric, used to estimate how likely it is for an attacker to
    * figure out that one given individual appears in a de-identified dataset.
@@ -10111,15 +11785,18 @@ com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(
    *
    * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig}
    */
-  public static final class DeltaPresenceEstimationConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DeltaPresenceEstimationConfig
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
       DeltaPresenceEstimationConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DeltaPresenceEstimationConfig.newBuilder() to construct.
-    private DeltaPresenceEstimationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private DeltaPresenceEstimationConfig(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private DeltaPresenceEstimationConfig() {
       quasiIds_ = java.util.Collections.emptyList();
       regionCode_ = "";
@@ -10128,16 +11805,15 @@ private DeltaPresenceEstimationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DeltaPresenceEstimationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private DeltaPresenceEstimationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10157,44 +11833,49 @@ private DeltaPresenceEstimationConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                quasiIds_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  quasiIds_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                quasiIds_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.QuasiId.parser(), extensionRegistry));
+                break;
               }
-              quasiIds_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.QuasiId.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              regionCode_ = s;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                auxiliaryTables_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                regionCode_ = s;
+                break;
               }
-              auxiliaryTables_.add(
-                  input.readMessage(com.google.privacy.dlp.v2.StatisticalTable.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  auxiliaryTables_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                auxiliaryTables_.add(
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.StatisticalTable.parser(), extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -10206,87 +11887,111 @@ private DeltaPresenceEstimationConfig(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
+              com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class,
+              com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
     }
 
     public static final int QUASI_IDS_FIELD_NUMBER = 1;
     private java.util.List quasiIds_;
     /**
+     *
+     *
      * 
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getQuasiIdsList() { return quasiIds_; } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getQuasiIdsOrBuilderList() { return quasiIds_; } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { return quasiIds_.get(index); } /** + * + * *
      * Required. Fields considered to be quasi-identifiers. No two fields can have the
      * same tag.
      * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index) { return quasiIds_.get(index); } public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -10294,6 +11999,7 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -10302,14 +12008,15 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
      * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
      * Set if no column is tagged with a region-specific InfoType (like
@@ -10317,16 +12024,15 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -10337,6 +12043,8 @@ public java.lang.String getRegionCode() { public static final int AUXILIARY_TABLES_FIELD_NUMBER = 3; private java.util.List auxiliaryTables_; /** + * + * *
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10350,6 +12058,8 @@ public java.util.List getAuxiliaryTa
       return auxiliaryTables_;
     }
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10359,11 +12069,13 @@ public java.util.List getAuxiliaryTa
      * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getAuxiliaryTablesOrBuilderList() {
       return auxiliaryTables_;
     }
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10377,6 +12089,8 @@ public int getAuxiliaryTablesCount() {
       return auxiliaryTables_.size();
     }
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10390,6 +12104,8 @@ public com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index)
       return auxiliaryTables_.get(index);
     }
     /**
+     *
+     *
      * 
      * Several auxiliary tables can be used in the analysis. Each custom_tag
      * used to tag a quasi-identifiers field must appear in exactly one
@@ -10405,6 +12121,7 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10416,8 +12133,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < quasiIds_.size(); i++) {
         output.writeMessage(1, quasiIds_.get(i));
       }
@@ -10437,15 +12153,14 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < quasiIds_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, quasiIds_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i));
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_);
       }
       for (int i = 0; i < auxiliaryTables_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, auxiliaryTables_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(3, auxiliaryTables_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -10455,19 +12170,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.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other = (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) obj;
+      com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other =
+          (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) obj;
 
-      if (!getQuasiIdsList()
-          .equals(other.getQuasiIdsList())) return false;
-      if (!getRegionCode()
-          .equals(other.getRegionCode())) return false;
-      if (!getAuxiliaryTablesList()
-          .equals(other.getAuxiliaryTablesList())) return false;
+      if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false;
+      if (!getRegionCode().equals(other.getRegionCode())) return false;
+      if (!getAuxiliaryTablesList().equals(other.getAuxiliaryTablesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -10495,87 +12208,95 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -10585,6 +12306,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * δ-presence metric, used to estimate how likely it is for an attacker to
      * figure out that one given individual appears in a de-identified dataset.
@@ -10594,40 +12317,45 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
         com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder.class);
+                com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.class,
+                com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder()
+      // Construct using
+      // com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getQuasiIdsFieldBuilder();
           getAuxiliaryTablesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10649,19 +12377,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_PrivacyMetric_DeltaPresenceEstimationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance();
+      public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+          getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig build() {
-        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result = buildPartial();
+        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -10670,7 +12401,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig bui
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig buildPartial() {
-        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result = new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig(this);
+        com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig result =
+            new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig(this);
         int from_bitField0_ = bitField0_;
         if (quasiIdsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -10699,46 +12431,54 @@ public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig bui
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)other);
+        if (other
+            instanceof com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) {
+          return mergeFrom(
+              (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other) {
-        if (other == com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig other) {
+        if (other
+            == com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+                .getDefaultInstance()) return this;
         if (quasiIdsBuilder_ == null) {
           if (!other.quasiIds_.isEmpty()) {
             if (quasiIds_.isEmpty()) {
@@ -10757,9 +12497,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEs
               quasiIdsBuilder_ = null;
               quasiIds_ = other.quasiIds_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              quasiIdsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getQuasiIdsFieldBuilder() : null;
+              quasiIdsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getQuasiIdsFieldBuilder()
+                      : null;
             } else {
               quasiIdsBuilder_.addAllMessages(other.quasiIds_);
             }
@@ -10787,9 +12528,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEs
               auxiliaryTablesBuilder_ = null;
               auxiliaryTables_ = other.auxiliaryTables_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              auxiliaryTablesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getAuxiliaryTablesFieldBuilder() : null;
+              auxiliaryTablesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getAuxiliaryTablesFieldBuilder()
+                      : null;
             } else {
               auxiliaryTablesBuilder_.addAllMessages(other.auxiliaryTables_);
             }
@@ -10814,7 +12556,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10823,27 +12567,36 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List quasiIds_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureQuasiIdsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           quasiIds_ = new java.util.ArrayList(quasiIds_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.QuasiId, com.google.privacy.dlp.v2.QuasiId.Builder, com.google.privacy.dlp.v2.QuasiIdOrBuilder> quasiIdsBuilder_;
+              com.google.privacy.dlp.v2.QuasiId,
+              com.google.privacy.dlp.v2.QuasiId.Builder,
+              com.google.privacy.dlp.v2.QuasiIdOrBuilder>
+          quasiIdsBuilder_;
 
       /**
+       *
+       *
        * 
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getQuasiIdsList() { if (quasiIdsBuilder_ == null) { @@ -10853,12 +12606,16 @@ public java.util.List getQuasiIdsList() { } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -10868,12 +12625,16 @@ public int getQuasiIdsCount() { } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -10883,15 +12644,18 @@ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQuasiIds( - int index, com.google.privacy.dlp.v2.QuasiId value) { + public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10905,12 +12669,16 @@ public Builder setQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( int index, com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { @@ -10924,12 +12692,16 @@ public Builder setQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId value) { if (quasiIdsBuilder_ == null) { @@ -10945,15 +12717,18 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId value) { return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addQuasiIds( - int index, com.google.privacy.dlp.v2.QuasiId value) { + public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10967,15 +12742,18 @@ public Builder addQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addQuasiIds( - com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { + public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(builderForValue.build()); @@ -10986,12 +12764,16 @@ public Builder addQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( int index, com.google.privacy.dlp.v2.QuasiId.Builder builderForValue) { @@ -11005,19 +12787,22 @@ public Builder addQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllQuasiIds( java.lang.Iterable values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -11025,12 +12810,16 @@ public Builder addAllQuasiIds( return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -11043,12 +12832,16 @@ public Builder clearQuasiIds() { return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -11061,42 +12854,53 @@ public Builder removeQuasiIds(int index) { return this; } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.QuasiId.Builder getQuasiIdsBuilder( - int index) { + public com.google.privacy.dlp.v2.QuasiId.Builder getQuasiIdsBuilder(int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); } else { + return quasiIds_.get(index); + } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsOrBuilderList() { + public java.util.List + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -11104,52 +12908,65 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder( } } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); + return getQuasiIdsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder( - int index) { - return getQuasiIdsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); + public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder(int index) { + return getQuasiIdsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.QuasiId.getDefaultInstance()); } /** + * + * *
        * Required. Fields considered to be quasi-identifiers. No two fields can have the
        * same tag.
        * 
* - * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsBuilderList() { + public java.util.List getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.QuasiId, com.google.privacy.dlp.v2.QuasiId.Builder, com.google.privacy.dlp.v2.QuasiIdOrBuilder> + com.google.privacy.dlp.v2.QuasiId, + com.google.privacy.dlp.v2.QuasiId.Builder, + com.google.privacy.dlp.v2.QuasiIdOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.QuasiId, com.google.privacy.dlp.v2.QuasiId.Builder, com.google.privacy.dlp.v2.QuasiIdOrBuilder>( - quasiIds_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + quasiIdsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.QuasiId, + com.google.privacy.dlp.v2.QuasiId.Builder, + com.google.privacy.dlp.v2.QuasiIdOrBuilder>( + quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -11157,6 +12974,8 @@ public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder( private java.lang.Object regionCode_ = ""; /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11164,13 +12983,13 @@ public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder(
        * 
* * string region_code = 2; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -11179,6 +12998,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11186,15 +13007,14 @@ public java.lang.String getRegionCode() {
        * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -11202,6 +13022,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11209,20 +13031,22 @@ public java.lang.String getRegionCode() {
        * 
* * string region_code = 2; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11230,15 +13054,18 @@ public Builder setRegionCode(
        * 
* * string region_code = 2; + * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** + * + * *
        * ISO 3166-1 alpha-2 region code to use in the statistical modeling.
        * Set if no column is tagged with a region-specific InfoType (like
@@ -11246,34 +13073,41 @@ public Builder clearRegionCode() {
        * 
* * string region_code = 2; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; } private java.util.List auxiliaryTables_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAuxiliaryTablesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - auxiliaryTables_ = new java.util.ArrayList(auxiliaryTables_); + auxiliaryTables_ = + new java.util.ArrayList(auxiliaryTables_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable, com.google.privacy.dlp.v2.StatisticalTable.Builder, com.google.privacy.dlp.v2.StatisticalTableOrBuilder> auxiliaryTablesBuilder_; + com.google.privacy.dlp.v2.StatisticalTable, + com.google.privacy.dlp.v2.StatisticalTable.Builder, + com.google.privacy.dlp.v2.StatisticalTableOrBuilder> + auxiliaryTablesBuilder_; /** + * + * *
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11290,6 +13124,8 @@ public java.util.List getAuxiliaryTa
         }
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11306,6 +13142,8 @@ public int getAuxiliaryTablesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11322,6 +13160,8 @@ public com.google.privacy.dlp.v2.StatisticalTable getAuxiliaryTables(int index)
         }
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11345,6 +13185,8 @@ public Builder setAuxiliaryTables(
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11365,6 +13207,8 @@ public Builder setAuxiliaryTables(
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11387,6 +13231,8 @@ public Builder addAuxiliaryTables(com.google.privacy.dlp.v2.StatisticalTable val
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11410,6 +13256,8 @@ public Builder addAuxiliaryTables(
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11430,6 +13278,8 @@ public Builder addAuxiliaryTables(
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11450,6 +13300,8 @@ public Builder addAuxiliaryTables(
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11462,8 +13314,7 @@ public Builder addAllAuxiliaryTables(
           java.lang.Iterable values) {
         if (auxiliaryTablesBuilder_ == null) {
           ensureAuxiliaryTablesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, auxiliaryTables_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auxiliaryTables_);
           onChanged();
         } else {
           auxiliaryTablesBuilder_.addAllMessages(values);
@@ -11471,6 +13322,8 @@ public Builder addAllAuxiliaryTables(
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11490,6 +13343,8 @@ public Builder clearAuxiliaryTables() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11509,6 +13364,8 @@ public Builder removeAuxiliaryTables(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11522,6 +13379,8 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder getAuxiliaryTablesBuil
         return getAuxiliaryTablesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11533,11 +13392,14 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder getAuxiliaryTablesBuil
       public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrBuilder(
           int index) {
         if (auxiliaryTablesBuilder_ == null) {
-          return auxiliaryTables_.get(index);  } else {
+          return auxiliaryTables_.get(index);
+        } else {
           return auxiliaryTablesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11546,8 +13408,8 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
        *
        * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
        */
-      public java.util.List 
-           getAuxiliaryTablesOrBuilderList() {
+      public java.util.List
+          getAuxiliaryTablesOrBuilderList() {
         if (auxiliaryTablesBuilder_ != null) {
           return auxiliaryTablesBuilder_.getMessageOrBuilderList();
         } else {
@@ -11555,6 +13417,8 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
         }
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11564,10 +13428,12 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
        * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
        */
       public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuilder() {
-        return getAuxiliaryTablesFieldBuilder().addBuilder(
-            com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
+        return getAuxiliaryTablesFieldBuilder()
+            .addBuilder(com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11578,10 +13444,12 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
        */
       public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuilder(
           int index) {
-        return getAuxiliaryTablesFieldBuilder().addBuilder(
-            index, com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
+        return getAuxiliaryTablesFieldBuilder()
+            .addBuilder(index, com.google.privacy.dlp.v2.StatisticalTable.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Several auxiliary tables can be used in the analysis. Each custom_tag
        * used to tag a quasi-identifiers field must appear in exactly one
@@ -11590,16 +13458,22 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
        *
        * repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;
        */
-      public java.util.List 
-           getAuxiliaryTablesBuilderList() {
+      public java.util.List
+          getAuxiliaryTablesBuilderList() {
         return getAuxiliaryTablesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.privacy.dlp.v2.StatisticalTable, com.google.privacy.dlp.v2.StatisticalTable.Builder, com.google.privacy.dlp.v2.StatisticalTableOrBuilder> 
+              com.google.privacy.dlp.v2.StatisticalTable,
+              com.google.privacy.dlp.v2.StatisticalTable.Builder,
+              com.google.privacy.dlp.v2.StatisticalTableOrBuilder>
           getAuxiliaryTablesFieldBuilder() {
         if (auxiliaryTablesBuilder_ == null) {
-          auxiliaryTablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.privacy.dlp.v2.StatisticalTable, com.google.privacy.dlp.v2.StatisticalTable.Builder, com.google.privacy.dlp.v2.StatisticalTableOrBuilder>(
+          auxiliaryTablesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.privacy.dlp.v2.StatisticalTable,
+                  com.google.privacy.dlp.v2.StatisticalTable.Builder,
+                  com.google.privacy.dlp.v2.StatisticalTableOrBuilder>(
                   auxiliaryTables_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -11608,6 +13482,7 @@ public com.google.privacy.dlp.v2.StatisticalTable.Builder addAuxiliaryTablesBuil
         }
         return auxiliaryTablesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -11620,30 +13495,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig)
-    private static final com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig();
+      DEFAULT_INSTANCE =
+          new com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig();
     }
 
-    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DeltaPresenceEstimationConfig parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new DeltaPresenceEstimationConfig(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DeltaPresenceEstimationConfig parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new DeltaPresenceEstimationConfig(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -11655,16 +13533,18 @@ public com.google.protobuf.Parser getParserForTyp
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
+
   public enum TypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NUMERICAL_STATS_CONFIG(1),
     CATEGORICAL_STATS_CONFIG(2),
@@ -11674,6 +13554,7 @@ public enum TypeCase
     DELTA_PRESENCE_ESTIMATION_CONFIG(6),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -11689,34 +13570,45 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1: return NUMERICAL_STATS_CONFIG;
-        case 2: return CATEGORICAL_STATS_CONFIG;
-        case 3: return K_ANONYMITY_CONFIG;
-        case 4: return L_DIVERSITY_CONFIG;
-        case 5: return K_MAP_ESTIMATION_CONFIG;
-        case 6: return DELTA_PRESENCE_ESTIMATION_CONFIG;
-        case 0: return TYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return NUMERICAL_STATS_CONFIG;
+        case 2:
+          return CATEGORICAL_STATS_CONFIG;
+        case 3:
+          return K_ANONYMITY_CONFIG;
+        case 4:
+          return L_DIVERSITY_CONFIG;
+        case 5:
+          return K_MAP_ESTIMATION_CONFIG;
+        case 6:
+          return DELTA_PRESENCE_ESTIMATION_CONFIG;
+        case 0:
+          return TYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase
-  getTypeCase() {
-    return TypeCase.forNumber(
-        typeCase_);
+  public TypeCase getTypeCase() {
+    return TypeCase.forNumber(typeCase_);
   }
 
   public static final int NUMERICAL_STATS_CONFIG_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * + * * @return Whether the numericalStatsConfig field is set. */ @java.lang.Override @@ -11724,42 +13616,54 @@ public boolean hasNumericalStatsConfig() { return typeCase_ == 1; } /** + * + * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * + * * @return The numericalStatsConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance(); } /** + * + * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder getNumericalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder + getNumericalStatsConfigOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance(); } public static final int CATEGORICAL_STATS_CONFIG_FIELD_NUMBER = 2; /** + * + * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * * @return Whether the categoricalStatsConfig field is set. */ @java.lang.Override @@ -11767,42 +13671,54 @@ public boolean hasCategoricalStatsConfig() { return typeCase_ == 2; } /** + * + * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * * @return The categoricalStatsConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig + getCategoricalStatsConfig() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); } /** + * + * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder getCategoricalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder + getCategoricalStatsConfigOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); } public static final int K_ANONYMITY_CONFIG_FIELD_NUMBER = 3; /** + * + * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; + * * @return Whether the kAnonymityConfig field is set. */ @java.lang.Override @@ -11810,21 +13726,26 @@ public boolean hasKAnonymityConfig() { return typeCase_ == 3; } /** + * + * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; + * * @return The kAnonymityConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance(); } /** + * + * *
    * K-anonymity
    * 
@@ -11832,20 +13753,24 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder + getKAnonymityConfigOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance(); } public static final int L_DIVERSITY_CONFIG_FIELD_NUMBER = 4; /** + * + * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; + * * @return Whether the lDiversityConfig field is set. */ @java.lang.Override @@ -11853,21 +13778,26 @@ public boolean hasLDiversityConfig() { return typeCase_ == 4; } /** + * + * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; + * * @return The lDiversityConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance(); } /** + * + * *
    * l-diversity
    * 
@@ -11875,20 +13805,25 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder + getLDiversityConfigOrBuilder() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance(); } public static final int K_MAP_ESTIMATION_CONFIG_FIELD_NUMBER = 5; /** + * + * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * + * * @return Whether the kMapEstimationConfig field is set. */ @java.lang.Override @@ -11896,42 +13831,55 @@ public boolean hasKMapEstimationConfig() { return typeCase_ == 5; } /** + * + * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * + * * @return The kMapEstimationConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance(); } /** + * + * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder getKMapEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder + getKMapEstimationConfigOrBuilder() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_; } return com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance(); } public static final int DELTA_PRESENCE_ESTIMATION_CONFIG_FIELD_NUMBER = 6; /** + * + * *
    * delta-presence
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * * @return Whether the deltaPresenceEstimationConfig field is set. */ @java.lang.Override @@ -11939,36 +13887,50 @@ public boolean hasDeltaPresenceEstimationConfig() { return typeCase_ == 6; } /** + * + * *
    * delta-presence
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * * @return The deltaPresenceEstimationConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDeltaPresenceEstimationConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + getDeltaPresenceEstimationConfig() { if (typeCase_ == 6) { - return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance(); } /** + * + * *
    * delta-presence
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder getDeltaPresenceEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder + getDeltaPresenceEstimationConfigOrBuilder() { if (typeCase_ == 6) { - return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; + return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11980,13 +13942,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); } if (typeCase_ == 2) { - output.writeMessage(2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); + output.writeMessage( + 2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); } if (typeCase_ == 3) { output.writeMessage(3, (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); @@ -11998,7 +13960,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(5, (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); } if (typeCase_ == 6) { - output.writeMessage(6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); + output.writeMessage( + 6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); } unknownFields.writeTo(output); } @@ -12010,28 +13973,34 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_); } if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_); } if (typeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_); } if (typeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12041,7 +14010,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.privacy.dlp.v2.PrivacyMetric)) { return super.equals(obj); @@ -12051,28 +14020,23 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getNumericalStatsConfig() - .equals(other.getNumericalStatsConfig())) return false; + if (!getNumericalStatsConfig().equals(other.getNumericalStatsConfig())) return false; break; case 2: - if (!getCategoricalStatsConfig() - .equals(other.getCategoricalStatsConfig())) return false; + if (!getCategoricalStatsConfig().equals(other.getCategoricalStatsConfig())) return false; break; case 3: - if (!getKAnonymityConfig() - .equals(other.getKAnonymityConfig())) return false; + if (!getKAnonymityConfig().equals(other.getKAnonymityConfig())) return false; break; case 4: - if (!getLDiversityConfig() - .equals(other.getLDiversityConfig())) return false; + if (!getLDiversityConfig().equals(other.getLDiversityConfig())) return false; break; case 5: - if (!getKMapEstimationConfig() - .equals(other.getKMapEstimationConfig())) return false; + if (!getKMapEstimationConfig().equals(other.getKMapEstimationConfig())) return false; break; case 6: - if (!getDeltaPresenceEstimationConfig() - .equals(other.getDeltaPresenceEstimationConfig())) return false; + if (!getDeltaPresenceEstimationConfig().equals(other.getDeltaPresenceEstimationConfig())) + return false; break; case 0: default: @@ -12121,118 +14085,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.PrivacyMetric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.PrivacyMetric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.PrivacyMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.PrivacyMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Privacy metric to compute for reidentification risk analysis.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.PrivacyMetric} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.PrivacyMetric) com.google.privacy.dlp.v2.PrivacyMetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.PrivacyMetric.class, com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); + com.google.privacy.dlp.v2.PrivacyMetric.class, + com.google.privacy.dlp.v2.PrivacyMetric.Builder.class); } // Construct using com.google.privacy.dlp.v2.PrivacyMetric.newBuilder() @@ -12240,16 +14213,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -12259,9 +14231,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor; } @java.lang.Override @@ -12280,7 +14252,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric build() { @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric buildPartial() { - com.google.privacy.dlp.v2.PrivacyMetric result = new com.google.privacy.dlp.v2.PrivacyMetric(this); + com.google.privacy.dlp.v2.PrivacyMetric result = + new com.google.privacy.dlp.v2.PrivacyMetric(this); if (typeCase_ == 1) { if (numericalStatsConfigBuilder_ == null) { result.type_ = type_; @@ -12332,38 +14305,39 @@ public com.google.privacy.dlp.v2.PrivacyMetric buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.PrivacyMetric) { - return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric)other); + return mergeFrom((com.google.privacy.dlp.v2.PrivacyMetric) other); } else { super.mergeFrom(other); return this; @@ -12373,33 +14347,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.PrivacyMetric other) { if (other == com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance()) return this; switch (other.getTypeCase()) { - case NUMERICAL_STATS_CONFIG: { - mergeNumericalStatsConfig(other.getNumericalStatsConfig()); - break; - } - case CATEGORICAL_STATS_CONFIG: { - mergeCategoricalStatsConfig(other.getCategoricalStatsConfig()); - break; - } - case K_ANONYMITY_CONFIG: { - mergeKAnonymityConfig(other.getKAnonymityConfig()); - break; - } - case L_DIVERSITY_CONFIG: { - mergeLDiversityConfig(other.getLDiversityConfig()); - break; - } - case K_MAP_ESTIMATION_CONFIG: { - mergeKMapEstimationConfig(other.getKMapEstimationConfig()); - break; - } - case DELTA_PRESENCE_ESTIMATION_CONFIG: { - mergeDeltaPresenceEstimationConfig(other.getDeltaPresenceEstimationConfig()); - break; - } - case TYPE_NOT_SET: { - break; - } + case NUMERICAL_STATS_CONFIG: + { + mergeNumericalStatsConfig(other.getNumericalStatsConfig()); + break; + } + case CATEGORICAL_STATS_CONFIG: + { + mergeCategoricalStatsConfig(other.getCategoricalStatsConfig()); + break; + } + case K_ANONYMITY_CONFIG: + { + mergeKAnonymityConfig(other.getKAnonymityConfig()); + break; + } + case L_DIVERSITY_CONFIG: + { + mergeLDiversityConfig(other.getLDiversityConfig()); + break; + } + case K_MAP_ESTIMATION_CONFIG: + { + mergeKMapEstimationConfig(other.getKMapEstimationConfig()); + break; + } + case DELTA_PRESENCE_ESTIMATION_CONFIG: + { + mergeDeltaPresenceEstimationConfig(other.getDeltaPresenceEstimationConfig()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -12429,12 +14410,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -12444,15 +14425,21 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> numericalStatsConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> + numericalStatsConfigBuilder_; /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * + * * @return Whether the numericalStatsConfig field is set. */ @java.lang.Override @@ -12460,11 +14447,15 @@ public boolean hasNumericalStatsConfig() { return typeCase_ == 1; } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * + * * @return The numericalStatsConfig. */ @java.lang.Override @@ -12482,13 +14473,17 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumerical } } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ - public Builder setNumericalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { + public Builder setNumericalStatsConfig( + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { if (numericalStatsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12502,11 +14497,14 @@ public Builder setNumericalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.N return this; } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ public Builder setNumericalStatsConfig( com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder builderForValue) { @@ -12520,18 +14518,27 @@ public Builder setNumericalStatsConfig( return this; } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ - public Builder mergeNumericalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { + public Builder mergeNumericalStatsConfig( + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig value) { if (numericalStatsConfigBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ + != com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.newBuilder( + (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -12546,11 +14553,14 @@ public Builder mergeNumericalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ public Builder clearNumericalStatsConfig() { if (numericalStatsConfigBuilder_ == null) { @@ -12569,24 +14579,32 @@ public Builder clearNumericalStatsConfig() { return this; } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder getNumericalStatsConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder + getNumericalStatsConfigBuilder() { return getNumericalStatsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder getNumericalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder + getNumericalStatsConfigOrBuilder() { if ((typeCase_ == 1) && (numericalStatsConfigBuilder_ != null)) { return numericalStatsConfigBuilder_.getMessageOrBuilder(); } else { @@ -12597,39 +14615,56 @@ public com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder get } } /** + * + * *
      * Numerical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder> getNumericalStatsConfigFieldBuilder() { if (numericalStatsConfigBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.getDefaultInstance(); } - numericalStatsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder>( + numericalStatsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return numericalStatsConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> categoricalStatsConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> + categoricalStatsConfigBuilder_; /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * * @return Whether the categoricalStatsConfig field is set. */ @java.lang.Override @@ -12637,15 +14672,21 @@ public boolean hasCategoricalStatsConfig() { return typeCase_ == 2; } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * * @return The categoricalStatsConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig + getCategoricalStatsConfig() { if (categoricalStatsConfigBuilder_ == null) { if (typeCase_ == 2) { return (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_; @@ -12659,13 +14700,18 @@ public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategor } } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ - public Builder setCategoricalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { + public Builder setCategoricalStatsConfig( + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { if (categoricalStatsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12679,11 +14725,15 @@ public Builder setCategoricalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ public Builder setCategoricalStatsConfig( com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder builderForValue) { @@ -12697,18 +14747,28 @@ public Builder setCategoricalStatsConfig( return this; } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ - public Builder mergeCategoricalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { + public Builder mergeCategoricalStatsConfig( + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig value) { if (categoricalStatsConfigBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ + != com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.newBuilder( + (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -12723,11 +14783,15 @@ public Builder mergeCategoricalStatsConfig(com.google.privacy.dlp.v2.PrivacyMetr return this; } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ public Builder clearCategoricalStatsConfig() { if (categoricalStatsConfigBuilder_ == null) { @@ -12746,24 +14810,34 @@ public Builder clearCategoricalStatsConfig() { return this; } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder getCategoricalStatsConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder + getCategoricalStatsConfigBuilder() { return getCategoricalStatsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder getCategoricalStatsConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder + getCategoricalStatsConfigOrBuilder() { if ((typeCase_ == 2) && (categoricalStatsConfigBuilder_ != null)) { return categoricalStatsConfigBuilder_.getMessageOrBuilder(); } else { @@ -12774,39 +14848,56 @@ public com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder g } } /** + * + * *
      * Categorical stats
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder> getCategoricalStatsConfigFieldBuilder() { if (categoricalStatsConfigBuilder_ == null) { if (!(typeCase_ == 2)) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); - } - categoricalStatsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder>( + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.getDefaultInstance(); + } + categoricalStatsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return categoricalStatsConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> kAnonymityConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> + kAnonymityConfigBuilder_; /** + * + * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; + * * @return Whether the kAnonymityConfig field is set. */ @java.lang.Override @@ -12814,11 +14905,14 @@ public boolean hasKAnonymityConfig() { return typeCase_ == 3; } /** + * + * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; + * * @return The kAnonymityConfig. */ @java.lang.Override @@ -12836,13 +14930,16 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityCon } } /** + * + * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ - public Builder setKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { + public Builder setKAnonymityConfig( + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { if (kAnonymityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12856,6 +14953,8 @@ public Builder setKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAnon return this; } /** + * + * *
      * K-anonymity
      * 
@@ -12874,18 +14973,25 @@ public Builder setKAnonymityConfig( return this; } /** + * + * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ - public Builder mergeKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { + public Builder mergeKAnonymityConfig( + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig value) { if (kAnonymityConfigBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 + && type_ + != com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.newBuilder( + (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -12900,6 +15006,8 @@ public Builder mergeKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAn return this; } /** + * + * *
      * K-anonymity
      * 
@@ -12923,16 +15031,21 @@ public Builder clearKAnonymityConfig() { return this; } /** + * + * *
      * K-anonymity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ - public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder getKAnonymityConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder + getKAnonymityConfigBuilder() { return getKAnonymityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * K-anonymity
      * 
@@ -12940,7 +15053,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder getKAnon * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder + getKAnonymityConfigOrBuilder() { if ((typeCase_ == 3) && (kAnonymityConfigBuilder_ != null)) { return kAnonymityConfigBuilder_.getMessageOrBuilder(); } else { @@ -12951,6 +15065,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAno } } /** + * + * *
      * K-anonymity
      * 
@@ -12958,32 +15074,44 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAno * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder> getKAnonymityConfigFieldBuilder() { if (kAnonymityConfigBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.getDefaultInstance(); } - kAnonymityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder>( + kAnonymityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return kAnonymityConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> lDiversityConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> + lDiversityConfigBuilder_; /** + * + * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; + * * @return Whether the lDiversityConfig field is set. */ @java.lang.Override @@ -12991,11 +15119,14 @@ public boolean hasLDiversityConfig() { return typeCase_ == 4; } /** + * + * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; + * * @return The lDiversityConfig. */ @java.lang.Override @@ -13013,13 +15144,16 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityCon } } /** + * + * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ - public Builder setLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { + public Builder setLDiversityConfig( + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { if (lDiversityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13033,6 +15167,8 @@ public Builder setLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDive return this; } /** + * + * *
      * l-diversity
      * 
@@ -13051,18 +15187,25 @@ public Builder setLDiversityConfig( return this; } /** + * + * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ - public Builder mergeLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { + public Builder mergeLDiversityConfig( + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig value) { if (lDiversityConfigBuilder_ == null) { - if (typeCase_ == 4 && - type_ != com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 4 + && type_ + != com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.newBuilder( + (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -13077,6 +15220,8 @@ public Builder mergeLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDi return this; } /** + * + * *
      * l-diversity
      * 
@@ -13100,16 +15245,21 @@ public Builder clearLDiversityConfig() { return this; } /** + * + * *
      * l-diversity
      * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ - public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder getLDiversityConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder + getLDiversityConfigBuilder() { return getLDiversityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * l-diversity
      * 
@@ -13117,7 +15267,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder getLDive * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder + getLDiversityConfigOrBuilder() { if ((typeCase_ == 4) && (lDiversityConfigBuilder_ != null)) { return lDiversityConfigBuilder_.getMessageOrBuilder(); } else { @@ -13128,6 +15279,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiv } } /** + * + * *
      * l-diversity
      * 
@@ -13135,32 +15288,45 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiv * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder> getLDiversityConfigFieldBuilder() { if (lDiversityConfigBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.getDefaultInstance(); } - lDiversityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder>( + lDiversityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged();; + onChanged(); + ; return lDiversityConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> kMapEstimationConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> + kMapEstimationConfigBuilder_; /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * + * * @return Whether the kMapEstimationConfig field is set. */ @java.lang.Override @@ -13168,11 +15334,15 @@ public boolean hasKMapEstimationConfig() { return typeCase_ == 5; } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * + * * @return The kMapEstimationConfig. */ @java.lang.Override @@ -13190,13 +15360,17 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstim } } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ - public Builder setKMapEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { + public Builder setKMapEstimationConfig( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { if (kMapEstimationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13210,11 +15384,14 @@ public Builder setKMapEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.K return this; } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ public Builder setKMapEstimationConfig( com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder builderForValue) { @@ -13228,18 +15405,27 @@ public Builder setKMapEstimationConfig( return this; } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ - public Builder mergeKMapEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { + public Builder mergeKMapEstimationConfig( + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig value) { if (kMapEstimationConfigBuilder_ == null) { - if (typeCase_ == 5 && - type_ != com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 5 + && type_ + != com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.newBuilder( + (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -13254,11 +15440,14 @@ public Builder mergeKMapEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ public Builder clearKMapEstimationConfig() { if (kMapEstimationConfigBuilder_ == null) { @@ -13277,24 +15466,32 @@ public Builder clearKMapEstimationConfig() { return this; } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder getKMapEstimationConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder + getKMapEstimationConfigBuilder() { return getKMapEstimationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder getKMapEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder + getKMapEstimationConfigOrBuilder() { if ((typeCase_ == 5) && (kMapEstimationConfigBuilder_ != null)) { return kMapEstimationConfigBuilder_.getMessageOrBuilder(); } else { @@ -13305,39 +15502,56 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder get } } /** + * + * *
      * k-map
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder> getKMapEstimationConfigFieldBuilder() { if (kMapEstimationConfigBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.getDefaultInstance(); } - kMapEstimationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder>( + kMapEstimationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; - onChanged();; + onChanged(); + ; return kMapEstimationConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> deltaPresenceEstimationConfigBuilder_; + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> + deltaPresenceEstimationConfigBuilder_; /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * * @return Whether the deltaPresenceEstimationConfig field is set. */ @java.lang.Override @@ -13345,35 +15559,48 @@ public boolean hasDeltaPresenceEstimationConfig() { return typeCase_ == 6; } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * * @return The deltaPresenceEstimationConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDeltaPresenceEstimationConfig() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + getDeltaPresenceEstimationConfig() { if (deltaPresenceEstimationConfigBuilder_ == null) { if (typeCase_ == 6) { return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance(); } else { if (typeCase_ == 6) { return deltaPresenceEstimationConfigBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance(); } } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ - public Builder setDeltaPresenceEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { + public Builder setDeltaPresenceEstimationConfig( + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { if (deltaPresenceEstimationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13387,14 +15614,19 @@ public Builder setDeltaPresenceEstimationConfig(com.google.privacy.dlp.v2.Privac return this; } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ public Builder setDeltaPresenceEstimationConfig( - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder builderForValue) { + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder + builderForValue) { if (deltaPresenceEstimationConfigBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -13405,18 +15637,28 @@ public Builder setDeltaPresenceEstimationConfig( return this; } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ - public Builder mergeDeltaPresenceEstimationConfig(com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { + public Builder mergeDeltaPresenceEstimationConfig( + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig value) { if (deltaPresenceEstimationConfigBuilder_ == null) { - if (typeCase_ == 6 && - type_ != com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder((com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 6 + && type_ + != com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.newBuilder( + (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -13431,11 +15673,15 @@ public Builder mergeDeltaPresenceEstimationConfig(com.google.privacy.dlp.v2.Priv return this; } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ public Builder clearDeltaPresenceEstimationConfig() { if (deltaPresenceEstimationConfigBuilder_ == null) { @@ -13454,61 +15700,84 @@ public Builder clearDeltaPresenceEstimationConfig() { return this; } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder getDeltaPresenceEstimationConfigBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder + getDeltaPresenceEstimationConfigBuilder() { return getDeltaPresenceEstimationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder getDeltaPresenceEstimationConfigOrBuilder() { + public com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder + getDeltaPresenceEstimationConfigOrBuilder() { if ((typeCase_ == 6) && (deltaPresenceEstimationConfigBuilder_ != null)) { return deltaPresenceEstimationConfigBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 6) { return (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_; } - return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); + return com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance(); } } /** + * + * *
      * delta-presence
      * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder> getDeltaPresenceEstimationConfigFieldBuilder() { if (deltaPresenceEstimationConfigBuilder_ == null) { if (!(typeCase_ == 6)) { - type_ = com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.getDefaultInstance(); - } - deltaPresenceEstimationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder>( + type_ = + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + .getDefaultInstance(); + } + deltaPresenceEstimationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.Builder, + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder>( (com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 6; - onChanged();; + onChanged(); + ; return deltaPresenceEstimationConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -13518,12 +15787,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.PrivacyMetric) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PrivacyMetric) private static final com.google.privacy.dlp.v2.PrivacyMetric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.PrivacyMetric(); } @@ -13532,16 +15801,16 @@ public static com.google.privacy.dlp.v2.PrivacyMetric getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivacyMetric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrivacyMetric(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivacyMetric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PrivacyMetric(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13556,6 +15825,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.PrivacyMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java index c04cb76f..2a09231c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetricOrBuilder.java @@ -1,85 +1,133 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface PrivacyMetricOrBuilder extends +public interface PrivacyMetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.PrivacyMetric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * + * * @return Whether the numericalStatsConfig field is set. */ boolean hasNumericalStatsConfig(); /** + * + * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * + * * @return The numericalStatsConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig getNumericalStatsConfig(); /** + * + * *
    * Numerical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * .google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig numerical_stats_config = 1; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder getNumericalStatsConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigOrBuilder + getNumericalStatsConfigOrBuilder(); /** + * + * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * * @return Whether the categoricalStatsConfig field is set. */ boolean hasCategoricalStatsConfig(); /** + * + * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * + * * @return The categoricalStatsConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig getCategoricalStatsConfig(); /** + * + * *
    * Categorical stats
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * .google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig categorical_stats_config = 2; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder getCategoricalStatsConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigOrBuilder + getCategoricalStatsConfigOrBuilder(); /** + * + * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; + * * @return Whether the kAnonymityConfig field is set. */ boolean hasKAnonymityConfig(); /** + * + * *
    * K-anonymity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig k_anonymity_config = 3; + * * @return The kAnonymityConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig getKAnonymityConfig(); /** + * + * *
    * K-anonymity
    * 
@@ -89,24 +137,32 @@ public interface PrivacyMetricOrBuilder extends com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAnonymityConfigOrBuilder(); /** + * + * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; + * * @return Whether the lDiversityConfig field is set. */ boolean hasLDiversityConfig(); /** + * + * *
    * l-diversity
    * 
* * .google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig l_diversity_config = 4; + * * @return The lDiversityConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig getLDiversityConfig(); /** + * + * *
    * l-diversity
    * 
@@ -116,58 +172,86 @@ public interface PrivacyMetricOrBuilder extends com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiversityConfigOrBuilder(); /** + * + * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * + * * @return Whether the kMapEstimationConfig field is set. */ boolean hasKMapEstimationConfig(); /** + * + * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * + * * @return The kMapEstimationConfig. */ com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig getKMapEstimationConfig(); /** + * + * *
    * k-map
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig k_map_estimation_config = 5; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder getKMapEstimationConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigOrBuilder + getKMapEstimationConfigOrBuilder(); /** + * + * *
    * delta-presence
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * * @return Whether the deltaPresenceEstimationConfig field is set. */ boolean hasDeltaPresenceEstimationConfig(); /** + * + * *
    * delta-presence
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * * @return The deltaPresenceEstimationConfig. */ - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig getDeltaPresenceEstimationConfig(); + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig + getDeltaPresenceEstimationConfig(); /** + * + * *
    * delta-presence
    * 
* - * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * + * .google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig delta_presence_estimation_config = 6; + * */ - com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder getDeltaPresenceEstimationConfigOrBuilder(); + com.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigOrBuilder + getDeltaPresenceEstimationConfigOrBuilder(); public com.google.privacy.dlp.v2.PrivacyMetric.TypeCase getTypeCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProjectName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java index 54a04ede..4b2ecaa9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiId.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A column with a semantic tag attached.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.QuasiId} */ -public final class QuasiId extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QuasiId extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.QuasiId) QuasiIdOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QuasiId.newBuilder() to construct. private QuasiId(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QuasiId() { - } + + private QuasiId() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QuasiId(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QuasiId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,95 +68,104 @@ private QuasiId( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (tagCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); + break; } - tag_ = - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (tagCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.InfoType) tag_).toBuilder(); + } + tag_ = + input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) tag_); + tag_ = subBuilder.buildPartial(); + } + tagCase_ = 2; + break; } - tagCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - tagCase_ = 3; - tag_ = s; - break; - } - case 34: { - com.google.protobuf.Empty.Builder subBuilder = null; - if (tagCase_ == 4) { - subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + tagCase_ = 3; + tag_ = s; + break; } - tag_ = - input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); - tag_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Empty.Builder subBuilder = null; + if (tagCase_ == 4) { + subBuilder = ((com.google.protobuf.Empty) tag_).toBuilder(); + } + tag_ = input.readMessage(com.google.protobuf.Empty.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Empty) tag_); + tag_ = subBuilder.buildPartial(); + } + tagCase_ = 4; + break; } - tagCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuasiId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuasiId.class, com.google.privacy.dlp.v2.QuasiId.Builder.class); + com.google.privacy.dlp.v2.QuasiId.class, + com.google.privacy.dlp.v2.QuasiId.Builder.class); } private int tagCase_ = 0; private java.lang.Object tag_; + public enum TagCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE(2), CUSTOM_TAG(3), INFERRED(4), TAG_NOT_SET(0); private final int value; + private TagCase(int value) { this.value = value; } @@ -156,32 +181,40 @@ public static TagCase valueOf(int value) { public static TagCase forNumber(int value) { switch (value) { - case 2: return INFO_TYPE; - case 3: return CUSTOM_TAG; - case 4: return INFERRED; - case 0: return TAG_NOT_SET; - default: return null; + case 2: + return INFO_TYPE; + case 3: + return CUSTOM_TAG; + case 4: + return INFERRED; + case 0: + return TAG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TagCase - getTagCase() { - return TagCase.forNumber( - tagCase_); + public TagCase getTagCase() { + return TagCase.forNumber(tagCase_); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.FieldId field_; /** + * + * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ @java.lang.Override @@ -189,11 +222,15 @@ public boolean hasField() { return field_ != null; } /** + * + * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ @java.lang.Override @@ -201,11 +238,14 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { @@ -214,6 +254,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int INFO_TYPE_FIELD_NUMBER = 2; /** + * + * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -223,6 +265,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -230,6 +273,8 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** + * + * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -239,16 +284,19 @@ public boolean hasInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { if (tagCase_ == 2) { - return (com.google.privacy.dlp.v2.InfoType) tag_; + return (com.google.privacy.dlp.v2.InfoType) tag_; } return com.google.privacy.dlp.v2.InfoType.getDefaultInstance(); } /** + * + * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -262,13 +310,15 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
   @java.lang.Override
   public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
     if (tagCase_ == 2) {
-       return (com.google.privacy.dlp.v2.InfoType) tag_;
+      return (com.google.privacy.dlp.v2.InfoType) tag_;
     }
     return com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
   }
 
   public static final int CUSTOM_TAG_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -276,12 +326,15 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
    * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ public boolean hasCustomTag() { return tagCase_ == 3; } /** + * + * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -289,6 +342,7 @@ public boolean hasCustomTag() {
    * 
* * string custom_tag = 3; + * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -299,8 +353,7 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -309,6 +362,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -316,18 +371,17 @@ public java.lang.String getCustomTag() {
    * 
* * string custom_tag = 3; + * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -339,12 +393,15 @@ public java.lang.String getCustomTag() { public static final int INFERRED_FIELD_NUMBER = 4; /** + * + * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; + * * @return Whether the inferred field is set. */ @java.lang.Override @@ -352,22 +409,27 @@ public boolean hasInferred() { return tagCase_ == 4; } /** + * + * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; + * * @return The inferred. */ @java.lang.Override public com.google.protobuf.Empty getInferred() { if (tagCase_ == 4) { - return (com.google.protobuf.Empty) tag_; + return (com.google.protobuf.Empty) tag_; } return com.google.protobuf.Empty.getDefaultInstance(); } /** + * + * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
@@ -378,12 +440,13 @@ public com.google.protobuf.Empty getInferred() {
   @java.lang.Override
   public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
     if (tagCase_ == 4) {
-       return (com.google.protobuf.Empty) tag_;
+      return (com.google.protobuf.Empty) tag_;
     }
     return com.google.protobuf.Empty.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -395,8 +458,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (field_ != null) {
       output.writeMessage(1, getField());
     }
@@ -419,19 +481,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (field_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getField());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
     }
     if (tagCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.privacy.dlp.v2.InfoType) tag_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.privacy.dlp.v2.InfoType) tag_);
     }
     if (tagCase_ == 3) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tag_);
     }
     if (tagCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.Empty) tag_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.Empty) tag_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -441,7 +504,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.privacy.dlp.v2.QuasiId)) {
       return super.equals(obj);
@@ -450,22 +513,18 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasField() != other.hasField()) return false;
     if (hasField()) {
-      if (!getField()
-          .equals(other.getField())) return false;
+      if (!getField().equals(other.getField())) return false;
     }
     if (!getTagCase().equals(other.getTagCase())) return false;
     switch (tagCase_) {
       case 2:
-        if (!getInfoType()
-            .equals(other.getInfoType())) return false;
+        if (!getInfoType().equals(other.getInfoType())) return false;
         break;
       case 3:
-        if (!getCustomTag()
-            .equals(other.getCustomTag())) return false;
+        if (!getCustomTag().equals(other.getCustomTag())) return false;
         break;
       case 4:
-        if (!getInferred()
-            .equals(other.getInferred())) return false;
+        if (!getInferred().equals(other.getInferred())) return false;
         break;
       case 0:
       default:
@@ -506,118 +565,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.QuasiId parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.privacy.dlp.v2.QuasiId parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId 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.privacy.dlp.v2.QuasiId parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.QuasiId parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.QuasiId prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 column with a semantic tag attached.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.QuasiId} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.QuasiId) com.google.privacy.dlp.v2.QuasiIdOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuasiId_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuasiId.class, com.google.privacy.dlp.v2.QuasiId.Builder.class); + com.google.privacy.dlp.v2.QuasiId.class, + com.google.privacy.dlp.v2.QuasiId.Builder.class); } // Construct using com.google.privacy.dlp.v2.QuasiId.newBuilder() @@ -625,16 +692,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -650,9 +716,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuasiId_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuasiId_descriptor; } @java.lang.Override @@ -703,38 +769,39 @@ public com.google.privacy.dlp.v2.QuasiId buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.QuasiId) { - return mergeFrom((com.google.privacy.dlp.v2.QuasiId)other); + return mergeFrom((com.google.privacy.dlp.v2.QuasiId) other); } else { super.mergeFrom(other); return this; @@ -747,23 +814,27 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.QuasiId other) { mergeField(other.getField()); } switch (other.getTagCase()) { - case INFO_TYPE: { - mergeInfoType(other.getInfoType()); - break; - } - case CUSTOM_TAG: { - tagCase_ = 3; - tag_ = other.tag_; - onChanged(); - break; - } - case INFERRED: { - mergeInferred(other.getInferred()); - break; - } - case TAG_NOT_SET: { - break; - } + case INFO_TYPE: + { + mergeInfoType(other.getInfoType()); + break; + } + case CUSTOM_TAG: + { + tagCase_ = 3; + tag_ = other.tag_; + onChanged(); + break; + } + case INFERRED: + { + mergeInferred(other.getInferred()); + break; + } + case TAG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -793,12 +864,12 @@ public Builder mergeFrom( } return this; } + private int tagCase_ = 0; private java.lang.Object tag_; - public TagCase - getTagCase() { - return TagCase.forNumber( - tagCase_); + + public TagCase getTagCase() { + return TagCase.forNumber(tagCase_); } public Builder clearTag() { @@ -808,27 +879,37 @@ public Builder clearTag() { return this; } - private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldBuilder_; /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -839,11 +920,14 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { @@ -859,14 +943,16 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -877,17 +963,20 @@ public Builder setField( return this; } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -899,11 +988,14 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -917,56 +1009,72 @@ public Builder clearField() { return this; } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
      * Required. Identifies the column.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + infoTypeBuilder_; /** + * + * *
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -976,6 +1084,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -983,6 +1092,8 @@ public boolean hasInfoType() { return tagCase_ == 2; } /** + * + * *
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -992,6 +1103,7 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override @@ -1009,6 +1121,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { } } /** + * + * *
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1033,6 +1147,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1043,8 +1159,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
      *
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
-    public Builder setInfoType(
-        com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+    public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
       if (infoTypeBuilder_ == null) {
         tag_ = builderForValue.build();
         onChanged();
@@ -1055,6 +1170,8 @@ public Builder setInfoType(
       return this;
     }
     /**
+     *
+     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1067,10 +1184,12 @@ public Builder setInfoType(
      */
     public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       if (infoTypeBuilder_ == null) {
-        if (tagCase_ == 2 &&
-            tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
-          tag_ = com.google.privacy.dlp.v2.InfoType.newBuilder((com.google.privacy.dlp.v2.InfoType) tag_)
-              .mergeFrom(value).buildPartial();
+        if (tagCase_ == 2 && tag_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
+          tag_ =
+              com.google.privacy.dlp.v2.InfoType.newBuilder(
+                      (com.google.privacy.dlp.v2.InfoType) tag_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tag_ = value;
         }
@@ -1085,6 +1204,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1112,6 +1233,8 @@ public Builder clearInfoType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1126,6 +1249,8 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
       return getInfoTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1148,6 +1273,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A column can be tagged with a InfoType to use the relevant public
      * dataset as a statistical model of population, if available. We
@@ -1159,25 +1286,31 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * .google.privacy.dlp.v2.InfoType info_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
         getInfoTypeFieldBuilder() {
       if (infoTypeBuilder_ == null) {
         if (!(tagCase_ == 2)) {
           tag_ = com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
         }
-        infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                (com.google.privacy.dlp.v2.InfoType) tag_,
-                getParentForChildren(),
-                isClean());
+        infoTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.InfoType,
+                com.google.privacy.dlp.v2.InfoType.Builder,
+                com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                (com.google.privacy.dlp.v2.InfoType) tag_, getParentForChildren(), isClean());
         tag_ = null;
       }
       tagCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return infoTypeBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1185,6 +1318,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ @java.lang.Override @@ -1192,6 +1326,8 @@ public boolean hasCustomTag() { return tagCase_ == 3; } /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1199,6 +1335,7 @@ public boolean hasCustomTag() {
      * 
* * string custom_tag = 3; + * * @return The customTag. */ @java.lang.Override @@ -1208,8 +1345,7 @@ public java.lang.String getCustomTag() { ref = tag_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (tagCase_ == 3) { tag_ = s; @@ -1220,6 +1356,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1227,19 +1365,18 @@ public java.lang.String getCustomTag() {
      * 
* * string custom_tag = 3; + * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = ""; if (tagCase_ == 3) { ref = tag_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (tagCase_ == 3) { tag_ = b; } @@ -1249,6 +1386,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1256,20 +1395,22 @@ public java.lang.String getCustomTag() {
      * 
* * string custom_tag = 3; + * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag( - java.lang.String value) { + public Builder setCustomTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - tagCase_ = 3; + throw new NullPointerException(); + } + tagCase_ = 3; tag_ = value; onChanged(); return this; } /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1277,6 +1418,7 @@ public Builder setCustomTag(
      * 
* * string custom_tag = 3; + * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -1288,6 +1430,8 @@ public Builder clearCustomTag() { return this; } /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -1295,15 +1439,15 @@ public Builder clearCustomTag() {
      * 
* * string custom_tag = 3; + * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); tagCase_ = 3; tag_ = value; onChanged(); @@ -1311,14 +1455,20 @@ public Builder setCustomTagBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> inferredBuilder_; + com.google.protobuf.Empty, + com.google.protobuf.Empty.Builder, + com.google.protobuf.EmptyOrBuilder> + inferredBuilder_; /** + * + * *
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
      * 
* * .google.protobuf.Empty inferred = 4; + * * @return Whether the inferred field is set. */ @java.lang.Override @@ -1326,12 +1476,15 @@ public boolean hasInferred() { return tagCase_ == 4; } /** + * + * *
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
      * 
* * .google.protobuf.Empty inferred = 4; + * * @return The inferred. */ @java.lang.Override @@ -1349,6 +1502,8 @@ public com.google.protobuf.Empty getInferred() { } } /** + * + * *
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1370,6 +1525,8 @@ public Builder setInferred(com.google.protobuf.Empty value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1377,8 +1534,7 @@ public Builder setInferred(com.google.protobuf.Empty value) {
      *
      * .google.protobuf.Empty inferred = 4;
      */
-    public Builder setInferred(
-        com.google.protobuf.Empty.Builder builderForValue) {
+    public Builder setInferred(com.google.protobuf.Empty.Builder builderForValue) {
       if (inferredBuilder_ == null) {
         tag_ = builderForValue.build();
         onChanged();
@@ -1389,6 +1545,8 @@ public Builder setInferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1398,10 +1556,11 @@ public Builder setInferred(
      */
     public Builder mergeInferred(com.google.protobuf.Empty value) {
       if (inferredBuilder_ == null) {
-        if (tagCase_ == 4 &&
-            tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
-          tag_ = com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
-              .mergeFrom(value).buildPartial();
+        if (tagCase_ == 4 && tag_ != com.google.protobuf.Empty.getDefaultInstance()) {
+          tag_ =
+              com.google.protobuf.Empty.newBuilder((com.google.protobuf.Empty) tag_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tag_ = value;
         }
@@ -1416,6 +1575,8 @@ public Builder mergeInferred(com.google.protobuf.Empty value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1440,6 +1601,8 @@ public Builder clearInferred() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1451,6 +1614,8 @@ public com.google.protobuf.Empty.Builder getInferredBuilder() {
       return getInferredFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1470,6 +1635,8 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If no semantic tag is indicated, we infer the statistical model from
      * the distribution of values in the input data
@@ -1478,26 +1645,30 @@ public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder() {
      * .google.protobuf.Empty inferred = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder> 
+            com.google.protobuf.Empty,
+            com.google.protobuf.Empty.Builder,
+            com.google.protobuf.EmptyOrBuilder>
         getInferredFieldBuilder() {
       if (inferredBuilder_ == null) {
         if (!(tagCase_ == 4)) {
           tag_ = com.google.protobuf.Empty.getDefaultInstance();
         }
-        inferredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Empty, com.google.protobuf.Empty.Builder, com.google.protobuf.EmptyOrBuilder>(
-                (com.google.protobuf.Empty) tag_,
-                getParentForChildren(),
-                isClean());
+        inferredBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Empty,
+                com.google.protobuf.Empty.Builder,
+                com.google.protobuf.EmptyOrBuilder>(
+                (com.google.protobuf.Empty) tag_, getParentForChildren(), isClean());
         tag_ = null;
       }
       tagCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return inferredBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1507,12 +1678,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.QuasiId)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.QuasiId)
   private static final com.google.privacy.dlp.v2.QuasiId DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.QuasiId();
   }
@@ -1521,16 +1692,16 @@ public static com.google.privacy.dlp.v2.QuasiId getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public QuasiId parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new QuasiId(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public QuasiId parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new QuasiId(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1545,6 +1716,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.QuasiId getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
index 93fb5b0c..e31f11d4 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuasiIdOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface QuasiIdOrBuilder extends
+public interface QuasiIdOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.QuasiId)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
    * Required. Identifies the column.
    * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** + * + * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -44,10 +73,13 @@ public interface QuasiIdOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -57,10 +89,13 @@ public interface QuasiIdOrBuilder extends
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * A column can be tagged with a InfoType to use the relevant public
    * dataset as a statistical model of population, if available. We
@@ -74,6 +109,8 @@ public interface QuasiIdOrBuilder extends
   com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -81,10 +118,13 @@ public interface QuasiIdOrBuilder extends
    * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ boolean hasCustomTag(); /** + * + * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -92,10 +132,13 @@ public interface QuasiIdOrBuilder extends
    * 
* * string custom_tag = 3; + * * @return The customTag. */ java.lang.String getCustomTag(); /** + * + * *
    * A column can be tagged with a custom tag. In this case, the user must
    * indicate an auxiliary table that contains statistical information on
@@ -103,32 +146,40 @@ public interface QuasiIdOrBuilder extends
    * 
* * string custom_tag = 3; + * * @return The bytes for customTag. */ - com.google.protobuf.ByteString - getCustomTagBytes(); + com.google.protobuf.ByteString getCustomTagBytes(); /** + * + * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; + * * @return Whether the inferred field is set. */ boolean hasInferred(); /** + * + * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
    * 
* * .google.protobuf.Empty inferred = 4; + * * @return The inferred. */ com.google.protobuf.Empty getInferred(); /** + * + * *
    * If no semantic tag is indicated, we infer the statistical model from
    * the distribution of values in the input data
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
index 8e8ff1ce..4843f416 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfo.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Message for infoType-dependent details parsed from quote.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.QuoteInfo} */ -public final class QuoteInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QuoteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.QuoteInfo) QuoteInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QuoteInfo.newBuilder() to construct. private QuoteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QuoteInfo() { - } + + private QuoteInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QuoteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QuoteInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,60 +68,66 @@ private QuoteInfo( case 0: done = true; break; - case 18: { - com.google.privacy.dlp.v2.DateTime.Builder subBuilder = null; - if (parsedQuoteCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DateTime) parsedQuote_).toBuilder(); - } - parsedQuote_ = - input.readMessage(com.google.privacy.dlp.v2.DateTime.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateTime) parsedQuote_); - parsedQuote_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.DateTime.Builder subBuilder = null; + if (parsedQuoteCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DateTime) parsedQuote_).toBuilder(); + } + parsedQuote_ = + input.readMessage(com.google.privacy.dlp.v2.DateTime.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DateTime) parsedQuote_); + parsedQuote_ = subBuilder.buildPartial(); + } + parsedQuoteCase_ = 2; + break; } - parsedQuoteCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuoteInfo.class, com.google.privacy.dlp.v2.QuoteInfo.Builder.class); + com.google.privacy.dlp.v2.QuoteInfo.class, + com.google.privacy.dlp.v2.QuoteInfo.Builder.class); } private int parsedQuoteCase_ = 0; private java.lang.Object parsedQuote_; + public enum ParsedQuoteCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATE_TIME(2), PARSEDQUOTE_NOT_SET(0); private final int value; + private ParsedQuoteCase(int value) { this.value = value; } @@ -121,29 +143,34 @@ public static ParsedQuoteCase valueOf(int value) { public static ParsedQuoteCase forNumber(int value) { switch (value) { - case 2: return DATE_TIME; - case 0: return PARSEDQUOTE_NOT_SET; - default: return null; + case 2: + return DATE_TIME; + case 0: + return PARSEDQUOTE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ParsedQuoteCase - getParsedQuoteCase() { - return ParsedQuoteCase.forNumber( - parsedQuoteCase_); + public ParsedQuoteCase getParsedQuoteCase() { + return ParsedQuoteCase.forNumber(parsedQuoteCase_); } public static final int DATE_TIME_FIELD_NUMBER = 2; /** + * + * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; + * * @return Whether the dateTime field is set. */ @java.lang.Override @@ -151,21 +178,26 @@ public boolean hasDateTime() { return parsedQuoteCase_ == 2; } /** + * + * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; + * * @return The dateTime. */ @java.lang.Override public com.google.privacy.dlp.v2.DateTime getDateTime() { if (parsedQuoteCase_ == 2) { - return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; + return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; } return com.google.privacy.dlp.v2.DateTime.getDefaultInstance(); } /** + * + * *
    * The date time indicated by the quote.
    * 
@@ -175,12 +207,13 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() { @java.lang.Override public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { if (parsedQuoteCase_ == 2) { - return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; + return (com.google.privacy.dlp.v2.DateTime) parsedQuote_; } return com.google.privacy.dlp.v2.DateTime.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +225,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (parsedQuoteCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); } @@ -207,8 +239,9 @@ public int getSerializedSize() { size = 0; if (parsedQuoteCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -218,7 +251,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.privacy.dlp.v2.QuoteInfo)) { return super.equals(obj); @@ -228,8 +261,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParsedQuoteCase().equals(other.getParsedQuoteCase())) return false; switch (parsedQuoteCase_) { case 2: - if (!getDateTime() - .equals(other.getDateTime())) return false; + if (!getDateTime().equals(other.getDateTime())) return false; break; case 0: default: @@ -258,118 +290,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.QuoteInfo 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.privacy.dlp.v2.QuoteInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.QuoteInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.QuoteInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for infoType-dependent details parsed from quote.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.QuoteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.QuoteInfo) com.google.privacy.dlp.v2.QuoteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.QuoteInfo.class, com.google.privacy.dlp.v2.QuoteInfo.Builder.class); + com.google.privacy.dlp.v2.QuoteInfo.class, + com.google.privacy.dlp.v2.QuoteInfo.Builder.class); } // Construct using com.google.privacy.dlp.v2.QuoteInfo.newBuilder() @@ -377,16 +417,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor; } @java.lang.Override @@ -434,38 +473,39 @@ public com.google.privacy.dlp.v2.QuoteInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.QuoteInfo) { - return mergeFrom((com.google.privacy.dlp.v2.QuoteInfo)other); + return mergeFrom((com.google.privacy.dlp.v2.QuoteInfo) other); } else { super.mergeFrom(other); return this; @@ -475,13 +515,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.QuoteInfo other) { if (other == com.google.privacy.dlp.v2.QuoteInfo.getDefaultInstance()) return this; switch (other.getParsedQuoteCase()) { - case DATE_TIME: { - mergeDateTime(other.getDateTime()); - break; - } - case PARSEDQUOTE_NOT_SET: { - break; - } + case DATE_TIME: + { + mergeDateTime(other.getDateTime()); + break; + } + case PARSEDQUOTE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -511,12 +553,12 @@ public Builder mergeFrom( } return this; } + private int parsedQuoteCase_ = 0; private java.lang.Object parsedQuote_; - public ParsedQuoteCase - getParsedQuoteCase() { - return ParsedQuoteCase.forNumber( - parsedQuoteCase_); + + public ParsedQuoteCase getParsedQuoteCase() { + return ParsedQuoteCase.forNumber(parsedQuoteCase_); } public Builder clearParsedQuote() { @@ -526,15 +568,20 @@ public Builder clearParsedQuote() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime, com.google.privacy.dlp.v2.DateTime.Builder, com.google.privacy.dlp.v2.DateTimeOrBuilder> dateTimeBuilder_; + com.google.privacy.dlp.v2.DateTime, + com.google.privacy.dlp.v2.DateTime.Builder, + com.google.privacy.dlp.v2.DateTimeOrBuilder> + dateTimeBuilder_; /** + * + * *
      * The date time indicated by the quote.
      * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; + * * @return Whether the dateTime field is set. */ @java.lang.Override @@ -542,11 +589,14 @@ public boolean hasDateTime() { return parsedQuoteCase_ == 2; } /** + * + * *
      * The date time indicated by the quote.
      * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; + * * @return The dateTime. */ @java.lang.Override @@ -564,6 +614,8 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() { } } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -584,14 +636,15 @@ public Builder setDateTime(com.google.privacy.dlp.v2.DateTime value) { return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; */ - public Builder setDateTime( - com.google.privacy.dlp.v2.DateTime.Builder builderForValue) { + public Builder setDateTime(com.google.privacy.dlp.v2.DateTime.Builder builderForValue) { if (dateTimeBuilder_ == null) { parsedQuote_ = builderForValue.build(); onChanged(); @@ -602,6 +655,8 @@ public Builder setDateTime( return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -610,10 +665,13 @@ public Builder setDateTime( */ public Builder mergeDateTime(com.google.privacy.dlp.v2.DateTime value) { if (dateTimeBuilder_ == null) { - if (parsedQuoteCase_ == 2 && - parsedQuote_ != com.google.privacy.dlp.v2.DateTime.getDefaultInstance()) { - parsedQuote_ = com.google.privacy.dlp.v2.DateTime.newBuilder((com.google.privacy.dlp.v2.DateTime) parsedQuote_) - .mergeFrom(value).buildPartial(); + if (parsedQuoteCase_ == 2 + && parsedQuote_ != com.google.privacy.dlp.v2.DateTime.getDefaultInstance()) { + parsedQuote_ = + com.google.privacy.dlp.v2.DateTime.newBuilder( + (com.google.privacy.dlp.v2.DateTime) parsedQuote_) + .mergeFrom(value) + .buildPartial(); } else { parsedQuote_ = value; } @@ -628,6 +686,8 @@ public Builder mergeDateTime(com.google.privacy.dlp.v2.DateTime value) { return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -651,6 +711,8 @@ public Builder clearDateTime() { return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -661,6 +723,8 @@ public com.google.privacy.dlp.v2.DateTime.Builder getDateTimeBuilder() { return getDateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -679,6 +743,8 @@ public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { } } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -686,26 +752,32 @@ public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { * .google.privacy.dlp.v2.DateTime date_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime, com.google.privacy.dlp.v2.DateTime.Builder, com.google.privacy.dlp.v2.DateTimeOrBuilder> + com.google.privacy.dlp.v2.DateTime, + com.google.privacy.dlp.v2.DateTime.Builder, + com.google.privacy.dlp.v2.DateTimeOrBuilder> getDateTimeFieldBuilder() { if (dateTimeBuilder_ == null) { if (!(parsedQuoteCase_ == 2)) { parsedQuote_ = com.google.privacy.dlp.v2.DateTime.getDefaultInstance(); } - dateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DateTime, com.google.privacy.dlp.v2.DateTime.Builder, com.google.privacy.dlp.v2.DateTimeOrBuilder>( + dateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DateTime, + com.google.privacy.dlp.v2.DateTime.Builder, + com.google.privacy.dlp.v2.DateTimeOrBuilder>( (com.google.privacy.dlp.v2.DateTime) parsedQuote_, getParentForChildren(), isClean()); parsedQuote_ = null; } parsedQuoteCase_ = 2; - onChanged();; + onChanged(); + ; return dateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -715,12 +787,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.QuoteInfo) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.QuoteInfo) private static final com.google.privacy.dlp.v2.QuoteInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.QuoteInfo(); } @@ -729,16 +801,16 @@ public static com.google.privacy.dlp.v2.QuoteInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuoteInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuoteInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuoteInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuoteInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,6 +825,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.QuoteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java similarity index 59% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java index 021beda9..89f287b1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/QuoteInfoOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface QuoteInfoOrBuilder extends +public interface QuoteInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.QuoteInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; + * * @return Whether the dateTime field is set. */ boolean hasDateTime(); /** + * + * *
    * The date time indicated by the quote.
    * 
* * .google.privacy.dlp.v2.DateTime date_time = 2; + * * @return The dateTime. */ com.google.privacy.dlp.v2.DateTime getDateTime(); /** + * + * *
    * The date time indicated by the quote.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java index 7865ceb3..a5b86da1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Range.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Generic half-open interval [start, end)
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Range} */ -public final class Range extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Range extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Range) RangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Range() { - } + + private Range() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Range(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Range( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,45 @@ private Range( case 0: done = true; break; - case 8: { - - start_ = input.readInt64(); - break; - } - case 16: { - - end_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + start_ = input.readInt64(); + break; + } + case 16: + { + end_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Range.class, com.google.privacy.dlp.v2.Range.Builder.class); } @@ -97,11 +114,14 @@ private Range( public static final int START_FIELD_NUMBER = 1; private long start_; /** + * + * *
    * Index of the first character of the range (inclusive).
    * 
* * int64 start = 1; + * * @return The start. */ @java.lang.Override @@ -112,11 +132,14 @@ public long getStart() { public static final int END_FIELD_NUMBER = 2; private long end_; /** + * + * *
    * Index of the last character of the range (exclusive).
    * 
* * int64 end = 2; + * * @return The end. */ @java.lang.Override @@ -125,6 +148,7 @@ public long getEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,8 +160,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != 0L) { output.writeInt64(1, start_); } @@ -154,12 +177,10 @@ public int getSerializedSize() { size = 0; if (start_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, start_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, start_); } if (end_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, end_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, end_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -169,17 +190,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.privacy.dlp.v2.Range)) { return super.equals(obj); } com.google.privacy.dlp.v2.Range other = (com.google.privacy.dlp.v2.Range) obj; - if (getStart() - != other.getStart()) return false; - if (getEnd() - != other.getEnd()) return false; + if (getStart() != other.getStart()) return false; + if (getEnd() != other.getEnd()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -192,126 +211,131 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStart()); hash = (37 * hash) + END_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEnd()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEnd()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.Range parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Range parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Range parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Range parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Range parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Range parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Range parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Range parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Range parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Range 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.privacy.dlp.v2.Range parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Range parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Range parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Range prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Generic half-open interval [start, end)
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Range} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Range) com.google.privacy.dlp.v2.RangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.privacy.dlp.v2.Range.class, com.google.privacy.dlp.v2.Range.Builder.class); } @@ -321,16 +345,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -342,9 +365,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Range_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Range_descriptor; } @java.lang.Override @@ -374,38 +397,39 @@ public com.google.privacy.dlp.v2.Range buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Range) { - return mergeFrom((com.google.privacy.dlp.v2.Range)other); + return mergeFrom((com.google.privacy.dlp.v2.Range) other); } else { super.mergeFrom(other); return this; @@ -449,13 +473,16 @@ public Builder mergeFrom( return this; } - private long start_ ; + private long start_; /** + * + * *
      * Index of the first character of the range (inclusive).
      * 
* * int64 start = 1; + * * @return The start. */ @java.lang.Override @@ -463,42 +490,51 @@ public long getStart() { return start_; } /** + * + * *
      * Index of the first character of the range (inclusive).
      * 
* * int64 start = 1; + * * @param value The start to set. * @return This builder for chaining. */ public Builder setStart(long value) { - + start_ = value; onChanged(); return this; } /** + * + * *
      * Index of the first character of the range (inclusive).
      * 
* * int64 start = 1; + * * @return This builder for chaining. */ public Builder clearStart() { - + start_ = 0L; onChanged(); return this; } - private long end_ ; + private long end_; /** + * + * *
      * Index of the last character of the range (exclusive).
      * 
* * int64 end = 2; + * * @return The end. */ @java.lang.Override @@ -506,37 +542,43 @@ public long getEnd() { return end_; } /** + * + * *
      * Index of the last character of the range (exclusive).
      * 
* * int64 end = 2; + * * @param value The end to set. * @return This builder for chaining. */ public Builder setEnd(long value) { - + end_ = value; onChanged(); return this; } /** + * + * *
      * Index of the last character of the range (exclusive).
      * 
* * int64 end = 2; + * * @return This builder for chaining. */ public Builder clearEnd() { - + end_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -546,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Range) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Range) private static final com.google.privacy.dlp.v2.Range DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Range(); } @@ -560,16 +602,16 @@ public static com.google.privacy.dlp.v2.Range getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Range parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Range(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Range parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Range(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,6 +626,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java new file mode 100644 index 00000000..4889957f --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RangeOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface RangeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Range) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Index of the first character of the range (inclusive).
+   * 
+ * + * int64 start = 1; + * + * @return The start. + */ + long getStart(); + + /** + * + * + *
+   * Index of the last character of the range (exclusive).
+   * 
+ * + * int64 end = 2; + * + * @return The end. + */ + long getEnd(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java index 6fc16861..00ec26ed 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A condition for determining whether a transformation should be applied to
  * a field.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RecordCondition}
  */
-public final class RecordCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RecordCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition)
     RecordConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RecordCondition.newBuilder() to construct.
   private RecordCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RecordCondition() {
-  }
+
+  private RecordCondition() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RecordCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RecordCondition(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,120 +69,156 @@ private RecordCondition(
           case 0:
             done = true;
             break;
-          case 26: {
-            com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder subBuilder = null;
-            if (expressions_ != null) {
-              subBuilder = expressions_.toBuilder();
-            }
-            expressions_ = input.readMessage(com.google.privacy.dlp.v2.RecordCondition.Expressions.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(expressions_);
-              expressions_ = subBuilder.buildPartial();
-            }
+          case 26:
+            {
+              com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder subBuilder = null;
+              if (expressions_ != null) {
+                subBuilder = expressions_.toBuilder();
+              }
+              expressions_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RecordCondition.Expressions.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(expressions_);
+                expressions_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordCondition.class, com.google.privacy.dlp.v2.RecordCondition.Builder.class);
+            com.google.privacy.dlp.v2.RecordCondition.class,
+            com.google.privacy.dlp.v2.RecordCondition.Builder.class);
   }
 
-  public interface ConditionOrBuilder extends
+  public interface ConditionOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition.Condition)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** + * + * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for operator. */ int getOperatorValue(); /** + * + * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The operator. */ com.google.privacy.dlp.v2.RelationalOperator getOperator(); /** + * + * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; + * * @return The value. */ com.google.privacy.dlp.v2.Value getValue(); /** + * + * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
@@ -176,6 +228,8 @@ public interface ConditionOrBuilder extends com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder(); } /** + * + * *
    * The field type of `value` and `field` do not need to match to be
    * considered equal, but not all comparisons are possible.
@@ -198,31 +252,31 @@ public interface ConditionOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Condition}
    */
-  public static final class Condition extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition.Condition)
       ConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Condition() {
       operator_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Condition();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Condition(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -241,78 +295,90 @@ private Condition(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (field_ != null) {
-                subBuilder = field_.toBuilder();
+            case 10:
+              {
+                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                if (field_ != null) {
+                  subBuilder = field_.toBuilder();
+                }
+                field_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(field_);
+                  field_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(field_);
-                field_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              operator_ = rawValue;
-              break;
-            }
-            case 34: {
-              com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
-              if (value_ != null) {
-                subBuilder = value_.toBuilder();
+                operator_ = rawValue;
+                break;
               }
-              value_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(value_);
-                value_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.privacy.dlp.v2.Value.Builder subBuilder = null;
+                if (value_ != null) {
+                  subBuilder = value_.toBuilder();
+                }
+                value_ =
+                    input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(value_);
+                  value_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordCondition.Condition.class, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
+              com.google.privacy.dlp.v2.RecordCondition.Condition.class,
+              com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
+     *
+     *
      * 
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ @java.lang.Override @@ -320,11 +386,15 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ @java.lang.Override @@ -332,11 +402,14 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
      * Required. Field within the record this condition is evaluated against.
      * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { @@ -346,38 +419,54 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int OPERATOR_FIELD_NUMBER = 3; private int operator_; /** + * + * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for operator. */ - @java.lang.Override public int getOperatorValue() { + @java.lang.Override + public int getOperatorValue() { return operator_; } /** + * + * *
      * Required. Operator used to compare the field or infoType to the value.
      * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The operator. */ - @java.lang.Override public com.google.privacy.dlp.v2.RelationalOperator getOperator() { + @java.lang.Override + public com.google.privacy.dlp.v2.RelationalOperator getOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RelationalOperator result = com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); + com.google.privacy.dlp.v2.RelationalOperator result = + com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); return result == null ? com.google.privacy.dlp.v2.RelationalOperator.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.Value value_; /** + * + * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; + * * @return Whether the value field is set. */ @java.lang.Override @@ -385,11 +474,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
* * .google.privacy.dlp.v2.Value value = 4; + * * @return The value. */ @java.lang.Override @@ -397,6 +489,8 @@ public com.google.privacy.dlp.v2.Value getValue() { return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } /** + * + * *
      * Value to compare against. [Mandatory, except for `EXISTS` tests.]
      * 
@@ -409,6 +503,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,12 +515,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } - if (operator_ != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED.getNumber()) { + if (operator_ + != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(3, operator_); } if (value_ != null) { @@ -441,16 +537,15 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); } - if (operator_ != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operator_); + if (operator_ + != com.google.privacy.dlp.v2.RelationalOperator.RELATIONAL_OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operator_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -460,23 +555,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.privacy.dlp.v2.RecordCondition.Condition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition.Condition other = (com.google.privacy.dlp.v2.RecordCondition.Condition) obj; + com.google.privacy.dlp.v2.RecordCondition.Condition other = + (com.google.privacy.dlp.v2.RecordCondition.Condition) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } if (operator_ != other.operator_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -505,87 +599,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Condition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Condition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition.Condition prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.RecordCondition.Condition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -595,6 +696,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The field type of `value` and `field` do not need to match to be
      * considered equal, but not all comparisons are possible.
@@ -617,21 +720,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Condition}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition.Condition)
         com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.RecordCondition.Condition.class, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
+                com.google.privacy.dlp.v2.RecordCondition.Condition.class,
+                com.google.privacy.dlp.v2.RecordCondition.Condition.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.RecordCondition.Condition.newBuilder()
@@ -639,16 +745,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -670,9 +775,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_RecordCondition_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -691,7 +796,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.RecordCondition.Condition buildPartial() {
-        com.google.privacy.dlp.v2.RecordCondition.Condition result = new com.google.privacy.dlp.v2.RecordCondition.Condition(this);
+        com.google.privacy.dlp.v2.RecordCondition.Condition result =
+            new com.google.privacy.dlp.v2.RecordCondition.Condition(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -711,38 +817,41 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.RecordCondition.Condition) {
-          return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Condition)other);
+          return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Condition) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -750,7 +859,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Condition other) {
-        if (other == com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance())
+          return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -779,7 +889,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.RecordCondition.Condition) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.RecordCondition.Condition) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -791,24 +902,35 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          fieldBuilder_;
       /**
+       *
+       *
        * 
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -819,11 +941,14 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { @@ -839,14 +964,16 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -857,17 +984,22 @@ public Builder setField( return this; } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -879,11 +1011,14 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearField() { if (fieldBuilder_ == null) { @@ -897,48 +1032,59 @@ public Builder clearField() { return this; } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
        * Required. Field within the record this condition is evaluated against.
        * 
* - * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -946,51 +1092,73 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private int operator_ = 0; /** + * + * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for operator. */ - @java.lang.Override public int getOperatorValue() { + @java.lang.Override + public int getOperatorValue() { return operator_; } /** + * + * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for operator to set. * @return This builder for chaining. */ public Builder setOperatorValue(int value) { - + operator_ = value; onChanged(); return this; } /** + * + * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The operator. */ @java.lang.Override public com.google.privacy.dlp.v2.RelationalOperator getOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RelationalOperator result = com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); + com.google.privacy.dlp.v2.RelationalOperator result = + com.google.privacy.dlp.v2.RelationalOperator.valueOf(operator_); return result == null ? com.google.privacy.dlp.v2.RelationalOperator.UNRECOGNIZED : result; } /** + * + * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The operator to set. * @return This builder for chaining. */ @@ -998,21 +1166,26 @@ public Builder setOperator(com.google.privacy.dlp.v2.RelationalOperator value) { if (value == null) { throw new NullPointerException(); } - + operator_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Operator used to compare the field or infoType to the value.
        * 
* - * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearOperator() { - + operator_ = 0; onChanged(); return this; @@ -1020,24 +1193,33 @@ public Builder clearOperator() { private com.google.privacy.dlp.v2.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> valueBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + valueBuilder_; /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
* * .google.privacy.dlp.v2.Value value = 4; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
* * .google.privacy.dlp.v2.Value value = 4; + * * @return The value. */ public com.google.privacy.dlp.v2.Value getValue() { @@ -1048,6 +1230,8 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1068,14 +1252,15 @@ public Builder setValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
* * .google.privacy.dlp.v2.Value value = 4; */ - public Builder setValue( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1086,6 +1271,8 @@ public Builder setValue( return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1096,7 +1283,7 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -1108,6 +1295,8 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1126,6 +1315,8 @@ public Builder clearValue() { return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1133,11 +1324,13 @@ public Builder clearValue() { * .google.privacy.dlp.v2.Value value = 4; */ public com.google.privacy.dlp.v2.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1148,11 +1341,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; + return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1160,18 +1354,22 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { * .google.privacy.dlp.v2.Value value = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1184,12 +1382,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition.Condition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Condition) private static final com.google.privacy.dlp.v2.RecordCondition.Condition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition.Condition(); } @@ -1198,16 +1396,16 @@ public static com.google.privacy.dlp.v2.RecordCondition.Condition getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Condition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Condition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Condition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1222,23 +1420,26 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition.Condition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConditionsOrBuilder extends + public interface ConditionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition.Conditions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A collection of conditions.
      * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - java.util.List - getConditionsList(); + java.util.List getConditionsList(); /** + * + * *
      * A collection of conditions.
      * 
@@ -1247,6 +1448,8 @@ public interface ConditionsOrBuilder extends */ com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int index); /** + * + * *
      * A collection of conditions.
      * 
@@ -1255,56 +1458,61 @@ public interface ConditionsOrBuilder extends */ int getConditionsCount(); /** + * + * *
      * A collection of conditions.
      * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** + * + * *
      * A collection of conditions.
      * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder( - int index); + com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder(int index); } /** + * + * *
    * A collection of conditions.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Conditions} */ - public static final class Conditions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Conditions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition.Conditions) ConditionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Conditions.newBuilder() to construct. private Conditions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Conditions() { conditions_ = 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 Conditions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Conditions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1324,29 +1532,33 @@ private Conditions( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conditions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conditions_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.RecordCondition.Condition>(); + mutable_bitField0_ |= 0x00000001; + } + conditions_.add( + input.readMessage( + com.google.privacy.dlp.v2.RecordCondition.Condition.parser(), + extensionRegistry)); + break; } - conditions_.add( - input.readMessage(com.google.privacy.dlp.v2.RecordCondition.Condition.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conditions_ = java.util.Collections.unmodifiableList(conditions_); @@ -1355,22 +1567,27 @@ private Conditions( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Conditions.class, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Conditions.class, + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); } public static final int CONDITIONS_FIELD_NUMBER = 1; private java.util.List conditions_; /** + * + * *
      * A collection of conditions.
      * 
@@ -1382,6 +1599,8 @@ public java.util.List getCo return conditions_; } /** + * + * *
      * A collection of conditions.
      * 
@@ -1389,11 +1608,13 @@ public java.util.List getCo * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** + * + * *
      * A collection of conditions.
      * 
@@ -1405,6 +1626,8 @@ public int getConditionsCount() { return conditions_.size(); } /** + * + * *
      * A collection of conditions.
      * 
@@ -1416,6 +1639,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind return conditions_.get(index); } /** + * + * *
      * A collection of conditions.
      * 
@@ -1429,6 +1654,7 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1440,8 +1666,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < conditions_.size(); i++) { output.writeMessage(1, conditions_.get(i)); } @@ -1455,8 +1680,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conditions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1466,15 +1690,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.privacy.dlp.v2.RecordCondition.Conditions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition.Conditions other = (com.google.privacy.dlp.v2.RecordCondition.Conditions) obj; + com.google.privacy.dlp.v2.RecordCondition.Conditions other = + (com.google.privacy.dlp.v2.RecordCondition.Conditions) obj; - if (!getConditionsList() - .equals(other.getConditionsList())) return false; + if (!getConditionsList().equals(other.getConditionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1496,87 +1720,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Conditions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition.Conditions prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.RecordCondition.Conditions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1586,27 +1817,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A collection of conditions.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Conditions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition.Conditions) com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Conditions.class, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Conditions.class, + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordCondition.Conditions.newBuilder() @@ -1614,17 +1850,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConditionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1638,9 +1874,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Conditions_descriptor; } @java.lang.Override @@ -1659,7 +1895,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Conditions buildPartial() { - com.google.privacy.dlp.v2.RecordCondition.Conditions result = new com.google.privacy.dlp.v2.RecordCondition.Conditions(this); + com.google.privacy.dlp.v2.RecordCondition.Conditions result = + new com.google.privacy.dlp.v2.RecordCondition.Conditions(this); int from_bitField0_ = bitField0_; if (conditionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1678,38 +1915,41 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.RecordCondition.Conditions) { - return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Conditions)other); + return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Conditions) other); } else { super.mergeFrom(other); return this; @@ -1717,7 +1957,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Conditions other) { - if (other == com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) + return this; if (conditionsBuilder_ == null) { if (!other.conditions_.isEmpty()) { if (conditions_.isEmpty()) { @@ -1736,9 +1977,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Conditions ot conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000001); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConditionsFieldBuilder() : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConditionsFieldBuilder() + : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -1763,7 +2005,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.RecordCondition.Conditions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.RecordCondition.Conditions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1772,28 +2015,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List conditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conditions_ = new java.util.ArrayList(conditions_); + conditions_ = + new java.util.ArrayList( + conditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Condition, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> conditionsBuilder_; + com.google.privacy.dlp.v2.RecordCondition.Condition, + com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, + com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> + conditionsBuilder_; /** + * + * *
        * A collection of conditions.
        * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - public java.util.List getConditionsList() { + public java.util.List + getConditionsList() { if (conditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(conditions_); } else { @@ -1801,6 +2054,8 @@ public java.util.List getCo } } /** + * + * *
        * A collection of conditions.
        * 
@@ -1815,6 +2070,8 @@ public int getConditionsCount() { } } /** + * + * *
        * A collection of conditions.
        * 
@@ -1829,6 +2086,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind } } /** + * + * *
        * A collection of conditions.
        * 
@@ -1850,6 +2109,8 @@ public Builder setConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1868,6 +2129,8 @@ public Builder setConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1888,6 +2151,8 @@ public Builder addConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1909,6 +2174,8 @@ public Builder addConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1927,6 +2194,8 @@ public Builder addConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1945,6 +2214,8 @@ public Builder addConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1952,11 +2223,11 @@ public Builder addConditions( * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ public Builder addAllConditions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -1964,6 +2235,8 @@ public Builder addAllConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1981,6 +2254,8 @@ public Builder clearConditions() { return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1998,6 +2273,8 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -2009,6 +2286,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder getConditions return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
        * A collection of conditions.
        * 
@@ -2018,19 +2297,22 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder getConditions public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getConditionsOrBuilder( int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); } else { + return conditions_.get(index); + } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A collection of conditions.
        * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -2038,6 +2320,8 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } } /** + * + * *
        * A collection of conditions.
        * 
@@ -2045,10 +2329,12 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); + return getConditionsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); } /** + * + * *
        * A collection of conditions.
        * 
@@ -2057,34 +2343,41 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder addConditions */ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder addConditionsBuilder( int index) { - return getConditionsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); + return getConditionsFieldBuilder() + .addBuilder( + index, com.google.privacy.dlp.v2.RecordCondition.Condition.getDefaultInstance()); } /** + * + * *
        * A collection of conditions.
        * 
* * repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Condition, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> + com.google.privacy.dlp.v2.RecordCondition.Condition, + com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, + com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Condition, com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder>( - conditions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + conditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.RecordCondition.Condition, + com.google.privacy.dlp.v2.RecordCondition.Condition.Builder, + com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder>( + conditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); conditions_ = null; } return conditionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2097,12 +2390,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition.Conditions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Conditions) private static final com.google.privacy.dlp.v2.RecordCondition.Conditions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition.Conditions(); } @@ -2111,16 +2404,16 @@ public static com.google.privacy.dlp.v2.RecordCondition.Conditions getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Conditions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Conditions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Conditions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Conditions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2135,53 +2428,71 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition.Conditions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ExpressionsOrBuilder extends + public interface ExpressionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition.Expressions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return The enum numeric value on the wire for logicalOperator. */ int getLogicalOperatorValue(); /** + * + * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return The logicalOperator. */ com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator(); /** + * + * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; + * * @return Whether the conditions field is set. */ boolean hasConditions(); /** + * + * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; + * * @return The conditions. */ com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions(); /** + * + * *
      * Conditions to apply to the expression.
      * 
@@ -2193,37 +2504,39 @@ public interface ExpressionsOrBuilder extends public com.google.privacy.dlp.v2.RecordCondition.Expressions.TypeCase getTypeCase(); } /** + * + * *
    * An expression, consisting or an operator and conditions.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Expressions} */ - public static final class Expressions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Expressions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordCondition.Expressions) ExpressionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Expressions.newBuilder() to construct. private Expressions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Expressions() { logicalOperator_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Expressions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Expressions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2242,68 +2555,79 @@ private Expressions( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - logicalOperator_ = rawValue; - break; - } - case 26: { - com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_).toBuilder(); + logicalOperator_ = rawValue; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.RecordCondition.Conditions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); - type_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = + ((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.RecordCondition.Conditions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 3; + break; } - typeCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Expressions.class, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Expressions.class, + com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); } /** + * + * *
      * Logical operators for conditional checks.
      * 
* * Protobuf enum {@code google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator} */ - public enum LogicalOperator - implements com.google.protobuf.ProtocolMessageEnum { + public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unused
        * 
@@ -2312,6 +2636,8 @@ public enum LogicalOperator */ LOGICAL_OPERATOR_UNSPECIFIED(0), /** + * + * *
        * Conditional AND
        * 
@@ -2323,6 +2649,8 @@ public enum LogicalOperator ; /** + * + * *
        * Unused
        * 
@@ -2331,6 +2659,8 @@ public enum LogicalOperator */ public static final int LOGICAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Conditional AND
        * 
@@ -2339,7 +2669,6 @@ public enum LogicalOperator */ public static final int AND_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2364,9 +2693,12 @@ public static LogicalOperator valueOf(int value) { */ public static LogicalOperator forNumber(int value) { switch (value) { - case 0: return LOGICAL_OPERATOR_UNSPECIFIED; - case 1: return AND; - default: return null; + case 0: + return LOGICAL_OPERATOR_UNSPECIFIED; + case 1: + return AND; + default: + return null; } } @@ -2374,29 +2706,31 @@ public static LogicalOperator forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LogicalOperator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LogicalOperator findValueByNumber(int number) { - return LogicalOperator.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 LogicalOperator findValueByNumber(int number) { + return LogicalOperator.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.privacy.dlp.v2.RecordCondition.Expressions.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.privacy.dlp.v2.RecordCondition.Expressions.getDescriptor() + .getEnumTypes() + .get(0); } private static final LogicalOperator[] VALUES = values(); @@ -2404,8 +2738,7 @@ public LogicalOperator findValueByNumber(int number) { public static LogicalOperator 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; @@ -2424,12 +2757,15 @@ private LogicalOperator(int value) { private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONDITIONS(3), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -2445,58 +2781,80 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 3: return CONDITIONS; - case 0: return TYPE_NOT_SET; - default: return null; + case 3: + return CONDITIONS; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int LOGICAL_OPERATOR_FIELD_NUMBER = 1; private int logicalOperator_; /** + * + * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return The enum numeric value on the wire for logicalOperator. */ - @java.lang.Override public int getLogicalOperatorValue() { + @java.lang.Override + public int getLogicalOperatorValue() { return logicalOperator_; } /** + * + * *
      * The operator to apply to the result of conditions. Default and currently
      * only supported value is `AND`.
      * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return The logicalOperator. */ - @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator() { + @java.lang.Override + public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator + getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf(logicalOperator_); - return result == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf( + logicalOperator_); + return result == null + ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED + : result; } public static final int CONDITIONS_FIELD_NUMBER = 3; /** + * + * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; + * * @return Whether the conditions field is set. */ @java.lang.Override @@ -2504,21 +2862,26 @@ public boolean hasConditions() { return typeCase_ == 3; } /** + * + * *
      * Conditions to apply to the expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; + * * @return The conditions. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; + return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; } return com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance(); } /** + * + * *
      * Conditions to apply to the expression.
      * 
@@ -2528,12 +2891,13 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditionsOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; + return (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_; } return com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2545,9 +2909,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (logicalOperator_ != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (logicalOperator_ + != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator + .LOGICAL_OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(1, logicalOperator_); } if (typeCase_ == 3) { @@ -2562,13 +2928,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (logicalOperator_ != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, logicalOperator_); + if (logicalOperator_ + != com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator + .LOGICAL_OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logicalOperator_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2578,19 +2947,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.privacy.dlp.v2.RecordCondition.Expressions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition.Expressions other = (com.google.privacy.dlp.v2.RecordCondition.Expressions) obj; + com.google.privacy.dlp.v2.RecordCondition.Expressions other = + (com.google.privacy.dlp.v2.RecordCondition.Expressions) obj; if (logicalOperator_ != other.logicalOperator_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 3: - if (!getConditions() - .equals(other.getConditions())) return false; + if (!getConditions().equals(other.getConditions())) return false; break; case 0: default: @@ -2622,87 +2991,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition.Expressions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition.Expressions prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.RecordCondition.Expressions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2712,27 +3088,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An expression, consisting or an operator and conditions.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordCondition.Expressions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition.Expressions) com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordCondition.Expressions.class, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); + com.google.privacy.dlp.v2.RecordCondition.Expressions.class, + com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordCondition.Expressions.newBuilder() @@ -2740,16 +3121,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2761,9 +3141,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordCondition_Expressions_descriptor; } @java.lang.Override @@ -2782,7 +3162,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Expressions buildPartial() { - com.google.privacy.dlp.v2.RecordCondition.Expressions result = new com.google.privacy.dlp.v2.RecordCondition.Expressions(this); + com.google.privacy.dlp.v2.RecordCondition.Expressions result = + new com.google.privacy.dlp.v2.RecordCondition.Expressions(this); result.logicalOperator_ = logicalOperator_; if (typeCase_ == 3) { if (conditionsBuilder_ == null) { @@ -2800,38 +3181,41 @@ public com.google.privacy.dlp.v2.RecordCondition.Expressions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.RecordCondition.Expressions) { - return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Expressions)other); + return mergeFrom((com.google.privacy.dlp.v2.RecordCondition.Expressions) other); } else { super.mergeFrom(other); return this; @@ -2839,18 +3223,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.RecordCondition.Expressions other) { - if (other == com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance()) + return this; if (other.logicalOperator_ != 0) { setLogicalOperatorValue(other.getLogicalOperatorValue()); } switch (other.getTypeCase()) { - case CONDITIONS: { - mergeConditions(other.getConditions()); - break; - } - case TYPE_NOT_SET: { - break; - } + case CONDITIONS: + { + mergeConditions(other.getConditions()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2871,7 +3258,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.RecordCondition.Expressions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.RecordCondition.Expressions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2880,12 +3268,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -2895,94 +3283,131 @@ public Builder clearType() { return this; } - private int logicalOperator_ = 0; /** + * + * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return The enum numeric value on the wire for logicalOperator. */ - @java.lang.Override public int getLogicalOperatorValue() { + @java.lang.Override + public int getLogicalOperatorValue() { return logicalOperator_; } /** + * + * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @param value The enum numeric value on the wire for logicalOperator to set. * @return This builder for chaining. */ public Builder setLogicalOperatorValue(int value) { - + logicalOperator_ = value; onChanged(); return this; } /** + * + * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return The logicalOperator. */ @java.lang.Override - public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator getLogicalOperator() { + public com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator + getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf(logicalOperator_); - return result == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator result = + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.valueOf( + logicalOperator_); + return result == null + ? com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator.UNRECOGNIZED + : result; } /** + * + * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @param value The logicalOperator to set. * @return This builder for chaining. */ - public Builder setLogicalOperator(com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator value) { + public Builder setLogicalOperator( + com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator value) { if (value == null) { throw new NullPointerException(); } - + logicalOperator_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The operator to apply to the result of conditions. Default and currently
        * only supported value is `AND`.
        * 
* - * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1; + * + * * @return This builder for chaining. */ public Builder clearLogicalOperator() { - + logicalOperator_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Conditions, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> conditionsBuilder_; + com.google.privacy.dlp.v2.RecordCondition.Conditions, + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, + com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> + conditionsBuilder_; /** + * + * *
        * Conditions to apply to the expression.
        * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; + * * @return Whether the conditions field is set. */ @java.lang.Override @@ -2990,11 +3415,14 @@ public boolean hasConditions() { return typeCase_ == 3; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; + * * @return The conditions. */ @java.lang.Override @@ -3012,6 +3440,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { } } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3032,6 +3462,8 @@ public Builder setConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3050,6 +3482,8 @@ public Builder setConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3058,10 +3492,14 @@ public Builder setConditions( */ public Builder mergeConditions(com.google.privacy.dlp.v2.RecordCondition.Conditions value) { if (conditionsBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.RecordCondition.Conditions.newBuilder((com.google.privacy.dlp.v2.RecordCondition.Conditions) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 + && type_ + != com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.RecordCondition.Conditions.newBuilder( + (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -3076,6 +3514,8 @@ public Builder mergeConditions(com.google.privacy.dlp.v2.RecordCondition.Conditi return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3099,6 +3539,8 @@ public Builder clearConditions() { return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3109,6 +3551,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition return getConditionsFieldBuilder().getBuilder(); } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3116,7 +3560,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditionsOrBuilder() { + public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder + getConditionsOrBuilder() { if ((typeCase_ == 3) && (conditionsBuilder_ != null)) { return conditionsBuilder_.getMessageOrBuilder(); } else { @@ -3127,6 +3572,8 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditio } } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3134,23 +3581,30 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditio * .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Conditions, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> + com.google.privacy.dlp.v2.RecordCondition.Conditions, + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, + com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.RecordCondition.Conditions.getDefaultInstance(); } - conditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Conditions, com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder>( + conditionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordCondition.Conditions, + com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder, + com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder>( (com.google.privacy.dlp.v2.RecordCondition.Conditions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return conditionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3163,12 +3617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition.Expressions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Expressions) private static final com.google.privacy.dlp.v2.RecordCondition.Expressions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition.Expressions(); } @@ -3177,16 +3631,16 @@ public static com.google.privacy.dlp.v2.RecordCondition.Expressions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Expressions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Expressions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Expressions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Expressions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3201,17 +3655,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition.Expressions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int EXPRESSIONS_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.RecordCondition.Expressions expressions_; /** + * + * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; + * * @return Whether the expressions field is set. */ @java.lang.Override @@ -3219,18 +3675,25 @@ public boolean hasExpressions() { return expressions_ != null; } /** + * + * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; + * * @return The expressions. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() { - return expressions_ == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() : expressions_; + return expressions_ == null + ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() + : expressions_; } /** + * + * *
    * An expression.
    * 
@@ -3243,6 +3706,7 @@ public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpress } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3254,8 +3718,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (expressions_ != null) { output.writeMessage(3, getExpressions()); } @@ -3269,8 +3732,7 @@ public int getSerializedSize() { size = 0; if (expressions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExpressions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpressions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3280,17 +3742,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.privacy.dlp.v2.RecordCondition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordCondition other = (com.google.privacy.dlp.v2.RecordCondition) obj; + com.google.privacy.dlp.v2.RecordCondition other = + (com.google.privacy.dlp.v2.RecordCondition) obj; if (hasExpressions() != other.hasExpressions()) return false; if (hasExpressions()) { - if (!getExpressions() - .equals(other.getExpressions())) return false; + if (!getExpressions().equals(other.getExpressions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3312,97 +3774,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordCondition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 condition for determining whether a transformation should be applied to
    * a field.
@@ -3410,21 +3879,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordCondition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordCondition)
       com.google.privacy.dlp.v2.RecordConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordCondition.class, com.google.privacy.dlp.v2.RecordCondition.Builder.class);
+              com.google.privacy.dlp.v2.RecordCondition.class,
+              com.google.privacy.dlp.v2.RecordCondition.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RecordCondition.newBuilder()
@@ -3432,16 +3903,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3455,9 +3925,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordCondition_descriptor;
     }
 
     @java.lang.Override
@@ -3476,7 +3946,8 @@ public com.google.privacy.dlp.v2.RecordCondition build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RecordCondition buildPartial() {
-      com.google.privacy.dlp.v2.RecordCondition result = new com.google.privacy.dlp.v2.RecordCondition(this);
+      com.google.privacy.dlp.v2.RecordCondition result =
+          new com.google.privacy.dlp.v2.RecordCondition(this);
       if (expressionsBuilder_ == null) {
         result.expressions_ = expressions_;
       } else {
@@ -3490,38 +3961,39 @@ public com.google.privacy.dlp.v2.RecordCondition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RecordCondition) {
-        return mergeFrom((com.google.privacy.dlp.v2.RecordCondition)other);
+        return mergeFrom((com.google.privacy.dlp.v2.RecordCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3564,34 +4036,47 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.RecordCondition.Expressions expressions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordCondition.Expressions, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder> expressionsBuilder_;
+            com.google.privacy.dlp.v2.RecordCondition.Expressions,
+            com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder,
+            com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder>
+        expressionsBuilder_;
     /**
+     *
+     *
      * 
      * An expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; + * * @return Whether the expressions field is set. */ public boolean hasExpressions() { return expressionsBuilder_ != null || expressions_ != null; } /** + * + * *
      * An expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; + * * @return The expressions. */ public com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions() { if (expressionsBuilder_ == null) { - return expressions_ == null ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() : expressions_; + return expressions_ == null + ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() + : expressions_; } else { return expressionsBuilder_.getMessage(); } } /** + * + * *
      * An expression.
      * 
@@ -3612,6 +4097,8 @@ public Builder setExpressions(com.google.privacy.dlp.v2.RecordCondition.Expressi return this; } /** + * + * *
      * An expression.
      * 
@@ -3630,6 +4117,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * An expression.
      * 
@@ -3640,7 +4129,9 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.RecordCondition.Expres if (expressionsBuilder_ == null) { if (expressions_ != null) { expressions_ = - com.google.privacy.dlp.v2.RecordCondition.Expressions.newBuilder(expressions_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.RecordCondition.Expressions.newBuilder(expressions_) + .mergeFrom(value) + .buildPartial(); } else { expressions_ = value; } @@ -3652,6 +4143,8 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.RecordCondition.Expres return this; } /** + * + * *
      * An expression.
      * 
@@ -3670,6 +4163,8 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * An expression.
      * 
@@ -3677,26 +4172,32 @@ public Builder clearExpressions() { * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; */ public com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder getExpressionsBuilder() { - + onChanged(); return getExpressionsFieldBuilder().getBuilder(); } /** + * + * *
      * An expression.
      * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; */ - public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder() { + public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder + getExpressionsOrBuilder() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilder(); } else { - return expressions_ == null ? - com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() : expressions_; + return expressions_ == null + ? com.google.privacy.dlp.v2.RecordCondition.Expressions.getDefaultInstance() + : expressions_; } } /** + * + * *
      * An expression.
      * 
@@ -3704,21 +4205,24 @@ public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpress * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Expressions, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder> + com.google.privacy.dlp.v2.RecordCondition.Expressions, + com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, + com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordCondition.Expressions, com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder>( - getExpressions(), - getParentForChildren(), - isClean()); + expressionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordCondition.Expressions, + com.google.privacy.dlp.v2.RecordCondition.Expressions.Builder, + com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder>( + getExpressions(), getParentForChildren(), isClean()); expressions_ = null; } return expressionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3728,12 +4232,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordCondition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition) private static final com.google.privacy.dlp.v2.RecordCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordCondition(); } @@ -3742,16 +4246,16 @@ public static com.google.privacy.dlp.v2.RecordCondition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordCondition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3766,6 +4270,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java similarity index 58% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java index 8a5ae866..a5f55e24 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordConditionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RecordConditionOrBuilder extends +public interface RecordConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; + * * @return Whether the expressions field is set. */ boolean hasExpressions(); /** + * + * *
    * An expression.
    * 
* * .google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3; + * * @return The expressions. */ com.google.privacy.dlp.v2.RecordCondition.Expressions getExpressions(); /** + * + * *
    * An expression.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java index d234f364..476cf305 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Message for a unique key indicating a record that contains a finding.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordKey} */ -public final class RecordKey extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RecordKey extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordKey) RecordKeyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecordKey.newBuilder() to construct. private RecordKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RecordKey() { idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecordKey(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RecordKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,57 +71,61 @@ private RecordKey( case 0: done = true; break; - case 18: { - com.google.privacy.dlp.v2.DatastoreKey.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DatastoreKey) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.DatastoreKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreKey) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; - } - case 26: { - com.google.privacy.dlp.v2.BigQueryKey.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.BigQueryKey) type_).toBuilder(); + case 18: + { + com.google.privacy.dlp.v2.DatastoreKey.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DatastoreKey) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.DatastoreKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreKey) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 2; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.BigQueryKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryKey) type_); - type_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.BigQueryKey.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.BigQueryKey) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryKey) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 3; + break; } - typeCase_ = 3; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - idValues_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + idValues_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + idValues_.add(s); + break; } - idValues_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { idValues_ = idValues_.getUnmodifiableView(); @@ -113,28 +134,34 @@ private RecordKey( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_RecordKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordKey.class, com.google.privacy.dlp.v2.RecordKey.Builder.class); + com.google.privacy.dlp.v2.RecordKey.class, + com.google.privacy.dlp.v2.RecordKey.Builder.class); } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATASTORE_KEY(2), BIG_QUERY_KEY(3), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -150,26 +177,30 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 2: return DATASTORE_KEY; - case 3: return BIG_QUERY_KEY; - case 0: return TYPE_NOT_SET; - default: return null; + case 2: + return DATASTORE_KEY; + case 3: + return BIG_QUERY_KEY; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int DATASTORE_KEY_FIELD_NUMBER = 2; /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return Whether the datastoreKey field is set. */ @java.lang.Override @@ -178,22 +209,21 @@ public boolean hasDatastoreKey() { } /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return The datastoreKey. */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreKey) type_; + return (com.google.privacy.dlp.v2.DatastoreKey) type_; } return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreKey) type_; + return (com.google.privacy.dlp.v2.DatastoreKey) type_; } return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } @@ -201,6 +231,7 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder( public static final int BIG_QUERY_KEY_FIELD_NUMBER = 3; /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return Whether the bigQueryKey field is set. */ @java.lang.Override @@ -209,22 +240,21 @@ public boolean hasBigQueryKey() { } /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return The bigQueryKey. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryKey) type_; + return (com.google.privacy.dlp.v2.BigQueryKey) type_; } return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.BigQueryKey) type_; + return (com.google.privacy.dlp.v2.BigQueryKey) type_; } return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } @@ -232,37 +262,45 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() public static final int ID_VALUES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList idValues_; /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @return A list containing the idValues. */ - public com.google.protobuf.ProtocolStringList - getIdValuesList() { + public com.google.protobuf.ProtocolStringList getIdValuesList() { return idValues_; } /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @return The count of idValues. */ public int getIdValuesCount() { return idValues_.size(); } /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @param index The index of the element to return. * @return The idValues at the given index. */ @@ -270,21 +308,24 @@ public java.lang.String getIdValues(int index) { return idValues_.get(index); } /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @param index The index of the value to return. * @return The bytes of the idValues at the given index. */ - public com.google.protobuf.ByteString - getIdValuesBytes(int index) { + public com.google.protobuf.ByteString getIdValuesBytes(int index) { return idValues_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DatastoreKey) type_); } @@ -317,12 +357,14 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.DatastoreKey) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.DatastoreKey) type_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.BigQueryKey) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.BigQueryKey) type_); } { int dataSize = 0; @@ -340,24 +382,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.privacy.dlp.v2.RecordKey)) { return super.equals(obj); } com.google.privacy.dlp.v2.RecordKey other = (com.google.privacy.dlp.v2.RecordKey) obj; - if (!getIdValuesList() - .equals(other.getIdValuesList())) return false; + if (!getIdValuesList().equals(other.getIdValuesList())) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 2: - if (!getDatastoreKey() - .equals(other.getDatastoreKey())) return false; + if (!getDatastoreKey().equals(other.getDatastoreKey())) return false; break; case 3: - if (!getBigQueryKey() - .equals(other.getBigQueryKey())) return false; + if (!getBigQueryKey().equals(other.getBigQueryKey())) return false; break; case 0: default: @@ -394,118 +433,126 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordKey parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.RecordKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordKey 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.privacy.dlp.v2.RecordKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for a unique key indicating a record that contains a finding.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordKey} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordKey) com.google.privacy.dlp.v2.RecordKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_RecordKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_RecordKey_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordKey.class, com.google.privacy.dlp.v2.RecordKey.Builder.class); + com.google.privacy.dlp.v2.RecordKey.class, + com.google.privacy.dlp.v2.RecordKey.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordKey.newBuilder() @@ -513,16 +560,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +580,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_RecordKey_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_RecordKey_descriptor; } @java.lang.Override @@ -585,38 +631,39 @@ public com.google.privacy.dlp.v2.RecordKey buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RecordKey) { - return mergeFrom((com.google.privacy.dlp.v2.RecordKey)other); + return mergeFrom((com.google.privacy.dlp.v2.RecordKey) other); } else { super.mergeFrom(other); return this; @@ -636,17 +683,20 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordKey other) { onChanged(); } switch (other.getTypeCase()) { - case DATASTORE_KEY: { - mergeDatastoreKey(other.getDatastoreKey()); - break; - } - case BIG_QUERY_KEY: { - mergeBigQueryKey(other.getBigQueryKey()); - break; - } - case TYPE_NOT_SET: { - break; - } + case DATASTORE_KEY: + { + mergeDatastoreKey(other.getDatastoreKey()); + break; + } + case BIG_QUERY_KEY: + { + mergeBigQueryKey(other.getBigQueryKey()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -676,12 +726,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -694,9 +744,13 @@ public Builder clearType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> datastoreKeyBuilder_; + com.google.privacy.dlp.v2.DatastoreKey, + com.google.privacy.dlp.v2.DatastoreKey.Builder, + com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> + datastoreKeyBuilder_; /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return Whether the datastoreKey field is set. */ @java.lang.Override @@ -705,6 +759,7 @@ public boolean hasDatastoreKey() { } /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return The datastoreKey. */ @java.lang.Override @@ -721,9 +776,7 @@ public com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey() { return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { if (datastoreKeyBuilder_ == null) { if (value == null) { @@ -737,11 +790,8 @@ public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { typeCase_ = 2; return this; } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ - public Builder setDatastoreKey( - com.google.privacy.dlp.v2.DatastoreKey.Builder builderForValue) { + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ + public Builder setDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey.Builder builderForValue) { if (datastoreKeyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -751,15 +801,16 @@ public Builder setDatastoreKey( typeCase_ = 2; return this; } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ public Builder mergeDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { if (datastoreKeyBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.DatastoreKey.newBuilder((com.google.privacy.dlp.v2.DatastoreKey) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ != com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.DatastoreKey.newBuilder( + (com.google.privacy.dlp.v2.DatastoreKey) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -773,9 +824,7 @@ public Builder mergeDatastoreKey(com.google.privacy.dlp.v2.DatastoreKey value) { typeCase_ = 2; return this; } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ public Builder clearDatastoreKey() { if (datastoreKeyBuilder_ == null) { if (typeCase_ == 2) { @@ -792,15 +841,11 @@ public Builder clearDatastoreKey() { } return this; } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ public com.google.privacy.dlp.v2.DatastoreKey.Builder getDatastoreKeyBuilder() { return getDatastoreKeyFieldBuilder().getBuilder(); } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder() { if ((typeCase_ == 2) && (datastoreKeyBuilder_ != null)) { @@ -812,32 +857,38 @@ public com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder( return com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } } - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> + com.google.privacy.dlp.v2.DatastoreKey, + com.google.privacy.dlp.v2.DatastoreKey.Builder, + com.google.privacy.dlp.v2.DatastoreKeyOrBuilder> getDatastoreKeyFieldBuilder() { if (datastoreKeyBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.DatastoreKey.getDefaultInstance(); } - datastoreKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, com.google.privacy.dlp.v2.DatastoreKeyOrBuilder>( - (com.google.privacy.dlp.v2.DatastoreKey) type_, - getParentForChildren(), - isClean()); + datastoreKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DatastoreKey, + com.google.privacy.dlp.v2.DatastoreKey.Builder, + com.google.privacy.dlp.v2.DatastoreKeyOrBuilder>( + (com.google.privacy.dlp.v2.DatastoreKey) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return datastoreKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryKey, com.google.privacy.dlp.v2.BigQueryKey.Builder, com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> bigQueryKeyBuilder_; + com.google.privacy.dlp.v2.BigQueryKey, + com.google.privacy.dlp.v2.BigQueryKey.Builder, + com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> + bigQueryKeyBuilder_; /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return Whether the bigQueryKey field is set. */ @java.lang.Override @@ -846,6 +897,7 @@ public boolean hasBigQueryKey() { } /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return The bigQueryKey. */ @java.lang.Override @@ -862,9 +914,7 @@ public com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey() { return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { if (bigQueryKeyBuilder_ == null) { if (value == null) { @@ -878,11 +928,8 @@ public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { typeCase_ = 3; return this; } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ - public Builder setBigQueryKey( - com.google.privacy.dlp.v2.BigQueryKey.Builder builderForValue) { + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ + public Builder setBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey.Builder builderForValue) { if (bigQueryKeyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -892,15 +939,15 @@ public Builder setBigQueryKey( typeCase_ = 3; return this; } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ public Builder mergeBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { if (bigQueryKeyBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.BigQueryKey.newBuilder((com.google.privacy.dlp.v2.BigQueryKey) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 && type_ != com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.BigQueryKey.newBuilder( + (com.google.privacy.dlp.v2.BigQueryKey) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -914,9 +961,7 @@ public Builder mergeBigQueryKey(com.google.privacy.dlp.v2.BigQueryKey value) { typeCase_ = 3; return this; } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ public Builder clearBigQueryKey() { if (bigQueryKeyBuilder_ == null) { if (typeCase_ == 3) { @@ -933,15 +978,11 @@ public Builder clearBigQueryKey() { } return this; } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ public com.google.privacy.dlp.v2.BigQueryKey.Builder getBigQueryKeyBuilder() { return getBigQueryKeyFieldBuilder().getBuilder(); } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() { if ((typeCase_ == 3) && (bigQueryKeyBuilder_ != null)) { @@ -953,67 +994,79 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } } - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryKey, com.google.privacy.dlp.v2.BigQueryKey.Builder, com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> + com.google.privacy.dlp.v2.BigQueryKey, + com.google.privacy.dlp.v2.BigQueryKey.Builder, + com.google.privacy.dlp.v2.BigQueryKeyOrBuilder> getBigQueryKeyFieldBuilder() { if (bigQueryKeyBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance(); } - bigQueryKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryKey, com.google.privacy.dlp.v2.BigQueryKey.Builder, com.google.privacy.dlp.v2.BigQueryKeyOrBuilder>( - (com.google.privacy.dlp.v2.BigQueryKey) type_, - getParentForChildren(), - isClean()); + bigQueryKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryKey, + com.google.privacy.dlp.v2.BigQueryKey.Builder, + com.google.privacy.dlp.v2.BigQueryKeyOrBuilder>( + (com.google.privacy.dlp.v2.BigQueryKey) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return bigQueryKeyBuilder_; } - private com.google.protobuf.LazyStringList idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList idValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIdValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { idValues_ = new com.google.protobuf.LazyStringArrayList(idValues_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @return A list containing the idValues. */ - public com.google.protobuf.ProtocolStringList - getIdValuesList() { + public com.google.protobuf.ProtocolStringList getIdValuesList() { return idValues_.getUnmodifiableView(); } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @return The count of idValues. */ public int getIdValuesCount() { return idValues_.size(); } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @param index The index of the element to return. * @return The idValues at the given index. */ @@ -1021,85 +1074,95 @@ public java.lang.String getIdValues(int index) { return idValues_.get(index); } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @param index The index of the value to return. * @return The bytes of the idValues at the given index. */ - public com.google.protobuf.ByteString - getIdValuesBytes(int index) { + public com.google.protobuf.ByteString getIdValuesBytes(int index) { return idValues_.getByteString(index); } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @param index The index to set the value at. * @param value The idValues to set. * @return This builder for chaining. */ - public Builder setIdValues( - int index, java.lang.String value) { + public Builder setIdValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdValuesIsMutable(); + throw new NullPointerException(); + } + ensureIdValuesIsMutable(); idValues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @param value The idValues to add. * @return This builder for chaining. */ - public Builder addIdValues( - java.lang.String value) { + public Builder addIdValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdValuesIsMutable(); + throw new NullPointerException(); + } + ensureIdValuesIsMutable(); idValues_.add(value); onChanged(); return this; } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @param values The idValues to add. * @return This builder for chaining. */ - public Builder addAllIdValues( - java.lang.Iterable values) { + public Builder addAllIdValues(java.lang.Iterable values) { ensureIdValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, idValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, idValues_); onChanged(); return this; } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @return This builder for chaining. */ public Builder clearIdValues() { @@ -1109,29 +1172,31 @@ public Builder clearIdValues() { return this; } /** + * + * *
      * Values of identifying columns in the given row. Order of values matches
      * the order of `identifying_fields` specified in the scanning request.
      * 
* * repeated string id_values = 5; + * * @param value The bytes of the idValues to add. * @return This builder for chaining. */ - public Builder addIdValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addIdValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdValuesIsMutable(); idValues_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1141,12 +1206,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordKey) private static final com.google.privacy.dlp.v2.RecordKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordKey(); } @@ -1155,16 +1220,16 @@ public static com.google.privacy.dlp.v2.RecordKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,6 +1244,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java index 04fa1b15..5fa03079 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java @@ -1,86 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface RecordKeyOrBuilder extends +public interface RecordKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordKey) com.google.protobuf.MessageOrBuilder { /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return Whether the datastoreKey field is set. */ boolean hasDatastoreKey(); /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return The datastoreKey. */ com.google.privacy.dlp.v2.DatastoreKey getDatastoreKey(); - /** - * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - */ + /** .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; */ com.google.privacy.dlp.v2.DatastoreKeyOrBuilder getDatastoreKeyOrBuilder(); /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return Whether the bigQueryKey field is set. */ boolean hasBigQueryKey(); /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return The bigQueryKey. */ com.google.privacy.dlp.v2.BigQueryKey getBigQueryKey(); - /** - * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - */ + /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder(); /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @return A list containing the idValues. */ - java.util.List - getIdValuesList(); + java.util.List getIdValuesList(); /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @return The count of idValues. */ int getIdValuesCount(); /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @param index The index of the element to return. * @return The idValues at the given index. */ java.lang.String getIdValues(int index); /** + * + * *
    * Values of identifying columns in the given row. Order of values matches
    * the order of `identifying_fields` specified in the scanning request.
    * 
* * repeated string id_values = 5; + * * @param index The index of the value to return. * @return The bytes of the idValues at the given index. */ - com.google.protobuf.ByteString - getIdValuesBytes(int index); + com.google.protobuf.ByteString getIdValuesBytes(int index); public com.google.privacy.dlp.v2.RecordKey.TypeCase getTypeCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java index 05c70b7b..ed93ac37 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocation.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Location of a finding within a row or record.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordLocation} */ -public final class RecordLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RecordLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordLocation) RecordLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecordLocation.newBuilder() to construct. private RecordLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecordLocation() { - } + + private RecordLocation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecordLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RecordLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,85 +68,98 @@ private RecordLocation( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.RecordKey.Builder subBuilder = null; - if (recordKey_ != null) { - subBuilder = recordKey_.toBuilder(); - } - recordKey_ = input.readMessage(com.google.privacy.dlp.v2.RecordKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(recordKey_); - recordKey_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.RecordKey.Builder subBuilder = null; + if (recordKey_ != null) { + subBuilder = recordKey_.toBuilder(); + } + recordKey_ = + input.readMessage( + com.google.privacy.dlp.v2.RecordKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(recordKey_); + recordKey_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; - if (fieldId_ != null) { - subBuilder = fieldId_.toBuilder(); - } - fieldId_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fieldId_); - fieldId_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null; + if (fieldId_ != null) { + subBuilder = fieldId_.toBuilder(); + } + fieldId_ = + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fieldId_); + fieldId_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.privacy.dlp.v2.TableLocation.Builder subBuilder = null; - if (tableLocation_ != null) { - subBuilder = tableLocation_.toBuilder(); - } - tableLocation_ = input.readMessage(com.google.privacy.dlp.v2.TableLocation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableLocation_); - tableLocation_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.privacy.dlp.v2.TableLocation.Builder subBuilder = null; + if (tableLocation_ != null) { + subBuilder = tableLocation_.toBuilder(); + } + tableLocation_ = + input.readMessage( + com.google.privacy.dlp.v2.TableLocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableLocation_); + tableLocation_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordLocation.class, com.google.privacy.dlp.v2.RecordLocation.Builder.class); + com.google.privacy.dlp.v2.RecordLocation.class, + com.google.privacy.dlp.v2.RecordLocation.Builder.class); } public static final int RECORD_KEY_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.RecordKey recordKey_; /** + * + * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; + * * @return Whether the recordKey field is set. */ @java.lang.Override @@ -138,18 +167,25 @@ public boolean hasRecordKey() { return recordKey_ != null; } /** + * + * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; + * * @return The recordKey. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordKey getRecordKey() { - return recordKey_ == null ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() : recordKey_; + return recordKey_ == null + ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() + : recordKey_; } /** + * + * *
    * Key of the finding.
    * 
@@ -164,11 +200,14 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { public static final int FIELD_ID_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId fieldId_; /** + * + * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; + * * @return Whether the fieldId field is set. */ @java.lang.Override @@ -176,11 +215,14 @@ public boolean hasFieldId() { return fieldId_ != null; } /** + * + * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; + * * @return The fieldId. */ @java.lang.Override @@ -188,6 +230,8 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; } /** + * + * *
    * Field id of the field containing the finding.
    * 
@@ -202,11 +246,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { public static final int TABLE_LOCATION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.TableLocation tableLocation_; /** + * + * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; + * * @return Whether the tableLocation field is set. */ @java.lang.Override @@ -214,18 +261,25 @@ public boolean hasTableLocation() { return tableLocation_ != null; } /** + * + * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; + * * @return The tableLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.TableLocation getTableLocation() { - return tableLocation_ == null ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() : tableLocation_; + return tableLocation_ == null + ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() + : tableLocation_; } /** + * + * *
    * Location within a `ContentItem.Table`.
    * 
@@ -238,6 +292,7 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (recordKey_ != null) { output.writeMessage(1, getRecordKey()); } @@ -270,16 +324,13 @@ public int getSerializedSize() { size = 0; if (recordKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRecordKey()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRecordKey()); } if (fieldId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFieldId()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldId()); } if (tableLocation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTableLocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTableLocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,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.privacy.dlp.v2.RecordLocation)) { return super.equals(obj); @@ -298,18 +349,15 @@ public boolean equals(final java.lang.Object obj) { if (hasRecordKey() != other.hasRecordKey()) return false; if (hasRecordKey()) { - if (!getRecordKey() - .equals(other.getRecordKey())) return false; + if (!getRecordKey().equals(other.getRecordKey())) return false; } if (hasFieldId() != other.hasFieldId()) return false; if (hasFieldId()) { - if (!getFieldId() - .equals(other.getFieldId())) return false; + if (!getFieldId().equals(other.getFieldId())) return false; } if (hasTableLocation() != other.hasTableLocation()) return false; if (hasTableLocation()) { - if (!getTableLocation() - .equals(other.getTableLocation())) return false; + if (!getTableLocation().equals(other.getTableLocation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -339,118 +387,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Location of a finding within a row or record.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RecordLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordLocation) com.google.privacy.dlp.v2.RecordLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordLocation.class, com.google.privacy.dlp.v2.RecordLocation.Builder.class); + com.google.privacy.dlp.v2.RecordLocation.class, + com.google.privacy.dlp.v2.RecordLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordLocation.newBuilder() @@ -458,16 +515,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordLocation_descriptor; } @java.lang.Override @@ -514,7 +570,8 @@ public com.google.privacy.dlp.v2.RecordLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordLocation buildPartial() { - com.google.privacy.dlp.v2.RecordLocation result = new com.google.privacy.dlp.v2.RecordLocation(this); + com.google.privacy.dlp.v2.RecordLocation result = + new com.google.privacy.dlp.v2.RecordLocation(this); if (recordKeyBuilder_ == null) { result.recordKey_ = recordKey_; } else { @@ -538,38 +595,39 @@ public com.google.privacy.dlp.v2.RecordLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RecordLocation) { - return mergeFrom((com.google.privacy.dlp.v2.RecordLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.RecordLocation) other); } else { super.mergeFrom(other); return this; @@ -618,34 +676,47 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.RecordKey recordKey_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordKey, com.google.privacy.dlp.v2.RecordKey.Builder, com.google.privacy.dlp.v2.RecordKeyOrBuilder> recordKeyBuilder_; + com.google.privacy.dlp.v2.RecordKey, + com.google.privacy.dlp.v2.RecordKey.Builder, + com.google.privacy.dlp.v2.RecordKeyOrBuilder> + recordKeyBuilder_; /** + * + * *
      * Key of the finding.
      * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; + * * @return Whether the recordKey field is set. */ public boolean hasRecordKey() { return recordKeyBuilder_ != null || recordKey_ != null; } /** + * + * *
      * Key of the finding.
      * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; + * * @return The recordKey. */ public com.google.privacy.dlp.v2.RecordKey getRecordKey() { if (recordKeyBuilder_ == null) { - return recordKey_ == null ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() : recordKey_; + return recordKey_ == null + ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() + : recordKey_; } else { return recordKeyBuilder_.getMessage(); } } /** + * + * *
      * Key of the finding.
      * 
@@ -666,14 +737,15 @@ public Builder setRecordKey(com.google.privacy.dlp.v2.RecordKey value) { return this; } /** + * + * *
      * Key of the finding.
      * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; */ - public Builder setRecordKey( - com.google.privacy.dlp.v2.RecordKey.Builder builderForValue) { + public Builder setRecordKey(com.google.privacy.dlp.v2.RecordKey.Builder builderForValue) { if (recordKeyBuilder_ == null) { recordKey_ = builderForValue.build(); onChanged(); @@ -684,6 +756,8 @@ public Builder setRecordKey( return this; } /** + * + * *
      * Key of the finding.
      * 
@@ -694,7 +768,9 @@ public Builder mergeRecordKey(com.google.privacy.dlp.v2.RecordKey value) { if (recordKeyBuilder_ == null) { if (recordKey_ != null) { recordKey_ = - com.google.privacy.dlp.v2.RecordKey.newBuilder(recordKey_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.RecordKey.newBuilder(recordKey_) + .mergeFrom(value) + .buildPartial(); } else { recordKey_ = value; } @@ -706,6 +782,8 @@ public Builder mergeRecordKey(com.google.privacy.dlp.v2.RecordKey value) { return this; } /** + * + * *
      * Key of the finding.
      * 
@@ -724,6 +802,8 @@ public Builder clearRecordKey() { return this; } /** + * + * *
      * Key of the finding.
      * 
@@ -731,11 +811,13 @@ public Builder clearRecordKey() { * .google.privacy.dlp.v2.RecordKey record_key = 1; */ public com.google.privacy.dlp.v2.RecordKey.Builder getRecordKeyBuilder() { - + onChanged(); return getRecordKeyFieldBuilder().getBuilder(); } /** + * + * *
      * Key of the finding.
      * 
@@ -746,11 +828,14 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { if (recordKeyBuilder_ != null) { return recordKeyBuilder_.getMessageOrBuilder(); } else { - return recordKey_ == null ? - com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() : recordKey_; + return recordKey_ == null + ? com.google.privacy.dlp.v2.RecordKey.getDefaultInstance() + : recordKey_; } } /** + * + * *
      * Key of the finding.
      * 
@@ -758,14 +843,17 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { * .google.privacy.dlp.v2.RecordKey record_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordKey, com.google.privacy.dlp.v2.RecordKey.Builder, com.google.privacy.dlp.v2.RecordKeyOrBuilder> + com.google.privacy.dlp.v2.RecordKey, + com.google.privacy.dlp.v2.RecordKey.Builder, + com.google.privacy.dlp.v2.RecordKeyOrBuilder> getRecordKeyFieldBuilder() { if (recordKeyBuilder_ == null) { - recordKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordKey, com.google.privacy.dlp.v2.RecordKey.Builder, com.google.privacy.dlp.v2.RecordKeyOrBuilder>( - getRecordKey(), - getParentForChildren(), - isClean()); + recordKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordKey, + com.google.privacy.dlp.v2.RecordKey.Builder, + com.google.privacy.dlp.v2.RecordKeyOrBuilder>( + getRecordKey(), getParentForChildren(), isClean()); recordKey_ = null; } return recordKeyBuilder_; @@ -773,24 +861,33 @@ public com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder() { private com.google.privacy.dlp.v2.FieldId fieldId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldIdBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldIdBuilder_; /** + * + * *
      * Field id of the field containing the finding.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; + * * @return Whether the fieldId field is set. */ public boolean hasFieldId() { return fieldIdBuilder_ != null || fieldId_ != null; } /** + * + * *
      * Field id of the field containing the finding.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; + * * @return The fieldId. */ public com.google.privacy.dlp.v2.FieldId getFieldId() { @@ -801,6 +898,8 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { } } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -821,14 +920,15 @@ public Builder setFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; */ - public Builder setFieldId( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setFieldId(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldIdBuilder_ == null) { fieldId_ = builderForValue.build(); onChanged(); @@ -839,6 +939,8 @@ public Builder setFieldId( return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -849,7 +951,9 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { if (fieldIdBuilder_ == null) { if (fieldId_ != null) { fieldId_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(fieldId_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(fieldId_) + .mergeFrom(value) + .buildPartial(); } else { fieldId_ = value; } @@ -861,6 +965,8 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -879,6 +985,8 @@ public Builder clearFieldId() { return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -886,11 +994,13 @@ public Builder clearFieldId() { * .google.privacy.dlp.v2.FieldId field_id = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldIdBuilder() { - + onChanged(); return getFieldIdFieldBuilder().getBuilder(); } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -901,11 +1011,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { if (fieldIdBuilder_ != null) { return fieldIdBuilder_.getMessageOrBuilder(); } else { - return fieldId_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; + return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; } } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -913,14 +1024,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { * .google.privacy.dlp.v2.FieldId field_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldIdFieldBuilder() { if (fieldIdBuilder_ == null) { - fieldIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getFieldId(), - getParentForChildren(), - isClean()); + fieldIdBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getFieldId(), getParentForChildren(), isClean()); fieldId_ = null; } return fieldIdBuilder_; @@ -928,34 +1042,47 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { private com.google.privacy.dlp.v2.TableLocation tableLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableLocation, com.google.privacy.dlp.v2.TableLocation.Builder, com.google.privacy.dlp.v2.TableLocationOrBuilder> tableLocationBuilder_; + com.google.privacy.dlp.v2.TableLocation, + com.google.privacy.dlp.v2.TableLocation.Builder, + com.google.privacy.dlp.v2.TableLocationOrBuilder> + tableLocationBuilder_; /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; + * * @return Whether the tableLocation field is set. */ public boolean hasTableLocation() { return tableLocationBuilder_ != null || tableLocation_ != null; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; + * * @return The tableLocation. */ public com.google.privacy.dlp.v2.TableLocation getTableLocation() { if (tableLocationBuilder_ == null) { - return tableLocation_ == null ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() : tableLocation_; + return tableLocation_ == null + ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() + : tableLocation_; } else { return tableLocationBuilder_.getMessage(); } } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -976,6 +1103,8 @@ public Builder setTableLocation(com.google.privacy.dlp.v2.TableLocation value) { return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -994,6 +1123,8 @@ public Builder setTableLocation( return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1004,7 +1135,9 @@ public Builder mergeTableLocation(com.google.privacy.dlp.v2.TableLocation value) if (tableLocationBuilder_ == null) { if (tableLocation_ != null) { tableLocation_ = - com.google.privacy.dlp.v2.TableLocation.newBuilder(tableLocation_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.TableLocation.newBuilder(tableLocation_) + .mergeFrom(value) + .buildPartial(); } else { tableLocation_ = value; } @@ -1016,6 +1149,8 @@ public Builder mergeTableLocation(com.google.privacy.dlp.v2.TableLocation value) return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1034,6 +1169,8 @@ public Builder clearTableLocation() { return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1041,11 +1178,13 @@ public Builder clearTableLocation() { * .google.privacy.dlp.v2.TableLocation table_location = 3; */ public com.google.privacy.dlp.v2.TableLocation.Builder getTableLocationBuilder() { - + onChanged(); return getTableLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1056,11 +1195,14 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde if (tableLocationBuilder_ != null) { return tableLocationBuilder_.getMessageOrBuilder(); } else { - return tableLocation_ == null ? - com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() : tableLocation_; + return tableLocation_ == null + ? com.google.privacy.dlp.v2.TableLocation.getDefaultInstance() + : tableLocation_; } } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1068,21 +1210,24 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde * .google.privacy.dlp.v2.TableLocation table_location = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableLocation, com.google.privacy.dlp.v2.TableLocation.Builder, com.google.privacy.dlp.v2.TableLocationOrBuilder> + com.google.privacy.dlp.v2.TableLocation, + com.google.privacy.dlp.v2.TableLocation.Builder, + com.google.privacy.dlp.v2.TableLocationOrBuilder> getTableLocationFieldBuilder() { if (tableLocationBuilder_ == null) { - tableLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableLocation, com.google.privacy.dlp.v2.TableLocation.Builder, com.google.privacy.dlp.v2.TableLocationOrBuilder>( - getTableLocation(), - getParentForChildren(), - isClean()); + tableLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TableLocation, + com.google.privacy.dlp.v2.TableLocation.Builder, + com.google.privacy.dlp.v2.TableLocationOrBuilder>( + getTableLocation(), getParentForChildren(), isClean()); tableLocation_ = null; } return tableLocationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1092,12 +1237,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordLocation) private static final com.google.privacy.dlp.v2.RecordLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordLocation(); } @@ -1106,16 +1251,16 @@ public static com.google.privacy.dlp.v2.RecordLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1130,6 +1275,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java index 1c1cbc5b..1bb66452 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordLocationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RecordLocationOrBuilder extends +public interface RecordLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; + * * @return Whether the recordKey field is set. */ boolean hasRecordKey(); /** + * + * *
    * Key of the finding.
    * 
* * .google.privacy.dlp.v2.RecordKey record_key = 1; + * * @return The recordKey. */ com.google.privacy.dlp.v2.RecordKey getRecordKey(); /** + * + * *
    * Key of the finding.
    * 
@@ -35,24 +59,32 @@ public interface RecordLocationOrBuilder extends com.google.privacy.dlp.v2.RecordKeyOrBuilder getRecordKeyOrBuilder(); /** + * + * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; + * * @return Whether the fieldId field is set. */ boolean hasFieldId(); /** + * + * *
    * Field id of the field containing the finding.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 2; + * * @return The fieldId. */ com.google.privacy.dlp.v2.FieldId getFieldId(); /** + * + * *
    * Field id of the field containing the finding.
    * 
@@ -62,24 +94,32 @@ public interface RecordLocationOrBuilder extends com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder(); /** + * + * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; + * * @return Whether the tableLocation field is set. */ boolean hasTableLocation(); /** + * + * *
    * Location within a `ContentItem.Table`.
    * 
* * .google.privacy.dlp.v2.TableLocation table_location = 3; + * * @return The tableLocation. */ com.google.privacy.dlp.v2.TableLocation getTableLocation(); /** + * + * *
    * Location within a `ContentItem.Table`.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java index 1430655f..404ac9d0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppression.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Configuration to suppress records whose suppression conditions evaluate to
  * true.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RecordSuppression}
  */
-public final class RecordSuppression extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RecordSuppression extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordSuppression)
     RecordSuppressionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RecordSuppression.newBuilder() to construct.
   private RecordSuppression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RecordSuppression() {
-  }
+
+  private RecordSuppression() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RecordSuppression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RecordSuppression(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,60 +69,68 @@ private RecordSuppression(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null;
-            if (condition_ != null) {
-              subBuilder = condition_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.RecordCondition.Builder subBuilder = null;
+              if (condition_ != null) {
+                subBuilder = condition_.toBuilder();
+              }
+              condition_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(condition_);
+                condition_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            condition_ = input.readMessage(com.google.privacy.dlp.v2.RecordCondition.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(condition_);
-              condition_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordSuppression.class, com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
+            com.google.privacy.dlp.v2.RecordSuppression.class,
+            com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
   }
 
   public static final int CONDITION_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.RecordCondition condition_;
   /**
+   *
+   *
    * 
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -114,19 +138,26 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; + * * @return The condition. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordCondition getCondition() { - return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() + : condition_; } /** + * + * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
@@ -140,6 +171,7 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -151,8 +183,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (condition_ != null) {
       output.writeMessage(1, getCondition());
     }
@@ -166,8 +197,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (condition_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCondition());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCondition());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -177,17 +207,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.privacy.dlp.v2.RecordSuppression)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.RecordSuppression other = (com.google.privacy.dlp.v2.RecordSuppression) obj;
+    com.google.privacy.dlp.v2.RecordSuppression other =
+        (com.google.privacy.dlp.v2.RecordSuppression) obj;
 
     if (hasCondition() != other.hasCondition()) return false;
     if (hasCondition()) {
-      if (!getCondition()
-          .equals(other.getCondition())) return false;
+      if (!getCondition().equals(other.getCondition())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -209,97 +239,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.RecordSuppression parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.RecordSuppression parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RecordSuppression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.RecordSuppression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration to suppress records whose suppression conditions evaluate to
    * true.
@@ -307,21 +344,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordSuppression}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordSuppression)
       com.google.privacy.dlp.v2.RecordSuppressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordSuppression.class, com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
+              com.google.privacy.dlp.v2.RecordSuppression.class,
+              com.google.privacy.dlp.v2.RecordSuppression.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RecordSuppression.newBuilder()
@@ -329,16 +368,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor;
     }
 
     @java.lang.Override
@@ -373,7 +411,8 @@ public com.google.privacy.dlp.v2.RecordSuppression build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RecordSuppression buildPartial() {
-      com.google.privacy.dlp.v2.RecordSuppression result = new com.google.privacy.dlp.v2.RecordSuppression(this);
+      com.google.privacy.dlp.v2.RecordSuppression result =
+          new com.google.privacy.dlp.v2.RecordSuppression(this);
       if (conditionBuilder_ == null) {
         result.condition_ = condition_;
       } else {
@@ -387,38 +426,39 @@ public com.google.privacy.dlp.v2.RecordSuppression buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RecordSuppression) {
-        return mergeFrom((com.google.privacy.dlp.v2.RecordSuppression)other);
+        return mergeFrom((com.google.privacy.dlp.v2.RecordSuppression) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,36 +501,49 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.RecordCondition condition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> conditionBuilder_;
+            com.google.privacy.dlp.v2.RecordCondition,
+            com.google.privacy.dlp.v2.RecordCondition.Builder,
+            com.google.privacy.dlp.v2.RecordConditionOrBuilder>
+        conditionBuilder_;
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; + * * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** + * + * *
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
      * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; + * * @return The condition. */ public com.google.privacy.dlp.v2.RecordCondition getCondition() { if (conditionBuilder_ == null) { - return condition_ == null ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_; + return condition_ == null + ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() + : condition_; } else { return conditionBuilder_.getMessage(); } } /** + * + * *
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -512,6 +565,8 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -519,8 +574,7 @@ public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition value) {
      *
      * .google.privacy.dlp.v2.RecordCondition condition = 1;
      */
-    public Builder setCondition(
-        com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
+    public Builder setCondition(com.google.privacy.dlp.v2.RecordCondition.Builder builderForValue) {
       if (conditionBuilder_ == null) {
         condition_ = builderForValue.build();
         onChanged();
@@ -531,6 +585,8 @@ public Builder setCondition(
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -542,7 +598,9 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       if (conditionBuilder_ == null) {
         if (condition_ != null) {
           condition_ =
-            com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.RecordCondition.newBuilder(condition_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           condition_ = value;
         }
@@ -554,6 +612,8 @@ public Builder mergeCondition(com.google.privacy.dlp.v2.RecordCondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -573,6 +633,8 @@ public Builder clearCondition() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -581,11 +643,13 @@ public Builder clearCondition() {
      * .google.privacy.dlp.v2.RecordCondition condition = 1;
      */
     public com.google.privacy.dlp.v2.RecordCondition.Builder getConditionBuilder() {
-      
+
       onChanged();
       return getConditionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -597,11 +661,14 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
       if (conditionBuilder_ != null) {
         return conditionBuilder_.getMessageOrBuilder();
       } else {
-        return condition_ == null ?
-            com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance() : condition_;
+        return condition_ == null
+            ? com.google.privacy.dlp.v2.RecordCondition.getDefaultInstance()
+            : condition_;
       }
     }
     /**
+     *
+     *
      * 
      * A condition that when it evaluates to true will result in the record being
      * evaluated to be suppressed from the transformed content.
@@ -610,21 +677,24 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
      * .google.privacy.dlp.v2.RecordCondition condition = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder> 
+            com.google.privacy.dlp.v2.RecordCondition,
+            com.google.privacy.dlp.v2.RecordCondition.Builder,
+            com.google.privacy.dlp.v2.RecordConditionOrBuilder>
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
-        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordCondition, com.google.privacy.dlp.v2.RecordCondition.Builder, com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
-                getCondition(),
-                getParentForChildren(),
-                isClean());
+        conditionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.RecordCondition,
+                com.google.privacy.dlp.v2.RecordCondition.Builder,
+                com.google.privacy.dlp.v2.RecordConditionOrBuilder>(
+                getCondition(), getParentForChildren(), isClean());
         condition_ = null;
       }
       return conditionBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -634,12 +704,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordSuppression)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordSuppression)
   private static final com.google.privacy.dlp.v2.RecordSuppression DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordSuppression();
   }
@@ -648,16 +718,16 @@ public static com.google.privacy.dlp.v2.RecordSuppression getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RecordSuppression parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new RecordSuppression(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RecordSuppression parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new RecordSuppression(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -672,6 +742,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RecordSuppression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
similarity index 64%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
index 70c511b7..9e622a68 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordSuppressionOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface RecordSuppressionOrBuilder extends
+public interface RecordSuppressionOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordSuppression)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
    * 
* * .google.privacy.dlp.v2.RecordCondition condition = 1; + * * @return The condition. */ com.google.privacy.dlp.v2.RecordCondition getCondition(); /** + * + * *
    * A condition that when it evaluates to true will result in the record being
    * evaluated to be suppressed from the transformed content.
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
similarity index 79%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
index cdcae494..7c75cca8 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformations.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * A type of transformation that is applied over structured data such as a
  * table.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RecordTransformations}
  */
-public final class RecordTransformations extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RecordTransformations extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordTransformations)
     RecordTransformationsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RecordTransformations.newBuilder() to construct.
   private RecordTransformations(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RecordTransformations() {
     fieldTransformations_ = java.util.Collections.emptyList();
     recordSuppressions_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private RecordTransformations() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RecordTransformations();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RecordTransformations(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,38 +73,43 @@ private RecordTransformations(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              fieldTransformations_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                fieldTransformations_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              fieldTransformations_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
+              break;
             }
-            fieldTransformations_.add(
-                input.readMessage(com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              recordSuppressions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                recordSuppressions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              recordSuppressions_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry));
+              break;
             }
-            recordSuppressions_.add(
-                input.readMessage(com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         fieldTransformations_ = java.util.Collections.unmodifiableList(fieldTransformations_);
@@ -99,22 +121,27 @@ private RecordTransformations(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordTransformations.class, com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
+            com.google.privacy.dlp.v2.RecordTransformations.class,
+            com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
   }
 
   public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER = 1;
   private java.util.List fieldTransformations_;
   /**
+   *
+   *
    * 
    * Transform the record by applying various field transformations.
    * 
@@ -122,10 +149,13 @@ private RecordTransformations( * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ @java.lang.Override - public java.util.List getFieldTransformationsList() { + public java.util.List + getFieldTransformationsList() { return fieldTransformations_; } /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -133,11 +163,13 @@ public java.util.List getFieldTra * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldTransformationsOrBuilderList() { return fieldTransformations_; } /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -149,6 +181,8 @@ public int getFieldTransformationsCount() { return fieldTransformations_.size(); } /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -160,6 +194,8 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int return fieldTransformations_.get(index); } /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -175,6 +211,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma public static final int RECORD_SUPPRESSIONS_FIELD_NUMBER = 2; private java.util.List recordSuppressions_; /** + * + * *
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -187,6 +225,8 @@ public java.util.List getRecordSupp
     return recordSuppressions_;
   }
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -195,11 +235,13 @@ public java.util.List getRecordSupp
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRecordSuppressionsOrBuilderList() {
     return recordSuppressions_;
   }
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -212,6 +254,8 @@ public int getRecordSuppressionsCount() {
     return recordSuppressions_.size();
   }
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -224,6 +268,8 @@ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int ind
     return recordSuppressions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -238,6 +284,7 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,8 +296,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < fieldTransformations_.size(); i++) {
       output.writeMessage(1, fieldTransformations_.get(i));
     }
@@ -267,12 +313,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < fieldTransformations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, fieldTransformations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, fieldTransformations_.get(i));
     }
     for (int i = 0; i < recordSuppressions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, recordSuppressions_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, recordSuppressions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -282,17 +328,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.privacy.dlp.v2.RecordTransformations)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.RecordTransformations other = (com.google.privacy.dlp.v2.RecordTransformations) obj;
+    com.google.privacy.dlp.v2.RecordTransformations other =
+        (com.google.privacy.dlp.v2.RecordTransformations) obj;
 
-    if (!getFieldTransformationsList()
-        .equals(other.getFieldTransformationsList())) return false;
-    if (!getRecordSuppressionsList()
-        .equals(other.getRecordSuppressionsList())) return false;
+    if (!getFieldTransformationsList().equals(other.getFieldTransformationsList())) return false;
+    if (!getRecordSuppressionsList().equals(other.getRecordSuppressionsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -317,97 +362,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.RecordTransformations parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.RecordTransformations parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RecordTransformations parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.RecordTransformations prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 type of transformation that is applied over structured data such as a
    * table.
@@ -415,21 +467,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.RecordTransformations}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordTransformations)
       com.google.privacy.dlp.v2.RecordTransformationsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RecordTransformations.class, com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
+              com.google.privacy.dlp.v2.RecordTransformations.class,
+              com.google.privacy.dlp.v2.RecordTransformations.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RecordTransformations.newBuilder()
@@ -437,18 +491,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getFieldTransformationsFieldBuilder();
         getRecordSuppressionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,9 +522,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor;
     }
 
     @java.lang.Override
@@ -489,7 +543,8 @@ public com.google.privacy.dlp.v2.RecordTransformations build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RecordTransformations buildPartial() {
-      com.google.privacy.dlp.v2.RecordTransformations result = new com.google.privacy.dlp.v2.RecordTransformations(this);
+      com.google.privacy.dlp.v2.RecordTransformations result =
+          new com.google.privacy.dlp.v2.RecordTransformations(this);
       int from_bitField0_ = bitField0_;
       if (fieldTransformationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -517,38 +572,39 @@ public com.google.privacy.dlp.v2.RecordTransformations buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RecordTransformations) {
-        return mergeFrom((com.google.privacy.dlp.v2.RecordTransformations)other);
+        return mergeFrom((com.google.privacy.dlp.v2.RecordTransformations) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,7 +612,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformations other) {
-      if (other == com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.RecordTransformations.getDefaultInstance())
+        return this;
       if (fieldTransformationsBuilder_ == null) {
         if (!other.fieldTransformations_.isEmpty()) {
           if (fieldTransformations_.isEmpty()) {
@@ -575,9 +632,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformations other)
             fieldTransformationsBuilder_ = null;
             fieldTransformations_ = other.fieldTransformations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            fieldTransformationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFieldTransformationsFieldBuilder() : null;
+            fieldTransformationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFieldTransformationsFieldBuilder()
+                    : null;
           } else {
             fieldTransformationsBuilder_.addAllMessages(other.fieldTransformations_);
           }
@@ -601,9 +659,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformations other)
             recordSuppressionsBuilder_ = null;
             recordSuppressions_ = other.recordSuppressions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            recordSuppressionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRecordSuppressionsFieldBuilder() : null;
+            recordSuppressionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRecordSuppressionsFieldBuilder()
+                    : null;
           } else {
             recordSuppressionsBuilder_.addAllMessages(other.recordSuppressions_);
           }
@@ -637,28 +696,38 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List fieldTransformations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureFieldTransformationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        fieldTransformations_ = new java.util.ArrayList(fieldTransformations_);
+        fieldTransformations_ =
+            new java.util.ArrayList(
+                fieldTransformations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> fieldTransformationsBuilder_;
+            com.google.privacy.dlp.v2.FieldTransformation,
+            com.google.privacy.dlp.v2.FieldTransformation.Builder,
+            com.google.privacy.dlp.v2.FieldTransformationOrBuilder>
+        fieldTransformationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Transform the record by applying various field transformations.
      * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - public java.util.List getFieldTransformationsList() { + public java.util.List + getFieldTransformationsList() { if (fieldTransformationsBuilder_ == null) { return java.util.Collections.unmodifiableList(fieldTransformations_); } else { @@ -666,6 +735,8 @@ public java.util.List getFieldTra } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -680,6 +751,8 @@ public int getFieldTransformationsCount() { } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -694,6 +767,8 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -715,6 +790,8 @@ public Builder setFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -733,6 +810,8 @@ public Builder setFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -753,6 +832,8 @@ public Builder addFieldTransformations(com.google.privacy.dlp.v2.FieldTransforma return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -774,6 +855,8 @@ public Builder addFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -792,6 +875,8 @@ public Builder addFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -810,6 +895,8 @@ public Builder addFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -820,8 +907,7 @@ public Builder addAllFieldTransformations( java.lang.Iterable values) { if (fieldTransformationsBuilder_ == null) { ensureFieldTransformationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fieldTransformations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransformations_); onChanged(); } else { fieldTransformationsBuilder_.addAllMessages(values); @@ -829,6 +915,8 @@ public Builder addAllFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -846,6 +934,8 @@ public Builder clearFieldTransformations() { return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -863,6 +953,8 @@ public Builder removeFieldTransformations(int index) { return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -874,6 +966,8 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat return getFieldTransformationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -883,19 +977,22 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOrBuilder( int index) { if (fieldTransformationsBuilder_ == null) { - return fieldTransformations_.get(index); } else { + return fieldTransformations_.get(index); + } else { return fieldTransformationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - public java.util.List - getFieldTransformationsOrBuilderList() { + public java.util.List + getFieldTransformationsOrBuilderList() { if (fieldTransformationsBuilder_ != null) { return fieldTransformationsBuilder_.getMessageOrBuilderList(); } else { @@ -903,6 +1000,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -910,10 +1009,12 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder() { - return getFieldTransformationsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); + return getFieldTransformationsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -922,26 +1023,34 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat */ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder( int index) { - return getFieldTransformationsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); + return getFieldTransformationsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance()); } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - public java.util.List - getFieldTransformationsBuilderList() { + public java.util.List + getFieldTransformationsBuilderList() { return getFieldTransformationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> + com.google.privacy.dlp.v2.FieldTransformation, + com.google.privacy.dlp.v2.FieldTransformation.Builder, + com.google.privacy.dlp.v2.FieldTransformationOrBuilder> getFieldTransformationsFieldBuilder() { if (fieldTransformationsBuilder_ == null) { - fieldTransformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder>( + fieldTransformationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldTransformation, + com.google.privacy.dlp.v2.FieldTransformation.Builder, + com.google.privacy.dlp.v2.FieldTransformationOrBuilder>( fieldTransformations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -952,18 +1061,26 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat } private java.util.List recordSuppressions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRecordSuppressionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - recordSuppressions_ = new java.util.ArrayList(recordSuppressions_); + recordSuppressions_ = + new java.util.ArrayList( + recordSuppressions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> recordSuppressionsBuilder_; + com.google.privacy.dlp.v2.RecordSuppression, + com.google.privacy.dlp.v2.RecordSuppression.Builder, + com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> + recordSuppressionsBuilder_; /** + * + * *
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -979,6 +1096,8 @@ public java.util.List getRecordSupp
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -994,6 +1113,8 @@ public int getRecordSuppressionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1009,6 +1130,8 @@ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1031,6 +1154,8 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1050,6 +1175,8 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1071,6 +1198,8 @@ public Builder addRecordSuppressions(com.google.privacy.dlp.v2.RecordSuppression
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1093,6 +1222,8 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1112,6 +1243,8 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1131,6 +1264,8 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1142,8 +1277,7 @@ public Builder addAllRecordSuppressions(
         java.lang.Iterable values) {
       if (recordSuppressionsBuilder_ == null) {
         ensureRecordSuppressionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, recordSuppressions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recordSuppressions_);
         onChanged();
       } else {
         recordSuppressionsBuilder_.addAllMessages(values);
@@ -1151,6 +1285,8 @@ public Builder addAllRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1169,6 +1305,8 @@ public Builder clearRecordSuppressions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1187,6 +1325,8 @@ public Builder removeRecordSuppressions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1199,6 +1339,8 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder getRecordSuppressions
       return getRecordSuppressionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1209,11 +1351,14 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder getRecordSuppressions
     public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(
         int index) {
       if (recordSuppressionsBuilder_ == null) {
-        return recordSuppressions_.get(index);  } else {
+        return recordSuppressions_.get(index);
+      } else {
         return recordSuppressionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1221,8 +1366,8 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
      *
      * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      */
-    public java.util.List 
-         getRecordSuppressionsOrBuilderList() {
+    public java.util.List
+        getRecordSuppressionsOrBuilderList() {
       if (recordSuppressionsBuilder_ != null) {
         return recordSuppressionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1230,6 +1375,8 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1238,10 +1385,12 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
      * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      */
     public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressionsBuilder() {
-      return getRecordSuppressionsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
+      return getRecordSuppressionsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1251,10 +1400,12 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressions
      */
     public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressionsBuilder(
         int index) {
-      return getRecordSuppressionsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
+      return getRecordSuppressionsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1262,16 +1413,22 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressions
      *
      * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
      */
-    public java.util.List 
-         getRecordSuppressionsBuilderList() {
+    public java.util.List
+        getRecordSuppressionsBuilderList() {
       return getRecordSuppressionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> 
+            com.google.privacy.dlp.v2.RecordSuppression,
+            com.google.privacy.dlp.v2.RecordSuppression.Builder,
+            com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>
         getRecordSuppressionsFieldBuilder() {
       if (recordSuppressionsBuilder_ == null) {
-        recordSuppressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>(
+        recordSuppressionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.RecordSuppression,
+                com.google.privacy.dlp.v2.RecordSuppression.Builder,
+                com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>(
                 recordSuppressions_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1280,9 +1437,9 @@ public com.google.privacy.dlp.v2.RecordSuppression.Builder addRecordSuppressions
       }
       return recordSuppressionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1292,12 +1449,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordTransformations)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordTransformations)
   private static final com.google.privacy.dlp.v2.RecordTransformations DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordTransformations();
   }
@@ -1306,16 +1463,16 @@ public static com.google.privacy.dlp.v2.RecordTransformations getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RecordTransformations parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new RecordTransformations(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RecordTransformations parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new RecordTransformations(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1330,6 +1487,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RecordTransformations getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
index a6934a37..ba8a461a 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationsOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface RecordTransformationsOrBuilder extends
+public interface RecordTransformationsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordTransformations)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Transform the record by applying various field transformations.
    * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - java.util.List - getFieldTransformationsList(); + java.util.List getFieldTransformationsList(); /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -25,6 +44,8 @@ public interface RecordTransformationsOrBuilder extends */ com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int index); /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -33,15 +54,19 @@ public interface RecordTransformationsOrBuilder extends */ int getFieldTransformationsCount(); /** + * + * *
    * Transform the record by applying various field transformations.
    * 
* * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; */ - java.util.List + java.util.List getFieldTransformationsOrBuilderList(); /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -52,6 +77,8 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr int index); /** + * + * *
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -59,9 +86,10 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    *
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
-  java.util.List 
-      getRecordSuppressionsList();
+  java.util.List getRecordSuppressionsList();
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -71,6 +99,8 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    */
   com.google.privacy.dlp.v2.RecordSuppression getRecordSuppressions(int index);
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -80,6 +110,8 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    */
   int getRecordSuppressionsCount();
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -87,9 +119,11 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    *
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
-  java.util.List 
+  java.util.List
       getRecordSuppressionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Configuration defining which records get suppressed entirely. Records that
    * match any suppression rule are omitted from the output.
@@ -97,6 +131,5 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
    *
    * repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2;
    */
-  com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressionsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
similarity index 67%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
index fc91b326..d5136551 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfig.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Redact a given value. For example, if used with an `InfoTypeTransformation`
  * transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RedactConfig}
  */
-public final class RedactConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RedactConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactConfig)
     RedactConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RedactConfig.newBuilder() to construct.
   private RedactConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RedactConfig() {
-  }
+
+  private RedactConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RedactConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RedactConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,42 @@ private RedactConfig(
           case 0:
             done = true;
             break;
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RedactConfig.class, com.google.privacy.dlp.v2.RedactConfig.Builder.class);
+            com.google.privacy.dlp.v2.RedactConfig.class,
+            com.google.privacy.dlp.v2.RedactConfig.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -98,8 +117,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     unknownFields.writeTo(output);
   }
 
@@ -117,7 +135,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.privacy.dlp.v2.RedactConfig)) {
       return super.equals(obj);
@@ -140,97 +158,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RedactConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig 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.privacy.dlp.v2.RedactConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RedactConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.RedactConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Redact a given value. For example, if used with an `InfoTypeTransformation`
    * transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
@@ -239,21 +264,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.RedactConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactConfig)
       com.google.privacy.dlp.v2.RedactConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RedactConfig.class, com.google.privacy.dlp.v2.RedactConfig.Builder.class);
+              com.google.privacy.dlp.v2.RedactConfig.class,
+              com.google.privacy.dlp.v2.RedactConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RedactConfig.newBuilder()
@@ -261,16 +288,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -278,9 +304,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RedactConfig_descriptor;
     }
 
     @java.lang.Override
@@ -299,7 +325,8 @@ public com.google.privacy.dlp.v2.RedactConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RedactConfig buildPartial() {
-      com.google.privacy.dlp.v2.RedactConfig result = new com.google.privacy.dlp.v2.RedactConfig(this);
+      com.google.privacy.dlp.v2.RedactConfig result =
+          new com.google.privacy.dlp.v2.RedactConfig(this);
       onBuilt();
       return result;
     }
@@ -308,38 +335,39 @@ public com.google.privacy.dlp.v2.RedactConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RedactConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.RedactConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.RedactConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -376,9 +404,9 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -388,12 +416,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactConfig)
   private static final com.google.privacy.dlp.v2.RedactConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactConfig();
   }
@@ -402,16 +430,16 @@ public static com.google.privacy.dlp.v2.RedactConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RedactConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new RedactConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RedactConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new RedactConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -426,6 +454,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RedactConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java
new file mode 100644
index 00000000..c740916f
--- /dev/null
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactConfigOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+public interface RedactConfigOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactConfig)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
similarity index 72%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
index 60546ae3..a93b64a8 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Request to search for potentially sensitive info in an image and redact it
  * by covering it with a colored rectangle.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest}
  */
-public final class RedactImageRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RedactImageRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactImageRequest)
     RedactImageRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RedactImageRequest.newBuilder() to construct.
   private RedactImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RedactImageRequest() {
     parent_ = "";
     locationId_ = "";
@@ -28,16 +46,15 @@ private RedactImageRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RedactImageRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RedactImageRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,72 +74,84 @@ private RedactImageRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
-            if (inspectConfig_ != null) {
-              subBuilder = inspectConfig_.toBuilder();
-            }
-            inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(inspectConfig_);
-              inspectConfig_ = subBuilder.buildPartial();
+              parent_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null;
+              if (inspectConfig_ != null) {
+                subBuilder = inspectConfig_.toBuilder();
+              }
+              inspectConfig_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(inspectConfig_);
+                inspectConfig_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 42: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              imageRedactionConfigs_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            imageRedactionConfigs_.add(
-                input.readMessage(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.parser(), extensionRegistry));
-            break;
-          }
-          case 48: {
-
-            includeFindings_ = input.readBool();
-            break;
-          }
-          case 58: {
-            com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null;
-            if (byteItem_ != null) {
-              subBuilder = byteItem_.toBuilder();
+          case 42:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                imageRedactionConfigs_ =
+                    new java.util.ArrayList<
+                        com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              imageRedactionConfigs_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.parser(),
+                      extensionRegistry));
+              break;
             }
-            byteItem_ = input.readMessage(com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(byteItem_);
-              byteItem_ = subBuilder.buildPartial();
+          case 48:
+            {
+              includeFindings_ = input.readBool();
+              break;
             }
+          case 58:
+            {
+              com.google.privacy.dlp.v2.ByteContentItem.Builder subBuilder = null;
+              if (byteItem_ != null) {
+                subBuilder = byteItem_.toBuilder();
+              }
+              byteItem_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.ByteContentItem.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(byteItem_);
+                byteItem_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            locationId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              locationId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         imageRedactionConfigs_ = java.util.Collections.unmodifiableList(imageRedactionConfigs_);
@@ -131,24 +160,30 @@ private RedactImageRequest(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RedactImageRequest.class, com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
+            com.google.privacy.dlp.v2.RedactImageRequest.class,
+            com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
   }
 
-  public interface ImageRedactionConfigOrBuilder extends
+  public interface ImageRedactionConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -157,10 +192,13 @@ public interface ImageRedactionConfigOrBuilder extends
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -169,10 +207,13 @@ public interface ImageRedactionConfigOrBuilder extends
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -185,47 +226,61 @@ public interface ImageRedactionConfigOrBuilder extends
     com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder();
 
     /**
+     *
+     *
      * 
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; + * * @return Whether the redactAllText field is set. */ boolean hasRedactAllText(); /** + * + * *
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; + * * @return The redactAllText. */ boolean getRedactAllText(); /** + * + * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; + * * @return Whether the redactionColor field is set. */ boolean hasRedactionColor(); /** + * + * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; + * * @return The redactionColor. */ com.google.privacy.dlp.v2.Color getRedactionColor(); /** + * + * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
@@ -235,39 +290,41 @@ public interface ImageRedactionConfigOrBuilder extends
      */
     com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder();
 
-    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.TargetCase getTargetCase();
+    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.TargetCase
+        getTargetCase();
   }
   /**
+   *
+   *
    * 
    * Configuration for determining how redaction of images should occur.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig} */ - public static final class ImageRedactionConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ImageRedactionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) ImageRedactionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageRedactionConfig.newBuilder() to construct. private ImageRedactionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImageRedactionConfig() { - } + + private ImageRedactionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImageRedactionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImageRedactionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -286,79 +343,89 @@ private ImageRedactionConfig( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; - if (targetCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.InfoType) target_).toBuilder(); - } - target_ = - input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) target_); - target_ = subBuilder.buildPartial(); + case 10: + { + com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null; + if (targetCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.InfoType) target_).toBuilder(); + } + target_ = + input.readMessage( + com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.InfoType) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 1; + break; } - targetCase_ = 1; - break; - } - case 16: { - targetCase_ = 2; - target_ = input.readBool(); - break; - } - case 26: { - com.google.privacy.dlp.v2.Color.Builder subBuilder = null; - if (redactionColor_ != null) { - subBuilder = redactionColor_.toBuilder(); + case 16: + { + targetCase_ = 2; + target_ = input.readBool(); + break; } - redactionColor_ = input.readMessage(com.google.privacy.dlp.v2.Color.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(redactionColor_); - redactionColor_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.Color.Builder subBuilder = null; + if (redactionColor_ != null) { + subBuilder = redactionColor_.toBuilder(); + } + redactionColor_ = + input.readMessage(com.google.privacy.dlp.v2.Color.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(redactionColor_); + redactionColor_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); } private int targetCase_ = 0; private java.lang.Object target_; + public enum TargetCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INFO_TYPE(1), REDACT_ALL_TEXT(2), TARGET_NOT_SET(0); private final int value; + private TargetCase(int value) { this.value = value; } @@ -374,25 +441,30 @@ public static TargetCase valueOf(int value) { public static TargetCase forNumber(int value) { switch (value) { - case 1: return INFO_TYPE; - case 2: return REDACT_ALL_TEXT; - case 0: return TARGET_NOT_SET; - default: return null; + case 1: + return INFO_TYPE; + case 2: + return REDACT_ALL_TEXT; + case 0: + return TARGET_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); + public TargetCase getTargetCase() { + return TargetCase.forNumber(targetCase_); } public static final int INFO_TYPE_FIELD_NUMBER = 1; /** + * + * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -401,6 +473,7 @@ public int getNumber() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -408,6 +481,8 @@ public boolean hasInfoType() { return targetCase_ == 1; } /** + * + * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -416,16 +491,19 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoType() { if (targetCase_ == 1) { - return (com.google.privacy.dlp.v2.InfoType) target_; + return (com.google.privacy.dlp.v2.InfoType) target_; } return com.google.privacy.dlp.v2.InfoType.getDefaultInstance(); } /** + * + * *
      * Only one per info_type should be provided per request. If not
      * specified, and redact_all_text is false, the DLP API will redact all
@@ -438,19 +516,22 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() {
     @java.lang.Override
     public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
       if (targetCase_ == 1) {
-         return (com.google.privacy.dlp.v2.InfoType) target_;
+        return (com.google.privacy.dlp.v2.InfoType) target_;
       }
       return com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
     }
 
     public static final int REDACT_ALL_TEXT_FIELD_NUMBER = 2;
     /**
+     *
+     *
      * 
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; + * * @return Whether the redactAllText field is set. */ @java.lang.Override @@ -458,12 +539,15 @@ public boolean hasRedactAllText() { return targetCase_ == 2; } /** + * + * *
      * If true, all text found in the image, regardless whether it matches an
      * info_type, is redacted. Only one should be provided.
      * 
* * bool redact_all_text = 2; + * * @return The redactAllText. */ @java.lang.Override @@ -477,12 +561,15 @@ public boolean getRedactAllText() { public static final int REDACTION_COLOR_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.Color redactionColor_; /** + * + * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; + * * @return Whether the redactionColor field is set. */ @java.lang.Override @@ -490,19 +577,26 @@ public boolean hasRedactionColor() { return redactionColor_ != null; } /** + * + * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
      * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; + * * @return The redactionColor. */ @java.lang.Override public com.google.privacy.dlp.v2.Color getRedactionColor() { - return redactionColor_ == null ? com.google.privacy.dlp.v2.Color.getDefaultInstance() : redactionColor_; + return redactionColor_ == null + ? com.google.privacy.dlp.v2.Color.getDefaultInstance() + : redactionColor_; } /** + * + * *
      * The color to use when redacting content from an image. If not specified,
      * the default is black.
@@ -516,6 +610,7 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -527,14 +622,12 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (targetCase_ == 1) {
         output.writeMessage(1, (com.google.privacy.dlp.v2.InfoType) target_);
       }
       if (targetCase_ == 2) {
-        output.writeBool(
-            2, (boolean)((java.lang.Boolean) target_));
+        output.writeBool(2, (boolean) ((java.lang.Boolean) target_));
       }
       if (redactionColor_ != null) {
         output.writeMessage(3, getRedactionColor());
@@ -549,17 +642,17 @@ public int getSerializedSize() {
 
       size = 0;
       if (targetCase_ == 1) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, (com.google.privacy.dlp.v2.InfoType) target_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                1, (com.google.privacy.dlp.v2.InfoType) target_);
       }
       if (targetCase_ == 2) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(
-              2, (boolean)((java.lang.Boolean) target_));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeBoolSize(
+                2, (boolean) ((java.lang.Boolean) target_));
       }
       if (redactionColor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getRedactionColor());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRedactionColor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -569,27 +662,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.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other = (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) obj;
+      com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other =
+          (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) obj;
 
       if (hasRedactionColor() != other.hasRedactionColor()) return false;
       if (hasRedactionColor()) {
-        if (!getRedactionColor()
-            .equals(other.getRedactionColor())) return false;
+        if (!getRedactionColor().equals(other.getRedactionColor())) return false;
       }
       if (!getTargetCase().equals(other.getTargetCase())) return false;
       switch (targetCase_) {
         case 1:
-          if (!getInfoType()
-              .equals(other.getInfoType())) return false;
+          if (!getInfoType().equals(other.getInfoType())) return false;
           break;
         case 2:
-          if (getRedactAllText()
-              != other.getRedactAllText()) return false;
+          if (getRedactAllText() != other.getRedactAllText()) return false;
           break;
         case 0:
         default:
@@ -616,8 +707,7 @@ public int hashCode() {
           break;
         case 2:
           hash = (37 * hash) + REDACT_ALL_TEXT_FIELD_NUMBER;
-          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-              getRedactAllText());
+          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRedactAllText());
           break;
         case 0:
         default:
@@ -628,87 +718,95 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -718,44 +816,49 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Configuration for determining how redaction of images should occur.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.class, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder.class); } - // Construct using com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -771,14 +874,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageRequest_ImageRedactionConfig_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance(); + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig + .getDefaultInstance(); } @java.lang.Override @@ -792,7 +897,8 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig build() @java.lang.Override public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig buildPartial() { - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig result = new com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig(this); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig result = + new com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig(this); if (targetCase_ == 1) { if (infoTypeBuilder_ == null) { result.target_ = target_; @@ -817,61 +923,71 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) { - return mergeFrom((com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)other); + return mergeFrom( + (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other) { - if (other == com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig other) { + if (other + == com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig + .getDefaultInstance()) return this; if (other.hasRedactionColor()) { mergeRedactionColor(other.getRedactionColor()); } switch (other.getTargetCase()) { - case INFO_TYPE: { - mergeInfoType(other.getInfoType()); - break; - } - case REDACT_ALL_TEXT: { - setRedactAllText(other.getRedactAllText()); - break; - } - case TARGET_NOT_SET: { - break; - } + case INFO_TYPE: + { + mergeInfoType(other.getInfoType()); + break; + } + case REDACT_ALL_TEXT: + { + setRedactAllText(other.getRedactAllText()); + break; + } + case TARGET_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -892,7 +1008,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -901,12 +1019,12 @@ public Builder mergeFrom( } return this; } + private int targetCase_ = 0; private java.lang.Object target_; - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); + + public TargetCase getTargetCase() { + return TargetCase.forNumber(targetCase_); } public Builder clearTarget() { @@ -916,10 +1034,14 @@ public Builder clearTarget() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_; + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> + infoTypeBuilder_; /** + * + * *
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -928,6 +1050,7 @@ public Builder clearTarget() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -935,6 +1058,8 @@ public boolean hasInfoType() { return targetCase_ == 1; } /** + * + * *
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -943,6 +1068,7 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -960,6 +1086,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { } } /** + * + * *
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -983,6 +1111,8 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -992,8 +1122,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) {
        *
        * .google.privacy.dlp.v2.InfoType info_type = 1;
        */
-      public Builder setInfoType(
-          com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
+      public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) {
         if (infoTypeBuilder_ == null) {
           target_ = builderForValue.build();
           onChanged();
@@ -1004,6 +1133,8 @@ public Builder setInfoType(
         return this;
       }
       /**
+       *
+       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1015,10 +1146,13 @@ public Builder setInfoType(
        */
       public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
         if (infoTypeBuilder_ == null) {
-          if (targetCase_ == 1 &&
-              target_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
-            target_ = com.google.privacy.dlp.v2.InfoType.newBuilder((com.google.privacy.dlp.v2.InfoType) target_)
-                .mergeFrom(value).buildPartial();
+          if (targetCase_ == 1
+              && target_ != com.google.privacy.dlp.v2.InfoType.getDefaultInstance()) {
+            target_ =
+                com.google.privacy.dlp.v2.InfoType.newBuilder(
+                        (com.google.privacy.dlp.v2.InfoType) target_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             target_ = value;
           }
@@ -1033,6 +1167,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1059,6 +1195,8 @@ public Builder clearInfoType() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1072,6 +1210,8 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() {
         return getInfoTypeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1093,6 +1233,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Only one per info_type should be provided per request. If not
        * specified, and redact_all_text is false, the DLP API will redact all
@@ -1103,43 +1245,53 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
        * .google.privacy.dlp.v2.InfoType info_type = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> 
+              com.google.privacy.dlp.v2.InfoType,
+              com.google.privacy.dlp.v2.InfoType.Builder,
+              com.google.privacy.dlp.v2.InfoTypeOrBuilder>
           getInfoTypeFieldBuilder() {
         if (infoTypeBuilder_ == null) {
           if (!(targetCase_ == 1)) {
             target_ = com.google.privacy.dlp.v2.InfoType.getDefaultInstance();
           }
-          infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
-                  (com.google.privacy.dlp.v2.InfoType) target_,
-                  getParentForChildren(),
-                  isClean());
+          infoTypeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.InfoType,
+                  com.google.privacy.dlp.v2.InfoType.Builder,
+                  com.google.privacy.dlp.v2.InfoTypeOrBuilder>(
+                  (com.google.privacy.dlp.v2.InfoType) target_, getParentForChildren(), isClean());
           target_ = null;
         }
         targetCase_ = 1;
-        onChanged();;
+        onChanged();
+        ;
         return infoTypeBuilder_;
       }
 
       /**
+       *
+       *
        * 
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; + * * @return Whether the redactAllText field is set. */ public boolean hasRedactAllText() { return targetCase_ == 2; } /** + * + * *
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; + * * @return The redactAllText. */ public boolean getRedactAllText() { @@ -1149,12 +1301,15 @@ public boolean getRedactAllText() { return false; } /** + * + * *
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; + * * @param value The redactAllText to set. * @return This builder for chaining. */ @@ -1165,12 +1320,15 @@ public Builder setRedactAllText(boolean value) { return this; } /** + * + * *
        * If true, all text found in the image, regardless whether it matches an
        * info_type, is redacted. Only one should be provided.
        * 
* * bool redact_all_text = 2; + * * @return This builder for chaining. */ public Builder clearRedactAllText() { @@ -1184,36 +1342,49 @@ public Builder clearRedactAllText() { private com.google.privacy.dlp.v2.Color redactionColor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Color, com.google.privacy.dlp.v2.Color.Builder, com.google.privacy.dlp.v2.ColorOrBuilder> redactionColorBuilder_; + com.google.privacy.dlp.v2.Color, + com.google.privacy.dlp.v2.Color.Builder, + com.google.privacy.dlp.v2.ColorOrBuilder> + redactionColorBuilder_; /** + * + * *
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
        * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; + * * @return Whether the redactionColor field is set. */ public boolean hasRedactionColor() { return redactionColorBuilder_ != null || redactionColor_ != null; } /** + * + * *
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
        * 
* * .google.privacy.dlp.v2.Color redaction_color = 3; + * * @return The redactionColor. */ public com.google.privacy.dlp.v2.Color getRedactionColor() { if (redactionColorBuilder_ == null) { - return redactionColor_ == null ? com.google.privacy.dlp.v2.Color.getDefaultInstance() : redactionColor_; + return redactionColor_ == null + ? com.google.privacy.dlp.v2.Color.getDefaultInstance() + : redactionColor_; } else { return redactionColorBuilder_.getMessage(); } } /** + * + * *
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1235,6 +1406,8 @@ public Builder setRedactionColor(com.google.privacy.dlp.v2.Color value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1242,8 +1415,7 @@ public Builder setRedactionColor(com.google.privacy.dlp.v2.Color value) {
        *
        * .google.privacy.dlp.v2.Color redaction_color = 3;
        */
-      public Builder setRedactionColor(
-          com.google.privacy.dlp.v2.Color.Builder builderForValue) {
+      public Builder setRedactionColor(com.google.privacy.dlp.v2.Color.Builder builderForValue) {
         if (redactionColorBuilder_ == null) {
           redactionColor_ = builderForValue.build();
           onChanged();
@@ -1254,6 +1426,8 @@ public Builder setRedactionColor(
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1265,7 +1439,9 @@ public Builder mergeRedactionColor(com.google.privacy.dlp.v2.Color value) {
         if (redactionColorBuilder_ == null) {
           if (redactionColor_ != null) {
             redactionColor_ =
-              com.google.privacy.dlp.v2.Color.newBuilder(redactionColor_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.Color.newBuilder(redactionColor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             redactionColor_ = value;
           }
@@ -1277,6 +1453,8 @@ public Builder mergeRedactionColor(com.google.privacy.dlp.v2.Color value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1296,6 +1474,8 @@ public Builder clearRedactionColor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1304,11 +1484,13 @@ public Builder clearRedactionColor() {
        * .google.privacy.dlp.v2.Color redaction_color = 3;
        */
       public com.google.privacy.dlp.v2.Color.Builder getRedactionColorBuilder() {
-        
+
         onChanged();
         return getRedactionColorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1320,11 +1502,14 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
         if (redactionColorBuilder_ != null) {
           return redactionColorBuilder_.getMessageOrBuilder();
         } else {
-          return redactionColor_ == null ?
-              com.google.privacy.dlp.v2.Color.getDefaultInstance() : redactionColor_;
+          return redactionColor_ == null
+              ? com.google.privacy.dlp.v2.Color.getDefaultInstance()
+              : redactionColor_;
         }
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1333,18 +1518,22 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
        * .google.privacy.dlp.v2.Color redaction_color = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.Color, com.google.privacy.dlp.v2.Color.Builder, com.google.privacy.dlp.v2.ColorOrBuilder> 
+              com.google.privacy.dlp.v2.Color,
+              com.google.privacy.dlp.v2.Color.Builder,
+              com.google.privacy.dlp.v2.ColorOrBuilder>
           getRedactionColorFieldBuilder() {
         if (redactionColorBuilder_ == null) {
-          redactionColorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.Color, com.google.privacy.dlp.v2.Color.Builder, com.google.privacy.dlp.v2.ColorOrBuilder>(
-                  getRedactionColor(),
-                  getParentForChildren(),
-                  isClean());
+          redactionColorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.Color,
+                  com.google.privacy.dlp.v2.Color.Builder,
+                  com.google.privacy.dlp.v2.ColorOrBuilder>(
+                  getRedactionColor(), getParentForChildren(), isClean());
           redactionColor_ = null;
         }
         return redactionColorBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1357,30 +1546,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig)
-    private static final com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig();
     }
 
-    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ImageRedactionConfig parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new ImageRedactionConfig(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ImageRedactionConfig parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new ImageRedactionConfig(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1392,15 +1583,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -1417,6 +1610,7 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefa
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -1425,14 +1619,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; } } /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -1449,16 +1644,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.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 { @@ -1469,11 +1663,14 @@ public java.lang.String getParent() { public static final int LOCATION_ID_FIELD_NUMBER = 8; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; + * * @return The locationId. */ @java.lang.Override @@ -1482,29 +1679,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1515,11 +1712,14 @@ public java.lang.String getLocationId() { public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** + * + * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -1527,18 +1727,25 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } /** + * + * *
    * Configuration for the inspector.
    * 
@@ -1551,74 +1758,101 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde } public static final int IMAGE_REDACTION_CONFIGS_FIELD_NUMBER = 5; - private java.util.List imageRedactionConfigs_; + private java.util.List + imageRedactionConfigs_; /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ @java.lang.Override - public java.util.List getImageRedactionConfigsList() { + public java.util.List + getImageRedactionConfigsList() { return imageRedactionConfigs_; } /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> getImageRedactionConfigsOrBuilderList() { return imageRedactionConfigs_; } /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ @java.lang.Override public int getImageRedactionConfigsCount() { return imageRedactionConfigs_.size(); } /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs( + int index) { return imageRedactionConfigs_.get(index); } /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder + getImageRedactionConfigsOrBuilder(int index) { return imageRedactionConfigs_.get(index); } public static final int INCLUDE_FINDINGS_FIELD_NUMBER = 6; private boolean includeFindings_; /** + * + * *
    * Whether the response should include findings along with the redacted
    * image.
    * 
* * bool include_findings = 6; + * * @return The includeFindings. */ @java.lang.Override @@ -1629,11 +1863,14 @@ public boolean getIncludeFindings() { public static final int BYTE_ITEM_FIELD_NUMBER = 7; private com.google.privacy.dlp.v2.ByteContentItem byteItem_; /** + * + * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; + * * @return Whether the byteItem field is set. */ @java.lang.Override @@ -1641,18 +1878,25 @@ public boolean hasByteItem() { return byteItem_ != null; } /** + * + * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; + * * @return The byteItem. */ @java.lang.Override public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { - return byteItem_ == null ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() : byteItem_; + return byteItem_ == null + ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() + : byteItem_; } /** + * + * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
@@ -1665,6 +1909,7 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1676,8 +1921,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1709,20 +1953,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); } for (int i = 0; i < imageRedactionConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, imageRedactionConfigs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, imageRedactionConfigs_.get(i)); } if (includeFindings_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, includeFindings_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, includeFindings_); } if (byteItem_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getByteItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getByteItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, locationId_); @@ -1735,30 +1977,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.privacy.dlp.v2.RedactImageRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RedactImageRequest other = (com.google.privacy.dlp.v2.RedactImageRequest) obj; + com.google.privacy.dlp.v2.RedactImageRequest other = + (com.google.privacy.dlp.v2.RedactImageRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } - if (!getImageRedactionConfigsList() - .equals(other.getImageRedactionConfigsList())) return false; - if (getIncludeFindings() - != other.getIncludeFindings()) return false; + if (!getImageRedactionConfigsList().equals(other.getImageRedactionConfigsList())) return false; + if (getIncludeFindings() != other.getIncludeFindings()) return false; if (hasByteItem() != other.hasByteItem()) return false; if (hasByteItem()) { - if (!getByteItem() - .equals(other.getByteItem())) return false; + if (!getByteItem().equals(other.getByteItem())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1784,8 +2021,7 @@ public int hashCode() { hash = (53 * hash) + getImageRedactionConfigsList().hashCode(); } hash = (37 * hash) + INCLUDE_FINDINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeFindings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeFindings()); if (hasByteItem()) { hash = (37 * hash) + BYTE_ITEM_FIELD_NUMBER; hash = (53 * hash) + getByteItem().hashCode(); @@ -1795,97 +2031,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RedactImageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RedactImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.RedactImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 search for potentially sensitive info in an image and redact it
    * by covering it with a colored rectangle.
@@ -1893,21 +2136,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.RedactImageRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactImageRequest)
       com.google.privacy.dlp.v2.RedactImageRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RedactImageRequest.class, com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
+              com.google.privacy.dlp.v2.RedactImageRequest.class,
+              com.google.privacy.dlp.v2.RedactImageRequest.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RedactImageRequest.newBuilder()
@@ -1915,17 +2160,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getImageRedactionConfigsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1957,9 +2202,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1978,7 +2223,8 @@ public com.google.privacy.dlp.v2.RedactImageRequest build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
-      com.google.privacy.dlp.v2.RedactImageRequest result = new com.google.privacy.dlp.v2.RedactImageRequest(this);
+      com.google.privacy.dlp.v2.RedactImageRequest result =
+          new com.google.privacy.dlp.v2.RedactImageRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       result.locationId_ = locationId_;
@@ -2010,38 +2256,39 @@ public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RedactImageRequest) {
-        return mergeFrom((com.google.privacy.dlp.v2.RedactImageRequest)other);
+        return mergeFrom((com.google.privacy.dlp.v2.RedactImageRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2079,9 +2326,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) {
             imageRedactionConfigsBuilder_ = null;
             imageRedactionConfigs_ = other.imageRedactionConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            imageRedactionConfigsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getImageRedactionConfigsFieldBuilder() : null;
+            imageRedactionConfigsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getImageRedactionConfigsFieldBuilder()
+                    : null;
           } else {
             imageRedactionConfigsBuilder_.addAllMessages(other.imageRedactionConfigs_);
           }
@@ -2121,10 +2369,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2141,13 +2392,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.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; @@ -2156,6 +2407,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2172,15 +2425,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.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 { @@ -2188,6 +2440,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2204,20 +2458,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2234,15 +2490,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2259,16 +2518,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -2276,18 +2535,20 @@ public Builder setParentBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -2296,20 +2557,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -2317,54 +2579,61 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 8; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = value; onChanged(); return this; @@ -2372,34 +2641,47 @@ public Builder setLocationIdBytes( private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_; + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> + inspectConfigBuilder_; /** + * + * *
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2420,6 +2702,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2438,6 +2722,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2448,7 +2734,9 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) + .mergeFrom(value) + .buildPartial(); } else { inspectConfig_ = value; } @@ -2460,6 +2748,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2478,6 +2768,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2485,11 +2777,13 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2500,11 +2794,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null ? - com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2512,39 +2809,54 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), - getParentForChildren(), - isClean()); + inspectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), getParentForChildren(), isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; } - private java.util.List imageRedactionConfigs_ = - java.util.Collections.emptyList(); + private java.util.List + imageRedactionConfigs_ = java.util.Collections.emptyList(); + private void ensureImageRedactionConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - imageRedactionConfigs_ = new java.util.ArrayList(imageRedactionConfigs_); + imageRedactionConfigs_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>( + imageRedactionConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> imageRedactionConfigsBuilder_; + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> + imageRedactionConfigsBuilder_; /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public java.util.List getImageRedactionConfigsList() { + public java.util.List + getImageRedactionConfigsList() { if (imageRedactionConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(imageRedactionConfigs_); } else { @@ -2552,11 +2864,15 @@ public java.util.List * The configuration for specifying what content to redact from images. *
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public int getImageRedactionConfigsCount() { if (imageRedactionConfigsBuilder_ == null) { @@ -2566,13 +2882,18 @@ public int getImageRedactionConfigsCount() { } } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig + getImageRedactionConfigs(int index) { if (imageRedactionConfigsBuilder_ == null) { return imageRedactionConfigs_.get(index); } else { @@ -2580,11 +2901,15 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImag } } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder setImageRedactionConfigs( int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { @@ -2601,14 +2926,19 @@ public Builder setImageRedactionConfigs( return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder setImageRedactionConfigs( - int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { if (imageRedactionConfigsBuilder_ == null) { ensureImageRedactionConfigsIsMutable(); imageRedactionConfigs_.set(index, builderForValue.build()); @@ -2619,13 +2949,18 @@ public Builder setImageRedactionConfigs( return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public Builder addImageRedactionConfigs(com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { + public Builder addImageRedactionConfigs( + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { if (imageRedactionConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2639,11 +2974,15 @@ public Builder addImageRedactionConfigs(com.google.privacy.dlp.v2.RedactImageReq return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder addImageRedactionConfigs( int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig value) { @@ -2660,11 +2999,15 @@ public Builder addImageRedactionConfigs( return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder addImageRedactionConfigs( com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { @@ -2678,14 +3021,19 @@ public Builder addImageRedactionConfigs( return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder addImageRedactionConfigs( - int index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder builderForValue) { if (imageRedactionConfigsBuilder_ == null) { ensureImageRedactionConfigsIsMutable(); imageRedactionConfigs_.add(index, builderForValue.build()); @@ -2696,18 +3044,23 @@ public Builder addImageRedactionConfigs( return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder addAllImageRedactionConfigs( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig> + values) { if (imageRedactionConfigsBuilder_ == null) { ensureImageRedactionConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, imageRedactionConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, imageRedactionConfigs_); onChanged(); } else { imageRedactionConfigsBuilder_.addAllMessages(values); @@ -2715,11 +3068,15 @@ public Builder addAllImageRedactionConfigs( return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder clearImageRedactionConfigs() { if (imageRedactionConfigsBuilder_ == null) { @@ -2732,11 +3089,15 @@ public Builder clearImageRedactionConfigs() { return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ public Builder removeImageRedactionConfigs(int index) { if (imageRedactionConfigsBuilder_ == null) { @@ -2749,39 +3110,53 @@ public Builder removeImageRedactionConfigs(int index) { return this; } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder getImageRedactionConfigsBuilder( - int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder + getImageRedactionConfigsBuilder(int index) { return getImageRedactionConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder + getImageRedactionConfigsOrBuilder(int index) { if (imageRedactionConfigsBuilder_ == null) { - return imageRedactionConfigs_.get(index); } else { + return imageRedactionConfigs_.get(index); + } else { return imageRedactionConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public java.util.List - getImageRedactionConfigsOrBuilderList() { + public java.util.List< + ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> + getImageRedactionConfigsOrBuilderList() { if (imageRedactionConfigsBuilder_ != null) { return imageRedactionConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -2789,45 +3164,69 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilde } } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder() { - return getImageRedactionConfigsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance()); + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder + addImageRedactionConfigsBuilder() { + return getImageRedactionConfigsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig + .getDefaultInstance()); } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder addImageRedactionConfigsBuilder( - int index) { - return getImageRedactionConfigsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.getDefaultInstance()); + public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder + addImageRedactionConfigsBuilder(int index) { + return getImageRedactionConfigsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig + .getDefaultInstance()); } /** + * + * *
      * The configuration for specifying what content to redact from images.
      * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - public java.util.List - getImageRedactionConfigsBuilderList() { + public java.util.List + getImageRedactionConfigsBuilderList() { return getImageRedactionConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> getImageRedactionConfigsFieldBuilder() { if (imageRedactionConfigsBuilder_ == null) { - imageRedactionConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>( + imageRedactionConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>( imageRedactionConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2837,14 +3236,17 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder return imageRedactionConfigsBuilder_; } - private boolean includeFindings_ ; + private boolean includeFindings_; /** + * + * *
      * Whether the response should include findings along with the redacted
      * image.
      * 
* * bool include_findings = 6; + * * @return The includeFindings. */ @java.lang.Override @@ -2852,32 +3254,38 @@ public boolean getIncludeFindings() { return includeFindings_; } /** + * + * *
      * Whether the response should include findings along with the redacted
      * image.
      * 
* * bool include_findings = 6; + * * @param value The includeFindings to set. * @return This builder for chaining. */ public Builder setIncludeFindings(boolean value) { - + includeFindings_ = value; onChanged(); return this; } /** + * + * *
      * Whether the response should include findings along with the redacted
      * image.
      * 
* * bool include_findings = 6; + * * @return This builder for chaining. */ public Builder clearIncludeFindings() { - + includeFindings_ = false; onChanged(); return this; @@ -2885,34 +3293,47 @@ public Builder clearIncludeFindings() { private com.google.privacy.dlp.v2.ByteContentItem byteItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> byteItemBuilder_; + com.google.privacy.dlp.v2.ByteContentItem, + com.google.privacy.dlp.v2.ByteContentItem.Builder, + com.google.privacy.dlp.v2.ByteContentItemOrBuilder> + byteItemBuilder_; /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; + * * @return Whether the byteItem field is set. */ public boolean hasByteItem() { return byteItemBuilder_ != null || byteItem_ != null; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; + * * @return The byteItem. */ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { if (byteItemBuilder_ == null) { - return byteItem_ == null ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() : byteItem_; + return byteItem_ == null + ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() + : byteItem_; } else { return byteItemBuilder_.getMessage(); } } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -2933,14 +3354,15 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; */ - public Builder setByteItem( - com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { + public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder builderForValue) { if (byteItemBuilder_ == null) { byteItem_ = builderForValue.build(); onChanged(); @@ -2951,6 +3373,8 @@ public Builder setByteItem( return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -2961,7 +3385,9 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { if (byteItemBuilder_ == null) { if (byteItem_ != null) { byteItem_ = - com.google.privacy.dlp.v2.ByteContentItem.newBuilder(byteItem_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ByteContentItem.newBuilder(byteItem_) + .mergeFrom(value) + .buildPartial(); } else { byteItem_ = value; } @@ -2973,6 +3399,8 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -2991,6 +3419,8 @@ public Builder clearByteItem() { return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -2998,11 +3428,13 @@ public Builder clearByteItem() { * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; */ public com.google.privacy.dlp.v2.ByteContentItem.Builder getByteItemBuilder() { - + onChanged(); return getByteItemFieldBuilder().getBuilder(); } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3013,11 +3445,14 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() if (byteItemBuilder_ != null) { return byteItemBuilder_.getMessageOrBuilder(); } else { - return byteItem_ == null ? - com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() : byteItem_; + return byteItem_ == null + ? com.google.privacy.dlp.v2.ByteContentItem.getDefaultInstance() + : byteItem_; } } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3025,21 +3460,24 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder> + com.google.privacy.dlp.v2.ByteContentItem, + com.google.privacy.dlp.v2.ByteContentItem.Builder, + com.google.privacy.dlp.v2.ByteContentItemOrBuilder> getByteItemFieldBuilder() { if (byteItemBuilder_ == null) { - byteItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ByteContentItem, com.google.privacy.dlp.v2.ByteContentItem.Builder, com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( - getByteItem(), - getParentForChildren(), - isClean()); + byteItemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ByteContentItem, + com.google.privacy.dlp.v2.ByteContentItem.Builder, + com.google.privacy.dlp.v2.ByteContentItemOrBuilder>( + getByteItem(), getParentForChildren(), isClean()); byteItem_ = null; } return byteItemBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3049,12 +3487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactImageRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactImageRequest) private static final com.google.privacy.dlp.v2.RedactImageRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactImageRequest(); } @@ -3063,16 +3501,16 @@ public static com.google.privacy.dlp.v2.RedactImageRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedactImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedactImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RedactImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3087,6 +3525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RedactImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java index 72859285..6cf557b7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RedactImageRequestOrBuilder extends +public interface RedactImageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -24,10 +42,13 @@ public interface RedactImageRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -44,50 +65,63 @@ public interface RedactImageRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 8; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); /** + * + * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * Configuration for the inspector.
    * 
@@ -97,79 +131,112 @@ public interface RedactImageRequestOrBuilder extends com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - java.util.List + java.util.List getImageRedactionConfigsList(); /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(int index); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs( + int index); /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ int getImageRedactionConfigsCount(); /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - java.util.List + java.util.List< + ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder> getImageRedactionConfigsOrBuilderList(); /** + * + * *
    * The configuration for specifying what content to redact from images.
    * 
* - * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * + * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; + * */ - com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder getImageRedactionConfigsOrBuilder( - int index); + com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder + getImageRedactionConfigsOrBuilder(int index); /** + * + * *
    * Whether the response should include findings along with the redacted
    * image.
    * 
* * bool include_findings = 6; + * * @return The includeFindings. */ boolean getIncludeFindings(); /** + * + * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; + * * @return Whether the byteItem field is set. */ boolean hasByteItem(); /** + * + * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
* * .google.privacy.dlp.v2.ByteContentItem byte_item = 7; + * * @return The byteItem. */ com.google.privacy.dlp.v2.ByteContentItem getByteItem(); /** + * + * *
    * The content must be PNG, JPEG, SVG or BMP.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java index edc938b8..f8a78b44 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Results of redacting an image.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageResponse} */ -public final class RedactImageResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RedactImageResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RedactImageResponse) RedactImageResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RedactImageResponse.newBuilder() to construct. private RedactImageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RedactImageResponse() { redactedImage_ = com.google.protobuf.ByteString.EMPTY; extractedText_ = ""; @@ -26,16 +44,15 @@ private RedactImageResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RedactImageResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RedactImageResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,70 +71,79 @@ private RedactImageResponse( case 0: done = true; break; - case 10: { - - redactedImage_ = input.readBytes(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + redactedImage_ = input.readBytes(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - extractedText_ = s; - break; - } - case 26: { - com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; - if (inspectResult_ != null) { - subBuilder = inspectResult_.toBuilder(); + extractedText_ = s; + break; } - inspectResult_ = input.readMessage(com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectResult_); - inspectResult_ = subBuilder.buildPartial(); + case 26: + { + com.google.privacy.dlp.v2.InspectResult.Builder subBuilder = null; + if (inspectResult_ != null) { + subBuilder = inspectResult_.toBuilder(); + } + inspectResult_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectResult_); + inspectResult_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageResponse.class, com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); + com.google.privacy.dlp.v2.RedactImageResponse.class, + com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); } public static final int REDACTED_IMAGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString redactedImage_; /** + * + * *
    * The redacted image. The type will be the same as the original image.
    * 
* * bytes redacted_image = 1; + * * @return The redactedImage. */ @java.lang.Override @@ -128,6 +154,8 @@ public com.google.protobuf.ByteString getRedactedImage() { public static final int EXTRACTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object extractedText_; /** + * + * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -135,6 +163,7 @@ public com.google.protobuf.ByteString getRedactedImage() {
    * 
* * string extracted_text = 2; + * * @return The extractedText. */ @java.lang.Override @@ -143,14 +172,15 @@ public java.lang.String getExtractedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); extractedText_ = s; return s; } } /** + * + * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -158,16 +188,15 @@ public java.lang.String getExtractedText() {
    * 
* * string extracted_text = 2; + * * @return The bytes for extractedText. */ @java.lang.Override - public com.google.protobuf.ByteString - getExtractedTextBytes() { + public com.google.protobuf.ByteString getExtractedTextBytes() { java.lang.Object ref = extractedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); extractedText_ = b; return b; } else { @@ -178,11 +207,14 @@ public java.lang.String getExtractedText() { public static final int INSPECT_RESULT_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.InspectResult inspectResult_; /** + * + * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; + * * @return Whether the inspectResult field is set. */ @java.lang.Override @@ -190,18 +222,25 @@ public boolean hasInspectResult() { return inspectResult_ != null; } /** + * + * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; + * * @return The inspectResult. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectResult getInspectResult() { - return inspectResult_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : inspectResult_; + return inspectResult_ == null + ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() + : inspectResult_; } /** + * + * *
    * The findings. Populated when include_findings in the request is true.
    * 
@@ -214,6 +253,7 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 (!redactedImage_.isEmpty()) { output.writeBytes(1, redactedImage_); } @@ -246,15 +285,13 @@ public int getSerializedSize() { size = 0; if (!redactedImage_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, redactedImage_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, redactedImage_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extractedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, extractedText_); } if (inspectResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInspectResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInspectResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -264,21 +301,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.privacy.dlp.v2.RedactImageResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RedactImageResponse other = (com.google.privacy.dlp.v2.RedactImageResponse) obj; + com.google.privacy.dlp.v2.RedactImageResponse other = + (com.google.privacy.dlp.v2.RedactImageResponse) obj; - if (!getRedactedImage() - .equals(other.getRedactedImage())) return false; - if (!getExtractedText() - .equals(other.getExtractedText())) return false; + if (!getRedactedImage().equals(other.getRedactedImage())) return false; + if (!getExtractedText().equals(other.getExtractedText())) return false; if (hasInspectResult() != other.hasInspectResult()) return false; if (hasInspectResult()) { - if (!getInspectResult() - .equals(other.getInspectResult())) return false; + if (!getInspectResult().equals(other.getInspectResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,118 +339,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RedactImageResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RedactImageResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RedactImageResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.RedactImageResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Results of redacting an image.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.RedactImageResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RedactImageResponse) com.google.privacy.dlp.v2.RedactImageResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RedactImageResponse.class, com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); + com.google.privacy.dlp.v2.RedactImageResponse.class, + com.google.privacy.dlp.v2.RedactImageResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.RedactImageResponse.newBuilder() @@ -423,16 +467,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor; } @java.lang.Override @@ -471,7 +514,8 @@ public com.google.privacy.dlp.v2.RedactImageResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.RedactImageResponse buildPartial() { - com.google.privacy.dlp.v2.RedactImageResponse result = new com.google.privacy.dlp.v2.RedactImageResponse(this); + com.google.privacy.dlp.v2.RedactImageResponse result = + new com.google.privacy.dlp.v2.RedactImageResponse(this); result.redactedImage_ = redactedImage_; result.extractedText_ = extractedText_; if (inspectResultBuilder_ == null) { @@ -487,38 +531,39 @@ public com.google.privacy.dlp.v2.RedactImageResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RedactImageResponse) { - return mergeFrom((com.google.privacy.dlp.v2.RedactImageResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.RedactImageResponse) other); } else { super.mergeFrom(other); return this; @@ -568,11 +613,14 @@ public Builder mergeFrom( private com.google.protobuf.ByteString redactedImage_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The redacted image. The type will be the same as the original image.
      * 
* * bytes redacted_image = 1; + * * @return The redactedImage. */ @java.lang.Override @@ -580,33 +628,39 @@ public com.google.protobuf.ByteString getRedactedImage() { return redactedImage_; } /** + * + * *
      * The redacted image. The type will be the same as the original image.
      * 
* * bytes redacted_image = 1; + * * @param value The redactedImage to set. * @return This builder for chaining. */ public Builder setRedactedImage(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + redactedImage_ = value; onChanged(); return this; } /** + * + * *
      * The redacted image. The type will be the same as the original image.
      * 
* * bytes redacted_image = 1; + * * @return This builder for chaining. */ public Builder clearRedactedImage() { - + redactedImage_ = getDefaultInstance().getRedactedImage(); onChanged(); return this; @@ -614,6 +668,8 @@ public Builder clearRedactedImage() { private java.lang.Object extractedText_ = ""; /** + * + * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -621,13 +677,13 @@ public Builder clearRedactedImage() {
      * 
* * string extracted_text = 2; + * * @return The extractedText. */ public java.lang.String getExtractedText() { java.lang.Object ref = extractedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); extractedText_ = s; return s; @@ -636,6 +692,8 @@ public java.lang.String getExtractedText() { } } /** + * + * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -643,15 +701,14 @@ public java.lang.String getExtractedText() {
      * 
* * string extracted_text = 2; + * * @return The bytes for extractedText. */ - public com.google.protobuf.ByteString - getExtractedTextBytes() { + public com.google.protobuf.ByteString getExtractedTextBytes() { java.lang.Object ref = extractedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); extractedText_ = b; return b; } else { @@ -659,6 +716,8 @@ public java.lang.String getExtractedText() { } } /** + * + * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -666,20 +725,22 @@ public java.lang.String getExtractedText() {
      * 
* * string extracted_text = 2; + * * @param value The extractedText to set. * @return This builder for chaining. */ - public Builder setExtractedText( - java.lang.String value) { + public Builder setExtractedText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + extractedText_ = value; onChanged(); return this; } /** + * + * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -687,15 +748,18 @@ public Builder setExtractedText(
      * 
* * string extracted_text = 2; + * * @return This builder for chaining. */ public Builder clearExtractedText() { - + extractedText_ = getDefaultInstance().getExtractedText(); onChanged(); return this; } /** + * + * *
      * If an image was being inspected and the InspectConfig's include_quote was
      * set to true, then this field will include all text, if any, that was found
@@ -703,16 +767,16 @@ public Builder clearExtractedText() {
      * 
* * string extracted_text = 2; + * * @param value The bytes for extractedText to set. * @return This builder for chaining. */ - public Builder setExtractedTextBytes( - com.google.protobuf.ByteString value) { + public Builder setExtractedTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + extractedText_ = value; onChanged(); return this; @@ -720,34 +784,47 @@ public Builder setExtractedTextBytes( private com.google.privacy.dlp.v2.InspectResult inspectResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> inspectResultBuilder_; + com.google.privacy.dlp.v2.InspectResult, + com.google.privacy.dlp.v2.InspectResult.Builder, + com.google.privacy.dlp.v2.InspectResultOrBuilder> + inspectResultBuilder_; /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; + * * @return Whether the inspectResult field is set. */ public boolean hasInspectResult() { return inspectResultBuilder_ != null || inspectResult_ != null; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; + * * @return The inspectResult. */ public com.google.privacy.dlp.v2.InspectResult getInspectResult() { if (inspectResultBuilder_ == null) { - return inspectResult_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : inspectResult_; + return inspectResult_ == null + ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() + : inspectResult_; } else { return inspectResultBuilder_.getMessage(); } } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -768,6 +845,8 @@ public Builder setInspectResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -786,6 +865,8 @@ public Builder setInspectResult( return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -796,7 +877,9 @@ public Builder mergeInspectResult(com.google.privacy.dlp.v2.InspectResult value) if (inspectResultBuilder_ == null) { if (inspectResult_ != null) { inspectResult_ = - com.google.privacy.dlp.v2.InspectResult.newBuilder(inspectResult_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectResult.newBuilder(inspectResult_) + .mergeFrom(value) + .buildPartial(); } else { inspectResult_ = value; } @@ -808,6 +891,8 @@ public Builder mergeInspectResult(com.google.privacy.dlp.v2.InspectResult value) return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -826,6 +911,8 @@ public Builder clearInspectResult() { return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -833,11 +920,13 @@ public Builder clearInspectResult() { * .google.privacy.dlp.v2.InspectResult inspect_result = 3; */ public com.google.privacy.dlp.v2.InspectResult.Builder getInspectResultBuilder() { - + onChanged(); return getInspectResultFieldBuilder().getBuilder(); } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -848,11 +937,14 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde if (inspectResultBuilder_ != null) { return inspectResultBuilder_.getMessageOrBuilder(); } else { - return inspectResult_ == null ? - com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : inspectResult_; + return inspectResult_ == null + ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() + : inspectResult_; } } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -860,21 +952,24 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde * .google.privacy.dlp.v2.InspectResult inspect_result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder> + com.google.privacy.dlp.v2.InspectResult, + com.google.privacy.dlp.v2.InspectResult.Builder, + com.google.privacy.dlp.v2.InspectResultOrBuilder> getInspectResultFieldBuilder() { if (inspectResultBuilder_ == null) { - inspectResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectResult, com.google.privacy.dlp.v2.InspectResult.Builder, com.google.privacy.dlp.v2.InspectResultOrBuilder>( - getInspectResult(), - getParentForChildren(), - isClean()); + inspectResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectResult, + com.google.privacy.dlp.v2.InspectResult.Builder, + com.google.privacy.dlp.v2.InspectResultOrBuilder>( + getInspectResult(), getParentForChildren(), isClean()); inspectResult_ = null; } return inspectResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RedactImageResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactImageResponse) private static final com.google.privacy.dlp.v2.RedactImageResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RedactImageResponse(); } @@ -898,16 +993,16 @@ public static com.google.privacy.dlp.v2.RedactImageResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedactImageResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RedactImageResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedactImageResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RedactImageResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1017,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RedactImageResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java index daf06874..54194549 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageResponseOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface RedactImageResponseOrBuilder extends +public interface RedactImageResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The redacted image. The type will be the same as the original image.
    * 
* * bytes redacted_image = 1; + * * @return The redactedImage. */ com.google.protobuf.ByteString getRedactedImage(); /** + * + * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -25,10 +46,13 @@ public interface RedactImageResponseOrBuilder extends
    * 
* * string extracted_text = 2; + * * @return The extractedText. */ java.lang.String getExtractedText(); /** + * + * *
    * If an image was being inspected and the InspectConfig's include_quote was
    * set to true, then this field will include all text, if any, that was found
@@ -36,30 +60,38 @@ public interface RedactImageResponseOrBuilder extends
    * 
* * string extracted_text = 2; + * * @return The bytes for extractedText. */ - com.google.protobuf.ByteString - getExtractedTextBytes(); + com.google.protobuf.ByteString getExtractedTextBytes(); /** + * + * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; + * * @return Whether the inspectResult field is set. */ boolean hasInspectResult(); /** + * + * *
    * The findings. Populated when include_findings in the request is true.
    * 
* * .google.privacy.dlp.v2.InspectResult inspect_result = 3; + * * @return The inspectResult. */ com.google.privacy.dlp.v2.InspectResult getInspectResult(); /** + * + * *
    * The findings. Populated when include_findings in the request is true.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java index 7bb9ff7a..ce2a2756 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request to re-identify an item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentRequest} */ -public final class ReidentifyContentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReidentifyContentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReidentifyContentRequest) ReidentifyContentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReidentifyContentRequest.newBuilder() to construct. private ReidentifyContentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReidentifyContentRequest() { parent_ = ""; inspectTemplateName_ = ""; @@ -28,16 +46,15 @@ private ReidentifyContentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReidentifyContentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReidentifyContentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,104 +73,121 @@ private ReidentifyContentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; - if (reidentifyConfig_ != null) { - subBuilder = reidentifyConfig_.toBuilder(); + parent_ = s; + break; } - reidentifyConfig_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reidentifyConfig_); - reidentifyConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.DeidentifyConfig.Builder subBuilder = null; + if (reidentifyConfig_ != null) { + subBuilder = reidentifyConfig_.toBuilder(); + } + reidentifyConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.DeidentifyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reidentifyConfig_); + reidentifyConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; - if (inspectConfig_ != null) { - subBuilder = inspectConfig_.toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.InspectConfig.Builder subBuilder = null; + if (inspectConfig_ != null) { + subBuilder = inspectConfig_.toBuilder(); + } + inspectConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectConfig_); + inspectConfig_ = subBuilder.buildPartial(); + } + + break; } - inspectConfig_ = input.readMessage(com.google.privacy.dlp.v2.InspectConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectConfig_); - inspectConfig_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = + input.readMessage( + com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); + inspectTemplateName_ = s; + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - inspectTemplateName_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - reidentifyTemplateName_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + reidentifyTemplateName_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentRequest.class, com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentRequest.class, + com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -169,7 +203,10 @@ private ReidentifyContentRequest(
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 @@ -178,14 +215,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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -201,17 +239,18 @@ public java.lang.String getParent() {
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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 { @@ -222,6 +261,8 @@ public java.lang.String getParent() { public static final int REIDENTIFY_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyConfig reidentifyConfig_; /** + * + * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -235,6 +276,7 @@ public java.lang.String getParent() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return Whether the reidentifyConfig field is set. */ @java.lang.Override @@ -242,6 +284,8 @@ public boolean hasReidentifyConfig() { return reidentifyConfig_ != null; } /** + * + * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -255,13 +299,18 @@ public boolean hasReidentifyConfig() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return The reidentifyConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() { - return reidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : reidentifyConfig_; + return reidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : reidentifyConfig_; } /** + * + * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -284,11 +333,14 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
   public static final int INSPECT_CONFIG_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -296,18 +348,25 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return The inspectConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } /** + * + * *
    * Configuration for the inspector.
    * 
@@ -322,11 +381,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde public static final int ITEM_FIELD_NUMBER = 4; private com.google.privacy.dlp.v2.ContentItem item_; /** + * + * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return Whether the item field is set. */ @java.lang.Override @@ -334,11 +396,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return The item. */ @java.lang.Override @@ -346,6 +411,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The item to re-identify. Will be treated as text.
    * 
@@ -360,6 +427,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object inspectTemplateName_; /** + * + * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -369,6 +438,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -377,14 +447,15 @@ public java.lang.String getInspectTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; } } /** + * + * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -394,16 +465,15 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string inspect_template_name = 5; + * * @return The bytes for inspectTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -414,6 +484,8 @@ public java.lang.String getInspectTemplateName() { public static final int REIDENTIFY_TEMPLATE_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object reidentifyTemplateName_; /** + * + * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -425,6 +497,7 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string reidentify_template_name = 6; + * * @return The reidentifyTemplateName. */ @java.lang.Override @@ -433,14 +506,15 @@ public java.lang.String getReidentifyTemplateName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reidentifyTemplateName_ = s; return s; } } /** + * + * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -452,16 +526,15 @@ public java.lang.String getReidentifyTemplateName() {
    * 
* * string reidentify_template_name = 6; + * * @return The bytes for reidentifyTemplateName. */ @java.lang.Override - public com.google.protobuf.ByteString - getReidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { java.lang.Object ref = reidentifyTemplateName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reidentifyTemplateName_ = b; return b; } else { @@ -472,11 +545,14 @@ public java.lang.String getReidentifyTemplateName() { public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ @java.lang.Override @@ -485,29 +561,29 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -516,6 +592,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -527,8 +604,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -563,16 +639,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (reidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReidentifyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReidentifyConfig()); } if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInspectConfig()); } if (item_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getItem()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectTemplateName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inspectTemplateName_); @@ -591,36 +664,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.ReidentifyContentRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReidentifyContentRequest other = (com.google.privacy.dlp.v2.ReidentifyContentRequest) obj; + com.google.privacy.dlp.v2.ReidentifyContentRequest other = + (com.google.privacy.dlp.v2.ReidentifyContentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReidentifyConfig() != other.hasReidentifyConfig()) return false; if (hasReidentifyConfig()) { - if (!getReidentifyConfig() - .equals(other.getReidentifyConfig())) return false; + if (!getReidentifyConfig().equals(other.getReidentifyConfig())) return false; } if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem() - .equals(other.getItem())) return false; - } - if (!getInspectTemplateName() - .equals(other.getInspectTemplateName())) return false; - if (!getReidentifyTemplateName() - .equals(other.getReidentifyTemplateName())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getItem().equals(other.getItem())) return false; + } + if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; + if (!getReidentifyTemplateName().equals(other.getReidentifyTemplateName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -658,117 +725,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReidentifyContentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ReidentifyContentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 re-identify an item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReidentifyContentRequest) com.google.privacy.dlp.v2.ReidentifyContentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentRequest.class, com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentRequest.class, + com.google.privacy.dlp.v2.ReidentifyContentRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReidentifyContentRequest.newBuilder() @@ -776,16 +852,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -819,9 +894,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor; } @java.lang.Override @@ -840,7 +915,8 @@ public com.google.privacy.dlp.v2.ReidentifyContentRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.ReidentifyContentRequest buildPartial() { - com.google.privacy.dlp.v2.ReidentifyContentRequest result = new com.google.privacy.dlp.v2.ReidentifyContentRequest(this); + com.google.privacy.dlp.v2.ReidentifyContentRequest result = + new com.google.privacy.dlp.v2.ReidentifyContentRequest(this); result.parent_ = parent_; if (reidentifyConfigBuilder_ == null) { result.reidentifyConfig_ = reidentifyConfig_; @@ -868,38 +944,39 @@ public com.google.privacy.dlp.v2.ReidentifyContentRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReidentifyContentRequest) { - return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentRequest) other); } else { super.mergeFrom(other); return this; @@ -907,7 +984,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReidentifyContentRequest other) { - if (other == com.google.privacy.dlp.v2.ReidentifyContentRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ReidentifyContentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -952,7 +1030,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ReidentifyContentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ReidentifyContentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -964,6 +1043,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -979,14 +1060,16 @@ public Builder mergeFrom(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -995,6 +1078,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1010,16 +1095,17 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 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 { @@ -1027,6 +1113,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1042,21 +1130,25 @@ public java.lang.String getParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1072,16 +1164,21 @@ public Builder setParent(
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1097,17 +1194,19 @@ public Builder clearParent() {
      *     parent=projects/example-project/locations/europe-west3
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1115,8 +1214,13 @@ public Builder setParentBytes( private com.google.privacy.dlp.v2.DeidentifyConfig reidentifyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> reidentifyConfigBuilder_; + com.google.privacy.dlp.v2.DeidentifyConfig, + com.google.privacy.dlp.v2.DeidentifyConfig.Builder, + com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> + reidentifyConfigBuilder_; /** + * + * *
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1130,12 +1234,15 @@ public Builder setParentBytes(
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return Whether the reidentifyConfig field is set. */ public boolean hasReidentifyConfig() { return reidentifyConfigBuilder_ != null || reidentifyConfig_ != null; } /** + * + * *
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1149,16 +1256,21 @@ public boolean hasReidentifyConfig() {
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return The reidentifyConfig. */ public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() { if (reidentifyConfigBuilder_ == null) { - return reidentifyConfig_ == null ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : reidentifyConfig_; + return reidentifyConfig_ == null + ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() + : reidentifyConfig_; } else { return reidentifyConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1187,6 +1299,8 @@ public Builder setReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1213,6 +1327,8 @@ public Builder setReidentifyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1231,7 +1347,9 @@ public Builder mergeReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       if (reidentifyConfigBuilder_ == null) {
         if (reidentifyConfig_ != null) {
           reidentifyConfig_ =
-            com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(reidentifyConfig_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.DeidentifyConfig.newBuilder(reidentifyConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           reidentifyConfig_ = value;
         }
@@ -1243,6 +1361,8 @@ public Builder mergeReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1269,6 +1389,8 @@ public Builder clearReidentifyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1284,11 +1406,13 @@ public Builder clearReidentifyConfig() {
      * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
      */
     public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getReidentifyConfigBuilder() {
-      
+
       onChanged();
       return getReidentifyConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1307,11 +1431,14 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
       if (reidentifyConfigBuilder_ != null) {
         return reidentifyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return reidentifyConfig_ == null ?
-            com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance() : reidentifyConfig_;
+        return reidentifyConfig_ == null
+            ? com.google.privacy.dlp.v2.DeidentifyConfig.getDefaultInstance()
+            : reidentifyConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the re-identification of the content item.
      * This field shares the same proto message type that is used for
@@ -1327,14 +1454,17 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
      * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder> 
+            com.google.privacy.dlp.v2.DeidentifyConfig,
+            com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
+            com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>
         getReidentifyConfigFieldBuilder() {
       if (reidentifyConfigBuilder_ == null) {
-        reidentifyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.DeidentifyConfig, com.google.privacy.dlp.v2.DeidentifyConfig.Builder, com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
-                getReidentifyConfig(),
-                getParentForChildren(),
-                isClean());
+        reidentifyConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.DeidentifyConfig,
+                com.google.privacy.dlp.v2.DeidentifyConfig.Builder,
+                com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder>(
+                getReidentifyConfig(), getParentForChildren(), isClean());
         reidentifyConfig_ = null;
       }
       return reidentifyConfigBuilder_;
@@ -1342,34 +1472,47 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr
 
     private com.google.privacy.dlp.v2.InspectConfig inspectConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> inspectConfigBuilder_;
+            com.google.privacy.dlp.v2.InspectConfig,
+            com.google.privacy.dlp.v2.InspectConfig.Builder,
+            com.google.privacy.dlp.v2.InspectConfigOrBuilder>
+        inspectConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * Configuration for the inspector.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return The inspectConfig. */ public com.google.privacy.dlp.v2.InspectConfig getInspectConfig() { if (inspectConfigBuilder_ == null) { - return inspectConfig_ == null ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } else { return inspectConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1390,6 +1533,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1408,6 +1553,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1418,7 +1565,9 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) if (inspectConfigBuilder_ == null) { if (inspectConfig_ != null) { inspectConfig_ = - com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectConfig.newBuilder(inspectConfig_) + .mergeFrom(value) + .buildPartial(); } else { inspectConfig_ = value; } @@ -1430,6 +1579,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1448,6 +1599,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1455,11 +1608,13 @@ public Builder clearInspectConfig() { * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; */ public com.google.privacy.dlp.v2.InspectConfig.Builder getInspectConfigBuilder() { - + onChanged(); return getInspectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1470,11 +1625,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde if (inspectConfigBuilder_ != null) { return inspectConfigBuilder_.getMessageOrBuilder(); } else { - return inspectConfig_ == null ? - com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() : inspectConfig_; + return inspectConfig_ == null + ? com.google.privacy.dlp.v2.InspectConfig.getDefaultInstance() + : inspectConfig_; } } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1482,14 +1640,17 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder> + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder> getInspectConfigFieldBuilder() { if (inspectConfigBuilder_ == null) { - inspectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectConfig, com.google.privacy.dlp.v2.InspectConfig.Builder, com.google.privacy.dlp.v2.InspectConfigOrBuilder>( - getInspectConfig(), - getParentForChildren(), - isClean()); + inspectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectConfig, + com.google.privacy.dlp.v2.InspectConfig.Builder, + com.google.privacy.dlp.v2.InspectConfigOrBuilder>( + getInspectConfig(), getParentForChildren(), isClean()); inspectConfig_ = null; } return inspectConfigBuilder_; @@ -1497,24 +1658,33 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde private com.google.privacy.dlp.v2.ContentItem item_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_; + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> + itemBuilder_; /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -1525,6 +1695,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1545,14 +1717,15 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 4; */ - public Builder setItem( - com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -1563,6 +1736,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1573,7 +1748,9 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -1585,6 +1762,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1603,6 +1782,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1610,11 +1791,13 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 4; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1625,11 +1808,12 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? - com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1637,14 +1821,17 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), - getParentForChildren(), - isClean()); + itemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), getParentForChildren(), isClean()); item_ = null; } return itemBuilder_; @@ -1652,6 +1839,8 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private java.lang.Object inspectTemplateName_ = ""; /** + * + * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1661,13 +1850,13 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
      * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ public java.lang.String getInspectTemplateName() { java.lang.Object ref = inspectTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inspectTemplateName_ = s; return s; @@ -1676,6 +1865,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1685,15 +1876,14 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 5; + * * @return The bytes for inspectTemplateName. */ - public com.google.protobuf.ByteString - getInspectTemplateNameBytes() { + public com.google.protobuf.ByteString getInspectTemplateNameBytes() { java.lang.Object ref = inspectTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inspectTemplateName_ = b; return b; } else { @@ -1701,6 +1891,8 @@ public java.lang.String getInspectTemplateName() { } } /** + * + * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1710,20 +1902,22 @@ public java.lang.String getInspectTemplateName() {
      * 
* * string inspect_template_name = 5; + * * @param value The inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateName( - java.lang.String value) { + public Builder setInspectTemplateName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inspectTemplateName_ = value; onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1733,15 +1927,18 @@ public Builder setInspectTemplateName(
      * 
* * string inspect_template_name = 5; + * * @return This builder for chaining. */ public Builder clearInspectTemplateName() { - + inspectTemplateName_ = getDefaultInstance().getInspectTemplateName(); onChanged(); return this; } /** + * + * *
      * Template to use. Any configuration directly specified in
      * `inspect_config` will override those set in the template. Singular fields
@@ -1751,16 +1948,16 @@ public Builder clearInspectTemplateName() {
      * 
* * string inspect_template_name = 5; + * * @param value The bytes for inspectTemplateName to set. * @return This builder for chaining. */ - public Builder setInspectTemplateNameBytes( - com.google.protobuf.ByteString value) { + public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inspectTemplateName_ = value; onChanged(); return this; @@ -1768,6 +1965,8 @@ public Builder setInspectTemplateNameBytes( private java.lang.Object reidentifyTemplateName_ = ""; /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1779,13 +1978,13 @@ public Builder setInspectTemplateNameBytes(
      * 
* * string reidentify_template_name = 6; + * * @return The reidentifyTemplateName. */ public java.lang.String getReidentifyTemplateName() { java.lang.Object ref = reidentifyTemplateName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reidentifyTemplateName_ = s; return s; @@ -1794,6 +1993,8 @@ public java.lang.String getReidentifyTemplateName() { } } /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1805,15 +2006,14 @@ public java.lang.String getReidentifyTemplateName() {
      * 
* * string reidentify_template_name = 6; + * * @return The bytes for reidentifyTemplateName. */ - public com.google.protobuf.ByteString - getReidentifyTemplateNameBytes() { + public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { java.lang.Object ref = reidentifyTemplateName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reidentifyTemplateName_ = b; return b; } else { @@ -1821,6 +2021,8 @@ public java.lang.String getReidentifyTemplateName() { } } /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1832,20 +2034,22 @@ public java.lang.String getReidentifyTemplateName() {
      * 
* * string reidentify_template_name = 6; + * * @param value The reidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setReidentifyTemplateName( - java.lang.String value) { + public Builder setReidentifyTemplateName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reidentifyTemplateName_ = value; onChanged(); return this; } /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1857,15 +2061,18 @@ public Builder setReidentifyTemplateName(
      * 
* * string reidentify_template_name = 6; + * * @return This builder for chaining. */ public Builder clearReidentifyTemplateName() { - + reidentifyTemplateName_ = getDefaultInstance().getReidentifyTemplateName(); onChanged(); return this; } /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1877,16 +2084,16 @@ public Builder clearReidentifyTemplateName() {
      * 
* * string reidentify_template_name = 6; + * * @param value The bytes for reidentifyTemplateName to set. * @return This builder for chaining. */ - public Builder setReidentifyTemplateNameBytes( - com.google.protobuf.ByteString value) { + public Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reidentifyTemplateName_ = value; onChanged(); return this; @@ -1894,18 +2101,20 @@ public Builder setReidentifyTemplateNameBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1914,20 +2123,21 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1935,61 +2145,68 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. This field has no effect.
      * 
* * string location_id = 7; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1999,12 +2216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReidentifyContentRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReidentifyContentRequest) private static final com.google.privacy.dlp.v2.ReidentifyContentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReidentifyContentRequest(); } @@ -2013,16 +2230,16 @@ public static com.google.privacy.dlp.v2.ReidentifyContentRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReidentifyContentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReidentifyContentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReidentifyContentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReidentifyContentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2037,6 +2254,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ReidentifyContentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java similarity index 85% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java index 49de25cb..f86e61d8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ReidentifyContentRequestOrBuilder extends +public interface ReidentifyContentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReidentifyContentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -23,11 +41,16 @@ public interface ReidentifyContentRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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. Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -43,13 +66,17 @@ public interface ReidentifyContentRequestOrBuilder extends
    *     parent=projects/example-project/locations/europe-west3
    * 
* - * string parent = 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(); /** + * + * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -63,10 +90,13 @@ public interface ReidentifyContentRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return Whether the reidentifyConfig field is set. */ boolean hasReidentifyConfig(); /** + * + * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -80,10 +110,13 @@ public interface ReidentifyContentRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return The reidentifyConfig. */ com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig(); /** + * + * *
    * Configuration for the re-identification of the content item.
    * This field shares the same proto message type that is used for
@@ -101,24 +134,32 @@ public interface ReidentifyContentRequestOrBuilder extends
   com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * Configuration for the inspector.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 3; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * Configuration for the inspector.
    * 
@@ -128,24 +169,32 @@ public interface ReidentifyContentRequestOrBuilder extends com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); /** + * + * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return Whether the item field is set. */ boolean hasItem(); /** + * + * *
    * The item to re-identify. Will be treated as text.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 4; + * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** + * + * *
    * The item to re-identify. Will be treated as text.
    * 
@@ -155,6 +204,8 @@ public interface ReidentifyContentRequestOrBuilder extends com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -164,10 +215,13 @@ public interface ReidentifyContentRequestOrBuilder extends
    * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ java.lang.String getInspectTemplateName(); /** + * + * *
    * Template to use. Any configuration directly specified in
    * `inspect_config` will override those set in the template. Singular fields
@@ -177,12 +231,14 @@ public interface ReidentifyContentRequestOrBuilder extends
    * 
* * string inspect_template_name = 5; + * * @return The bytes for inspectTemplateName. */ - com.google.protobuf.ByteString - getInspectTemplateNameBytes(); + com.google.protobuf.ByteString getInspectTemplateNameBytes(); /** + * + * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -194,10 +250,13 @@ public interface ReidentifyContentRequestOrBuilder extends
    * 
* * string reidentify_template_name = 6; + * * @return The reidentifyTemplateName. */ java.lang.String getReidentifyTemplateName(); /** + * + * *
    * Template to use. References an instance of `DeidentifyTemplate`.
    * Any configuration directly specified in `reidentify_config` or
@@ -209,28 +268,33 @@ public interface ReidentifyContentRequestOrBuilder extends
    * 
* * string reidentify_template_name = 6; + * * @return The bytes for reidentifyTemplateName. */ - com.google.protobuf.ByteString - getReidentifyTemplateNameBytes(); + com.google.protobuf.ByteString getReidentifyTemplateNameBytes(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Deprecated. This field has no effect.
    * 
* * string location_id = 7; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java index c8e189a8..653b0bc8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Results of re-identifying a item.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentResponse} */ -public final class ReidentifyContentResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReidentifyContentResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReidentifyContentResponse) ReidentifyContentResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReidentifyContentResponse.newBuilder() to construct. private ReidentifyContentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReidentifyContentResponse() { - } + + private ReidentifyContentResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReidentifyContentResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReidentifyContentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +68,83 @@ private ReidentifyContentResponse( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; - if (item_ != null) { - subBuilder = item_.toBuilder(); - } - item_ = input.readMessage(com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(item_); - item_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; - if (overview_ != null) { - subBuilder = overview_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.ContentItem.Builder subBuilder = null; + if (item_ != null) { + subBuilder = item_.toBuilder(); + } + item_ = + input.readMessage( + com.google.privacy.dlp.v2.ContentItem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(item_); + item_ = subBuilder.buildPartial(); + } + + break; } - overview_ = input.readMessage(com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(overview_); - overview_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.TransformationOverview.Builder subBuilder = null; + if (overview_ != null) { + subBuilder = overview_.toBuilder(); + } + overview_ = + input.readMessage( + com.google.privacy.dlp.v2.TransformationOverview.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(overview_); + overview_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentResponse.class, com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentResponse.class, + com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); } public static final int ITEM_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.ContentItem item_; /** + * + * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ @java.lang.Override @@ -125,11 +152,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ @java.lang.Override @@ -137,6 +167,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The re-identified item.
    * 
@@ -151,11 +183,14 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { public static final int OVERVIEW_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.TransformationOverview overview_; /** + * + * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return Whether the overview field is set. */ @java.lang.Override @@ -163,18 +198,25 @@ public boolean hasOverview() { return overview_ != null; } /** + * + * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return The overview. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationOverview getOverview() { - return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; + return overview_ == null + ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() + : overview_; } /** + * + * *
    * An overview of the changes that were made to the `item`.
    * 
@@ -187,6 +229,7 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +241,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (item_ != null) { output.writeMessage(1, getItem()); } @@ -216,12 +258,10 @@ public int getSerializedSize() { size = 0; if (item_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getItem()); } if (overview_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOverview()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOverview()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,22 +271,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.privacy.dlp.v2.ReidentifyContentResponse)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReidentifyContentResponse other = (com.google.privacy.dlp.v2.ReidentifyContentResponse) obj; + com.google.privacy.dlp.v2.ReidentifyContentResponse other = + (com.google.privacy.dlp.v2.ReidentifyContentResponse) obj; if (hasItem() != other.hasItem()) return false; if (hasItem()) { - if (!getItem() - .equals(other.getItem())) return false; + if (!getItem().equals(other.getItem())) return false; } if (hasOverview() != other.hasOverview()) return false; if (hasOverview()) { - if (!getOverview() - .equals(other.getOverview())) return false; + if (!getOverview().equals(other.getOverview())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,117 +312,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReidentifyContentResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ReidentifyContentResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Results of re-identifying a item.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReidentifyContentResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReidentifyContentResponse) com.google.privacy.dlp.v2.ReidentifyContentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReidentifyContentResponse.class, com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); + com.google.privacy.dlp.v2.ReidentifyContentResponse.class, + com.google.privacy.dlp.v2.ReidentifyContentResponse.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReidentifyContentResponse.newBuilder() @@ -391,16 +439,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor; } @java.lang.Override @@ -441,7 +488,8 @@ public com.google.privacy.dlp.v2.ReidentifyContentResponse build() { @java.lang.Override public com.google.privacy.dlp.v2.ReidentifyContentResponse buildPartial() { - com.google.privacy.dlp.v2.ReidentifyContentResponse result = new com.google.privacy.dlp.v2.ReidentifyContentResponse(this); + com.google.privacy.dlp.v2.ReidentifyContentResponse result = + new com.google.privacy.dlp.v2.ReidentifyContentResponse(this); if (itemBuilder_ == null) { result.item_ = item_; } else { @@ -460,38 +508,39 @@ public com.google.privacy.dlp.v2.ReidentifyContentResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReidentifyContentResponse) { - return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentResponse)other); + return mergeFrom((com.google.privacy.dlp.v2.ReidentifyContentResponse) other); } else { super.mergeFrom(other); return this; @@ -499,7 +548,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReidentifyContentResponse other) { - if (other == com.google.privacy.dlp.v2.ReidentifyContentResponse.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ReidentifyContentResponse.getDefaultInstance()) + return this; if (other.hasItem()) { mergeItem(other.getItem()); } @@ -525,7 +575,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ReidentifyContentResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ReidentifyContentResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,24 +588,33 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.ContentItem item_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> itemBuilder_; + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> + itemBuilder_; /** + * + * *
      * The re-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ public boolean hasItem() { return itemBuilder_ != null || item_ != null; } /** + * + * *
      * The re-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ public com.google.privacy.dlp.v2.ContentItem getItem() { @@ -565,6 +625,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The re-identified item.
      * 
@@ -585,14 +647,15 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The re-identified item.
      * 
* * .google.privacy.dlp.v2.ContentItem item = 1; */ - public Builder setItem( - com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { + public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForValue) { if (itemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); @@ -603,6 +666,8 @@ public Builder setItem( return this; } /** + * + * *
      * The re-identified item.
      * 
@@ -613,7 +678,9 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { if (itemBuilder_ == null) { if (item_ != null) { item_ = - com.google.privacy.dlp.v2.ContentItem.newBuilder(item_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.ContentItem.newBuilder(item_) + .mergeFrom(value) + .buildPartial(); } else { item_ = value; } @@ -625,6 +692,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The re-identified item.
      * 
@@ -643,6 +712,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The re-identified item.
      * 
@@ -650,11 +721,13 @@ public Builder clearItem() { * .google.privacy.dlp.v2.ContentItem item = 1; */ public com.google.privacy.dlp.v2.ContentItem.Builder getItemBuilder() { - + onChanged(); return getItemFieldBuilder().getBuilder(); } /** + * + * *
      * The re-identified item.
      * 
@@ -665,11 +738,12 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { if (itemBuilder_ != null) { return itemBuilder_.getMessageOrBuilder(); } else { - return item_ == null ? - com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; + return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } } /** + * + * *
      * The re-identified item.
      * 
@@ -677,14 +751,17 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { * .google.privacy.dlp.v2.ContentItem item = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder> + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder> getItemFieldBuilder() { if (itemBuilder_ == null) { - itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ContentItem, com.google.privacy.dlp.v2.ContentItem.Builder, com.google.privacy.dlp.v2.ContentItemOrBuilder>( - getItem(), - getParentForChildren(), - isClean()); + itemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ContentItem, + com.google.privacy.dlp.v2.ContentItem.Builder, + com.google.privacy.dlp.v2.ContentItemOrBuilder>( + getItem(), getParentForChildren(), isClean()); item_ = null; } return itemBuilder_; @@ -692,34 +769,47 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() { private com.google.privacy.dlp.v2.TransformationOverview overview_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> overviewBuilder_; + com.google.privacy.dlp.v2.TransformationOverview, + com.google.privacy.dlp.v2.TransformationOverview.Builder, + com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> + overviewBuilder_; /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return Whether the overview field is set. */ public boolean hasOverview() { return overviewBuilder_ != null || overview_ != null; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return The overview. */ public com.google.privacy.dlp.v2.TransformationOverview getOverview() { if (overviewBuilder_ == null) { - return overview_ == null ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; + return overview_ == null + ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() + : overview_; } else { return overviewBuilder_.getMessage(); } } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -740,6 +830,8 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -758,6 +850,8 @@ public Builder setOverview( return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -768,7 +862,9 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va if (overviewBuilder_ == null) { if (overview_ != null) { overview_ = - com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.TransformationOverview.newBuilder(overview_) + .mergeFrom(value) + .buildPartial(); } else { overview_ = value; } @@ -780,6 +876,8 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -798,6 +896,8 @@ public Builder clearOverview() { return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -805,11 +905,13 @@ public Builder clearOverview() { * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ public com.google.privacy.dlp.v2.TransformationOverview.Builder getOverviewBuilder() { - + onChanged(); return getOverviewFieldBuilder().getBuilder(); } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -820,11 +922,14 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu if (overviewBuilder_ != null) { return overviewBuilder_.getMessageOrBuilder(); } else { - return overview_ == null ? - com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() : overview_; + return overview_ == null + ? com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance() + : overview_; } } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -832,21 +937,24 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu * .google.privacy.dlp.v2.TransformationOverview overview = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> + com.google.privacy.dlp.v2.TransformationOverview, + com.google.privacy.dlp.v2.TransformationOverview.Builder, + com.google.privacy.dlp.v2.TransformationOverviewOrBuilder> getOverviewFieldBuilder() { if (overviewBuilder_ == null) { - overviewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationOverview, com.google.privacy.dlp.v2.TransformationOverview.Builder, com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( - getOverview(), - getParentForChildren(), - isClean()); + overviewBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationOverview, + com.google.privacy.dlp.v2.TransformationOverview.Builder, + com.google.privacy.dlp.v2.TransformationOverviewOrBuilder>( + getOverview(), getParentForChildren(), isClean()); overview_ = null; } return overviewBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReidentifyContentResponse) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReidentifyContentResponse) private static final com.google.privacy.dlp.v2.ReidentifyContentResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReidentifyContentResponse(); } @@ -870,16 +978,16 @@ public static com.google.privacy.dlp.v2.ReidentifyContentResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReidentifyContentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReidentifyContentResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReidentifyContentResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReidentifyContentResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -894,6 +1002,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ReidentifyContentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java index a805fd99..ef1a19a1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ReidentifyContentResponseOrBuilder extends +public interface ReidentifyContentResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReidentifyContentResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return Whether the item field is set. */ boolean hasItem(); /** + * + * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ com.google.privacy.dlp.v2.ContentItem getItem(); /** + * + * *
    * The re-identified item.
    * 
@@ -35,24 +59,32 @@ public interface ReidentifyContentResponseOrBuilder extends com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); /** + * + * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return Whether the overview field is set. */ boolean hasOverview(); /** + * + * *
    * An overview of the changes that were made to the `item`.
    * 
* * .google.privacy.dlp.v2.TransformationOverview overview = 2; + * * @return The overview. */ com.google.privacy.dlp.v2.TransformationOverview getOverview(); /** + * + * *
    * An overview of the changes that were made to the `item`.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java index 878b2cc3..3057f215 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Operators available for comparing the value of fields.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.RelationalOperator} */ -public enum RelationalOperator - implements com.google.protobuf.ProtocolMessageEnum { +public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unused
    * 
@@ -21,6 +39,8 @@ public enum RelationalOperator */ RELATIONAL_OPERATOR_UNSPECIFIED(0), /** + * + * *
    * Equal. Attempts to match even with incompatible types.
    * 
@@ -29,6 +49,8 @@ public enum RelationalOperator */ EQUAL_TO(1), /** + * + * *
    * Not equal to. Attempts to match even with incompatible types.
    * 
@@ -37,6 +59,8 @@ public enum RelationalOperator */ NOT_EQUAL_TO(2), /** + * + * *
    * Greater than.
    * 
@@ -45,6 +69,8 @@ public enum RelationalOperator */ GREATER_THAN(3), /** + * + * *
    * Less than.
    * 
@@ -53,6 +79,8 @@ public enum RelationalOperator */ LESS_THAN(4), /** + * + * *
    * Greater than or equals.
    * 
@@ -61,6 +89,8 @@ public enum RelationalOperator */ GREATER_THAN_OR_EQUALS(5), /** + * + * *
    * Less than or equals.
    * 
@@ -69,6 +99,8 @@ public enum RelationalOperator */ LESS_THAN_OR_EQUALS(6), /** + * + * *
    * Exists
    * 
@@ -80,6 +112,8 @@ public enum RelationalOperator ; /** + * + * *
    * Unused
    * 
@@ -88,6 +122,8 @@ public enum RelationalOperator */ public static final int RELATIONAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Equal. Attempts to match even with incompatible types.
    * 
@@ -96,6 +132,8 @@ public enum RelationalOperator */ public static final int EQUAL_TO_VALUE = 1; /** + * + * *
    * Not equal to. Attempts to match even with incompatible types.
    * 
@@ -104,6 +142,8 @@ public enum RelationalOperator */ public static final int NOT_EQUAL_TO_VALUE = 2; /** + * + * *
    * Greater than.
    * 
@@ -112,6 +152,8 @@ public enum RelationalOperator */ public static final int GREATER_THAN_VALUE = 3; /** + * + * *
    * Less than.
    * 
@@ -120,6 +162,8 @@ public enum RelationalOperator */ public static final int LESS_THAN_VALUE = 4; /** + * + * *
    * Greater than or equals.
    * 
@@ -128,6 +172,8 @@ public enum RelationalOperator */ public static final int GREATER_THAN_OR_EQUALS_VALUE = 5; /** + * + * *
    * Less than or equals.
    * 
@@ -136,6 +182,8 @@ public enum RelationalOperator */ public static final int LESS_THAN_OR_EQUALS_VALUE = 6; /** + * + * *
    * Exists
    * 
@@ -144,7 +192,6 @@ public enum RelationalOperator */ public static final int EXISTS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,44 +216,52 @@ public static RelationalOperator valueOf(int value) { */ public static RelationalOperator forNumber(int value) { switch (value) { - case 0: return RELATIONAL_OPERATOR_UNSPECIFIED; - case 1: return EQUAL_TO; - case 2: return NOT_EQUAL_TO; - case 3: return GREATER_THAN; - case 4: return LESS_THAN; - case 5: return GREATER_THAN_OR_EQUALS; - case 6: return LESS_THAN_OR_EQUALS; - case 7: return EXISTS; - default: return null; + case 0: + return RELATIONAL_OPERATOR_UNSPECIFIED; + case 1: + return EQUAL_TO; + case 2: + return NOT_EQUAL_TO; + case 3: + return GREATER_THAN; + case 4: + return LESS_THAN; + case 5: + return GREATER_THAN_OR_EQUALS; + case 6: + return LESS_THAN_OR_EQUALS; + case 7: + return EXISTS; + 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< - RelationalOperator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RelationalOperator findValueByNumber(int number) { - return RelationalOperator.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 RelationalOperator findValueByNumber(int number) { + return RelationalOperator.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(0); } @@ -215,8 +270,7 @@ public RelationalOperator findValueByNumber(int number) { public static RelationalOperator 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; @@ -232,4 +286,3 @@ private RelationalOperator(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.RelationalOperator) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java index d29f3b67..1e5af9fd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Replace each input value with a value randomly selected from the dictionary.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceDictionaryConfig} */ -public final class ReplaceDictionaryConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplaceDictionaryConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceDictionaryConfig) ReplaceDictionaryConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplaceDictionaryConfig.newBuilder() to construct. private ReplaceDictionaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplaceDictionaryConfig() { - } + + private ReplaceDictionaryConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplaceDictionaryConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplaceDictionaryConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,60 +68,72 @@ private ReplaceDictionaryConfig( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_).toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = + null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); - type_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - typeCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WORD_LIST(1), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -121,24 +149,28 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: return WORD_LIST; - case 0: return TYPE_NOT_SET; - default: return null; + case 1: + return WORD_LIST; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int WORD_LIST_FIELD_NUMBER = 1; /** + * + * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -146,6 +178,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ @java.lang.Override @@ -153,6 +186,8 @@ public boolean hasWordList() { return typeCase_ == 1; } /** + * + * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -160,16 +195,19 @@ public boolean hasWordList() {
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); } /** + * + * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -179,14 +217,16 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(
    * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() {
+  public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder
+      getWordListOrBuilder() {
     if (typeCase_ == 1) {
-       return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_;
+      return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_;
     }
     return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -198,8 +238,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (typeCase_ == 1) {
       output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
     }
@@ -213,8 +252,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (typeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -224,18 +264,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.privacy.dlp.v2.ReplaceDictionaryConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.ReplaceDictionaryConfig other = (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) obj;
+    com.google.privacy.dlp.v2.ReplaceDictionaryConfig other =
+        (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) obj;
 
     if (!getTypeCase().equals(other.getTypeCase())) return false;
     switch (typeCase_) {
       case 1:
-        if (!getWordList()
-            .equals(other.getWordList())) return false;
+        if (!getWordList().equals(other.getWordList())) return false;
         break;
       case 0:
       default:
@@ -265,117 +305,126 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceDictionaryConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Replace each input value with a value randomly selected from the dictionary.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceDictionaryConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceDictionaryConfig) com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder() @@ -383,16 +432,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; } @java.lang.Override @@ -423,7 +471,8 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceDictionaryConfig buildPartial() { - com.google.privacy.dlp.v2.ReplaceDictionaryConfig result = new com.google.privacy.dlp.v2.ReplaceDictionaryConfig(this); + com.google.privacy.dlp.v2.ReplaceDictionaryConfig result = + new com.google.privacy.dlp.v2.ReplaceDictionaryConfig(this); if (typeCase_ == 1) { if (wordListBuilder_ == null) { result.type_ = type_; @@ -440,38 +489,39 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReplaceDictionaryConfig) { - return mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) other); } else { super.mergeFrom(other); return this; @@ -479,15 +529,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReplaceDictionaryConfig other) { - if (other == com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) + return this; switch (other.getTypeCase()) { - case WORD_LIST: { - mergeWordList(other.getWordList()); - break; - } - case TYPE_NOT_SET: { - break; - } + case WORD_LIST: + { + mergeWordList(other.getWordList()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -508,7 +561,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,12 +571,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -532,10 +586,14 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> wordListBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> + wordListBuilder_; /** + * + * *
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -543,6 +601,7 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ @java.lang.Override @@ -550,6 +609,8 @@ public boolean hasWordList() { return typeCase_ == 1; } /** + * + * *
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -557,6 +618,7 @@ public boolean hasWordList() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ @java.lang.Override @@ -574,6 +636,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList( } } /** + * + * *
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -596,6 +660,8 @@ public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.W
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -616,6 +682,8 @@ public Builder setWordList(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -624,12 +692,18 @@ public Builder setWordList(
      *
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
-    public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) {
+    public Builder mergeWordList(
+        com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) {
       if (wordListBuilder_ == null) {
-        if (typeCase_ == 1 &&
-            type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance()) {
-          type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_)
-              .mergeFrom(value).buildPartial();
+        if (typeCase_ == 1
+            && type_
+                != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList
+                    .getDefaultInstance()) {
+          type_ =
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder(
+                      (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           type_ = value;
         }
@@ -644,6 +718,8 @@ public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -669,6 +745,8 @@ public Builder clearWordList() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -677,10 +755,13 @@ public Builder clearWordList() {
      *
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
-    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder getWordListBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder
+        getWordListBuilder() {
       return getWordListFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -690,7 +771,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder getW
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder() {
+    public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder
+        getWordListOrBuilder() {
       if ((typeCase_ == 1) && (wordListBuilder_ != null)) {
         return wordListBuilder_.getMessageOrBuilder();
       } else {
@@ -701,6 +783,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder get
       }
     }
     /**
+     *
+     *
      * 
      * A list of words to select from for random replacement. The
      * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -710,26 +794,32 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder get
      * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> 
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList,
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder,
+            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>
         getWordListFieldBuilder() {
       if (wordListBuilder_ == null) {
         if (!(typeCase_ == 1)) {
           type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance();
         }
-        wordListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>(
+        wordListBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList,
+                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder,
+                com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>(
                 (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_,
                 getParentForChildren(),
                 isClean());
         type_ = null;
       }
       typeCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return wordListBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -739,12 +829,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceDictionaryConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceDictionaryConfig)
   private static final com.google.privacy.dlp.v2.ReplaceDictionaryConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceDictionaryConfig();
   }
@@ -753,16 +843,16 @@ public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReplaceDictionaryConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ReplaceDictionaryConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReplaceDictionaryConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ReplaceDictionaryConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -777,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
index d4ce18a5..e7ca199a 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface ReplaceDictionaryConfigOrBuilder extends
+public interface ReplaceDictionaryConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceDictionaryConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -15,10 +33,13 @@ public interface ReplaceDictionaryConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ boolean hasWordList(); /** + * + * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
@@ -26,10 +47,13 @@ public interface ReplaceDictionaryConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(); /** + * + * *
    * A list of words to select from for random replacement. The
    * [limits](https://cloud.google.com/dlp/limits) page contains details about
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
index dfcca2b2..432d446c 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfig.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Replace each input value with a given `Value`.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceValueConfig} */ -public final class ReplaceValueConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplaceValueConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceValueConfig) ReplaceValueConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplaceValueConfig.newBuilder() to construct. private ReplaceValueConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplaceValueConfig() { - } + + private ReplaceValueConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplaceValueConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplaceValueConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,59 +68,66 @@ private ReplaceValueConfig( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (newValue_ != null) { - subBuilder = newValue_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (newValue_ != null) { + subBuilder = newValue_.toBuilder(); + } + newValue_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(newValue_); + newValue_ = subBuilder.buildPartial(); + } + + break; } - newValue_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(newValue_); - newValue_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceValueConfig.class, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceValueConfig.class, + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); } public static final int NEW_VALUE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value newValue_; /** + * + * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; + * * @return Whether the newValue field is set. */ @java.lang.Override @@ -112,11 +135,14 @@ public boolean hasNewValue() { return newValue_ != null; } /** + * + * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; + * * @return The newValue. */ @java.lang.Override @@ -124,6 +150,8 @@ public com.google.privacy.dlp.v2.Value getNewValue() { return newValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_; } /** + * + * *
    * Value to replace it with.
    * 
@@ -136,6 +164,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +176,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (newValue_ != null) { output.writeMessage(1, getNewValue()); } @@ -162,8 +190,7 @@ public int getSerializedSize() { size = 0; if (newValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNewValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNewValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,17 +200,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.privacy.dlp.v2.ReplaceValueConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReplaceValueConfig other = (com.google.privacy.dlp.v2.ReplaceValueConfig) obj; + com.google.privacy.dlp.v2.ReplaceValueConfig other = + (com.google.privacy.dlp.v2.ReplaceValueConfig) obj; if (hasNewValue() != other.hasNewValue()) return false; if (hasNewValue()) { - if (!getNewValue() - .equals(other.getNewValue())) return false; + if (!getNewValue().equals(other.getNewValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceValueConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReplaceValueConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceValueConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Replace each input value with a given `Value`.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceValueConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceValueConfig) com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceValueConfig.class, com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceValueConfig.class, + com.google.privacy.dlp.v2.ReplaceValueConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReplaceValueConfig.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; } @java.lang.Override @@ -368,7 +403,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceValueConfig buildPartial() { - com.google.privacy.dlp.v2.ReplaceValueConfig result = new com.google.privacy.dlp.v2.ReplaceValueConfig(this); + com.google.privacy.dlp.v2.ReplaceValueConfig result = + new com.google.privacy.dlp.v2.ReplaceValueConfig(this); if (newValueBuilder_ == null) { result.newValue_ = newValue_; } else { @@ -382,38 +418,39 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReplaceValueConfig) { - return mergeFrom((com.google.privacy.dlp.v2.ReplaceValueConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.ReplaceValueConfig) other); } else { super.mergeFrom(other); return this; @@ -456,24 +493,33 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Value newValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> newValueBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + newValueBuilder_; /** + * + * *
      * Value to replace it with.
      * 
* * .google.privacy.dlp.v2.Value new_value = 1; + * * @return Whether the newValue field is set. */ public boolean hasNewValue() { return newValueBuilder_ != null || newValue_ != null; } /** + * + * *
      * Value to replace it with.
      * 
* * .google.privacy.dlp.v2.Value new_value = 1; + * * @return The newValue. */ public com.google.privacy.dlp.v2.Value getNewValue() { @@ -484,6 +530,8 @@ public com.google.privacy.dlp.v2.Value getNewValue() { } } /** + * + * *
      * Value to replace it with.
      * 
@@ -504,14 +552,15 @@ public Builder setNewValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Value to replace it with.
      * 
* * .google.privacy.dlp.v2.Value new_value = 1; */ - public Builder setNewValue( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setNewValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (newValueBuilder_ == null) { newValue_ = builderForValue.build(); onChanged(); @@ -522,6 +571,8 @@ public Builder setNewValue( return this; } /** + * + * *
      * Value to replace it with.
      * 
@@ -532,7 +583,7 @@ public Builder mergeNewValue(com.google.privacy.dlp.v2.Value value) { if (newValueBuilder_ == null) { if (newValue_ != null) { newValue_ = - com.google.privacy.dlp.v2.Value.newBuilder(newValue_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(newValue_).mergeFrom(value).buildPartial(); } else { newValue_ = value; } @@ -544,6 +595,8 @@ public Builder mergeNewValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Value to replace it with.
      * 
@@ -562,6 +615,8 @@ public Builder clearNewValue() { return this; } /** + * + * *
      * Value to replace it with.
      * 
@@ -569,11 +624,13 @@ public Builder clearNewValue() { * .google.privacy.dlp.v2.Value new_value = 1; */ public com.google.privacy.dlp.v2.Value.Builder getNewValueBuilder() { - + onChanged(); return getNewValueFieldBuilder().getBuilder(); } /** + * + * *
      * Value to replace it with.
      * 
@@ -584,11 +641,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { if (newValueBuilder_ != null) { return newValueBuilder_.getMessageOrBuilder(); } else { - return newValue_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_; + return newValue_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : newValue_; } } /** + * + * *
      * Value to replace it with.
      * 
@@ -596,21 +654,24 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { * .google.privacy.dlp.v2.Value new_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getNewValueFieldBuilder() { if (newValueBuilder_ == null) { - newValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getNewValue(), - getParentForChildren(), - isClean()); + newValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getNewValue(), getParentForChildren(), isClean()); newValue_ = null; } return newValueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,12 +681,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceValueConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceValueConfig) private static final com.google.privacy.dlp.v2.ReplaceValueConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceValueConfig(); } @@ -634,16 +695,16 @@ public static com.google.privacy.dlp.v2.ReplaceValueConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceValueConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceValueConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceValueConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceValueConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,6 +719,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ReplaceValueConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java index 61fbf07f..aaa6d67c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceValueConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ReplaceValueConfigOrBuilder extends +public interface ReplaceValueConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceValueConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; + * * @return Whether the newValue field is set. */ boolean hasNewValue(); /** + * + * *
    * Value to replace it with.
    * 
* * .google.privacy.dlp.v2.Value new_value = 1; + * * @return The newValue. */ com.google.privacy.dlp.v2.Value getNewValue(); /** + * + * *
    * Value to replace it with.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java index 9bcb9727..256790e7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Replace each matching finding with the name of the info_type.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceWithInfoTypeConfig} */ -public final class ReplaceWithInfoTypeConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplaceWithInfoTypeConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) ReplaceWithInfoTypeConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplaceWithInfoTypeConfig.newBuilder() to construct. private ReplaceWithInfoTypeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplaceWithInfoTypeConfig() { - } + + private ReplaceWithInfoTypeConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplaceWithInfoTypeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplaceWithInfoTypeConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,42 @@ private ReplaceWithInfoTypeConfig( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,8 +115,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -115,12 +133,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.privacy.dlp.v2.ReplaceWithInfoTypeConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig other = (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) obj; + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig other = + (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -139,117 +158,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Replace each matching finding with the name of the info_type.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ReplaceWithInfoTypeConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.class, + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.newBuilder() @@ -257,16 +285,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -274,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; } @java.lang.Override @@ -295,7 +322,8 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig buildPartial() { - com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig result = new com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig(this); + com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig result = + new com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig(this); onBuilt(); return result; } @@ -304,38 +332,39 @@ public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) { - return mergeFrom((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) other); } else { super.mergeFrom(other); return this; @@ -343,7 +372,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig other) { - if (other == com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -363,7 +393,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -372,9 +403,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -384,12 +415,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) private static final com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig(); } @@ -398,16 +429,16 @@ public static com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceWithInfoTypeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceWithInfoTypeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceWithInfoTypeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceWithInfoTypeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -422,6 +453,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java new file mode 100644 index 00000000..656ea1ed --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceWithInfoTypeConfigOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface ReplaceWithInfoTypeConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java index 3e99c608..f635352c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Configuration for a risk analysis job. See
  * https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.RiskAnalysisJobConfig}
  */
-public final class RiskAnalysisJobConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RiskAnalysisJobConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RiskAnalysisJobConfig)
     RiskAnalysisJobConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RiskAnalysisJobConfig.newBuilder() to construct.
   private RiskAnalysisJobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RiskAnalysisJobConfig() {
     actions_ = 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 RiskAnalysisJobConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RiskAnalysisJobConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,55 +72,61 @@ private RiskAnalysisJobConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null;
-            if (privacyMetric_ != null) {
-              subBuilder = privacyMetric_.toBuilder();
-            }
-            privacyMetric_ = input.readMessage(com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(privacyMetric_);
-              privacyMetric_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.PrivacyMetric.Builder subBuilder = null;
+              if (privacyMetric_ != null) {
+                subBuilder = privacyMetric_.toBuilder();
+              }
+              privacyMetric_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.PrivacyMetric.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(privacyMetric_);
+                privacyMetric_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-            if (sourceTable_ != null) {
-              subBuilder = sourceTable_.toBuilder();
-            }
-            sourceTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sourceTable_);
-              sourceTable_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+              if (sourceTable_ != null) {
+                subBuilder = sourceTable_.toBuilder();
+              }
+              sourceTable_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sourceTable_);
+                sourceTable_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              actions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            actions_.add(
-                input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                actions_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              actions_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.Action.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         actions_ = java.util.Collections.unmodifiableList(actions_);
@@ -112,27 +135,33 @@ private RiskAnalysisJobConfig(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class,
+            com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
   }
 
   public static final int PRIVACY_METRIC_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.PrivacyMetric privacyMetric_;
   /**
+   *
+   *
    * 
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; + * * @return Whether the privacyMetric field is set. */ @java.lang.Override @@ -140,18 +169,25 @@ public boolean hasPrivacyMetric() { return privacyMetric_ != null; } /** + * + * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; + * * @return The privacyMetric. */ @java.lang.Override public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() { - return privacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : privacyMetric_; + return privacyMetric_ == null + ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() + : privacyMetric_; } /** + * + * *
    * Privacy metric to compute.
    * 
@@ -166,11 +202,14 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde public static final int SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.BigQueryTable sourceTable_; /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; + * * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -178,18 +217,25 @@ public boolean hasSourceTable() { return sourceTable_ != null; } /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; + * * @return The sourceTable. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() { - return sourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : sourceTable_; + return sourceTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : sourceTable_; } /** + * + * *
    * Input dataset to compute metrics over.
    * 
@@ -204,6 +250,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder( public static final int ACTIONS_FIELD_NUMBER = 3; private java.util.List actions_; /** + * + * *
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -216,6 +264,8 @@ public java.util.List getActionsList() {
     return actions_;
   }
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -224,11 +274,13 @@ public java.util.List getActionsList() {
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getActionsOrBuilderList() {
     return actions_;
   }
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -241,6 +293,8 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -253,6 +307,8 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
     return actions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -261,12 +317,12 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) {
     return actions_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -278,8 +334,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (privacyMetric_ != null) {
       output.writeMessage(1, getPrivacyMetric());
     }
@@ -299,16 +354,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (privacyMetric_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPrivacyMetric());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrivacyMetric());
     }
     if (sourceTable_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getSourceTable());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceTable());
     }
     for (int i = 0; i < actions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, actions_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, actions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -318,25 +370,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.privacy.dlp.v2.RiskAnalysisJobConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.RiskAnalysisJobConfig other = (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) obj;
+    com.google.privacy.dlp.v2.RiskAnalysisJobConfig other =
+        (com.google.privacy.dlp.v2.RiskAnalysisJobConfig) obj;
 
     if (hasPrivacyMetric() != other.hasPrivacyMetric()) return false;
     if (hasPrivacyMetric()) {
-      if (!getPrivacyMetric()
-          .equals(other.getPrivacyMetric())) return false;
+      if (!getPrivacyMetric().equals(other.getPrivacyMetric())) return false;
     }
     if (hasSourceTable() != other.hasSourceTable()) return false;
     if (hasSourceTable()) {
-      if (!getSourceTable()
-          .equals(other.getSourceTable())) return false;
+      if (!getSourceTable().equals(other.getSourceTable())) return false;
     }
-    if (!getActionsList()
-        .equals(other.getActionsList())) return false;
+    if (!getActionsList().equals(other.getActionsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -365,97 +415,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.RiskAnalysisJobConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for a risk analysis job. See
    * https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
@@ -463,21 +520,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.RiskAnalysisJobConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RiskAnalysisJobConfig)
       com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class, com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
+              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.class,
+              com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.RiskAnalysisJobConfig.newBuilder()
@@ -485,17 +544,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getActionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -521,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor;
     }
 
     @java.lang.Override
@@ -542,7 +601,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.RiskAnalysisJobConfig buildPartial() {
-      com.google.privacy.dlp.v2.RiskAnalysisJobConfig result = new com.google.privacy.dlp.v2.RiskAnalysisJobConfig(this);
+      com.google.privacy.dlp.v2.RiskAnalysisJobConfig result =
+          new com.google.privacy.dlp.v2.RiskAnalysisJobConfig(this);
       int from_bitField0_ = bitField0_;
       if (privacyMetricBuilder_ == null) {
         result.privacyMetric_ = privacyMetric_;
@@ -571,38 +631,39 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.RiskAnalysisJobConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.RiskAnalysisJobConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -610,7 +671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.RiskAnalysisJobConfig other) {
-      if (other == com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.RiskAnalysisJobConfig.getDefaultInstance())
+        return this;
       if (other.hasPrivacyMetric()) {
         mergePrivacyMetric(other.getPrivacyMetric());
       }
@@ -635,9 +697,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RiskAnalysisJobConfig other)
             actionsBuilder_ = null;
             actions_ = other.actions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            actionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getActionsFieldBuilder() : null;
+            actionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getActionsFieldBuilder()
+                    : null;
           } else {
             actionsBuilder_.addAllMessages(other.actions_);
           }
@@ -671,38 +734,52 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.PrivacyMetric privacyMetric_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> privacyMetricBuilder_;
+            com.google.privacy.dlp.v2.PrivacyMetric,
+            com.google.privacy.dlp.v2.PrivacyMetric.Builder,
+            com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>
+        privacyMetricBuilder_;
     /**
+     *
+     *
      * 
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; + * * @return Whether the privacyMetric field is set. */ public boolean hasPrivacyMetric() { return privacyMetricBuilder_ != null || privacyMetric_ != null; } /** + * + * *
      * Privacy metric to compute.
      * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; + * * @return The privacyMetric. */ public com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric() { if (privacyMetricBuilder_ == null) { - return privacyMetric_ == null ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : privacyMetric_; + return privacyMetric_ == null + ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() + : privacyMetric_; } else { return privacyMetricBuilder_.getMessage(); } } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -723,6 +800,8 @@ public Builder setPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) { return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -741,6 +820,8 @@ public Builder setPrivacyMetric( return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -751,7 +832,9 @@ public Builder mergePrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) if (privacyMetricBuilder_ == null) { if (privacyMetric_ != null) { privacyMetric_ = - com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(privacyMetric_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.PrivacyMetric.newBuilder(privacyMetric_) + .mergeFrom(value) + .buildPartial(); } else { privacyMetric_ = value; } @@ -763,6 +846,8 @@ public Builder mergePrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -781,6 +866,8 @@ public Builder clearPrivacyMetric() { return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -788,11 +875,13 @@ public Builder clearPrivacyMetric() { * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; */ public com.google.privacy.dlp.v2.PrivacyMetric.Builder getPrivacyMetricBuilder() { - + onChanged(); return getPrivacyMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -803,11 +892,14 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde if (privacyMetricBuilder_ != null) { return privacyMetricBuilder_.getMessageOrBuilder(); } else { - return privacyMetric_ == null ? - com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() : privacyMetric_; + return privacyMetric_ == null + ? com.google.privacy.dlp.v2.PrivacyMetric.getDefaultInstance() + : privacyMetric_; } } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -815,14 +907,17 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> + com.google.privacy.dlp.v2.PrivacyMetric, + com.google.privacy.dlp.v2.PrivacyMetric.Builder, + com.google.privacy.dlp.v2.PrivacyMetricOrBuilder> getPrivacyMetricFieldBuilder() { if (privacyMetricBuilder_ == null) { - privacyMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrivacyMetric, com.google.privacy.dlp.v2.PrivacyMetric.Builder, com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( - getPrivacyMetric(), - getParentForChildren(), - isClean()); + privacyMetricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrivacyMetric, + com.google.privacy.dlp.v2.PrivacyMetric.Builder, + com.google.privacy.dlp.v2.PrivacyMetricOrBuilder>( + getPrivacyMetric(), getParentForChildren(), isClean()); privacyMetric_ = null; } return privacyMetricBuilder_; @@ -830,34 +925,47 @@ public com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilde private com.google.privacy.dlp.v2.BigQueryTable sourceTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> sourceTableBuilder_; + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + sourceTableBuilder_; /** + * + * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; + * * @return Whether the sourceTable field is set. */ public boolean hasSourceTable() { return sourceTableBuilder_ != null || sourceTable_ != null; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; + * * @return The sourceTable. */ public com.google.privacy.dlp.v2.BigQueryTable getSourceTable() { if (sourceTableBuilder_ == null) { - return sourceTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : sourceTable_; + return sourceTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : sourceTable_; } else { return sourceTableBuilder_.getMessage(); } } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -878,14 +986,15 @@ public Builder setSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; */ - public Builder setSourceTable( - com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setSourceTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (sourceTableBuilder_ == null) { sourceTable_ = builderForValue.build(); onChanged(); @@ -896,6 +1005,8 @@ public Builder setSourceTable( return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -906,7 +1017,9 @@ public Builder mergeSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (sourceTableBuilder_ == null) { if (sourceTable_ != null) { sourceTable_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(sourceTable_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(sourceTable_) + .mergeFrom(value) + .buildPartial(); } else { sourceTable_ = value; } @@ -918,6 +1031,8 @@ public Builder mergeSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -936,6 +1051,8 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -943,11 +1060,13 @@ public Builder clearSourceTable() { * .google.privacy.dlp.v2.BigQueryTable source_table = 2; */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getSourceTableBuilder() { - + onChanged(); return getSourceTableFieldBuilder().getBuilder(); } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -958,11 +1077,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder( if (sourceTableBuilder_ != null) { return sourceTableBuilder_.getMessageOrBuilder(); } else { - return sourceTable_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : sourceTable_; + return sourceTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : sourceTable_; } } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -970,32 +1092,41 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder( * .google.privacy.dlp.v2.BigQueryTable source_table = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getSourceTableFieldBuilder() { if (sourceTableBuilder_ == null) { - sourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getSourceTable(), - getParentForChildren(), - isClean()); + sourceTableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getSourceTable(), getParentForChildren(), isClean()); sourceTable_ = null; } return sourceTableBuilder_; } private java.util.List actions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { actions_ = new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> actionsBuilder_; + com.google.privacy.dlp.v2.Action, + com.google.privacy.dlp.v2.Action.Builder, + com.google.privacy.dlp.v2.ActionOrBuilder> + actionsBuilder_; /** + * + * *
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1011,6 +1142,8 @@ public java.util.List getActionsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1026,6 +1159,8 @@ public int getActionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1041,6 +1176,8 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1048,8 +1185,7 @@ public com.google.privacy.dlp.v2.Action getActions(int index) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder setActions(
-        int index, com.google.privacy.dlp.v2.Action value) {
+    public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1063,6 +1199,8 @@ public Builder setActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1070,8 +1208,7 @@ public Builder setActions(
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder setActions(
-        int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
+    public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.set(index, builderForValue.build());
@@ -1082,6 +1219,8 @@ public Builder setActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1103,6 +1242,8 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1110,8 +1251,7 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder addActions(
-        int index, com.google.privacy.dlp.v2.Action value) {
+    public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1125,6 +1265,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1132,8 +1274,7 @@ public Builder addActions(
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder addActions(
-        com.google.privacy.dlp.v2.Action.Builder builderForValue) {
+    public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.add(builderForValue.build());
@@ -1144,6 +1285,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1151,8 +1294,7 @@ public Builder addActions(
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public Builder addActions(
-        int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
+    public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.add(index, builderForValue.build());
@@ -1163,6 +1305,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1174,8 +1318,7 @@ public Builder addAllActions(
         java.lang.Iterable values) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, actions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_);
         onChanged();
       } else {
         actionsBuilder_.addAllMessages(values);
@@ -1183,6 +1326,8 @@ public Builder addAllActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1201,6 +1346,8 @@ public Builder clearActions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1219,6 +1366,8 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1226,11 +1375,12 @@ public Builder removeActions(int index) {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(int index) {
       return getActionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1238,14 +1388,16 @@ public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) {
       if (actionsBuilder_ == null) {
-        return actions_.get(index);  } else {
+        return actions_.get(index);
+      } else {
         return actionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1253,8 +1405,8 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public java.util.List 
-         getActionsOrBuilderList() {
+    public java.util.List
+        getActionsOrBuilderList() {
       if (actionsBuilder_ != null) {
         return actionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1262,6 +1414,8 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1270,10 +1424,12 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
     public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() {
-      return getActionsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.Action.getDefaultInstance());
+      return getActionsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.Action.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1281,12 +1437,13 @@ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(
-        int index) {
-      return getActionsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.Action.getDefaultInstance());
+    public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(int index) {
+      return getActionsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.Action.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1294,27 +1451,29 @@ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(
      *
      * repeated .google.privacy.dlp.v2.Action actions = 3;
      */
-    public java.util.List 
-         getActionsBuilderList() {
+    public java.util.List getActionsBuilderList() {
       return getActionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder> 
+            com.google.privacy.dlp.v2.Action,
+            com.google.privacy.dlp.v2.Action.Builder,
+            com.google.privacy.dlp.v2.ActionOrBuilder>
         getActionsFieldBuilder() {
       if (actionsBuilder_ == null) {
-        actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Action, com.google.privacy.dlp.v2.Action.Builder, com.google.privacy.dlp.v2.ActionOrBuilder>(
-                actions_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        actionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.Action,
+                com.google.privacy.dlp.v2.Action.Builder,
+                com.google.privacy.dlp.v2.ActionOrBuilder>(
+                actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         actions_ = null;
       }
       return actionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1324,12 +1483,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RiskAnalysisJobConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RiskAnalysisJobConfig)
   private static final com.google.privacy.dlp.v2.RiskAnalysisJobConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RiskAnalysisJobConfig();
   }
@@ -1338,16 +1497,16 @@ public static com.google.privacy.dlp.v2.RiskAnalysisJobConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RiskAnalysisJobConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new RiskAnalysisJobConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RiskAnalysisJobConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new RiskAnalysisJobConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1362,6 +1521,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
similarity index 76%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
index c3f296ca..cbe48f18 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RiskAnalysisJobConfigOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface RiskAnalysisJobConfigOrBuilder extends
+public interface RiskAnalysisJobConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RiskAnalysisJobConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; + * * @return Whether the privacyMetric field is set. */ boolean hasPrivacyMetric(); /** + * + * *
    * Privacy metric to compute.
    * 
* * .google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; + * * @return The privacyMetric. */ com.google.privacy.dlp.v2.PrivacyMetric getPrivacyMetric(); /** + * + * *
    * Privacy metric to compute.
    * 
@@ -35,24 +59,32 @@ public interface RiskAnalysisJobConfigOrBuilder extends com.google.privacy.dlp.v2.PrivacyMetricOrBuilder getPrivacyMetricOrBuilder(); /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; + * * @return Whether the sourceTable field is set. */ boolean hasSourceTable(); /** + * + * *
    * Input dataset to compute metrics over.
    * 
* * .google.privacy.dlp.v2.BigQueryTable source_table = 2; + * * @return The sourceTable. */ com.google.privacy.dlp.v2.BigQueryTable getSourceTable(); /** + * + * *
    * Input dataset to compute metrics over.
    * 
@@ -62,6 +94,8 @@ public interface RiskAnalysisJobConfigOrBuilder extends com.google.privacy.dlp.v2.BigQueryTableOrBuilder getSourceTableOrBuilder(); /** + * + * *
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -69,9 +103,10 @@ public interface RiskAnalysisJobConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
-  java.util.List 
-      getActionsList();
+  java.util.List getActionsList();
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -81,6 +116,8 @@ public interface RiskAnalysisJobConfigOrBuilder extends
    */
   com.google.privacy.dlp.v2.Action getActions(int index);
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -90,6 +127,8 @@ public interface RiskAnalysisJobConfigOrBuilder extends
    */
   int getActionsCount();
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -97,9 +136,10 @@ public interface RiskAnalysisJobConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
-  java.util.List 
-      getActionsOrBuilderList();
+  java.util.List getActionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -107,6 +147,5 @@ public interface RiskAnalysisJobConfigOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Action actions = 3;
    */
-  com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
similarity index 73%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
index a9a32b2d..e753fad0 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Schedule for inspect job triggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Schedule} */ -public final class Schedule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Schedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Schedule) ScheduleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Schedule.newBuilder() to construct. private Schedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Schedule() { - } + + private Schedule() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Schedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Schedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,60 +68,65 @@ private Schedule( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (optionCase_ == 1) { - subBuilder = ((com.google.protobuf.Duration) option_).toBuilder(); - } - option_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) option_); - option_ = subBuilder.buildPartial(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (optionCase_ == 1) { + subBuilder = ((com.google.protobuf.Duration) option_).toBuilder(); + } + option_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) option_); + option_ = subBuilder.buildPartial(); + } + optionCase_ = 1; + break; } - optionCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Schedule.class, com.google.privacy.dlp.v2.Schedule.Builder.class); + com.google.privacy.dlp.v2.Schedule.class, + com.google.privacy.dlp.v2.Schedule.Builder.class); } private int optionCase_ = 0; private java.lang.Object option_; + public enum OptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RECURRENCE_PERIOD_DURATION(1), OPTION_NOT_SET(0); private final int value; + private OptionCase(int value) { this.value = value; } @@ -121,24 +142,28 @@ public static OptionCase valueOf(int value) { public static OptionCase forNumber(int value) { switch (value) { - case 1: return RECURRENCE_PERIOD_DURATION; - case 0: return OPTION_NOT_SET; - default: return null; + case 1: + return RECURRENCE_PERIOD_DURATION; + case 0: + return OPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OptionCase - getOptionCase() { - return OptionCase.forNumber( - optionCase_); + public OptionCase getOptionCase() { + return OptionCase.forNumber(optionCase_); } public static final int RECURRENCE_PERIOD_DURATION_FIELD_NUMBER = 1; /** + * + * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -149,6 +174,7 @@ public int getNumber() {
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -156,6 +182,8 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** + * + * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -166,16 +194,19 @@ public boolean hasRecurrencePeriodDuration() {
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return The recurrencePeriodDuration. */ @java.lang.Override public com.google.protobuf.Duration getRecurrencePeriodDuration() { if (optionCase_ == 1) { - return (com.google.protobuf.Duration) option_; + return (com.google.protobuf.Duration) option_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** + * + * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -190,12 +221,13 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilder() {
     if (optionCase_ == 1) {
-       return (com.google.protobuf.Duration) option_;
+      return (com.google.protobuf.Duration) option_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -207,8 +239,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (optionCase_ == 1) {
       output.writeMessage(1, (com.google.protobuf.Duration) option_);
     }
@@ -222,8 +253,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (optionCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.protobuf.Duration) option_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.protobuf.Duration) option_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -233,7 +265,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.privacy.dlp.v2.Schedule)) {
       return super.equals(obj);
@@ -243,8 +275,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOptionCase().equals(other.getOptionCase())) return false;
     switch (optionCase_) {
       case 1:
-        if (!getRecurrencePeriodDuration()
-            .equals(other.getRecurrencePeriodDuration())) return false;
+        if (!getRecurrencePeriodDuration().equals(other.getRecurrencePeriodDuration()))
+          return false;
         break;
       case 0:
       default:
@@ -273,118 +305,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.Schedule parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.privacy.dlp.v2.Schedule parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Schedule 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.privacy.dlp.v2.Schedule parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.Schedule parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.Schedule prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Schedule for inspect job triggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Schedule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Schedule) com.google.privacy.dlp.v2.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Schedule.class, com.google.privacy.dlp.v2.Schedule.Builder.class); + com.google.privacy.dlp.v2.Schedule.class, + com.google.privacy.dlp.v2.Schedule.Builder.class); } // Construct using com.google.privacy.dlp.v2.Schedule.newBuilder() @@ -392,16 +432,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Schedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Schedule_descriptor; } @java.lang.Override @@ -449,38 +488,39 @@ public com.google.privacy.dlp.v2.Schedule buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.Schedule) { - return mergeFrom((com.google.privacy.dlp.v2.Schedule)other); + return mergeFrom((com.google.privacy.dlp.v2.Schedule) other); } else { super.mergeFrom(other); return this; @@ -490,13 +530,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.Schedule other) { if (other == com.google.privacy.dlp.v2.Schedule.getDefaultInstance()) return this; switch (other.getOptionCase()) { - case RECURRENCE_PERIOD_DURATION: { - mergeRecurrencePeriodDuration(other.getRecurrencePeriodDuration()); - break; - } - case OPTION_NOT_SET: { - break; - } + case RECURRENCE_PERIOD_DURATION: + { + mergeRecurrencePeriodDuration(other.getRecurrencePeriodDuration()); + break; + } + case OPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -526,12 +568,12 @@ public Builder mergeFrom( } return this; } + private int optionCase_ = 0; private java.lang.Object option_; - public OptionCase - getOptionCase() { - return OptionCase.forNumber( - optionCase_); + + public OptionCase getOptionCase() { + return OptionCase.forNumber(optionCase_); } public Builder clearOption() { @@ -541,10 +583,14 @@ public Builder clearOption() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> recurrencePeriodDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + recurrencePeriodDurationBuilder_; /** + * + * *
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -555,6 +601,7 @@ public Builder clearOption() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -562,6 +609,8 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** + * + * *
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -572,6 +621,7 @@ public boolean hasRecurrencePeriodDuration() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return The recurrencePeriodDuration. */ @java.lang.Override @@ -589,6 +639,8 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() { } } /** + * + * *
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -614,6 +666,8 @@ public Builder setRecurrencePeriodDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -637,6 +691,8 @@ public Builder setRecurrencePeriodDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -650,10 +706,11 @@ public Builder setRecurrencePeriodDuration(
      */
     public Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value) {
       if (recurrencePeriodDurationBuilder_ == null) {
-        if (optionCase_ == 1 &&
-            option_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          option_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) option_)
-              .mergeFrom(value).buildPartial();
+        if (optionCase_ == 1 && option_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          option_ =
+              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) option_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           option_ = value;
         }
@@ -668,6 +725,8 @@ public Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value)
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -696,6 +755,8 @@ public Builder clearRecurrencePeriodDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -711,6 +772,8 @@ public com.google.protobuf.Duration.Builder getRecurrencePeriodDurationBuilder()
       return getRecurrencePeriodDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -734,6 +797,8 @@ public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * With this option a job is started a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -746,26 +811,30 @@ public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilde
      * .google.protobuf.Duration recurrence_period_duration = 1;
      */
     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>
         getRecurrencePeriodDurationFieldBuilder() {
       if (recurrencePeriodDurationBuilder_ == null) {
         if (!(optionCase_ == 1)) {
           option_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        recurrencePeriodDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) option_,
-                getParentForChildren(),
-                isClean());
+        recurrencePeriodDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) option_, getParentForChildren(), isClean());
         option_ = null;
       }
       optionCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return recurrencePeriodDurationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -775,12 +844,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Schedule)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Schedule)
   private static final com.google.privacy.dlp.v2.Schedule DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Schedule();
   }
@@ -789,16 +858,16 @@ public static com.google.privacy.dlp.v2.Schedule getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Schedule parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Schedule(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Schedule parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Schedule(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -813,6 +882,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.Schedule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
index 131eb9a0..29d27eb9 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ScheduleOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface ScheduleOrBuilder extends
+public interface ScheduleOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Schedule)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -18,10 +36,13 @@ public interface ScheduleOrBuilder extends
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return Whether the recurrencePeriodDuration field is set. */ boolean hasRecurrencePeriodDuration(); /** + * + * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -32,10 +53,13 @@ public interface ScheduleOrBuilder extends
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return The recurrencePeriodDuration. */ com.google.protobuf.Duration getRecurrencePeriodDuration(); /** + * + * *
    * With this option a job is started a regular periodic basis. For
    * example: every day (86400 seconds).
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
similarity index 65%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
index 42429cb9..df7d8a3f 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * An auxiliary table containing statistical information on the relative
  * frequency of different quasi-identifiers values. It has one or several
@@ -16,31 +33,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable}
  */
-public final class StatisticalTable extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StatisticalTable extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StatisticalTable)
     StatisticalTableOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StatisticalTable.newBuilder() to construct.
   private StatisticalTable(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StatisticalTable() {
     quasiIds_ = 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 StatisticalTable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StatisticalTable(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,55 +77,64 @@ private StatisticalTable(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              quasiIds_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            quasiIds_.add(
-                input.readMessage(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-            if (relativeFrequency_ != null) {
-              subBuilder = relativeFrequency_.toBuilder();
-            }
-            relativeFrequency_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(relativeFrequency_);
-              relativeFrequency_ = subBuilder.buildPartial();
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                quasiIds_ =
+                    new java.util.ArrayList<
+                        com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              quasiIds_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (relativeFrequency_ != null) {
+                subBuilder = relativeFrequency_.toBuilder();
+              }
+              relativeFrequency_ =
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relativeFrequency_);
+                relativeFrequency_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-            if (table_ != null) {
-              subBuilder = table_.toBuilder();
-            }
-            table_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(table_);
-              table_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+              if (table_ != null) {
+                subBuilder = table_.toBuilder();
+              }
+              table_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(table_);
+                table_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         quasiIds_ = java.util.Collections.unmodifiableList(quasiIds_);
@@ -117,42 +143,54 @@ private StatisticalTable(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StatisticalTable.class, com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
+            com.google.privacy.dlp.v2.StatisticalTable.class,
+            com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
   }
 
-  public interface QuasiIdentifierFieldOrBuilder extends
+  public interface QuasiIdentifierFieldOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
      * Identifies the column.
      * 
@@ -162,6 +200,8 @@ public interface QuasiIdentifierFieldOrBuilder extends com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -169,10 +209,13 @@ public interface QuasiIdentifierFieldOrBuilder extends
      * 
* * string custom_tag = 2; + * * @return The customTag. */ java.lang.String getCustomTag(); /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -180,12 +223,14 @@ public interface QuasiIdentifierFieldOrBuilder extends
      * 
* * string custom_tag = 2; + * * @return The bytes for customTag. */ - com.google.protobuf.ByteString - getCustomTagBytes(); + com.google.protobuf.ByteString getCustomTagBytes(); } /** + * + * *
    * A quasi-identifier column has a custom_tag, used to know which column
    * in the data corresponds to which column in the statistical model.
@@ -193,31 +238,31 @@ public interface QuasiIdentifierFieldOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField}
    */
-  public static final class QuasiIdentifierField extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuasiIdentifierField extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
       QuasiIdentifierFieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuasiIdentifierField.newBuilder() to construct.
     private QuasiIdentifierField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private QuasiIdentifierField() {
       customTag_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuasiIdentifierField();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private QuasiIdentifierField(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -236,65 +281,74 @@ private QuasiIdentifierField(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (field_ != null) {
-                subBuilder = field_.toBuilder();
-              }
-              field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(field_);
-                field_ = subBuilder.buildPartial();
+            case 10:
+              {
+                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                if (field_ != null) {
+                  subBuilder = field_.toBuilder();
+                }
+                field_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(field_);
+                  field_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              customTag_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                customTag_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
+              com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class,
+              com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
     }
 
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.FieldId field_;
     /**
+     *
+     *
      * 
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -302,11 +356,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -314,6 +371,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
      * Identifies the column.
      * 
@@ -328,6 +387,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int CUSTOM_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object customTag_; /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -335,6 +396,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
      * 
* * string custom_tag = 2; + * * @return The customTag. */ @java.lang.Override @@ -343,14 +405,15 @@ public java.lang.String getCustomTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; } } /** + * + * *
      * A column can be tagged with a custom tag. In this case, the user must
      * indicate an auxiliary table that contains statistical information on
@@ -358,16 +421,15 @@ public java.lang.String getCustomTag() {
      * 
* * string custom_tag = 2; + * * @return The bytes for customTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customTag_ = b; return b; } else { @@ -376,6 +438,7 @@ public java.lang.String getCustomTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,8 +450,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } @@ -405,8 +467,7 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, customTag_); @@ -419,20 +480,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.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other = (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) obj; + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other = + (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } - if (!getCustomTag() - .equals(other.getCustomTag())) return false; + if (!getCustomTag().equals(other.getCustomTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -456,87 +516,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -546,6 +614,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A quasi-identifier column has a custom_tag, used to know which column
      * in the data corresponds to which column in the statistical model.
@@ -553,38 +623,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
         com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
+                com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.class,
+                com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder.class);
       }
 
-      // Construct using com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.newBuilder()
+      // Construct using
+      // com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -600,13 +673,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_StatisticalTable_QuasiIdentifierField_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField
+          getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance();
       }
 
@@ -621,7 +695,8 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField buildPartial() {
-        com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField result = new com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField(this);
+        com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField result =
+            new com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField(this);
         if (fieldBuilder_ == null) {
           result.field_ = field_;
         } else {
@@ -636,46 +711,52 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField buildPart
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) {
-          return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)other);
+          return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other) {
-        if (other == com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField other) {
+        if (other
+            == com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance())
+          return this;
         if (other.hasField()) {
           mergeField(other.getField());
         }
@@ -702,7 +783,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -714,24 +797,33 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.FieldId field_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_;
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          fieldBuilder_;
       /**
+       *
+       *
        * 
        * Identifies the column.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
        * Identifies the column.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -742,6 +834,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
        * Identifies the column.
        * 
@@ -762,14 +856,15 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Identifies the column.
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -780,6 +875,8 @@ public Builder setField( return this; } /** + * + * *
        * Identifies the column.
        * 
@@ -790,7 +887,9 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); } else { field_ = value; } @@ -802,6 +901,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Identifies the column.
        * 
@@ -820,6 +921,8 @@ public Builder clearField() { return this; } /** + * + * *
        * Identifies the column.
        * 
@@ -827,11 +930,13 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * Identifies the column.
        * 
@@ -842,11 +947,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
        * Identifies the column.
        * 
@@ -854,14 +960,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -869,6 +978,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private java.lang.Object customTag_ = ""; /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -876,13 +987,13 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
        * 
* * string custom_tag = 2; + * * @return The customTag. */ public java.lang.String getCustomTag() { java.lang.Object ref = customTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customTag_ = s; return s; @@ -891,6 +1002,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -898,15 +1011,14 @@ public java.lang.String getCustomTag() {
        * 
* * string custom_tag = 2; + * * @return The bytes for customTag. */ - public com.google.protobuf.ByteString - getCustomTagBytes() { + public com.google.protobuf.ByteString getCustomTagBytes() { java.lang.Object ref = customTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customTag_ = b; return b; } else { @@ -914,6 +1026,8 @@ public java.lang.String getCustomTag() { } } /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -921,20 +1035,22 @@ public java.lang.String getCustomTag() {
        * 
* * string custom_tag = 2; + * * @param value The customTag to set. * @return This builder for chaining. */ - public Builder setCustomTag( - java.lang.String value) { + public Builder setCustomTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customTag_ = value; onChanged(); return this; } /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -942,15 +1058,18 @@ public Builder setCustomTag(
        * 
* * string custom_tag = 2; + * * @return This builder for chaining. */ public Builder clearCustomTag() { - + customTag_ = getDefaultInstance().getCustomTag(); onChanged(); return this; } /** + * + * *
        * A column can be tagged with a custom tag. In this case, the user must
        * indicate an auxiliary table that contains statistical information on
@@ -958,20 +1077,21 @@ public Builder clearCustomTag() {
        * 
* * string custom_tag = 2; + * * @param value The bytes for customTag to set. * @return This builder for chaining. */ - public Builder setCustomTagBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customTag_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -984,30 +1104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField) - private static final com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField(); } - public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getDefaultInstance() { + public static com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuasiIdentifierField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuasiIdentifierField(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuasiIdentifierField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuasiIdentifierField(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1019,20 +1141,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TABLE_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.BigQueryTable table_; /** + * + * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ @java.lang.Override @@ -1040,11 +1166,15 @@ public boolean hasTable() { return table_ != null; } /** + * + * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ @java.lang.Override @@ -1052,11 +1182,14 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; } /** + * + * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { @@ -1066,72 +1199,99 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { public static final int QUASI_IDS_FIELD_NUMBER = 1; private java.util.List quasiIds_; /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getQuasiIdsList() { + public java.util.List + getQuasiIdsList() { return quasiIds_; } /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> getQuasiIdsOrBuilderList() { return quasiIds_; } /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getQuasiIdsCount() { return quasiIds_.size(); } /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index) { return quasiIds_.get(index); } /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder + getQuasiIdsOrBuilder(int index) { return quasiIds_.get(index); } public static final int RELATIVE_FREQUENCY_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId relativeFrequency_; /** + * + * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the relativeFrequency field is set. */ @java.lang.Override @@ -1139,25 +1299,36 @@ public boolean hasRelativeFrequency() { return relativeFrequency_ != null; } /** + * + * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The relativeFrequency. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { - return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; + return relativeFrequency_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : relativeFrequency_; } /** + * + * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { @@ -1165,6 +1336,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1176,8 +1348,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -1197,16 +1368,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < quasiIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, quasiIds_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quasiIds_.get(i)); } if (relativeFrequency_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRelativeFrequency()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRelativeFrequency()); } if (table_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTable()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1216,24 +1384,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.privacy.dlp.v2.StatisticalTable)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StatisticalTable other = (com.google.privacy.dlp.v2.StatisticalTable) obj; + com.google.privacy.dlp.v2.StatisticalTable other = + (com.google.privacy.dlp.v2.StatisticalTable) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; } - if (!getQuasiIdsList() - .equals(other.getQuasiIdsList())) return false; + if (!getQuasiIdsList().equals(other.getQuasiIdsList())) return false; if (hasRelativeFrequency() != other.hasRelativeFrequency()) return false; if (hasRelativeFrequency()) { - if (!getRelativeFrequency() - .equals(other.getRelativeFrequency())) return false; + if (!getRelativeFrequency().equals(other.getRelativeFrequency())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1263,97 +1429,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StatisticalTable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StatisticalTable parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StatisticalTable parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StatisticalTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.StatisticalTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 auxiliary table containing statistical information on the relative
    * frequency of different quasi-identifiers values. It has one or several
@@ -1366,21 +1539,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.StatisticalTable}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StatisticalTable)
       com.google.privacy.dlp.v2.StatisticalTableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StatisticalTable.class, com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
+              com.google.privacy.dlp.v2.StatisticalTable.class,
+              com.google.privacy.dlp.v2.StatisticalTable.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StatisticalTable.newBuilder()
@@ -1388,17 +1563,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getQuasiIdsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1424,9 +1599,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor;
     }
 
     @java.lang.Override
@@ -1445,7 +1620,8 @@ public com.google.privacy.dlp.v2.StatisticalTable build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StatisticalTable buildPartial() {
-      com.google.privacy.dlp.v2.StatisticalTable result = new com.google.privacy.dlp.v2.StatisticalTable(this);
+      com.google.privacy.dlp.v2.StatisticalTable result =
+          new com.google.privacy.dlp.v2.StatisticalTable(this);
       int from_bitField0_ = bitField0_;
       if (tableBuilder_ == null) {
         result.table_ = table_;
@@ -1474,38 +1650,39 @@ public com.google.privacy.dlp.v2.StatisticalTable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StatisticalTable) {
-        return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable)other);
+        return mergeFrom((com.google.privacy.dlp.v2.StatisticalTable) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1535,9 +1712,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StatisticalTable other) {
             quasiIdsBuilder_ = null;
             quasiIds_ = other.quasiIds_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            quasiIdsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getQuasiIdsFieldBuilder() : null;
+            quasiIdsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getQuasiIdsFieldBuilder()
+                    : null;
           } else {
             quasiIdsBuilder_.addAllMessages(other.quasiIds_);
           }
@@ -1574,43 +1752,63 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.BigQueryTable table_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> tableBuilder_;
+            com.google.privacy.dlp.v2.BigQueryTable,
+            com.google.privacy.dlp.v2.BigQueryTable.Builder,
+            com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
+        tableBuilder_;
     /**
+     *
+     *
      * 
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ public com.google.privacy.dlp.v2.BigQueryTable getTable() { if (tableBuilder_ == null) { - return table_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } else { return tableBuilder_.getMessage(); } } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { @@ -1626,14 +1824,17 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTable( - com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); @@ -1644,17 +1845,23 @@ public Builder setTable( return this; } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = - com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.BigQueryTable.newBuilder(table_) + .mergeFrom(value) + .buildPartial(); } else { table_ = value; } @@ -1666,11 +1873,15 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTable() { if (tableBuilder_ == null) { @@ -1684,73 +1895,100 @@ public Builder clearTable() { return this; } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { - + onChanged(); return getTableFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? - com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : table_; + return table_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : table_; } } /** + * + * *
      * Required. Auxiliary table location.
      * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( - getTable(), - getParentForChildren(), - isClean()); + tableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryTable, + com.google.privacy.dlp.v2.BigQueryTable.Builder, + com.google.privacy.dlp.v2.BigQueryTableOrBuilder>( + getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } - private java.util.List quasiIds_ = - java.util.Collections.emptyList(); + private java.util.List + quasiIds_ = java.util.Collections.emptyList(); + private void ensureQuasiIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - quasiIds_ = new java.util.ArrayList(quasiIds_); + quasiIds_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>(quasiIds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> quasiIdsBuilder_; + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> + quasiIdsBuilder_; /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getQuasiIdsList() { + public java.util.List + getQuasiIdsList() { if (quasiIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(quasiIds_); } else { @@ -1758,11 +1996,15 @@ public java.util.List * Required. Quasi-identifier columns. *
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getQuasiIdsCount() { if (quasiIdsBuilder_ == null) { @@ -1772,11 +2014,15 @@ public int getQuasiIdsCount() { } } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -1786,11 +2032,15 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiI } } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { @@ -1807,14 +2057,19 @@ public Builder setQuasiIds( return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQuasiIds( - int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.set(index, builderForValue.build()); @@ -1825,13 +2080,18 @@ public Builder setQuasiIds( return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addQuasiIds(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { + public Builder addQuasiIds( + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { if (quasiIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1845,11 +2105,15 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.StatisticalTable.QuasiIdent return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField value) { @@ -1866,11 +2130,15 @@ public Builder addQuasiIds( return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { @@ -1884,14 +2152,19 @@ public Builder addQuasiIds( return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addQuasiIds( - int index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder builderForValue) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); quasiIds_.add(index, builderForValue.build()); @@ -1902,18 +2175,23 @@ public Builder addQuasiIds( return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllQuasiIds( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField> + values) { if (quasiIdsBuilder_ == null) { ensureQuasiIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, quasiIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, quasiIds_); onChanged(); } else { quasiIdsBuilder_.addAllMessages(values); @@ -1921,11 +2199,15 @@ public Builder addAllQuasiIds( return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQuasiIds() { if (quasiIdsBuilder_ == null) { @@ -1938,11 +2220,15 @@ public Builder clearQuasiIds() { return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeQuasiIds(int index) { if (quasiIdsBuilder_ == null) { @@ -1955,39 +2241,53 @@ public Builder removeQuasiIds(int index) { return this; } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder getQuasiIdsBuilder( - int index) { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder + getQuasiIdsBuilder(int index) { return getQuasiIdsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder + getQuasiIdsOrBuilder(int index) { if (quasiIdsBuilder_ == null) { - return quasiIds_.get(index); } else { + return quasiIds_.get(index); + } else { return quasiIdsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsOrBuilderList() { + public java.util.List< + ? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> + getQuasiIdsOrBuilderList() { if (quasiIdsBuilder_ != null) { return quasiIdsBuilder_.getMessageOrBuilderList(); } else { @@ -1995,49 +2295,68 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder } } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder addQuasiIdsBuilder() { - return getQuasiIdsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder + addQuasiIdsBuilder() { + return getQuasiIdsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder addQuasiIdsBuilder( - int index) { - return getQuasiIdsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); + public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder + addQuasiIdsBuilder(int index) { + return getQuasiIdsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.getDefaultInstance()); } /** + * + * *
      * Required. Quasi-identifier columns.
      * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getQuasiIdsBuilderList() { + public java.util.List + getQuasiIdsBuilderList() { return getQuasiIdsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder> getQuasiIdsFieldBuilder() { if (quasiIdsBuilder_ == null) { - quasiIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>( - quasiIds_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + quasiIdsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder, + com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>( + quasiIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); quasiIds_ = null; } return quasiIdsBuilder_; @@ -2045,42 +2364,61 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.Builder a private com.google.privacy.dlp.v2.FieldId relativeFrequency_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> relativeFrequencyBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + relativeFrequencyBuilder_; /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the relativeFrequency field is set. */ public boolean hasRelativeFrequency() { return relativeFrequencyBuilder_ != null || relativeFrequency_ != null; } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The relativeFrequency. */ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { - return relativeFrequency_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; + return relativeFrequency_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : relativeFrequency_; } else { return relativeFrequencyBuilder_.getMessage(); } } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { @@ -2096,15 +2434,18 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRelativeFrequency( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (relativeFrequencyBuilder_ == null) { relativeFrequency_ = builderForValue.build(); onChanged(); @@ -2115,18 +2456,24 @@ public Builder setRelativeFrequency( return this; } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { if (relativeFrequencyBuilder_ == null) { if (relativeFrequency_ != null) { relativeFrequency_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(relativeFrequency_) + .mergeFrom(value) + .buildPartial(); } else { relativeFrequency_ = value; } @@ -2138,12 +2485,16 @@ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRelativeFrequency() { if (relativeFrequencyBuilder_ == null) { @@ -2157,58 +2508,74 @@ public Builder clearRelativeFrequency() { return this; } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldId.Builder getRelativeFrequencyBuilder() { - + onChanged(); return getRelativeFrequencyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder() { if (relativeFrequencyBuilder_ != null) { return relativeFrequencyBuilder_.getMessageOrBuilder(); } else { - return relativeFrequency_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : relativeFrequency_; + return relativeFrequency_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : relativeFrequency_; } } /** + * + * *
      * Required. The relative frequency column must contain a floating-point number
      * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getRelativeFrequencyFieldBuilder() { if (relativeFrequencyBuilder_ == null) { - relativeFrequencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getRelativeFrequency(), - getParentForChildren(), - isClean()); + relativeFrequencyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getRelativeFrequency(), getParentForChildren(), isClean()); relativeFrequency_ = null; } return relativeFrequencyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2218,12 +2585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StatisticalTable) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StatisticalTable) private static final com.google.privacy.dlp.v2.StatisticalTable DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StatisticalTable(); } @@ -2232,16 +2599,16 @@ public static com.google.privacy.dlp.v2.StatisticalTable getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatisticalTable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StatisticalTable(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatisticalTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatisticalTable(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2256,6 +2623,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StatisticalTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java similarity index 54% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java index 36a59a94..241449da 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java @@ -1,110 +1,170 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StatisticalTableOrBuilder extends +public interface StatisticalTableOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StatisticalTable) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** + * + * *
    * Required. Auxiliary table location.
    * 
* - * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getQuasiIdsList(); + java.util.List getQuasiIdsList(); /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiIds(int index); /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getQuasiIdsCount(); /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getQuasiIdsOrBuilderList(); /** + * + * *
    * Required. Quasi-identifier columns.
    * 
* - * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder( int index); /** + * + * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the relativeFrequency field is set. */ boolean hasRelativeFrequency(); /** + * + * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The relativeFrequency. */ com.google.privacy.dlp.v2.FieldId getRelativeFrequency(); /** + * + * *
    * Required. The relative frequency column must contain a floating-point number
    * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* - * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java index 3c497fa8..6dc71af0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Shared message indicating Cloud storage type.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageConfig} */ -public final class StorageConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StorageConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageConfig) StorageConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StorageConfig.newBuilder() to construct. private StorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StorageConfig() { - } + + private StorageConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,132 +68,155 @@ private StorageConfig( case 0: done = true; break; - case 18: { - com.google.privacy.dlp.v2.DatastoreOptions.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DatastoreOptions) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.DatastoreOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; - } - case 26: { - com.google.privacy.dlp.v2.CloudStorageOptions.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((com.google.privacy.dlp.v2.CloudStorageOptions) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.CloudStorageOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; - } - case 34: { - com.google.privacy.dlp.v2.BigQueryOptions.Builder subBuilder = null; - if (typeCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.BigQueryOptions) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.privacy.dlp.v2.BigQueryOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions) type_); - type_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.DatastoreOptions.Builder subBuilder = null; + if (typeCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DatastoreOptions) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.DatastoreOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DatastoreOptions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 2; + break; } - typeCase_ = 4; - break; - } - case 50: { - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder subBuilder = null; - if (timespanConfig_ != null) { - subBuilder = timespanConfig_.toBuilder(); + case 26: + { + com.google.privacy.dlp.v2.CloudStorageOptions.Builder subBuilder = null; + if (typeCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.CloudStorageOptions) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.CloudStorageOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.CloudStorageOptions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 3; + break; } - timespanConfig_ = input.readMessage(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timespanConfig_); - timespanConfig_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.BigQueryOptions.Builder subBuilder = null; + if (typeCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.BigQueryOptions) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.BigQueryOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.BigQueryOptions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 4; + break; } + case 50: + { + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder subBuilder = null; + if (timespanConfig_ != null) { + subBuilder = timespanConfig_.toBuilder(); + } + timespanConfig_ = + input.readMessage( + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timespanConfig_); + timespanConfig_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - com.google.privacy.dlp.v2.HybridOptions.Builder subBuilder = null; - if (typeCase_ == 9) { - subBuilder = ((com.google.privacy.dlp.v2.HybridOptions) type_).toBuilder(); + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.HybridOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.HybridOptions) type_); - type_ = subBuilder.buildPartial(); + case 74: + { + com.google.privacy.dlp.v2.HybridOptions.Builder subBuilder = null; + if (typeCase_ == 9) { + subBuilder = ((com.google.privacy.dlp.v2.HybridOptions) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.HybridOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.HybridOptions) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 9; + break; } - typeCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageConfig.class, com.google.privacy.dlp.v2.StorageConfig.Builder.class); + com.google.privacy.dlp.v2.StorageConfig.class, + com.google.privacy.dlp.v2.StorageConfig.Builder.class); } - public interface TimespanConfigOrBuilder extends + public interface TimespanConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageConfig.TimespanConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
@@ -188,26 +227,34 @@ public interface TimespanConfigOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
     /**
+     *
+     *
      * 
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
@@ -218,6 +265,8 @@ public interface TimespanConfigOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
     /**
+     *
+     *
      * 
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -237,10 +286,13 @@ public interface TimespanConfigOrBuilder extends
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; + * * @return Whether the timestampField field is set. */ boolean hasTimestampField(); /** + * + * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -260,10 +312,13 @@ public interface TimespanConfigOrBuilder extends
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; + * * @return The timestampField. */ com.google.privacy.dlp.v2.FieldId getTimestampField(); /** + * + * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -287,6 +342,8 @@ public interface TimespanConfigOrBuilder extends
     com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder();
 
     /**
+     *
+     *
      * 
      * When the job is started by a JobTrigger we will automatically figure out
      * a valid start_time to avoid scanning files that have not been modified
@@ -295,11 +352,14 @@ public interface TimespanConfigOrBuilder extends
      * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @return The enableAutoPopulationOfTimespanConfig. */ boolean getEnableAutoPopulationOfTimespanConfig(); } /** + * + * *
    * Configuration of the timespan of the items to include in scanning.
    * Currently only supported when inspecting Google Cloud Storage and BigQuery.
@@ -307,30 +367,29 @@ public interface TimespanConfigOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.StorageConfig.TimespanConfig}
    */
-  public static final class TimespanConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TimespanConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageConfig.TimespanConfig)
       TimespanConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TimespanConfig.newBuilder() to construct.
     private TimespanConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private TimespanConfig() {
-    }
+
+    private TimespanConfig() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TimespanConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private TimespanConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -349,91 +408,103 @@ private TimespanConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            case 18: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
+            case 10:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (startTime_ != null) {
+                  subBuilder = startTime_.toBuilder();
+                }
+                startTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(startTime_);
+                  startTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
+            case 18:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (endTime_ != null) {
+                  subBuilder = endTime_.toBuilder();
+                }
+                endTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(endTime_);
+                  endTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            case 26: {
-              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-              if (timestampField_ != null) {
-                subBuilder = timestampField_.toBuilder();
+            case 26:
+              {
+                com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+                if (timestampField_ != null) {
+                  subBuilder = timestampField_.toBuilder();
+                }
+                timestampField_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(timestampField_);
+                  timestampField_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              timestampField_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timestampField_);
-                timestampField_ = subBuilder.buildPartial();
+            case 32:
+              {
+                enableAutoPopulationOfTimespanConfig_ = input.readBool();
+                break;
               }
-
-              break;
-            }
-            case 32: {
-
-              enableAutoPopulationOfTimespanConfig_ = input.readBool();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
+              com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class,
+              com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
     }
 
     public static final int START_TIME_FIELD_NUMBER = 1;
     private com.google.protobuf.Timestamp startTime_;
     /**
+     *
+     *
      * 
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -441,12 +512,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -454,6 +528,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Exclude files, tables, or rows older than this value.
      * If not set, no lower time limit is applied.
@@ -469,12 +545,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     public static final int END_TIME_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp endTime_;
     /**
+     *
+     *
      * 
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -482,12 +561,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -495,6 +577,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * Exclude files, tables, or rows newer than this value.
      * If not set, no upper time limit is applied.
@@ -510,6 +594,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
     public static final int TIMESTAMP_FIELD_FIELD_NUMBER = 3;
     private com.google.privacy.dlp.v2.FieldId timestampField_;
     /**
+     *
+     *
      * 
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -529,6 +615,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; + * * @return Whether the timestampField field is set. */ @java.lang.Override @@ -536,6 +623,8 @@ public boolean hasTimestampField() { return timestampField_ != null; } /** + * + * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -555,13 +644,18 @@ public boolean hasTimestampField() {
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; + * * @return The timestampField. */ @java.lang.Override public com.google.privacy.dlp.v2.FieldId getTimestampField() { - return timestampField_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : timestampField_; + return timestampField_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : timestampField_; } /** + * + * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
@@ -590,6 +684,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
     public static final int ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER = 4;
     private boolean enableAutoPopulationOfTimespanConfig_;
     /**
+     *
+     *
      * 
      * When the job is started by a JobTrigger we will automatically figure out
      * a valid start_time to avoid scanning files that have not been modified
@@ -598,6 +694,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
      * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -606,6 +703,7 @@ public boolean getEnableAutoPopulationOfTimespanConfig() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,8 +715,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -641,20 +738,18 @@ 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()); } if (timestampField_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTimestampField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimestampField()); } if (enableAutoPopulationOfTimespanConfig_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, enableAutoPopulationOfTimespanConfig_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, enableAutoPopulationOfTimespanConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -664,27 +759,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.privacy.dlp.v2.StorageConfig.TimespanConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig other = (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) obj; + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig other = + (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) 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 (hasTimestampField() != other.hasTimestampField()) return false; if (hasTimestampField()) { - if (!getTimestampField() - .equals(other.getTimestampField())) return false; + if (!getTimestampField().equals(other.getTimestampField())) return false; } if (getEnableAutoPopulationOfTimespanConfig() != other.getEnableAutoPopulationOfTimespanConfig()) return false; @@ -712,95 +805,103 @@ public int hashCode() { hash = (53 * hash) + getTimestampField().hashCode(); } hash = (37 * hash) + ENABLE_AUTO_POPULATION_OF_TIMESPAN_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableAutoPopulationOfTimespanConfig()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getEnableAutoPopulationOfTimespanConfig()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -810,6 +911,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of the timespan of the items to include in scanning.
      * Currently only supported when inspecting Google Cloud Storage and BigQuery.
@@ -817,21 +920,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.StorageConfig.TimespanConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageConfig.TimespanConfig)
         com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
+                com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.class,
+                com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.newBuilder()
@@ -839,16 +945,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -876,9 +981,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpStorage
+            .internal_static_google_privacy_dlp_v2_StorageConfig_TimespanConfig_descriptor;
       }
 
       @java.lang.Override
@@ -897,7 +1002,8 @@ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig buildPartial() {
-        com.google.privacy.dlp.v2.StorageConfig.TimespanConfig result = new com.google.privacy.dlp.v2.StorageConfig.TimespanConfig(this);
+        com.google.privacy.dlp.v2.StorageConfig.TimespanConfig result =
+            new com.google.privacy.dlp.v2.StorageConfig.TimespanConfig(this);
         if (startTimeBuilder_ == null) {
           result.startTime_ = startTime_;
         } else {
@@ -922,38 +1028,41 @@ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.StorageConfig.TimespanConfig) {
-          return mergeFrom((com.google.privacy.dlp.v2.StorageConfig.TimespanConfig)other);
+          return mergeFrom((com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -961,7 +1070,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig other) {
-        if (other == com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance())
+          return this;
         if (other.hasStartTime()) {
           mergeStartTime(other.getStartTime());
         }
@@ -993,7 +1103,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.StorageConfig.TimespanConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1005,36 +1116,49 @@ public Builder mergeFrom(
 
       private com.google.protobuf.Timestamp startTime_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          startTimeBuilder_;
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
        * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1056,6 +1180,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1063,8 +1189,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp start_time = 1;
        */
-      public Builder setStartTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (startTimeBuilder_ == null) {
           startTime_ = builderForValue.build();
           onChanged();
@@ -1075,6 +1200,8 @@ public Builder setStartTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1086,7 +1213,9 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         if (startTimeBuilder_ == null) {
           if (startTime_ != null) {
             startTime_ =
-              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Timestamp.newBuilder(startTime_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             startTime_ = value;
           }
@@ -1098,6 +1227,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1117,6 +1248,8 @@ public Builder clearStartTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1125,11 +1258,13 @@ public Builder clearStartTime() {
        * .google.protobuf.Timestamp start_time = 1;
        */
       public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-        
+
         onChanged();
         return getStartTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1141,11 +1276,14 @@ 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_;
         }
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1154,14 +1292,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_;
@@ -1169,26 +1310,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_;
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
        * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
        * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1199,6 +1349,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1220,6 +1372,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1227,8 +1381,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp end_time = 2;
        */
-      public Builder setEndTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (endTimeBuilder_ == null) {
           endTime_ = builderForValue.build();
           onChanged();
@@ -1239,6 +1392,8 @@ public Builder setEndTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1250,7 +1405,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         if (endTimeBuilder_ == null) {
           if (endTime_ != null) {
             endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
           } else {
             endTime_ = value;
           }
@@ -1262,6 +1417,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1281,6 +1438,8 @@ public Builder clearEndTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1289,11 +1448,13 @@ public Builder clearEndTime() {
        * .google.protobuf.Timestamp end_time = 2;
        */
       public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-        
+
         onChanged();
         return getEndTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1305,11 +1466,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_;
         }
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1318,14 +1480,17 @@ 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_;
@@ -1333,8 +1498,13 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
       private com.google.privacy.dlp.v2.FieldId timestampField_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> timestampFieldBuilder_;
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
+          timestampFieldBuilder_;
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1354,12 +1524,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; + * * @return Whether the timestampField field is set. */ public boolean hasTimestampField() { return timestampFieldBuilder_ != null || timestampField_ != null; } /** + * + * *
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1379,16 +1552,21 @@ public boolean hasTimestampField() {
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; + * * @return The timestampField. */ public com.google.privacy.dlp.v2.FieldId getTimestampField() { if (timestampFieldBuilder_ == null) { - return timestampField_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : timestampField_; + return timestampField_ == null + ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() + : timestampField_; } else { return timestampFieldBuilder_.getMessage(); } } /** + * + * *
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1423,6 +1601,8 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1443,8 +1623,7 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId value) {
        *
        * .google.privacy.dlp.v2.FieldId timestamp_field = 3;
        */
-      public Builder setTimestampField(
-          com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+      public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
         if (timestampFieldBuilder_ == null) {
           timestampField_ = builderForValue.build();
           onChanged();
@@ -1455,6 +1634,8 @@ public Builder setTimestampField(
         return this;
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1479,7 +1660,9 @@ public Builder mergeTimestampField(com.google.privacy.dlp.v2.FieldId value) {
         if (timestampFieldBuilder_ == null) {
           if (timestampField_ != null) {
             timestampField_ =
-              com.google.privacy.dlp.v2.FieldId.newBuilder(timestampField_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.FieldId.newBuilder(timestampField_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             timestampField_ = value;
           }
@@ -1491,6 +1674,8 @@ public Builder mergeTimestampField(com.google.privacy.dlp.v2.FieldId value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1523,6 +1708,8 @@ public Builder clearTimestampField() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1544,11 +1731,13 @@ public Builder clearTimestampField() {
        * .google.privacy.dlp.v2.FieldId timestamp_field = 3;
        */
       public com.google.privacy.dlp.v2.FieldId.Builder getTimestampFieldBuilder() {
-        
+
         onChanged();
         return getTimestampFieldFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1573,11 +1762,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
         if (timestampFieldBuilder_ != null) {
           return timestampFieldBuilder_.getMessageOrBuilder();
         } else {
-          return timestampField_ == null ?
-              com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : timestampField_;
+          return timestampField_ == null
+              ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance()
+              : timestampField_;
         }
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1599,21 +1791,26 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
        * .google.privacy.dlp.v2.FieldId timestamp_field = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+              com.google.privacy.dlp.v2.FieldId,
+              com.google.privacy.dlp.v2.FieldId.Builder,
+              com.google.privacy.dlp.v2.FieldIdOrBuilder>
           getTimestampFieldFieldBuilder() {
         if (timestampFieldBuilder_ == null) {
-          timestampFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
-                  getTimestampField(),
-                  getParentForChildren(),
-                  isClean());
+          timestampFieldBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.FieldId,
+                  com.google.privacy.dlp.v2.FieldId.Builder,
+                  com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+                  getTimestampField(), getParentForChildren(), isClean());
           timestampField_ = null;
         }
         return timestampFieldBuilder_;
       }
 
-      private boolean enableAutoPopulationOfTimespanConfig_ ;
+      private boolean enableAutoPopulationOfTimespanConfig_;
       /**
+       *
+       *
        * 
        * When the job is started by a JobTrigger we will automatically figure out
        * a valid start_time to avoid scanning files that have not been modified
@@ -1622,6 +1819,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
        * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -1629,6 +1827,8 @@ public boolean getEnableAutoPopulationOfTimespanConfig() { return enableAutoPopulationOfTimespanConfig_; } /** + * + * *
        * When the job is started by a JobTrigger we will automatically figure out
        * a valid start_time to avoid scanning files that have not been modified
@@ -1637,16 +1837,19 @@ public boolean getEnableAutoPopulationOfTimespanConfig() {
        * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @param value The enableAutoPopulationOfTimespanConfig to set. * @return This builder for chaining. */ public Builder setEnableAutoPopulationOfTimespanConfig(boolean value) { - + enableAutoPopulationOfTimespanConfig_ = value; onChanged(); return this; } /** + * + * *
        * When the job is started by a JobTrigger we will automatically figure out
        * a valid start_time to avoid scanning files that have not been modified
@@ -1655,14 +1858,16 @@ public Builder setEnableAutoPopulationOfTimespanConfig(boolean value) {
        * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @return This builder for chaining. */ public Builder clearEnableAutoPopulationOfTimespanConfig() { - + enableAutoPopulationOfTimespanConfig_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1675,12 +1880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StorageConfig.TimespanConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageConfig.TimespanConfig) private static final com.google.privacy.dlp.v2.StorageConfig.TimespanConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageConfig.TimespanConfig(); } @@ -1689,16 +1894,16 @@ public static com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimespanConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimespanConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimespanConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimespanConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1713,13 +1918,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATASTORE_OPTIONS(2), CLOUD_STORAGE_OPTIONS(3), @@ -1727,6 +1933,7 @@ public enum TypeCase HYBRID_OPTIONS(9), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -1742,32 +1949,40 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 2: return DATASTORE_OPTIONS; - case 3: return CLOUD_STORAGE_OPTIONS; - case 4: return BIG_QUERY_OPTIONS; - case 9: return HYBRID_OPTIONS; - case 0: return TYPE_NOT_SET; - default: return null; + case 2: + return DATASTORE_OPTIONS; + case 3: + return CLOUD_STORAGE_OPTIONS; + case 4: + return BIG_QUERY_OPTIONS; + case 9: + return HYBRID_OPTIONS; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int DATASTORE_OPTIONS_FIELD_NUMBER = 2; /** + * + * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; + * * @return Whether the datastoreOptions field is set. */ @java.lang.Override @@ -1775,21 +1990,26 @@ public boolean hasDatastoreOptions() { return typeCase_ == 2; } /** + * + * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; + * * @return The datastoreOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreOptions) type_; + return (com.google.privacy.dlp.v2.DatastoreOptions) type_; } return com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance(); } /** + * + * *
    * Google Cloud Datastore options.
    * 
@@ -1799,18 +2019,21 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { @java.lang.Override public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder() { if (typeCase_ == 2) { - return (com.google.privacy.dlp.v2.DatastoreOptions) type_; + return (com.google.privacy.dlp.v2.DatastoreOptions) type_; } return com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance(); } public static final int CLOUD_STORAGE_OPTIONS_FIELD_NUMBER = 3; /** + * + * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -1818,21 +2041,26 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** + * + * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return The cloudStorageOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; + return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; } return com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage options.
    * 
@@ -1842,18 +2070,21 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { @java.lang.Override public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; + return (com.google.privacy.dlp.v2.CloudStorageOptions) type_; } return com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance(); } public static final int BIG_QUERY_OPTIONS_FIELD_NUMBER = 4; /** + * + * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return Whether the bigQueryOptions field is set. */ @java.lang.Override @@ -1861,21 +2092,26 @@ public boolean hasBigQueryOptions() { return typeCase_ == 4; } /** + * + * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return The bigQueryOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.BigQueryOptions) type_; + return (com.google.privacy.dlp.v2.BigQueryOptions) type_; } return com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance(); } /** + * + * *
    * BigQuery options.
    * 
@@ -1885,18 +2121,21 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { @java.lang.Override public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.BigQueryOptions) type_; + return (com.google.privacy.dlp.v2.BigQueryOptions) type_; } return com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance(); } public static final int HYBRID_OPTIONS_FIELD_NUMBER = 9; /** + * + * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return Whether the hybridOptions field is set. */ @java.lang.Override @@ -1904,21 +2143,26 @@ public boolean hasHybridOptions() { return typeCase_ == 9; } /** + * + * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return The hybridOptions. */ @java.lang.Override public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { if (typeCase_ == 9) { - return (com.google.privacy.dlp.v2.HybridOptions) type_; + return (com.google.privacy.dlp.v2.HybridOptions) type_; } return com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance(); } /** + * + * *
    * Hybrid inspection options.
    * 
@@ -1928,7 +2172,7 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { @java.lang.Override public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilder() { if (typeCase_ == 9) { - return (com.google.privacy.dlp.v2.HybridOptions) type_; + return (com.google.privacy.dlp.v2.HybridOptions) type_; } return com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance(); } @@ -1937,6 +2181,7 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde private com.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespanConfig_; /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + * * @return Whether the timespanConfig field is set. */ @java.lang.Override @@ -1945,21 +2190,24 @@ public boolean hasTimespanConfig() { } /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + * * @return The timespanConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() { - return timespanConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() : timespanConfig_; + return timespanConfig_ == null + ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() + : timespanConfig_; } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder() { + public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder + getTimespanConfigOrBuilder() { return getTimespanConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1971,8 +2219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DatastoreOptions) type_); } @@ -1998,24 +2245,27 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.DatastoreOptions) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.DatastoreOptions) type_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.CloudStorageOptions) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.CloudStorageOptions) type_); } if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.BigQueryOptions) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.BigQueryOptions) type_); } if (timespanConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getTimespanConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTimespanConfig()); } if (typeCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.privacy.dlp.v2.HybridOptions) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.privacy.dlp.v2.HybridOptions) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2025,7 +2275,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.privacy.dlp.v2.StorageConfig)) { return super.equals(obj); @@ -2034,26 +2284,21 @@ public boolean equals(final java.lang.Object obj) { if (hasTimespanConfig() != other.hasTimespanConfig()) return false; if (hasTimespanConfig()) { - if (!getTimespanConfig() - .equals(other.getTimespanConfig())) return false; + if (!getTimespanConfig().equals(other.getTimespanConfig())) return false; } if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 2: - if (!getDatastoreOptions() - .equals(other.getDatastoreOptions())) return false; + if (!getDatastoreOptions().equals(other.getDatastoreOptions())) return false; break; case 3: - if (!getCloudStorageOptions() - .equals(other.getCloudStorageOptions())) return false; + if (!getCloudStorageOptions().equals(other.getCloudStorageOptions())) return false; break; case 4: - if (!getBigQueryOptions() - .equals(other.getBigQueryOptions())) return false; + if (!getBigQueryOptions().equals(other.getBigQueryOptions())) return false; break; case 9: - if (!getHybridOptions() - .equals(other.getHybridOptions())) return false; + if (!getHybridOptions().equals(other.getHybridOptions())) return false; break; case 0: default: @@ -2098,118 +2343,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StorageConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StorageConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.StorageConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Shared message indicating Cloud storage type.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageConfig) com.google.privacy.dlp.v2.StorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageConfig.class, com.google.privacy.dlp.v2.StorageConfig.Builder.class); + com.google.privacy.dlp.v2.StorageConfig.class, + com.google.privacy.dlp.v2.StorageConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.StorageConfig.newBuilder() @@ -2217,16 +2471,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2242,9 +2495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StorageConfig_descriptor; } @java.lang.Override @@ -2263,7 +2516,8 @@ public com.google.privacy.dlp.v2.StorageConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.StorageConfig buildPartial() { - com.google.privacy.dlp.v2.StorageConfig result = new com.google.privacy.dlp.v2.StorageConfig(this); + com.google.privacy.dlp.v2.StorageConfig result = + new com.google.privacy.dlp.v2.StorageConfig(this); if (typeCase_ == 2) { if (datastoreOptionsBuilder_ == null) { result.type_ = type_; @@ -2306,38 +2560,39 @@ public com.google.privacy.dlp.v2.StorageConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StorageConfig) { - return mergeFrom((com.google.privacy.dlp.v2.StorageConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.StorageConfig) other); } else { super.mergeFrom(other); return this; @@ -2350,25 +2605,30 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StorageConfig other) { mergeTimespanConfig(other.getTimespanConfig()); } switch (other.getTypeCase()) { - case DATASTORE_OPTIONS: { - mergeDatastoreOptions(other.getDatastoreOptions()); - break; - } - case CLOUD_STORAGE_OPTIONS: { - mergeCloudStorageOptions(other.getCloudStorageOptions()); - break; - } - case BIG_QUERY_OPTIONS: { - mergeBigQueryOptions(other.getBigQueryOptions()); - break; - } - case HYBRID_OPTIONS: { - mergeHybridOptions(other.getHybridOptions()); - break; - } - case TYPE_NOT_SET: { - break; - } + case DATASTORE_OPTIONS: + { + mergeDatastoreOptions(other.getDatastoreOptions()); + break; + } + case CLOUD_STORAGE_OPTIONS: + { + mergeCloudStorageOptions(other.getCloudStorageOptions()); + break; + } + case BIG_QUERY_OPTIONS: + { + mergeBigQueryOptions(other.getBigQueryOptions()); + break; + } + case HYBRID_OPTIONS: + { + mergeHybridOptions(other.getHybridOptions()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2398,12 +2658,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -2413,15 +2673,20 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreOptions, com.google.privacy.dlp.v2.DatastoreOptions.Builder, com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> datastoreOptionsBuilder_; + com.google.privacy.dlp.v2.DatastoreOptions, + com.google.privacy.dlp.v2.DatastoreOptions.Builder, + com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> + datastoreOptionsBuilder_; /** + * + * *
      * Google Cloud Datastore options.
      * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; + * * @return Whether the datastoreOptions field is set. */ @java.lang.Override @@ -2429,11 +2694,14 @@ public boolean hasDatastoreOptions() { return typeCase_ == 2; } /** + * + * *
      * Google Cloud Datastore options.
      * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; + * * @return The datastoreOptions. */ @java.lang.Override @@ -2451,6 +2719,8 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { } } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2471,6 +2741,8 @@ public Builder setDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions va return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2489,6 +2761,8 @@ public Builder setDatastoreOptions( return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2497,10 +2771,13 @@ public Builder setDatastoreOptions( */ public Builder mergeDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions value) { if (datastoreOptionsBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.DatastoreOptions.newBuilder((com.google.privacy.dlp.v2.DatastoreOptions) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ != com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.DatastoreOptions.newBuilder( + (com.google.privacy.dlp.v2.DatastoreOptions) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -2515,6 +2792,8 @@ public Builder mergeDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2538,6 +2817,8 @@ public Builder clearDatastoreOptions() { return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2548,6 +2829,8 @@ public com.google.privacy.dlp.v2.DatastoreOptions.Builder getDatastoreOptionsBui return getDatastoreOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2566,6 +2849,8 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr } } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2573,32 +2858,44 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreOptions, com.google.privacy.dlp.v2.DatastoreOptions.Builder, com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> + com.google.privacy.dlp.v2.DatastoreOptions, + com.google.privacy.dlp.v2.DatastoreOptions.Builder, + com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder> getDatastoreOptionsFieldBuilder() { if (datastoreOptionsBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.privacy.dlp.v2.DatastoreOptions.getDefaultInstance(); } - datastoreOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DatastoreOptions, com.google.privacy.dlp.v2.DatastoreOptions.Builder, com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder>( + datastoreOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DatastoreOptions, + com.google.privacy.dlp.v2.DatastoreOptions.Builder, + com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder>( (com.google.privacy.dlp.v2.DatastoreOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return datastoreOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions, com.google.privacy.dlp.v2.CloudStorageOptions.Builder, com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> cloudStorageOptionsBuilder_; + com.google.privacy.dlp.v2.CloudStorageOptions, + com.google.privacy.dlp.v2.CloudStorageOptions.Builder, + com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> + cloudStorageOptionsBuilder_; /** + * + * *
      * Google Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2606,11 +2903,14 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** + * + * *
      * Google Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return The cloudStorageOptions. */ @java.lang.Override @@ -2628,6 +2928,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { } } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2648,6 +2950,8 @@ public Builder setCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOpti return this; } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2666,6 +2970,8 @@ public Builder setCloudStorageOptions( return this; } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2674,10 +2980,13 @@ public Builder setCloudStorageOptions( */ public Builder mergeCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOptions value) { if (cloudStorageOptionsBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CloudStorageOptions.newBuilder((com.google.privacy.dlp.v2.CloudStorageOptions) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 + && type_ != com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CloudStorageOptions.newBuilder( + (com.google.privacy.dlp.v2.CloudStorageOptions) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -2692,6 +3001,8 @@ public Builder mergeCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOp return this; } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2715,6 +3026,8 @@ public Builder clearCloudStorageOptions() { return this; } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2725,6 +3038,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti return getCloudStorageOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2732,7 +3047,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder() { + public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder + getCloudStorageOptionsOrBuilder() { if ((typeCase_ == 3) && (cloudStorageOptionsBuilder_ != null)) { return cloudStorageOptionsBuilder_.getMessageOrBuilder(); } else { @@ -2743,6 +3059,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOpt } } /** + * + * *
      * Google Cloud Storage options.
      * 
@@ -2750,32 +3068,44 @@ public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOpt * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions, com.google.privacy.dlp.v2.CloudStorageOptions.Builder, com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> + com.google.privacy.dlp.v2.CloudStorageOptions, + com.google.privacy.dlp.v2.CloudStorageOptions.Builder, + com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder> getCloudStorageOptionsFieldBuilder() { if (cloudStorageOptionsBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.CloudStorageOptions.getDefaultInstance(); } - cloudStorageOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CloudStorageOptions, com.google.privacy.dlp.v2.CloudStorageOptions.Builder, com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder>( + cloudStorageOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CloudStorageOptions, + com.google.privacy.dlp.v2.CloudStorageOptions.Builder, + com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder>( (com.google.privacy.dlp.v2.CloudStorageOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return cloudStorageOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryOptions, com.google.privacy.dlp.v2.BigQueryOptions.Builder, com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> bigQueryOptionsBuilder_; + com.google.privacy.dlp.v2.BigQueryOptions, + com.google.privacy.dlp.v2.BigQueryOptions.Builder, + com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> + bigQueryOptionsBuilder_; /** + * + * *
      * BigQuery options.
      * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return Whether the bigQueryOptions field is set. */ @java.lang.Override @@ -2783,11 +3113,14 @@ public boolean hasBigQueryOptions() { return typeCase_ == 4; } /** + * + * *
      * BigQuery options.
      * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return The bigQueryOptions. */ @java.lang.Override @@ -2805,6 +3138,8 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { } } /** + * + * *
      * BigQuery options.
      * 
@@ -2825,6 +3160,8 @@ public Builder setBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions valu return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -2843,6 +3180,8 @@ public Builder setBigQueryOptions( return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -2851,10 +3190,13 @@ public Builder setBigQueryOptions( */ public Builder mergeBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions value) { if (bigQueryOptionsBuilder_ == null) { - if (typeCase_ == 4 && - type_ != com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.BigQueryOptions.newBuilder((com.google.privacy.dlp.v2.BigQueryOptions) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 4 + && type_ != com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.BigQueryOptions.newBuilder( + (com.google.privacy.dlp.v2.BigQueryOptions) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -2869,6 +3211,8 @@ public Builder mergeBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions va return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -2892,6 +3236,8 @@ public Builder clearBigQueryOptions() { return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -2902,6 +3248,8 @@ public com.google.privacy.dlp.v2.BigQueryOptions.Builder getBigQueryOptionsBuild return getBigQueryOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * BigQuery options.
      * 
@@ -2920,6 +3268,8 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu } } /** + * + * *
      * BigQuery options.
      * 
@@ -2927,32 +3277,44 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryOptions, com.google.privacy.dlp.v2.BigQueryOptions.Builder, com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> + com.google.privacy.dlp.v2.BigQueryOptions, + com.google.privacy.dlp.v2.BigQueryOptions.Builder, + com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder> getBigQueryOptionsFieldBuilder() { if (bigQueryOptionsBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.privacy.dlp.v2.BigQueryOptions.getDefaultInstance(); } - bigQueryOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.BigQueryOptions, com.google.privacy.dlp.v2.BigQueryOptions.Builder, com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder>( + bigQueryOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.BigQueryOptions, + com.google.privacy.dlp.v2.BigQueryOptions.Builder, + com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder>( (com.google.privacy.dlp.v2.BigQueryOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged();; + onChanged(); + ; return bigQueryOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridOptions, com.google.privacy.dlp.v2.HybridOptions.Builder, com.google.privacy.dlp.v2.HybridOptionsOrBuilder> hybridOptionsBuilder_; + com.google.privacy.dlp.v2.HybridOptions, + com.google.privacy.dlp.v2.HybridOptions.Builder, + com.google.privacy.dlp.v2.HybridOptionsOrBuilder> + hybridOptionsBuilder_; /** + * + * *
      * Hybrid inspection options.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return Whether the hybridOptions field is set. */ @java.lang.Override @@ -2960,11 +3322,14 @@ public boolean hasHybridOptions() { return typeCase_ == 9; } /** + * + * *
      * Hybrid inspection options.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return The hybridOptions. */ @java.lang.Override @@ -2982,6 +3347,8 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { } } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3002,6 +3369,8 @@ public Builder setHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3020,6 +3389,8 @@ public Builder setHybridOptions( return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3028,10 +3399,13 @@ public Builder setHybridOptions( */ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { if (hybridOptionsBuilder_ == null) { - if (typeCase_ == 9 && - type_ != com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.HybridOptions.newBuilder((com.google.privacy.dlp.v2.HybridOptions) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 9 + && type_ != com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.HybridOptions.newBuilder( + (com.google.privacy.dlp.v2.HybridOptions) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -3046,6 +3420,8 @@ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3069,6 +3445,8 @@ public Builder clearHybridOptions() { return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3079,6 +3457,8 @@ public com.google.privacy.dlp.v2.HybridOptions.Builder getHybridOptionsBuilder() return getHybridOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3097,6 +3477,8 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde } } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3104,29 +3486,37 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridOptions, com.google.privacy.dlp.v2.HybridOptions.Builder, com.google.privacy.dlp.v2.HybridOptionsOrBuilder> + com.google.privacy.dlp.v2.HybridOptions, + com.google.privacy.dlp.v2.HybridOptions.Builder, + com.google.privacy.dlp.v2.HybridOptionsOrBuilder> getHybridOptionsFieldBuilder() { if (hybridOptionsBuilder_ == null) { if (!(typeCase_ == 9)) { type_ = com.google.privacy.dlp.v2.HybridOptions.getDefaultInstance(); } - hybridOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.HybridOptions, com.google.privacy.dlp.v2.HybridOptions.Builder, com.google.privacy.dlp.v2.HybridOptionsOrBuilder>( - (com.google.privacy.dlp.v2.HybridOptions) type_, - getParentForChildren(), - isClean()); + hybridOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.HybridOptions, + com.google.privacy.dlp.v2.HybridOptions.Builder, + com.google.privacy.dlp.v2.HybridOptionsOrBuilder>( + (com.google.privacy.dlp.v2.HybridOptions) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 9; - onChanged();; + onChanged(); + ; return hybridOptionsBuilder_; } private com.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespanConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> timespanConfigBuilder_; + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, + com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> + timespanConfigBuilder_; /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + * * @return Whether the timespanConfig field is set. */ public boolean hasTimespanConfig() { @@ -3134,18 +3524,19 @@ public boolean hasTimespanConfig() { } /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + * * @return The timespanConfig. */ public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig() { if (timespanConfigBuilder_ == null) { - return timespanConfig_ == null ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() : timespanConfig_; + return timespanConfig_ == null + ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() + : timespanConfig_; } else { return timespanConfigBuilder_.getMessage(); } } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ public Builder setTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig value) { if (timespanConfigBuilder_ == null) { if (value == null) { @@ -3159,9 +3550,7 @@ public Builder setTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.Timespa return this; } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ public Builder setTimespanConfig( com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder builderForValue) { if (timespanConfigBuilder_ == null) { @@ -3173,14 +3562,15 @@ public Builder setTimespanConfig( return this; } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ - public Builder mergeTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.TimespanConfig value) { + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + public Builder mergeTimespanConfig( + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig value) { if (timespanConfigBuilder_ == null) { if (timespanConfig_ != null) { timespanConfig_ = - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.newBuilder(timespanConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.newBuilder(timespanConfig_) + .mergeFrom(value) + .buildPartial(); } else { timespanConfig_ = value; } @@ -3191,9 +3581,7 @@ public Builder mergeTimespanConfig(com.google.privacy.dlp.v2.StorageConfig.Times return this; } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ public Builder clearTimespanConfig() { if (timespanConfigBuilder_ == null) { timespanConfig_ = null; @@ -3205,44 +3593,44 @@ public Builder clearTimespanConfig() { return this; } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ - public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder getTimespanConfigBuilder() { - + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + public com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder + getTimespanConfigBuilder() { + onChanged(); return getTimespanConfigFieldBuilder().getBuilder(); } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ - public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder() { + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ + public com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder + getTimespanConfigOrBuilder() { if (timespanConfigBuilder_ != null) { return timespanConfigBuilder_.getMessageOrBuilder(); } else { - return timespanConfig_ == null ? - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() : timespanConfig_; + return timespanConfig_ == null + ? com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.getDefaultInstance() + : timespanConfig_; } } - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, + com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder> getTimespanConfigFieldBuilder() { if (timespanConfigBuilder_ == null) { - timespanConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder>( - getTimespanConfig(), - getParentForChildren(), - isClean()); + timespanConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig, + com.google.privacy.dlp.v2.StorageConfig.TimespanConfig.Builder, + com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder>( + getTimespanConfig(), getParentForChildren(), isClean()); timespanConfig_ = null; } return timespanConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3252,12 +3640,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StorageConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageConfig) private static final com.google.privacy.dlp.v2.StorageConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageConfig(); } @@ -3266,16 +3654,16 @@ public static com.google.privacy.dlp.v2.StorageConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StorageConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StorageConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3290,6 +3678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java index 12b11f1f..172abf1a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface StorageConfigOrBuilder extends +public interface StorageConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; + * * @return Whether the datastoreOptions field is set. */ boolean hasDatastoreOptions(); /** + * + * *
    * Google Cloud Datastore options.
    * 
* * .google.privacy.dlp.v2.DatastoreOptions datastore_options = 2; + * * @return The datastoreOptions. */ com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions(); /** + * + * *
    * Google Cloud Datastore options.
    * 
@@ -35,24 +59,32 @@ public interface StorageConfigOrBuilder extends com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder(); /** + * + * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return Whether the cloudStorageOptions field is set. */ boolean hasCloudStorageOptions(); /** + * + * *
    * Google Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return The cloudStorageOptions. */ com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions(); /** + * + * *
    * Google Cloud Storage options.
    * 
@@ -62,24 +94,32 @@ public interface StorageConfigOrBuilder extends com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder(); /** + * + * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return Whether the bigQueryOptions field is set. */ boolean hasBigQueryOptions(); /** + * + * *
    * BigQuery options.
    * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return The bigQueryOptions. */ com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions(); /** + * + * *
    * BigQuery options.
    * 
@@ -89,24 +129,32 @@ public interface StorageConfigOrBuilder extends com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder(); /** + * + * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return Whether the hybridOptions field is set. */ boolean hasHybridOptions(); /** + * + * *
    * Hybrid inspection options.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return The hybridOptions. */ com.google.privacy.dlp.v2.HybridOptions getHybridOptions(); /** + * + * *
    * Hybrid inspection options.
    * 
@@ -117,17 +165,17 @@ public interface StorageConfigOrBuilder extends /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + * * @return Whether the timespanConfig field is set. */ boolean hasTimespanConfig(); /** * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; + * * @return The timespanConfig. */ com.google.privacy.dlp.v2.StorageConfig.TimespanConfig getTimespanConfig(); - /** - * .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; - */ + /** .google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6; */ com.google.privacy.dlp.v2.StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder(); public com.google.privacy.dlp.v2.StorageConfig.TypeCase getTypeCase(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java index 1b1d151d..625f4e7a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Storage metadata label to indicate which metadata entry contains findings.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageMetadataLabel} */ -public final class StorageMetadataLabel extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StorageMetadataLabel extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageMetadataLabel) StorageMetadataLabelOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StorageMetadataLabel.newBuilder() to construct. private StorageMetadataLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StorageMetadataLabel() { key_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StorageMetadataLabel(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StorageMetadataLabel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,48 +70,52 @@ private StorageMetadataLabel( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + key_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageMetadataLabel.class, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); + com.google.privacy.dlp.v2.StorageMetadataLabel.class, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** * string key = 1; + * * @return The key. */ @java.lang.Override @@ -103,8 +124,7 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -112,16 +132,15 @@ public java.lang.String getKey() { } /** * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -130,6 +149,7 @@ public java.lang.String getKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -166,15 +185,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.privacy.dlp.v2.StorageMetadataLabel)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StorageMetadataLabel other = (com.google.privacy.dlp.v2.StorageMetadataLabel) obj; + com.google.privacy.dlp.v2.StorageMetadataLabel other = + (com.google.privacy.dlp.v2.StorageMetadataLabel) obj; - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -193,118 +212,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.StorageMetadataLabel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Storage metadata label to indicate which metadata entry contains findings.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StorageMetadataLabel} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageMetadataLabel) com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StorageMetadataLabel.class, com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); + com.google.privacy.dlp.v2.StorageMetadataLabel.class, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); } // Construct using com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder() @@ -312,16 +340,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; } @java.lang.Override @@ -352,7 +379,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel build() { @java.lang.Override public com.google.privacy.dlp.v2.StorageMetadataLabel buildPartial() { - com.google.privacy.dlp.v2.StorageMetadataLabel result = new com.google.privacy.dlp.v2.StorageMetadataLabel(this); + com.google.privacy.dlp.v2.StorageMetadataLabel result = + new com.google.privacy.dlp.v2.StorageMetadataLabel(this); result.key_ = key_; onBuilt(); return result; @@ -362,38 +390,39 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StorageMetadataLabel) { - return mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel)other); + return mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) other); } else { super.mergeFrom(other); return this; @@ -438,13 +467,13 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -454,15 +483,14 @@ public java.lang.String getKey() { } /** * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -471,48 +499,49 @@ public java.lang.String getKey() { } /** * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = 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); } @@ -522,12 +551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StorageMetadataLabel) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageMetadataLabel) private static final com.google.privacy.dlp.v2.StorageMetadataLabel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageMetadataLabel(); } @@ -536,16 +565,16 @@ public static com.google.privacy.dlp.v2.StorageMetadataLabel getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageMetadataLabel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StorageMetadataLabel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageMetadataLabel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StorageMetadataLabel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -560,6 +589,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StorageMetadataLabel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java new file mode 100644 index 00000000..e4834262 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface StorageMetadataLabelOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageMetadataLabel) + com.google.protobuf.MessageOrBuilder { + + /** + * string key = 1; + * + * @return The key. + */ + java.lang.String getKey(); + /** + * string key = 1; + * + * @return The bytes for key. + */ + com.google.protobuf.ByteString getKeyBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java index 3534ba4f..f94a7865 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * StoredInfoType resource message that contains information about the current
  * version and any pending updates.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StoredInfoType}
  */
-public final class StoredInfoType extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StoredInfoType extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoType)
     StoredInfoTypeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StoredInfoType.newBuilder() to construct.
   private StoredInfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StoredInfoType() {
     name_ = "";
     pendingVersions_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private StoredInfoType() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StoredInfoType();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StoredInfoType(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,48 +73,54 @@ private StoredInfoType(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder subBuilder = null;
-            if (currentVersion_ != null) {
-              subBuilder = currentVersion_.toBuilder();
-            }
-            currentVersion_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(currentVersion_);
-              currentVersion_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder subBuilder = null;
+              if (currentVersion_ != null) {
+                subBuilder = currentVersion_.toBuilder();
+              }
+              currentVersion_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(currentVersion_);
+                currentVersion_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              pendingVersions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            pendingVersions_.add(
-                input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                pendingVersions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              pendingVersions_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.StoredInfoTypeVersion.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         pendingVersions_ = java.util.Collections.unmodifiableList(pendingVersions_);
@@ -106,27 +129,33 @@ private StoredInfoType(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StoredInfoType.class, com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
+            com.google.privacy.dlp.v2.StoredInfoType.class,
+            com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -135,29 +164,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -168,11 +197,14 @@ public java.lang.String getName() { public static final int CURRENT_VERSION_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.StoredInfoTypeVersion currentVersion_; /** + * + * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; + * * @return Whether the currentVersion field is set. */ @java.lang.Override @@ -180,18 +212,25 @@ public boolean hasCurrentVersion() { return currentVersion_ != null; } /** + * + * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; + * * @return The currentVersion. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() { - return currentVersion_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() : currentVersion_; + return currentVersion_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() + : currentVersion_; } /** + * + * *
    * Current version of the stored info type.
    * 
@@ -206,6 +245,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio public static final int PENDING_VERSIONS_FIELD_NUMBER = 3; private java.util.List pendingVersions_; /** + * + * *
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -218,6 +259,8 @@ public java.util.List getPendin
     return pendingVersions_;
   }
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -226,11 +269,13 @@ public java.util.List getPendin
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPendingVersionsOrBuilderList() {
     return pendingVersions_;
   }
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -243,6 +288,8 @@ public int getPendingVersionsCount() {
     return pendingVersions_.size();
   }
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -255,6 +302,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
     return pendingVersions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -269,6 +318,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -280,8 +330,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -304,12 +353,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (currentVersion_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCurrentVersion());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCurrentVersion());
     }
     for (int i = 0; i < pendingVersions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, pendingVersions_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pendingVersions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -319,22 +366,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.privacy.dlp.v2.StoredInfoType)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.StoredInfoType other = (com.google.privacy.dlp.v2.StoredInfoType) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasCurrentVersion() != other.hasCurrentVersion()) return false;
     if (hasCurrentVersion()) {
-      if (!getCurrentVersion()
-          .equals(other.getCurrentVersion())) return false;
+      if (!getCurrentVersion().equals(other.getCurrentVersion())) return false;
     }
-    if (!getPendingVersionsList()
-        .equals(other.getPendingVersionsList())) return false;
+    if (!getPendingVersionsList().equals(other.getPendingVersionsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -361,97 +405,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.StoredInfoType parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.StoredInfoType parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.StoredInfoType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * StoredInfoType resource message that contains information about the current
    * version and any pending updates.
@@ -459,21 +510,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.StoredInfoType}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoType)
       com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StoredInfoType.class, com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
+              com.google.privacy.dlp.v2.StoredInfoType.class,
+              com.google.privacy.dlp.v2.StoredInfoType.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StoredInfoType.newBuilder()
@@ -481,17 +534,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getPendingVersionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -513,9 +566,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor;
     }
 
     @java.lang.Override
@@ -534,7 +587,8 @@ public com.google.privacy.dlp.v2.StoredInfoType build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StoredInfoType buildPartial() {
-      com.google.privacy.dlp.v2.StoredInfoType result = new com.google.privacy.dlp.v2.StoredInfoType(this);
+      com.google.privacy.dlp.v2.StoredInfoType result =
+          new com.google.privacy.dlp.v2.StoredInfoType(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (currentVersionBuilder_ == null) {
@@ -559,38 +613,39 @@ public com.google.privacy.dlp.v2.StoredInfoType buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StoredInfoType) {
-        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoType)other);
+        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoType) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -624,9 +679,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoType other) {
             pendingVersionsBuilder_ = null;
             pendingVersions_ = other.pendingVersions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pendingVersionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPendingVersionsFieldBuilder() : null;
+            pendingVersionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPendingVersionsFieldBuilder()
+                    : null;
           } else {
             pendingVersionsBuilder_.addAllMessages(other.pendingVersions_);
           }
@@ -660,22 +716,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -684,20 +743,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -705,54 +765,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -760,34 +827,47 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.StoredInfoTypeVersion currentVersion_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> currentVersionBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeVersion, + com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> + currentVersionBuilder_; /** + * + * *
      * Current version of the stored info type.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; + * * @return Whether the currentVersion field is set. */ public boolean hasCurrentVersion() { return currentVersionBuilder_ != null || currentVersion_ != null; } /** + * + * *
      * Current version of the stored info type.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; + * * @return The currentVersion. */ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion() { if (currentVersionBuilder_ == null) { - return currentVersion_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() : currentVersion_; + return currentVersion_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() + : currentVersion_; } else { return currentVersionBuilder_.getMessage(); } } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -808,6 +888,8 @@ public Builder setCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersion return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -826,6 +908,8 @@ public Builder setCurrentVersion( return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -836,7 +920,9 @@ public Builder mergeCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersi if (currentVersionBuilder_ == null) { if (currentVersion_ != null) { currentVersion_ = - com.google.privacy.dlp.v2.StoredInfoTypeVersion.newBuilder(currentVersion_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeVersion.newBuilder(currentVersion_) + .mergeFrom(value) + .buildPartial(); } else { currentVersion_ = value; } @@ -848,6 +934,8 @@ public Builder mergeCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersi return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -866,6 +954,8 @@ public Builder clearCurrentVersion() { return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -873,11 +963,13 @@ public Builder clearCurrentVersion() { * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; */ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder getCurrentVersionBuilder() { - + onChanged(); return getCurrentVersionFieldBuilder().getBuilder(); } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -888,11 +980,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio if (currentVersionBuilder_ != null) { return currentVersionBuilder_.getMessageOrBuilder(); } else { - return currentVersion_ == null ? - com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() : currentVersion_; + return currentVersion_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance() + : currentVersion_; } } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -900,32 +995,43 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersio * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeVersion, + com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> getCurrentVersionFieldBuilder() { if (currentVersionBuilder_ == null) { - currentVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>( - getCurrentVersion(), - getParentForChildren(), - isClean()); + currentVersionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeVersion, + com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>( + getCurrentVersion(), getParentForChildren(), isClean()); currentVersion_ = null; } return currentVersionBuilder_; } private java.util.List pendingVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePendingVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pendingVersions_ = new java.util.ArrayList(pendingVersions_); + pendingVersions_ = + new java.util.ArrayList( + pendingVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> pendingVersionsBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeVersion, + com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> + pendingVersionsBuilder_; /** + * + * *
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -933,7 +1039,8 @@ private void ensurePendingVersionsIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
-    public java.util.List getPendingVersionsList() {
+    public java.util.List
+        getPendingVersionsList() {
       if (pendingVersionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(pendingVersions_);
       } else {
@@ -941,6 +1048,8 @@ public java.util.List getPendin
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -956,6 +1065,8 @@ public int getPendingVersionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -971,6 +1082,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -993,6 +1106,8 @@ public Builder setPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1012,6 +1127,8 @@ public Builder setPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1033,6 +1150,8 @@ public Builder addPendingVersions(com.google.privacy.dlp.v2.StoredInfoTypeVersio
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1055,6 +1174,8 @@ public Builder addPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1074,6 +1195,8 @@ public Builder addPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1093,6 +1216,8 @@ public Builder addPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1104,8 +1229,7 @@ public Builder addAllPendingVersions(
         java.lang.Iterable values) {
       if (pendingVersionsBuilder_ == null) {
         ensurePendingVersionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, pendingVersions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pendingVersions_);
         onChanged();
       } else {
         pendingVersionsBuilder_.addAllMessages(values);
@@ -1113,6 +1237,8 @@ public Builder addAllPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1131,6 +1257,8 @@ public Builder clearPendingVersions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1149,6 +1277,8 @@ public Builder removePendingVersions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1161,6 +1291,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder getPendingVersion
       return getPendingVersionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1171,11 +1303,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder getPendingVersion
     public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(
         int index) {
       if (pendingVersionsBuilder_ == null) {
-        return pendingVersions_.get(index);  } else {
+        return pendingVersions_.get(index);
+      } else {
         return pendingVersionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1183,8 +1318,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
      *
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
-    public java.util.List 
-         getPendingVersionsOrBuilderList() {
+    public java.util.List
+        getPendingVersionsOrBuilderList() {
       if (pendingVersionsBuilder_ != null) {
         return pendingVersionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1192,6 +1327,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1200,10 +1337,12 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
     public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersionsBuilder() {
-      return getPendingVersionsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
+      return getPendingVersionsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1213,10 +1352,12 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
      */
     public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersionsBuilder(
         int index) {
-      return getPendingVersionsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
+      return getPendingVersionsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1224,16 +1365,22 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
      *
      * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
      */
-    public java.util.List 
-         getPendingVersionsBuilderList() {
+    public java.util.List
+        getPendingVersionsBuilderList() {
       return getPendingVersionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder> 
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion,
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder,
+            com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>
         getPendingVersionsFieldBuilder() {
       if (pendingVersionsBuilder_ == null) {
-        pendingVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder, com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>(
+        pendingVersionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.StoredInfoTypeVersion,
+                com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder,
+                com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder>(
                 pendingVersions_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1242,9 +1389,9 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder addPendingVersion
       }
       return pendingVersionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1254,12 +1401,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoType)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoType)
   private static final com.google.privacy.dlp.v2.StoredInfoType DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoType();
   }
@@ -1268,16 +1415,16 @@ public static com.google.privacy.dlp.v2.StoredInfoType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StoredInfoType parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new StoredInfoType(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StoredInfoType parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new StoredInfoType(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1292,6 +1439,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.StoredInfoType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
similarity index 72%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
index e0de904a..4d69ea49 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Configuration for stored infoTypes. All fields and subfield are provided
  * by the user. For more information, see
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeConfig}
  */
-public final class StoredInfoTypeConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StoredInfoTypeConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeConfig)
     StoredInfoTypeConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StoredInfoTypeConfig.newBuilder() to construct.
   private StoredInfoTypeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StoredInfoTypeConfig() {
     displayName_ = "";
     description_ = "";
@@ -28,16 +46,15 @@ private StoredInfoTypeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StoredInfoTypeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StoredInfoTypeConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,102 +73,119 @@ private StoredInfoTypeConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder subBuilder = null;
-            if (typeCase_ == 3) {
-              subBuilder = ((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_).toBuilder();
-            }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_);
-              type_ = subBuilder.buildPartial();
+              displayName_ = s;
+              break;
             }
-            typeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
-            if (typeCase_ == 4) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              description_ = s;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
-              type_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder subBuilder = null;
+              if (typeCase_ == 3) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 3;
+              break;
             }
-            typeCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
-            if (typeCase_ == 5) {
-              subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
+          case 34:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder subBuilder = null;
+              if (typeCase_ == 4) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.Dictionary.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 4;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
-              type_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder subBuilder = null;
+              if (typeCase_ == 5) {
+                subBuilder = ((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.CustomInfoType.Regex.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 5;
+              break;
             }
-            typeCase_ = 5;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.class, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.class,
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
+
   public enum TypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LARGE_CUSTOM_DICTIONARY(3),
     DICTIONARY(4),
     REGEX(5),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -167,32 +201,39 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 3: return LARGE_CUSTOM_DICTIONARY;
-        case 4: return DICTIONARY;
-        case 5: return REGEX;
-        case 0: return TYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return LARGE_CUSTOM_DICTIONARY;
+        case 4:
+          return DICTIONARY;
+        case 5:
+          return REGEX;
+        case 0:
+          return TYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase
-  getTypeCase() {
-    return TypeCase.forNumber(
-        typeCase_);
+  public TypeCase getTypeCase() {
+    return TypeCase.forNumber(typeCase_);
   }
 
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object displayName_;
   /**
+   *
+   *
    * 
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -201,29 +242,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; } } /** + * + * *
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * 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 { @@ -234,11 +275,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Description of the StoredInfoType (max 256 characters).
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -247,29 +291,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; } } /** + * + * *
    * Description of the StoredInfoType (max 256 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 { @@ -279,11 +323,14 @@ public java.lang.String getDescription() { public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER = 3; /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; + * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -291,21 +338,26 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 3; } /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; + * * @return The largeCustomDictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance(); } /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
@@ -313,20 +365,24 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDicti * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder + getLargeCustomDictionaryOrBuilder() { if (typeCase_ == 3) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance(); } public static final int DICTIONARY_FIELD_NUMBER = 4; /** + * + * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; + * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -334,21 +390,26 @@ public boolean hasDictionary() { return typeCase_ == 4; } /** + * + * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; + * * @return The dictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } /** + * + * *
    * Store dictionary-based CustomInfoType.
    * 
@@ -358,18 +419,21 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder() { if (typeCase_ == 4) { - return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } public static final int REGEX_FIELD_NUMBER = 5; /** + * + * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; + * * @return Whether the regex field is set. */ @java.lang.Override @@ -377,21 +441,26 @@ public boolean hasRegex() { return typeCase_ == 5; } /** + * + * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; + * * @return The regex. */ @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } /** + * + * *
    * Store regular expression-based StoredInfoType.
    * 
@@ -401,12 +470,13 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { @java.lang.Override public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder() { if (typeCase_ == 5) { - return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; + return (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_; } return com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,8 +488,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -451,16 +520,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_); } if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } if (typeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -470,30 +542,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.privacy.dlp.v2.StoredInfoTypeConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StoredInfoTypeConfig other = (com.google.privacy.dlp.v2.StoredInfoTypeConfig) obj; + com.google.privacy.dlp.v2.StoredInfoTypeConfig other = + (com.google.privacy.dlp.v2.StoredInfoTypeConfig) obj; - 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 (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 3: - if (!getLargeCustomDictionary() - .equals(other.getLargeCustomDictionary())) return false; + if (!getLargeCustomDictionary().equals(other.getLargeCustomDictionary())) return false; break; case 4: - if (!getDictionary() - .equals(other.getDictionary())) return false; + if (!getDictionary().equals(other.getDictionary())) return false; break; case 5: - if (!getRegex() - .equals(other.getRegex())) return false; + if (!getRegex().equals(other.getRegex())) return false; break; case 0: default: @@ -534,97 +602,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for stored infoTypes. All fields and subfield are provided
    * by the user. For more information, see
@@ -633,21 +708,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeConfig)
       com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StoredInfoTypeConfig.class, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
+              com.google.privacy.dlp.v2.StoredInfoTypeConfig.class,
+              com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder()
@@ -655,16 +732,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -678,9 +754,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -699,7 +775,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StoredInfoTypeConfig buildPartial() {
-      com.google.privacy.dlp.v2.StoredInfoTypeConfig result = new com.google.privacy.dlp.v2.StoredInfoTypeConfig(this);
+      com.google.privacy.dlp.v2.StoredInfoTypeConfig result =
+          new com.google.privacy.dlp.v2.StoredInfoTypeConfig(this);
       result.displayName_ = displayName_;
       result.description_ = description_;
       if (typeCase_ == 3) {
@@ -732,38 +809,39 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -781,21 +859,25 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeConfig other) {
         onChanged();
       }
       switch (other.getTypeCase()) {
-        case LARGE_CUSTOM_DICTIONARY: {
-          mergeLargeCustomDictionary(other.getLargeCustomDictionary());
-          break;
-        }
-        case DICTIONARY: {
-          mergeDictionary(other.getDictionary());
-          break;
-        }
-        case REGEX: {
-          mergeRegex(other.getRegex());
-          break;
-        }
-        case TYPE_NOT_SET: {
-          break;
-        }
+        case LARGE_CUSTOM_DICTIONARY:
+          {
+            mergeLargeCustomDictionary(other.getLargeCustomDictionary());
+            break;
+          }
+        case DICTIONARY:
+          {
+            mergeDictionary(other.getDictionary());
+            break;
+          }
+        case REGEX:
+          {
+            mergeRegex(other.getRegex());
+            break;
+          }
+        case TYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -825,12 +907,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int typeCase_ = 0;
     private java.lang.Object type_;
-    public TypeCase
-        getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public Builder clearType() {
@@ -840,21 +922,22 @@ public Builder clearType() {
       return this;
     }
 
-
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * 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; @@ -863,20 +946,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * 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 { @@ -884,54 +968,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name of the StoredInfoType (max 256 characters).
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -939,18 +1030,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the StoredInfoType (max 256 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; @@ -959,20 +1052,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the StoredInfoType (max 256 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 { @@ -980,67 +1074,80 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the StoredInfoType (max 256 characters).
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Description of the StoredInfoType (max 256 characters).
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of the StoredInfoType (max 256 characters).
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> largeCustomDictionaryBuilder_; + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> + largeCustomDictionaryBuilder_; /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; + * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -1048,11 +1155,14 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 3; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; + * * @return The largeCustomDictionary. */ @java.lang.Override @@ -1070,13 +1180,16 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDicti } } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { + public Builder setLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { if (largeCustomDictionaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1090,6 +1203,8 @@ public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDic return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1108,18 +1223,25 @@ public Builder setLargeCustomDictionary( return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { + public Builder mergeLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig value) { if (largeCustomDictionaryBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.newBuilder((com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 + && type_ + != com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.newBuilder( + (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1134,6 +1256,8 @@ public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomD return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1157,16 +1281,21 @@ public Builder clearLargeCustomDictionary() { return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder getLargeCustomDictionaryBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder + getLargeCustomDictionaryBuilder() { return getLargeCustomDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1174,7 +1303,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder getLargeCus * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder + getLargeCustomDictionaryOrBuilder() { if ((typeCase_ == 3) && (largeCustomDictionaryBuilder_ != null)) { return largeCustomDictionaryBuilder_.getMessageOrBuilder(); } else { @@ -1185,6 +1315,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCu } } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1192,32 +1324,44 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCu * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder> getLargeCustomDictionaryFieldBuilder() { if (largeCustomDictionaryBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.getDefaultInstance(); } - largeCustomDictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder>( + largeCustomDictionaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig, + com.google.privacy.dlp.v2.LargeCustomDictionaryConfig.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder>( (com.google.privacy.dlp.v2.LargeCustomDictionaryConfig) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return largeCustomDictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> dictionaryBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + dictionaryBuilder_; /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; + * * @return Whether the dictionary field is set. */ @java.lang.Override @@ -1225,11 +1369,14 @@ public boolean hasDictionary() { return typeCase_ == 4; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; + * * @return The dictionary. */ @java.lang.Override @@ -1247,6 +1394,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1267,6 +1416,8 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1285,6 +1436,8 @@ public Builder setDictionary( return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1293,10 +1446,13 @@ public Builder setDictionary( */ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary value) { if (dictionaryBuilder_ == null) { - if (typeCase_ == 4 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 4 + && type_ != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1311,6 +1467,8 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1334,6 +1492,8 @@ public Builder clearDictionary() { return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1344,6 +1504,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1362,6 +1524,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1369,32 +1533,44 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder> getDictionaryFieldBuilder() { if (dictionaryBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.getDefaultInstance(); } - dictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Dictionary, com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( + dictionaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder, + com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged();; + onChanged(); + ; return dictionaryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> regexBuilder_; + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + regexBuilder_; /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; + * * @return Whether the regex field is set. */ @java.lang.Override @@ -1402,11 +1578,14 @@ public boolean hasRegex() { return typeCase_ == 5; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; + * * @return The regex. */ @java.lang.Override @@ -1424,6 +1603,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1444,6 +1625,8 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1462,6 +1645,8 @@ public Builder setRegex( return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1470,10 +1655,13 @@ public Builder setRegex( */ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { if (regexBuilder_ == null) { - if (typeCase_ == 5 && - type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder((com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 5 + && type_ != com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Regex.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1488,6 +1676,8 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1511,6 +1701,8 @@ public Builder clearRegex() { return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1521,6 +1713,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1539,6 +1733,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1546,26 +1742,32 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder> getRegexFieldBuilder() { if (regexBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.google.privacy.dlp.v2.CustomInfoType.Regex.getDefaultInstance(); } - regexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.CustomInfoType.Regex, com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( + regexBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Regex, + com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder, + com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder>( (com.google.privacy.dlp.v2.CustomInfoType.Regex) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; - onChanged();; + onChanged(); + ; return regexBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1575,12 +1777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeConfig) private static final com.google.privacy.dlp.v2.StoredInfoTypeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeConfig(); } @@ -1589,16 +1791,16 @@ public static com.google.privacy.dlp.v2.StoredInfoTypeConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StoredInfoTypeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StoredInfoTypeConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1613,6 +1815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StoredInfoTypeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java index bd4966de..3d06d8d4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfigOrBuilder.java @@ -1,98 +1,141 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeConfigOrBuilder extends +public interface StoredInfoTypeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name of the StoredInfoType (max 256 characters).
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Description of the StoredInfoType (max 256 characters).
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the StoredInfoType (max 256 characters).
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; + * * @return Whether the largeCustomDictionary field is set. */ boolean hasLargeCustomDictionary(); /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; + * * @return The largeCustomDictionary. */ com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary(); /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3; */ - com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder(); + com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder + getLargeCustomDictionaryOrBuilder(); /** + * + * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; + * * @return Whether the dictionary field is set. */ boolean hasDictionary(); /** + * + * *
    * Store dictionary-based CustomInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4; + * * @return The dictionary. */ com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); /** + * + * *
    * Store dictionary-based CustomInfoType.
    * 
@@ -102,24 +145,32 @@ public interface StoredInfoTypeConfigOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); /** + * + * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; + * * @return Whether the regex field is set. */ boolean hasRegex(); /** + * + * *
    * Store regular expression-based StoredInfoType.
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5; + * * @return The regex. */ com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); /** + * + * *
    * Store regular expression-based StoredInfoType.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java similarity index 96% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java index e88d0317..f8fe437b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeName.java @@ -22,8 +22,6 @@ 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; @@ -247,26 +245,6 @@ public static StoredInfoTypeName parse(String formattedString) { throw new ValidationException("StoredInfoTypeName.parse: formattedString not in valid format"); } - 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 (StoredInfoTypeName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - public static boolean isParsableFrom(String formattedString) { return ORGANIZATION_STORED_INFO_TYPE.matches(formattedString) || PROJECT_STORED_INFO_TYPE.matches(formattedString) diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java index 96b13d2f..c2df8d0b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeOrBuilder extends +public interface StoredInfoTypeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoType) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; + * * @return Whether the currentVersion field is set. */ boolean hasCurrentVersion(); /** + * + * *
    * Current version of the stored info type.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2; + * * @return The currentVersion. */ com.google.privacy.dlp.v2.StoredInfoTypeVersion getCurrentVersion(); /** + * + * *
    * Current version of the stored info type.
    * 
@@ -55,6 +84,8 @@ public interface StoredInfoTypeOrBuilder extends com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getCurrentVersionOrBuilder(); /** + * + * *
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -62,9 +93,10 @@ public interface StoredInfoTypeOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
-  java.util.List 
-      getPendingVersionsList();
+  java.util.List getPendingVersionsList();
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -74,6 +106,8 @@ public interface StoredInfoTypeOrBuilder extends
    */
   com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int index);
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -83,6 +117,8 @@ public interface StoredInfoTypeOrBuilder extends
    */
   int getPendingVersionsCount();
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -90,9 +126,11 @@ public interface StoredInfoTypeOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
-  java.util.List 
+  java.util.List
       getPendingVersionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -100,6 +138,5 @@ public interface StoredInfoTypeOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;
    */
-  com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersionsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
similarity index 73%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
index 2282351f..0db5f67e 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * State of a StoredInfoType version.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.StoredInfoTypeState} */ -public enum StoredInfoTypeState - implements com.google.protobuf.ProtocolMessageEnum { +public enum StoredInfoTypeState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unused
    * 
@@ -21,6 +39,8 @@ public enum StoredInfoTypeState */ STORED_INFO_TYPE_STATE_UNSPECIFIED(0), /** + * + * *
    * StoredInfoType version is being created.
    * 
@@ -29,6 +49,8 @@ public enum StoredInfoTypeState */ PENDING(1), /** + * + * *
    * StoredInfoType version is ready for use.
    * 
@@ -37,6 +59,8 @@ public enum StoredInfoTypeState */ READY(2), /** + * + * *
    * StoredInfoType creation failed. All relevant error messages are returned in
    * the `StoredInfoTypeVersion` message.
@@ -46,6 +70,8 @@ public enum StoredInfoTypeState
    */
   FAILED(3),
   /**
+   *
+   *
    * 
    * StoredInfoType is no longer valid because artifacts stored in
    * user-controlled storage were modified. To fix an invalid StoredInfoType,
@@ -59,6 +85,8 @@ public enum StoredInfoTypeState
   ;
 
   /**
+   *
+   *
    * 
    * Unused
    * 
@@ -67,6 +95,8 @@ public enum StoredInfoTypeState */ public static final int STORED_INFO_TYPE_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * StoredInfoType version is being created.
    * 
@@ -75,6 +105,8 @@ public enum StoredInfoTypeState */ public static final int PENDING_VALUE = 1; /** + * + * *
    * StoredInfoType version is ready for use.
    * 
@@ -83,6 +115,8 @@ public enum StoredInfoTypeState */ public static final int READY_VALUE = 2; /** + * + * *
    * StoredInfoType creation failed. All relevant error messages are returned in
    * the `StoredInfoTypeVersion` message.
@@ -92,6 +126,8 @@ public enum StoredInfoTypeState
    */
   public static final int FAILED_VALUE = 3;
   /**
+   *
+   *
    * 
    * StoredInfoType is no longer valid because artifacts stored in
    * user-controlled storage were modified. To fix an invalid StoredInfoType,
@@ -102,7 +138,6 @@ public enum StoredInfoTypeState
    */
   public static final int INVALID_VALUE = 4;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,12 +162,18 @@ public static StoredInfoTypeState valueOf(int value) {
    */
   public static StoredInfoTypeState forNumber(int value) {
     switch (value) {
-      case 0: return STORED_INFO_TYPE_STATE_UNSPECIFIED;
-      case 1: return PENDING;
-      case 2: return READY;
-      case 3: return FAILED;
-      case 4: return INVALID;
-      default: return null;
+      case 0:
+        return STORED_INFO_TYPE_STATE_UNSPECIFIED;
+      case 1:
+        return PENDING;
+      case 2:
+        return READY;
+      case 3:
+        return FAILED;
+      case 4:
+        return INVALID;
+      default:
+        return null;
     }
   }
 
@@ -140,28 +181,28 @@ public static StoredInfoTypeState forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      StoredInfoTypeState> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public StoredInfoTypeState findValueByNumber(int number) {
-            return StoredInfoTypeState.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 StoredInfoTypeState findValueByNumber(int number) {
+              return StoredInfoTypeState.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.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(6);
   }
 
@@ -170,8 +211,7 @@ public StoredInfoTypeState findValueByNumber(int number) {
   public static StoredInfoTypeState 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;
@@ -187,4 +227,3 @@ private StoredInfoTypeState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.StoredInfoTypeState)
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
index b5289690..348de681 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Statistics for a StoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeStats} */ -public final class StoredInfoTypeStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StoredInfoTypeStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeStats) StoredInfoTypeStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StoredInfoTypeStats.newBuilder() to construct. private StoredInfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StoredInfoTypeStats() { - } + + private StoredInfoTypeStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StoredInfoTypeStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StoredInfoTypeStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,60 +68,69 @@ private StoredInfoTypeStats( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder subBuilder = null; - if (typeCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_).toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; } - type_ = - input.readMessage(com.google.privacy.dlp.v2.LargeCustomDictionaryStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); - type_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - typeCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredInfoTypeStats.class, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.StoredInfoTypeStats.class, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LARGE_CUSTOM_DICTIONARY(1), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -121,29 +146,34 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 1: return LARGE_CUSTOM_DICTIONARY; - case 0: return TYPE_NOT_SET; - default: return null; + case 1: + return LARGE_CUSTOM_DICTIONARY; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER = 1; /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -151,21 +181,26 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 1; } /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + * * @return The largeCustomDictionary. */ @java.lang.Override public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); } /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
@@ -173,14 +208,16 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictio * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder + getLargeCustomDictionaryOrBuilder() { if (typeCase_ == 1) { - return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; } return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); } @@ -207,8 +243,9 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -218,18 +255,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.StoredInfoTypeStats)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StoredInfoTypeStats other = (com.google.privacy.dlp.v2.StoredInfoTypeStats) obj; + com.google.privacy.dlp.v2.StoredInfoTypeStats other = + (com.google.privacy.dlp.v2.StoredInfoTypeStats) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getLargeCustomDictionary() - .equals(other.getLargeCustomDictionary())) return false; + if (!getLargeCustomDictionary().equals(other.getLargeCustomDictionary())) return false; break; case 0: default: @@ -258,118 +295,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Statistics for a StoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeStats) com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredInfoTypeStats.class, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); + com.google.privacy.dlp.v2.StoredInfoTypeStats.class, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); } // Construct using com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder() @@ -377,16 +423,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; } @java.lang.Override @@ -417,7 +462,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStats build() { @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeStats buildPartial() { - com.google.privacy.dlp.v2.StoredInfoTypeStats result = new com.google.privacy.dlp.v2.StoredInfoTypeStats(this); + com.google.privacy.dlp.v2.StoredInfoTypeStats result = + new com.google.privacy.dlp.v2.StoredInfoTypeStats(this); if (typeCase_ == 1) { if (largeCustomDictionaryBuilder_ == null) { result.type_ = type_; @@ -434,38 +480,39 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStats buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeStats) { - return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeStats)other); + return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeStats) other); } else { super.mergeFrom(other); return this; @@ -475,13 +522,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeStats other) { if (other == com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance()) return this; switch (other.getTypeCase()) { - case LARGE_CUSTOM_DICTIONARY: { - mergeLargeCustomDictionary(other.getLargeCustomDictionary()); - break; - } - case TYPE_NOT_SET: { - break; - } + case LARGE_CUSTOM_DICTIONARY: + { + mergeLargeCustomDictionary(other.getLargeCustomDictionary()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -511,12 +560,12 @@ public Builder mergeFrom( } return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -526,15 +575,20 @@ public Builder clearType() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryStats, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> largeCustomDictionaryBuilder_; + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> + largeCustomDictionaryBuilder_; /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + * * @return Whether the largeCustomDictionary field is set. */ @java.lang.Override @@ -542,11 +596,14 @@ public boolean hasLargeCustomDictionary() { return typeCase_ == 1; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + * * @return The largeCustomDictionary. */ @java.lang.Override @@ -564,13 +621,16 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictio } } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ - public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { + public Builder setLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { if (largeCustomDictionaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -584,6 +644,8 @@ public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDic return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -602,18 +664,24 @@ public Builder setLargeCustomDictionary( return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ - public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { + public Builder mergeLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { if (largeCustomDictionaryBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) { - type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder( + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -628,6 +696,8 @@ public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomD return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -651,16 +721,21 @@ public Builder clearLargeCustomDictionary() { return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ - public com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder getLargeCustomDictionaryBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder + getLargeCustomDictionaryBuilder() { return getLargeCustomDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -668,7 +743,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder getLargeCust * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCustomDictionaryOrBuilder() { + public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder + getLargeCustomDictionaryOrBuilder() { if ((typeCase_ == 1) && (largeCustomDictionaryBuilder_ != null)) { return largeCustomDictionaryBuilder_.getMessageOrBuilder(); } else { @@ -679,6 +755,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCus } } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -686,26 +764,32 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCus * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryStats, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> getLargeCustomDictionaryFieldBuilder() { if (largeCustomDictionaryBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); } - largeCustomDictionaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.LargeCustomDictionaryStats, com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder>( + largeCustomDictionaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder>( (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return largeCustomDictionaryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -715,12 +799,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeStats) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeStats) private static final com.google.privacy.dlp.v2.StoredInfoTypeStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeStats(); } @@ -729,16 +813,16 @@ public static com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StoredInfoTypeStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StoredInfoTypeStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,6 +837,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java index 667339e8..7e12b338 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeStatsOrBuilder extends +public interface StoredInfoTypeStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + * * @return Whether the largeCustomDictionary field is set. */ boolean hasLargeCustomDictionary(); /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
* * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + * * @return The largeCustomDictionary. */ com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary(); /** + * + * *
    * StoredInfoType where findings are defined by a dictionary of phrases.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java index 1b0fd2ff..7ebdaaa4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Version of a StoredInfoType, including the configuration used to build it,
  * create timestamp, and current state.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeVersion}
  */
-public final class StoredInfoTypeVersion extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StoredInfoTypeVersion extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeVersion)
     StoredInfoTypeVersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StoredInfoTypeVersion.newBuilder() to construct.
   private StoredInfoTypeVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StoredInfoTypeVersion() {
     state_ = 0;
     errors_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private StoredInfoTypeVersion() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StoredInfoTypeVersion();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StoredInfoTypeVersion(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,74 +73,83 @@ private StoredInfoTypeVersion(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null;
-            if (config_ != null) {
-              subBuilder = config_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null;
+              if (config_ != null) {
+                subBuilder = config_.toBuilder();
+              }
+              config_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(config_);
+                config_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            config_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(config_);
-              config_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              errors_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              state_ = rawValue;
+              break;
             }
-            errors_.add(
-                input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
-            break;
-          }
-          case 42: {
-            com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                errors_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              errors_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry));
+              break;
             }
-            stats_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.StoredInfoTypeStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         errors_ = java.util.Collections.unmodifiableList(errors_);
@@ -132,27 +158,33 @@ private StoredInfoTypeVersion(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.StoredInfoTypeVersion.class, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion.class,
+            com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
   }
 
   public static final int CONFIG_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_;
   /**
+   *
+   *
    * 
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; + * * @return Whether the config field is set. */ @java.lang.Override @@ -160,18 +192,25 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; + * * @return The config. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { - return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } /** + * + * *
    * StoredInfoType configuration.
    * 
@@ -186,12 +225,15 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -199,12 +241,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ @java.lang.Override @@ -212,6 +257,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
@@ -227,35 +274,46 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 3;
   private int state_;
   /**
+   *
+   *
    * 
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return The state. */ - @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeState getState() { + @java.lang.Override + public com.google.privacy.dlp.v2.StoredInfoTypeState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.StoredInfoTypeState result = com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); + com.google.privacy.dlp.v2.StoredInfoTypeState result = + com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.StoredInfoTypeState.UNRECOGNIZED : result; } public static final int ERRORS_FIELD_NUMBER = 4; private java.util.List errors_; /** + * + * *
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -277,6 +335,8 @@ public java.util.List getErrorsList() {
     return errors_;
   }
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -294,11 +354,13 @@ public java.util.List getErrorsList() {
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getErrorsOrBuilderList() {
     return errors_;
   }
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -320,6 +382,8 @@ public int getErrorsCount() {
     return errors_.size();
   }
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -341,6 +405,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
     return errors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -358,19 +424,21 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
     return errors_.get(index);
   }
 
   public static final int STATS_FIELD_NUMBER = 5;
   private com.google.privacy.dlp.v2.StoredInfoTypeStats stats_;
   /**
+   *
+   *
    * 
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -378,18 +446,25 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * * @return The stats. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() { - return stats_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() + : stats_; } /** + * + * *
    * Statistics about this storedInfoType version.
    * 
@@ -402,6 +477,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -413,15 +489,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 (config_ != null) { output.writeMessage(1, getConfig()); } if (createTime_ != null) { output.writeMessage(2, getCreateTime()); } - if (state_ != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, state_); } for (int i = 0; i < errors_.size(); i++) { @@ -440,24 +517,21 @@ public int getSerializedSize() { size = 0; if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConfig()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } - if (state_ != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, state_); + if (state_ + != com.google.privacy.dlp.v2.StoredInfoTypeState.STORED_INFO_TYPE_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, errors_.get(i)); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -467,30 +541,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.StoredInfoTypeVersion)) { return super.equals(obj); } - com.google.privacy.dlp.v2.StoredInfoTypeVersion other = (com.google.privacy.dlp.v2.StoredInfoTypeVersion) obj; + com.google.privacy.dlp.v2.StoredInfoTypeVersion other = + (com.google.privacy.dlp.v2.StoredInfoTypeVersion) obj; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) 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 (state_ != other.state_) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -526,97 +597,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.StoredInfoTypeVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Version of a StoredInfoType, including the configuration used to build it,
    * create timestamp, and current state.
@@ -624,21 +702,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeVersion}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeVersion)
       com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.StoredInfoTypeVersion.class, com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
+              com.google.privacy.dlp.v2.StoredInfoTypeVersion.class,
+              com.google.privacy.dlp.v2.StoredInfoTypeVersion.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.StoredInfoTypeVersion.newBuilder()
@@ -646,17 +726,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getErrorsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -690,9 +770,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor;
     }
 
     @java.lang.Override
@@ -711,7 +791,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
-      com.google.privacy.dlp.v2.StoredInfoTypeVersion result = new com.google.privacy.dlp.v2.StoredInfoTypeVersion(this);
+      com.google.privacy.dlp.v2.StoredInfoTypeVersion result =
+          new com.google.privacy.dlp.v2.StoredInfoTypeVersion(this);
       int from_bitField0_ = bitField0_;
       if (configBuilder_ == null) {
         result.config_ = config_;
@@ -746,38 +827,39 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeVersion) {
-        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeVersion)other);
+        return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeVersion) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -785,7 +867,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other) {
-      if (other == com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.StoredInfoTypeVersion.getDefaultInstance())
+        return this;
       if (other.hasConfig()) {
         mergeConfig(other.getConfig());
       }
@@ -813,9 +896,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other)
             errorsBuilder_ = null;
             errors_ = other.errors_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            errorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getErrorsFieldBuilder() : null;
+            errorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getErrorsFieldBuilder()
+                    : null;
           } else {
             errorsBuilder_.addAllMessages(other.errors_);
           }
@@ -852,38 +936,52 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> configBuilder_;
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig,
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder,
+            com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>
+        configBuilder_;
     /**
+     *
+     *
      * 
      * StoredInfoType configuration.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
      * StoredInfoType configuration.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; + * * @return The config. */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -904,6 +1002,8 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -922,6 +1022,8 @@ public Builder setConfig( return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -932,7 +1034,9 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -944,6 +1048,8 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -962,6 +1068,8 @@ public Builder clearConfig() { return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -969,11 +1077,13 @@ public Builder clearConfig() { * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -984,11 +1094,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -996,14 +1109,17 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeConfig, + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeConfig, + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; @@ -1011,36 +1127,49 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde 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_; /** + * + * *
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @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(); } } /** + * + * *
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1062,6 +1191,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1069,8 +1200,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    public Builder setCreateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
         onChanged();
@@ -1081,6 +1211,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1092,7 +1224,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -1104,6 +1236,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1123,6 +1257,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1131,11 +1267,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1147,11 +1285,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1160,14 +1301,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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>
         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_;
@@ -1175,55 +1319,69 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return The state. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeState getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.StoredInfoTypeState result = com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); + com.google.privacy.dlp.v2.StoredInfoTypeState result = + com.google.privacy.dlp.v2.StoredInfoTypeState.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.StoredInfoTypeState.UNRECOGNIZED : result; } /** + * + * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1231,40 +1389,49 @@ public Builder setState(com.google.privacy.dlp.v2.StoredInfoTypeState value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Stored info type version state. Read-only, updated by the system
      * during dictionary creation.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> errorsBuilder_; + com.google.privacy.dlp.v2.Error, + com.google.privacy.dlp.v2.Error.Builder, + com.google.privacy.dlp.v2.ErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1289,6 +1456,8 @@ public java.util.List getErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1313,6 +1482,8 @@ public int getErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1337,6 +1508,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1353,8 +1526,7 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder setErrors(
-        int index, com.google.privacy.dlp.v2.Error value) {
+    public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1368,6 +1540,8 @@ public Builder setErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1384,8 +1558,7 @@ public Builder setErrors(
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder setErrors(
-        int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
+    public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.set(index, builderForValue.build());
@@ -1396,6 +1569,8 @@ public Builder setErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1426,6 +1601,8 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1442,8 +1619,7 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder addErrors(
-        int index, com.google.privacy.dlp.v2.Error value) {
+    public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1457,6 +1633,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1473,8 +1651,7 @@ public Builder addErrors(
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder addErrors(
-        com.google.privacy.dlp.v2.Error.Builder builderForValue) {
+    public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(builderForValue.build());
@@ -1485,6 +1662,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1501,8 +1680,7 @@ public Builder addErrors(
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public Builder addErrors(
-        int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
+    public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(index, builderForValue.build());
@@ -1513,6 +1691,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1533,8 +1713,7 @@ public Builder addAllErrors(
         java.lang.Iterable values) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, errors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
         onChanged();
       } else {
         errorsBuilder_.addAllMessages(values);
@@ -1542,6 +1721,8 @@ public Builder addAllErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1569,6 +1750,8 @@ public Builder clearErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1596,6 +1779,8 @@ public Builder removeErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1612,11 +1797,12 @@ public Builder removeErrors(int index) {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) {
       return getErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1633,14 +1819,16 @@ public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) {
       if (errorsBuilder_ == null) {
-        return errors_.get(index);  } else {
+        return errors_.get(index);
+      } else {
         return errorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1657,8 +1845,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public java.util.List 
-         getErrorsOrBuilderList() {
+    public java.util.List
+        getErrorsOrBuilderList() {
       if (errorsBuilder_ != null) {
         return errorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1666,6 +1854,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1683,10 +1873,12 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
     public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() {
-      return getErrorsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.Error.getDefaultInstance());
+      return getErrorsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.Error.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1703,12 +1895,13 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(
-        int index) {
-      return getErrorsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.Error.getDefaultInstance());
+    public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) {
+      return getErrorsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.Error.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1725,20 +1918,22 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(
      *
      * repeated .google.privacy.dlp.v2.Error errors = 4;
      */
-    public java.util.List 
-         getErrorsBuilderList() {
+    public java.util.List getErrorsBuilderList() {
       return getErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder> 
+            com.google.privacy.dlp.v2.Error,
+            com.google.privacy.dlp.v2.Error.Builder,
+            com.google.privacy.dlp.v2.ErrorOrBuilder>
         getErrorsFieldBuilder() {
       if (errorsBuilder_ == null) {
-        errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.Error, com.google.privacy.dlp.v2.Error.Builder, com.google.privacy.dlp.v2.ErrorOrBuilder>(
-                errors_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        errorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.Error,
+                com.google.privacy.dlp.v2.Error.Builder,
+                com.google.privacy.dlp.v2.ErrorOrBuilder>(
+                errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         errors_ = null;
       }
       return errorsBuilder_;
@@ -1746,34 +1941,47 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(
 
     private com.google.privacy.dlp.v2.StoredInfoTypeStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.StoredInfoTypeStats, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> statsBuilder_;
+            com.google.privacy.dlp.v2.StoredInfoTypeStats,
+            com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder,
+            com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>
+        statsBuilder_;
     /**
+     *
+     *
      * 
      * Statistics about this storedInfoType version.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * * @return The stats. */ public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1794,14 +2002,15 @@ public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; */ - public Builder setStats( - com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder builderForValue) { + public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -1812,6 +2021,8 @@ public Builder setStats( return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1822,7 +2033,9 @@ public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -1834,6 +2047,8 @@ public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1852,6 +2067,8 @@ public Builder clearStats() { return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1859,11 +2076,13 @@ public Builder clearStats() { * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; */ public com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1874,11 +2093,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1886,21 +2108,24 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeStats, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> + com.google.privacy.dlp.v2.StoredInfoTypeStats, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeStats, com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeStats, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1910,12 +2135,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeVersion) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeVersion) private static final com.google.privacy.dlp.v2.StoredInfoTypeVersion DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeVersion(); } @@ -1924,16 +2149,16 @@ public static com.google.privacy.dlp.v2.StoredInfoTypeVersion getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StoredInfoTypeVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StoredInfoTypeVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1948,6 +2173,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.StoredInfoTypeVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java index 0a654f6e..2bc0782d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface StoredInfoTypeVersionOrBuilder extends +public interface StoredInfoTypeVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * StoredInfoType configuration.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 1; + * * @return The config. */ com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig(); /** + * + * *
    * StoredInfoType configuration.
    * 
@@ -35,26 +59,34 @@ public interface StoredInfoTypeVersionOrBuilder extends com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder(); /** + * + * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Create timestamp of the version. Read-only, determined by the system
    * when the version is created.
@@ -65,27 +97,35 @@ public interface StoredInfoTypeVersionOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Stored info type version state. Read-only, updated by the system
    * during dictionary creation.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * * @return The state. */ com.google.privacy.dlp.v2.StoredInfoTypeState getState(); /** + * + * *
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -102,9 +142,10 @@ public interface StoredInfoTypeVersionOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
-  java.util.List 
-      getErrorsList();
+  java.util.List getErrorsList();
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -123,6 +164,8 @@ public interface StoredInfoTypeVersionOrBuilder extends
    */
   com.google.privacy.dlp.v2.Error getErrors(int index);
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -141,6 +184,8 @@ public interface StoredInfoTypeVersionOrBuilder extends
    */
   int getErrorsCount();
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -157,9 +202,10 @@ public interface StoredInfoTypeVersionOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
-  java.util.List 
-      getErrorsOrBuilderList();
+  java.util.List getErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Errors that occurred when creating this storedInfoType version, or
    * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -176,28 +222,35 @@ public interface StoredInfoTypeVersionOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.Error errors = 4;
    */
-  com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Statistics about this storedInfoType version.
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * * @return The stats. */ com.google.privacy.dlp.v2.StoredInfoTypeStats getStats(); /** + * + * *
    * Statistics about this storedInfoType version.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java index 38df65a4..d9bcbe6c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredType.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A reference to a StoredInfoType to use with scanning.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredType} */ -public final class StoredType extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StoredType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredType) StoredTypeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StoredType.newBuilder() to construct. private StoredType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StoredType() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StoredType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StoredType( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,60 +70,67 @@ private StoredType( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + name_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StoredType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredType.class, com.google.privacy.dlp.v2.StoredType.Builder.class); + com.google.privacy.dlp.v2.StoredType.class, + com.google.privacy.dlp.v2.StoredType.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -114,6 +138,7 @@ private StoredType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -122,14 +147,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; } } /** + * + * *
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -137,16 +163,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,12 +182,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -170,12 +198,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ @java.lang.Override @@ -183,6 +214,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
@@ -196,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -207,8 +241,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -228,8 +261,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,19 +271,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.privacy.dlp.v2.StoredType)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.StoredType other = (com.google.privacy.dlp.v2.StoredType) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -275,118 +305,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.StoredType parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.privacy.dlp.v2.StoredType parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredType 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.privacy.dlp.v2.StoredType parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.StoredType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.StoredType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 reference to a StoredInfoType to use with scanning.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredType} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredType) com.google.privacy.dlp.v2.StoredTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StoredType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StoredType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.StoredType.class, com.google.privacy.dlp.v2.StoredType.Builder.class); + com.google.privacy.dlp.v2.StoredType.class, + com.google.privacy.dlp.v2.StoredType.Builder.class); } // Construct using com.google.privacy.dlp.v2.StoredType.newBuilder() @@ -394,16 +432,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_StoredType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_StoredType_descriptor; } @java.lang.Override @@ -455,38 +492,39 @@ public com.google.privacy.dlp.v2.StoredType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.StoredType) { - return mergeFrom((com.google.privacy.dlp.v2.StoredType)other); + return mergeFrom((com.google.privacy.dlp.v2.StoredType) other); } else { super.mergeFrom(other); return this; @@ -533,6 +571,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -540,13 +580,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; @@ -555,6 +595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -562,15 +604,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 { @@ -578,6 +619,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -585,20 +628,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -606,15 +651,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -622,16 +670,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -639,36 +687,49 @@ public Builder setNameBytes( 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_; /** + * + * *
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @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(); } } /** + * + * *
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -690,6 +751,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -697,8 +760,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    public Builder setCreateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
         onChanged();
@@ -709,6 +771,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -720,7 +784,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
         if (createTime_ != null) {
           createTime_ =
-            com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
         } else {
           createTime_ = value;
         }
@@ -732,6 +796,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -751,6 +817,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -759,11 +827,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -775,11 +845,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamp indicating when the version of the `StoredInfoType` used for
      * inspection was created. Output-only field, populated by the system.
@@ -788,21 +861,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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>
         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);
     }
 
@@ -812,12 +888,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredType)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredType)
   private static final com.google.privacy.dlp.v2.StoredType DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredType();
   }
@@ -826,16 +902,16 @@ public static com.google.privacy.dlp.v2.StoredType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StoredType parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new StoredType(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StoredType parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new StoredType(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -850,6 +926,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.StoredType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
index c72c5d38..89f0deea 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredTypeOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface StoredTypeOrBuilder extends
+public interface StoredTypeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredType)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -15,10 +33,13 @@ public interface StoredTypeOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name of the requested `StoredInfoType`, for example
    * `organizations/433245324/storedInfoTypes/432452342` or
@@ -26,32 +47,40 @@ public interface StoredTypeOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Timestamp indicating when the version of the `StoredInfoType` used for
    * inspection was created. Output-only field, populated by the system.
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
similarity index 76%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
index 99f8d45c..6f93ddc6 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
+ *
+ *
  * 
  * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
  * https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Table}
  */
-public final class Table extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Table extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Table)
     TableOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Table.newBuilder() to construct.
   private Table(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Table() {
     headers_ = java.util.Collections.emptyList();
     rows_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Table();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Table(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,38 +74,40 @@ private Table(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              headers_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
+              break;
             }
-            headers_.add(
-                input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              rows_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                rows_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              rows_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Table.Row.parser(), extensionRegistry));
+              break;
             }
-            rows_.add(
-                input.readMessage(com.google.privacy.dlp.v2.Table.Row.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         headers_ = java.util.Collections.unmodifiableList(headers_);
@@ -100,33 +119,39 @@ private Table(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Table_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Table.class, com.google.privacy.dlp.v2.Table.Builder.class);
   }
 
-  public interface RowOrBuilder extends
+  public interface RowOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Table.Row)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Individual cells.
      * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
      * Individual cells.
      * 
@@ -135,6 +160,8 @@ public interface RowOrBuilder extends */ com.google.privacy.dlp.v2.Value getValues(int index); /** + * + * *
      * Individual cells.
      * 
@@ -143,56 +170,60 @@ public interface RowOrBuilder extends */ int getValuesCount(); /** + * + * *
      * Individual cells.
      * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - java.util.List - getValuesOrBuilderList(); + java.util.List getValuesOrBuilderList(); /** + * + * *
      * Individual cells.
      * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( - int index); + com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index); } /** + * + * *
    * Values of the row.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Table.Row} */ - public static final class Row extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Row extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Table.Row) RowOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Row.newBuilder() to construct. private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Row() { values_ = 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 Row(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Row( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -212,29 +243,29 @@ private Row( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + values_.add( + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); + break; } - values_.add( - input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { values_ = java.util.Collections.unmodifiableList(values_); @@ -243,22 +274,27 @@ private Row( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Table_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Table.Row.class, com.google.privacy.dlp.v2.Table.Row.Builder.class); + com.google.privacy.dlp.v2.Table.Row.class, + com.google.privacy.dlp.v2.Table.Row.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** + * + * *
      * Individual cells.
      * 
@@ -270,6 +306,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
      * Individual cells.
      * 
@@ -277,11 +315,13 @@ public java.util.List getValuesList() { * repeated .google.privacy.dlp.v2.Value values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** + * + * *
      * Individual cells.
      * 
@@ -293,6 +333,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Individual cells.
      * 
@@ -304,6 +346,8 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { return values_.get(index); } /** + * + * *
      * Individual cells.
      * 
@@ -311,12 +355,12 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { * repeated .google.privacy.dlp.v2.Value values = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +372,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -343,8 +386,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,15 +396,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.privacy.dlp.v2.Table.Row)) { return super.equals(obj); } com.google.privacy.dlp.v2.Table.Row other = (com.google.privacy.dlp.v2.Table.Row) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -383,88 +424,93 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Table.Row parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table.Row parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Table.Row parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table.Row 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.privacy.dlp.v2.Table.Row parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Table.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Table.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -474,27 +520,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Values of the row.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.Table.Row} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Table.Row) com.google.privacy.dlp.v2.Table.RowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Table_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Table_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Table.Row.class, com.google.privacy.dlp.v2.Table.Row.Builder.class); + com.google.privacy.dlp.v2.Table.Row.class, + com.google.privacy.dlp.v2.Table.Row.Builder.class); } // Construct using com.google.privacy.dlp.v2.Table.Row.newBuilder() @@ -502,17 +553,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_Row_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Table_Row_descriptor; } @java.lang.Override @@ -566,38 +617,41 @@ public com.google.privacy.dlp.v2.Table.Row buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.Table.Row) { - return mergeFrom((com.google.privacy.dlp.v2.Table.Row)other); + return mergeFrom((com.google.privacy.dlp.v2.Table.Row) other); } else { super.mergeFrom(other); return this; @@ -624,9 +678,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Table.Row other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValuesFieldBuilder() : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValuesFieldBuilder() + : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -660,21 +715,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> valuesBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + valuesBuilder_; /** + * + * *
        * Individual cells.
        * 
@@ -689,6 +751,8 @@ public java.util.List getValuesList() { } } /** + * + * *
        * Individual cells.
        * 
@@ -703,6 +767,8 @@ public int getValuesCount() { } } /** + * + * *
        * Individual cells.
        * 
@@ -717,14 +783,15 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { } } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder setValues( - int index, com.google.privacy.dlp.v2.Value value) { + public Builder setValues(int index, com.google.privacy.dlp.v2.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -738,14 +805,15 @@ public Builder setValues( return this; } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder setValues( - int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setValues(int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); @@ -756,6 +824,8 @@ public Builder setValues( return this; } /** + * + * *
        * Individual cells.
        * 
@@ -776,14 +846,15 @@ public Builder addValues(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder addValues( - int index, com.google.privacy.dlp.v2.Value value) { + public Builder addValues(int index, com.google.privacy.dlp.v2.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -797,14 +868,15 @@ public Builder addValues( return this; } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder addValues( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addValues(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -815,14 +887,15 @@ public Builder addValues( return this; } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public Builder addValues( - int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder addValues(int index, com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); @@ -833,6 +906,8 @@ public Builder addValues( return this; } /** + * + * *
        * Individual cells.
        * 
@@ -843,8 +918,7 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -852,6 +926,8 @@ public Builder addAllValues( return this; } /** + * + * *
        * Individual cells.
        * 
@@ -869,6 +945,8 @@ public Builder clearValues() { return this; } /** + * + * *
        * Individual cells.
        * 
@@ -886,39 +964,44 @@ public Builder removeValues(int index) { return this; } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder getValuesBuilder( - int index) { + public com.google.privacy.dlp.v2.Value.Builder getValuesBuilder(int index) { return getValuesFieldBuilder().getBuilder(index); } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { if (valuesBuilder_ == null) { - return values_.get(index); } else { + return values_.get(index); + } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,6 +1009,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( } } /** + * + * *
        * Individual cells.
        * 
@@ -933,46 +1018,52 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( * repeated .google.privacy.dlp.v2.Value values = 1; */ public com.google.privacy.dlp.v2.Value.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Value.getDefaultInstance()); + return getValuesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public com.google.privacy.dlp.v2.Value.Builder addValuesBuilder( - int index) { - return getValuesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); + public com.google.privacy.dlp.v2.Value.Builder addValuesBuilder(int index) { + return getValuesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Value.getDefaultInstance()); } /** + * + * *
        * Individual cells.
        * 
* * repeated .google.privacy.dlp.v2.Value values = 1; */ - public java.util.List - getValuesBuilderList() { + public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - values_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + valuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -985,12 +1076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Table.Row) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Table.Row) private static final com.google.privacy.dlp.v2.Table.Row DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Table.Row(); } @@ -999,16 +1090,16 @@ public static com.google.privacy.dlp.v2.Table.Row getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Row parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Row(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1023,12 +1114,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Table.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int HEADERS_FIELD_NUMBER = 1; private java.util.List headers_; /** + * + * *
    * Headers of the table.
    * 
@@ -1040,6 +1132,8 @@ public java.util.List getHeadersList() { return headers_; } /** + * + * *
    * Headers of the table.
    * 
@@ -1047,11 +1141,13 @@ public java.util.List getHeadersList() { * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getHeadersOrBuilderList() { return headers_; } /** + * + * *
    * Headers of the table.
    * 
@@ -1063,6 +1159,8 @@ public int getHeadersCount() { return headers_.size(); } /** + * + * *
    * Headers of the table.
    * 
@@ -1074,6 +1172,8 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { return headers_.get(index); } /** + * + * *
    * Headers of the table.
    * 
@@ -1081,14 +1181,15 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) { return headers_.get(index); } public static final int ROWS_FIELD_NUMBER = 2; private java.util.List rows_; /** + * + * *
    * Rows of the table.
    * 
@@ -1100,6 +1201,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Rows of the table.
    * 
@@ -1107,11 +1210,13 @@ public java.util.List getRowsList() { * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** + * + * *
    * Rows of the table.
    * 
@@ -1123,6 +1228,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of the table.
    * 
@@ -1134,6 +1241,8 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of the table.
    * 
@@ -1141,12 +1250,12 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) { return rows_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1158,8 +1267,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < headers_.size(); i++) { output.writeMessage(1, headers_.get(i)); } @@ -1176,12 +1284,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < headers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, headers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, headers_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1191,17 +1297,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.privacy.dlp.v2.Table)) { return super.equals(obj); } com.google.privacy.dlp.v2.Table other = (com.google.privacy.dlp.v2.Table) obj; - if (!getHeadersList() - .equals(other.getHeadersList())) return false; - if (!getRowsList() - .equals(other.getRowsList())) return false; + if (!getHeadersList().equals(other.getHeadersList())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1226,97 +1330,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Table parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Table parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Table parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Table parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Table parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Table parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Table parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table 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.privacy.dlp.v2.Table parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Table parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Table parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Table prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
    * https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
@@ -1325,19 +1435,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Table}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Table)
       com.google.privacy.dlp.v2.TableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Table_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Table_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Table.class, com.google.privacy.dlp.v2.Table.Builder.class);
     }
@@ -1347,18 +1458,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getHeadersFieldBuilder();
         getRowsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1378,9 +1489,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Table_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Table_descriptor;
     }
 
     @java.lang.Override
@@ -1427,38 +1538,39 @@ public com.google.privacy.dlp.v2.Table buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Table) {
-        return mergeFrom((com.google.privacy.dlp.v2.Table)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Table) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1485,9 +1597,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Table other) {
             headersBuilder_ = null;
             headers_ = other.headers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            headersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getHeadersFieldBuilder() : null;
+            headersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getHeadersFieldBuilder()
+                    : null;
           } else {
             headersBuilder_.addAllMessages(other.headers_);
           }
@@ -1511,9 +1624,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Table other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rowsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRowsFieldBuilder() : null;
+            rowsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRowsFieldBuilder()
+                    : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -1547,21 +1661,28 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List headers_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureHeadersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         headers_ = new java.util.ArrayList(headers_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> headersBuilder_;
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
+        headersBuilder_;
 
     /**
+     *
+     *
      * 
      * Headers of the table.
      * 
@@ -1576,6 +1697,8 @@ public java.util.List getHeadersList() { } } /** + * + * *
      * Headers of the table.
      * 
@@ -1590,6 +1713,8 @@ public int getHeadersCount() { } } /** + * + * *
      * Headers of the table.
      * 
@@ -1604,14 +1729,15 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { } } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public Builder setHeaders( - int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder setHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { if (headersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1625,6 +1751,8 @@ public Builder setHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1643,6 +1771,8 @@ public Builder setHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1663,14 +1793,15 @@ public Builder addHeaders(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public Builder addHeaders( - int index, com.google.privacy.dlp.v2.FieldId value) { + public Builder addHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { if (headersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1684,14 +1815,15 @@ public Builder addHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public Builder addHeaders( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder addHeaders(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (headersBuilder_ == null) { ensureHeadersIsMutable(); headers_.add(builderForValue.build()); @@ -1702,6 +1834,8 @@ public Builder addHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1720,6 +1854,8 @@ public Builder addHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1730,8 +1866,7 @@ public Builder addAllHeaders( java.lang.Iterable values) { if (headersBuilder_ == null) { ensureHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, headers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, headers_); onChanged(); } else { headersBuilder_.addAllMessages(values); @@ -1739,6 +1874,8 @@ public Builder addAllHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1756,6 +1893,8 @@ public Builder clearHeaders() { return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1773,39 +1912,44 @@ public Builder removeHeaders(int index) { return this; } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public com.google.privacy.dlp.v2.FieldId.Builder getHeadersBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldId.Builder getHeadersBuilder(int index) { return getHeadersFieldBuilder().getBuilder(index); } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( - int index) { + public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) { if (headersBuilder_ == null) { - return headers_.get(index); } else { + return headers_.get(index); + } else { return headersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public java.util.List - getHeadersOrBuilderList() { + public java.util.List + getHeadersOrBuilderList() { if (headersBuilder_ != null) { return headersBuilder_.getMessageOrBuilderList(); } else { @@ -1813,6 +1957,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( } } /** + * + * *
      * Headers of the table.
      * 
@@ -1820,60 +1966,71 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder addHeadersBuilder() { - return getHeadersFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + return getHeadersFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public com.google.privacy.dlp.v2.FieldId.Builder addHeadersBuilder( - int index) { - return getHeadersFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + public com.google.privacy.dlp.v2.FieldId.Builder addHeadersBuilder(int index) { + return getHeadersFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); } /** + * + * *
      * Headers of the table.
      * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - public java.util.List - getHeadersBuilderList() { + public java.util.List getHeadersBuilderList() { return getHeadersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getHeadersFieldBuilder() { if (headersBuilder_ == null) { - headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - headers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + headersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + headers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); headers_ = null; } return headersBuilder_; } private java.util.List rows_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Table.Row, com.google.privacy.dlp.v2.Table.Row.Builder, com.google.privacy.dlp.v2.Table.RowOrBuilder> rowsBuilder_; + com.google.privacy.dlp.v2.Table.Row, + com.google.privacy.dlp.v2.Table.Row.Builder, + com.google.privacy.dlp.v2.Table.RowOrBuilder> + rowsBuilder_; /** + * + * *
      * Rows of the table.
      * 
@@ -1888,6 +2045,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Rows of the table.
      * 
@@ -1902,6 +2061,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of the table.
      * 
@@ -1916,14 +2077,15 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { } } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder setRows( - int index, com.google.privacy.dlp.v2.Table.Row value) { + public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1937,14 +2099,15 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder setRows( - int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { + public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.set(index, builderForValue.build()); @@ -1955,6 +2118,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -1975,14 +2140,15 @@ public Builder addRows(com.google.privacy.dlp.v2.Table.Row value) { return this; } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder addRows( - int index, com.google.privacy.dlp.v2.Table.Row value) { + public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1996,14 +2162,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder addRows( - com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { + public Builder addRows(com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -2014,14 +2181,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public Builder addRows( - int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { + public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(index, builderForValue.build()); @@ -2032,6 +2200,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -2042,8 +2212,7 @@ 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); @@ -2051,6 +2220,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -2068,6 +2239,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -2085,39 +2258,44 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public com.google.privacy.dlp.v2.Table.Row.Builder getRowsBuilder( - int index) { + public com.google.privacy.dlp.v2.Table.Row.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) { if (rowsBuilder_ == null) { - return rows_.get(index); } else { + return rows_.get(index); + } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2125,6 +2303,8 @@ public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of the table.
      * 
@@ -2132,49 +2312,54 @@ public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ public com.google.privacy.dlp.v2.Table.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); + return getRowsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public com.google.privacy.dlp.v2.Table.Row.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); + public com.google.privacy.dlp.v2.Table.Row.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.Table.Row.getDefaultInstance()); } /** + * + * *
      * Rows of the table.
      * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - public java.util.List - getRowsBuilderList() { + public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Table.Row, com.google.privacy.dlp.v2.Table.Row.Builder, com.google.privacy.dlp.v2.Table.RowOrBuilder> + com.google.privacy.dlp.v2.Table.Row, + com.google.privacy.dlp.v2.Table.Row.Builder, + com.google.privacy.dlp.v2.Table.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.Table.Row, com.google.privacy.dlp.v2.Table.Row.Builder, com.google.privacy.dlp.v2.Table.RowOrBuilder>( - rows_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.Table.Row, + com.google.privacy.dlp.v2.Table.Row.Builder, + com.google.privacy.dlp.v2.Table.RowOrBuilder>( + rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2184,12 +2369,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Table) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Table) private static final com.google.privacy.dlp.v2.Table DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Table(); } @@ -2198,16 +2383,16 @@ public static com.google.privacy.dlp.v2.Table getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Table parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Table(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser
PARSER = + new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Table parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Table(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -2222,6 +2407,4 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.privacy.dlp.v2.Table getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java index 557c35e2..5e1aacbc 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Location of a finding within a table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TableLocation} */ -public final class TableLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TableLocation) TableLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableLocation.newBuilder() to construct. private TableLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableLocation() { - } + + private TableLocation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,50 @@ private TableLocation( case 0: done = true; break; - case 8: { - - rowIndex_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + rowIndex_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableLocation.class, com.google.privacy.dlp.v2.TableLocation.Builder.class); + com.google.privacy.dlp.v2.TableLocation.class, + com.google.privacy.dlp.v2.TableLocation.Builder.class); } public static final int ROW_INDEX_FIELD_NUMBER = 1; private long rowIndex_; /** + * + * *
    * The zero-based index of the row where the finding is located. Only
    * populated for resources that have a natural ordering, not BigQuery. In
@@ -102,6 +122,7 @@ private TableLocation(
    * 
* * int64 row_index = 1; + * * @return The rowIndex. */ @java.lang.Override @@ -110,6 +131,7 @@ public long getRowIndex() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rowIndex_ != 0L) { output.writeInt64(1, rowIndex_); } @@ -136,8 +157,7 @@ public int getSerializedSize() { size = 0; if (rowIndex_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, rowIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowIndex_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -147,15 +167,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.privacy.dlp.v2.TableLocation)) { return super.equals(obj); } com.google.privacy.dlp.v2.TableLocation other = (com.google.privacy.dlp.v2.TableLocation) obj; - if (getRowIndex() - != other.getRowIndex()) return false; + if (getRowIndex() != other.getRowIndex()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -168,125 +187,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowIndex()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowIndex()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.TableLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TableLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TableLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TableLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TableLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TableLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Location of a finding within a table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TableLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TableLocation) com.google.privacy.dlp.v2.TableLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableLocation.class, com.google.privacy.dlp.v2.TableLocation.Builder.class); + com.google.privacy.dlp.v2.TableLocation.class, + com.google.privacy.dlp.v2.TableLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.TableLocation.newBuilder() @@ -294,16 +321,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableLocation_descriptor; } @java.lang.Override @@ -334,7 +360,8 @@ public com.google.privacy.dlp.v2.TableLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.TableLocation buildPartial() { - com.google.privacy.dlp.v2.TableLocation result = new com.google.privacy.dlp.v2.TableLocation(this); + com.google.privacy.dlp.v2.TableLocation result = + new com.google.privacy.dlp.v2.TableLocation(this); result.rowIndex_ = rowIndex_; onBuilt(); return result; @@ -344,38 +371,39 @@ public com.google.privacy.dlp.v2.TableLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TableLocation) { - return mergeFrom((com.google.privacy.dlp.v2.TableLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.TableLocation) other); } else { super.mergeFrom(other); return this; @@ -416,8 +444,10 @@ public Builder mergeFrom( return this; } - private long rowIndex_ ; + private long rowIndex_; /** + * + * *
      * The zero-based index of the row where the finding is located. Only
      * populated for resources that have a natural ordering, not BigQuery. In
@@ -428,6 +458,7 @@ public Builder mergeFrom(
      * 
* * int64 row_index = 1; + * * @return The rowIndex. */ @java.lang.Override @@ -435,6 +466,8 @@ public long getRowIndex() { return rowIndex_; } /** + * + * *
      * The zero-based index of the row where the finding is located. Only
      * populated for resources that have a natural ordering, not BigQuery. In
@@ -445,16 +478,19 @@ public long getRowIndex() {
      * 
* * int64 row_index = 1; + * * @param value The rowIndex to set. * @return This builder for chaining. */ public Builder setRowIndex(long value) { - + rowIndex_ = value; onChanged(); return this; } /** + * + * *
      * The zero-based index of the row where the finding is located. Only
      * populated for resources that have a natural ordering, not BigQuery. In
@@ -465,17 +501,18 @@ public Builder setRowIndex(long value) {
      * 
* * int64 row_index = 1; + * * @return This builder for chaining. */ public Builder clearRowIndex() { - + rowIndex_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TableLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableLocation) private static final com.google.privacy.dlp.v2.TableLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TableLocation(); } @@ -499,16 +536,16 @@ public static com.google.privacy.dlp.v2.TableLocation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TableLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TableLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,6 +560,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TableLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java similarity index 54% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java index c823d019..1368fa25 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TableLocationOrBuilder extends +public interface TableLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The zero-based index of the row where the finding is located. Only
    * populated for resources that have a natural ordering, not BigQuery. In
@@ -18,6 +36,7 @@ public interface TableLocationOrBuilder extends
    * 
* * int64 row_index = 1; + * * @return The rowIndex. */ long getRowIndex(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java index 6bcaed64..3a656e15 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptions.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Instructions regarding the table content being inspected.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TableOptions} */ -public final class TableOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TableOptions) TableOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableOptions.newBuilder() to construct. private TableOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableOptions() { identifyingFields_ = 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 TableOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,29 @@ private TableOptions( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identifyingFields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + identifyingFields_.add( + input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); + break; } - identifyingFields_.add( - input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { identifyingFields_ = java.util.Collections.unmodifiableList(identifyingFields_); @@ -85,22 +102,27 @@ private TableOptions( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_TableOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableOptions.class, com.google.privacy.dlp.v2.TableOptions.Builder.class); + com.google.privacy.dlp.v2.TableOptions.class, + com.google.privacy.dlp.v2.TableOptions.Builder.class); } public static final int IDENTIFYING_FIELDS_FIELD_NUMBER = 1; private java.util.List identifyingFields_; /** + * + * *
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -115,6 +137,8 @@ public java.util.List getIdentifyingFieldsLis
     return identifyingFields_;
   }
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -125,11 +149,13 @@ public java.util.List getIdentifyingFieldsLis
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getIdentifyingFieldsOrBuilderList() {
     return identifyingFields_;
   }
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -144,6 +170,8 @@ public int getIdentifyingFieldsCount() {
     return identifyingFields_.size();
   }
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -158,6 +186,8 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
     return identifyingFields_.get(index);
   }
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -168,12 +198,12 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
     return identifyingFields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,8 +215,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < identifyingFields_.size(); i++) {
       output.writeMessage(1, identifyingFields_.get(i));
     }
@@ -200,8 +229,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < identifyingFields_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, identifyingFields_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, identifyingFields_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -211,15 +240,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.privacy.dlp.v2.TableOptions)) {
       return super.equals(obj);
     }
     com.google.privacy.dlp.v2.TableOptions other = (com.google.privacy.dlp.v2.TableOptions) obj;
 
-    if (!getIdentifyingFieldsList()
-        .equals(other.getIdentifyingFieldsList())) return false;
+    if (!getIdentifyingFieldsList().equals(other.getIdentifyingFieldsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -240,118 +268,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.TableOptions parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions 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.privacy.dlp.v2.TableOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.TableOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.TableOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Instructions regarding the table content being inspected.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TableOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TableOptions) com.google.privacy.dlp.v2.TableOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_TableOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_TableOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableOptions.class, com.google.privacy.dlp.v2.TableOptions.Builder.class); + com.google.privacy.dlp.v2.TableOptions.class, + com.google.privacy.dlp.v2.TableOptions.Builder.class); } // Construct using com.google.privacy.dlp.v2.TableOptions.newBuilder() @@ -359,17 +396,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIdentifyingFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_TableOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpStorage + .internal_static_google_privacy_dlp_v2_TableOptions_descriptor; } @java.lang.Override @@ -404,7 +441,8 @@ public com.google.privacy.dlp.v2.TableOptions build() { @java.lang.Override public com.google.privacy.dlp.v2.TableOptions buildPartial() { - com.google.privacy.dlp.v2.TableOptions result = new com.google.privacy.dlp.v2.TableOptions(this); + com.google.privacy.dlp.v2.TableOptions result = + new com.google.privacy.dlp.v2.TableOptions(this); int from_bitField0_ = bitField0_; if (identifyingFieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -423,38 +461,39 @@ public com.google.privacy.dlp.v2.TableOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TableOptions) { - return mergeFrom((com.google.privacy.dlp.v2.TableOptions)other); + return mergeFrom((com.google.privacy.dlp.v2.TableOptions) other); } else { super.mergeFrom(other); return this; @@ -481,9 +520,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableOptions other) { identifyingFieldsBuilder_ = null; identifyingFields_ = other.identifyingFields_; bitField0_ = (bitField0_ & ~0x00000001); - identifyingFieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIdentifyingFieldsFieldBuilder() : null; + identifyingFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIdentifyingFieldsFieldBuilder() + : null; } else { identifyingFieldsBuilder_.addAllMessages(other.identifyingFields_); } @@ -517,21 +557,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List identifyingFields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIdentifyingFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identifyingFields_ = new java.util.ArrayList(identifyingFields_); + identifyingFields_ = + new java.util.ArrayList(identifyingFields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> identifyingFieldsBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + identifyingFieldsBuilder_; /** + * + * *
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -549,6 +597,8 @@ public java.util.List getIdentifyingFieldsLis
       }
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -566,6 +616,8 @@ public int getIdentifyingFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -583,6 +635,8 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -592,8 +646,7 @@ public com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public Builder setIdentifyingFields(
-        int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder setIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,6 +660,8 @@ public Builder setIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -628,6 +683,8 @@ public Builder setIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -651,6 +708,8 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -660,8 +719,7 @@ public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId value) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public Builder addIdentifyingFields(
-        int index, com.google.privacy.dlp.v2.FieldId value) {
+    public Builder addIdentifyingFields(int index, com.google.privacy.dlp.v2.FieldId value) {
       if (identifyingFieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -675,6 +733,8 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -684,8 +744,7 @@ public Builder addIdentifyingFields(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public Builder addIdentifyingFields(
-        com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
+    public Builder addIdentifyingFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
         identifyingFields_.add(builderForValue.build());
@@ -696,6 +755,8 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -717,6 +778,8 @@ public Builder addIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -730,8 +793,7 @@ public Builder addAllIdentifyingFields(
         java.lang.Iterable values) {
       if (identifyingFieldsBuilder_ == null) {
         ensureIdentifyingFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, identifyingFields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identifyingFields_);
         onChanged();
       } else {
         identifyingFieldsBuilder_.addAllMessages(values);
@@ -739,6 +801,8 @@ public Builder addAllIdentifyingFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -759,6 +823,8 @@ public Builder clearIdentifyingFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -779,6 +845,8 @@ public Builder removeIdentifyingFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -788,11 +856,12 @@ public Builder removeIdentifyingFields(int index) {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(int index) {
       return getIdentifyingFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -802,14 +871,16 @@ public com.google.privacy.dlp.v2.FieldId.Builder getIdentifyingFieldsBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
-        int index) {
+    public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index) {
       if (identifyingFieldsBuilder_ == null) {
-        return identifyingFields_.get(index);  } else {
+        return identifyingFields_.get(index);
+      } else {
         return identifyingFieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -819,8 +890,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public java.util.List 
-         getIdentifyingFieldsOrBuilderList() {
+    public java.util.List
+        getIdentifyingFieldsOrBuilderList() {
       if (identifyingFieldsBuilder_ != null) {
         return identifyingFieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -828,6 +899,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -838,10 +911,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
     public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
-      return getIdentifyingFieldsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+      return getIdentifyingFieldsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -851,12 +926,13 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder() {
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
-        int index) {
-      return getIdentifyingFieldsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
+    public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int index) {
+      return getIdentifyingFieldsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The columns that are the primary keys for table objects included in
      * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -866,16 +942,22 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
      *
      * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
      */
-    public java.util.List 
-         getIdentifyingFieldsBuilderList() {
+    public java.util.List
+        getIdentifyingFieldsBuilderList() {
       return getIdentifyingFieldsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> 
+            com.google.privacy.dlp.v2.FieldId,
+            com.google.privacy.dlp.v2.FieldId.Builder,
+            com.google.privacy.dlp.v2.FieldIdOrBuilder>
         getIdentifyingFieldsFieldBuilder() {
       if (identifyingFieldsBuilder_ == null) {
-        identifyingFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>(
+        identifyingFieldsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldId,
+                com.google.privacy.dlp.v2.FieldId.Builder,
+                com.google.privacy.dlp.v2.FieldIdOrBuilder>(
                 identifyingFields_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -884,9 +966,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
       }
       return identifyingFieldsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -896,12 +978,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TableOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableOptions)
   private static final com.google.privacy.dlp.v2.TableOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TableOptions();
   }
@@ -910,16 +992,16 @@ public static com.google.privacy.dlp.v2.TableOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TableOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TableOptions(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TableOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TableOptions(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -934,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.privacy.dlp.v2.TableOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
index 0c70d736..7717727e 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOptionsOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface TableOptionsOrBuilder extends
+public interface TableOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -17,9 +35,10 @@ public interface TableOptionsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
-  java.util.List 
-      getIdentifyingFieldsList();
+  java.util.List getIdentifyingFieldsList();
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -31,6 +50,8 @@ public interface TableOptionsOrBuilder extends
    */
   com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index);
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -42,6 +63,8 @@ public interface TableOptionsOrBuilder extends
    */
   int getIdentifyingFieldsCount();
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -51,9 +74,11 @@ public interface TableOptionsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
-  java.util.List 
+  java.util.List
       getIdentifyingFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * The columns that are the primary keys for table objects included in
    * ContentItem. A copy of this cell's value will stored alongside alongside
@@ -63,6 +88,5 @@ public interface TableOptionsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1;
    */
-  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
-      int index);
+  com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
similarity index 67%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
index 5608646c..8490769d 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-public interface TableOrBuilder extends
+public interface TableOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Table)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Headers of the table.
    * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - java.util.List - getHeadersList(); + java.util.List getHeadersList(); /** + * + * *
    * Headers of the table.
    * 
@@ -25,6 +44,8 @@ public interface TableOrBuilder extends */ com.google.privacy.dlp.v2.FieldId getHeaders(int index); /** + * + * *
    * Headers of the table.
    * 
@@ -33,34 +54,39 @@ public interface TableOrBuilder extends */ int getHeadersCount(); /** + * + * *
    * Headers of the table.
    * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - java.util.List - getHeadersOrBuilderList(); + java.util.List getHeadersOrBuilderList(); /** + * + * *
    * Headers of the table.
    * 
* * repeated .google.privacy.dlp.v2.FieldId headers = 1; */ - com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( - int index); + com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index); /** + * + * *
    * Rows of the table.
    * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Rows of the table.
    * 
@@ -69,6 +95,8 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( */ com.google.privacy.dlp.v2.Table.Row getRows(int index); /** + * + * *
    * Rows of the table.
    * 
@@ -77,21 +105,23 @@ com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( */ int getRowsCount(); /** + * + * *
    * Rows of the table.
    * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - java.util.List - getRowsOrBuilderList(); + java.util.List getRowsOrBuilderList(); /** + * + * *
    * Rows of the table.
    * 
* * repeated .google.privacy.dlp.v2.Table.Row rows = 2; */ - com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( - int index); + com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java index 2bbadd8b..9f6106a7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
  * portion of the value.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TimePartConfig}
  */
-public final class TimePartConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimePartConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TimePartConfig)
     TimePartConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimePartConfig.newBuilder() to construct.
   private TimePartConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TimePartConfig() {
     partToExtract_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimePartConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimePartConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,54 +71,60 @@ private TimePartConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            partToExtract_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              partToExtract_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TimePartConfig.class, com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
+            com.google.privacy.dlp.v2.TimePartConfig.class,
+            com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Components that make up time.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.TimePartConfig.TimePart} */ - public enum TimePart - implements com.google.protobuf.ProtocolMessageEnum { + public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused
      * 
@@ -110,6 +133,8 @@ public enum TimePart */ TIME_PART_UNSPECIFIED(0), /** + * + * *
      * [0-9999]
      * 
@@ -118,6 +143,8 @@ public enum TimePart */ YEAR(1), /** + * + * *
      * [1-12]
      * 
@@ -126,6 +153,8 @@ public enum TimePart */ MONTH(2), /** + * + * *
      * [1-31]
      * 
@@ -134,6 +163,8 @@ public enum TimePart */ DAY_OF_MONTH(3), /** + * + * *
      * [1-7]
      * 
@@ -142,6 +173,8 @@ public enum TimePart */ DAY_OF_WEEK(4), /** + * + * *
      * [1-53]
      * 
@@ -150,6 +183,8 @@ public enum TimePart */ WEEK_OF_YEAR(5), /** + * + * *
      * [0-23]
      * 
@@ -161,6 +196,8 @@ public enum TimePart ; /** + * + * *
      * Unused
      * 
@@ -169,6 +206,8 @@ public enum TimePart */ public static final int TIME_PART_UNSPECIFIED_VALUE = 0; /** + * + * *
      * [0-9999]
      * 
@@ -177,6 +216,8 @@ public enum TimePart */ public static final int YEAR_VALUE = 1; /** + * + * *
      * [1-12]
      * 
@@ -185,6 +226,8 @@ public enum TimePart */ public static final int MONTH_VALUE = 2; /** + * + * *
      * [1-31]
      * 
@@ -193,6 +236,8 @@ public enum TimePart */ public static final int DAY_OF_MONTH_VALUE = 3; /** + * + * *
      * [1-7]
      * 
@@ -201,6 +246,8 @@ public enum TimePart */ public static final int DAY_OF_WEEK_VALUE = 4; /** + * + * *
      * [1-53]
      * 
@@ -209,6 +256,8 @@ public enum TimePart */ public static final int WEEK_OF_YEAR_VALUE = 5; /** + * + * *
      * [0-23]
      * 
@@ -217,7 +266,6 @@ public enum TimePart */ public static final int HOUR_OF_DAY_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -242,53 +290,57 @@ public static TimePart valueOf(int value) { */ public static TimePart forNumber(int value) { switch (value) { - case 0: return TIME_PART_UNSPECIFIED; - case 1: return YEAR; - case 2: return MONTH; - case 3: return DAY_OF_MONTH; - case 4: return DAY_OF_WEEK; - case 5: return WEEK_OF_YEAR; - case 6: return HOUR_OF_DAY; - default: return null; + case 0: + return TIME_PART_UNSPECIFIED; + case 1: + return YEAR; + case 2: + return MONTH; + case 3: + return DAY_OF_MONTH; + case 4: + return DAY_OF_WEEK; + case 5: + return WEEK_OF_YEAR; + case 6: + return HOUR_OF_DAY; + 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< - TimePart> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimePart findValueByNumber(int number) { - return TimePart.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 TimePart findValueByNumber(int number) { + return TimePart.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.privacy.dlp.v2.TimePartConfig.getDescriptor().getEnumTypes().get(0); } private static final TimePart[] VALUES = values(); - public static TimePart valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TimePart 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; @@ -308,31 +360,41 @@ private TimePart(int value) { public static final int PART_TO_EXTRACT_FIELD_NUMBER = 1; private int partToExtract_; /** + * + * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return The enum numeric value on the wire for partToExtract. */ - @java.lang.Override public int getPartToExtractValue() { + @java.lang.Override + public int getPartToExtractValue() { return partToExtract_; } /** + * + * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return The partToExtract. */ - @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() { + @java.lang.Override + public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TimePartConfig.TimePart result = com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); + com.google.privacy.dlp.v2.TimePartConfig.TimePart result = + com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); return result == null ? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,9 +406,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (partToExtract_ != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (partToExtract_ + != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { output.writeEnum(1, partToExtract_); } unknownFields.writeTo(output); @@ -358,9 +420,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (partToExtract_ != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, partToExtract_); + if (partToExtract_ + != com.google.privacy.dlp.v2.TimePartConfig.TimePart.TIME_PART_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, partToExtract_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -370,7 +432,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.privacy.dlp.v2.TimePartConfig)) { return super.equals(obj); @@ -396,97 +458,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TimePartConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TimePartConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TimePartConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TimePartConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TimePartConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
    * portion of the value.
@@ -494,21 +563,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TimePartConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TimePartConfig)
       com.google.privacy.dlp.v2.TimePartConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TimePartConfig.class, com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
+              com.google.privacy.dlp.v2.TimePartConfig.class,
+              com.google.privacy.dlp.v2.TimePartConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TimePartConfig.newBuilder()
@@ -516,16 +587,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -535,9 +605,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor;
     }
 
     @java.lang.Override
@@ -556,7 +626,8 @@ public com.google.privacy.dlp.v2.TimePartConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TimePartConfig buildPartial() {
-      com.google.privacy.dlp.v2.TimePartConfig result = new com.google.privacy.dlp.v2.TimePartConfig(this);
+      com.google.privacy.dlp.v2.TimePartConfig result =
+          new com.google.privacy.dlp.v2.TimePartConfig(this);
       result.partToExtract_ = partToExtract_;
       onBuilt();
       return result;
@@ -566,38 +637,39 @@ public com.google.privacy.dlp.v2.TimePartConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TimePartConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.TimePartConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TimePartConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -640,51 +712,67 @@ public Builder mergeFrom(
 
     private int partToExtract_ = 0;
     /**
+     *
+     *
      * 
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return The enum numeric value on the wire for partToExtract. */ - @java.lang.Override public int getPartToExtractValue() { + @java.lang.Override + public int getPartToExtractValue() { return partToExtract_; } /** + * + * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @param value The enum numeric value on the wire for partToExtract to set. * @return This builder for chaining. */ public Builder setPartToExtractValue(int value) { - + partToExtract_ = value; onChanged(); return this; } /** + * + * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return The partToExtract. */ @java.lang.Override public com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TimePartConfig.TimePart result = com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); - return result == null ? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TimePartConfig.TimePart result = + com.google.privacy.dlp.v2.TimePartConfig.TimePart.valueOf(partToExtract_); + return result == null + ? com.google.privacy.dlp.v2.TimePartConfig.TimePart.UNRECOGNIZED + : result; } /** + * + * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @param value The partToExtract to set. * @return This builder for chaining. */ @@ -692,28 +780,31 @@ public Builder setPartToExtract(com.google.privacy.dlp.v2.TimePartConfig.TimePar if (value == null) { throw new NullPointerException(); } - + partToExtract_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The part of the time to keep.
      * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return This builder for chaining. */ public Builder clearPartToExtract() { - + partToExtract_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -723,12 +814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TimePartConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TimePartConfig) private static final com.google.privacy.dlp.v2.TimePartConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TimePartConfig(); } @@ -737,16 +828,16 @@ public static com.google.privacy.dlp.v2.TimePartConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimePartConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimePartConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimePartConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimePartConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,6 +852,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TimePartConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java index e42fb6dd..d846cc71 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TimePartConfigOrBuilder extends +public interface TimePartConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TimePartConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return The enum numeric value on the wire for partToExtract. */ int getPartToExtractValue(); /** + * + * *
    * The part of the time to keep.
    * 
* * .google.privacy.dlp.v2.TimePartConfig.TimePart part_to_extract = 1; + * * @return The partToExtract. */ com.google.privacy.dlp.v2.TimePartConfig.TimePart getPartToExtract(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java index 99dcdc29..47e3672d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * How to handle transformation errors during de-identification. A
  * transformation error occurs when the requested transformation is incompatible
@@ -17,30 +34,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling}
  */
-public final class TransformationErrorHandling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransformationErrorHandling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationErrorHandling)
     TransformationErrorHandlingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransformationErrorHandling.newBuilder() to construct.
   private TransformationErrorHandling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TransformationErrorHandling() {
-  }
+
+  private TransformationErrorHandling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransformationErrorHandling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TransformationErrorHandling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,101 +75,121 @@ private TransformationErrorHandling(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder subBuilder = null;
-            if (modeCase_ == 1) {
-              subBuilder = ((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_).toBuilder();
-            }
-            mode_ =
-                input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_);
-              mode_ = subBuilder.buildPartial();
-            }
-            modeCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder subBuilder = null;
-            if (modeCase_ == 2) {
-              subBuilder = ((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_).toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder subBuilder =
+                  null;
+              if (modeCase_ == 1) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_)
+                        .toBuilder();
+              }
+              mode_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_);
+                mode_ = subBuilder.buildPartial();
+              }
+              modeCase_ = 1;
+              break;
             }
-            mode_ =
-                input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_);
-              mode_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder
+                  subBuilder = null;
+              if (modeCase_ == 2) {
+                subBuilder =
+                    ((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
+                            mode_)
+                        .toBuilder();
+              }
+              mode_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
+                        mode_);
+                mode_ = subBuilder.buildPartial();
+              }
+              modeCase_ = 2;
+              break;
             }
-            modeCase_ = 2;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationErrorHandling.class, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
+            com.google.privacy.dlp.v2.TransformationErrorHandling.class,
+            com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
   }
 
-  public interface ThrowErrorOrBuilder extends
+  public interface ThrowErrorOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError)
-      com.google.protobuf.MessageOrBuilder {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Throw an error and fail the request when a transformation error occurs.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.ThrowError} */ - public static final class ThrowError extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ThrowError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) ThrowErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThrowError.newBuilder() to construct. private ThrowError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ThrowError() { - } + + private ThrowError() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ThrowError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ThrowError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -172,39 +208,42 @@ private ThrowError( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -235,12 +273,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.privacy.dlp.v2.TransformationErrorHandling.ThrowError)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other = (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) obj; + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other = + (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -259,87 +298,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -349,44 +396,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Throw an error and fail the request when a transformation error occurs.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.ThrowError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.class, + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder.class); } - // Construct using com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +446,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_ThrowError_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +469,8 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError build() @java.lang.Override public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError buildPartial() { - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError result = new com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError(this); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError result = + new com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError(this); onBuilt(); return result; } @@ -424,46 +479,53 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) { - return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError)other); + return mergeFrom( + (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other) { - if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError other) { + if (other + == com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -483,7 +545,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,6 +556,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -504,30 +569,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) - private static final com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError(); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getDefaultInstance() { + public static com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrowError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ThrowError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrowError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ThrowError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -539,17 +606,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LeaveUntransformedOrBuilder extends + public interface LeaveUntransformedOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Skips the data without modifying it if the requested transformation would
    * cause an error. For example, if a `DateShift` transformation were applied
@@ -559,30 +628,29 @@ public interface LeaveUntransformedOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed}
    */
-  public static final class LeaveUntransformed extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LeaveUntransformed extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
       LeaveUntransformedOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LeaveUntransformed.newBuilder() to construct.
     private LeaveUntransformed(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private LeaveUntransformed() {
-    }
+
+    private LeaveUntransformed() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LeaveUntransformed();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private LeaveUntransformed(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -601,39 +669,43 @@ private LeaveUntransformed(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder.class);
+              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class,
+              com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder
+                  .class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -645,8 +717,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -664,12 +735,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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)) {
+      if (!(obj
+          instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other = (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) obj;
+      com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other =
+          (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) obj;
 
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -687,88 +760,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(
+            com.google.protobuf.ByteString data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed 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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed 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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -778,6 +864,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Skips the data without modifying it if the requested transformation would
      * cause an error. For example, if a `DateShift` transformation were applied
@@ -787,38 +875,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
         com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder.class);
+                com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.class,
+                com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder
+                    .class);
       }
 
-      // Construct using com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder()
+      // Construct using
+      // com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -826,19 +918,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getDefaultInstanceForType() {
-        return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance();
+      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+          getDefaultInstanceForType() {
+        return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed build() {
-        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result = buildPartial();
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -846,8 +941,10 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed buildPartial() {
-        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result = new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed(this);
+      public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+          buildPartial() {
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed result =
+            new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed(this);
         onBuilt();
         return result;
       }
@@ -856,46 +953,54 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) {
-          return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)other);
+        if (other
+            instanceof com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) {
+          return mergeFrom(
+              (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other) {
-        if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed other) {
+        if (other
+            == com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+                .getDefaultInstance()) return this;
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -911,11 +1016,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parsedMessage = null;
+        com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -924,6 +1032,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -936,30 +1045,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed)
-    private static final com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed();
+      DEFAULT_INSTANCE =
+          new com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed();
     }
 
-    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public LeaveUntransformed parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new LeaveUntransformed(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public LeaveUntransformed parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new LeaveUntransformed(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -971,21 +1083,24 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
+
   public enum ModeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     THROW_ERROR(1),
     LEAVE_UNTRANSFORMED(2),
     MODE_NOT_SET(0);
     private final int value;
+
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1001,30 +1116,36 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 1: return THROW_ERROR;
-        case 2: return LEAVE_UNTRANSFORMED;
-        case 0: return MODE_NOT_SET;
-        default: return null;
+        case 1:
+          return THROW_ERROR;
+        case 2:
+          return LEAVE_UNTRANSFORMED;
+        case 0:
+          return MODE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase
-  getModeCase() {
-    return ModeCase.forNumber(
-        modeCase_);
+  public ModeCase getModeCase() {
+    return ModeCase.forNumber(modeCase_);
   }
 
   public static final int THROW_ERROR_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; + * * @return Whether the throwError field is set. */ @java.lang.Override @@ -1032,21 +1153,26 @@ public boolean hasThrowError() { return modeCase_ == 1; } /** + * + * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; + * * @return The throwError. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError() { if (modeCase_ == 1) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } /** + * + * *
    * Throw an error
    * 
@@ -1054,20 +1180,26 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrow * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder + getThrowErrorOrBuilder() { if (modeCase_ == 1) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } public static final int LEAVE_UNTRANSFORMED_FIELD_NUMBER = 2; /** + * + * *
    * Ignore errors
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * * @return Whether the leaveUntransformed field is set. */ @java.lang.Override @@ -1075,36 +1207,50 @@ public boolean hasLeaveUntransformed() { return modeCase_ == 2; } /** + * + * *
    * Ignore errors
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * * @return The leaveUntransformed. */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + getLeaveUntransformed() { if (modeCase_ == 2) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance(); } /** + * + * *
    * Ignore errors
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder + getLeaveUntransformedOrBuilder() { if (modeCase_ == 2) { - return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; + return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1116,13 +1262,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (modeCase_ == 1) { - output.writeMessage(1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); + output.writeMessage( + 1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); } if (modeCase_ == 2) { - output.writeMessage(2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); + output.writeMessage( + 2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); } unknownFields.writeTo(output); } @@ -1134,12 +1281,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_); } if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1149,22 +1298,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.privacy.dlp.v2.TransformationErrorHandling)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationErrorHandling other = (com.google.privacy.dlp.v2.TransformationErrorHandling) obj; + com.google.privacy.dlp.v2.TransformationErrorHandling other = + (com.google.privacy.dlp.v2.TransformationErrorHandling) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (!getThrowError() - .equals(other.getThrowError())) return false; + if (!getThrowError().equals(other.getThrowError())) return false; break; case 2: - if (!getLeaveUntransformed() - .equals(other.getLeaveUntransformed())) return false; + if (!getLeaveUntransformed().equals(other.getLeaveUntransformed())) return false; break; case 0: default: @@ -1198,96 +1346,104 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationErrorHandling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationErrorHandling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationErrorHandling prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.TransformationErrorHandling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * How to handle transformation errors during de-identification. A
    * transformation error occurs when the requested transformation is incompatible
@@ -1301,21 +1457,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationErrorHandling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationErrorHandling)
       com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationErrorHandling.class, com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
+              com.google.privacy.dlp.v2.TransformationErrorHandling.class,
+              com.google.privacy.dlp.v2.TransformationErrorHandling.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationErrorHandling.newBuilder()
@@ -1323,16 +1481,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1342,9 +1499,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor;
     }
 
     @java.lang.Override
@@ -1363,7 +1520,8 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationErrorHandling buildPartial() {
-      com.google.privacy.dlp.v2.TransformationErrorHandling result = new com.google.privacy.dlp.v2.TransformationErrorHandling(this);
+      com.google.privacy.dlp.v2.TransformationErrorHandling result =
+          new com.google.privacy.dlp.v2.TransformationErrorHandling(this);
       if (modeCase_ == 1) {
         if (throwErrorBuilder_ == null) {
           result.mode_ = mode_;
@@ -1387,38 +1545,39 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationErrorHandling) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationErrorHandling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1426,19 +1585,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationErrorHandling other) {
-      if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.TransformationErrorHandling.getDefaultInstance())
+        return this;
       switch (other.getModeCase()) {
-        case THROW_ERROR: {
-          mergeThrowError(other.getThrowError());
-          break;
-        }
-        case LEAVE_UNTRANSFORMED: {
-          mergeLeaveUntransformed(other.getLeaveUntransformed());
-          break;
-        }
-        case MODE_NOT_SET: {
-          break;
-        }
+        case THROW_ERROR:
+          {
+            mergeThrowError(other.getThrowError());
+            break;
+          }
+        case LEAVE_UNTRANSFORMED:
+          {
+            mergeLeaveUntransformed(other.getLeaveUntransformed());
+            break;
+          }
+        case MODE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1459,7 +1622,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.TransformationErrorHandling) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.TransformationErrorHandling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1468,12 +1632,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-    public ModeCase
-        getModeCase() {
-      return ModeCase.forNumber(
-          modeCase_);
+
+    public ModeCase getModeCase() {
+      return ModeCase.forNumber(modeCase_);
     }
 
     public Builder clearMode() {
@@ -1483,15 +1647,20 @@ public Builder clearMode() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder> throwErrorBuilder_;
+            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError,
+            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder,
+            com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder>
+        throwErrorBuilder_;
     /**
+     *
+     *
      * 
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; + * * @return Whether the throwError field is set. */ @java.lang.Override @@ -1499,11 +1668,14 @@ public boolean hasThrowError() { return modeCase_ == 1; } /** + * + * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; + * * @return The throwError. */ @java.lang.Override @@ -1512,22 +1684,27 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrow if (modeCase_ == 1) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + .getDefaultInstance(); } else { if (modeCase_ == 1) { return throwErrorBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + .getDefaultInstance(); } } /** + * + * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - public Builder setThrowError(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { + public Builder setThrowError( + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { if (throwErrorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1541,6 +1718,8 @@ public Builder setThrowError(com.google.privacy.dlp.v2.TransformationErrorHandli return this; } /** + * + * *
      * Throw an error
      * 
@@ -1559,18 +1738,26 @@ public Builder setThrowError( return this; } /** + * + * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - public Builder mergeThrowError(com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { + public Builder mergeThrowError( + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError value) { if (throwErrorBuilder_ == null) { - if (modeCase_ == 1 && - mode_ != com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance()) { - mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder((com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 1 + && mode_ + != com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + .getDefaultInstance()) { + mode_ = + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.newBuilder( + (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -1585,6 +1772,8 @@ public Builder mergeThrowError(com.google.privacy.dlp.v2.TransformationErrorHand return this; } /** + * + * *
      * Throw an error
      * 
@@ -1608,16 +1797,21 @@ public Builder clearThrowError() { return this; } /** + * + * *
      * Throw an error
      * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder getThrowErrorBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder + getThrowErrorBuilder() { return getThrowErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Throw an error
      * 
@@ -1625,17 +1819,21 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder + getThrowErrorOrBuilder() { if ((modeCase_ == 1) && (throwErrorBuilder_ != null)) { return throwErrorBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 1) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError + .getDefaultInstance(); } } /** + * + * *
      * Throw an error
      * 
@@ -1643,32 +1841,47 @@ public com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder> + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder> getThrowErrorFieldBuilder() { if (throwErrorBuilder_ == null) { if (!(modeCase_ == 1)) { - mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); + mode_ = + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.getDefaultInstance(); } - throwErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder>( + throwErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder>( (com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 1; - onChanged();; + onChanged(); + ; return throwErrorBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> leaveUntransformedBuilder_; + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> + leaveUntransformedBuilder_; /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * * @return Whether the leaveUntransformed field is set. */ @java.lang.Override @@ -1676,35 +1889,48 @@ public boolean hasLeaveUntransformed() { return modeCase_ == 2; } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * * @return The leaveUntransformed. */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + getLeaveUntransformed() { if (leaveUntransformedBuilder_ == null) { if (modeCase_ == 2) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance(); } else { if (modeCase_ == 2) { return leaveUntransformedBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance(); } } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ - public Builder setLeaveUntransformed(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { + public Builder setLeaveUntransformed( + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { if (leaveUntransformedBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1718,14 +1944,19 @@ public Builder setLeaveUntransformed(com.google.privacy.dlp.v2.TransformationErr return this; } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ public Builder setLeaveUntransformed( - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder builderForValue) { + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder + builderForValue) { if (leaveUntransformedBuilder_ == null) { mode_ = builderForValue.build(); onChanged(); @@ -1736,18 +1967,29 @@ public Builder setLeaveUntransformed( return this; } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ - public Builder mergeLeaveUntransformed(com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { + public Builder mergeLeaveUntransformed( + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed value) { if (leaveUntransformedBuilder_ == null) { - if (modeCase_ == 2 && - mode_ != com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance()) { - mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder((com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 2 + && mode_ + != com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance()) { + mode_ = + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.newBuilder( + (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) + mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -1762,11 +2004,15 @@ public Builder mergeLeaveUntransformed(com.google.privacy.dlp.v2.TransformationE return this; } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ public Builder clearLeaveUntransformed() { if (leaveUntransformedBuilder_ == null) { @@ -1785,61 +2031,84 @@ public Builder clearLeaveUntransformed() { return this; } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder getLeaveUntransformedBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder + getLeaveUntransformedBuilder() { return getLeaveUntransformedFieldBuilder().getBuilder(); } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder() { + public com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder + getLeaveUntransformedOrBuilder() { if ((modeCase_ == 2) && (leaveUntransformedBuilder_ != null)) { return leaveUntransformedBuilder_.getMessageOrBuilder(); } else { if (modeCase_ == 2) { return (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_; } - return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); + return com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance(); } } /** + * + * *
      * Ignore errors
      * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder> getLeaveUntransformedFieldBuilder() { if (leaveUntransformedBuilder_ == null) { if (!(modeCase_ == 2)) { - mode_ = com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.getDefaultInstance(); + mode_ = + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed + .getDefaultInstance(); } - leaveUntransformedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder>( + leaveUntransformedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.Builder, + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder>( (com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed) mode_, getParentForChildren(), isClean()); mode_ = null; } modeCase_ = 2; - onChanged();; + onChanged(); + ; return leaveUntransformedBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1849,12 +2118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationErrorHandling) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationErrorHandling) private static final com.google.privacy.dlp.v2.TransformationErrorHandling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationErrorHandling(); } @@ -1863,16 +2132,16 @@ public static com.google.privacy.dlp.v2.TransformationErrorHandling getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationErrorHandling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationErrorHandling(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationErrorHandling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationErrorHandling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1887,6 +2156,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.TransformationErrorHandling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java index d088516e..425f209f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationErrorHandlingOrBuilder.java @@ -1,65 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationErrorHandlingOrBuilder extends +public interface TransformationErrorHandlingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; + * * @return Whether the throwError field is set. */ boolean hasThrowError(); /** + * + * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; + * * @return The throwError. */ com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError(); /** + * + * *
    * Throw an error
    * 
* * .google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1; */ - com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder(); + com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder + getThrowErrorOrBuilder(); /** + * + * *
    * Ignore errors
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * * @return Whether the leaveUntransformed field is set. */ boolean hasLeaveUntransformed(); /** + * + * *
    * Ignore errors
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * * @return The leaveUntransformed. */ com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed(); /** + * + * *
    * Ignore errors
    * 
* - * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * + * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; + * */ - com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder(); + com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder + getLeaveUntransformedOrBuilder(); public com.google.privacy.dlp.v2.TransformationErrorHandling.ModeCase getModeCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java index 42fb1b3e..3657ca6f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverview.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Overview of the modifications that occurred.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationOverview} */ -public final class TransformationOverview extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransformationOverview extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationOverview) TransformationOverviewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransformationOverview.newBuilder() to construct. private TransformationOverview(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransformationOverview() { transformationSummaries_ = 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 TransformationOverview(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransformationOverview( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,34 +71,36 @@ private TransformationOverview( case 0: done = true; break; - case 16: { - - transformedBytes_ = input.readInt64(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transformationSummaries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 16: + { + transformedBytes_ = input.readInt64(); + break; } - transformationSummaries_.add( - input.readMessage(com.google.privacy.dlp.v2.TransformationSummary.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transformationSummaries_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + transformationSummaries_.add( + input.readMessage( + com.google.privacy.dlp.v2.TransformationSummary.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transformationSummaries_ = java.util.Collections.unmodifiableList(transformationSummaries_); @@ -90,27 +109,33 @@ private TransformationOverview( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationOverview.class, com.google.privacy.dlp.v2.TransformationOverview.Builder.class); + com.google.privacy.dlp.v2.TransformationOverview.class, + com.google.privacy.dlp.v2.TransformationOverview.Builder.class); } public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 2; private long transformedBytes_; /** + * + * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 2; + * * @return The transformedBytes. */ @java.lang.Override @@ -121,64 +146,81 @@ public long getTransformedBytes() { public static final int TRANSFORMATION_SUMMARIES_FIELD_NUMBER = 3; private java.util.List transformationSummaries_; /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ @java.lang.Override - public java.util.List getTransformationSummariesList() { + public java.util.List + getTransformationSummariesList() { return transformationSummaries_; } /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List getTransformationSummariesOrBuilderList() { return transformationSummaries_; } /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ @java.lang.Override public int getTransformationSummariesCount() { return transformationSummaries_.size(); } /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index) { return transformationSummaries_.get(index); } /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformationSummariesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder + getTransformationSummariesOrBuilder(int index) { return transformationSummaries_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transformedBytes_ != 0L) { output.writeInt64(2, transformedBytes_); } @@ -208,12 +249,12 @@ public int getSerializedSize() { size = 0; if (transformedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, transformedBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, transformedBytes_); } for (int i = 0; i < transformationSummaries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, transformationSummaries_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, transformationSummaries_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -223,17 +264,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.TransformationOverview)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationOverview other = (com.google.privacy.dlp.v2.TransformationOverview) obj; + com.google.privacy.dlp.v2.TransformationOverview other = + (com.google.privacy.dlp.v2.TransformationOverview) obj; - if (getTransformedBytes() - != other.getTransformedBytes()) return false; - if (!getTransformationSummariesList() - .equals(other.getTransformationSummariesList())) return false; + if (getTransformedBytes() != other.getTransformedBytes()) return false; + if (!getTransformationSummariesList().equals(other.getTransformationSummariesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -246,8 +287,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TRANSFORMED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTransformedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTransformedBytes()); if (getTransformationSummariesCount() > 0) { hash = (37 * hash) + TRANSFORMATION_SUMMARIES_FIELD_NUMBER; hash = (53 * hash) + getTransformationSummariesList().hashCode(); @@ -257,118 +297,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationOverview parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationOverview parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationOverview parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationOverview parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationOverview parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationOverview prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Overview of the modifications that occurred.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationOverview} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationOverview) com.google.privacy.dlp.v2.TransformationOverviewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationOverview.class, com.google.privacy.dlp.v2.TransformationOverview.Builder.class); + com.google.privacy.dlp.v2.TransformationOverview.class, + com.google.privacy.dlp.v2.TransformationOverview.Builder.class); } // Construct using com.google.privacy.dlp.v2.TransformationOverview.newBuilder() @@ -376,17 +425,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTransformationSummariesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor; } @java.lang.Override @@ -423,12 +472,14 @@ public com.google.privacy.dlp.v2.TransformationOverview build() { @java.lang.Override public com.google.privacy.dlp.v2.TransformationOverview buildPartial() { - com.google.privacy.dlp.v2.TransformationOverview result = new com.google.privacy.dlp.v2.TransformationOverview(this); + com.google.privacy.dlp.v2.TransformationOverview result = + new com.google.privacy.dlp.v2.TransformationOverview(this); int from_bitField0_ = bitField0_; result.transformedBytes_ = transformedBytes_; if (transformationSummariesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - transformationSummaries_ = java.util.Collections.unmodifiableList(transformationSummaries_); + transformationSummaries_ = + java.util.Collections.unmodifiableList(transformationSummaries_); bitField0_ = (bitField0_ & ~0x00000001); } result.transformationSummaries_ = transformationSummaries_; @@ -443,38 +494,39 @@ public com.google.privacy.dlp.v2.TransformationOverview buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationOverview) { - return mergeFrom((com.google.privacy.dlp.v2.TransformationOverview)other); + return mergeFrom((com.google.privacy.dlp.v2.TransformationOverview) other); } else { super.mergeFrom(other); return this; @@ -482,7 +534,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationOverview other) { - if (other == com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.TransformationOverview.getDefaultInstance()) + return this; if (other.getTransformedBytes() != 0L) { setTransformedBytes(other.getTransformedBytes()); } @@ -504,9 +557,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationOverview other) transformationSummariesBuilder_ = null; transformationSummaries_ = other.transformationSummaries_; bitField0_ = (bitField0_ & ~0x00000001); - transformationSummariesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransformationSummariesFieldBuilder() : null; + transformationSummariesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransformationSummariesFieldBuilder() + : null; } else { transformationSummariesBuilder_.addAllMessages(other.transformationSummaries_); } @@ -540,15 +594,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long transformedBytes_ ; + private long transformedBytes_; /** + * + * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 2; + * * @return The transformedBytes. */ @java.lang.Override @@ -556,55 +614,71 @@ public long getTransformedBytes() { return transformedBytes_; } /** + * + * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 2; + * * @param value The transformedBytes to set. * @return This builder for chaining. */ public Builder setTransformedBytes(long value) { - + transformedBytes_ = value; onChanged(); return this; } /** + * + * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 2; + * * @return This builder for chaining. */ public Builder clearTransformedBytes() { - + transformedBytes_ = 0L; onChanged(); return this; } - private java.util.List transformationSummaries_ = - java.util.Collections.emptyList(); + private java.util.List + transformationSummaries_ = java.util.Collections.emptyList(); + private void ensureTransformationSummariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transformationSummaries_ = new java.util.ArrayList(transformationSummaries_); + transformationSummaries_ = + new java.util.ArrayList( + transformationSummaries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary, com.google.privacy.dlp.v2.TransformationSummary.Builder, com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> transformationSummariesBuilder_; + com.google.privacy.dlp.v2.TransformationSummary, + com.google.privacy.dlp.v2.TransformationSummary.Builder, + com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> + transformationSummariesBuilder_; /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public java.util.List getTransformationSummariesList() { + public java.util.List + getTransformationSummariesList() { if (transformationSummariesBuilder_ == null) { return java.util.Collections.unmodifiableList(transformationSummaries_); } else { @@ -612,11 +686,14 @@ public java.util.List getTransf } } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public int getTransformationSummariesCount() { if (transformationSummariesBuilder_ == null) { @@ -626,11 +703,14 @@ public int getTransformationSummariesCount() { } } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index) { if (transformationSummariesBuilder_ == null) { @@ -640,11 +720,14 @@ public com.google.privacy.dlp.v2.TransformationSummary getTransformationSummarie } } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder setTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary value) { @@ -661,11 +744,14 @@ public Builder setTransformationSummaries( return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder setTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary.Builder builderForValue) { @@ -679,13 +765,17 @@ public Builder setTransformationSummaries( return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public Builder addTransformationSummaries(com.google.privacy.dlp.v2.TransformationSummary value) { + public Builder addTransformationSummaries( + com.google.privacy.dlp.v2.TransformationSummary value) { if (transformationSummariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -699,11 +789,14 @@ public Builder addTransformationSummaries(com.google.privacy.dlp.v2.Transformati return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder addTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary value) { @@ -720,11 +813,14 @@ public Builder addTransformationSummaries( return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder addTransformationSummaries( com.google.privacy.dlp.v2.TransformationSummary.Builder builderForValue) { @@ -738,11 +834,14 @@ public Builder addTransformationSummaries( return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder addTransformationSummaries( int index, com.google.privacy.dlp.v2.TransformationSummary.Builder builderForValue) { @@ -756,18 +855,20 @@ public Builder addTransformationSummaries( return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder addAllTransformationSummaries( java.lang.Iterable values) { if (transformationSummariesBuilder_ == null) { ensureTransformationSummariesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transformationSummaries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformationSummaries_); onChanged(); } else { transformationSummariesBuilder_.addAllMessages(values); @@ -775,11 +876,14 @@ public Builder addAllTransformationSummaries( return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder clearTransformationSummaries() { if (transformationSummariesBuilder_ == null) { @@ -792,11 +896,14 @@ public Builder clearTransformationSummaries() { return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ public Builder removeTransformationSummaries(int index) { if (transformationSummariesBuilder_ == null) { @@ -809,39 +916,49 @@ public Builder removeTransformationSummaries(int index) { return this; } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public com.google.privacy.dlp.v2.TransformationSummary.Builder getTransformationSummariesBuilder( - int index) { + public com.google.privacy.dlp.v2.TransformationSummary.Builder + getTransformationSummariesBuilder(int index) { return getTransformationSummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformationSummariesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder + getTransformationSummariesOrBuilder(int index) { if (transformationSummariesBuilder_ == null) { - return transformationSummaries_.get(index); } else { + return transformationSummaries_.get(index); + } else { return transformationSummariesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public java.util.List - getTransformationSummariesOrBuilderList() { + public java.util.List + getTransformationSummariesOrBuilderList() { if (transformationSummariesBuilder_ != null) { return transformationSummariesBuilder_.getMessageOrBuilderList(); } else { @@ -849,45 +966,61 @@ public com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformatio } } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public com.google.privacy.dlp.v2.TransformationSummary.Builder addTransformationSummariesBuilder() { - return getTransformationSummariesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); + public com.google.privacy.dlp.v2.TransformationSummary.Builder + addTransformationSummariesBuilder() { + return getTransformationSummariesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public com.google.privacy.dlp.v2.TransformationSummary.Builder addTransformationSummariesBuilder( - int index) { - return getTransformationSummariesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); + public com.google.privacy.dlp.v2.TransformationSummary.Builder + addTransformationSummariesBuilder(int index) { + return getTransformationSummariesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()); } /** + * + * *
      * Transformations applied to the dataset.
      * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - public java.util.List - getTransformationSummariesBuilderList() { + public java.util.List + getTransformationSummariesBuilderList() { return getTransformationSummariesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary, com.google.privacy.dlp.v2.TransformationSummary.Builder, com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> + com.google.privacy.dlp.v2.TransformationSummary, + com.google.privacy.dlp.v2.TransformationSummary.Builder, + com.google.privacy.dlp.v2.TransformationSummaryOrBuilder> getTransformationSummariesFieldBuilder() { if (transformationSummariesBuilder_ == null) { - transformationSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary, com.google.privacy.dlp.v2.TransformationSummary.Builder, com.google.privacy.dlp.v2.TransformationSummaryOrBuilder>( + transformationSummariesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationSummary, + com.google.privacy.dlp.v2.TransformationSummary.Builder, + com.google.privacy.dlp.v2.TransformationSummaryOrBuilder>( transformationSummaries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -896,9 +1029,9 @@ public com.google.privacy.dlp.v2.TransformationSummary.Builder addTransformation } return transformationSummariesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -908,12 +1041,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationOverview) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationOverview) private static final com.google.privacy.dlp.v2.TransformationOverview DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationOverview(); } @@ -922,16 +1055,16 @@ public static com.google.privacy.dlp.v2.TransformationOverview getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationOverview parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationOverview(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationOverview parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationOverview(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,6 +1079,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationOverview getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java index e293041d..679ff811 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationOverviewOrBuilder.java @@ -1,62 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationOverviewOrBuilder extends +public interface TransformationOverviewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationOverview) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 2; + * * @return The transformedBytes. */ long getTransformedBytes(); /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - java.util.List - getTransformationSummariesList(); + java.util.List getTransformationSummariesList(); /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ com.google.privacy.dlp.v2.TransformationSummary getTransformationSummaries(int index); /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ int getTransformationSummariesCount(); /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ - java.util.List + java.util.List getTransformationSummariesOrBuilderList(); /** + * + * *
    * Transformations applied to the dataset.
    * 
* - * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; + * */ com.google.privacy.dlp.v2.TransformationSummaryOrBuilder getTransformationSummariesOrBuilder( int index); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java index fe4873c8..429fff5f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Summary of a single transformation.
  * Only one of 'transformation', 'field_transformation', or 'record_suppress'
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary}
  */
-public final class TransformationSummary extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransformationSummary extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationSummary)
     TransformationSummaryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransformationSummary.newBuilder() to construct.
   private TransformationSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransformationSummary() {
     fieldTransformations_ = java.util.Collections.emptyList();
     results_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private TransformationSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransformationSummary();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TransformationSummary(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,95 +74,113 @@ private TransformationSummary(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-            if (infoType_ != null) {
-              subBuilder = infoType_.toBuilder();
-            }
-            infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(infoType_);
-              infoType_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
+              if (infoType_ != null) {
+                subBuilder = infoType_.toBuilder();
+              }
+              infoType_ =
+                  input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(infoType_);
+                infoType_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
-            if (field_ != null) {
-              subBuilder = field_.toBuilder();
-            }
-            field_ = input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(field_);
-              field_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.privacy.dlp.v2.FieldId.Builder subBuilder = null;
+              if (field_ != null) {
+                subBuilder = field_.toBuilder();
+              }
+              field_ =
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(field_);
+                field_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
-            if (transformation_ != null) {
-              subBuilder = transformation_.toBuilder();
-            }
-            transformation_ = input.readMessage(com.google.privacy.dlp.v2.PrimitiveTransformation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(transformation_);
-              transformation_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.privacy.dlp.v2.PrimitiveTransformation.Builder subBuilder = null;
+              if (transformation_ != null) {
+                subBuilder = transformation_.toBuilder();
+              }
+              transformation_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.PrimitiveTransformation.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(transformation_);
+                transformation_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              results_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
-            }
-            results_.add(
-                input.readMessage(com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.parser(), extensionRegistry));
-            break;
-          }
-          case 42: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              fieldTransformations_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            fieldTransformations_.add(
-                input.readMessage(com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
-            break;
-          }
-          case 50: {
-            com.google.privacy.dlp.v2.RecordSuppression.Builder subBuilder = null;
-            if (recordSuppress_ != null) {
-              subBuilder = recordSuppress_.toBuilder();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                results_ =
+                    new java.util.ArrayList<
+                        com.google.privacy.dlp.v2.TransformationSummary.SummaryResult>();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              results_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.parser(),
+                      extensionRegistry));
+              break;
             }
-            recordSuppress_ = input.readMessage(com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(recordSuppress_);
-              recordSuppress_ = subBuilder.buildPartial();
+          case 42:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                fieldTransformations_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              fieldTransformations_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.FieldTransformation.parser(), extensionRegistry));
+              break;
             }
+          case 50:
+            {
+              com.google.privacy.dlp.v2.RecordSuppression.Builder subBuilder = null;
+              if (recordSuppress_ != null) {
+                subBuilder = recordSuppress_.toBuilder();
+              }
+              recordSuppress_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.RecordSuppression.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(recordSuppress_);
+                recordSuppress_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 56: {
-
-            transformedBytes_ = input.readInt64();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          case 56:
+            {
+              transformedBytes_ = input.readInt64();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         results_ = java.util.Collections.unmodifiableList(results_);
@@ -157,29 +192,35 @@ private TransformationSummary(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationSummary.class, com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
+            com.google.privacy.dlp.v2.TransformationSummary.class,
+            com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible outcomes of transformations.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.TransformationSummary.TransformationResultCode} */ - public enum TransformationResultCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum TransformationResultCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused
      * 
@@ -188,6 +229,8 @@ public enum TransformationResultCode */ TRANSFORMATION_RESULT_CODE_UNSPECIFIED(0), /** + * + * *
      * Transformation completed without an error.
      * 
@@ -196,6 +239,8 @@ public enum TransformationResultCode */ SUCCESS(1), /** + * + * *
      * Transformation had an error.
      * 
@@ -207,6 +252,8 @@ public enum TransformationResultCode ; /** + * + * *
      * Unused
      * 
@@ -215,6 +262,8 @@ public enum TransformationResultCode */ public static final int TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Transformation completed without an error.
      * 
@@ -223,6 +272,8 @@ public enum TransformationResultCode */ public static final int SUCCESS_VALUE = 1; /** + * + * *
      * Transformation had an error.
      * 
@@ -231,7 +282,6 @@ public enum TransformationResultCode */ public static final int ERROR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -256,10 +306,14 @@ public static TransformationResultCode valueOf(int value) { */ public static TransformationResultCode forNumber(int value) { switch (value) { - case 0: return TRANSFORMATION_RESULT_CODE_UNSPECIFIED; - case 1: return SUCCESS; - case 2: return ERROR; - default: return null; + case 0: + return TRANSFORMATION_RESULT_CODE_UNSPECIFIED; + case 1: + return SUCCESS; + case 2: + return ERROR; + default: + return null; } } @@ -267,28 +321,28 @@ public static TransformationResultCode forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TransformationResultCode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransformationResultCode findValueByNumber(int number) { - return TransformationResultCode.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 TransformationResultCode findValueByNumber(int number) { + return TransformationResultCode.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.privacy.dlp.v2.TransformationSummary.getDescriptor().getEnumTypes().get(0); } @@ -297,8 +351,7 @@ public TransformationResultCode findValueByNumber(int number) { public static TransformationResultCode 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; @@ -315,62 +368,79 @@ private TransformationResultCode(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationSummary.TransformationResultCode) } - public interface SummaryResultOrBuilder extends + public interface SummaryResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationSummary.SummaryResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Number of transformations counted by this result.
      * 
* * int64 count = 1; + * * @return The count. */ long getCount(); /** + * + * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * * @return The code. */ com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode(); /** + * + * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; + * * @return The details. */ java.lang.String getDetails(); /** + * + * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; + * * @return The bytes for details. */ - com.google.protobuf.ByteString - getDetailsBytes(); + com.google.protobuf.ByteString getDetailsBytes(); } /** + * + * *
    * A collection that informs the user the number of times a particular
    * `TransformationResultCode` and error details occurred.
@@ -378,15 +448,16 @@ public interface SummaryResultOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary.SummaryResult}
    */
-  public static final class SummaryResult extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SummaryResult extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationSummary.SummaryResult)
       SummaryResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SummaryResult.newBuilder() to construct.
     private SummaryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SummaryResult() {
       code_ = 0;
       details_ = "";
@@ -394,16 +465,15 @@ private SummaryResult() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SummaryResult();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private SummaryResult(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -422,63 +492,70 @@ private SummaryResult(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              count_ = input.readInt64();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                count_ = input.readInt64();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              code_ = rawValue;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                code_ = rawValue;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              details_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                details_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
+              com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class,
+              com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private long count_;
     /**
+     *
+     *
      * 
      * Number of transformations counted by this result.
      * 
* * int64 count = 1; + * * @return The count. */ @java.lang.Override @@ -489,39 +566,53 @@ public long getCount() { public static final int CODE_FIELD_NUMBER = 2; private int code_; /** + * + * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * Outcome of the transformation.
      * 
* * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * * @return The code. */ - @java.lang.Override public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() { + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); - return result == null ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); + return result == null + ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED + : result; } public static final int DETAILS_FIELD_NUMBER = 3; private volatile java.lang.Object details_; /** + * + * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; + * * @return The details. */ @java.lang.Override @@ -530,30 +621,30 @@ public java.lang.String getDetails() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } } /** + * + * *
      * A place for warnings or errors to show up if a transformation didn't
      * work as expected.
      * 
* * string details = 3; + * * @return The bytes for details. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -562,6 +653,7 @@ public java.lang.String getDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -573,12 +665,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (count_ != 0L) { output.writeInt64(1, count_); } - if (code_ != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) { + if (code_ + != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode + .TRANSFORMATION_RESULT_CODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { @@ -594,12 +688,13 @@ public int getSerializedSize() { size = 0; if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, count_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, count_); } - if (code_ != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, code_); + if (code_ + != com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode + .TRANSFORMATION_RESULT_CODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, details_); @@ -612,18 +707,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.privacy.dlp.v2.TransformationSummary.SummaryResult)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other = (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) obj; + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other = + (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) obj; - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (code_ != other.code_) return false; - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -636,8 +730,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + code_; hash = (37 * hash) + DETAILS_FIELD_NUMBER; @@ -648,87 +741,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationSummary.SummaryResult prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -738,6 +838,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A collection that informs the user the number of times a particular
      * `TransformationResultCode` and error details occurred.
@@ -745,21 +847,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary.SummaryResult}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationSummary.SummaryResult)
         com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
+                com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.class,
+                com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.newBuilder()
@@ -767,16 +872,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -790,13 +894,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_TransformationSummary_SummaryResult_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult
+          getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance();
       }
 
@@ -811,7 +916,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult buildPartial() {
-        com.google.privacy.dlp.v2.TransformationSummary.SummaryResult result = new com.google.privacy.dlp.v2.TransformationSummary.SummaryResult(this);
+        com.google.privacy.dlp.v2.TransformationSummary.SummaryResult result =
+            new com.google.privacy.dlp.v2.TransformationSummary.SummaryResult(this);
         result.count_ = count_;
         result.code_ = code_;
         result.details_ = details_;
@@ -823,46 +929,52 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) {
-          return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary.SummaryResult)other);
+          return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other) {
-        if (other == com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.TransformationSummary.SummaryResult other) {
+        if (other
+            == com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance())
+          return this;
         if (other.getCount() != 0L) {
           setCount(other.getCount());
         }
@@ -892,7 +1004,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.TransformationSummary.SummaryResult)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -902,13 +1016,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private long count_ ;
+      private long count_;
       /**
+       *
+       *
        * 
        * Number of transformations counted by this result.
        * 
* * int64 count = 1; + * * @return The count. */ @java.lang.Override @@ -916,30 +1033,36 @@ public long getCount() { return count_; } /** + * + * *
        * Number of transformations counted by this result.
        * 
* * int64 count = 1; + * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** + * + * *
        * Number of transformations counted by this result.
        * 
* * int64 count = 1; + * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; @@ -947,73 +1070,98 @@ public Builder clearCount() { private int code_ = 0; /** + * + * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** + * + * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * + * * @return The code. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode getCode() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); - return result == null ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode result = + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.valueOf(code_); + return result == null + ? com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode.UNRECOGNIZED + : result; } /** + * + * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode value) { + public Builder setCode( + com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Outcome of the transformation.
        * 
* - * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * .google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2; + * + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -1021,19 +1169,21 @@ public Builder clearCode() { private java.lang.Object details_ = ""; /** + * + * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; + * * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; @@ -1042,21 +1192,22 @@ public java.lang.String getDetails() { } } /** + * + * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; + * * @return The bytes for details. */ - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -1064,61 +1215,69 @@ public java.lang.String getDetails() { } } /** + * + * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; + * * @param value The details to set. * @return This builder for chaining. */ - public Builder setDetails( - java.lang.String value) { + public Builder setDetails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + details_ = value; onChanged(); return this; } /** + * + * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; + * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** + * + * *
        * A place for warnings or errors to show up if a transformation didn't
        * work as expected.
        * 
* * string details = 3; + * * @param value The bytes for details to set. * @return This builder for chaining. */ - public Builder setDetailsBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + details_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1131,30 +1290,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationSummary.SummaryResult) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationSummary.SummaryResult) - private static final com.google.privacy.dlp.v2.TransformationSummary.SummaryResult DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.TransformationSummary.SummaryResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationSummary.SummaryResult(); } - public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getDefaultInstance() { + public static com.google.privacy.dlp.v2.TransformationSummary.SummaryResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SummaryResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SummaryResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SummaryResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SummaryResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,20 +1327,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** + * + * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -1187,11 +1351,14 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -1199,6 +1366,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** + * + * *
    * Set if the transformation was limited to a specific InfoType.
    * 
@@ -1213,11 +1382,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { public static final int FIELD_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.FieldId field_; /** + * + * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return Whether the field field is set. */ @java.lang.Override @@ -1225,11 +1397,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return The field. */ @java.lang.Override @@ -1237,6 +1412,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
    * Set if the transformation was limited to a specific FieldId.
    * 
@@ -1251,11 +1428,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { public static final int TRANSFORMATION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.PrimitiveTransformation transformation_; /** + * + * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; + * * @return Whether the transformation field is set. */ @java.lang.Override @@ -1263,18 +1443,25 @@ public boolean hasTransformation() { return transformation_ != null; } /** + * + * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; + * * @return The transformation. */ @java.lang.Override public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() { - return transformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : transformation_; + return transformation_ == null + ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() + : transformation_; } /** + * + * *
    * The specific transformation these stats apply to.
    * 
@@ -1289,6 +1476,8 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat public static final int FIELD_TRANSFORMATIONS_FIELD_NUMBER = 5; private java.util.List fieldTransformations_; /** + * + * *
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1298,10 +1487,13 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
   @java.lang.Override
-  public java.util.List getFieldTransformationsList() {
+  public java.util.List
+      getFieldTransformationsList() {
     return fieldTransformations_;
   }
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1311,11 +1503,13 @@ public java.util.List getFieldTra
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFieldTransformationsOrBuilderList() {
     return fieldTransformations_;
   }
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1329,6 +1523,8 @@ public int getFieldTransformationsCount() {
     return fieldTransformations_.size();
   }
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1342,6 +1538,8 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int
     return fieldTransformations_.get(index);
   }
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1359,11 +1557,14 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
   public static final int RECORD_SUPPRESS_FIELD_NUMBER = 6;
   private com.google.privacy.dlp.v2.RecordSuppression recordSuppress_;
   /**
+   *
+   *
    * 
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; + * * @return Whether the recordSuppress field is set. */ @java.lang.Override @@ -1371,18 +1572,25 @@ public boolean hasRecordSuppress() { return recordSuppress_ != null; } /** + * + * *
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; + * * @return The recordSuppress. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() { - return recordSuppress_ == null ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() : recordSuppress_; + return recordSuppress_ == null + ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() + : recordSuppress_; } /** + * + * *
    * The specific suppression option these stats apply to.
    * 
@@ -1397,6 +1605,8 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB public static final int RESULTS_FIELD_NUMBER = 4; private java.util.List results_; /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1404,10 +1614,13 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ @java.lang.Override - public java.util.List getResultsList() { + public java.util.List + getResultsList() { return results_; } /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1415,11 +1628,14 @@ public java.util.Listrepeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> getResultsOrBuilderList() { return results_; } /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1431,6 +1647,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1442,6 +1660,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults( return results_.get(index); } /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1457,11 +1677,14 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder ge public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 7; private long transformedBytes_; /** + * + * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 7; + * * @return The transformedBytes. */ @java.lang.Override @@ -1470,6 +1693,7 @@ public long getTransformedBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1481,8 +1705,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -1514,32 +1737,26 @@ public int getSerializedSize() { size = 0; if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInfoType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInfoType()); } if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getField()); } if (transformation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTransformation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTransformation()); } for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, results_.get(i)); } for (int i = 0; i < fieldTransformations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, fieldTransformations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, fieldTransformations_.get(i)); } if (recordSuppress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRecordSuppress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRecordSuppress()); } if (transformedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, transformedBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, transformedBytes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1549,39 +1766,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.TransformationSummary)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationSummary other = (com.google.privacy.dlp.v2.TransformationSummary) obj; + com.google.privacy.dlp.v2.TransformationSummary other = + (com.google.privacy.dlp.v2.TransformationSummary) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } if (hasTransformation() != other.hasTransformation()) return false; if (hasTransformation()) { - if (!getTransformation() - .equals(other.getTransformation())) return false; + if (!getTransformation().equals(other.getTransformation())) return false; } - if (!getFieldTransformationsList() - .equals(other.getFieldTransformationsList())) return false; + if (!getFieldTransformationsList().equals(other.getFieldTransformationsList())) return false; if (hasRecordSuppress() != other.hasRecordSuppress()) return false; if (hasRecordSuppress()) { - if (!getRecordSuppress() - .equals(other.getRecordSuppress())) return false; + if (!getRecordSuppress().equals(other.getRecordSuppress())) return false; } - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (getTransformedBytes() - != other.getTransformedBytes()) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (getTransformedBytes() != other.getTransformedBytes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1618,104 +1829,110 @@ public int hashCode() { hash = (53 * hash) + getResultsList().hashCode(); } hash = (37 * hash) + TRANSFORMED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTransformedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTransformedBytes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationSummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Summary of a single transformation.
    * Only one of 'transformation', 'field_transformation', or 'record_suppress'
@@ -1724,21 +1941,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationSummary}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationSummary)
       com.google.privacy.dlp.v2.TransformationSummaryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationSummary.class, com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
+              com.google.privacy.dlp.v2.TransformationSummary.class,
+              com.google.privacy.dlp.v2.TransformationSummary.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationSummary.newBuilder()
@@ -1746,18 +1965,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getFieldTransformationsFieldBuilder();
         getResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1803,9 +2022,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor;
     }
 
     @java.lang.Override
@@ -1824,7 +2043,8 @@ public com.google.privacy.dlp.v2.TransformationSummary build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
-      com.google.privacy.dlp.v2.TransformationSummary result = new com.google.privacy.dlp.v2.TransformationSummary(this);
+      com.google.privacy.dlp.v2.TransformationSummary result =
+          new com.google.privacy.dlp.v2.TransformationSummary(this);
       int from_bitField0_ = bitField0_;
       if (infoTypeBuilder_ == null) {
         result.infoType_ = infoType_;
@@ -1873,38 +2093,39 @@ public com.google.privacy.dlp.v2.TransformationSummary buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationSummary) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationSummary) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1912,7 +2133,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other) {
-      if (other == com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.TransformationSummary.getDefaultInstance())
+        return this;
       if (other.hasInfoType()) {
         mergeInfoType(other.getInfoType());
       }
@@ -1940,9 +2162,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
             fieldTransformationsBuilder_ = null;
             fieldTransformations_ = other.fieldTransformations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            fieldTransformationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFieldTransformationsFieldBuilder() : null;
+            fieldTransformationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFieldTransformationsFieldBuilder()
+                    : null;
           } else {
             fieldTransformationsBuilder_.addAllMessages(other.fieldTransformations_);
           }
@@ -1969,9 +2192,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationSummary other)
             resultsBuilder_ = null;
             results_ = other.results_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            resultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResultsFieldBuilder() : null;
+            resultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResultsFieldBuilder()
+                    : null;
           } else {
             resultsBuilder_.addAllMessages(other.results_);
           }
@@ -2008,38 +2232,52 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.InfoType infoType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> infoTypeBuilder_;
+            com.google.privacy.dlp.v2.InfoType,
+            com.google.privacy.dlp.v2.InfoType.Builder,
+            com.google.privacy.dlp.v2.InfoTypeOrBuilder>
+        infoTypeBuilder_;
     /**
+     *
+     *
      * 
      * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ public com.google.privacy.dlp.v2.InfoType getInfoType() { if (infoTypeBuilder_ == null) { - return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } else { return infoTypeBuilder_.getMessage(); } } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2060,14 +2298,15 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; */ - public Builder setInfoType( - com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { if (infoTypeBuilder_ == null) { infoType_ = builderForValue.build(); onChanged(); @@ -2078,6 +2317,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2088,7 +2329,9 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { if (infoTypeBuilder_ == null) { if (infoType_ != null) { infoType_ = - com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InfoType.newBuilder(infoType_) + .mergeFrom(value) + .buildPartial(); } else { infoType_ = value; } @@ -2100,6 +2343,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2118,6 +2363,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2125,11 +2372,13 @@ public Builder clearInfoType() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { - + onChanged(); return getInfoTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2140,11 +2389,14 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { if (infoTypeBuilder_ != null) { return infoTypeBuilder_.getMessageOrBuilder(); } else { - return infoType_ == null ? - com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; + return infoType_ == null + ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() + : infoType_; } } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2152,14 +2404,17 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { * .google.privacy.dlp.v2.InfoType info_type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder> + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypeFieldBuilder() { if (infoTypeBuilder_ == null) { - infoTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InfoType, com.google.privacy.dlp.v2.InfoType.Builder, com.google.privacy.dlp.v2.InfoTypeOrBuilder>( - getInfoType(), - getParentForChildren(), - isClean()); + infoTypeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InfoType, + com.google.privacy.dlp.v2.InfoType.Builder, + com.google.privacy.dlp.v2.InfoTypeOrBuilder>( + getInfoType(), getParentForChildren(), isClean()); infoType_ = null; } return infoTypeBuilder_; @@ -2167,24 +2422,33 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { private com.google.privacy.dlp.v2.FieldId field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> fieldBuilder_; + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + fieldBuilder_; /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -2195,6 +2459,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2215,14 +2481,15 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
* * .google.privacy.dlp.v2.FieldId field = 2; */ - public Builder setField( - com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); @@ -2233,6 +2500,8 @@ public Builder setField( return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2243,7 +2512,7 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = - com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.FieldId.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } @@ -2255,6 +2524,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2273,6 +2544,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2280,11 +2553,13 @@ public Builder clearField() { * .google.privacy.dlp.v2.FieldId field = 2; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldBuilder() { - + onChanged(); return getFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2295,11 +2570,12 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; + return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2307,14 +2583,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { * .google.privacy.dlp.v2.FieldId field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder> + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.FieldId, com.google.privacy.dlp.v2.FieldId.Builder, com.google.privacy.dlp.v2.FieldIdOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -2322,34 +2601,47 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { private com.google.privacy.dlp.v2.PrimitiveTransformation transformation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> transformationBuilder_; + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + transformationBuilder_; /** + * + * *
      * The specific transformation these stats apply to.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; + * * @return Whether the transformation field is set. */ public boolean hasTransformation() { return transformationBuilder_ != null || transformation_ != null; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; + * * @return The transformation. */ public com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation() { if (transformationBuilder_ == null) { - return transformation_ == null ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : transformation_; + return transformation_ == null + ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() + : transformation_; } else { return transformationBuilder_.getMessage(); } } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2370,6 +2662,8 @@ public Builder setTransformation(com.google.privacy.dlp.v2.PrimitiveTransformati return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2388,6 +2682,8 @@ public Builder setTransformation( return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2398,7 +2694,9 @@ public Builder mergeTransformation(com.google.privacy.dlp.v2.PrimitiveTransforma if (transformationBuilder_ == null) { if (transformation_ != null) { transformation_ = - com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder(transformation_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.PrimitiveTransformation.newBuilder(transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -2410,6 +2708,8 @@ public Builder mergeTransformation(com.google.privacy.dlp.v2.PrimitiveTransforma return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2428,6 +2728,8 @@ public Builder clearTransformation() { return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2435,11 +2737,13 @@ public Builder clearTransformation() { * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; */ public com.google.privacy.dlp.v2.PrimitiveTransformation.Builder getTransformationBuilder() { - + onChanged(); return getTransformationFieldBuilder().getBuilder(); } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2450,11 +2754,14 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat if (transformationBuilder_ != null) { return transformationBuilder_.getMessageOrBuilder(); } else { - return transformation_ == null ? - com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() : transformation_; + return transformation_ == null + ? com.google.privacy.dlp.v2.PrimitiveTransformation.getDefaultInstance() + : transformation_; } } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2462,32 +2769,43 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformat * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder> getTransformationFieldBuilder() { if (transformationBuilder_ == null) { - transformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.PrimitiveTransformation, com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( - getTransformation(), - getParentForChildren(), - isClean()); + transformationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.PrimitiveTransformation, + com.google.privacy.dlp.v2.PrimitiveTransformation.Builder, + com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder>( + getTransformation(), getParentForChildren(), isClean()); transformation_ = null; } return transformationBuilder_; } private java.util.List fieldTransformations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldTransformationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fieldTransformations_ = new java.util.ArrayList(fieldTransformations_); + fieldTransformations_ = + new java.util.ArrayList( + fieldTransformations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> fieldTransformationsBuilder_; + com.google.privacy.dlp.v2.FieldTransformation, + com.google.privacy.dlp.v2.FieldTransformation.Builder, + com.google.privacy.dlp.v2.FieldTransformationOrBuilder> + fieldTransformationsBuilder_; /** + * + * *
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2496,7 +2814,8 @@ private void ensureFieldTransformationsIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
-    public java.util.List getFieldTransformationsList() {
+    public java.util.List
+        getFieldTransformationsList() {
       if (fieldTransformationsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(fieldTransformations_);
       } else {
@@ -2504,6 +2823,8 @@ public java.util.List getFieldTra
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2520,6 +2841,8 @@ public int getFieldTransformationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2536,6 +2859,8 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2559,6 +2884,8 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2579,6 +2906,8 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2601,6 +2930,8 @@ public Builder addFieldTransformations(com.google.privacy.dlp.v2.FieldTransforma
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2624,6 +2955,8 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2644,6 +2977,8 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2664,6 +2999,8 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2676,8 +3013,7 @@ public Builder addAllFieldTransformations(
         java.lang.Iterable values) {
       if (fieldTransformationsBuilder_ == null) {
         ensureFieldTransformationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, fieldTransformations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransformations_);
         onChanged();
       } else {
         fieldTransformationsBuilder_.addAllMessages(values);
@@ -2685,6 +3021,8 @@ public Builder addAllFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2704,6 +3042,8 @@ public Builder clearFieldTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2723,6 +3063,8 @@ public Builder removeFieldTransformations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2736,6 +3078,8 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat
       return getFieldTransformationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2747,11 +3091,14 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat
     public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOrBuilder(
         int index) {
       if (fieldTransformationsBuilder_ == null) {
-        return fieldTransformations_.get(index);  } else {
+        return fieldTransformations_.get(index);
+      } else {
         return fieldTransformationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2760,8 +3107,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
      *
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
-    public java.util.List 
-         getFieldTransformationsOrBuilderList() {
+    public java.util.List
+        getFieldTransformationsOrBuilderList() {
       if (fieldTransformationsBuilder_ != null) {
         return fieldTransformationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2769,6 +3116,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2778,10 +3127,12 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
     public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder() {
-      return getFieldTransformationsFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
+      return getFieldTransformationsFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2792,10 +3143,12 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
      */
     public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformationsBuilder(
         int index) {
-      return getFieldTransformationsFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
+      return getFieldTransformationsFieldBuilder()
+          .addBuilder(index, com.google.privacy.dlp.v2.FieldTransformation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2804,16 +3157,22 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
      *
      * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
      */
-    public java.util.List 
-         getFieldTransformationsBuilderList() {
+    public java.util.List
+        getFieldTransformationsBuilderList() {
       return getFieldTransformationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder> 
+            com.google.privacy.dlp.v2.FieldTransformation,
+            com.google.privacy.dlp.v2.FieldTransformation.Builder,
+            com.google.privacy.dlp.v2.FieldTransformationOrBuilder>
         getFieldTransformationsFieldBuilder() {
       if (fieldTransformationsBuilder_ == null) {
-        fieldTransformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.FieldTransformation, com.google.privacy.dlp.v2.FieldTransformation.Builder, com.google.privacy.dlp.v2.FieldTransformationOrBuilder>(
+        fieldTransformationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.FieldTransformation,
+                com.google.privacy.dlp.v2.FieldTransformation.Builder,
+                com.google.privacy.dlp.v2.FieldTransformationOrBuilder>(
                 fieldTransformations_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -2825,34 +3184,47 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder addFieldTransformat
 
     private com.google.privacy.dlp.v2.RecordSuppression recordSuppress_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> recordSuppressBuilder_;
+            com.google.privacy.dlp.v2.RecordSuppression,
+            com.google.privacy.dlp.v2.RecordSuppression.Builder,
+            com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>
+        recordSuppressBuilder_;
     /**
+     *
+     *
      * 
      * The specific suppression option these stats apply to.
      * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; + * * @return Whether the recordSuppress field is set. */ public boolean hasRecordSuppress() { return recordSuppressBuilder_ != null || recordSuppress_ != null; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; + * * @return The recordSuppress. */ public com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress() { if (recordSuppressBuilder_ == null) { - return recordSuppress_ == null ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() : recordSuppress_; + return recordSuppress_ == null + ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() + : recordSuppress_; } else { return recordSuppressBuilder_.getMessage(); } } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2873,6 +3245,8 @@ public Builder setRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression val return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2891,6 +3265,8 @@ public Builder setRecordSuppress( return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2901,7 +3277,9 @@ public Builder mergeRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression v if (recordSuppressBuilder_ == null) { if (recordSuppress_ != null) { recordSuppress_ = - com.google.privacy.dlp.v2.RecordSuppression.newBuilder(recordSuppress_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.RecordSuppression.newBuilder(recordSuppress_) + .mergeFrom(value) + .buildPartial(); } else { recordSuppress_ = value; } @@ -2913,6 +3291,8 @@ public Builder mergeRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression v return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2931,6 +3311,8 @@ public Builder clearRecordSuppress() { return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2938,11 +3320,13 @@ public Builder clearRecordSuppress() { * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; */ public com.google.privacy.dlp.v2.RecordSuppression.Builder getRecordSuppressBuilder() { - + onChanged(); return getRecordSuppressFieldBuilder().getBuilder(); } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2953,11 +3337,14 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB if (recordSuppressBuilder_ != null) { return recordSuppressBuilder_.getMessageOrBuilder(); } else { - return recordSuppress_ == null ? - com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() : recordSuppress_; + return recordSuppress_ == null + ? com.google.privacy.dlp.v2.RecordSuppression.getDefaultInstance() + : recordSuppress_; } } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2965,39 +3352,51 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrB * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> + com.google.privacy.dlp.v2.RecordSuppression, + com.google.privacy.dlp.v2.RecordSuppression.Builder, + com.google.privacy.dlp.v2.RecordSuppressionOrBuilder> getRecordSuppressFieldBuilder() { if (recordSuppressBuilder_ == null) { - recordSuppressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordSuppression, com.google.privacy.dlp.v2.RecordSuppression.Builder, com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>( - getRecordSuppress(), - getParentForChildren(), - isClean()); + recordSuppressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordSuppression, + com.google.privacy.dlp.v2.RecordSuppression.Builder, + com.google.privacy.dlp.v2.RecordSuppressionOrBuilder>( + getRecordSuppress(), getParentForChildren(), isClean()); recordSuppress_ = null; } return recordSuppressBuilder_; } private java.util.List results_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - results_ = new java.util.ArrayList(results_); + results_ = + new java.util.ArrayList( + results_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> resultsBuilder_; + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> + resultsBuilder_; /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public java.util.List getResultsList() { + public java.util.List + getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { @@ -3005,6 +3404,8 @@ public java.util.List * Collection of all transformations that took place or had an error. *
@@ -3019,6 +3420,8 @@ public int getResultsCount() { } } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3033,6 +3436,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults( } } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3054,6 +3459,8 @@ public Builder setResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3061,7 +3468,8 @@ public Builder setResults( * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ public Builder setResults( - int index, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); @@ -3072,6 +3480,8 @@ public Builder setResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3092,6 +3502,8 @@ public Builder addResults(com.google.privacy.dlp.v2.TransformationSummary.Summar return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3113,6 +3525,8 @@ public Builder addResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3131,6 +3545,8 @@ public Builder addResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3138,7 +3554,8 @@ public Builder addResults( * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ public Builder addResults( - int index, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); @@ -3149,6 +3566,8 @@ public Builder addResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3156,11 +3575,11 @@ public Builder addResults( * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ 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); @@ -3168,6 +3587,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3185,6 +3606,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3202,6 +3625,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3213,28 +3638,34 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder get return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder getResultsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder + getResultsOrBuilder(int index) { if (resultsBuilder_ == null) { - return results_.get(index); } else { + return results_.get(index); + } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public java.util.List - getResultsOrBuilderList() { + public java.util.List< + ? extends com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -3242,17 +3673,23 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder ge } } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder addResultsBuilder() { - return getResultsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); + public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder + addResultsBuilder() { + return getResultsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3261,42 +3698,52 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder add */ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.getDefaultInstance()); } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>( - results_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + resultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder, + com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder>( + results_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; } - private long transformedBytes_ ; + private long transformedBytes_; /** + * + * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 7; + * * @return The transformedBytes. */ @java.lang.Override @@ -3304,37 +3751,43 @@ public long getTransformedBytes() { return transformedBytes_; } /** + * + * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 7; + * * @param value The transformedBytes to set. * @return This builder for chaining. */ public Builder setTransformedBytes(long value) { - + transformedBytes_ = value; onChanged(); return this; } /** + * + * *
      * Total size in bytes that were transformed in some way.
      * 
* * int64 transformed_bytes = 7; + * * @return This builder for chaining. */ public Builder clearTransformedBytes() { - + transformedBytes_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3344,12 +3797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationSummary) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationSummary) private static final com.google.privacy.dlp.v2.TransformationSummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationSummary(); } @@ -3358,16 +3811,16 @@ public static com.google.privacy.dlp.v2.TransformationSummary getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3382,6 +3835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java similarity index 87% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java index 680cc231..79cc1c18 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationSummaryOrBuilder extends +public interface TransformationSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * Set if the transformation was limited to a specific InfoType.
    * 
@@ -35,24 +59,32 @@ public interface TransformationSummaryOrBuilder extends com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); /** + * + * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
    * Set if the transformation was limited to a specific FieldId.
    * 
* * .google.privacy.dlp.v2.FieldId field = 2; + * * @return The field. */ com.google.privacy.dlp.v2.FieldId getField(); /** + * + * *
    * Set if the transformation was limited to a specific FieldId.
    * 
@@ -62,24 +94,32 @@ public interface TransformationSummaryOrBuilder extends com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder(); /** + * + * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; + * * @return Whether the transformation field is set. */ boolean hasTransformation(); /** + * + * *
    * The specific transformation these stats apply to.
    * 
* * .google.privacy.dlp.v2.PrimitiveTransformation transformation = 3; + * * @return The transformation. */ com.google.privacy.dlp.v2.PrimitiveTransformation getTransformation(); /** + * + * *
    * The specific transformation these stats apply to.
    * 
@@ -89,6 +129,8 @@ public interface TransformationSummaryOrBuilder extends com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getTransformationOrBuilder(); /** + * + * *
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -97,9 +139,10 @@ public interface TransformationSummaryOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
-  java.util.List 
-      getFieldTransformationsList();
+  java.util.List getFieldTransformationsList();
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -110,6 +153,8 @@ public interface TransformationSummaryOrBuilder extends
    */
   com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int index);
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -120,6 +165,8 @@ public interface TransformationSummaryOrBuilder extends
    */
   int getFieldTransformationsCount();
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -128,9 +175,11 @@ public interface TransformationSummaryOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5;
    */
-  java.util.List 
+  java.util.List
       getFieldTransformationsOrBuilderList();
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -143,24 +192,32 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr
       int index);
 
   /**
+   *
+   *
    * 
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; + * * @return Whether the recordSuppress field is set. */ boolean hasRecordSuppress(); /** + * + * *
    * The specific suppression option these stats apply to.
    * 
* * .google.privacy.dlp.v2.RecordSuppression record_suppress = 6; + * * @return The recordSuppress. */ com.google.privacy.dlp.v2.RecordSuppression getRecordSuppress(); /** + * + * *
    * The specific suppression option these stats apply to.
    * 
@@ -170,15 +227,18 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppressOrBuilder(); /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - java.util.List - getResultsList(); + java.util.List getResultsList(); /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -187,6 +247,8 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr */ com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults(int index); /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -195,15 +257,19 @@ com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransformationsOr */ int getResultsCount(); /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
* * repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -214,11 +280,14 @@ com.google.privacy.dlp.v2.TransformationSummary.SummaryResultOrBuilder getResult int index); /** + * + * *
    * Total size in bytes that were transformed in some way.
    * 
* * int64 transformed_bytes = 7; + * * @return The transformedBytes. */ long getTransformedBytes(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java index f5b2a9b5..15a57eb9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Use this to have a random data crypto key generated.
  * It will be discarded after the request finishes.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransientCryptoKey}
  */
-public final class TransientCryptoKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransientCryptoKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransientCryptoKey)
     TransientCryptoKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransientCryptoKey.newBuilder() to construct.
   private TransientCryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransientCryptoKey() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransientCryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TransientCryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,47 +71,52 @@ private TransientCryptoKey(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransientCryptoKey.class, com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.TransientCryptoKey.class,
+            com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -105,6 +127,7 @@ private TransientCryptoKey(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -113,14 +136,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. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -131,16 +155,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 { @@ -149,6 +172,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -185,15 +208,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.privacy.dlp.v2.TransientCryptoKey)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransientCryptoKey other = (com.google.privacy.dlp.v2.TransientCryptoKey) obj; + com.google.privacy.dlp.v2.TransientCryptoKey other = + (com.google.privacy.dlp.v2.TransientCryptoKey) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,97 +235,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransientCryptoKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransientCryptoKey parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransientCryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransientCryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Use this to have a random data crypto key generated.
    * It will be discarded after the request finishes.
@@ -310,21 +340,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransientCryptoKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransientCryptoKey)
       com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransientCryptoKey.class, com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.TransientCryptoKey.class,
+              com.google.privacy.dlp.v2.TransientCryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransientCryptoKey.newBuilder()
@@ -332,16 +364,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -372,7 +403,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKey build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransientCryptoKey buildPartial() {
-      com.google.privacy.dlp.v2.TransientCryptoKey result = new com.google.privacy.dlp.v2.TransientCryptoKey(this);
+      com.google.privacy.dlp.v2.TransientCryptoKey result =
+          new com.google.privacy.dlp.v2.TransientCryptoKey(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -382,38 +414,39 @@ public com.google.privacy.dlp.v2.TransientCryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransientCryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransientCryptoKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -457,6 +490,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -467,13 +502,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; @@ -482,6 +517,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -492,15 +529,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 { @@ -508,6 +544,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -518,20 +556,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -542,15 +582,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -561,23 +604,23 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransientCryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransientCryptoKey) private static final com.google.privacy.dlp.v2.TransientCryptoKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransientCryptoKey(); } @@ -601,16 +644,16 @@ public static com.google.privacy.dlp.v2.TransientCryptoKey getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransientCryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransientCryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransientCryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransientCryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,6 +668,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransientCryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java index 072f5f73..b76b8722 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransientCryptoKeyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransientCryptoKeyOrBuilder extends +public interface TransientCryptoKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransientCryptoKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -18,10 +36,13 @@ public interface TransientCryptoKeyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -32,8 +53,8 @@ public interface TransientCryptoKeyOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java index 72e399fe..15d7cd9a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Using raw keys is prone to security risks due to accidentally
  * leaking the key. Choose another type of key if possible.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.UnwrappedCryptoKey}
  */
-public final class UnwrappedCryptoKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UnwrappedCryptoKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UnwrappedCryptoKey)
     UnwrappedCryptoKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UnwrappedCryptoKey.newBuilder() to construct.
   private UnwrappedCryptoKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UnwrappedCryptoKey() {
     key_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UnwrappedCryptoKey();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UnwrappedCryptoKey(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,51 +71,56 @@ private UnwrappedCryptoKey(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            key_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 10:
+            {
+              key_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.UnwrappedCryptoKey.class, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
+            com.google.privacy.dlp.v2.UnwrappedCryptoKey.class,
+            com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
   }
 
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString key_;
   /**
+   *
+   *
    * 
    * Required. A 128/192/256 bit key.
    * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The key. */ @java.lang.Override @@ -107,6 +129,7 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -133,8 +155,7 @@ public int getSerializedSize() { size = 0; if (!key_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, key_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -144,15 +165,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.UnwrappedCryptoKey)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UnwrappedCryptoKey other = (com.google.privacy.dlp.v2.UnwrappedCryptoKey) obj; + com.google.privacy.dlp.v2.UnwrappedCryptoKey other = + (com.google.privacy.dlp.v2.UnwrappedCryptoKey) obj; - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -171,97 +192,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UnwrappedCryptoKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.UnwrappedCryptoKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Using raw keys is prone to security risks due to accidentally
    * leaking the key. Choose another type of key if possible.
@@ -269,21 +297,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.UnwrappedCryptoKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UnwrappedCryptoKey)
       com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.UnwrappedCryptoKey.class, com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
+              com.google.privacy.dlp.v2.UnwrappedCryptoKey.class,
+              com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.UnwrappedCryptoKey.newBuilder()
@@ -291,16 +321,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -310,9 +339,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor;
     }
 
     @java.lang.Override
@@ -331,7 +360,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.UnwrappedCryptoKey buildPartial() {
-      com.google.privacy.dlp.v2.UnwrappedCryptoKey result = new com.google.privacy.dlp.v2.UnwrappedCryptoKey(this);
+      com.google.privacy.dlp.v2.UnwrappedCryptoKey result =
+          new com.google.privacy.dlp.v2.UnwrappedCryptoKey(this);
       result.key_ = key_;
       onBuilt();
       return result;
@@ -341,38 +371,39 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.UnwrappedCryptoKey) {
-        return mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey)other);
+        return mergeFrom((com.google.privacy.dlp.v2.UnwrappedCryptoKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,11 +446,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Required. A 128/192/256 bit key.
      * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The key. */ @java.lang.Override @@ -427,40 +461,46 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** + * + * *
      * Required. A 128/192/256 bit key.
      * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * Required. A 128/192/256 bit key.
      * 
* * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -470,12 +510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UnwrappedCryptoKey) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UnwrappedCryptoKey) private static final com.google.privacy.dlp.v2.UnwrappedCryptoKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UnwrappedCryptoKey(); } @@ -484,16 +524,16 @@ public static com.google.privacy.dlp.v2.UnwrappedCryptoKey getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnwrappedCryptoKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnwrappedCryptoKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnwrappedCryptoKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnwrappedCryptoKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -508,6 +548,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.UnwrappedCryptoKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java new file mode 100644 index 00000000..30729d2a --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UnwrappedCryptoKeyOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface UnwrappedCryptoKeyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UnwrappedCryptoKey) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A 128/192/256 bit key.
+   * 
+ * + * bytes key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + com.google.protobuf.ByteString getKey(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java index c9ba02fc..b1737ab2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for UpdateDeidentifyTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest} */ -public final class UpdateDeidentifyTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDeidentifyTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) UpdateDeidentifyTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDeidentifyTemplateRequest.newBuilder() to construct. - private UpdateDeidentifyTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDeidentifyTemplateRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateDeidentifyTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDeidentifyTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateDeidentifyTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,80 +71,93 @@ private UpdateDeidentifyTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; - if (deidentifyTemplate_ != null) { - subBuilder = deidentifyTemplate_.toBuilder(); - } - deidentifyTemplate_ = input.readMessage(com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deidentifyTemplate_); - deidentifyTemplate_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder subBuilder = null; + if (deidentifyTemplate_ != null) { + subBuilder = deidentifyTemplate_.toBuilder(); + } + deidentifyTemplate_ = + input.readMessage( + com.google.privacy.dlp.v2.DeidentifyTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deidentifyTemplate_); + deidentifyTemplate_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -135,31 +166,33 @@ 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. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -170,11 +203,14 @@ public java.lang.String getName() { public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; /** + * + * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; + * * @return Whether the deidentifyTemplate field is set. */ @java.lang.Override @@ -182,18 +218,25 @@ public boolean hasDeidentifyTemplate() { return deidentifyTemplate_ != null; } /** + * + * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; + * * @return The deidentifyTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { - return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; + return deidentifyTemplate_ == null + ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() + : deidentifyTemplate_; } /** + * + * *
    * New DeidentifyTemplate value.
    * 
@@ -208,11 +251,14 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -220,11 +266,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -232,6 +281,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -244,6 +295,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +307,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -279,12 +330,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (deidentifyTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeidentifyTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeidentifyTemplate()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -294,24 +343,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.privacy.dlp.v2.UpdateDeidentifyTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest other = (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) obj; + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest other = + (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasDeidentifyTemplate() != other.hasDeidentifyTemplate()) return false; if (hasDeidentifyTemplate()) { - if (!getDeidentifyTemplate() - .equals(other.getDeidentifyTemplate())) return false; + if (!getDeidentifyTemplate().equals(other.getDeidentifyTemplate())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -340,117 +387,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateDeidentifyTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.class, + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.newBuilder() @@ -458,16 +515,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor; } @java.lang.Override @@ -510,7 +566,8 @@ public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest result = new com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest(this); + com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest result = + new com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest(this); result.name_ = name_; if (deidentifyTemplateBuilder_ == null) { result.deidentifyTemplate_ = deidentifyTemplate_; @@ -530,38 +587,39 @@ public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -569,7 +627,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -599,7 +658,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,20 +671,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * 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; @@ -633,22 +697,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * 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 { @@ -656,60 +723,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -717,34 +797,47 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.DeidentifyTemplate deidentifyTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> deidentifyTemplateBuilder_; + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + deidentifyTemplateBuilder_; /** + * + * *
      * New DeidentifyTemplate value.
      * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; + * * @return Whether the deidentifyTemplate field is set. */ public boolean hasDeidentifyTemplate() { return deidentifyTemplateBuilder_ != null || deidentifyTemplate_ != null; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; + * * @return The deidentifyTemplate. */ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate() { if (deidentifyTemplateBuilder_ == null) { - return deidentifyTemplate_ == null ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; + return deidentifyTemplate_ == null + ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() + : deidentifyTemplate_; } else { return deidentifyTemplateBuilder_.getMessage(); } } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -765,6 +858,8 @@ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplat return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -783,6 +878,8 @@ public Builder setDeidentifyTemplate( return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -793,7 +890,9 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl if (deidentifyTemplateBuilder_ == null) { if (deidentifyTemplate_ != null) { deidentifyTemplate_ = - com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DeidentifyTemplate.newBuilder(deidentifyTemplate_) + .mergeFrom(value) + .buildPartial(); } else { deidentifyTemplate_ = value; } @@ -805,6 +904,8 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -823,6 +924,8 @@ public Builder clearDeidentifyTemplate() { return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -830,11 +933,13 @@ public Builder clearDeidentifyTemplate() { * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; */ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplateBuilder() { - + onChanged(); return getDeidentifyTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -845,11 +950,14 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla if (deidentifyTemplateBuilder_ != null) { return deidentifyTemplateBuilder_.getMessageOrBuilder(); } else { - return deidentifyTemplate_ == null ? - com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() : deidentifyTemplate_; + return deidentifyTemplate_ == null + ? com.google.privacy.dlp.v2.DeidentifyTemplate.getDefaultInstance() + : deidentifyTemplate_; } } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -857,14 +965,17 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder> getDeidentifyTemplateFieldBuilder() { if (deidentifyTemplateBuilder_ == null) { - deidentifyTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DeidentifyTemplate, com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( - getDeidentifyTemplate(), - getParentForChildren(), - isClean()); + deidentifyTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DeidentifyTemplate, + com.google.privacy.dlp.v2.DeidentifyTemplate.Builder, + com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>( + getDeidentifyTemplate(), getParentForChildren(), isClean()); deidentifyTemplate_ = null; } return deidentifyTemplateBuilder_; @@ -872,34 +983,47 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla 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_; /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -920,14 +1044,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -938,6 +1063,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -948,7 +1075,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -960,6 +1087,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -978,6 +1107,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -985,11 +1116,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1000,11 +1133,14 @@ 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_; } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1012,21 +1148,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1036,12 +1175,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) private static final com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest(); } @@ -1050,16 +1189,16 @@ public static com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDeidentifyTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateDeidentifyTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDeidentifyTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateDeidentifyTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,6 +1213,4 @@ public com.google.protobuf.Parser getParserForT public com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java index 72bfe90f..4dd521b8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java @@ -1,55 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateDeidentifyTemplateRequestOrBuilder extends +public interface UpdateDeidentifyTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * 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. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * 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(); /** + * + * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; + * * @return Whether the deidentifyTemplate field is set. */ boolean hasDeidentifyTemplate(); /** + * + * *
    * New DeidentifyTemplate value.
    * 
* * .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2; + * * @return The deidentifyTemplate. */ com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplate(); /** + * + * *
    * New DeidentifyTemplate value.
    * 
@@ -59,24 +92,32 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder extends com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java index 6cda5a80..ab49307f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for UpdateInspectTemplate.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateInspectTemplateRequest} */ -public final class UpdateInspectTemplateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateInspectTemplateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateInspectTemplateRequest) UpdateInspectTemplateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateInspectTemplateRequest.newBuilder() to construct. private UpdateInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateInspectTemplateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateInspectTemplateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateInspectTemplateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,80 +70,93 @@ private UpdateInspectTemplateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; - if (inspectTemplate_ != null) { - subBuilder = inspectTemplate_.toBuilder(); - } - inspectTemplate_ = input.readMessage(com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inspectTemplate_); - inspectTemplate_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.InspectTemplate.Builder subBuilder = null; + if (inspectTemplate_ != null) { + subBuilder = inspectTemplate_.toBuilder(); + } + inspectTemplate_ = + input.readMessage( + com.google.privacy.dlp.v2.InspectTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inspectTemplate_); + inspectTemplate_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -135,31 +165,33 @@ 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. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -170,11 +202,14 @@ public java.lang.String getName() { public static final int INSPECT_TEMPLATE_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; /** + * + * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; + * * @return Whether the inspectTemplate field is set. */ @java.lang.Override @@ -182,18 +217,25 @@ public boolean hasInspectTemplate() { return inspectTemplate_ != null; } /** + * + * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; + * * @return The inspectTemplate. */ @java.lang.Override public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { - return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; + return inspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : inspectTemplate_; } /** + * + * *
    * New InspectTemplate value.
    * 
@@ -208,11 +250,14 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -220,11 +265,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -232,6 +280,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -244,6 +294,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -279,12 +329,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (inspectTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInspectTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectTemplate()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -294,24 +342,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.privacy.dlp.v2.UpdateInspectTemplateRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest other = (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) obj; + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest other = + (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasInspectTemplate() != other.hasInspectTemplate()) return false; if (hasInspectTemplate()) { - if (!getInspectTemplate() - .equals(other.getInspectTemplate())) return false; + if (!getInspectTemplate().equals(other.getInspectTemplate())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -340,117 +386,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateInspectTemplate.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateInspectTemplateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateInspectTemplateRequest) com.google.privacy.dlp.v2.UpdateInspectTemplateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.class, + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.newBuilder() @@ -458,16 +514,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor; } @java.lang.Override @@ -510,7 +565,8 @@ public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateInspectTemplateRequest result = new com.google.privacy.dlp.v2.UpdateInspectTemplateRequest(this); + com.google.privacy.dlp.v2.UpdateInspectTemplateRequest result = + new com.google.privacy.dlp.v2.UpdateInspectTemplateRequest(this); result.name_ = name_; if (inspectTemplateBuilder_ == null) { result.inspectTemplate_ = inspectTemplate_; @@ -530,38 +586,39 @@ public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateInspectTemplateRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) other); } else { super.mergeFrom(other); return this; @@ -569,7 +626,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateInspectTemplateRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.UpdateInspectTemplateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -599,7 +657,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.UpdateInspectTemplateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,20 +670,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * 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; @@ -633,22 +696,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * 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 { @@ -656,60 +722,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -717,34 +796,47 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.InspectTemplate inspectTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> inspectTemplateBuilder_; + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + inspectTemplateBuilder_; /** + * + * *
      * New InspectTemplate value.
      * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; + * * @return Whether the inspectTemplate field is set. */ public boolean hasInspectTemplate() { return inspectTemplateBuilder_ != null || inspectTemplate_ != null; } /** + * + * *
      * New InspectTemplate value.
      * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; + * * @return The inspectTemplate. */ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate() { if (inspectTemplateBuilder_ == null) { - return inspectTemplate_ == null ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; + return inspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : inspectTemplate_; } else { return inspectTemplateBuilder_.getMessage(); } } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -765,6 +857,8 @@ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate valu return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -783,6 +877,8 @@ public Builder setInspectTemplate( return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -793,7 +889,9 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va if (inspectTemplateBuilder_ == null) { if (inspectTemplate_ != null) { inspectTemplate_ = - com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.InspectTemplate.newBuilder(inspectTemplate_) + .mergeFrom(value) + .buildPartial(); } else { inspectTemplate_ = value; } @@ -805,6 +903,8 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -823,6 +923,8 @@ public Builder clearInspectTemplate() { return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -830,11 +932,13 @@ public Builder clearInspectTemplate() { * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; */ public com.google.privacy.dlp.v2.InspectTemplate.Builder getInspectTemplateBuilder() { - + onChanged(); return getInspectTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -845,11 +949,14 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu if (inspectTemplateBuilder_ != null) { return inspectTemplateBuilder_.getMessageOrBuilder(); } else { - return inspectTemplate_ == null ? - com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() : inspectTemplate_; + return inspectTemplate_ == null + ? com.google.privacy.dlp.v2.InspectTemplate.getDefaultInstance() + : inspectTemplate_; } } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -857,14 +964,17 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder> + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder> getInspectTemplateFieldBuilder() { if (inspectTemplateBuilder_ == null) { - inspectTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.InspectTemplate, com.google.privacy.dlp.v2.InspectTemplate.Builder, com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( - getInspectTemplate(), - getParentForChildren(), - isClean()); + inspectTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.InspectTemplate, + com.google.privacy.dlp.v2.InspectTemplate.Builder, + com.google.privacy.dlp.v2.InspectTemplateOrBuilder>( + getInspectTemplate(), getParentForChildren(), isClean()); inspectTemplate_ = null; } return inspectTemplateBuilder_; @@ -872,34 +982,47 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu 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_; /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -920,14 +1043,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -938,6 +1062,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -948,7 +1074,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -960,6 +1086,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -978,6 +1106,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -985,11 +1115,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1000,11 +1132,14 @@ 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_; } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1012,21 +1147,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1036,12 +1174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateInspectTemplateRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateInspectTemplateRequest) private static final com.google.privacy.dlp.v2.UpdateInspectTemplateRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateInspectTemplateRequest(); } @@ -1050,16 +1188,16 @@ public static com.google.privacy.dlp.v2.UpdateInspectTemplateRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInspectTemplateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateInspectTemplateRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInspectTemplateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateInspectTemplateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,6 +1212,4 @@ public com.google.protobuf.Parser getParserForType public com.google.privacy.dlp.v2.UpdateInspectTemplateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java index bbe54d47..e98a8648 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java @@ -1,55 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateInspectTemplateRequestOrBuilder extends +public interface UpdateInspectTemplateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateInspectTemplateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * 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. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * 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(); /** + * + * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; + * * @return Whether the inspectTemplate field is set. */ boolean hasInspectTemplate(); /** + * + * *
    * New InspectTemplate value.
    * 
* * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2; + * * @return The inspectTemplate. */ com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate(); /** + * + * *
    * New InspectTemplate value.
    * 
@@ -59,24 +92,32 @@ public interface UpdateInspectTemplateRequestOrBuilder extends com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java index 57a8959c..79598f4c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for UpdateJobTrigger.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateJobTriggerRequest} */ -public final class UpdateJobTriggerRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateJobTriggerRequest) UpdateJobTriggerRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobTriggerRequest.newBuilder() to construct. private UpdateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateJobTriggerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobTriggerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateJobTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,79 +70,92 @@ private UpdateJobTriggerRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; - if (jobTrigger_ != null) { - subBuilder = jobTrigger_.toBuilder(); - } - jobTrigger_ = input.readMessage(com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(jobTrigger_); - jobTrigger_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.JobTrigger.Builder subBuilder = null; + if (jobTrigger_ != null) { + subBuilder = jobTrigger_.toBuilder(); + } + jobTrigger_ = + input.readMessage( + com.google.privacy.dlp.v2.JobTrigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(jobTrigger_); + jobTrigger_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 @@ -134,30 +164,32 @@ 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. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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 { @@ -168,11 +200,14 @@ public java.lang.String getName() { public static final int JOB_TRIGGER_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; /** + * + * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; + * * @return Whether the jobTrigger field is set. */ @java.lang.Override @@ -180,18 +215,25 @@ public boolean hasJobTrigger() { return jobTrigger_ != null; } /** + * + * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; + * * @return The jobTrigger. */ @java.lang.Override public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { - return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; + return jobTrigger_ == null + ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() + : jobTrigger_; } /** + * + * *
    * New JobTrigger value.
    * 
@@ -206,11 +248,14 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -218,11 +263,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -230,6 +278,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -242,6 +292,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,8 +304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -277,12 +327,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (jobTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJobTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTrigger()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -292,24 +340,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.privacy.dlp.v2.UpdateJobTriggerRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateJobTriggerRequest other = (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) obj; + com.google.privacy.dlp.v2.UpdateJobTriggerRequest other = + (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasJobTrigger() != other.hasJobTrigger()) return false; if (hasJobTrigger()) { - if (!getJobTrigger() - .equals(other.getJobTrigger())) return false; + if (!getJobTrigger().equals(other.getJobTrigger())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -338,117 +384,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateJobTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateJobTrigger.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateJobTriggerRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateJobTriggerRequest) com.google.privacy.dlp.v2.UpdateJobTriggerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.class, + com.google.privacy.dlp.v2.UpdateJobTriggerRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateJobTriggerRequest.newBuilder() @@ -456,16 +511,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; } @java.lang.Override @@ -508,7 +562,8 @@ public com.google.privacy.dlp.v2.UpdateJobTriggerRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateJobTriggerRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateJobTriggerRequest result = new com.google.privacy.dlp.v2.UpdateJobTriggerRequest(this); + com.google.privacy.dlp.v2.UpdateJobTriggerRequest result = + new com.google.privacy.dlp.v2.UpdateJobTriggerRequest(this); result.name_ = name_; if (jobTriggerBuilder_ == null) { result.jobTrigger_ = jobTrigger_; @@ -528,38 +583,39 @@ public com.google.privacy.dlp.v2.UpdateJobTriggerRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateJobTriggerRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateJobTriggerRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateJobTriggerRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +623,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateJobTriggerRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateJobTriggerRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.UpdateJobTriggerRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -597,7 +654,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.UpdateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,19 +667,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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; @@ -630,21 +692,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * 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 { @@ -652,57 +717,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -710,34 +788,47 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.JobTrigger jobTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> jobTriggerBuilder_; + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder> + jobTriggerBuilder_; /** + * + * *
      * New JobTrigger value.
      * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; + * * @return Whether the jobTrigger field is set. */ public boolean hasJobTrigger() { return jobTriggerBuilder_ != null || jobTrigger_ != null; } /** + * + * *
      * New JobTrigger value.
      * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; + * * @return The jobTrigger. */ public com.google.privacy.dlp.v2.JobTrigger getJobTrigger() { if (jobTriggerBuilder_ == null) { - return jobTrigger_ == null ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; + return jobTrigger_ == null + ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() + : jobTrigger_; } else { return jobTriggerBuilder_.getMessage(); } } /** + * + * *
      * New JobTrigger value.
      * 
@@ -758,14 +849,15 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** + * + * *
      * New JobTrigger value.
      * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; */ - public Builder setJobTrigger( - com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { + public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builderForValue) { if (jobTriggerBuilder_ == null) { jobTrigger_ = builderForValue.build(); onChanged(); @@ -776,6 +868,8 @@ public Builder setJobTrigger( return this; } /** + * + * *
      * New JobTrigger value.
      * 
@@ -786,7 +880,9 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { if (jobTriggerBuilder_ == null) { if (jobTrigger_ != null) { jobTrigger_ = - com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.JobTrigger.newBuilder(jobTrigger_) + .mergeFrom(value) + .buildPartial(); } else { jobTrigger_ = value; } @@ -798,6 +894,8 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** + * + * *
      * New JobTrigger value.
      * 
@@ -816,6 +914,8 @@ public Builder clearJobTrigger() { return this; } /** + * + * *
      * New JobTrigger value.
      * 
@@ -823,11 +923,13 @@ public Builder clearJobTrigger() { * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; */ public com.google.privacy.dlp.v2.JobTrigger.Builder getJobTriggerBuilder() { - + onChanged(); return getJobTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * New JobTrigger value.
      * 
@@ -838,11 +940,14 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { if (jobTriggerBuilder_ != null) { return jobTriggerBuilder_.getMessageOrBuilder(); } else { - return jobTrigger_ == null ? - com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() : jobTrigger_; + return jobTrigger_ == null + ? com.google.privacy.dlp.v2.JobTrigger.getDefaultInstance() + : jobTrigger_; } } /** + * + * *
      * New JobTrigger value.
      * 
@@ -850,14 +955,17 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder> + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder> getJobTriggerFieldBuilder() { if (jobTriggerBuilder_ == null) { - jobTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.JobTrigger, com.google.privacy.dlp.v2.JobTrigger.Builder, com.google.privacy.dlp.v2.JobTriggerOrBuilder>( - getJobTrigger(), - getParentForChildren(), - isClean()); + jobTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.JobTrigger, + com.google.privacy.dlp.v2.JobTrigger.Builder, + com.google.privacy.dlp.v2.JobTriggerOrBuilder>( + getJobTrigger(), getParentForChildren(), isClean()); jobTrigger_ = null; } return jobTriggerBuilder_; @@ -865,34 +973,47 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() { 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_; /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -913,14 +1034,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -931,6 +1053,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -941,7 +1065,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -953,6 +1077,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -971,6 +1097,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -978,11 +1106,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -993,11 +1123,14 @@ 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_; } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1005,21 +1138,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1029,12 +1165,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateJobTriggerRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateJobTriggerRequest) private static final com.google.privacy.dlp.v2.UpdateJobTriggerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateJobTriggerRequest(); } @@ -1043,16 +1179,16 @@ public static com.google.privacy.dlp.v2.UpdateJobTriggerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateJobTriggerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobTriggerRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateJobTriggerRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1067,6 +1203,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.UpdateJobTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java index 513d1bc8..10d7cd58 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateJobTriggerRequestOrBuilder extends +public interface UpdateJobTriggerRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateJobTriggerRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * 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(); /** + * + * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; + * * @return Whether the jobTrigger field is set. */ boolean hasJobTrigger(); /** + * + * *
    * New JobTrigger value.
    * 
* * .google.privacy.dlp.v2.JobTrigger job_trigger = 2; + * * @return The jobTrigger. */ com.google.privacy.dlp.v2.JobTrigger getJobTrigger(); /** + * + * *
    * New JobTrigger value.
    * 
@@ -57,24 +90,32 @@ public interface UpdateJobTriggerRequestOrBuilder extends com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java index 4cd63f2a..6db6a348 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Request message for UpdateStoredInfoType.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateStoredInfoTypeRequest} */ -public final class UpdateStoredInfoTypeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateStoredInfoTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) UpdateStoredInfoTypeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateStoredInfoTypeRequest.newBuilder() to construct. private UpdateStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateStoredInfoTypeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateStoredInfoTypeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateStoredInfoTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,80 +70,93 @@ private UpdateStoredInfoTypeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = input.readMessage(com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.privacy.dlp.v2.StoredInfoTypeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -135,31 +165,33 @@ 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. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -170,6 +202,8 @@ public java.lang.String getName() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; /** + * + * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -177,6 +211,7 @@ public java.lang.String getName() {
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return Whether the config field is set. */ @java.lang.Override @@ -184,6 +219,8 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -191,13 +228,18 @@ public boolean hasConfig() {
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return The config. */ @java.lang.Override public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { - return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } /** + * + * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -214,11 +256,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
   public static final int UPDATE_MASK_FIELD_NUMBER = 3;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -226,11 +271,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -238,6 +286,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -250,6 +300,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +312,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -285,12 +335,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -300,24 +348,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.privacy.dlp.v2.UpdateStoredInfoTypeRequest)) { return super.equals(obj); } - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest other = (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) obj; + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest other = + (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -346,117 +392,127 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateStoredInfoType.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.UpdateStoredInfoTypeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.class, + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.Builder.class); } // Construct using com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.newBuilder() @@ -464,16 +520,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor; } @java.lang.Override @@ -516,7 +571,8 @@ public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest build() { @java.lang.Override public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest buildPartial() { - com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest result = new com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest(this); + com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest result = + new com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest(this); result.name_ = name_; if (configBuilder_ == null) { result.config_ = config_; @@ -536,38 +592,39 @@ public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) { - return mergeFrom((com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest)other); + return mergeFrom((com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) other); } else { super.mergeFrom(other); return this; @@ -575,7 +632,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest other) { - if (other == com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -605,7 +663,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -617,20 +676,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * 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; @@ -639,22 +702,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * 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 { @@ -662,60 +728,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -723,8 +802,13 @@ public Builder setNameBytes( private com.google.privacy.dlp.v2.StoredInfoTypeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> configBuilder_; + com.google.privacy.dlp.v2.StoredInfoTypeConfig, + com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> + configBuilder_; /** + * + * *
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -732,12 +816,15 @@ public Builder setNameBytes(
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -745,16 +832,21 @@ public boolean hasConfig() {
      * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return The config. */ public com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -777,6 +869,8 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -797,6 +891,8 @@ public Builder setConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -809,7 +905,9 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value)
       if (configBuilder_ == null) {
         if (config_ != null) {
           config_ =
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.StoredInfoTypeConfig.newBuilder(config_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           config_ = value;
         }
@@ -821,6 +919,8 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -841,6 +941,8 @@ public Builder clearConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -850,11 +952,13 @@ public Builder clearConfig() {
      * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
      */
     public com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder getConfigBuilder() {
-      
+
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -867,11 +971,14 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
       if (configBuilder_ != null) {
         return configBuilder_.getMessageOrBuilder();
       } else {
-        return config_ == null ?
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance() : config_;
+        return config_ == null
+            ? com.google.privacy.dlp.v2.StoredInfoTypeConfig.getDefaultInstance()
+            : config_;
       }
     }
     /**
+     *
+     *
      * 
      * Updated configuration for the storedInfoType. If not provided, a new
      * version of the storedInfoType will be created with the existing
@@ -881,14 +988,17 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
      * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder> 
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig,
+            com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder,
+            com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>
         getConfigFieldBuilder() {
       if (configBuilder_ == null) {
-        configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.StoredInfoTypeConfig, com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder, com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>(
-                getConfig(),
-                getParentForChildren(),
-                isClean());
+        configBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.StoredInfoTypeConfig,
+                com.google.privacy.dlp.v2.StoredInfoTypeConfig.Builder,
+                com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder>(
+                getConfig(), getParentForChildren(), isClean());
         config_ = null;
       }
       return configBuilder_;
@@ -896,34 +1006,47 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
 
     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_;
     /**
+     *
+     *
      * 
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -944,14 +1067,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -962,6 +1086,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -972,7 +1098,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -984,6 +1110,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1002,6 +1130,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1009,11 +1139,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1024,11 +1156,14 @@ 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_; } } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1036,21 +1171,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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); } @@ -1060,12 +1198,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) private static final com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest(); } @@ -1074,16 +1212,16 @@ public static com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateStoredInfoTypeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateStoredInfoTypeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateStoredInfoTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateStoredInfoTypeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,6 +1236,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java index 57169717..db754e33 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface UpdateStoredInfoTypeRequestOrBuilder extends +public interface UpdateStoredInfoTypeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * 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. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * 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(); /** + * + * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -39,10 +66,13 @@ public interface UpdateStoredInfoTypeRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -50,10 +80,13 @@ public interface UpdateStoredInfoTypeRequestOrBuilder extends
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return The config. */ com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig(); /** + * + * *
    * Updated configuration for the storedInfoType. If not provided, a new
    * version of the storedInfoType will be created with the existing
@@ -65,24 +98,32 @@ public interface UpdateStoredInfoTypeRequestOrBuilder extends
   com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Mask to control which fields get updated.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java index eb9ea593..7a7959dd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Value.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * Set of primitive values supported by the system.
  * Note that for the purposes of inspection or transformation, the number
@@ -15,30 +32,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.Value}
  */
-public final class Value extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Value extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Value)
     ValueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Value.newBuilder() to construct.
   private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Value() {
-  }
+
+  private Value() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Value();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Value(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,111 +73,119 @@ private Value(
           case 0:
             done = true;
             break;
-          case 8: {
-            typeCase_ = 1;
-            type_ = input.readInt64();
-            break;
-          }
-          case 17: {
-            typeCase_ = 2;
-            type_ = input.readDouble();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            typeCase_ = 3;
-            type_ = s;
-            break;
-          }
-          case 32: {
-            typeCase_ = 4;
-            type_ = input.readBool();
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (typeCase_ == 5) {
-              subBuilder = ((com.google.protobuf.Timestamp) type_).toBuilder();
+          case 8:
+            {
+              typeCase_ = 1;
+              type_ = input.readInt64();
+              break;
             }
-            type_ =
-                input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.protobuf.Timestamp) type_);
-              type_ = subBuilder.buildPartial();
+          case 17:
+            {
+              typeCase_ = 2;
+              type_ = input.readDouble();
+              break;
             }
-            typeCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.type.TimeOfDay.Builder subBuilder = null;
-            if (typeCase_ == 6) {
-              subBuilder = ((com.google.type.TimeOfDay) type_).toBuilder();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              typeCase_ = 3;
+              type_ = s;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.type.TimeOfDay) type_);
-              type_ = subBuilder.buildPartial();
+          case 32:
+            {
+              typeCase_ = 4;
+              type_ = input.readBool();
+              break;
             }
-            typeCase_ = 6;
-            break;
-          }
-          case 58: {
-            com.google.type.Date.Builder subBuilder = null;
-            if (typeCase_ == 7) {
-              subBuilder = ((com.google.type.Date) type_).toBuilder();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (typeCase_ == 5) {
+                subBuilder = ((com.google.protobuf.Timestamp) type_).toBuilder();
+              }
+              type_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.protobuf.Timestamp) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 5;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.type.Date.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.type.Date) type_);
-              type_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.type.TimeOfDay.Builder subBuilder = null;
+              if (typeCase_ == 6) {
+                subBuilder = ((com.google.type.TimeOfDay) type_).toBuilder();
+              }
+              type_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.type.TimeOfDay) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 6;
+              break;
             }
-            typeCase_ = 7;
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
-            typeCase_ = 8;
-            type_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 58:
+            {
+              com.google.type.Date.Builder subBuilder = null;
+              if (typeCase_ == 7) {
+                subBuilder = ((com.google.type.Date) type_).toBuilder();
+              }
+              type_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.type.Date) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 7;
+              break;
+            }
+          case 64:
+            {
+              int rawValue = input.readEnum();
+              typeCase_ = 8;
+              type_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Value_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.privacy.dlp.v2.Value.class, com.google.privacy.dlp.v2.Value.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
+
   public enum TypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     INTEGER_VALUE(1),
     FLOAT_VALUE(2),
@@ -173,6 +197,7 @@ public enum TypeCase
     DAY_OF_WEEK_VALUE(8),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -188,36 +213,48 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 1: return INTEGER_VALUE;
-        case 2: return FLOAT_VALUE;
-        case 3: return STRING_VALUE;
-        case 4: return BOOLEAN_VALUE;
-        case 5: return TIMESTAMP_VALUE;
-        case 6: return TIME_VALUE;
-        case 7: return DATE_VALUE;
-        case 8: return DAY_OF_WEEK_VALUE;
-        case 0: return TYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return INTEGER_VALUE;
+        case 2:
+          return FLOAT_VALUE;
+        case 3:
+          return STRING_VALUE;
+        case 4:
+          return BOOLEAN_VALUE;
+        case 5:
+          return TIMESTAMP_VALUE;
+        case 6:
+          return TIME_VALUE;
+        case 7:
+          return DATE_VALUE;
+        case 8:
+          return DAY_OF_WEEK_VALUE;
+        case 0:
+          return TYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase
-  getTypeCase() {
-    return TypeCase.forNumber(
-        typeCase_);
+  public TypeCase getTypeCase() {
+    return TypeCase.forNumber(typeCase_);
   }
 
   public static final int INTEGER_VALUE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * integer
    * 
* * int64 integer_value = 1; + * * @return Whether the integerValue field is set. */ @java.lang.Override @@ -225,11 +262,14 @@ public boolean hasIntegerValue() { return typeCase_ == 1; } /** + * + * *
    * integer
    * 
* * int64 integer_value = 1; + * * @return The integerValue. */ @java.lang.Override @@ -242,11 +282,14 @@ public long getIntegerValue() { public static final int FLOAT_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * float
    * 
* * double float_value = 2; + * * @return Whether the floatValue field is set. */ @java.lang.Override @@ -254,11 +297,14 @@ public boolean hasFloatValue() { return typeCase_ == 2; } /** + * + * *
    * float
    * 
* * double float_value = 2; + * * @return The floatValue. */ @java.lang.Override @@ -271,22 +317,28 @@ public double getFloatValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * string
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return typeCase_ == 3; } /** + * + * *
    * string
    * 
* * string string_value = 3; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -297,8 +349,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (typeCase_ == 3) { type_ = s; @@ -307,23 +358,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * string
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { 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); if (typeCase_ == 3) { type_ = b; } @@ -335,11 +387,14 @@ public java.lang.String getStringValue() { public static final int BOOLEAN_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * boolean
    * 
* * bool boolean_value = 4; + * * @return Whether the booleanValue field is set. */ @java.lang.Override @@ -347,11 +402,14 @@ public boolean hasBooleanValue() { return typeCase_ == 4; } /** + * + * *
    * boolean
    * 
* * bool boolean_value = 4; + * * @return The booleanValue. */ @java.lang.Override @@ -364,11 +422,14 @@ public boolean getBooleanValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -376,21 +437,26 @@ public boolean hasTimestampValue() { return typeCase_ == 5; } /** + * + * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (typeCase_ == 5) { - return (com.google.protobuf.Timestamp) type_; + return (com.google.protobuf.Timestamp) type_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * timestamp
    * 
@@ -400,18 +466,21 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (typeCase_ == 5) { - return (com.google.protobuf.Timestamp) type_; + return (com.google.protobuf.Timestamp) type_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int TIME_VALUE_FIELD_NUMBER = 6; /** + * + * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; + * * @return Whether the timeValue field is set. */ @java.lang.Override @@ -419,21 +488,26 @@ public boolean hasTimeValue() { return typeCase_ == 6; } /** + * + * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; + * * @return The timeValue. */ @java.lang.Override public com.google.type.TimeOfDay getTimeValue() { if (typeCase_ == 6) { - return (com.google.type.TimeOfDay) type_; + return (com.google.type.TimeOfDay) type_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** + * + * *
    * time of day
    * 
@@ -443,18 +517,21 @@ public com.google.type.TimeOfDay getTimeValue() { @java.lang.Override public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { if (typeCase_ == 6) { - return (com.google.type.TimeOfDay) type_; + return (com.google.type.TimeOfDay) type_; } return com.google.type.TimeOfDay.getDefaultInstance(); } public static final int DATE_VALUE_FIELD_NUMBER = 7; /** + * + * *
    * date
    * 
* * .google.type.Date date_value = 7; + * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -462,21 +539,26 @@ public boolean hasDateValue() { return typeCase_ == 7; } /** + * + * *
    * date
    * 
* * .google.type.Date date_value = 7; + * * @return The dateValue. */ @java.lang.Override public com.google.type.Date getDateValue() { if (typeCase_ == 7) { - return (com.google.type.Date) type_; + return (com.google.type.Date) type_; } return com.google.type.Date.getDefaultInstance(); } /** + * + * *
    * date
    * 
@@ -486,29 +568,35 @@ public com.google.type.Date getDateValue() { @java.lang.Override public com.google.type.DateOrBuilder getDateValueOrBuilder() { if (typeCase_ == 7) { - return (com.google.type.Date) type_; + return (com.google.type.Date) type_; } return com.google.type.Date.getDefaultInstance(); } public static final int DAY_OF_WEEK_VALUE_FIELD_NUMBER = 8; /** + * + * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return Whether the dayOfWeekValue field is set. */ public boolean hasDayOfWeekValue() { return typeCase_ == 8; } /** + * + * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return The enum numeric value on the wire for dayOfWeekValue. */ public int getDayOfWeekValueValue() { @@ -518,24 +606,28 @@ public int getDayOfWeekValueValue() { return 0; } /** + * + * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return The dayOfWeekValue. */ public com.google.type.DayOfWeek getDayOfWeekValue() { if (typeCase_ == 8) { @SuppressWarnings("deprecation") - com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf( - (java.lang.Integer) type_); + com.google.type.DayOfWeek result = + com.google.type.DayOfWeek.valueOf((java.lang.Integer) type_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } return com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -547,22 +639,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 (typeCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) type_)); + output.writeInt64(1, (long) ((java.lang.Long) type_)); } if (typeCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) type_)); + output.writeDouble(2, (double) ((java.lang.Double) type_)); } if (typeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (typeCase_ == 4) { - output.writeBool( - 4, (boolean)((java.lang.Boolean) type_)); + output.writeBool(4, (boolean) ((java.lang.Boolean) type_)); } if (typeCase_ == 5) { output.writeMessage(5, (com.google.protobuf.Timestamp) type_); @@ -586,38 +674,39 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) type_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) type_)); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) type_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) type_)); } if (typeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 4, (boolean)((java.lang.Boolean) type_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, (boolean) ((java.lang.Boolean) type_)); } if (typeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.protobuf.Timestamp) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.protobuf.Timestamp) type_); } if (typeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.type.TimeOfDay) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.type.TimeOfDay) type_); } if (typeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.type.Date) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, (com.google.type.Date) type_); } if (typeCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, ((java.lang.Integer) type_)); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, ((java.lang.Integer) type_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -627,7 +716,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.privacy.dlp.v2.Value)) { return super.equals(obj); @@ -637,37 +726,29 @@ public boolean equals(final java.lang.Object obj) { if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (getIntegerValue() - != other.getIntegerValue()) return false; + if (getIntegerValue() != other.getIntegerValue()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getFloatValue()) - != java.lang.Double.doubleToLongBits( - other.getFloatValue())) return false; + != java.lang.Double.doubleToLongBits(other.getFloatValue())) return false; break; case 3: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 4: - if (getBooleanValue() - != other.getBooleanValue()) return false; + if (getBooleanValue() != other.getBooleanValue()) return false; break; case 5: - if (!getTimestampValue() - .equals(other.getTimestampValue())) return false; + if (!getTimestampValue().equals(other.getTimestampValue())) return false; break; case 6: - if (!getTimeValue() - .equals(other.getTimeValue())) return false; + if (!getTimeValue().equals(other.getTimeValue())) return false; break; case 7: - if (!getDateValue() - .equals(other.getDateValue())) return false; + if (!getDateValue().equals(other.getDateValue())) return false; break; case 8: - if (getDayOfWeekValueValue() - != other.getDayOfWeekValueValue()) return false; + if (getDayOfWeekValueValue() != other.getDayOfWeekValueValue()) return false; break; case 0: default: @@ -686,13 +767,14 @@ public int hashCode() { switch (typeCase_) { case 1: hash = (37 * hash) + INTEGER_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIntegerValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntegerValue()); break; case 2: hash = (37 * hash) + FLOAT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFloatValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFloatValue())); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -700,8 +782,7 @@ public int hashCode() { break; case 4: hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBooleanValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBooleanValue()); break; case 5: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -727,97 +808,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Value parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Value parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.Value parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.privacy.dlp.v2.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Value parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.Value parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Value parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Value 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.privacy.dlp.v2.Value parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.Value parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Set of primitive values supported by the system.
    * Note that for the purposes of inspection or transformation, the number
@@ -829,19 +916,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.Value}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Value)
       com.google.privacy.dlp.v2.ValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Value_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.privacy.dlp.v2.Value.class, com.google.privacy.dlp.v2.Value.Builder.class);
     }
@@ -851,16 +939,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -870,9 +957,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Value_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Value_descriptor;
     }
 
     @java.lang.Override
@@ -937,38 +1024,39 @@ public com.google.privacy.dlp.v2.Value buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.Value) {
-        return mergeFrom((com.google.privacy.dlp.v2.Value)other);
+        return mergeFrom((com.google.privacy.dlp.v2.Value) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -978,43 +1066,52 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.Value other) {
       if (other == com.google.privacy.dlp.v2.Value.getDefaultInstance()) return this;
       switch (other.getTypeCase()) {
-        case INTEGER_VALUE: {
-          setIntegerValue(other.getIntegerValue());
-          break;
-        }
-        case FLOAT_VALUE: {
-          setFloatValue(other.getFloatValue());
-          break;
-        }
-        case STRING_VALUE: {
-          typeCase_ = 3;
-          type_ = other.type_;
-          onChanged();
-          break;
-        }
-        case BOOLEAN_VALUE: {
-          setBooleanValue(other.getBooleanValue());
-          break;
-        }
-        case TIMESTAMP_VALUE: {
-          mergeTimestampValue(other.getTimestampValue());
-          break;
-        }
-        case TIME_VALUE: {
-          mergeTimeValue(other.getTimeValue());
-          break;
-        }
-        case DATE_VALUE: {
-          mergeDateValue(other.getDateValue());
-          break;
-        }
-        case DAY_OF_WEEK_VALUE: {
-          setDayOfWeekValueValue(other.getDayOfWeekValueValue());
-          break;
-        }
-        case TYPE_NOT_SET: {
-          break;
-        }
+        case INTEGER_VALUE:
+          {
+            setIntegerValue(other.getIntegerValue());
+            break;
+          }
+        case FLOAT_VALUE:
+          {
+            setFloatValue(other.getFloatValue());
+            break;
+          }
+        case STRING_VALUE:
+          {
+            typeCase_ = 3;
+            type_ = other.type_;
+            onChanged();
+            break;
+          }
+        case BOOLEAN_VALUE:
+          {
+            setBooleanValue(other.getBooleanValue());
+            break;
+          }
+        case TIMESTAMP_VALUE:
+          {
+            mergeTimestampValue(other.getTimestampValue());
+            break;
+          }
+        case TIME_VALUE:
+          {
+            mergeTimeValue(other.getTimeValue());
+            break;
+          }
+        case DATE_VALUE:
+          {
+            mergeDateValue(other.getDateValue());
+            break;
+          }
+        case DAY_OF_WEEK_VALUE:
+          {
+            setDayOfWeekValueValue(other.getDayOfWeekValueValue());
+            break;
+          }
+        case TYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1044,12 +1141,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int typeCase_ = 0;
     private java.lang.Object type_;
-    public TypeCase
-        getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public Builder clearType() {
@@ -1059,24 +1156,29 @@ public Builder clearType() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * integer
      * 
* * int64 integer_value = 1; + * * @return Whether the integerValue field is set. */ public boolean hasIntegerValue() { return typeCase_ == 1; } /** + * + * *
      * integer
      * 
* * int64 integer_value = 1; + * * @return The integerValue. */ public long getIntegerValue() { @@ -1086,11 +1188,14 @@ public long getIntegerValue() { return 0L; } /** + * + * *
      * integer
      * 
* * int64 integer_value = 1; + * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1101,11 +1206,14 @@ public Builder setIntegerValue(long value) { return this; } /** + * + * *
      * integer
      * 
* * int64 integer_value = 1; + * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1118,22 +1226,28 @@ public Builder clearIntegerValue() { } /** + * + * *
      * float
      * 
* * double float_value = 2; + * * @return Whether the floatValue field is set. */ public boolean hasFloatValue() { return typeCase_ == 2; } /** + * + * *
      * float
      * 
* * double float_value = 2; + * * @return The floatValue. */ public double getFloatValue() { @@ -1143,11 +1257,14 @@ public double getFloatValue() { return 0D; } /** + * + * *
      * float
      * 
* * double float_value = 2; + * * @param value The floatValue to set. * @return This builder for chaining. */ @@ -1158,11 +1275,14 @@ public Builder setFloatValue(double value) { return this; } /** + * + * *
      * float
      * 
* * double float_value = 2; + * * @return This builder for chaining. */ public Builder clearFloatValue() { @@ -1175,11 +1295,14 @@ public Builder clearFloatValue() { } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1187,11 +1310,14 @@ public boolean hasStringValue() { return typeCase_ == 3; } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @return The stringValue. */ @java.lang.Override @@ -1201,8 +1327,7 @@ public java.lang.String getStringValue() { 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(); if (typeCase_ == 3) { type_ = s; @@ -1213,24 +1338,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (typeCase_ == 3) { 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); if (typeCase_ == 3) { type_ = b; } @@ -1240,30 +1366,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 3; + throw new NullPointerException(); + } + typeCase_ = 3; type_ = value; onChanged(); return this; } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1275,20 +1406,22 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); typeCase_ = 3; type_ = value; onChanged(); @@ -1296,22 +1429,28 @@ public Builder setStringValueBytes( } /** + * + * *
      * boolean
      * 
* * bool boolean_value = 4; + * * @return Whether the booleanValue field is set. */ public boolean hasBooleanValue() { return typeCase_ == 4; } /** + * + * *
      * boolean
      * 
* * bool boolean_value = 4; + * * @return The booleanValue. */ public boolean getBooleanValue() { @@ -1321,11 +1460,14 @@ public boolean getBooleanValue() { return false; } /** + * + * *
      * boolean
      * 
* * bool boolean_value = 4; + * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1336,11 +1478,14 @@ public Builder setBooleanValue(boolean value) { return this; } /** + * + * *
      * boolean
      * 
* * bool boolean_value = 4; + * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1353,13 +1498,19 @@ public Builder clearBooleanValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampValueBuilder_; /** + * + * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1367,11 +1518,14 @@ public boolean hasTimestampValue() { return typeCase_ == 5; } /** + * + * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override @@ -1389,6 +1543,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * timestamp
      * 
@@ -1409,14 +1565,15 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; */ - public Builder setTimestampValue( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -1427,6 +1584,8 @@ public Builder setTimestampValue( return this; } /** + * + * *
      * timestamp
      * 
@@ -1435,10 +1594,11 @@ public Builder setTimestampValue( */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (typeCase_ == 5 && - type_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - type_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 5 && type_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + type_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1453,6 +1613,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * timestamp
      * 
@@ -1476,6 +1638,8 @@ public Builder clearTimestampValue() { return this; } /** + * + * *
      * timestamp
      * 
@@ -1486,6 +1650,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** + * + * *
      * timestamp
      * 
@@ -1504,6 +1670,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** + * + * *
      * timestamp
      * 
@@ -1511,32 +1679,42 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) type_, - getParentForChildren(), - isClean()); + timestampValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; - onChanged();; + onChanged(); + ; return timestampValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> timeValueBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + timeValueBuilder_; /** + * + * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; + * * @return Whether the timeValue field is set. */ @java.lang.Override @@ -1544,11 +1722,14 @@ public boolean hasTimeValue() { return typeCase_ == 6; } /** + * + * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; + * * @return The timeValue. */ @java.lang.Override @@ -1566,6 +1747,8 @@ public com.google.type.TimeOfDay getTimeValue() { } } /** + * + * *
      * time of day
      * 
@@ -1586,14 +1769,15 @@ public Builder setTimeValue(com.google.type.TimeOfDay value) { return this; } /** + * + * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; */ - public Builder setTimeValue( - com.google.type.TimeOfDay.Builder builderForValue) { + public Builder setTimeValue(com.google.type.TimeOfDay.Builder builderForValue) { if (timeValueBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -1604,6 +1788,8 @@ public Builder setTimeValue( return this; } /** + * + * *
      * time of day
      * 
@@ -1612,10 +1798,11 @@ public Builder setTimeValue( */ public Builder mergeTimeValue(com.google.type.TimeOfDay value) { if (timeValueBuilder_ == null) { - if (typeCase_ == 6 && - type_ != com.google.type.TimeOfDay.getDefaultInstance()) { - type_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 6 && type_ != com.google.type.TimeOfDay.getDefaultInstance()) { + type_ = + com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1630,6 +1817,8 @@ public Builder mergeTimeValue(com.google.type.TimeOfDay value) { return this; } /** + * + * *
      * time of day
      * 
@@ -1653,6 +1842,8 @@ public Builder clearTimeValue() { return this; } /** + * + * *
      * time of day
      * 
@@ -1663,6 +1854,8 @@ public com.google.type.TimeOfDay.Builder getTimeValueBuilder() { return getTimeValueFieldBuilder().getBuilder(); } /** + * + * *
      * time of day
      * 
@@ -1681,6 +1874,8 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { } } /** + * + * *
      * time of day
      * 
@@ -1688,32 +1883,40 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { * .google.type.TimeOfDay time_value = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> getTimeValueFieldBuilder() { if (timeValueBuilder_ == null) { if (!(typeCase_ == 6)) { type_ = com.google.type.TimeOfDay.getDefaultInstance(); } - timeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>( - (com.google.type.TimeOfDay) type_, - getParentForChildren(), - isClean()); + timeValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder>( + (com.google.type.TimeOfDay) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 6; - onChanged();; + onChanged(); + ; return timeValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateValueBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + dateValueBuilder_; /** + * + * *
      * date
      * 
* * .google.type.Date date_value = 7; + * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -1721,11 +1924,14 @@ public boolean hasDateValue() { return typeCase_ == 7; } /** + * + * *
      * date
      * 
* * .google.type.Date date_value = 7; + * * @return The dateValue. */ @java.lang.Override @@ -1743,6 +1949,8 @@ public com.google.type.Date getDateValue() { } } /** + * + * *
      * date
      * 
@@ -1763,14 +1971,15 @@ public Builder setDateValue(com.google.type.Date value) { return this; } /** + * + * *
      * date
      * 
* * .google.type.Date date_value = 7; */ - public Builder setDateValue( - com.google.type.Date.Builder builderForValue) { + public Builder setDateValue(com.google.type.Date.Builder builderForValue) { if (dateValueBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -1781,6 +1990,8 @@ public Builder setDateValue( return this; } /** + * + * *
      * date
      * 
@@ -1789,10 +2000,11 @@ public Builder setDateValue( */ public Builder mergeDateValue(com.google.type.Date value) { if (dateValueBuilder_ == null) { - if (typeCase_ == 7 && - type_ != com.google.type.Date.getDefaultInstance()) { - type_ = com.google.type.Date.newBuilder((com.google.type.Date) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 7 && type_ != com.google.type.Date.getDefaultInstance()) { + type_ = + com.google.type.Date.newBuilder((com.google.type.Date) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1807,6 +2019,8 @@ public Builder mergeDateValue(com.google.type.Date value) { return this; } /** + * + * *
      * date
      * 
@@ -1830,6 +2044,8 @@ public Builder clearDateValue() { return this; } /** + * + * *
      * date
      * 
@@ -1840,6 +2056,8 @@ public com.google.type.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** + * + * *
      * date
      * 
@@ -1858,6 +2076,8 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } } /** + * + * *
      * date
      * 
@@ -1865,30 +2085,33 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * .google.type.Date date_value = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateValueFieldBuilder() { if (dateValueBuilder_ == null) { if (!(typeCase_ == 7)) { type_ = com.google.type.Date.getDefaultInstance(); } - dateValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - (com.google.type.Date) type_, - getParentForChildren(), - isClean()); + dateValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + (com.google.type.Date) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 7; - onChanged();; + onChanged(); + ; return dateValueBuilder_; } /** + * + * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return Whether the dayOfWeekValue field is set. */ @java.lang.Override @@ -1896,11 +2119,14 @@ public boolean hasDayOfWeekValue() { return typeCase_ == 8; } /** + * + * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return The enum numeric value on the wire for dayOfWeekValue. */ @java.lang.Override @@ -1911,11 +2137,14 @@ public int getDayOfWeekValueValue() { return 0; } /** + * + * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @param value The enum numeric value on the wire for dayOfWeekValue to set. * @return This builder for chaining. */ @@ -1926,29 +2155,35 @@ public Builder setDayOfWeekValueValue(int value) { return this; } /** + * + * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return The dayOfWeekValue. */ @java.lang.Override public com.google.type.DayOfWeek getDayOfWeekValue() { if (typeCase_ == 8) { @SuppressWarnings("deprecation") - com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf( - (java.lang.Integer) type_); + com.google.type.DayOfWeek result = + com.google.type.DayOfWeek.valueOf((java.lang.Integer) type_); return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result; } return com.google.type.DayOfWeek.DAY_OF_WEEK_UNSPECIFIED; } /** + * + * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @param value The dayOfWeekValue to set. * @return This builder for chaining. */ @@ -1962,11 +2197,14 @@ public Builder setDayOfWeekValue(com.google.type.DayOfWeek value) { return this; } /** + * + * *
      * day of week
      * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return This builder for chaining. */ public Builder clearDayOfWeekValue() { @@ -1977,9 +2215,9 @@ public Builder clearDayOfWeekValue() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1989,12 +2227,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Value) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Value) private static final com.google.privacy.dlp.v2.Value DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Value(); } @@ -2003,16 +2241,16 @@ public static com.google.privacy.dlp.v2.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Value(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Value(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2027,6 +2265,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java index 65b408a6..9daa2bf1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequency.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; /** + * + * *
  * A value of a field, including its frequency.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ValueFrequency} */ -public final class ValueFrequency extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ValueFrequency extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ValueFrequency) ValueFrequencyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValueFrequency.newBuilder() to construct. private ValueFrequency(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValueFrequency() { - } + + private ValueFrequency() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ValueFrequency(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ValueFrequency( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,64 +68,71 @@ private ValueFrequency( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.Value.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.Value.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } + + break; } - value_ = input.readMessage(com.google.privacy.dlp.v2.Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); + case 16: + { + count_ = input.readInt64(); + break; } - - break; - } - case 16: { - - count_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ValueFrequency.class, com.google.privacy.dlp.v2.ValueFrequency.Builder.class); + com.google.privacy.dlp.v2.ValueFrequency.class, + com.google.privacy.dlp.v2.ValueFrequency.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.Value value_; /** + * + * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; + * * @return Whether the value field is set. */ @java.lang.Override @@ -117,11 +140,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; + * * @return The value. */ @java.lang.Override @@ -129,6 +155,8 @@ public com.google.privacy.dlp.v2.Value getValue() { return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } /** + * + * *
    * A value contained in the field in question.
    * 
@@ -143,11 +171,14 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** + * + * *
    * How many times the value is contained in the field.
    * 
* * int64 count = 2; + * * @return The count. */ @java.lang.Override @@ -156,6 +187,7 @@ public long getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,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 (value_ != null) { output.writeMessage(1, getValue()); } @@ -185,12 +216,10 @@ public int getSerializedSize() { size = 0; if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getValue()); } if (count_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, count_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, count_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,7 +229,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.privacy.dlp.v2.ValueFrequency)) { return super.equals(obj); @@ -209,11 +238,9 @@ public boolean equals(final java.lang.Object obj) { if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,125 +257,133 @@ public int hashCode() { hash = (53 * hash) + getValue().hashCode(); } hash = (37 * hash) + COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ValueFrequency parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ValueFrequency parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ValueFrequency parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ValueFrequency parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ValueFrequency prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 value of a field, including its frequency.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ValueFrequency} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ValueFrequency) com.google.privacy.dlp.v2.ValueFrequencyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ValueFrequency.class, com.google.privacy.dlp.v2.ValueFrequency.Builder.class); + com.google.privacy.dlp.v2.ValueFrequency.class, + com.google.privacy.dlp.v2.ValueFrequency.Builder.class); } // Construct using com.google.privacy.dlp.v2.ValueFrequency.newBuilder() @@ -356,16 +391,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor; } @java.lang.Override @@ -402,7 +436,8 @@ public com.google.privacy.dlp.v2.ValueFrequency build() { @java.lang.Override public com.google.privacy.dlp.v2.ValueFrequency buildPartial() { - com.google.privacy.dlp.v2.ValueFrequency result = new com.google.privacy.dlp.v2.ValueFrequency(this); + com.google.privacy.dlp.v2.ValueFrequency result = + new com.google.privacy.dlp.v2.ValueFrequency(this); if (valueBuilder_ == null) { result.value_ = value_; } else { @@ -417,38 +452,39 @@ public com.google.privacy.dlp.v2.ValueFrequency buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ValueFrequency) { - return mergeFrom((com.google.privacy.dlp.v2.ValueFrequency)other); + return mergeFrom((com.google.privacy.dlp.v2.ValueFrequency) other); } else { super.mergeFrom(other); return this; @@ -494,24 +530,33 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> valueBuilder_; + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> + valueBuilder_; /** + * + * *
      * A value contained in the field in question.
      * 
* * .google.privacy.dlp.v2.Value value = 1; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
      * A value contained in the field in question.
      * 
* * .google.privacy.dlp.v2.Value value = 1; + * * @return The value. */ public com.google.privacy.dlp.v2.Value getValue() { @@ -522,6 +567,8 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -542,14 +589,15 @@ public Builder setValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * A value contained in the field in question.
      * 
* * .google.privacy.dlp.v2.Value value = 1; */ - public Builder setValue( - com.google.privacy.dlp.v2.Value.Builder builderForValue) { + public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -560,6 +608,8 @@ public Builder setValue( return this; } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -570,7 +620,7 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -582,6 +632,8 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -600,6 +652,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -607,11 +661,13 @@ public Builder clearValue() { * .google.privacy.dlp.v2.Value value = 1; */ public com.google.privacy.dlp.v2.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -622,11 +678,12 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; + return value_ == null ? com.google.privacy.dlp.v2.Value.getDefaultInstance() : value_; } } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -634,26 +691,32 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { * .google.privacy.dlp.v2.Value value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder> + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Value, com.google.privacy.dlp.v2.Value.Builder, com.google.privacy.dlp.v2.ValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Value, + com.google.privacy.dlp.v2.Value.Builder, + com.google.privacy.dlp.v2.ValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } - private long count_ ; + private long count_; /** + * + * *
      * How many times the value is contained in the field.
      * 
* * int64 count = 2; + * * @return The count. */ @java.lang.Override @@ -661,37 +724,43 @@ public long getCount() { return count_; } /** + * + * *
      * How many times the value is contained in the field.
      * 
* * int64 count = 2; + * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { - + count_ = value; onChanged(); return this; } /** + * + * *
      * How many times the value is contained in the field.
      * 
* * int64 count = 2; + * * @return This builder for chaining. */ public Builder clearCount() { - + count_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +770,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ValueFrequency) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ValueFrequency) private static final com.google.privacy.dlp.v2.ValueFrequency DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ValueFrequency(); } @@ -715,16 +784,16 @@ public static com.google.privacy.dlp.v2.ValueFrequency getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueFrequency parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ValueFrequency(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueFrequency parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ValueFrequency(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,6 +808,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ValueFrequency getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java similarity index 60% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java index ce5bc426..e72f8bd9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueFrequencyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ValueFrequencyOrBuilder extends +public interface ValueFrequencyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ValueFrequency) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * A value contained in the field in question.
    * 
* * .google.privacy.dlp.v2.Value value = 1; + * * @return The value. */ com.google.privacy.dlp.v2.Value getValue(); /** + * + * *
    * A value contained in the field in question.
    * 
@@ -35,11 +59,14 @@ public interface ValueFrequencyOrBuilder extends com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder(); /** + * + * *
    * How many times the value is contained in the field.
    * 
* * int64 count = 2; + * * @return The count. */ long getCount(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java index 8816ef26..1039cebb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ValueOrBuilder.java @@ -1,117 +1,167 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface ValueOrBuilder extends +public interface ValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Value) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * integer
    * 
* * int64 integer_value = 1; + * * @return Whether the integerValue field is set. */ boolean hasIntegerValue(); /** + * + * *
    * integer
    * 
* * int64 integer_value = 1; + * * @return The integerValue. */ long getIntegerValue(); /** + * + * *
    * float
    * 
* * double float_value = 2; + * * @return Whether the floatValue field is set. */ boolean hasFloatValue(); /** + * + * *
    * float
    * 
* * double float_value = 2; + * * @return The floatValue. */ double getFloatValue(); /** + * + * *
    * string
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * string
    * 
* * string string_value = 3; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * string
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * boolean
    * 
* * bool boolean_value = 4; + * * @return Whether the booleanValue field is set. */ boolean hasBooleanValue(); /** + * + * *
    * boolean
    * 
* * bool boolean_value = 4; + * * @return The booleanValue. */ boolean getBooleanValue(); /** + * + * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * timestamp
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * timestamp
    * 
@@ -121,24 +171,32 @@ public interface ValueOrBuilder extends com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** + * + * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; + * * @return Whether the timeValue field is set. */ boolean hasTimeValue(); /** + * + * *
    * time of day
    * 
* * .google.type.TimeOfDay time_value = 6; + * * @return The timeValue. */ com.google.type.TimeOfDay getTimeValue(); /** + * + * *
    * time of day
    * 
@@ -148,24 +206,32 @@ public interface ValueOrBuilder extends com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder(); /** + * + * *
    * date
    * 
* * .google.type.Date date_value = 7; + * * @return Whether the dateValue field is set. */ boolean hasDateValue(); /** + * + * *
    * date
    * 
* * .google.type.Date date_value = 7; + * * @return The dateValue. */ com.google.type.Date getDateValue(); /** + * + * *
    * date
    * 
@@ -175,29 +241,38 @@ public interface ValueOrBuilder extends com.google.type.DateOrBuilder getDateValueOrBuilder(); /** + * + * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return Whether the dayOfWeekValue field is set. */ boolean hasDayOfWeekValue(); /** + * + * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return The enum numeric value on the wire for dayOfWeekValue. */ int getDayOfWeekValueValue(); /** + * + * *
    * day of week
    * 
* * .google.type.DayOfWeek day_of_week_value = 8; + * * @return The dayOfWeekValue. */ com.google.type.DayOfWeek getDayOfWeekValue(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto rename to proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto rename to proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto